ultracart_rest_api_v2_typescript 4.1.185 → 4.1.186

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.
@@ -1056,6 +1056,7 @@ src/models/SfvbLibraryInstallReceipt.ts
1056
1056
  src/models/SfvbLibraryInstallRecord.ts
1057
1057
  src/models/SfvbLibraryInstallRequest.ts
1058
1058
  src/models/SfvbLibraryInstallsResponse.ts
1059
+ src/models/SfvbLibraryManifestFinding.ts
1059
1060
  src/models/SfvbLibraryParameter.ts
1060
1061
  src/models/SfvbLibraryPublishRequest.ts
1061
1062
  src/models/SfvbLibraryResponse.ts
@@ -1065,6 +1066,8 @@ src/models/SfvbLibraryShareTarget.ts
1065
1066
  src/models/SfvbLibraryShareTargetsResponse.ts
1066
1067
  src/models/SfvbLibraryTaxonomy.ts
1067
1068
  src/models/SfvbLibraryTaxonomyCatalog.ts
1069
+ src/models/SfvbLibraryTaxonomyDimension.ts
1070
+ src/models/SfvbLibraryTaxonomyTag.ts
1068
1071
  src/models/SfvbLibraryUnshareResult.ts
1069
1072
  src/models/SfvbMenu.ts
1070
1073
  src/models/SfvbMenuItem.ts
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.185
2
+ ## ultracart_rest_api_v2_typescript@4.1.186
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.185 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.186 --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.186 | 10/05/2026 | sfvb internal testing |
87
88
  | 4.1.185 | 10/05/2026 | sfvb internal testing |
88
89
  | 4.1.184 | 10/05/2026 | sfvb internal testing |
89
90
  | 4.1.183 | 10/05/2026 | OrderApi rma endpoints |
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { SfvbLibraryManifestFinding } from './SfvbLibraryManifestFinding';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -17,10 +18,10 @@
17
18
  export interface SfvbLibraryAiReview {
18
19
  /**
19
20
  * What the reviewers found. detail is the category followed by the quoted evidence.
20
- * @type {object}
21
+ * @type {Array<SfvbLibraryManifestFinding>}
21
22
  * @memberof SfvbLibraryAiReview
22
23
  */
23
- findings?: object;
24
+ findings?: Array<SfvbLibraryManifestFinding>;
24
25
  /**
25
26
  * Version of the review policy that produced this verdict.
26
27
  * @type {string}
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SfvbLibraryAiReviewToJSON = exports.SfvbLibraryAiReviewFromJSONTyped = exports.SfvbLibraryAiReviewFromJSON = exports.instanceOfSfvbLibraryAiReview = exports.SfvbLibraryAiReviewVerdictEnum = void 0;
17
17
  var runtime_1 = require("../runtime");
18
+ var SfvbLibraryManifestFinding_1 = require("./SfvbLibraryManifestFinding");
18
19
  /**
19
20
  * @export
20
21
  */
@@ -41,7 +42,7 @@ function SfvbLibraryAiReviewFromJSONTyped(json, ignoreDiscriminator) {
41
42
  return json;
42
43
  }
43
44
  return {
44
- 'findings': !(0, runtime_1.exists)(json, 'findings') ? undefined : json['findings'],
45
+ 'findings': !(0, runtime_1.exists)(json, 'findings') ? undefined : (json['findings'].map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingFromJSON)),
45
46
  'prompt_version': !(0, runtime_1.exists)(json, 'prompt_version') ? undefined : json['prompt_version'],
46
47
  'reviewed_dts': !(0, runtime_1.exists)(json, 'reviewed_dts') ? undefined : json['reviewed_dts'],
47
48
  'screenshot_sha256': !(0, runtime_1.exists)(json, 'screenshot_sha256') ? undefined : json['screenshot_sha256'],
@@ -58,7 +59,7 @@ function SfvbLibraryAiReviewToJSON(value) {
58
59
  return null;
59
60
  }
60
61
  return {
61
- 'findings': value.findings,
62
+ 'findings': value.findings === undefined ? undefined : (value.findings.map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingToJSON)),
62
63
  'prompt_version': value.prompt_version,
63
64
  'reviewed_dts': value.reviewed_dts,
64
65
  'screenshot_sha256': value.screenshot_sha256,
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { SfvbLibraryAiReview } from './SfvbLibraryAiReview';
13
+ import { SfvbLibraryManifestFinding } from './SfvbLibraryManifestFinding';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -18,10 +19,10 @@ import { SfvbLibraryAiReview } from './SfvbLibraryAiReview';
18
19
  export interface SfvbLibraryContentManifest {
19
20
  /**
20
21
  * Images, fonts, stylesheets, scripts or media loaded from an absolute URL. A shared or public entry must use relative paths so it never pulls files from another storefront or site.
21
- * @type {object}
22
+ * @type {Array<SfvbLibraryManifestFinding>}
22
23
  * @memberof SfvbLibraryContentManifest
23
24
  */
24
- absolute_asset_urls?: object;
25
+ absolute_asset_urls?: Array<SfvbLibraryManifestFinding>;
25
26
  /**
26
27
  *
27
28
  * @type {SfvbLibraryAiReview}
@@ -30,22 +31,22 @@ export interface SfvbLibraryContentManifest {
30
31
  ai_review?: SfvbLibraryAiReview;
31
32
  /**
32
33
  * Content that runs in a shopper's browser or on the server. Script, html, embed, css and velocity elements, script in markup, Velocity, script bearing CSS and unsafe URL schemes. An entry with any of these cannot be made public, and installing it needs an explicit acknowledgement.
33
- * @type {object}
34
+ * @type {Array<SfvbLibraryManifestFinding>}
34
35
  * @memberof SfvbLibraryContentManifest
35
36
  */
36
- executable?: object;
37
+ executable?: Array<SfvbLibraryManifestFinding>;
37
38
  /**
38
39
  * Card skimming and obfuscation signals. An entry with any is refused outright, whoever owns it.
39
- * @type {object}
40
+ * @type {Array<SfvbLibraryManifestFinding>}
40
41
  * @memberof SfvbLibraryContentManifest
41
42
  */
42
- rejected?: object;
43
+ rejected?: Array<SfvbLibraryManifestFinding>;
43
44
  /**
44
45
  * Strings shaped like credentials, by kind only. An entry with any cannot be shared or made public.
45
- * @type {object}
46
+ * @type {Array<SfvbLibraryManifestFinding>}
46
47
  * @memberof SfvbLibraryContentManifest
47
48
  */
48
- secrets?: object;
49
+ secrets?: Array<SfvbLibraryManifestFinding>;
49
50
  }
50
51
  /**
51
52
  * Check if a given object implements the SfvbLibraryContentManifest interface.
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SfvbLibraryContentManifestToJSON = exports.SfvbLibraryContentManifestFromJSONTyped = exports.SfvbLibraryContentManifestFromJSON = exports.instanceOfSfvbLibraryContentManifest = void 0;
17
17
  var runtime_1 = require("../runtime");
18
18
  var SfvbLibraryAiReview_1 = require("./SfvbLibraryAiReview");
19
+ var SfvbLibraryManifestFinding_1 = require("./SfvbLibraryManifestFinding");
19
20
  /**
20
21
  * Check if a given object implements the SfvbLibraryContentManifest interface.
21
22
  */
@@ -33,11 +34,11 @@ function SfvbLibraryContentManifestFromJSONTyped(json, ignoreDiscriminator) {
33
34
  return json;
34
35
  }
35
36
  return {
36
- 'absolute_asset_urls': !(0, runtime_1.exists)(json, 'absolute_asset_urls') ? undefined : json['absolute_asset_urls'],
37
+ 'absolute_asset_urls': !(0, runtime_1.exists)(json, 'absolute_asset_urls') ? undefined : (json['absolute_asset_urls'].map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingFromJSON)),
37
38
  'ai_review': !(0, runtime_1.exists)(json, 'ai_review') ? undefined : (0, SfvbLibraryAiReview_1.SfvbLibraryAiReviewFromJSON)(json['ai_review']),
38
- 'executable': !(0, runtime_1.exists)(json, 'executable') ? undefined : json['executable'],
39
- 'rejected': !(0, runtime_1.exists)(json, 'rejected') ? undefined : json['rejected'],
40
- 'secrets': !(0, runtime_1.exists)(json, 'secrets') ? undefined : json['secrets'],
39
+ 'executable': !(0, runtime_1.exists)(json, 'executable') ? undefined : (json['executable'].map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingFromJSON)),
40
+ 'rejected': !(0, runtime_1.exists)(json, 'rejected') ? undefined : (json['rejected'].map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingFromJSON)),
41
+ 'secrets': !(0, runtime_1.exists)(json, 'secrets') ? undefined : (json['secrets'].map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingFromJSON)),
41
42
  };
