ultracart_rest_api_v2_typescript 4.1.214 → 4.1.215

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.
@@ -1100,6 +1100,7 @@ src/models/SfvbItemRelatedRequest.ts
1100
1100
  src/models/SfvbItemResponse.ts
1101
1101
  src/models/SfvbItemSeo.ts
1102
1102
  src/models/SfvbItemSeoRequest.ts
1103
+ src/models/SfvbItemTags.ts
1103
1104
  src/models/SfvbItemVolumeDiscount.ts
1104
1105
  src/models/SfvbLibraryAiReview.ts
1105
1106
  src/models/SfvbLibraryContentManifest.ts
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.214
2
+ ## ultracart_rest_api_v2_typescript@4.1.215
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.214 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.215 --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.215 | 10/28/2026 | sfvb internal testing |
87
88
  | 4.1.214 | 10/28/2026 | sfvb internal testing |
88
89
  | 4.1.213 | 10/28/2026 | auto order - improve item field descriptions |
89
90
  | 4.1.212 | 10/27/2026 | conversation - pbx agent startup activity |
@@ -12,6 +12,7 @@
12
12
  import { SfvbItemAttribute } from './SfvbItemAttribute';
13
13
  import { SfvbItemMultimedia } from './SfvbItemMultimedia';
14
14
  import { SfvbItemSeo } from './SfvbItemSeo';
15
+ import { SfvbItemTags } from './SfvbItemTags';
15
16
  /**
16
17
  *
17
18
  * @export
@@ -60,6 +61,12 @@ export interface SfvbItemResponse {
60
61
  * @memberof SfvbItemResponse
61
62
  */
62
63
  seo?: SfvbItemSeo;
64
+ /**
65
+ *
66
+ * @type {SfvbItemTags}
67
+ * @memberof SfvbItemResponse
68
+ */
69
+ tags?: SfvbItemTags;
63
70
  /**
64
71
  * What an itemtitle element renders. This is the item's short description in the catalog, not a storefront only field, so changing it changes the item everywhere.
65
72
  * @type {string}
@@ -18,6 +18,7 @@ var runtime_1 = require("../runtime");
18
18
  var SfvbItemAttribute_1 = require("./SfvbItemAttribute");
19
19
  var SfvbItemMultimedia_1 = require("./SfvbItemMultimedia");
20
20
  var SfvbItemSeo_1 = require("./SfvbItemSeo");
21
+ var SfvbItemTags_1 = require("./SfvbItemTags");
21
22
  /**
22
23
  * Check if a given object implements the SfvbItemResponse interface.
23
24
  */
@@ -42,6 +43,7 @@ function SfvbItemResponseFromJSONTyped(json, ignoreDiscriminator) {
42
43
  'merchant_item_oid': !(0, runtime_1.exists)(json, 'merchant_item_oid') ? undefined : json['merchant_item_oid'],
43
44
  'multimedia': !(0, runtime_1.exists)(json, 'multimedia') ? undefined : (json['multimedia'].map(SfvbItemMultimedia_1.SfvbItemMultimediaFromJSON)),
44
45
  'seo': !(0, runtime_1.exists)(json, 'seo') ? undefined : (0, SfvbItemSeo_1.SfvbItemSeoFromJSON)(json['seo']),
46
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : (0, SfvbItemTags_1.SfvbItemTagsFromJSON)(json['tags']),
45
47
  'title': !(0, runtime_1.exists)(json, 'title') ? undefined : json['title'],
46
48
  };
47
49
  }
@@ -61,6 +63,7 @@ function SfvbItemResponseToJSON(value) {
61
63
  'merchant_item_oid': value.merchant_item_oid,
62
64
  'multimedia': value.multimedia === undefined ? undefined : (value.multimedia.map(SfvbItemMultimedia_1.SfvbItemMultimediaToJSON)),
63
65
  'seo': (0, SfvbItemSeo_1.SfvbItemSeoToJSON)(value.seo),
66
+ 'tags': (0, SfvbItemTags_1.SfvbItemTagsToJSON)(value.tags),
64
67
  'title': value.title,
65
68
  };
66
69
  }
