ultracart_rest_api_v2_typescript 4.0.80-RC → 4.0.81-RC
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 +3 -2
- package/dist/models/AffiliateClick.d.ts +12 -0
- package/dist/models/AffiliateClick.js +4 -0
- package/dist/models/Conversation.d.ts +6 -0
- package/dist/models/Conversation.js +2 -0
- package/package.json +1 -1
- package/src/models/AffiliateClick.ts +16 -0
- package/src/models/Conversation.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.81-RC
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.81-RC --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.81-RC | 11/15/2022 | increase order property length to 10k char |
|
|
57
58
|
| 4.0.80-RC | 11/14/2022 | conversations - add allowed values for update agent status |
|
|
58
59
|
| 4.0.79-RC | 11/09/2022 | conversations - add an enum of event typing |
|
|
59
60
|
| 4.0.78-RC | 11/04/2022 | new coupon type percent based on msrp |
|
|
@@ -76,12 +76,24 @@ export interface AffiliateClick {
|
|
|
76
76
|
* @memberof AffiliateClick
|
|
77
77
|
*/
|
|
78
78
|
referrer_query_string?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Screen recording UUID
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof AffiliateClick
|
|
83
|
+
*/
|
|
84
|
+
screen_recording_uuid?: string;
|
|
79
85
|
/**
|
|
80
86
|
* Sub ID value passed on the click
|
|
81
87
|
* @type {string}
|
|
82
88
|
* @memberof AffiliateClick
|
|
83
89
|
*/
|
|
84
90
|
sub_id?: string;
|
|
91
|
+
/**
|
|
92
|
+
* UC Analytics Identifier
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof AffiliateClick
|
|
95
|
+
*/
|
|
96
|
+
ucacid?: string;
|
|
85
97
|
}
|
|
86
98
|
export declare function AffiliateClickFromJSON(json: any): AffiliateClick;
|
|
87
99
|
export declare function AffiliateClickFromJSONTyped(json: any, ignoreDiscriminator: boolean): AffiliateClick;
|
|
@@ -35,7 +35,9 @@ function AffiliateClickFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'link': !(0, runtime_1.exists)(json, 'link') ? undefined : (0, AffiliateLink_1.AffiliateLinkFromJSON)(json['link']),
|
|
36
36
|
'referrer': !(0, runtime_1.exists)(json, 'referrer') ? undefined : json['referrer'],
|
|
37
37
|
'referrer_query_string': !(0, runtime_1.exists)(json, 'referrer_query_string') ? undefined : json['referrer_query_string'],
|
|
38
|
+
'screen_recording_uuid': !(0, runtime_1.exists)(json, 'screen_recording_uuid') ? undefined : json['screen_recording_uuid'],
|
|
38
39
|
'sub_id': !(0, runtime_1.exists)(json, 'sub_id') ? undefined : json['sub_id'],
|
|
40
|
+
'ucacid': !(0, runtime_1.exists)(json, 'ucacid') ? undefined : json['ucacid'],
|
|
39
41
|
};
|
|
40
42
|
}
|
|
41
43
|
exports.AffiliateClickFromJSONTyped = AffiliateClickFromJSONTyped;
|
|
@@ -57,7 +59,9 @@ function AffiliateClickToJSON(value) {
|
|
|
57
59
|
'link': (0, AffiliateLink_1.AffiliateLinkToJSON)(value.link),
|
|
58
60
|
'referrer': value.referrer,
|
|
59
61
|
'referrer_query_string': value.referrer_query_string,
|
|
62
|
+
'screen_recording_uuid': value.screen_recording_uuid,
|
|
60
63
|
'sub_id': value.sub_id,
|
|
64
|
+
'ucacid': value.ucacid,
|
|
61
65
|
};
|
|
62
66
|
}
|
|
63
67
|
exports.AffiliateClickToJSON = AffiliateClickToJSON;
|
|
@@ -17,6 +17,12 @@ import { ConversationParticipant } from './ConversationParticipant';
|
|
|
17
17
|
* @interface Conversation
|
|
18
18
|
*/
|
|
19
19
|
export interface Conversation {
|
|
20
|
+
/**
|
|
21
|
+
* The base language iso code for the StoreFront that everything is translated into
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof Conversation
|
|
24
|
+
*/
|
|
25
|
+
base_language_iso_code?: string;
|
|
20
26
|
/**
|
|
21
27
|
*
|
|
22
28
|
* @type {boolean}
|
|
@@ -33,6 +33,7 @@ function ConversationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
+
'base_language_iso_code': !(0, runtime_1.exists)(json, 'base_language_iso_code') ? undefined : json['base_language_iso_code'],
|
|
36
37
|
'closed': !(0, runtime_1.exists)(json, 'closed') ? undefined : json['closed'],
|
|
37
38
|
'conversation_arn': !(0, runtime_1.exists)(json, 'conversation_arn') ? undefined : json['conversation_arn'],
|
|
38
39
|
'conversation_uuid': !(0, runtime_1.exists)(json, 'conversation_uuid') ? undefined : json['conversation_uuid'],
|
|
@@ -60,6 +61,7 @@ function ConversationToJSON(value) {
|
|
|
60
61
|
return null;
|
|
61
62
|
}
|
|
62
63
|
return {
|
|
64
|
+
'base_language_iso_code': value.base_language_iso_code,
|
|
63
65
|
'closed': value.closed,
|
|
64
66
|
'conversation_arn': value.conversation_arn,
|
|
65
67
|
'conversation_uuid': value.conversation_uuid,
|
package/package.json
CHANGED
|
@@ -86,12 +86,24 @@ export interface AffiliateClick {
|
|
|
86
86
|
* @memberof AffiliateClick
|
|
87
87
|
*/
|
|
88
88
|
referrer_query_string?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Screen recording UUID
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof AffiliateClick
|
|
93
|
+
*/
|
|
94
|
+
screen_recording_uuid?: string;
|
|
89
95
|
/**
|
|
90
96
|
* Sub ID value passed on the click
|
|
91
97
|
* @type {string}
|
|
92
98
|
* @memberof AffiliateClick
|
|
93
99
|
*/
|
|
94
100
|
sub_id?: string;
|
|
101
|
+
/**
|
|
102
|
+
* UC Analytics Identifier
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof AffiliateClick
|
|
105
|
+
*/
|
|
106
|
+
ucacid?: string;
|
|
95
107
|
}
|
|
96
108
|
|
|
97
109
|
export function AffiliateClickFromJSON(json: any): AffiliateClick {
|
|
@@ -114,7 +126,9 @@ export function AffiliateClickFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
114
126
|
'link': !exists(json, 'link') ? undefined : AffiliateLinkFromJSON(json['link']),
|
|
115
127
|
'referrer': !exists(json, 'referrer') ? undefined : json['referrer'],
|
|
116
128
|
'referrer_query_string': !exists(json, 'referrer_query_string') ? undefined : json['referrer_query_string'],
|
|
129
|
+
'screen_recording_uuid': !exists(json, 'screen_recording_uuid') ? undefined : json['screen_recording_uuid'],
|
|
117
130
|
'sub_id': !exists(json, 'sub_id') ? undefined : json['sub_id'],
|
|
131
|
+
'ucacid': !exists(json, 'ucacid') ? undefined : json['ucacid'],
|
|
118
132
|
};
|
|
119
133
|
}
|
|
120
134
|
|
|
@@ -137,7 +151,9 @@ export function AffiliateClickToJSON(value?: AffiliateClick | null): any {
|
|
|
137
151
|
'link': AffiliateLinkToJSON(value.link),
|
|
138
152
|
'referrer': value.referrer,
|
|
139
153
|
'referrer_query_string': value.referrer_query_string,
|
|
154
|
+
'screen_recording_uuid': value.screen_recording_uuid,
|
|
140
155
|
'sub_id': value.sub_id,
|
|
156
|
+
'ucacid': value.ucacid,
|
|
141
157
|
};
|
|
142
158
|
}
|
|
143
159
|
|
|
@@ -32,6 +32,12 @@ import {
|
|
|
32
32
|
* @interface Conversation
|
|
33
33
|
*/
|
|
34
34
|
export interface Conversation {
|
|
35
|
+
/**
|
|
36
|
+
* The base language iso code for the StoreFront that everything is translated into
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Conversation
|
|
39
|
+
*/
|
|
40
|
+
base_language_iso_code?: string;
|
|
35
41
|
/**
|
|
36
42
|
*
|
|
37
43
|
* @type {boolean}
|
|
@@ -151,6 +157,7 @@ export function ConversationFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
151
157
|
}
|
|
152
158
|
return {
|
|
153
159
|
|
|
160
|
+
'base_language_iso_code': !exists(json, 'base_language_iso_code') ? undefined : json['base_language_iso_code'],
|
|
154
161
|
'closed': !exists(json, 'closed') ? undefined : json['closed'],
|
|
155
162
|
'conversation_arn': !exists(json, 'conversation_arn') ? undefined : json['conversation_arn'],
|
|
156
163
|
'conversation_uuid': !exists(json, 'conversation_uuid') ? undefined : json['conversation_uuid'],
|
|
@@ -179,6 +186,7 @@ export function ConversationToJSON(value?: Conversation | null): any {
|
|
|
179
186
|
}
|
|
180
187
|
return {
|
|
181
188
|
|
|
189
|
+
'base_language_iso_code': value.base_language_iso_code,
|
|
182
190
|
'closed': value.closed,
|
|
183
191
|
'conversation_arn': value.conversation_arn,
|
|
184
192
|
'conversation_uuid': value.conversation_uuid,
|