42
43
  }
43
44
  exports.SfvbLibraryContentManifestFromJSONTyped = SfvbLibraryContentManifestFromJSONTyped;
@@ -49,11 +50,11 @@ function SfvbLibraryContentManifestToJSON(value) {
49
50
  return null;
50
51
  }
51
52
  return {
52
- 'absolute_asset_urls': value.absolute_asset_urls,
53
+ 'absolute_asset_urls': value.absolute_asset_urls === undefined ? undefined : (value.absolute_asset_urls.map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingToJSON)),
53
54
  'ai_review': (0, SfvbLibraryAiReview_1.SfvbLibraryAiReviewToJSON)(value.ai_review),
54
- 'executable': value.executable,
55
- 'rejected': value.rejected,
56
- 'secrets': value.secrets,
55
+ 'executable': value.executable === undefined ? undefined : (value.executable.map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingToJSON)),
56
+ 'rejected': value.rejected === undefined ? undefined : (value.rejected.map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingToJSON)),
57
+ 'secrets': value.secrets === undefined ? undefined : (value.secrets.map(SfvbLibraryManifestFinding_1.SfvbLibraryManifestFindingToJSON)),
57
58
  };
58
59
  }
59
60
  exports.SfvbLibraryContentManifestToJSON = SfvbLibraryContentManifestToJSON;