@@ -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 SfvbItemTags
16
+ */
17
+ export interface SfvbItemTags {
18
+ /**
19
+ * Tags put on the customer when this item is bought, in stored order.
20
+ * @type {Array<string>}
21
+ * @memberof SfvbItemTags
22
+ */
23
+ customer?: Array<string>;
24
+ /**
25
+ * The item's own tags, in stored order. These are what the item in cart with tag conditions and itemcondition check.
26
+ * @type {Array<string>}
27
+ * @memberof SfvbItemTags
28
+ */
29
+ item?: Array<string>;
30
+ /**
31
+ * Tags put on the order when this item is bought, in stored order.
32
+ * @type {Array<string>}
33
+ * @memberof SfvbItemTags
34
+ */
35
+ order?: Array<string>;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SfvbItemTags interface.
39
+ */
40
+ export declare function instanceOfSfvbItemTags(value: object): boolean;
41
+ export declare function SfvbItemTagsFromJSON(json: any): SfvbItemTags;
42
+ export declare function SfvbItemTagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbItemTags;
43
+ export declare function SfvbItemTagsToJSON(value?: SfvbItemTags | 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.SfvbItemTagsToJSON = exports.SfvbItemTagsFromJSONTyped = exports.SfvbItemTagsFromJSON = exports.instanceOfSfvbItemTags = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the SfvbItemTags interface.
20
+ */
21
+ function instanceOfSfvbItemTags(value) {
22
+ var isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfSfvbItemTags = instanceOfSfvbItemTags;
26
+ function SfvbItemTagsFromJSON(json) {
27
+ return SfvbItemTagsFromJSONTyped(json, false);
28
+ }
29
+ exports.SfvbItemTagsFromJSON = SfvbItemTagsFromJSON;
30
+ function SfvbItemTagsFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'customer': !(0, runtime_1.exists)(json, 'customer') ? undefined : json['customer'],
36
+ 'item': !(0, runtime_1.exists)(json, 'item') ? undefined : json['item'],
37
+ 'order': !(0, runtime_1.exists)(json, 'order') ? undefined : json['order'],
38
+ };
39
+ }
40
+ exports.SfvbItemTagsFromJSONTyped = SfvbItemTagsFromJSONTyped;
41
+ function SfvbItemTagsToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'customer': value.customer,
50
+ 'item': value.item,
51
+ 'order': value.order,
52
+ };
53
+ }
54
+ exports.SfvbItemTagsToJSON = SfvbItemTagsToJSON;
@@ -1070,6 +1070,7 @@ export * from './SfvbItemRelatedRequest';
1070
1070
  export * from './SfvbItemResponse';
1071
1071
  export * from './SfvbItemSeo';
1072
1072
  export * from './SfvbItemSeoRequest';
1073
+ export * from './SfvbItemTags';
1073
1074
  export * from './SfvbItemVolumeDiscount';
1074
1075
  export * from './SfvbLibraryAiReview';
1075
1076
  export * from './SfvbLibraryContentManifest';
@@ -1088,6 +1088,7 @@ __exportStar(require("./SfvbItemRelatedRequest"), exports);
1088
1088
  __exportStar(require("./SfvbItemResponse"), exports);
1089
1089
  __exportStar(require("./SfvbItemSeo"), exports);
1090
1090
  __exportStar(require("./SfvbItemSeoRequest"), exports);
1091
+ __exportStar(require("./SfvbItemTags"), exports);
1091
1092
  __exportStar(require("./SfvbItemVolumeDiscount"), exports);
1092
1093
  __exportStar(require("./SfvbLibraryAiReview"), exports);
