ultracart_rest_api_v2_typescript 4.1.184 → 4.1.185

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1050,16 +1050,19 @@ src/models/SfvbLibraryEntry.ts
1050
1050
  src/models/SfvbLibraryEntryRequest.ts
1051
1051
  src/models/SfvbLibraryFacet.ts
1052
1052
  src/models/SfvbLibraryHistoryEntry.ts
1053
+ src/models/SfvbLibraryHistoryResponse.ts
1053
1054
  src/models/SfvbLibraryInstallConflict.ts
1054
1055
  src/models/SfvbLibraryInstallReceipt.ts
1055
1056
  src/models/SfvbLibraryInstallRecord.ts
1056
1057
  src/models/SfvbLibraryInstallRequest.ts
1058
+ src/models/SfvbLibraryInstallsResponse.ts
1057
1059
  src/models/SfvbLibraryParameter.ts
1058
1060
  src/models/SfvbLibraryPublishRequest.ts
1059
1061
  src/models/SfvbLibraryResponse.ts
1060
1062
  src/models/SfvbLibraryScreenshotRequest.ts
1061
1063
  src/models/SfvbLibraryShareRequest.ts
1062
1064
  src/models/SfvbLibraryShareTarget.ts
1065
+ src/models/SfvbLibraryShareTargetsResponse.ts
1063
1066
  src/models/SfvbLibraryTaxonomy.ts
1064
1067
  src/models/SfvbLibraryTaxonomyCatalog.ts
1065
1068
  src/models/SfvbLibraryUnshareResult.ts
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.184
2
+ ## ultracart_rest_api_v2_typescript@4.1.185
3
3
 
4
4
  Every API method call has a sample for every language SDK. See https://github.com/UltraCart/sdk_samples
5
5
 
6
6
  Installation
7
7
 
8
8
  ```
9
- npm install ultracart_rest_api_v2_typescript@4.1.184 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.185 --save
10
10
  ```
11
11
 
