ultracart_rest_api_v2_typescript 4.0.107-RC → 4.0.109-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 +4 -2
- package/dist/models/ConversationEngagementEquationFunction.d.ts +2 -2
- package/dist/models/ConversationEngagementEquationFunction.js +2 -2
- package/dist/models/IntegrationLog.d.ts +6 -0
- package/dist/models/IntegrationLog.js +2 -0
- package/dist/models/IntegrationLogQueryRequest.d.ts +12 -0
- package/dist/models/IntegrationLogQueryRequest.js +4 -0
- package/package.json +1 -1
- package/src/models/ConversationEngagementEquationFunction.ts +2 -2
- package/src/models/IntegrationLog.ts +8 -0
- package/src/models/IntegrationLogQueryRequest.ts +16 -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.109-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.109-RC --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.109-RC | 01/10/2023 | bug fix for typescript enum error due to apost |
|
|
58
|
+
| 4.0.108-RC | 01/10/2023 | integration log tracking of associated auto order oids |
|
|
57
59
|
| 4.0.107-RC | 01/06/2023 | conversation search response object bug fix |
|
|
58
60
|
| 4.0.106-RC | 01/05/2023 | communications - added maximum_enrolled flag on flow object |
|
|
59
61
|
| 4.0.105-RC | 01/03/2023 | conversation events for party leave and join |
|
|
@@ -163,8 +163,8 @@ export type ConversationEngagementEquationFunctionReferringWebsiteLogicEnum = ty
|
|
|
163
163
|
*/
|
|
164
164
|
export declare const ConversationEngagementEquationFunctionTypeEnum: {
|
|
165
165
|
readonly CurrentPageUrl: "current page url";
|
|
166
|
-
readonly CustomersLocation: "
|
|
167
|
-
readonly CustomersBrowsingTime: "
|
|
166
|
+
readonly CustomersLocation: "customers location";
|
|
167
|
+
readonly CustomersBrowsingTime: "customers browsing time";
|
|
168
168
|
readonly NumberOfViewedPages: "number of viewed pages";
|
|
169
169
|
readonly ReferringWebsiteAddress: "referring website address";
|
|
170
170
|
readonly AnyPageFromSession: "any page from session";
|
|
@@ -72,8 +72,8 @@ exports.ConversationEngagementEquationFunctionReferringWebsiteLogicEnum = {
|
|
|
72
72
|
*/
|
|
73
73
|
exports.ConversationEngagementEquationFunctionTypeEnum = {
|
|
74
74
|
CurrentPageUrl: 'current page url',
|
|
75
|
-
CustomersLocation: '
|
|
76
|
-
CustomersBrowsingTime: '
|
|
75
|
+
CustomersLocation: 'customers location',
|
|
76
|
+
CustomersBrowsingTime: 'customers browsing time',
|
|
77
77
|
NumberOfViewedPages: 'number of viewed pages',
|
|
78
78
|
ReferringWebsiteAddress: 'referring website address',
|
|
79
79
|
AnyPageFromSession: 'any page from session'
|
|
@@ -27,6 +27,7 @@ function IntegrationLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
29
|
'action': !(0, runtime_1.exists)(json, 'action') ? undefined : json['action'],
|
|
30
|
+
'auto_order_oids': !(0, runtime_1.exists)(json, 'auto_order_oids') ? undefined : json['auto_order_oids'],
|
|
30
31
|
'direction': !(0, runtime_1.exists)(json, 'direction') ? undefined : json['direction'],
|
|
31
32
|
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
32
33
|
'files': !(0, runtime_1.exists)(json, 'files') ? undefined : (json['files'].map(IntegrationLogFile_1.IntegrationLogFileFromJSON)),
|
|
@@ -56,6 +57,7 @@ function IntegrationLogToJSON(value) {
|
|
|
56
57
|
}
|
|
57
58
|
return {
|
|
58
59
|
'action': value.action,
|
|
60
|
+
'auto_order_oids': value.auto_order_oids,
|
|
59
61
|
'direction': value.direction,
|
|
60
62
|
'email': value.email,
|
|
61
63
|
'files': value.files === undefined ? undefined : (value.files.map(IntegrationLogFile_1.IntegrationLogFileToJSON)),
|
|
@@ -21,6 +21,18 @@ export interface IntegrationLogQueryRequest {
|
|
|
21
21
|
* @memberof IntegrationLogQueryRequest
|
|
22
22
|
*/
|
|
23
23
|
action?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof IntegrationLogQueryRequest
|
|
28
|
+
*/
|
|
29
|
+
auto_order_ids?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<number>}
|
|
33
|
+
* @memberof IntegrationLogQueryRequest
|
|
34
|
+
*/
|
|
35
|
+
auto_order_oids?: Array<number>;
|
|
24
36
|
/**
|
|
25
37
|
*
|
|
26
38
|
* @type {string}
|
|
@@ -25,6 +25,8 @@ function IntegrationLogQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'action': !(0, runtime_1.exists)(json, 'action') ? undefined : json['action'],
|
|
28
|
+
'auto_order_ids': !(0, runtime_1.exists)(json, 'auto_order_ids') ? undefined : json['auto_order_ids'],
|
|
29
|
+
'auto_order_oids': !(0, runtime_1.exists)(json, 'auto_order_oids') ? undefined : json['auto_order_oids'],
|
|
28
30
|
'direction': !(0, runtime_1.exists)(json, 'direction') ? undefined : json['direction'],
|
|
29
31
|
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
30
32
|
'file_names': !(0, runtime_1.exists)(json, 'file_names') ? undefined : json['file_names'],
|
|
@@ -49,6 +51,8 @@ function IntegrationLogQueryRequestToJSON(value) {
|
|
|
49
51
|
}
|
|
50
52
|
return {
|
|
51
53
|
'action': value.action,
|
|
54
|
+
'auto_order_ids': value.auto_order_ids,
|
|
55
|
+
'auto_order_oids': value.auto_order_oids,
|
|
52
56
|
'direction': value.direction,
|
|
53
57
|
'email': value.email,
|
|
54
58
|
'file_names': value.file_names,
|
package/package.json
CHANGED
|
@@ -175,8 +175,8 @@ export type ConversationEngagementEquationFunctionReferringWebsiteLogicEnum = ty
|
|
|
175
175
|
*/
|
|
176
176
|
export const ConversationEngagementEquationFunctionTypeEnum = {
|
|
177
177
|
CurrentPageUrl: 'current page url',
|
|
178
|
-
CustomersLocation: '
|
|
179
|
-
CustomersBrowsingTime: '
|
|
178
|
+
CustomersLocation: 'customers location',
|
|
179
|
+
CustomersBrowsingTime: 'customers browsing time',
|
|
180
180
|
NumberOfViewedPages: 'number of viewed pages',
|
|
181
181
|
ReferringWebsiteAddress: 'referring website address',
|
|
182
182
|
AnyPageFromSession: 'any page from session'
|
|
@@ -38,6 +38,12 @@ export interface IntegrationLog {
|
|
|
38
38
|
* @memberof IntegrationLog
|
|
39
39
|
*/
|
|
40
40
|
action?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<number>}
|
|
44
|
+
* @memberof IntegrationLog
|
|
45
|
+
*/
|
|
46
|
+
auto_order_oids?: Array<number>;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {string}
|
|
@@ -153,6 +159,7 @@ export function IntegrationLogFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
153
159
|
return {
|
|
154
160
|
|
|
155
161
|
'action': !exists(json, 'action') ? undefined : json['action'],
|
|
162
|
+
'auto_order_oids': !exists(json, 'auto_order_oids') ? undefined : json['auto_order_oids'],
|
|
156
163
|
'direction': !exists(json, 'direction') ? undefined : json['direction'],
|
|
157
164
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
158
165
|
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(IntegrationLogFileFromJSON)),
|
|
@@ -183,6 +190,7 @@ export function IntegrationLogToJSON(value?: IntegrationLog | null): any {
|
|
|
183
190
|
return {
|
|
184
191
|
|
|
185
192
|
'action': value.action,
|
|
193
|
+
'auto_order_oids': value.auto_order_oids,
|
|
186
194
|
'direction': value.direction,
|
|
187
195
|
'email': value.email,
|
|
188
196
|
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(IntegrationLogFileToJSON)),
|
|
@@ -25,6 +25,18 @@ export interface IntegrationLogQueryRequest {
|
|
|
25
25
|
* @memberof IntegrationLogQueryRequest
|
|
26
26
|
*/
|
|
27
27
|
action?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof IntegrationLogQueryRequest
|
|
32
|
+
*/
|
|
33
|
+
auto_order_ids?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<number>}
|
|
37
|
+
* @memberof IntegrationLogQueryRequest
|
|
38
|
+
*/
|
|
39
|
+
auto_order_oids?: Array<number>;
|
|
28
40
|
/**
|
|
29
41
|
*
|
|
30
42
|
* @type {string}
|
|
@@ -110,6 +122,8 @@ export function IntegrationLogQueryRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
110
122
|
return {
|
|
111
123
|
|
|
112
124
|
'action': !exists(json, 'action') ? undefined : json['action'],
|
|
125
|
+
'auto_order_ids': !exists(json, 'auto_order_ids') ? undefined : json['auto_order_ids'],
|
|
126
|
+
'auto_order_oids': !exists(json, 'auto_order_oids') ? undefined : json['auto_order_oids'],
|
|
113
127
|
'direction': !exists(json, 'direction') ? undefined : json['direction'],
|
|
114
128
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
115
129
|
'file_names': !exists(json, 'file_names') ? undefined : json['file_names'],
|
|
@@ -135,6 +149,8 @@ export function IntegrationLogQueryRequestToJSON(value?: IntegrationLogQueryRequ
|
|
|
135
149
|
return {
|
|
136
150
|
|
|
137
151
|
'action': value.action,
|
|
152
|
+
'auto_order_ids': value.auto_order_ids,
|
|
153
|
+
'auto_order_oids': value.auto_order_oids,
|
|
138
154
|
'direction': value.direction,
|
|
139
155
|
'email': value.email,
|
|
140
156
|
'file_names': value.file_names,
|