@@ -0,0 +1,43 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface SfvbLibraryManifestFinding
16
+ */
17
+ export interface SfvbLibraryManifestFinding {
18
+ /**
19
+ * What was found. For an absolute asset URL this is the URL. For a credential it is only the kind of credential, never its value.
20
+ * @type {string}
21
+ * @memberof SfvbLibraryManifestFinding
22
+ */
23
+ detail?: string;
24
+ /**
25
+ * Id of the widget the finding is in.
26
+ * @type {string}
27
+ * @memberof SfvbLibraryManifestFinding
28
+ */
29
+ widget_id?: string;
30
+ /**
31
+ * Element type of that widget.
32
+ * @type {string}
33
+ * @memberof SfvbLibraryManifestFinding
34
+ */
35
+ widget_type?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SfvbLibraryManifestFinding interface.
39
+ */
40
+ export declare function instanceOfSfvbLibraryManifestFinding(value: object): boolean;
41
+ export declare function SfvbLibraryManifestFindingFromJSON(json: any): SfvbLibraryManifestFinding;
42
+ export declare function SfvbLibraryManifestFindingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryManifestFinding;
43
+ export declare function SfvbLibraryManifestFindingToJSON(value?: SfvbLibraryManifestFinding | null): any;
@@ -0,0 +1,54 @@
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.SfvbLibraryManifestFindingToJSON = exports.SfvbLibraryManifestFindingFromJSONTyped = exports.SfvbLibraryManifestFindingFromJSON = exports.instanceOfSfvbLibraryManifestFinding = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the SfvbLibraryManifestFinding interface.
20
+ */
21
+ function instanceOfSfvbLibraryManifestFinding(value) {
22
+ var isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfSfvbLibraryManifestFinding = instanceOfSfvbLibraryManifestFinding;
26
+ function SfvbLibraryManifestFindingFromJSON(json) {
27
+ return SfvbLibraryManifestFindingFromJSONTyped(json, false);
28
+ }
29
+ exports.SfvbLibraryManifestFindingFromJSON = SfvbLibraryManifestFindingFromJSON;
30
+ function SfvbLibraryManifestFindingFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'detail': !(0, runtime_1.exists)(json, 'detail') ? undefined : json['detail'],
36
+ 'widget_id': !(0, runtime_1.exists)(json, 'widget_id') ? undefined : json['widget_id'],
37
+ 'widget_type': !(0, runtime_1.exists)(json, 'widget_type') ? undefined : json['widget_type'],
38
+ };
39
+ }
40
+ exports.SfvbLibraryManifestFindingFromJSONTyped = SfvbLibraryManifestFindingFromJSONTyped;
41
+ function SfvbLibraryManifestFindingToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'detail': value.detail,
50
+ 'widget_id': value.widget_id,
51
+ 'widget_type': value.widget_type,
52
+ };
53
+ }
54
+ exports.SfvbLibraryManifestFindingToJSON = SfvbLibraryManifestFindingToJSON;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { SfvbLibraryTaxonomyDimension } from './SfvbLibraryTaxonomyDimension';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -17,10 +18,10 @@
17
18
  export interface SfvbLibraryTaxonomyCatalog {
18
19
  /**
19
20
  * purpose, section, industry and style, each with its allowed tags.
20
- * @type {object}
21
+ * @type {Array<SfvbLibraryTaxonomyDimension>}
21
22
  * @memberof SfvbLibraryTaxonomyCatalog
22
23
  */
23
- dimensions?: object;
24
+ dimensions?: Array<SfvbLibraryTaxonomyDimension>;
24
25
  }
25
26
  /**
26
27
  * Check if a given object implements the SfvbLibraryTaxonomyCatalog interface.
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SfvbLibraryTaxonomyCatalogToJSON = exports.SfvbLibraryTaxonomyCatalogFromJSONTyped = exports.SfvbLibraryTaxonomyCatalogFromJSON = exports.instanceOfSfvbLibraryTaxonomyCatalog = void 0;
17
17
  var runtime_1 = require("../runtime");
18
+ var SfvbLibraryTaxonomyDimension_1 = require("./SfvbLibraryTaxonomyDimension");
18
19
  /**
19
20
  * Check if a given object implements the SfvbLibraryTaxonomyCatalog interface.
20
21
  */
@@ -32,7 +33,7 @@ function SfvbLibraryTaxonomyCatalogFromJSONTyped(json, ignoreDiscriminator) {
32
33
  return json;
33
34
  }
34
35
  return {
35
- 'dimensions': !(0, runtime_1.exists)(json, 'dimensions') ? undefined : json['dimensions'],
36
+ 'dimensions': !(0, runtime_1.exists)(json, 'dimensions') ? undefined : (json['dimensions'].map(SfvbLibraryTaxonomyDimension_1.SfvbLibraryTaxonomyDimensionFromJSON)),
36
37
  };
37
38
  }
38
39
  exports.SfvbLibraryTaxonomyCatalogFromJSONTyped = SfvbLibraryTaxonomyCatalogFromJSONTyped;
@@ -44,7 +45,7 @@ function SfvbLibraryTaxonomyCatalogToJSON(value) {
44
45
  return null;
45
46
  }
46
47
  return {
47
- 'dimensions': value.dimensions,
48
+ 'dimensions': value.dimensions === undefined ? undefined : (value.dimensions.map(SfvbLibraryTaxonomyDimension_1.SfvbLibraryTaxonomyDimensionToJSON)),
48
49
  };
49
50
  }
50
51
  exports.SfvbLibraryTaxonomyCatalogToJSON = SfvbLibraryTaxonomyCatalogToJSON;