12
12
  ```typescript
@@ -84,6 +84,7 @@ Not every change is committed to every SDK.
84
84
 
85
85
  | Version | Date | Comments |
86
86
  | --: | :-: | --- |
87
+ | 4.1.185 | 10/05/2026 | sfvb internal testing |
87
88
  | 4.1.184 | 10/05/2026 | sfvb internal testing |
88
89
  | 4.1.183 | 10/05/2026 | OrderApi rma endpoints |
89
90
  | 4.1.182 | 10/02/2026 | sfvb internal testing |
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { SfvbBlogPostDetail, SfvbBlogPostImageRequest, SfvbBlogPostRequest, SfvbBlogPostsResponse, SfvbCompileRequest, SfvbCompileResponse, SfvbContainerResponse, SfvbContainerRevertRequest, SfvbContainerVersion, SfvbContainerVersionsResponse, SfvbContainerWriteRequest, SfvbElementSchemaResponse, SfvbElementsResponse, SfvbExperiment, SfvbExperimentEndRequest, SfvbExperimentObjectivesResponse, SfvbExperimentStartRequest, SfvbExperimentVariationUpdateRequest, SfvbExperimentsResponse, SfvbFileContentResponse, SfvbFileRevertRequest, SfvbFileSearchRequest, SfvbFileSearchResponse, SfvbFileUploadRequest, SfvbFileUploadUrlResponse, SfvbFileVersionsResponse, SfvbFileWriteRequest, SfvbFileWriteResponse, SfvbFilesResponse, SfvbItemAttributeUpdateRequest, SfvbItemContainersResponse, SfvbItemContentRequest, SfvbItemMultimediaRequest, SfvbItemResponse, SfvbItemSeoRequest, SfvbLibraryDeleteResult, SfvbLibraryEntry, SfvbLibraryEntryRequest, SfvbLibraryHistoryEntry, SfvbLibraryInstallReceipt, SfvbLibraryInstallRecord, SfvbLibraryInstallRequest, SfvbLibraryPublishRequest, SfvbLibraryResponse, SfvbLibraryScreenshotRequest, SfvbLibraryShareRequest, SfvbLibraryShareTarget, SfvbLibraryTaxonomyCatalog, SfvbLibraryUnshareResult, SfvbMenu, SfvbMenuWriteRequest, SfvbMenusResponse, SfvbPageAttributeUpdateRequest, SfvbPageBlogPostsRequest, SfvbPageBlogPostsResponse, SfvbPageCreateRequest, SfvbPageDuplicateRequest, SfvbPageItemsAddRequest, SfvbPageItemsRemoveRequest, SfvbPageItemsResponse, SfvbPageListResponse, SfvbPageMultimediaRequest, SfvbPageRefreshRequest, SfvbPageRefreshResponse, SfvbPageResponse, SfvbPageSelectors, SfvbPageSettingsRequest, SfvbPreviewAccessRequest, SfvbPreviewAccessResponse, SfvbPreviewSessionRequest, SfvbPreviewSessionResponse, SfvbPreviewUrlResponse, SfvbRecordingEventsResponse, SfvbRecordingResponse, SfvbRecordingSettingsRequest, SfvbRecordingSettingsResponse, SfvbRenderRequest, SfvbRenderResponse, SfvbServerLogDetail, SfvbServerLogsResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
13
+ import { SfvbBlogPostDetail, SfvbBlogPostImageRequest, SfvbBlogPostRequest, SfvbBlogPostsResponse, SfvbCompileRequest, SfvbCompileResponse, SfvbContainerResponse, SfvbContainerRevertRequest, SfvbContainerVersion, SfvbContainerVersionsResponse, SfvbContainerWriteRequest, SfvbElementSchemaResponse, SfvbElementsResponse, SfvbExperiment, SfvbExperimentEndRequest, SfvbExperimentObjectivesResponse, SfvbExperimentStartRequest, SfvbExperimentVariationUpdateRequest, SfvbExperimentsResponse, SfvbFileContentResponse, SfvbFileRevertRequest, SfvbFileSearchRequest, SfvbFileSearchResponse, SfvbFileUploadRequest, SfvbFileUploadUrlResponse, SfvbFileVersionsResponse, SfvbFileWriteRequest, SfvbFileWriteResponse, SfvbFilesResponse, SfvbItemAttributeUpdateRequest, SfvbItemContainersResponse, SfvbItemContentRequest, SfvbItemMultimediaRequest, SfvbItemResponse, SfvbItemSeoRequest, SfvbLibraryDeleteResult, SfvbLibraryEntry, SfvbLibraryEntryRequest, SfvbLibraryHistoryResponse, SfvbLibraryInstallReceipt, SfvbLibraryInstallRequest, SfvbLibraryInstallsResponse, SfvbLibraryPublishRequest, SfvbLibraryResponse, SfvbLibraryScreenshotRequest, SfvbLibraryShareRequest, SfvbLibraryShareTargetsResponse, SfvbLibraryTaxonomyCatalog, SfvbLibraryUnshareResult, SfvbMenu, SfvbMenuWriteRequest, SfvbMenusResponse, SfvbPageAttributeUpdateRequest, SfvbPageBlogPostsRequest, SfvbPageBlogPostsResponse, SfvbPageCreateRequest, SfvbPageDuplicateRequest, SfvbPageItemsAddRequest, SfvbPageItemsRemoveRequest, SfvbPageItemsResponse, SfvbPageListResponse, SfvbPageMultimediaRequest, SfvbPageRefreshRequest, SfvbPageRefreshResponse, SfvbPageResponse, SfvbPageSelectors, SfvbPageSettingsRequest, SfvbPreviewAccessRequest, SfvbPreviewAccessResponse, SfvbPreviewSessionRequest, SfvbPreviewSessionResponse, SfvbPreviewUrlResponse, SfvbRecordingEventsResponse, SfvbRecordingResponse, SfvbRecordingSettingsRequest, SfvbRecordingSettingsResponse, SfvbRenderRequest, SfvbRenderResponse, SfvbServerLogDetail, SfvbServerLogsResponse, SfvbSiteAttributeUpdateRequest, SfvbSiteAttributesResponse, SfvbStorefrontsResponse, SfvbTemplateResolveResponse, SfvbTemplatesResponse, SfvbTheme, SfvbThemeAttributeUpdateRequest, SfvbThemeAttributesResponse, SfvbThemeDuplicateRequest, SfvbThemeJobResponse, SfvbThemesResponse, SfvbUpsellOffer, SfvbUpsellOffersResponse, SfvbUpsellPath, SfvbUpsellPathDuplicateRequest, SfvbUpsellPathMoveRequest, SfvbUpsellPathsResponse, SfvbValidateRequest, SfvbValidationResponse, SfvbVelocityValidateRequest, SfvbVersionResponse, SfvbWhoamiResponse, SfvbWidgetIdsResponse } from '../models';
14
14
  export interface AddSfvbPageBlogPostsRequest {
15
15
  storefrontOid: number;
16
16
  path: string;
@@ -1197,12 +1197,12 @@ export interface SfvbApiInterface {
1197
1197
  * @throws {RequiredError}
1198
1198
  * @memberof SfvbApiInterface
1199
1199
  */
1200
- getSfvbLibraryHistoryRaw(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryHistoryEntry>>;
1200
+ getSfvbLibraryHistoryRaw(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryHistoryResponse>>;
1201
1201
  /**
1202
1202
  * Newest first, each with its release notes and hash. Read one with getSfvbLibraryEntry and revision_number. The owner and anyone the entry is shared with can list it.
1203
1203
  * List a library entry\'s published revisions
1204
1204
  */
1205
- getSfvbLibraryHistory(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryHistoryEntry>;
1205
+ getSfvbLibraryHistory(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryHistoryResponse>;
1206
1206
  /**
1207
1207
  * The calling account\'s linked accounts, each with its merchant id and company. These are the only merchants a share can name.
1208
1208
  * @summary List the accounts a library entry can be shared with
@@ -1211,12 +1211,12 @@ export interface SfvbApiInterface {
1211
1211
  * @throws {RequiredError}
1212
1212
  * @memberof SfvbApiInterface
1213
1213
  */
1214
- getSfvbLibraryShareTargetsRaw(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryShareTarget>>;
1214
+ getSfvbLibraryShareTargetsRaw(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryShareTargetsResponse>>;
1215
1215
  /**
1216
1216
  * The calling account\'s linked accounts, each with its merchant id and company. These are the only merchants a share can name.
1217
1217
  * List the accounts a library entry can be shared with
1218
1218
  */
1219
- getSfvbLibraryShareTargets(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryShareTarget>;
1219
+ getSfvbLibraryShareTargets(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryShareTargetsResponse>;
1220
1220
  /**
1221
1221
  * The fixed tag list for purpose, section, industry and style, each tag with a one line description. Saving an entry refuses any tag not on it with sfvb.library_taxonomy_unknown, naming the closest one. The same tags are the facet_purpose, facet_section, facet_industry and facet_style search facets.
1222
1222
  * @summary List the allowed library tags
@@ -1719,12 +1719,12 @@ export interface SfvbApiInterface {
1719
1719
  * @throws {RequiredError}
1720
1720
  * @memberof SfvbApiInterface
1721
1721
  */
1722
- listSfvbLibraryInstallsRaw(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryInstallRecord>>;
1722
+ listSfvbLibraryInstallsRaw(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryInstallsResponse>>;
1723
1723
  /**
1724
1724
  * Each entry\'s most recently installed revision, its latest published revision and update_available. Nothing updates automatically. An entry this account can no longer see is listed without its name.
1725
1725
  * List the library entries installed on a storefront
1726
1726
  */
1727
- listSfvbLibraryInstalls(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryInstallRecord>;
1727
+ listSfvbLibraryInstalls(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryInstallsResponse>;
1728
1728
  /**
1729
1729
  * Every page with its settings, sorted by path with the root first. Hidden pages are included. Pass under to list one page and everything below it. Read from the same cached catalog the admin page tree uses, so a page created a moment ago can take a moment to appear here - read it directly with the single-page read to confirm a write.
1730
1730
  * @summary List the storefront\'s pages
@@ -2910,22 +2910,22 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
2910
2910
  * Newest first, each with its release notes and hash. Read one with getSfvbLibraryEntry and revision_number. The owner and anyone the entry is shared with can list it.
2911
2911
  * List a library entry\'s published revisions
2912
2912
  */
2913
- getSfvbLibraryHistoryRaw(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryHistoryEntry>>;
2913
+ getSfvbLibraryHistoryRaw(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryHistoryResponse>>;
2914
2914
  /**
2915
2915
  * Newest first, each with its release notes and hash. Read one with getSfvbLibraryEntry and revision_number. The owner and anyone the entry is shared with can list it.
2916
2916
  * List a library entry\'s published revisions
2917
2917
  */
2918
- getSfvbLibraryHistory(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryHistoryEntry>;
2918
+ getSfvbLibraryHistory(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryHistoryResponse>;
2919
2919
  /**
2920
2920
  * The calling account\'s linked accounts, each with its merchant id and company. These are the only merchants a share can name.
2921
2921
  * List the accounts a library entry can be shared with
2922
2922
  */
2923
- getSfvbLibraryShareTargetsRaw(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryShareTarget>>;
2923
+ getSfvbLibraryShareTargetsRaw(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryShareTargetsResponse>>;
2924
2924
  /**
2925
2925
  * The calling account\'s linked accounts, each with its merchant id and company. These are the only merchants a share can name.
2926
2926
  * List the accounts a library entry can be shared with
2927
2927
  */
2928
- getSfvbLibraryShareTargets(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryShareTarget>;
2928
+ getSfvbLibraryShareTargets(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryShareTargetsResponse>;
2929
2929
  /**
2930
2930
  * The fixed tag list for purpose, section, industry and style, each tag with a one line description. Saving an entry refuses any tag not on it with sfvb.library_taxonomy_unknown, naming the closest one. The same tags are the facet_purpose, facet_section, facet_industry and facet_style search facets.
2931
2931
  * List the allowed library tags
@@ -3248,12 +3248,12 @@ export declare class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface
3248
3248
  * Each entry\'s most recently installed revision, its latest published revision and update_available. Nothing updates automatically. An entry this account can no longer see is listed without its name.
3249
3249
  * List the library entries installed on a storefront
3250
3250
  */
3251
- listSfvbLibraryInstallsRaw(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryInstallRecord>>;
3251
+ listSfvbLibraryInstallsRaw(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryInstallsResponse>>;
3252
3252
  /**
3253
3253
  * Each entry\'s most recently installed revision, its latest published revision and update_available. Nothing updates automatically. An entry this account can no longer see is listed without its name.
3254
3254
  * List the library entries installed on a storefront
3255
3255
  */
3256
- listSfvbLibraryInstalls(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryInstallRecord>;
3256
+ listSfvbLibraryInstalls(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryInstallsResponse>;
3257
3257
  /**
3258
3258
  * Every page with its settings, sorted by path with the root first. Hidden pages are included. Pass under to list one page and everything below it. Read from the same cached catalog the admin page tree uses, so a page created a moment ago can take a moment to appear here - read it directly with the single-page read to confirm a write.
3259
3259
  * List the storefront\'s pages
@@ -2560,7 +2560,7 @@ var SfvbApi = /** @class */ (function (_super) {
2560
2560
  }, initOverrides)];
2561
2561
  case 3:
2562
2562
  response = _c.sent();
2563
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbLibraryHistoryEntryFromJSON)(jsonValue); })];
2563
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbLibraryHistoryResponseFromJSON)(jsonValue); })];
2564
2564
  }
2565
2565
  });
2566
2566
  });
@@ -2619,7 +2619,7 @@ var SfvbApi = /** @class */ (function (_super) {
2619
2619
  }, initOverrides)];
2620
2620
  case 3:
2621
2621
  response = _c.sent();
2622
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbLibraryShareTargetFromJSON)(jsonValue); })];
2622
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbLibraryShareTargetsResponseFromJSON)(jsonValue); })];
2623
2623
  }
2624
2624
  });
2625
2625
  });
@@ -4724,7 +4724,7 @@ var SfvbApi = /** @class */ (function (_super) {
4724
4724
  }, initOverrides)];
4725
4725
  case 3:
4726
4726
  response = _c.sent();
4727
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbLibraryInstallRecordFromJSON)(jsonValue); })];
4727
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SfvbLibraryInstallsResponseFromJSON)(jsonValue); })];
4728
4728
  }
4729
4729
  });
4730
4730
  });
@@ -0,0 +1,32 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { SfvbLibraryHistoryEntry } from './SfvbLibraryHistoryEntry';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SfvbLibraryHistoryResponse
17
+ */
18
+ export interface SfvbLibraryHistoryResponse {
19
+ /**
20
+ * The published revisions, newest first.
21
+ * @type {Array<SfvbLibraryHistoryEntry>}
22
+ * @memberof SfvbLibraryHistoryResponse
23
+ */
24
+ revisions?: Array<SfvbLibraryHistoryEntry>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SfvbLibraryHistoryResponse interface.
28
+ */
29
+ export declare function instanceOfSfvbLibraryHistoryResponse(value: object): boolean;
30
+ export declare function SfvbLibraryHistoryResponseFromJSON(json: any): SfvbLibraryHistoryResponse;
31
+ export declare function SfvbLibraryHistoryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryHistoryResponse;
32
+ export declare function SfvbLibraryHistoryResponseToJSON(value?: SfvbLibraryHistoryResponse | null): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SfvbLibraryHistoryResponseToJSON = exports.SfvbLibraryHistoryResponseFromJSONTyped = exports.SfvbLibraryHistoryResponseFromJSON = exports.instanceOfSfvbLibraryHistoryResponse = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var SfvbLibraryHistoryEntry_1 = require("./SfvbLibraryHistoryEntry");
19
+ /**
20
+ * Check if a given object implements the SfvbLibraryHistoryResponse interface.
21
+ */
22
+ function instanceOfSfvbLibraryHistoryResponse(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfSfvbLibraryHistoryResponse = instanceOfSfvbLibraryHistoryResponse;
27
+ function SfvbLibraryHistoryResponseFromJSON(json) {
28
+ return SfvbLibraryHistoryResponseFromJSONTyped(json, false);
29
+ }
30
+ exports.SfvbLibraryHistoryResponseFromJSON = SfvbLibraryHistoryResponseFromJSON;
31
+ function SfvbLibraryHistoryResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'revisions': !(0, runtime_1.exists)(json, 'revisions') ? undefined : (json['revisions'].map(SfvbLibraryHistoryEntry_1.SfvbLibraryHistoryEntryFromJSON)),
37
+ };
38
+ }
39
+ exports.SfvbLibraryHistoryResponseFromJSONTyped = SfvbLibraryHistoryResponseFromJSONTyped;
40
+ function SfvbLibraryHistoryResponseToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'revisions': value.revisions === undefined ? undefined : (value.revisions.map(SfvbLibraryHistoryEntry_1.SfvbLibraryHistoryEntryToJSON)),
49
+ };
50
+ }
51
+ exports.SfvbLibraryHistoryResponseToJSON = SfvbLibraryHistoryResponseToJSON;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { SfvbLibraryInstallRecord } from './SfvbLibraryInstallRecord';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SfvbLibraryInstallsResponse
17
+ */
18
+ export interface SfvbLibraryInstallsResponse {
19
+ /**
20
+ * The newest install of each entry on the storefront.
21
+ * @type {Array<SfvbLibraryInstallRecord>}
22
+ * @memberof SfvbLibraryInstallsResponse
23
+ */
24
+ installs?: Array<SfvbLibraryInstallRecord>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SfvbLibraryInstallsResponse interface.
28
+ */
29
+ export declare function instanceOfSfvbLibraryInstallsResponse(value: object): boolean;
30
+ export declare function SfvbLibraryInstallsResponseFromJSON(json: any): SfvbLibraryInstallsResponse;
31
+ export declare function SfvbLibraryInstallsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryInstallsResponse;
32
+ export declare function SfvbLibraryInstallsResponseToJSON(value?: SfvbLibraryInstallsResponse | null): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SfvbLibraryInstallsResponseToJSON = exports.SfvbLibraryInstallsResponseFromJSONTyped = exports.SfvbLibraryInstallsResponseFromJSON = exports.instanceOfSfvbLibraryInstallsResponse = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var SfvbLibraryInstallRecord_1 = require("./SfvbLibraryInstallRecord");
19
+ /**
20
+ * Check if a given object implements the SfvbLibraryInstallsResponse interface.
21
+ */
22
+ function instanceOfSfvbLibraryInstallsResponse(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfSfvbLibraryInstallsResponse = instanceOfSfvbLibraryInstallsResponse;
27
+ function SfvbLibraryInstallsResponseFromJSON(json) {
28
+ return SfvbLibraryInstallsResponseFromJSONTyped(json, false);
29
+ }
30
+ exports.SfvbLibraryInstallsResponseFromJSON = SfvbLibraryInstallsResponseFromJSON;
31
+ function SfvbLibraryInstallsResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'installs': !(0, runtime_1.exists)(json, 'installs') ? undefined : (json['installs'].map(SfvbLibraryInstallRecord_1.SfvbLibraryInstallRecordFromJSON)),
37
+ };
38
+ }
39
+ exports.SfvbLibraryInstallsResponseFromJSONTyped = SfvbLibraryInstallsResponseFromJSONTyped;
40
+ function SfvbLibraryInstallsResponseToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'installs': value.installs === undefined ? undefined : (value.installs.map(SfvbLibraryInstallRecord_1.SfvbLibraryInstallRecordToJSON)),
49
+ };
50
+ }
51
+ exports.SfvbLibraryInstallsResponseToJSON = SfvbLibraryInstallsResponseToJSON;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { SfvbLibraryShareTarget } from './SfvbLibraryShareTarget';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SfvbLibraryShareTargetsResponse
17
+ */
18
+ export interface SfvbLibraryShareTargetsResponse {
19
+ /**
20
+ * The calling account's linked accounts, each with its merchant id and company.
21
+ * @type {Array<SfvbLibraryShareTarget>}
22
+ * @memberof SfvbLibraryShareTargetsResponse
23
+ */
24
+ share_targets?: Array<SfvbLibraryShareTarget>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SfvbLibraryShareTargetsResponse interface.
28
+ */
29
+ export declare function instanceOfSfvbLibraryShareTargetsResponse(value: object): boolean;
30
+ export declare function SfvbLibraryShareTargetsResponseFromJSON(json: any): SfvbLibraryShareTargetsResponse;
31
+ export declare function SfvbLibraryShareTargetsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryShareTargetsResponse;
32
+ export declare function SfvbLibraryShareTargetsResponseToJSON(value?: SfvbLibraryShareTargetsResponse | null): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SfvbLibraryShareTargetsResponseToJSON = exports.SfvbLibraryShareTargetsResponseFromJSONTyped = exports.SfvbLibraryShareTargetsResponseFromJSON = exports.instanceOfSfvbLibraryShareTargetsResponse = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var SfvbLibraryShareTarget_1 = require("./SfvbLibraryShareTarget");
19
+ /**
20
+ * Check if a given object implements the SfvbLibraryShareTargetsResponse interface.
21
+ */
22
+ function instanceOfSfvbLibraryShareTargetsResponse(value) {
23
+ var isInstance = true;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfSfvbLibraryShareTargetsResponse = instanceOfSfvbLibraryShareTargetsResponse;
27
+ function SfvbLibraryShareTargetsResponseFromJSON(json) {
28
+ return SfvbLibraryShareTargetsResponseFromJSONTyped(json, false);
29
+ }
30
+ exports.SfvbLibraryShareTargetsResponseFromJSON = SfvbLibraryShareTargetsResponseFromJSON;
31
+ function SfvbLibraryShareTargetsResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'share_targets': !(0, runtime_1.exists)(json, 'share_targets') ? undefined : (json['share_targets'].map(SfvbLibraryShareTarget_1.SfvbLibraryShareTargetFromJSON)),
37
+ };
38
+ }
39
+ exports.SfvbLibraryShareTargetsResponseFromJSONTyped = SfvbLibraryShareTargetsResponseFromJSONTyped;
40
+ function SfvbLibraryShareTargetsResponseToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'share_targets': value.share_targets === undefined ? undefined : (value.share_targets.map(SfvbLibraryShareTarget_1.SfvbLibraryShareTargetToJSON)),
49
+ };
50
+ }
51
+ exports.SfvbLibraryShareTargetsResponseToJSON = SfvbLibraryShareTargetsResponseToJSON;
@@ -1020,16 +1020,19 @@ export * from './SfvbLibraryEntry';
1020
1020
  export * from './SfvbLibraryEntryRequest';
1021
1021
  export * from './SfvbLibraryFacet';
1022
1022
  export * from './SfvbLibraryHistoryEntry';
1023
+ export * from './SfvbLibraryHistoryResponse';
1023
1024
  export * from './SfvbLibraryInstallConflict';
1024
1025
  export * from './SfvbLibraryInstallReceipt';
1025
1026
  export * from './SfvbLibraryInstallRecord';
1026
1027
  export * from './SfvbLibraryInstallRequest';
1028
+ export * from './SfvbLibraryInstallsResponse';
1027
1029
  export * from './SfvbLibraryParameter';
1028
1030
  export * from './SfvbLibraryPublishRequest';
1029
1031
  export * from './SfvbLibraryResponse';
1030
1032
  export * from './SfvbLibraryScreenshotRequest';
1031
1033
  export * from './SfvbLibraryShareRequest';
1032
1034
  export * from './SfvbLibraryShareTarget';
1035
+ export * from './SfvbLibraryShareTargetsResponse';
1033
1036
  export * from './SfvbLibraryTaxonomy';
1034
1037
  export * from './SfvbLibraryTaxonomyCatalog';
1035
1038
  export * from './SfvbLibraryUnshareResult';
@@ -1038,16 +1038,19 @@ __exportStar(require("./SfvbLibraryEntry"), exports);
1038
1038
  __exportStar(require("./SfvbLibraryEntryRequest"), exports);
1039
1039
  __exportStar(require("./SfvbLibraryFacet"), exports);
1040
1040
  __exportStar(require("./SfvbLibraryHistoryEntry"), exports);
1041
+ __exportStar(require("./SfvbLibraryHistoryResponse"), exports);
1041
1042
  __exportStar(require("./SfvbLibraryInstallConflict"), exports);
1042
1043
  __exportStar(require("./SfvbLibraryInstallReceipt"), exports);
1043
1044
  __exportStar(require("./SfvbLibraryInstallRecord"), exports);
1044
1045
  __exportStar(require("./SfvbLibraryInstallRequest"), exports);
1046
+ __exportStar(require("./SfvbLibraryInstallsResponse"), exports);
1045
1047
  __exportStar(require("./SfvbLibraryParameter"), exports);
1046
1048
  __exportStar(require("./SfvbLibraryPublishRequest"), exports);
1047
1049
  __exportStar(require("./SfvbLibraryResponse"), exports);
1048
1050
  __exportStar(require("./SfvbLibraryScreenshotRequest"), exports);
1049
1051
  __exportStar(require("./SfvbLibraryShareRequest"), exports);
1050
1052
  __exportStar(require("./SfvbLibraryShareTarget"), exports);
1053
+ __exportStar(require("./SfvbLibraryShareTargetsResponse"), exports);
1051
1054
  __exportStar(require("./SfvbLibraryTaxonomy"), exports);
1052
1055
  __exportStar(require("./SfvbLibraryTaxonomyCatalog"), exports);
1053
1056
  __exportStar(require("./SfvbLibraryUnshareResult"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.184",
3
+ "version": "4.1.185",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -132,18 +132,18 @@ import {
132
132
  SfvbLibraryEntryRequest,
133
133
  SfvbLibraryEntryRequestFromJSON,
134
134
  SfvbLibraryEntryRequestToJSON,
135
- SfvbLibraryHistoryEntry,
136
- SfvbLibraryHistoryEntryFromJSON,
137
- SfvbLibraryHistoryEntryToJSON,
135
+ SfvbLibraryHistoryResponse,
136
+ SfvbLibraryHistoryResponseFromJSON,
137
+ SfvbLibraryHistoryResponseToJSON,
138
138
  SfvbLibraryInstallReceipt,
139
139
  SfvbLibraryInstallReceiptFromJSON,
140
140
  SfvbLibraryInstallReceiptToJSON,
141
- SfvbLibraryInstallRecord,
142
- SfvbLibraryInstallRecordFromJSON,
143
- SfvbLibraryInstallRecordToJSON,
144
141
  SfvbLibraryInstallRequest,
145
142
  SfvbLibraryInstallRequestFromJSON,
146
143
  SfvbLibraryInstallRequestToJSON,
144
+ SfvbLibraryInstallsResponse,
145
+ SfvbLibraryInstallsResponseFromJSON,
146
+ SfvbLibraryInstallsResponseToJSON,
147
147
  SfvbLibraryPublishRequest,
148
148
  SfvbLibraryPublishRequestFromJSON,
149
149
  SfvbLibraryPublishRequestToJSON,
@@ -156,9 +156,9 @@ import {
156
156
  SfvbLibraryShareRequest,
157
157
  SfvbLibraryShareRequestFromJSON,
158
158
  SfvbLibraryShareRequestToJSON,
159
- SfvbLibraryShareTarget,
160
- SfvbLibraryShareTargetFromJSON,
161
- SfvbLibraryShareTargetToJSON,
159
+ SfvbLibraryShareTargetsResponse,
160
+ SfvbLibraryShareTargetsResponseFromJSON,
161
+ SfvbLibraryShareTargetsResponseToJSON,
162
162
  SfvbLibraryTaxonomyCatalog,
163
163
  SfvbLibraryTaxonomyCatalogFromJSON,
164
164
  SfvbLibraryTaxonomyCatalogToJSON,
@@ -1709,13 +1709,13 @@ export interface SfvbApiInterface {
1709
1709
  * @throws {RequiredError}
1710
1710
  * @memberof SfvbApiInterface
1711
1711
  */
1712
- getSfvbLibraryHistoryRaw(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryHistoryEntry>>;
1712
+ getSfvbLibraryHistoryRaw(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryHistoryResponse>>;
1713
1713
 
1714
1714
  /**
1715
1715
  * Newest first, each with its release notes and hash. Read one with getSfvbLibraryEntry and revision_number. The owner and anyone the entry is shared with can list it.
1716
1716
  * List a library entry\'s published revisions
1717
1717
  */
1718
- getSfvbLibraryHistory(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryHistoryEntry>;
1718
+ getSfvbLibraryHistory(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryHistoryResponse>;
1719
1719
 
1720
1720
  /**
1721
1721
  * The calling account\'s linked accounts, each with its merchant id and company. These are the only merchants a share can name.
@@ -1725,13 +1725,13 @@ export interface SfvbApiInterface {
1725
1725
  * @throws {RequiredError}
1726
1726
  * @memberof SfvbApiInterface
1727
1727
  */
1728
- getSfvbLibraryShareTargetsRaw(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryShareTarget>>;
1728
+ getSfvbLibraryShareTargetsRaw(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryShareTargetsResponse>>;
1729
1729
 
1730
1730
  /**
1731
1731
  * The calling account\'s linked accounts, each with its merchant id and company. These are the only merchants a share can name.
1732
1732
  * List the accounts a library entry can be shared with
1733
1733
  */
1734
- getSfvbLibraryShareTargets(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryShareTarget>;
1734
+ getSfvbLibraryShareTargets(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryShareTargetsResponse>;
1735
1735
 
1736
1736
  /**
1737
1737
  * The fixed tag list for purpose, section, industry and style, each tag with a one line description. Saving an entry refuses any tag not on it with sfvb.library_taxonomy_unknown, naming the closest one. The same tags are the facet_purpose, facet_section, facet_industry and facet_style search facets.
@@ -2299,13 +2299,13 @@ export interface SfvbApiInterface {
2299
2299
  * @throws {RequiredError}
2300
2300
  * @memberof SfvbApiInterface
2301
2301
  */
2302
- listSfvbLibraryInstallsRaw(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryInstallRecord>>;
2302
+ listSfvbLibraryInstallsRaw(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryInstallsResponse>>;
2303
2303
 
2304
2304
  /**
2305
2305
  * Each entry\'s most recently installed revision, its latest published revision and update_available. Nothing updates automatically. An entry this account can no longer see is listed without its name.
2306
2306
  * List the library entries installed on a storefront
2307
2307
  */
2308
- listSfvbLibraryInstalls(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryInstallRecord>;
2308
+ listSfvbLibraryInstalls(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryInstallsResponse>;
2309
2309
 
2310
2310
  /**
2311
2311
  * Every page with its settings, sorted by path with the root first. Hidden pages are included. Pass under to list one page and everything below it. Read from the same cached catalog the admin page tree uses, so a page created a moment ago can take a moment to appear here - read it directly with the single-page read to confirm a write.
@@ -5057,7 +5057,7 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
5057
5057
  * Newest first, each with its release notes and hash. Read one with getSfvbLibraryEntry and revision_number. The owner and anyone the entry is shared with can list it.
5058
5058
  * List a library entry\'s published revisions
5059
5059
  */
5060
- async getSfvbLibraryHistoryRaw(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryHistoryEntry>> {
5060
+ async getSfvbLibraryHistoryRaw(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryHistoryResponse>> {
5061
5061
  if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
5062
5062
  throw new runtime.RequiredError('storefrontOid','Required parameter requestParameters.storefrontOid was null or undefined when calling getSfvbLibraryHistory.');
5063
5063
  }
@@ -5086,14 +5086,14 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
5086
5086
  query: queryParameters,
5087
5087
  }, initOverrides);
5088
5088
 
5089
- return new runtime.JSONApiResponse(response, (jsonValue) => SfvbLibraryHistoryEntryFromJSON(jsonValue));
5089
+ return new runtime.JSONApiResponse(response, (jsonValue) => SfvbLibraryHistoryResponseFromJSON(jsonValue));
5090
5090
  }
5091
5091
 
5092
5092
  /**
5093
5093
  * Newest first, each with its release notes and hash. Read one with getSfvbLibraryEntry and revision_number. The owner and anyone the entry is shared with can list it.
5094
5094
  * List a library entry\'s published revisions
5095
5095
  */
5096
- async getSfvbLibraryHistory(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryHistoryEntry> {
5096
+ async getSfvbLibraryHistory(requestParameters: GetSfvbLibraryHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryHistoryResponse> {
5097
5097
  const response = await this.getSfvbLibraryHistoryRaw(requestParameters, initOverrides);
5098
5098
  return await response.value();
5099
5099
  }
@@ -5102,7 +5102,7 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
5102
5102
  * The calling account\'s linked accounts, each with its merchant id and company. These are the only merchants a share can name.
5103
5103
  * List the accounts a library entry can be shared with
5104
5104
  */
5105
- async getSfvbLibraryShareTargetsRaw(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryShareTarget>> {
5105
+ async getSfvbLibraryShareTargetsRaw(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryShareTargetsResponse>> {
5106
5106
  if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
5107
5107
  throw new runtime.RequiredError('storefrontOid','Required parameter requestParameters.storefrontOid was null or undefined when calling getSfvbLibraryShareTargets.');
5108
5108
  }
@@ -5127,14 +5127,14 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
5127
5127
  query: queryParameters,
5128
5128
  }, initOverrides);
5129
5129
 
5130
- return new runtime.JSONApiResponse(response, (jsonValue) => SfvbLibraryShareTargetFromJSON(jsonValue));
5130
+ return new runtime.JSONApiResponse(response, (jsonValue) => SfvbLibraryShareTargetsResponseFromJSON(jsonValue));
5131
5131
  }
5132
5132
 
5133
5133
  /**
5134
5134
  * The calling account\'s linked accounts, each with its merchant id and company. These are the only merchants a share can name.
5135
5135
  * List the accounts a library entry can be shared with
5136
5136
  */
5137
- async getSfvbLibraryShareTargets(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryShareTarget> {
5137
+ async getSfvbLibraryShareTargets(requestParameters: GetSfvbLibraryShareTargetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryShareTargetsResponse> {
5138
5138
  const response = await this.getSfvbLibraryShareTargetsRaw(requestParameters, initOverrides);
5139
5139
  return await response.value();
5140
5140
  }
@@ -6668,7 +6668,7 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
6668
6668
  * Each entry\'s most recently installed revision, its latest published revision and update_available. Nothing updates automatically. An entry this account can no longer see is listed without its name.
6669
6669
  * List the library entries installed on a storefront
6670
6670
  */
6671
- async listSfvbLibraryInstallsRaw(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryInstallRecord>> {
6671
+ async listSfvbLibraryInstallsRaw(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SfvbLibraryInstallsResponse>> {
6672
6672
  if (requestParameters.storefrontOid === null || requestParameters.storefrontOid === undefined) {
6673
6673
  throw new runtime.RequiredError('storefrontOid','Required parameter requestParameters.storefrontOid was null or undefined when calling listSfvbLibraryInstalls.');
6674
6674
  }
@@ -6693,14 +6693,14 @@ export class SfvbApi extends runtime.BaseAPI implements SfvbApiInterface {
6693
6693
  query: queryParameters,
6694
6694
  }, initOverrides);
6695
6695
 
6696
- return new runtime.JSONApiResponse(response, (jsonValue) => SfvbLibraryInstallRecordFromJSON(jsonValue));
6696
+ return new runtime.JSONApiResponse(response, (jsonValue) => SfvbLibraryInstallsResponseFromJSON(jsonValue));
6697
6697
  }
6698
6698
 
6699
6699
  /**
6700
6700
  * Each entry\'s most recently installed revision, its latest published revision and update_available. Nothing updates automatically. An entry this account can no longer see is listed without its name.
6701
6701
  * List the library entries installed on a storefront
6702
6702
  */
6703
- async listSfvbLibraryInstalls(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryInstallRecord> {
6703
+ async listSfvbLibraryInstalls(requestParameters: ListSfvbLibraryInstallsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SfvbLibraryInstallsResponse> {
6704
6704
  const response = await this.listSfvbLibraryInstallsRaw(requestParameters, initOverrides);
6705
6705
  return await response.value();
6706
6706
  }
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * UltraCart Rest API V2
5
+ * UltraCart REST API Version 2
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ * Contact: support@ultracart.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import {
17
+ SfvbLibraryHistoryEntry,
18
+ SfvbLibraryHistoryEntryFromJSON,
19
+ SfvbLibraryHistoryEntryFromJSONTyped,
20
+ SfvbLibraryHistoryEntryToJSON,
21
+ } from './SfvbLibraryHistoryEntry';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface SfvbLibraryHistoryResponse
27
+ */
28
+ export interface SfvbLibraryHistoryResponse {
29
+ /**
30
+ * The published revisions, newest first.
31
+ * @type {Array<SfvbLibraryHistoryEntry>}
32
+ * @memberof SfvbLibraryHistoryResponse
33
+ */
34
+ revisions?: Array<SfvbLibraryHistoryEntry>;
35
+ }
36
+
37
+
38
+
39
+ /**
40
+ * Check if a given object implements the SfvbLibraryHistoryResponse interface.
41
+ */
42
+ export function instanceOfSfvbLibraryHistoryResponse(value: object): boolean {
43
+ let isInstance = true;
44
+
45
+ return isInstance;
46
+ }
47
+
48
+ export function SfvbLibraryHistoryResponseFromJSON(json: any): SfvbLibraryHistoryResponse {
49
+ return SfvbLibraryHistoryResponseFromJSONTyped(json, false);
50
+ }
51
+
52
+ export function SfvbLibraryHistoryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryHistoryResponse {
53
+ if ((json === undefined) || (json === null)) {
54
+ return json;
55
+ }
56
+ return {
57
+
58
+ 'revisions': !exists(json, 'revisions') ? undefined : ((json['revisions'] as Array<any>).map(SfvbLibraryHistoryEntryFromJSON)),
59
+ };
60
+ }
61
+
62
+ export function SfvbLibraryHistoryResponseToJSON(value?: SfvbLibraryHistoryResponse | null): any {
63
+ if (value === undefined) {
64
+ return undefined;
65
+ }
66
+ if (value === null) {
67
+ return null;
68
+ }
69
+ return {
70
+
71
+ 'revisions': value.revisions === undefined ? undefined : ((value.revisions as Array<any>).map(SfvbLibraryHistoryEntryToJSON)),
72
+ };
73
+ }
74
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * UltraCart Rest API V2
5
+ * UltraCart REST API Version 2
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ * Contact: support@ultracart.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import {
17
+ SfvbLibraryInstallRecord,
18
+ SfvbLibraryInstallRecordFromJSON,
19
+ SfvbLibraryInstallRecordFromJSONTyped,
20
+ SfvbLibraryInstallRecordToJSON,
21
+ } from './SfvbLibraryInstallRecord';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface SfvbLibraryInstallsResponse
27
+ */
28
+ export interface SfvbLibraryInstallsResponse {
29
+ /**
30
+ * The newest install of each entry on the storefront.
31
+ * @type {Array<SfvbLibraryInstallRecord>}
32
+ * @memberof SfvbLibraryInstallsResponse
33
+ */
34
+ installs?: Array<SfvbLibraryInstallRecord>;
35
+ }
36
+
37
+
38
+
39
+ /**
40
+ * Check if a given object implements the SfvbLibraryInstallsResponse interface.
41
+ */
42
+ export function instanceOfSfvbLibraryInstallsResponse(value: object): boolean {
43
+ let isInstance = true;
44
+
45
+ return isInstance;
46
+ }
47
+
48
+ export function SfvbLibraryInstallsResponseFromJSON(json: any): SfvbLibraryInstallsResponse {
49
+ return SfvbLibraryInstallsResponseFromJSONTyped(json, false);
50
+ }
51
+
52
+ export function SfvbLibraryInstallsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryInstallsResponse {
53
+ if ((json === undefined) || (json === null)) {
54
+ return json;
55
+ }
56
+ return {
57
+
58
+ 'installs': !exists(json, 'installs') ? undefined : ((json['installs'] as Array<any>).map(SfvbLibraryInstallRecordFromJSON)),
59
+ };
60
+ }
61
+
62
+ export function SfvbLibraryInstallsResponseToJSON(value?: SfvbLibraryInstallsResponse | null): any {
63
+ if (value === undefined) {
64
+ return undefined;
65
+ }
66
+ if (value === null) {
67
+ return null;
68
+ }
69
+ return {
70
+
71
+ 'installs': value.installs === undefined ? undefined : ((value.installs as Array<any>).map(SfvbLibraryInstallRecordToJSON)),
72
+ };
73
+ }
74
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * UltraCart Rest API V2
5
+ * UltraCart REST API Version 2
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ * Contact: support@ultracart.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import {
17
+ SfvbLibraryShareTarget,
18
+ SfvbLibraryShareTargetFromJSON,
19
+ SfvbLibraryShareTargetFromJSONTyped,
20
+ SfvbLibraryShareTargetToJSON,
21
+ } from './SfvbLibraryShareTarget';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface SfvbLibraryShareTargetsResponse
27
+ */
28
+ export interface SfvbLibraryShareTargetsResponse {
29
+ /**
30
+ * The calling account's linked accounts, each with its merchant id and company.
31
+ * @type {Array<SfvbLibraryShareTarget>}
32
+ * @memberof SfvbLibraryShareTargetsResponse
33
+ */
34
+ share_targets?: Array<SfvbLibraryShareTarget>;
35
+ }
36
+
37
+
38
+
39
+ /**
40
+ * Check if a given object implements the SfvbLibraryShareTargetsResponse interface.
41
+ */
42
+ export function instanceOfSfvbLibraryShareTargetsResponse(value: object): boolean {
43
+ let isInstance = true;
44
+
45
+ return isInstance;
46
+ }
47
+
48
+ export function SfvbLibraryShareTargetsResponseFromJSON(json: any): SfvbLibraryShareTargetsResponse {
49
+ return SfvbLibraryShareTargetsResponseFromJSONTyped(json, false);
50
+ }
51
+
52
+ export function SfvbLibraryShareTargetsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryShareTargetsResponse {
53
+ if ((json === undefined) || (json === null)) {
54
+ return json;
55
+ }
56
+ return {
57
+
58
+ 'share_targets': !exists(json, 'share_targets') ? undefined : ((json['share_targets'] as Array<any>).map(SfvbLibraryShareTargetFromJSON)),
59
+ };
60
+ }
61
+
62
+ export function SfvbLibraryShareTargetsResponseToJSON(value?: SfvbLibraryShareTargetsResponse | null): any {
63
+ if (value === undefined) {
64
+ return undefined;
65
+ }
66
+ if (value === null) {
67
+ return null;
68
+ }
69
+ return {
70
+
71
+ 'share_targets': value.share_targets === undefined ? undefined : ((value.share_targets as Array<any>).map(SfvbLibraryShareTargetToJSON)),
72
+ };
73
+ }
74
+
@@ -1022,16 +1022,19 @@ export * from './SfvbLibraryEntry';
1022
1022
  export * from './SfvbLibraryEntryRequest';
1023
1023
  export * from './SfvbLibraryFacet';
1024
1024
  export * from './SfvbLibraryHistoryEntry';
1025
+ export * from './SfvbLibraryHistoryResponse';
1025
1026
  export * from './SfvbLibraryInstallConflict';
1026
1027
  export * from './SfvbLibraryInstallReceipt';
1027
1028
  export * from './SfvbLibraryInstallRecord';
1028
1029
  export * from './SfvbLibraryInstallRequest';
1030
+ export * from './SfvbLibraryInstallsResponse';
1029
1031
  export * from './SfvbLibraryParameter';
1030
1032
  export * from './SfvbLibraryPublishRequest';
1031
1033
  export * from './SfvbLibraryResponse';
1032
1034
  export * from './SfvbLibraryScreenshotRequest';
1033
1035
  export * from './SfvbLibraryShareRequest';
1034
1036
  export * from './SfvbLibraryShareTarget';
1037
+ export * from './SfvbLibraryShareTargetsResponse';
1035
1038
  export * from './SfvbLibraryTaxonomy';
1036
1039
  export * from './SfvbLibraryTaxonomyCatalog';
1037
1040
  export * from './SfvbLibraryUnshareResult';