ultracart_rest_api_v2_typescript 4.1.79 → 4.1.80
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 +3 -2
- package/dist/models/CustomerBilling.d.ts +12 -0
- package/dist/models/CustomerBilling.js +4 -0
- package/dist/models/CustomerShipping.d.ts +12 -0
- package/dist/models/CustomerShipping.js +4 -0
- package/package.json +1 -1
- package/src/models/CustomerBilling.ts +16 -0
- package/src/models/CustomerShipping.ts +16 -0
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.80
|
|
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.80 --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.80 | 04/22/2026 | customer - e.164 read only fields on billing/shipping child objects |
|
|
88
89
|
| 4.1.79 | 04/21/2026 | item - one line per unit flag support |
|
|
89
90
|
| 4.1.78 | 04/20/2026 | conversation pbx - objects have context_merchant_id fields to linked account configs |
|
|
90
91
|
| 4.1.77 | 04/17/2026 | conversation - embed oauth methods |
|
|
@@ -63,6 +63,12 @@ export interface CustomerBilling {
|
|
|
63
63
|
* @memberof CustomerBilling
|
|
64
64
|
*/
|
|
65
65
|
day_phone?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Day phone in E.164 format (derived — read only)
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CustomerBilling
|
|
70
|
+
*/
|
|
71
|
+
day_phone_e164?: string;
|
|
66
72
|
/**
|
|
67
73
|
* Default billing
|
|
68
74
|
* @type {boolean}
|
|
@@ -75,6 +81,12 @@ export interface CustomerBilling {
|
|
|
75
81
|
* @memberof CustomerBilling
|
|
76
82
|
*/
|
|
77
83
|
evening_phone?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Evening phone in E.164 format (derived — read only)
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CustomerBilling
|
|
88
|
+
*/
|
|
89
|
+
evening_phone_e164?: string;
|
|
78
90
|
/**
|
|
79
91
|
* First name
|
|
80
92
|
* @type {string}
|
|
@@ -40,8 +40,10 @@ function CustomerBillingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'customer_billing_oid': !(0, runtime_1.exists)(json, 'customer_billing_oid') ? undefined : json['customer_billing_oid'],
|
|
41
41
|
'customer_profile_oid': !(0, runtime_1.exists)(json, 'customer_profile_oid') ? undefined : json['customer_profile_oid'],
|
|
42
42
|
'day_phone': !(0, runtime_1.exists)(json, 'day_phone') ? undefined : json['day_phone'],
|
|
43
|
+
'day_phone_e164': !(0, runtime_1.exists)(json, 'day_phone_e164') ? undefined : json['day_phone_e164'],
|
|
43
44
|
'default_billing': !(0, runtime_1.exists)(json, 'default_billing') ? undefined : json['default_billing'],
|
|
44
45
|
'evening_phone': !(0, runtime_1.exists)(json, 'evening_phone') ? undefined : json['evening_phone'],
|
|
46
|
+
'evening_phone_e164': !(0, runtime_1.exists)(json, 'evening_phone_e164') ? undefined : json['evening_phone_e164'],
|
|
45
47
|
'first_name': !(0, runtime_1.exists)(json, 'first_name') ? undefined : json['first_name'],
|
|
46
48
|
'last_name': !(0, runtime_1.exists)(json, 'last_name') ? undefined : json['last_name'],
|
|
47
49
|
'last_used_dts': !(0, runtime_1.exists)(json, 'last_used_dts') ? undefined : json['last_used_dts'],
|
|
@@ -68,8 +70,10 @@ function CustomerBillingToJSON(value) {
|
|
|
68
70
|
'customer_billing_oid': value.customer_billing_oid,
|
|
69
71
|
'customer_profile_oid': value.customer_profile_oid,
|
|
70
72
|
'day_phone': value.day_phone,
|
|
73
|
+
'day_phone_e164': value.day_phone_e164,
|
|
71
74
|
'default_billing': value.default_billing,
|
|
72
75
|
'evening_phone': value.evening_phone,
|
|
76
|
+
'evening_phone_e164': value.evening_phone_e164,
|
|
73
77
|
'first_name': value.first_name,
|
|
74
78
|
'last_name': value.last_name,
|
|
75
79
|
'last_used_dts': value.last_used_dts,
|
|
@@ -63,6 +63,12 @@ export interface CustomerShipping {
|
|
|
63
63
|
* @memberof CustomerShipping
|
|
64
64
|
*/
|
|
65
65
|
day_phone?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Day phone in E.164 format (derived — read only)
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CustomerShipping
|
|
70
|
+
*/
|
|
71
|
+
day_phone_e164?: string;
|
|
66
72
|
/**
|
|
67
73
|
* Default shipping
|
|
68
74
|
* @type {boolean}
|
|
@@ -75,6 +81,12 @@ export interface CustomerShipping {
|
|
|
75
81
|
* @memberof CustomerShipping
|
|
76
82
|
*/
|
|
77
83
|
evening_phone?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Evening phone in E.164 format (derived — read only)
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CustomerShipping
|
|
88
|
+
*/
|
|
89
|
+
evening_phone_e164?: string;
|
|
78
90
|
/**
|
|
79
91
|
* First name
|
|
80
92
|
* @type {string}
|
|
@@ -40,8 +40,10 @@ function CustomerShippingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'customer_profile_oid': !(0, runtime_1.exists)(json, 'customer_profile_oid') ? undefined : json['customer_profile_oid'],
|
|
41
41
|
'customer_shipping_oid': !(0, runtime_1.exists)(json, 'customer_shipping_oid') ? undefined : json['customer_shipping_oid'],
|
|
42
42
|
'day_phone': !(0, runtime_1.exists)(json, 'day_phone') ? undefined : json['day_phone'],
|
|
43
|
+
'day_phone_e164': !(0, runtime_1.exists)(json, 'day_phone_e164') ? undefined : json['day_phone_e164'],
|
|
43
44
|
'default_shipping': !(0, runtime_1.exists)(json, 'default_shipping') ? undefined : json['default_shipping'],
|
|
44
45
|
'evening_phone': !(0, runtime_1.exists)(json, 'evening_phone') ? undefined : json['evening_phone'],
|
|
46
|
+
'evening_phone_e164': !(0, runtime_1.exists)(json, 'evening_phone_e164') ? undefined : json['evening_phone_e164'],
|
|
45
47
|
'first_name': !(0, runtime_1.exists)(json, 'first_name') ? undefined : json['first_name'],
|
|
46
48
|
'last_name': !(0, runtime_1.exists)(json, 'last_name') ? undefined : json['last_name'],
|
|
47
49
|
'last_used_dts': !(0, runtime_1.exists)(json, 'last_used_dts') ? undefined : json['last_used_dts'],
|
|
@@ -68,8 +70,10 @@ function CustomerShippingToJSON(value) {
|
|
|
68
70
|
'customer_profile_oid': value.customer_profile_oid,
|
|
69
71
|
'customer_shipping_oid': value.customer_shipping_oid,
|
|
70
72
|
'day_phone': value.day_phone,
|
|
73
|
+
'day_phone_e164': value.day_phone_e164,
|
|
71
74
|
'default_shipping': value.default_shipping,
|
|
72
75
|
'evening_phone': value.evening_phone,
|
|
76
|
+
'evening_phone_e164': value.evening_phone_e164,
|
|
73
77
|
'first_name': value.first_name,
|
|
74
78
|
'last_name': value.last_name,
|
|
75
79
|
'last_used_dts': value.last_used_dts,
|
package/package.json
CHANGED
|
@@ -67,6 +67,12 @@ export interface CustomerBilling {
|
|
|
67
67
|
* @memberof CustomerBilling
|
|
68
68
|
*/
|
|
69
69
|
day_phone?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Day phone in E.164 format (derived — read only)
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof CustomerBilling
|
|
74
|
+
*/
|
|
75
|
+
day_phone_e164?: string;
|
|
70
76
|
/**
|
|
71
77
|
* Default billing
|
|
72
78
|
* @type {boolean}
|
|
@@ -79,6 +85,12 @@ export interface CustomerBilling {
|
|
|
79
85
|
* @memberof CustomerBilling
|
|
80
86
|
*/
|
|
81
87
|
evening_phone?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Evening phone in E.164 format (derived — read only)
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof CustomerBilling
|
|
92
|
+
*/
|
|
93
|
+
evening_phone_e164?: string;
|
|
82
94
|
/**
|
|
83
95
|
* First name
|
|
84
96
|
* @type {string}
|
|
@@ -152,8 +164,10 @@ export function CustomerBillingFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
152
164
|
'customer_billing_oid': !exists(json, 'customer_billing_oid') ? undefined : json['customer_billing_oid'],
|
|
153
165
|
'customer_profile_oid': !exists(json, 'customer_profile_oid') ? undefined : json['customer_profile_oid'],
|
|
154
166
|
'day_phone': !exists(json, 'day_phone') ? undefined : json['day_phone'],
|
|
167
|
+
'day_phone_e164': !exists(json, 'day_phone_e164') ? undefined : json['day_phone_e164'],
|
|
155
168
|
'default_billing': !exists(json, 'default_billing') ? undefined : json['default_billing'],
|
|
156
169
|
'evening_phone': !exists(json, 'evening_phone') ? undefined : json['evening_phone'],
|
|
170
|
+
'evening_phone_e164': !exists(json, 'evening_phone_e164') ? undefined : json['evening_phone_e164'],
|
|
157
171
|
'first_name': !exists(json, 'first_name') ? undefined : json['first_name'],
|
|
158
172
|
'last_name': !exists(json, 'last_name') ? undefined : json['last_name'],
|
|
159
173
|
'last_used_dts': !exists(json, 'last_used_dts') ? undefined : json['last_used_dts'],
|
|
@@ -181,8 +195,10 @@ export function CustomerBillingToJSON(value?: CustomerBilling | null): any {
|
|
|
181
195
|
'customer_billing_oid': value.customer_billing_oid,
|
|
182
196
|
'customer_profile_oid': value.customer_profile_oid,
|
|
183
197
|
'day_phone': value.day_phone,
|
|
198
|
+
'day_phone_e164': value.day_phone_e164,
|
|
184
199
|
'default_billing': value.default_billing,
|
|
185
200
|
'evening_phone': value.evening_phone,
|
|
201
|
+
'evening_phone_e164': value.evening_phone_e164,
|
|
186
202
|
'first_name': value.first_name,
|
|
187
203
|
'last_name': value.last_name,
|
|
188
204
|
'last_used_dts': value.last_used_dts,
|
|
@@ -67,6 +67,12 @@ export interface CustomerShipping {
|
|
|
67
67
|
* @memberof CustomerShipping
|
|
68
68
|
*/
|
|
69
69
|
day_phone?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Day phone in E.164 format (derived — read only)
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof CustomerShipping
|
|
74
|
+
*/
|
|
75
|
+
day_phone_e164?: string;
|
|
70
76
|
/**
|
|
71
77
|
* Default shipping
|
|
72
78
|
* @type {boolean}
|
|
@@ -79,6 +85,12 @@ export interface CustomerShipping {
|
|
|
79
85
|
* @memberof CustomerShipping
|
|
80
86
|
*/
|
|
81
87
|
evening_phone?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Evening phone in E.164 format (derived — read only)
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof CustomerShipping
|
|
92
|
+
*/
|
|
93
|
+
evening_phone_e164?: string;
|
|
82
94
|
/**
|
|
83
95
|
* First name
|
|
84
96
|
* @type {string}
|
|
@@ -152,8 +164,10 @@ export function CustomerShippingFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
152
164
|
'customer_profile_oid': !exists(json, 'customer_profile_oid') ? undefined : json['customer_profile_oid'],
|
|
153
165
|
'customer_shipping_oid': !exists(json, 'customer_shipping_oid') ? undefined : json['customer_shipping_oid'],
|
|
154
166
|
'day_phone': !exists(json, 'day_phone') ? undefined : json['day_phone'],
|
|
167
|
+
'day_phone_e164': !exists(json, 'day_phone_e164') ? undefined : json['day_phone_e164'],
|
|
155
168
|
'default_shipping': !exists(json, 'default_shipping') ? undefined : json['default_shipping'],
|
|
156
169
|
'evening_phone': !exists(json, 'evening_phone') ? undefined : json['evening_phone'],
|
|
170
|
+
'evening_phone_e164': !exists(json, 'evening_phone_e164') ? undefined : json['evening_phone_e164'],
|
|
157
171
|
'first_name': !exists(json, 'first_name') ? undefined : json['first_name'],
|
|
158
172
|
'last_name': !exists(json, 'last_name') ? undefined : json['last_name'],
|
|
159
173
|
'last_used_dts': !exists(json, 'last_used_dts') ? undefined : json['last_used_dts'],
|
|
@@ -181,8 +195,10 @@ export function CustomerShippingToJSON(value?: CustomerShipping | null): any {
|
|
|
181
195
|
'customer_profile_oid': value.customer_profile_oid,
|
|
182
196
|
'customer_shipping_oid': value.customer_shipping_oid,
|
|
183
197
|
'day_phone': value.day_phone,
|
|
198
|
+
'day_phone_e164': value.day_phone_e164,
|
|
184
199
|
'default_shipping': value.default_shipping,
|
|
185
200
|
'evening_phone': value.evening_phone,
|
|
201
|
+
'evening_phone_e164': value.evening_phone_e164,
|
|
186
202
|
'first_name': value.first_name,
|
|
187
203
|
'last_name': value.last_name,
|
|
188
204
|
'last_used_dts': value.last_used_dts,
|