1093
1094
  __exportStar(require("./SfvbLibraryContentManifest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.214",
3
+ "version": "4.1.215",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -31,6 +31,12 @@ import {
31
31
  SfvbItemSeoFromJSONTyped,
32
32
  SfvbItemSeoToJSON,
33
33
  } from './SfvbItemSeo';
34
+ import {
35
+ SfvbItemTags,
36
+ SfvbItemTagsFromJSON,
37
+ SfvbItemTagsFromJSONTyped,
38
+ SfvbItemTagsToJSON,
39
+ } from './SfvbItemTags';
34
40
 
35
41
  /**
36
42
  *
@@ -80,6 +86,12 @@ export interface SfvbItemResponse {
80
86
  * @memberof SfvbItemResponse
81
87
  */
82
88
  seo?: SfvbItemSeo;
89
+ /**
90
+ *
91
+ * @type {SfvbItemTags}
92
+ * @memberof SfvbItemResponse
93
+ */
94
+ tags?: SfvbItemTags;
83
95
  /**
84
96
  * What an itemtitle element renders. This is the item's short description in the catalog, not a storefront only field, so changing it changes the item everywhere.
85
97
  * @type {string}
@@ -116,6 +128,7 @@ export function SfvbItemResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
116
128
  'merchant_item_oid': !exists(json, 'merchant_item_oid') ? undefined : json['merchant_item_oid'],
117
129
  'multimedia': !exists(json, 'multimedia') ? undefined : ((json['multimedia'] as Array<any>).map(SfvbItemMultimediaFromJSON)),
118
130
  'seo': !exists(json, 'seo') ? undefined : SfvbItemSeoFromJSON(json['seo']),
131
+ 'tags': !exists(json, 'tags') ? undefined : SfvbItemTagsFromJSON(json['tags']),
119
132
  'title': !exists(json, 'title') ? undefined : json['title'],
120
133
  };
121
134
  }
@@ -136,6 +149,7 @@ export function SfvbItemResponseToJSON(value?: SfvbItemResponse | null): any {
136
149
  'merchant_item_oid': value.merchant_item_oid,
137
150
  'multimedia': value.multimedia === undefined ? undefined : ((value.multimedia as Array<any>).map(SfvbItemMultimediaToJSON)),
138
151
  'seo': SfvbItemSeoToJSON(value.seo),
152
+ 'tags': SfvbItemTagsToJSON(value.tags),
139
153
  'title': value.title,
140
154
  };
141
155
  }
@@ -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 SfvbItemTags
20
+ */
21
+ export interface SfvbItemTags {
22
+ /**
23
+ * Tags put on the customer when this item is bought, in stored order.
24
+ * @type {Array<string>}
25
+ * @memberof SfvbItemTags
26
+ */
27
+ customer?: Array<string>;
28
+ /**
29
+ * The item's own tags, in stored order. These are what the item in cart with tag conditions and itemcondition check.
30
+ * @type {Array<string>}
31
+ * @memberof SfvbItemTags
32
+ */
33
+ item?: Array<string>;
34
+ /**
35
+ * Tags put on the order when this item is bought, in stored order.
36
+ * @type {Array<string>}
37
+ * @memberof SfvbItemTags
38
+ */
39
+ order?: Array<string>;
40
+ }
41
+
42
+
43
+
44
+ /**
45
+ * Check if a given object implements the SfvbItemTags interface.
46
+ */
47
+ export function instanceOfSfvbItemTags(value: object): boolean {
48
+ let isInstance = true;
49
+
50
+ return isInstance;
51
+ }
52
+
53
+ export function SfvbItemTagsFromJSON(json: any): SfvbItemTags {
54
+ return SfvbItemTagsFromJSONTyped(json, false);
55
+ }
56
+
57
+ export function SfvbItemTagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SfvbItemTags {
58
+ if ((json === undefined) || (json === null)) {
59
+ return json;
60
+ }
61
+ return {
62
+
63
+ 'customer': !exists(json, 'customer') ? undefined : json['customer'],
64
+ 'item': !exists(json, 'item') ? undefined : json['item'],
65
+ 'order': !exists(json, 'order') ? undefined : json['order'],
66
+ };
67
+ }
68
+
69
+ export function SfvbItemTagsToJSON(value?: SfvbItemTags | null): any {
70
+ if (value === undefined) {
71
+ return undefined;
72
+ }
73
+ if (value === null) {
74
+ return null;
75
+ }
76
+ return {
77
+
78
+ 'customer': value.customer,
79
+ 'item': value.item,
80
+ 'order': value.order,
81
+ };
82
+ }
83
+
@@ -1072,6 +1072,7 @@ export * from './SfvbItemRelatedRequest';
1072
1072
  export * from './SfvbItemResponse';
1073
1073
  export * from './SfvbItemSeo';
1074
1074
  export * from './SfvbItemSeoRequest';
1075
+ export * from './SfvbItemTags';
1075
1076
  export * from './SfvbItemVolumeDiscount';
1076
1077
  export * from './SfvbLibraryAiReview';
1077
1078
  export * from './SfvbLibraryContentManifest';