@@ -0,0 +1,54 @@
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 { SfvbLibraryTaxonomyTag } from './SfvbLibraryTaxonomyTag';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SfvbLibraryTaxonomyDimension
17
+ */
18
+ export interface SfvbLibraryTaxonomyDimension {
19
+ /**
20
+ * What the dimension describes.
21
+ * @type {string}
22
+ * @memberof SfvbLibraryTaxonomyDimension
23
+ */
24
+ description?: string;
25
+ /**
26
+ * The taxonomy field this list applies to.
27
+ * @type {string}
28
+ * @memberof SfvbLibraryTaxonomyDimension
29
+ */
30
+ name?: SfvbLibraryTaxonomyDimensionNameEnum;
31
+ /**
32
+ * The allowed tags, in display order.
33
+ * @type {Array<SfvbLibraryTaxonomyTag>}
34
+ * @memberof SfvbLibraryTaxonomyDimension
35
+ */
36
+ tags?: Array<SfvbLibraryTaxonomyTag>;
37
+ }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const SfvbLibraryTaxonomyDimensionNameEnum: {
42
+ readonly Purpose: "purpose";
43
+ readonly Section: "section";
44
+ readonly Industry: "industry";
45
+ readonly Style: "style";
46
+ };
47
+ export type SfvbLibraryTaxonomyDimensionNameEnum = typeof SfvbLibraryTaxonomyDimensionNameEnum[keyof typeof SfvbLibraryTaxonomyDimensionNameEnum];
48
+ /**
49
+ * Check if a given object implements the SfvbLibraryTaxonomyDimension interface.
50
+ */
51
+ export declare function instanceOfSfvbLibraryTaxonomyDimension(value: object): boolean;
52
+ export declare function SfvbLibraryTaxonomyDimensionFromJSON(json: any): SfvbLibraryTaxonomyDimension;
53
+ export declare function SfvbLibraryTaxonomyDimensionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryTaxonomyDimension;
54
+ export declare function SfvbLibraryTaxonomyDimensionToJSON(value?: SfvbLibraryTaxonomyDimension | null): any;
@@ -0,0 +1,64 @@
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.SfvbLibraryTaxonomyDimensionToJSON = exports.SfvbLibraryTaxonomyDimensionFromJSONTyped = exports.SfvbLibraryTaxonomyDimensionFromJSON = exports.instanceOfSfvbLibraryTaxonomyDimension = exports.SfvbLibraryTaxonomyDimensionNameEnum = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var SfvbLibraryTaxonomyTag_1 = require("./SfvbLibraryTaxonomyTag");
19
+ /**
20
+ * @export
21
+ */
22
+ exports.SfvbLibraryTaxonomyDimensionNameEnum = {
23
+ Purpose: 'purpose',
24
+ Section: 'section',
25
+ Industry: 'industry',
26
+ Style: 'style'
27
+ };
28
+ /**
29
+ * Check if a given object implements the SfvbLibraryTaxonomyDimension interface.
30
+ */
31
+ function instanceOfSfvbLibraryTaxonomyDimension(value) {
32
+ var isInstance = true;
33
+ return isInstance;
34
+ }
35
+ exports.instanceOfSfvbLibraryTaxonomyDimension = instanceOfSfvbLibraryTaxonomyDimension;
36
+ function SfvbLibraryTaxonomyDimensionFromJSON(json) {
37
+ return SfvbLibraryTaxonomyDimensionFromJSONTyped(json, false);
38
+ }
39
+ exports.SfvbLibraryTaxonomyDimensionFromJSON = SfvbLibraryTaxonomyDimensionFromJSON;
40
+ function SfvbLibraryTaxonomyDimensionFromJSONTyped(json, ignoreDiscriminator) {
41
+ if ((json === undefined) || (json === null)) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
46
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
47
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : (json['tags'].map(SfvbLibraryTaxonomyTag_1.SfvbLibraryTaxonomyTagFromJSON)),
48
+ };
49
+ }
50
+ exports.SfvbLibraryTaxonomyDimensionFromJSONTyped = SfvbLibraryTaxonomyDimensionFromJSONTyped;
51
+ function SfvbLibraryTaxonomyDimensionToJSON(value) {
52
+ if (value === undefined) {
53
+ return undefined;
54
+ }
55
+ if (value === null) {
56
+ return null;
57
+ }
58
+ return {
59
+ 'description': value.description,
60
+ 'name': value.name,
61
+ 'tags': value.tags === undefined ? undefined : (value.tags.map(SfvbLibraryTaxonomyTag_1.SfvbLibraryTaxonomyTagToJSON)),
62
+ };
63
+ }
64
+ exports.SfvbLibraryTaxonomyDimensionToJSON = SfvbLibraryTaxonomyDimensionToJSON;
@@ -0,0 +1,37 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface SfvbLibraryTaxonomyTag
16
+ */
17
+ export interface SfvbLibraryTaxonomyTag {
18
+ /**
19
+ * When to use it.
20
+ * @type {string}
21
+ * @memberof SfvbLibraryTaxonomyTag
22
+ */
23
+ description?: string;
24
+ /**
25
+ * The value to send in the entry's taxonomy.
26
+ * @type {string}
27
+ * @memberof SfvbLibraryTaxonomyTag
28
+ */
29
+ slug?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SfvbLibraryTaxonomyTag interface.
33
+ */
34
+ export declare function instanceOfSfvbLibraryTaxonomyTag(value: object): boolean;
35
+ export declare function SfvbLibraryTaxonomyTagFromJSON(json: any): SfvbLibraryTaxonomyTag;
36
+ export declare function SfvbLibraryTaxonomyTagFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryTaxonomyTag;
37
+ export declare function SfvbLibraryTaxonomyTagToJSON(value?: SfvbLibraryTaxonomyTag | null): any;
@@ -0,0 +1,52 @@
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.SfvbLibraryTaxonomyTagToJSON = exports.SfvbLibraryTaxonomyTagFromJSONTyped = exports.SfvbLibraryTaxonomyTagFromJSON = exports.instanceOfSfvbLibraryTaxonomyTag = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the SfvbLibraryTaxonomyTag interface.
20
+ */
21
+ function instanceOfSfvbLibraryTaxonomyTag(value) {
22
+ var isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfSfvbLibraryTaxonomyTag = instanceOfSfvbLibraryTaxonomyTag;
26
+ function SfvbLibraryTaxonomyTagFromJSON(json) {
27
+ return SfvbLibraryTaxonomyTagFromJSONTyped(json, false);
28
+ }
29
+ exports.SfvbLibraryTaxonomyTagFromJSON = SfvbLibraryTaxonomyTagFromJSON;
30
+ function SfvbLibraryTaxonomyTagFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
36
+ 'slug': !(0, runtime_1.exists)(json, 'slug') ? undefined : json['slug'],
37
+ };
38
+ }
39
+ exports.SfvbLibraryTaxonomyTagFromJSONTyped = SfvbLibraryTaxonomyTagFromJSONTyped;
40
+ function SfvbLibraryTaxonomyTagToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'description': value.description,
49
+ 'slug': value.slug,
50
+ };
51
+ }
52
+ exports.SfvbLibraryTaxonomyTagToJSON = SfvbLibraryTaxonomyTagToJSON;
@@ -1026,6 +1026,7 @@ export * from './SfvbLibraryInstallReceipt';
1026
1026
  export * from './SfvbLibraryInstallRecord';
