ultracart_rest_api_v2_typescript 4.1.240 → 4.1.241

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.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.240
2
+ ## ultracart_rest_api_v2_typescript@4.1.241
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.240 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.241 --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.241 | 11/10/2026 | sfvb internal testing |
87
88
  | 4.1.240 | 11/10/2026 | sfvb internal testing |
88
89
  | 4.1.239 | 11/10/2026 | sfvb internal testing |
89
90
  | 4.1.238 | 11/10/2026 | sfvb internal testing |
@@ -39,7 +39,7 @@ export interface SfvbItemVariationChange {
39
39
  * @type {boolean}
40
40
  * @memberof SfvbItemVariationChange
41
41
  */
42
- _default?: boolean;
42
+ default_option?: boolean;
43
43
  /**
44
44
  * The prompt, for add_axis and set_default_text. Null clears it.
45
45
  * @type {string}
@@ -36,7 +36,7 @@ function SfvbItemVariationChangeFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'axis': !(0, runtime_1.exists)(json, 'axis') ? undefined : json['axis'],
37
37
  'before': !(0, runtime_1.exists)(json, 'before') ? undefined : json['before'],
38
38
  'child': !(0, runtime_1.exists)(json, 'child') ? undefined : json['child'],
39
- '_default': !(0, runtime_1.exists)(json, 'default') ? undefined : json['default'],
39
+ 'default_option': !(0, runtime_1.exists)(json, 'default_option') ? undefined : json['default_option'],
40
40
  'default_text': !(0, runtime_1.exists)(json, 'default_text') ? undefined : json['default_text'],
41
41
  'multimedia_oid': !(0, runtime_1.exists)(json, 'multimedia_oid') ? undefined : json['multimedia_oid'],
42
42
  'op': !(0, runtime_1.exists)(json, 'op') ? undefined : json['op'],
@@ -59,7 +59,7 @@ function SfvbItemVariationChangeToJSON(value) {
59
59
  'axis': value.axis,
60
60
  'before': value.before,
61
61
  'child': value.child,
62
- 'default': value._default,
62
+ 'default_option': value.default_option,
63
63
  'default_text': value.default_text,
64
64
  'multimedia_oid': value.multimedia_oid,
65
65
  'op': value.op,
@@ -20,7 +20,7 @@ export interface SfvbItemVariationOption {
20
20
  * @type {boolean}
21
21
  * @memberof SfvbItemVariationOption
22
22
  */
23
- _default?: boolean;
23
+ default_option?: boolean;
24
24
  /**
25
25
  * An image or swatch of the parent item shown for this option, or null.
26
26
  * @type {number}
@@ -32,7 +32,7 @@ function SfvbItemVariationOptionFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
- '_default': !(0, runtime_1.exists)(json, 'default') ? undefined : json['default'],
35
+ 'default_option': !(0, runtime_1.exists)(json, 'default_option') ? undefined : json['default_option'],
36
36
  'multimedia_oid': !(0, runtime_1.exists)(json, 'multimedia_oid') ? undefined : json['multimedia_oid'],
37
37
  'value': !(0, runtime_1.exists)(json, 'value') ? undefined : json['value'],
38
38
  };
@@ -46,7 +46,7 @@ function SfvbItemVariationOptionToJSON(value) {
46
46
  return null;
47
47
  }
48
48
  return {
49
- 'default': value._default,
49
+ 'default_option': value.default_option,
50
50
  'multimedia_oid': value.multimedia_oid,
51
51
  'value': value.value,
52
52
  };
@@ -21,6 +21,12 @@ export interface SfvbTrackingCheckPlanGate {
21
21
  * @memberof SfvbTrackingCheckPlanGate
22
22
  */
23
23
  region?: SfvbTrackingCheckPlanGateRegionEnum;
24
+ /**
25
+ * The cookie service the consent gate is stored under, for example openai or facebook (#1959).
26
+ * @type {string}
27
+ * @memberof SfvbTrackingCheckPlanGate
28
+ */
29
+ service?: string;
24
30
  /**
25
31
  * The consent category that must be granted. Statistics, Preferences or Marketing.
26
32
  * @type {string}
@@ -49,6 +49,7 @@ function SfvbTrackingCheckPlanGateFromJSONTyped(json, ignoreDiscriminator) {
49
49
  }
50
50
  return {
51
51
  'region': !(0, runtime_1.exists)(json, 'region') ? undefined : json['region'],
52
+ 'service': !(0, runtime_1.exists)(json, 'service') ? undefined : json['service'],
52
53
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
53
54
  };
54
55
  }
@@ -62,6 +63,7 @@ function SfvbTrackingCheckPlanGateToJSON(value) {
62
63
  }
63
64
  return {
64
65
  'region': value.region,
66
+ 'service': value.service,
65
67
  'type': value.type,
66
68
  };
67
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.240",
3
+ "version": "4.1.241",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -49,7 +49,7 @@ export interface SfvbItemVariationChange {
49
49
  * @type {boolean}
50
50
  * @memberof SfvbItemVariationChange
51
51
  */
52
- _default?: boolean;
52
+ default_option?: boolean;
53
53
  /**
54
54
  * The prompt, for add_axis and set_default_text. Null clears it.
55
55
  * @type {string}
@@ -124,7 +124,7 @@ export function SfvbItemVariationChangeFromJSONTyped(json: any, ignoreDiscrimina
124
124
  'axis': !exists(json, 'axis') ? undefined : json['axis'],
125
125
  'before': !exists(json, 'before') ? undefined : json['before'],
126
126
  'child': !exists(json, 'child') ? undefined : json['child'],
127
- '_default': !exists(json, 'default') ? undefined : json['default'],
127
+ 'default_option': !exists(json, 'default_option') ? undefined : json['default_option'],
128
128
  'default_text': !exists(json, 'default_text') ? undefined : json['default_text'],
129
129
  'multimedia_oid': !exists(json, 'multimedia_oid') ? undefined : json['multimedia_oid'],
130
130
  'op': !exists(json, 'op') ? undefined : json['op'],
@@ -148,7 +148,7 @@ export function SfvbItemVariationChangeToJSON(value?: SfvbItemVariationChange |
148
148
  'axis': value.axis,
149
149
  'before': value.before,
150
150
  'child': value.child,
151
- 'default': value._default,
151
+ 'default_option': value.default_option,
152
152
  'default_text': value.default_text,
153
153
  'multimedia_oid': value.multimedia_oid,
154
154
  'op': value.op,
@@ -24,7 +24,7 @@ export interface SfvbItemVariationOption {
24
24
  * @type {boolean}
25
25
  * @memberof SfvbItemVariationOption
26
26
  */
27
- _default?: boolean;
27
+ default_option?: boolean;
28
28
  /**
29
29
  * An image or swatch of the parent item shown for this option, or null.
30
30
  * @type {number}
@@ -60,7 +60,7 @@ export function SfvbItemVariationOptionFromJSONTyped(json: any, ignoreDiscrimina
60
60
  }
61
61
  return {
62
62
 
63
- '_default': !exists(json, 'default') ? undefined : json['default'],
63
+ 'default_option': !exists(json, 'default_option') ? undefined : json['default_option'],
64
64
  'multimedia_oid': !exists(json, 'multimedia_oid') ? undefined : json['multimedia_oid'],
65
65
  'value': !exists(json, 'value') ? undefined : json['value'],
66
66
  };
@@ -75,7 +75,7 @@ export function SfvbItemVariationOptionToJSON(value?: SfvbItemVariationOption |
75
75
  }
76
76
  return {
77
77
 
78
- 'default': value._default,
78
+ 'default_option': value.default_option,
79
79
  'multimedia_oid': value.multimedia_oid,
80
80
  'value': value.value,
81
81
  };
@@ -25,6 +25,12 @@ export interface SfvbTrackingCheckPlanGate {
25
25
  * @memberof SfvbTrackingCheckPlanGate
26
26
  */
27
27
  region?: SfvbTrackingCheckPlanGateRegionEnum;
28
+ /**
29
+ * The cookie service the consent gate is stored under, for example openai or facebook (#1959).
30
+ * @type {string}
31
+ * @memberof SfvbTrackingCheckPlanGate
32
+ */
33
+ service?: string;
28
34
  /**
29
35
  * The consent category that must be granted. Statistics, Preferences or Marketing.
30
36
  * @type {string}
@@ -76,6 +82,7 @@ export function SfvbTrackingCheckPlanGateFromJSONTyped(json: any, ignoreDiscrimi
76
82
  return {
77
83
 
78
84
  'region': !exists(json, 'region') ? undefined : json['region'],
85
+ 'service': !exists(json, 'service') ? undefined : json['service'],
79
86
  'type': !exists(json, 'type') ? undefined : json['type'],
80
87
  };
81
88
  }
@@ -90,6 +97,7 @@ export function SfvbTrackingCheckPlanGateToJSON(value?: SfvbTrackingCheckPlanGat
90
97
  return {
91
98
 
92
99
  'region': value.region,
100
+ 'service': value.service,
93
101
  'type': value.type,
94
102
  };
95
103
  }