ultracart_rest_api_v2_typescript 4.0.78-RC → 4.0.79-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/ConversationWebsocketMessage.d.ts +1 -0
- package/dist/models/ConversationWebsocketMessage.js +2 -1
- package/dist/models/ItemFulfillmentAddon.d.ts +7 -1
- package/dist/models/ItemFulfillmentAddon.js +2 -0
- package/package.json +1 -1
- package/src/models/ConversationWebsocketMessage.ts +2 -1
- package/src/models/ItemFulfillmentAddon.ts +9 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.79-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.79-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.79-RC | 11/09/2022 | conversations - add an enum of event typing |
|
|
57
58
|
| 4.0.78-RC | 11/04/2022 | new coupon type percent based on msrp |
|
|
58
59
|
| 4.0.77-RC | 10/31/2022 | communication bug fix on dup annonation |
|
|
59
60
|
| 4.0.76-RC | 10/31/2022 | communications - addl statistics on EmailStepStat object |
|
|
@@ -121,6 +121,7 @@ export declare const ConversationWebsocketMessageEventTypeEnum: {
|
|
|
121
121
|
readonly Rrweb: "rrweb";
|
|
122
122
|
readonly ParticipantUpdate: "participant update";
|
|
123
123
|
readonly ReadMessage: "read message";
|
|
124
|
+
readonly Typing: "typing";
|
|
124
125
|
};
|
|
125
126
|
export declare type ConversationWebsocketMessageEventTypeEnum = typeof ConversationWebsocketMessageEventTypeEnum[keyof typeof ConversationWebsocketMessageEventTypeEnum];
|
|
126
127
|
/**
|
|
@@ -35,7 +35,8 @@ exports.ConversationWebsocketMessageEventTypeEnum = {
|
|
|
35
35
|
QueueStatusUpdate: 'queue status update',
|
|
36
36
|
Rrweb: 'rrweb',
|
|
37
37
|
ParticipantUpdate: 'participant update',
|
|
38
|
-
ReadMessage: 'read message'
|
|
38
|
+
ReadMessage: 'read message',
|
|
39
|
+
Typing: 'typing'
|
|
39
40
|
};
|
|
40
41
|
/**
|
|
41
42
|
* @export
|
|
@@ -28,7 +28,13 @@ export interface ItemFulfillmentAddon {
|
|
|
28
28
|
*/
|
|
29
29
|
add_item_oid?: number;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Initial Order Only
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ItemFulfillmentAddon
|
|
34
|
+
*/
|
|
35
|
+
initial_order_only?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Once Per Order
|
|
32
38
|
* @type {boolean}
|
|
33
39
|
* @memberof ItemFulfillmentAddon
|
|
34
40
|
*/
|
|
@@ -26,6 +26,7 @@ function ItemFulfillmentAddonFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
return {
|
|
27
27
|
'add_item_id': !(0, runtime_1.exists)(json, 'add_item_id') ? undefined : json['add_item_id'],
|
|
28
28
|
'add_item_oid': !(0, runtime_1.exists)(json, 'add_item_oid') ? undefined : json['add_item_oid'],
|
|
29
|
+
'initial_order_only': !(0, runtime_1.exists)(json, 'initial_order_only') ? undefined : json['initial_order_only'],
|
|
29
30
|
'once_per_order': !(0, runtime_1.exists)(json, 'once_per_order') ? undefined : json['once_per_order'],
|
|
30
31
|
'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
|
|
31
32
|
};
|
|
@@ -41,6 +42,7 @@ function ItemFulfillmentAddonToJSON(value) {
|
|
|
41
42
|
return {
|
|
42
43
|
'add_item_id': value.add_item_id,
|
|
43
44
|
'add_item_oid': value.add_item_oid,
|
|
45
|
+
'initial_order_only': value.initial_order_only,
|
|
44
46
|
'once_per_order': value.once_per_order,
|
|
45
47
|
'quantity': value.quantity,
|
|
46
48
|
};
|
package/package.json
CHANGED
|
@@ -162,7 +162,8 @@ export const ConversationWebsocketMessageEventTypeEnum = {
|
|
|
162
162
|
QueueStatusUpdate: 'queue status update',
|
|
163
163
|
Rrweb: 'rrweb',
|
|
164
164
|
ParticipantUpdate: 'participant update',
|
|
165
|
-
ReadMessage: 'read message'
|
|
165
|
+
ReadMessage: 'read message',
|
|
166
|
+
Typing: 'typing'
|
|
166
167
|
} as const;
|
|
167
168
|
export type ConversationWebsocketMessageEventTypeEnum = typeof ConversationWebsocketMessageEventTypeEnum[keyof typeof ConversationWebsocketMessageEventTypeEnum];
|
|
168
169
|
|
|
@@ -32,7 +32,13 @@ export interface ItemFulfillmentAddon {
|
|
|
32
32
|
*/
|
|
33
33
|
add_item_oid?: number;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Initial Order Only
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof ItemFulfillmentAddon
|
|
38
|
+
*/
|
|
39
|
+
initial_order_only?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Once Per Order
|
|
36
42
|
* @type {boolean}
|
|
37
43
|
* @memberof ItemFulfillmentAddon
|
|
38
44
|
*/
|
|
@@ -57,6 +63,7 @@ export function ItemFulfillmentAddonFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
57
63
|
|
|
58
64
|
'add_item_id': !exists(json, 'add_item_id') ? undefined : json['add_item_id'],
|
|
59
65
|
'add_item_oid': !exists(json, 'add_item_oid') ? undefined : json['add_item_oid'],
|
|
66
|
+
'initial_order_only': !exists(json, 'initial_order_only') ? undefined : json['initial_order_only'],
|
|
60
67
|
'once_per_order': !exists(json, 'once_per_order') ? undefined : json['once_per_order'],
|
|
61
68
|
'quantity': !exists(json, 'quantity') ? undefined : json['quantity'],
|
|
62
69
|
};
|
|
@@ -73,6 +80,7 @@ export function ItemFulfillmentAddonToJSON(value?: ItemFulfillmentAddon | null):
|
|
|
73
80
|
|
|
74
81
|
'add_item_id': value.add_item_id,
|
|
75
82
|
'add_item_oid': value.add_item_oid,
|
|
83
|
+
'initial_order_only': value.initial_order_only,
|
|
76
84
|
'once_per_order': value.once_per_order,
|
|
77
85
|
'quantity': value.quantity,
|
|
78
86
|
};
|