1027
1027
  export * from './SfvbLibraryInstallRequest';
1028
1028
  export * from './SfvbLibraryInstallsResponse';
1029
+ export * from './SfvbLibraryManifestFinding';
1029
1030
  export * from './SfvbLibraryParameter';
1030
1031
  export * from './SfvbLibraryPublishRequest';
1031
1032
  export * from './SfvbLibraryResponse';
@@ -1035,6 +1036,8 @@ export * from './SfvbLibraryShareTarget';
1035
1036
  export * from './SfvbLibraryShareTargetsResponse';
1036
1037
  export * from './SfvbLibraryTaxonomy';
1037
1038
  export * from './SfvbLibraryTaxonomyCatalog';
1039
+ export * from './SfvbLibraryTaxonomyDimension';
1040
+ export * from './SfvbLibraryTaxonomyTag';
1038
1041
  export * from './SfvbLibraryUnshareResult';
1039
1042
  export * from './SfvbMenu';
1040
1043
  export * from './SfvbMenuItem';
@@ -1044,6 +1044,7 @@ __exportStar(require("./SfvbLibraryInstallReceipt"), exports);
1044
1044
  __exportStar(require("./SfvbLibraryInstallRecord"), exports);
1045
1045
  __exportStar(require("./SfvbLibraryInstallRequest"), exports);
1046
1046
  __exportStar(require("./SfvbLibraryInstallsResponse"), exports);
1047
+ __exportStar(require("./SfvbLibraryManifestFinding"), exports);
1047
1048
  __exportStar(require("./SfvbLibraryParameter"), exports);
1048
1049
  __exportStar(require("./SfvbLibraryPublishRequest"), exports);
1049
1050
  __exportStar(require("./SfvbLibraryResponse"), exports);
@@ -1053,6 +1054,8 @@ __exportStar(require("./SfvbLibraryShareTarget"), exports);
1053
1054
  __exportStar(require("./SfvbLibraryShareTargetsResponse"), exports);
1054
1055
  __exportStar(require("./SfvbLibraryTaxonomy"), exports);
1055
1056
  __exportStar(require("./SfvbLibraryTaxonomyCatalog"), exports);
1057
+ __exportStar(require("./SfvbLibraryTaxonomyDimension"), exports);
1058
+ __exportStar(require("./SfvbLibraryTaxonomyTag"), exports);
1056
1059
  __exportStar(require("./SfvbLibraryUnshareResult"), exports);
1057
1060
  __exportStar(require("./SfvbMenu"), exports);
