ultracart_rest_api_v2_typescript 4.0.221 → 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.221
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.221 --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,7 @@ 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 |
57
58
  | 4.0.221 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
58
59
  | 4.0.220 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
59
60
  | 4.0.219 | 05/15/2024 | conversation pbx - missing fields on agent object |
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.221",
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
  }