ultracart_rest_api_v2_typescript 4.0.124-RC → 4.0.126-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/ConversationMessage.d.ts +1 -0
- package/dist/models/ConversationMessage.js +2 -1
- package/dist/models/ConversationWebsocketMessage.d.ts +1 -1
- package/dist/models/ConversationWebsocketMessage.js +1 -1
- package/dist/models/PricingTier.d.ts +6 -0
- package/dist/models/PricingTier.js +2 -0
- package/package.json +1 -1
- package/src/models/ConversationMessage.ts +2 -1
- package/src/models/ConversationWebsocketMessage.ts +1 -1
- package/src/models/PricingTier.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.126-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.126-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.126-RC | 01/26/2023 | typo in ConversationWebsocketMessage |
|
|
58
|
+
| 4.0.125-RC | 01/26/2023 | conversation - added message type of engagement prompt |
|
|
57
59
|
| 4.0.124-RC | 01/25/2023 | convo event for engage customer |
|
|
58
60
|
| 4.0.123-RC | 01/25/2023 | order api method generateInvoice |
|
|
59
61
|
| 4.0.122-RC | 01/24/2023 | auto order - cancel minimum and change balance options |
|
|
@@ -114,6 +114,7 @@ export interface ConversationMessage {
|
|
|
114
114
|
export declare const ConversationMessageTypeEnum: {
|
|
115
115
|
readonly Message: "message";
|
|
116
116
|
readonly Notice: "notice";
|
|
117
|
+
readonly EngagementPrompt: "engagement prompt";
|
|
117
118
|
};
|
|
118
119
|
export type ConversationMessageTypeEnum = typeof ConversationMessageTypeEnum[keyof typeof ConversationMessageTypeEnum];
|
|
119
120
|
export declare function ConversationMessageFromJSON(json: any): ConversationMessage;
|
|
@@ -22,7 +22,8 @@ var ConversationMessageTransportStatus_1 = require("./ConversationMessageTranspo
|
|
|
22
22
|
*/
|
|
23
23
|
exports.ConversationMessageTypeEnum = {
|
|
24
24
|
Message: 'message',
|
|
25
|
-
Notice: 'notice'
|
|
25
|
+
Notice: 'notice',
|
|
26
|
+
EngagementPrompt: 'engagement prompt'
|
|
26
27
|
};
|
|
27
28
|
function ConversationMessageFromJSON(json) {
|
|
28
29
|
return ConversationMessageFromJSONTyped(json, false);
|
|
@@ -167,7 +167,7 @@ export declare const ConversationWebsocketMessageEventTypeEnum: {
|
|
|
167
167
|
readonly Rrweb: "rrweb";
|
|
168
168
|
readonly ParticipantUpdate: "participant update";
|
|
169
169
|
readonly ParticipantJoin: "participant join";
|
|
170
|
-
readonly
|
|
170
|
+
readonly ParticipantLeft: "participant left";
|
|
171
171
|
readonly ReadMessage: "read message";
|
|
172
172
|
readonly Typing: "typing";
|
|
173
173
|
readonly AddCoupon: "add coupon";
|
|
@@ -40,7 +40,7 @@ exports.ConversationWebsocketMessageEventTypeEnum = {
|
|
|
40
40
|
Rrweb: 'rrweb',
|
|
41
41
|
ParticipantUpdate: 'participant update',
|
|
42
42
|
ParticipantJoin: 'participant join',
|
|
43
|
-
|
|
43
|
+
ParticipantLeft: 'participant left',
|
|
44
44
|
ReadMessage: 'read message',
|
|
45
45
|
Typing: 'typing',
|
|
46
46
|
AddCoupon: 'add coupon',
|
|
@@ -94,6 +94,12 @@ export interface PricingTier {
|
|
|
94
94
|
* @memberof PricingTier
|
|
95
95
|
*/
|
|
96
96
|
exclude_from_free_promotion?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Exempt from Loyalty Rewards
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof PricingTier
|
|
101
|
+
*/
|
|
102
|
+
exempt_loyalty_rewards?: boolean;
|
|
97
103
|
/**
|
|
98
104
|
* Exempt shipping handling charge
|
|
99
105
|
* @type {boolean}
|
|
@@ -38,6 +38,7 @@ function PricingTierFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'default_tier': !(0, runtime_1.exists)(json, 'default_tier') ? undefined : json['default_tier'],
|
|
39
39
|
'display_on_wholesale_signup': !(0, runtime_1.exists)(json, 'display_on_wholesale_signup') ? undefined : json['display_on_wholesale_signup'],
|
|
40
40
|
'exclude_from_free_promotion': !(0, runtime_1.exists)(json, 'exclude_from_free_promotion') ? undefined : json['exclude_from_free_promotion'],
|
|
41
|
+
'exempt_loyalty_rewards': !(0, runtime_1.exists)(json, 'exempt_loyalty_rewards') ? undefined : json['exempt_loyalty_rewards'],
|
|
41
42
|
'exempt_shipping_handling_charge': !(0, runtime_1.exists)(json, 'exempt_shipping_handling_charge') ? undefined : json['exempt_shipping_handling_charge'],
|
|
42
43
|
'free_shipping': !(0, runtime_1.exists)(json, 'free_shipping') ? undefined : json['free_shipping'],
|
|
43
44
|
'free_shipping_minimum': !(0, runtime_1.exists)(json, 'free_shipping_minimum') ? undefined : json['free_shipping_minimum'],
|
|
@@ -80,6 +81,7 @@ function PricingTierToJSON(value) {
|
|
|
80
81
|
'default_tier': value.default_tier,
|
|
81
82
|
'display_on_wholesale_signup': value.display_on_wholesale_signup,
|
|
82
83
|
'exclude_from_free_promotion': value.exclude_from_free_promotion,
|
|
84
|
+
'exempt_loyalty_rewards': value.exempt_loyalty_rewards,
|
|
83
85
|
'exempt_shipping_handling_charge': value.exempt_shipping_handling_charge,
|
|
84
86
|
'free_shipping': value.free_shipping,
|
|
85
87
|
'free_shipping_minimum': value.free_shipping_minimum,
|
package/package.json
CHANGED
|
@@ -130,7 +130,8 @@ export interface ConversationMessage {
|
|
|
130
130
|
*/
|
|
131
131
|
export const ConversationMessageTypeEnum = {
|
|
132
132
|
Message: 'message',
|
|
133
|
-
Notice: 'notice'
|
|
133
|
+
Notice: 'notice',
|
|
134
|
+
EngagementPrompt: 'engagement prompt'
|
|
134
135
|
} as const;
|
|
135
136
|
export type ConversationMessageTypeEnum = typeof ConversationMessageTypeEnum[keyof typeof ConversationMessageTypeEnum];
|
|
136
137
|
|
|
@@ -229,7 +229,7 @@ export const ConversationWebsocketMessageEventTypeEnum = {
|
|
|
229
229
|
Rrweb: 'rrweb',
|
|
230
230
|
ParticipantUpdate: 'participant update',
|
|
231
231
|
ParticipantJoin: 'participant join',
|
|
232
|
-
|
|
232
|
+
ParticipantLeft: 'participant left',
|
|
233
233
|
ReadMessage: 'read message',
|
|
234
234
|
Typing: 'typing',
|
|
235
235
|
AddCoupon: 'add coupon',
|
|
@@ -104,6 +104,12 @@ export interface PricingTier {
|
|
|
104
104
|
* @memberof PricingTier
|
|
105
105
|
*/
|
|
106
106
|
exclude_from_free_promotion?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Exempt from Loyalty Rewards
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof PricingTier
|
|
111
|
+
*/
|
|
112
|
+
exempt_loyalty_rewards?: boolean;
|
|
107
113
|
/**
|
|
108
114
|
* Exempt shipping handling charge
|
|
109
115
|
* @type {boolean}
|
|
@@ -237,6 +243,7 @@ export function PricingTierFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
237
243
|
'default_tier': !exists(json, 'default_tier') ? undefined : json['default_tier'],
|
|
238
244
|
'display_on_wholesale_signup': !exists(json, 'display_on_wholesale_signup') ? undefined : json['display_on_wholesale_signup'],
|
|
239
245
|
'exclude_from_free_promotion': !exists(json, 'exclude_from_free_promotion') ? undefined : json['exclude_from_free_promotion'],
|
|
246
|
+
'exempt_loyalty_rewards': !exists(json, 'exempt_loyalty_rewards') ? undefined : json['exempt_loyalty_rewards'],
|
|
240
247
|
'exempt_shipping_handling_charge': !exists(json, 'exempt_shipping_handling_charge') ? undefined : json['exempt_shipping_handling_charge'],
|
|
241
248
|
'free_shipping': !exists(json, 'free_shipping') ? undefined : json['free_shipping'],
|
|
242
249
|
'free_shipping_minimum': !exists(json, 'free_shipping_minimum') ? undefined : json['free_shipping_minimum'],
|
|
@@ -280,6 +287,7 @@ export function PricingTierToJSON(value?: PricingTier | null): any {
|
|
|
280
287
|
'default_tier': value.default_tier,
|
|
281
288
|
'display_on_wholesale_signup': value.display_on_wholesale_signup,
|
|
282
289
|
'exclude_from_free_promotion': value.exclude_from_free_promotion,
|
|
290
|
+
'exempt_loyalty_rewards': value.exempt_loyalty_rewards,
|
|
283
291
|
'exempt_shipping_handling_charge': value.exempt_shipping_handling_charge,
|
|
284
292
|
'free_shipping': value.free_shipping,
|
|
285
293
|
'free_shipping_minimum': value.free_shipping_minimum,
|