1058
1061
  __exportStar(require("./SfvbMenuItem"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.185",
3
+ "version": "4.1.186",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import {
17
+ SfvbLibraryManifestFinding,
18
+ SfvbLibraryManifestFindingFromJSON,
19
+ SfvbLibraryManifestFindingFromJSONTyped,
20
+ SfvbLibraryManifestFindingToJSON,
21
+ } from './SfvbLibraryManifestFinding';
22
+
16
23
  /**
17
24
  *
18
25
  * @export
@@ -21,10 +28,10 @@ import { exists, mapValues } from '../runtime';
21
28
  export interface SfvbLibraryAiReview {
22
29
  /**
23
30
  * What the reviewers found. detail is the category followed by the quoted evidence.
24
- * @type {object}
31
+ * @type {Array<SfvbLibraryManifestFinding>}
25
32
  * @memberof SfvbLibraryAiReview
26
33
  */
27
- findings?: object;
34
+ findings?: Array<SfvbLibraryManifestFinding>;
28
35
  /**
29
36
  * Version of the review policy that produced this verdict.
30
37
  * @type {string}
@@ -90,7 +97,7 @@ export function SfvbLibraryAiReviewFromJSONTyped(json: any, ignoreDiscriminator:
90
97
  }
91
98
  return {
92
99
 
93
- 'findings': !exists(json, 'findings') ? undefined : json['findings'],
100
+ 'findings': !exists(json, 'findings') ? undefined : ((json['findings'] as Array<any>).map(SfvbLibraryManifestFindingFromJSON)),
94
101
  'prompt_version': !exists(json, 'prompt_version') ? undefined : json['prompt_version'],
95
102
  'reviewed_dts': !exists(json, 'reviewed_dts') ? undefined : json['reviewed_dts'],
96
103
  'screenshot_sha256': !exists(json, 'screenshot_sha256') ? undefined : json['screenshot_sha256'],
@@ -108,7 +115,7 @@ export function SfvbLibraryAiReviewToJSON(value?: SfvbLibraryAiReview | null): a
108
115
  }
109
116
  return {
110
117
 
111
- 'findings': value.findings,
118
+ 'findings': value.findings === undefined ? undefined : ((value.findings as Array<any>).map(SfvbLibraryManifestFindingToJSON)),
112
119
  'prompt_version': value.prompt_version,
113
120
  'reviewed_dts': value.reviewed_dts,
114
121
  'screenshot_sha256': value.screenshot_sha256,
@@ -19,6 +19,12 @@ import {
19
19
  SfvbLibraryAiReviewFromJSONTyped,
20
20
  SfvbLibraryAiReviewToJSON,
21
21
  } from './SfvbLibraryAiReview';
22
+ import {
23
+ SfvbLibraryManifestFinding,
24
+ SfvbLibraryManifestFindingFromJSON,
25
+ SfvbLibraryManifestFindingFromJSONTyped,
26
+ SfvbLibraryManifestFindingToJSON,
27
+ } from './SfvbLibraryManifestFinding';
22
28
 
23
29
  /**
24
30
  *
@@ -28,10 +34,10 @@ import {
28
34
  export interface SfvbLibraryContentManifest {
29
35
  /**
30
36
  * Images, fonts, stylesheets, scripts or media loaded from an absolute URL. A shared or public entry must use relative paths so it never pulls files from another storefront or site.
31
- * @type {object}
37
+ * @type {Array<SfvbLibraryManifestFinding>}
32
38
  * @memberof SfvbLibraryContentManifest
33
39
  */
34
- absolute_asset_urls?: object;
40
+ absolute_asset_urls?: Array<SfvbLibraryManifestFinding>;
35
41
  /**
36
42
  *
37
43
  * @type {SfvbLibraryAiReview}
@@ -40,22 +46,22 @@ export interface SfvbLibraryContentManifest {
40
46
  ai_review?: SfvbLibraryAiReview;
41
47
  /**
42
48
  * Content that runs in a shopper's browser or on the server. Script, html, embed, css and velocity elements, script in markup, Velocity, script bearing CSS and unsafe URL schemes. An entry with any of these cannot be made public, and installing it needs an explicit acknowledgement.
43
- * @type {object}
49
+ * @type {Array<SfvbLibraryManifestFinding>}
44
50
  * @memberof SfvbLibraryContentManifest
45
51
  */
46
- executable?: object;
52
+ executable?: Array<SfvbLibraryManifestFinding>;
47
53
  /**
48
54
  * Card skimming and obfuscation signals. An entry with any is refused outright, whoever owns it.
49
- * @type {object}
55
+ * @type {Array<SfvbLibraryManifestFinding>}
50
56
  * @memberof SfvbLibraryContentManifest
51
57
  */
52
- rejected?: object;
58
+ rejected?: Array<SfvbLibraryManifestFinding>;
53
59
  /**
54
60
  * Strings shaped like credentials, by kind only. An entry with any cannot be shared or made public.
55
- * @type {object}
61
+ * @type {Array<SfvbLibraryManifestFinding>}
56
62
  * @memberof SfvbLibraryContentManifest
57
63
  */
58
- secrets?: object;
64
+ secrets?: Array<SfvbLibraryManifestFinding>;
59
65
  }
60
66
 
61
67
 
@@ -79,11 +85,11 @@ export function SfvbLibraryContentManifestFromJSONTyped(json: any, ignoreDiscrim
79
85
  }
80
86
  return {
81
87
 
82
- 'absolute_asset_urls': !exists(json, 'absolute_asset_urls') ? undefined : json['absolute_asset_urls'],
88
+ 'absolute_asset_urls': !exists(json, 'absolute_asset_urls') ? undefined : ((json['absolute_asset_urls'] as Array<any>).map(SfvbLibraryManifestFindingFromJSON)),
83
89
  'ai_review': !exists(json, 'ai_review') ? undefined : SfvbLibraryAiReviewFromJSON(json['ai_review']),
84
- 'executable': !exists(json, 'executable') ? undefined : json['executable'],
85
- 'rejected': !exists(json, 'rejected') ? undefined : json['rejected'],
86
- 'secrets': !exists(json, 'secrets') ? undefined : json['secrets'],
90
+ 'executable': !exists(json, 'executable') ? undefined : ((json['executable'] as Array<any>).map(SfvbLibraryManifestFindingFromJSON)),
91
+ 'rejected': !exists(json, 'rejected') ? undefined : ((json['rejected'] as Array<any>).map(SfvbLibraryManifestFindingFromJSON)),
92
+ 'secrets': !exists(json, 'secrets') ? undefined : ((json['secrets'] as Array<any>).map(SfvbLibraryManifestFindingFromJSON)),
87
93
  };
88
94
  }
89
95
 
@@ -96,11 +102,11 @@ export function SfvbLibraryContentManifestToJSON(value?: SfvbLibraryContentManif
96
102
  }
97
103
  return {
98
104
 
99
- 'absolute_asset_urls': value.absolute_asset_urls,
105
+ 'absolute_asset_urls': value.absolute_asset_urls === undefined ? undefined : ((value.absolute_asset_urls as Array<any>).map(SfvbLibraryManifestFindingToJSON)),
100
106
  'ai_review': SfvbLibraryAiReviewToJSON(value.ai_review),
101
- 'executable': value.executable,
102
- 'rejected': value.rejected,
103
- 'secrets': value.secrets,
107
+ 'executable': value.executable === undefined ? undefined : ((value.executable as Array<any>).map(SfvbLibraryManifestFindingToJSON)),
108
+ 'rejected': value.rejected === undefined ? undefined : ((value.rejected as Array<any>).map(SfvbLibraryManifestFindingToJSON)),
109
+ 'secrets': value.secrets === undefined ? undefined : ((value.secrets as Array<any>).map(SfvbLibraryManifestFindingToJSON)),
104
110
  };
