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

@@ -76,10 +76,15 @@ export function PatchedBookmarkletImportFromJSONTyped(json: any, ignoreDiscrimin
};
}
export function PatchedBookmarkletImportToJSON(value?: Omit<PatchedBookmarkletImport, 'created_by'|'created_at'> | null): any {
export function PatchedBookmarkletImportToJSON(json: any): PatchedBookmarkletImport {
return PatchedBookmarkletImportToJSONTyped(json, false);
}
export function PatchedBookmarkletImportToJSONTyped(value?: Omit<PatchedBookmarkletImport, 'created_by'|'created_at'> | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'id': value['id'],
@@ -87,15 +92,4 @@ export function PatchedBookmarkletImportToJSON(value?: Omit<PatchedBookmarkletIm
'html': value['html'],
};
}
// ----------------------------------------------------------------------
// Custom model functions added by custom openapi-generator template
// ----------------------------------------------------------------------
import {ApiApi, ApiPatchedBookmarkletImportListRequest, PaginatedPatchedBookmarkletImportList} from "@/openapi";
/**
* query list endpoint using the provided request parameters
*/
export function list(requestParameters: ApiPatchedBookmarkletImportListRequest = {}): Promise<PaginatedPatchedBookmarkletImportList> {
const api = new ApiApi()
return api.apiPatchedBookmarkletImportList(requestParameters)
}