ultracart_rest_api_v2_typescript 4.0.136 → 4.0.137

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.136
1
+ ## ultracart_rest_api_v2_typescript@4.0.137
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.136 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.137 --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.137 | 02/22/2023 | convo - customer initiated flag on engagement |
57
58
  | 4.0.136 | 02/20/2023 | refund reasons |
58
59
  | 4.0.135 | 02/17/2023 | convo api - smsUnsubscribeConversation method |
59
60
  | 4.0.134 | 02/15/2023 | added auto order sorting by next_shipment_dts |
@@ -34,6 +34,12 @@ export interface ConversationEngagement {
34
34
  * @memberof ConversationEngagement
35
35
  */
36
36
  customer_greeting?: string;
37
+ /**
38
+ *
39
+ * @type {boolean}
40
+ * @memberof ConversationEngagement
41
+ */
42
+ customer_initiated?: boolean;
37
43
  /**
38
44
  *
39
45
  * @type {Array<number>}
@@ -36,6 +36,7 @@ function ConversationEngagementFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'active': !(0, runtime_1.exists)(json, 'active') ? undefined : json['active'],
37
37
  'conversation_engagement_oid': !(0, runtime_1.exists)(json, 'conversation_engagement_oid') ? undefined : json['conversation_engagement_oid'],
38
38
  'customer_greeting': !(0, runtime_1.exists)(json, 'customer_greeting') ? undefined : json['customer_greeting'],
39
+ 'customer_initiated': !(0, runtime_1.exists)(json, 'customer_initiated') ? undefined : json['customer_initiated'],
39
40
  'department_oids': !(0, runtime_1.exists)(json, 'department_oids') ? undefined : json['department_oids'],
40
41
  'engagement_name': !(0, runtime_1.exists)(json, 'engagement_name') ? undefined : json['engagement_name'],
41
42
  'equation': !(0, runtime_1.exists)(json, 'equation') ? undefined : (0, ConversationEngagementEquation_1.ConversationEngagementEquationFromJSON)(json['equation']),
@@ -55,6 +56,7 @@ function ConversationEngagementToJSON(value) {
55
56
  'active': value.active,
56
57
  'conversation_engagement_oid': value.conversation_engagement_oid,
57
58
  'customer_greeting': value.customer_greeting,
59
+ 'customer_initiated': value.customer_initiated,
58
60
  'department_oids': value.department_oids,
59
61
  'engagement_name': value.engagement_name,
60
62
  'equation': (0, ConversationEngagementEquation_1.ConversationEngagementEquationToJSON)(value.equation),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.136",
3
+ "version": "4.0.137",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -44,6 +44,12 @@ export interface ConversationEngagement {
44
44
  * @memberof ConversationEngagement
45
45
  */
46
46
  customer_greeting?: string;
47
+ /**
48
+ *
49
+ * @type {boolean}
50
+ * @memberof ConversationEngagement
51
+ */
52
+ customer_initiated?: boolean;
47
53
  /**
48
54
  *
49
55
  * @type {Array<number>}
@@ -101,6 +107,7 @@ export function ConversationEngagementFromJSONTyped(json: any, ignoreDiscriminat
101
107
  'active': !exists(json, 'active') ? undefined : json['active'],
102
108
  'conversation_engagement_oid': !exists(json, 'conversation_engagement_oid') ? undefined : json['conversation_engagement_oid'],
103
109
  'customer_greeting': !exists(json, 'customer_greeting') ? undefined : json['customer_greeting'],
110
+ 'customer_initiated': !exists(json, 'customer_initiated') ? undefined : json['customer_initiated'],
104
111
  'department_oids': !exists(json, 'department_oids') ? undefined : json['department_oids'],
105
112
  'engagement_name': !exists(json, 'engagement_name') ? undefined : json['engagement_name'],
106
113
  'equation': !exists(json, 'equation') ? undefined : ConversationEngagementEquationFromJSON(json['equation']),
@@ -121,6 +128,7 @@ export function ConversationEngagementToJSON(value?: ConversationEngagement | nu
121
128
  'active': value.active,
122
129
  'conversation_engagement_oid': value.conversation_engagement_oid,
123
130
  'customer_greeting': value.customer_greeting,
131
+ 'customer_initiated': value.customer_initiated,
124
132
  'department_oids': value.department_oids,
125
133
  'engagement_name': value.engagement_name,
126
134
  'equation': ConversationEngagementEquationToJSON(value.equation),