105
111
  }
106
112
 
@@ -0,0 +1,83 @@
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
+ /**
17
+ *
18
+ * @export
19
+ * @interface SfvbLibraryManifestFinding
20
+ */
21
+ export interface SfvbLibraryManifestFinding {
22
+ /**
23
+ * What was found. For an absolute asset URL this is the URL. For a credential it is only the kind of credential, never its value.
24
+ * @type {string}
25
+ * @memberof SfvbLibraryManifestFinding
26
+ */
27
+ detail?: string;
28
+ /**
29
+ * Id of the widget the finding is in.
30
+ * @type {string}
31
+ * @memberof SfvbLibraryManifestFinding
32
+ */
33
+ widget_id?: string;
34
+ /**
35
+ * Element type of that widget.
36
+ * @type {string}
37
+ * @memberof SfvbLibraryManifestFinding
38
+ */
39
+ widget_type?: string;
40
+ }
41
+
42
+
43
+
44
+ /**
45
+ * Check if a given object implements the SfvbLibraryManifestFinding interface.
46
+ */
47
+ export function instanceOfSfvbLibraryManifestFinding(value: object): boolean {
48
+ let isInstance = true;
49
+
50
+ return isInstance;
51
+ }
52
+
53
+ export function SfvbLibraryManifestFindingFromJSON(json: any): SfvbLibraryManifestFinding {
54
+ return SfvbLibraryManifestFindingFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function SfvbLibraryManifestFindingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryManifestFinding {
58
+ if ((json === undefined) || (json === null)) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'detail': !exists(json, 'detail') ? undefined : json['detail'],
64
+ 'widget_id': !exists(json, 'widget_id') ? undefined : json['widget_id'],
65
+ 'widget_type': !exists(json, 'widget_type') ? undefined : json['widget_type'],
66
+ };
67
+ }
68
+
69
+ export function SfvbLibraryManifestFindingToJSON(value?: SfvbLibraryManifestFinding | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'detail': value.detail,
79
+ 'widget_id': value.widget_id,
80
+ 'widget_type': value.widget_type,
81
+ };
82
+ }
83
+
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import {
17
+ SfvbLibraryTaxonomyDimension,
18
+ SfvbLibraryTaxonomyDimensionFromJSON,
19
+ SfvbLibraryTaxonomyDimensionFromJSONTyped,
20
+ SfvbLibraryTaxonomyDimensionToJSON,
21
+ } from './SfvbLibraryTaxonomyDimension';
22
+
16
23
  /**
17
24
  *
18
25
  * @export
@@ -21,10 +28,10 @@ import { exists, mapValues } from '../runtime';
21
28
  export interface SfvbLibraryTaxonomyCatalog {
22
29
  /**
23
30
  * purpose, section, industry and style, each with its allowed tags.
24
- * @type {object}
31
+ * @type {Array<SfvbLibraryTaxonomyDimension>}
25
32
  * @memberof SfvbLibraryTaxonomyCatalog
26
33
  */
27
- dimensions?: object;
34
+ dimensions?: Array<SfvbLibraryTaxonomyDimension>;
28
35
  }
29
36
 
30
37
 
@@ -48,7 +55,7 @@ export function SfvbLibraryTaxonomyCatalogFromJSONTyped(json: any, ignoreDiscrim
48
55
  }
49
56
  return {
50
57
 
51
- 'dimensions': !exists(json, 'dimensions') ? undefined : json['dimensions'],
58
+ 'dimensions': !exists(json, 'dimensions') ? undefined : ((json['dimensions'] as Array<any>).map(SfvbLibraryTaxonomyDimensionFromJSON)),
52
59
  };
53
60
  }
54
61
 
@@ -61,7 +68,7 @@ export function SfvbLibraryTaxonomyCatalogToJSON(value?: SfvbLibraryTaxonomyCata
61
68
  }
62
69
  return {
63
70
 
64
- 'dimensions': value.dimensions,
71
+ 'dimensions': value.dimensions === undefined ? undefined : ((value.dimensions as Array<any>).map(SfvbLibraryTaxonomyDimensionToJSON)),
65
72
  };
66
73
  }
67
74
 
