ultracart_rest_api_v2_typescript 4.0.220 → 4.0.222

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,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@4.0.220
1
+ ## ultracart_rest_api_v2_typescript@4.0.222
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.220 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.222 --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.222 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
58
+ | 4.0.221 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
57
59
  | 4.0.220 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
58
60
  | 4.0.219 | 05/15/2024 | conversation pbx - missing fields on agent object |
59
61
  | 4.0.218 | 05/14/2024 | conversation pbx - allowed value constants on the action |
@@ -21,7 +21,7 @@ export interface ConversationPbxTimeBasedMappingConfig {
21
21
  * @type {ConversationPbxTimeBasedMapping}
22
22
  * @memberof ConversationPbxTimeBasedMappingConfig
23
23
  */
24
- _default?: ConversationPbxTimeBasedMapping;
24
+ default_mapping?: ConversationPbxTimeBasedMapping;
25
25
  /**
26
26
  * Mappings
27
27
  * @type {Array<ConversationPbxTimeBasedMapping>}
@@ -25,7 +25,7 @@ function ConversationPbxTimeBasedMappingConfigFromJSONTyped(json, ignoreDiscrimi
25
25
  return json;
26
26
  }
27
27
  return {
28
- '_default': !(0, runtime_1.exists)(json, 'default') ? undefined : (0, ConversationPbxTimeBasedMapping_1.ConversationPbxTimeBasedMappingFromJSON)(json['default']),
28
+ 'default_mapping': !(0, runtime_1.exists)(json, 'default_mapping') ? undefined : (0, ConversationPbxTimeBasedMapping_1.ConversationPbxTimeBasedMappingFromJSON)(json['default_mapping']),
29
29
  'mappings': !(0, runtime_1.exists)(json, 'mappings') ? undefined : (json['mappings'].map(ConversationPbxTimeBasedMapping_1.ConversationPbxTimeBasedMappingFromJSON)),
30
30
  };
31
31
  }
@@ -38,7 +38,7 @@ function ConversationPbxTimeBasedMappingConfigToJSON(value) {
38
38
  return null;
39
39
  }
40
40
  return {
41
- 'default': (0, ConversationPbxTimeBasedMapping_1.ConversationPbxTimeBasedMappingToJSON)(value._default),
41
+ 'default_mapping': (0, ConversationPbxTimeBasedMapping_1.ConversationPbxTimeBasedMappingToJSON)(value.default_mapping),
42
42
  'mappings': value.mappings === undefined ? undefined : (value.mappings.map(ConversationPbxTimeBasedMapping_1.ConversationPbxTimeBasedMappingToJSON)),
43
43
  };
44
44
  }
@@ -144,6 +144,7 @@ export interface OrderPayment {
144
144
  export declare const OrderPaymentPaymentMethodEnum: {
145
145
  readonly Affirm: "Affirm";
146
146
  readonly Amazon: "Amazon";
147
+ readonly AmazonPay: "Amazon Pay";
147
148
  readonly AmazonSc: "Amazon SC";
148
149
  readonly Cash: "Cash";
149
150
  readonly Check: "Check";
@@ -153,6 +154,7 @@ export declare const OrderPaymentPaymentMethodEnum: {
153
154
  readonly ECheck: "eCheck";
154
155
  readonly GoogleShopping: "Google Shopping";
155
156
  readonly Insurance: "Insurance";
157
+ readonly Link: "Link";
156
158
  readonly LoanHero: "LoanHero";
157
159
  readonly MoneyOrder: "Money Order";
158
160
  readonly PayPal: "PayPal";
@@ -29,6 +29,7 @@ var OrderPaymentTransaction_1 = require("./OrderPaymentTransaction");
29
29
  exports.OrderPaymentPaymentMethodEnum = {
30
30
  Affirm: 'Affirm',
31
31
  Amazon: 'Amazon',
32
+ AmazonPay: 'Amazon Pay',
32
33
  AmazonSc: 'Amazon SC',
33
34
  Cash: 'Cash',
34
35
  Check: 'Check',
@@ -38,6 +39,7 @@ exports.OrderPaymentPaymentMethodEnum = {
38
39
  ECheck: 'eCheck',
39
40
  GoogleShopping: 'Google Shopping',
40
41
  Insurance: 'Insurance',
42
+ Link: 'Link',
41
43
  LoanHero: 'LoanHero',
42
44
  MoneyOrder: 'Money Order',
43
45
  PayPal: 'PayPal',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.220",
3
+ "version": "4.0.222",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -31,7 +31,7 @@ export interface ConversationPbxTimeBasedMappingConfig {
31
31
  * @type {ConversationPbxTimeBasedMapping}
32
32
  * @memberof ConversationPbxTimeBasedMappingConfig
33
33
  */
34
- _default?: ConversationPbxTimeBasedMapping;
34
+ default_mapping?: ConversationPbxTimeBasedMapping;
35
35
  /**
36
36
  * Mappings
37
37
  * @type {Array<ConversationPbxTimeBasedMapping>}
@@ -50,7 +50,7 @@ export function ConversationPbxTimeBasedMappingConfigFromJSONTyped(json: any, ig
50
50
  }
51
51
  return {
52
52
 
53
- '_default': !exists(json, 'default') ? undefined : ConversationPbxTimeBasedMappingFromJSON(json['default']),
53
+ 'default_mapping': !exists(json, 'default_mapping') ? undefined : ConversationPbxTimeBasedMappingFromJSON(json['default_mapping']),
54
54
  'mappings': !exists(json, 'mappings') ? undefined : ((json['mappings'] as Array<any>).map(ConversationPbxTimeBasedMappingFromJSON)),
55
55
  };
56
56
  }
@@ -64,7 +64,7 @@ export function ConversationPbxTimeBasedMappingConfigToJSON(value?: Conversation
64
64
  }
65
65
  return {
66
66
 
67
- 'default': ConversationPbxTimeBasedMappingToJSON(value._default),
67
+ 'default_mapping': ConversationPbxTimeBasedMappingToJSON(value.default_mapping),
68
68
  'mappings': value.mappings === undefined ? undefined : ((value.mappings as Array<any>).map(ConversationPbxTimeBasedMappingToJSON)),
69
69
  };
70
70
  }
@@ -191,6 +191,7 @@ export interface OrderPayment {
191
191
  export const OrderPaymentPaymentMethodEnum = {
192
192
  Affirm: 'Affirm',
193
193
  Amazon: 'Amazon',
194
+ AmazonPay: 'Amazon Pay',
194
195
  AmazonSc: 'Amazon SC',
195
196
  Cash: 'Cash',
196
197
  Check: 'Check',
@@ -200,6 +201,7 @@ export const OrderPaymentPaymentMethodEnum = {
200
201
  ECheck: 'eCheck',
201
202
  GoogleShopping: 'Google Shopping',
202
203
  Insurance: 'Insurance',
204
+ Link: 'Link',
203
205
  LoanHero: 'LoanHero',
204
206
  MoneyOrder: 'Money Order',
205
207
  PayPal: 'PayPal',