lots of shopping tweaks

This commit is contained in:
vabene1111
2024-12-01 12:32:16 +01:00
parent 557954a259
commit 423dc7a6bf
150 changed files with 2918 additions and 2207 deletions

View File

@@ -111,10 +111,15 @@ export function PatchedExportLogFromJSONTyped(json: any, ignoreDiscriminator: bo
};
}
export function PatchedExportLogToJSON(value?: Omit<PatchedExportLog, 'created_by'|'created_at'> | null): any {
export function PatchedExportLogToJSON(json: any): PatchedExportLog {
return PatchedExportLogToJSONTyped(json, false);
}
export function PatchedExportLogToJSONTyped(value?: Omit<PatchedExportLog, 'created_by'|'created_at'> | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'id': value['id'],
@@ -127,15 +132,4 @@ export function PatchedExportLogToJSON(value?: Omit<PatchedExportLog, 'created_b
'possibly_not_expired': value['possiblyNotExpired'],
};
}
// ----------------------------------------------------------------------
// Custom model functions added by custom openapi-generator template
// ----------------------------------------------------------------------
import {ApiApi, ApiPatchedExportLogListRequest, PaginatedPatchedExportLogList} from "@/openapi";
/**
* query list endpoint using the provided request parameters
*/
export function list(requestParameters: ApiPatchedExportLogListRequest = {}): Promise<PaginatedPatchedExportLogList> {
const api = new ApiApi()
return api.apiPatchedExportLogList(requestParameters)
}