@@ -0,0 +1,102 @@
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
+ SfvbLibraryTaxonomyTag,
18
+ SfvbLibraryTaxonomyTagFromJSON,
19
+ SfvbLibraryTaxonomyTagFromJSONTyped,
20
+ SfvbLibraryTaxonomyTagToJSON,
21
+ } from './SfvbLibraryTaxonomyTag';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface SfvbLibraryTaxonomyDimension
27
+ */
28
+ export interface SfvbLibraryTaxonomyDimension {
29
+ /**
30
+ * What the dimension describes.
31
+ * @type {string}
32
+ * @memberof SfvbLibraryTaxonomyDimension
33
+ */
34
+ description?: string;
35
+ /**
36
+ * The taxonomy field this list applies to.
37
+ * @type {string}
38
+ * @memberof SfvbLibraryTaxonomyDimension
39
+ */
40
+ name?: SfvbLibraryTaxonomyDimensionNameEnum;
41
+ /**
42
+ * The allowed tags, in display order.
43
+ * @type {Array<SfvbLibraryTaxonomyTag>}
44
+ * @memberof SfvbLibraryTaxonomyDimension
45
+ */
46
+ tags?: Array<SfvbLibraryTaxonomyTag>;
47
+ }
48
+
49
+
50
+
51
+ /**
52
+ * @export
53
+ */
54
+ export const SfvbLibraryTaxonomyDimensionNameEnum = {
55
+ Purpose: 'purpose',
56
+ Section: 'section',
57
+ Industry: 'industry',
58
+ Style: 'style'
59
+ } as const;
60
+ export type SfvbLibraryTaxonomyDimensionNameEnum = typeof SfvbLibraryTaxonomyDimensionNameEnum[keyof typeof SfvbLibraryTaxonomyDimensionNameEnum];
61
+
62
+
63
+ /**
64
+ * Check if a given object implements the SfvbLibraryTaxonomyDimension interface.
65
+ */
66
+ export function instanceOfSfvbLibraryTaxonomyDimension(value: object): boolean {
67
+ let isInstance = true;
68
+
69
+ return isInstance;
70
+ }
71
+
72
+ export function SfvbLibraryTaxonomyDimensionFromJSON(json: any): SfvbLibraryTaxonomyDimension {
73
+ return SfvbLibraryTaxonomyDimensionFromJSONTyped(json, false);
74
+ }
75
+
76
+ export function SfvbLibraryTaxonomyDimensionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryTaxonomyDimension {
77
+ if ((json === undefined) || (json === null)) {
78
+ return json;
79
+ }
80
+ return {
81
+
82
+ 'description': !exists(json, 'description') ? undefined : json['description'],
83
+ 'name': !exists(json, 'name') ? undefined : json['name'],
84
+ 'tags': !exists(json, 'tags') ? undefined : ((json['tags'] as Array<any>).map(SfvbLibraryTaxonomyTagFromJSON)),
85
+ };
86
+ }
87
+
88
+ export function SfvbLibraryTaxonomyDimensionToJSON(value?: SfvbLibraryTaxonomyDimension | null): any {
89
+ if (value === undefined) {
90
+ return undefined;
91
+ }
92
+ if (value === null) {
93
+ return null;
94
+ }
95
+ return {
96
+
97
+ 'description': value.description,
98
+ 'name': value.name,
99
+ 'tags': value.tags === undefined ? undefined : ((value.tags as Array<any>).map(SfvbLibraryTaxonomyTagToJSON)),
100
+ };
101
+ }
102
+
@@ -0,0 +1,75 @@
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
+ /**
17
+ *
18
+ * @export
19
+ * @interface SfvbLibraryTaxonomyTag
20
+ */
21
+ export interface SfvbLibraryTaxonomyTag {
22
+ /**
23
+ * When to use it.
24
+ * @type {string}
25
+ * @memberof SfvbLibraryTaxonomyTag
26
+ */
27
+ description?: string;
28
+ /**
29
+ * The value to send in the entry's taxonomy.
30
+ * @type {string}
31
+ * @memberof SfvbLibraryTaxonomyTag
32
+ */
33
+ slug?: string;
34
+ }
35
+
36
+
37
+
38
+ /**
39
+ * Check if a given object implements the SfvbLibraryTaxonomyTag interface.
40
+ */
41
+ export function instanceOfSfvbLibraryTaxonomyTag(value: object): boolean {
42
+ let isInstance = true;
43
+
44
+ return isInstance;
45
+ }
46
+
47
+ export function SfvbLibraryTaxonomyTagFromJSON(json: any): SfvbLibraryTaxonomyTag {
48
+ return SfvbLibraryTaxonomyTagFromJSONTyped(json, false);
49
+ }
50
+
51
+ export function SfvbLibraryTaxonomyTagFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbLibraryTaxonomyTag {
52
+ if ((json === undefined) || (json === null)) {
53
+ return json;
54
+ }
55
+ return {
56
+
57
+ 'description': !exists(json, 'description') ? undefined : json['description'],
58
+ 'slug': !exists(json, 'slug') ? undefined : json['slug'],
59
+ };
60
+ }
61
+
62
+ export function SfvbLibraryTaxonomyTagToJSON(value?: SfvbLibraryTaxonomyTag | null): any {
63
+ if (value === undefined) {
64
+ return undefined;
65
+ }
66
+ if (value === null) {
67
+ return null;
68
+ }
69
+ return {
70
+
71
+ 'description': value.description,
72
+ 'slug': value.slug,
73
+ };
74
+ }
75
+
@@ -1028,6 +1028,7 @@ export * from './SfvbLibraryInstallReceipt';
1028
1028
  export * from './SfvbLibraryInstallRecord';
1029
1029
  export * from './SfvbLibraryInstallRequest';
1030
1030
  export * from './SfvbLibraryInstallsResponse';
1031
+ export * from './SfvbLibraryManifestFinding';
1031
1032
  export * from './SfvbLibraryParameter';
1032
1033
  export * from './SfvbLibraryPublishRequest';
1033
1034
  export * from './SfvbLibraryResponse';
@@ -1037,6 +1038,8 @@ export * from './SfvbLibraryShareTarget';
1037
1038
  export * from './SfvbLibraryShareTargetsResponse';
1038
1039
  export * from './SfvbLibraryTaxonomy';
1039
1040
  export * from './SfvbLibraryTaxonomyCatalog';
1041
+ export * from './SfvbLibraryTaxonomyDimension';
1042
+ export * from './SfvbLibraryTaxonomyTag';
1040
1043
  export * from './SfvbLibraryUnshareResult';
1041
1044
  export * from './SfvbMenu';
1042
1045
  export * from './SfvbMenuItem';