ultracart_rest_api_v2_typescript 4.1.66 → 4.1.67
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,12 +1,12 @@
|
|
|
1
1
|
# UltraCart Typescript SDK
|
|
2
|
-
## ultracart_rest_api_v2_typescript@4.1.
|
|
2
|
+
## ultracart_rest_api_v2_typescript@4.1.67
|
|
3
3
|
|
|
4
4
|
Every API method call has a sample for every language SDK. See https://github.com/UltraCart/sdk_samples
|
|
5
5
|
|
|
6
6
|
Installation
|
|
7
7
|
|
|
8
8
|
```
|
|
9
|
-
npm install ultracart_rest_api_v2_typescript@4.1.
|
|
9
|
+
npm install ultracart_rest_api_v2_typescript@4.1.67 --save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
@@ -85,6 +85,7 @@ Not every change is committed to every SDK.
|
|
|
85
85
|
|
|
86
86
|
| Version | Date | Comments |
|
|
87
87
|
| --: | :-: | --- |
|
|
88
|
+
| 4.1.67 | 02/24/2026 | customer activity - sms and sms_stop fields added |
|
|
88
89
|
| 4.1.66 | 02/18/2026 | conversations - agent auth customer_profile flag |
|
|
89
90
|
| 4.1.65 | 02/16/2026 | item - include variant pricing in the response |
|
|
90
91
|
| 4.1.64 | 02/16/2026 | conversation - fix pbx call transcript segment speaker enum for leading space |
|
|
@@ -322,7 +322,7 @@ export interface Customer {
|
|
|
322
322
|
*/
|
|
323
323
|
quotes_summary?: CustomerQuotesSummary;
|
|
324
324
|
/**
|
|
325
|
-
* Referral Source
|
|
325
|
+
* Referral Source specified on the wholesale customer signup form. No other meaning than that signup flow.
|
|
326
326
|
* @type {string}
|
|
327
327
|
* @memberof Customer
|
|
328
328
|
*/
|
|
@@ -55,6 +55,18 @@ export interface CustomerActivity {
|
|
|
55
55
|
* @memberof CustomerActivity
|
|
56
56
|
*/
|
|
57
57
|
properties_list?: Array<Property>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof CustomerActivity
|
|
62
|
+
*/
|
|
63
|
+
sms?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof CustomerActivity
|
|
68
|
+
*/
|
|
69
|
+
sms_stop?: boolean;
|
|
58
70
|
/**
|
|
59
71
|
*
|
|
60
72
|
* @type {boolean}
|
|
@@ -42,6 +42,8 @@ function CustomerActivityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'memberships': !(0, runtime_1.exists)(json, 'memberships') ? undefined : (json['memberships'].map(ListSegmentMembership_1.ListSegmentMembershipFromJSON)),
|
|
43
43
|
'metrics': !(0, runtime_1.exists)(json, 'metrics') ? undefined : (json['metrics'].map(Metric_1.MetricFromJSON)),
|
|
44
44
|
'properties_list': !(0, runtime_1.exists)(json, 'properties_list') ? undefined : (json['properties_list'].map(Property_1.PropertyFromJSON)),
|
|
45
|
+
'sms': !(0, runtime_1.exists)(json, 'sms') ? undefined : json['sms'],
|
|
46
|
+
'sms_stop': !(0, runtime_1.exists)(json, 'sms_stop') ? undefined : json['sms_stop'],
|
|
45
47
|
'spam_complaint': !(0, runtime_1.exists)(json, 'spam_complaint') ? undefined : json['spam_complaint'],
|
|
46
48
|
'spam_complaint_dts': !(0, runtime_1.exists)(json, 'spam_complaint_dts') ? undefined : json['spam_complaint_dts'],
|
|
47
49
|
};
|
|
@@ -61,6 +63,8 @@ function CustomerActivityToJSON(value) {
|
|
|
61
63
|
'memberships': value.memberships === undefined ? undefined : (value.memberships.map(ListSegmentMembership_1.ListSegmentMembershipToJSON)),
|
|
62
64
|
'metrics': value.metrics === undefined ? undefined : (value.metrics.map(Metric_1.MetricToJSON)),
|
|
63
65
|
'properties_list': value.properties_list === undefined ? undefined : (value.properties_list.map(Property_1.PropertyToJSON)),
|
|
66
|
+
'sms': value.sms,
|
|
67
|
+
'sms_stop': value.sms_stop,
|
|
64
68
|
'spam_complaint': value.spam_complaint,
|
|
65
69
|
'spam_complaint_dts': value.spam_complaint_dts,
|
|
66
70
|
};
|
package/package.json
CHANGED
package/src/models/Customer.ts
CHANGED
|
@@ -417,7 +417,7 @@ export interface Customer {
|
|
|
417
417
|
*/
|
|
418
418
|
quotes_summary?: CustomerQuotesSummary;
|
|
419
419
|
/**
|
|
420
|
-
* Referral Source
|
|
420
|
+
* Referral Source specified on the wholesale customer signup form. No other meaning than that signup flow.
|
|
421
421
|
* @type {string}
|
|
422
422
|
* @memberof Customer
|
|
423
423
|
*/
|
|
@@ -80,6 +80,18 @@ export interface CustomerActivity {
|
|
|
80
80
|
* @memberof CustomerActivity
|
|
81
81
|
*/
|
|
82
82
|
properties_list?: Array<Property>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof CustomerActivity
|
|
87
|
+
*/
|
|
88
|
+
sms?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof CustomerActivity
|
|
93
|
+
*/
|
|
94
|
+
sms_stop?: boolean;
|
|
83
95
|
/**
|
|
84
96
|
*
|
|
85
97
|
* @type {boolean}
|
|
@@ -121,6 +133,8 @@ export function CustomerActivityFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
121
133
|
'memberships': !exists(json, 'memberships') ? undefined : ((json['memberships'] as Array<any>).map(ListSegmentMembershipFromJSON)),
|
|
122
134
|
'metrics': !exists(json, 'metrics') ? undefined : ((json['metrics'] as Array<any>).map(MetricFromJSON)),
|
|
123
135
|
'properties_list': !exists(json, 'properties_list') ? undefined : ((json['properties_list'] as Array<any>).map(PropertyFromJSON)),
|
|
136
|
+
'sms': !exists(json, 'sms') ? undefined : json['sms'],
|
|
137
|
+
'sms_stop': !exists(json, 'sms_stop') ? undefined : json['sms_stop'],
|
|
124
138
|
'spam_complaint': !exists(json, 'spam_complaint') ? undefined : json['spam_complaint'],
|
|
125
139
|
'spam_complaint_dts': !exists(json, 'spam_complaint_dts') ? undefined : json['spam_complaint_dts'],
|
|
126
140
|
};
|
|
@@ -141,6 +155,8 @@ export function CustomerActivityToJSON(value?: CustomerActivity | null): any {
|
|
|
141
155
|
'memberships': value.memberships === undefined ? undefined : ((value.memberships as Array<any>).map(ListSegmentMembershipToJSON)),
|
|
142
156
|
'metrics': value.metrics === undefined ? undefined : ((value.metrics as Array<any>).map(MetricToJSON)),
|
|
143
157
|
'properties_list': value.properties_list === undefined ? undefined : ((value.properties_list as Array<any>).map(PropertyToJSON)),
|
|
158
|
+
'sms': value.sms,
|
|
159
|
+
'sms_stop': value.sms_stop,
|
|
144
160
|
'spam_complaint': value.spam_complaint,
|
|
145
161
|
'spam_complaint_dts': value.spam_complaint_dts,
|
|
146
162
|
};
|