ultracart_rest_api_v2_typescript 3.10.165 → 3.10.166
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/api.ts +109 -2
- package/dist/api.d.ts +107 -2
- package/dist/api.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.10.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.10.166
|
|
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@3.10.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.10.166 --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
|
+
| 3.10.166 | 10/27/2023 | workflow task object model refinement |
|
|
57
58
|
| 3.10.165 | 10/23/2023 | workflow tasks api |
|
|
58
59
|
| 3.10.164 | 10/23/2023 | workflow tasks api |
|
|
59
60
|
| 3.10.163 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
|
package/api.ts
CHANGED
|
@@ -4103,6 +4103,12 @@ export interface CartPayment {
|
|
|
4103
4103
|
* @memberof CartPayment
|
|
4104
4104
|
*/
|
|
4105
4105
|
credit_card?: CartPaymentCreditCard;
|
|
4106
|
+
/**
|
|
4107
|
+
*
|
|
4108
|
+
* @type {CartPaymentHealthBenefitCard}
|
|
4109
|
+
* @memberof CartPayment
|
|
4110
|
+
*/
|
|
4111
|
+
health_benefit_card?: CartPaymentHealthBenefitCard;
|
|
4106
4112
|
/**
|
|
4107
4113
|
* Payment method
|
|
4108
4114
|
* @type {string}
|
|
@@ -4227,6 +4233,50 @@ export interface CartPaymentCreditCard {
|
|
|
4227
4233
|
store_credit_card?: boolean;
|
|
4228
4234
|
}
|
|
4229
4235
|
|
|
4236
|
+
/**
|
|
4237
|
+
*
|
|
4238
|
+
* @export
|
|
4239
|
+
* @interface CartPaymentHealthBenefitCard
|
|
4240
|
+
*/
|
|
4241
|
+
export interface CartPaymentHealthBenefitCard {
|
|
4242
|
+
/**
|
|
4243
|
+
* Health benefit expiration month (1-12)
|
|
4244
|
+
* @type {number}
|
|
4245
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4246
|
+
*/
|
|
4247
|
+
health_benefit_card_expiration_month?: number;
|
|
4248
|
+
/**
|
|
4249
|
+
* Health benefit card expiration year (four digit year)
|
|
4250
|
+
* @type {number}
|
|
4251
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4252
|
+
*/
|
|
4253
|
+
health_benefit_card_expiration_year?: number;
|
|
4254
|
+
/**
|
|
4255
|
+
* Health benefit card number (masked to the last 4)
|
|
4256
|
+
* @type {string}
|
|
4257
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4258
|
+
*/
|
|
4259
|
+
health_benefit_card_number?: string;
|
|
4260
|
+
/**
|
|
4261
|
+
* Hosted field token for the card number
|
|
4262
|
+
* @type {string}
|
|
4263
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4264
|
+
*/
|
|
4265
|
+
health_benefit_card_number_token?: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* Health benefit card verification number (masked)
|
|
4268
|
+
* @type {string}
|
|
4269
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4270
|
+
*/
|
|
4271
|
+
health_benefit_card_verification_number?: string;
|
|
4272
|
+
/**
|
|
4273
|
+
* Hosted field token for the health benefit card verification number
|
|
4274
|
+
* @type {string}
|
|
4275
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4276
|
+
*/
|
|
4277
|
+
health_benefit_card_verification_number_token?: string;
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4230
4280
|
/**
|
|
4231
4281
|
*
|
|
4232
4282
|
* @export
|
|
@@ -31166,6 +31216,12 @@ export interface OrderPayment {
|
|
|
31166
31216
|
* @memberof OrderPayment
|
|
31167
31217
|
*/
|
|
31168
31218
|
echeck?: OrderPaymentECheck;
|
|
31219
|
+
/**
|
|
31220
|
+
*
|
|
31221
|
+
* @type {OrderPaymentHealthBenefitCard}
|
|
31222
|
+
* @memberof OrderPayment
|
|
31223
|
+
*/
|
|
31224
|
+
health_benefit_card?: OrderPaymentHealthBenefitCard;
|
|
31169
31225
|
/**
|
|
31170
31226
|
* True if order has been held for fraud review
|
|
31171
31227
|
* @type {boolean}
|
|
@@ -31291,7 +31347,8 @@ export namespace OrderPayment {
|
|
|
31291
31347
|
Sezzle = <any> 'Sezzle',
|
|
31292
31348
|
Venmo = <any> 'Venmo',
|
|
31293
31349
|
ApplePay = <any> 'Apple Pay',
|
|
31294
|
-
GooglePay = <any> 'Google Pay'
|
|
31350
|
+
GooglePay = <any> 'Google Pay',
|
|
31351
|
+
HealthBenefitCard = <any> 'Health Benefit Card'
|
|
31295
31352
|
}
|
|
31296
31353
|
/**
|
|
31297
31354
|
* @export
|
|
@@ -31559,6 +31616,50 @@ export namespace OrderPaymentECheck {
|
|
|
31559
31616
|
}
|
|
31560
31617
|
}
|
|
31561
31618
|
|
|
31619
|
+
/**
|
|
31620
|
+
*
|
|
31621
|
+
* @export
|
|
31622
|
+
* @interface OrderPaymentHealthBenefitCard
|
|
31623
|
+
*/
|
|
31624
|
+
export interface OrderPaymentHealthBenefitCard {
|
|
31625
|
+
/**
|
|
31626
|
+
* Health benefit card expiration month (1-12)
|
|
31627
|
+
* @type {number}
|
|
31628
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
31629
|
+
*/
|
|
31630
|
+
health_benefit_card_expiration_month?: number;
|
|
31631
|
+
/**
|
|
31632
|
+
* Health benefit card expiration year (Four digit year)
|
|
31633
|
+
* @type {number}
|
|
31634
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
31635
|
+
*/
|
|
31636
|
+
health_benefit_card_expiration_year?: number;
|
|
31637
|
+
/**
|
|
31638
|
+
* Health benefit card number (masked to last 4)
|
|
31639
|
+
* @type {string}
|
|
31640
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
31641
|
+
*/
|
|
31642
|
+
health_benefit_card_number?: string;
|
|
31643
|
+
/**
|
|
31644
|
+
* Health benefit card number token from hosted fields used to update the health benefit card number
|
|
31645
|
+
* @type {string}
|
|
31646
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
31647
|
+
*/
|
|
31648
|
+
health_benefit_card_number_token?: string;
|
|
31649
|
+
/**
|
|
31650
|
+
* True if the health benefit card has been truncated
|
|
31651
|
+
* @type {boolean}
|
|
31652
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
31653
|
+
*/
|
|
31654
|
+
health_benefit_card_number_truncated?: boolean;
|
|
31655
|
+
/**
|
|
31656
|
+
* Health benefit card verification number token from hosted fields, only for import/insert of new orders, completely ignored for updates, and always null/empty for queries
|
|
31657
|
+
* @type {string}
|
|
31658
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
31659
|
+
*/
|
|
31660
|
+
health_benefit_card_verification_number_token?: string;
|
|
31661
|
+
}
|
|
31662
|
+
|
|
31562
31663
|
/**
|
|
31563
31664
|
*
|
|
31564
31665
|
* @export
|
|
@@ -41333,7 +41434,13 @@ export interface WorkflowTasksRequest {
|
|
|
41333
41434
|
* @type {string}
|
|
41334
41435
|
* @memberof WorkflowTasksRequest
|
|
41335
41436
|
*/
|
|
41336
|
-
|
|
41437
|
+
delay_until_dts_begin?: string;
|
|
41438
|
+
/**
|
|
41439
|
+
* Date/time that the workflow task should delay until
|
|
41440
|
+
* @type {string}
|
|
41441
|
+
* @memberof WorkflowTasksRequest
|
|
41442
|
+
*/
|
|
41443
|
+
delay_until_dts_end?: string;
|
|
41337
41444
|
/**
|
|
41338
41445
|
* Date/time that the workflow task is due
|
|
41339
41446
|
* @type {string}
|
package/dist/api.d.ts
CHANGED
|
@@ -4007,6 +4007,12 @@ export interface CartPayment {
|
|
|
4007
4007
|
* @memberof CartPayment
|
|
4008
4008
|
*/
|
|
4009
4009
|
credit_card?: CartPaymentCreditCard;
|
|
4010
|
+
/**
|
|
4011
|
+
*
|
|
4012
|
+
* @type {CartPaymentHealthBenefitCard}
|
|
4013
|
+
* @memberof CartPayment
|
|
4014
|
+
*/
|
|
4015
|
+
health_benefit_card?: CartPaymentHealthBenefitCard;
|
|
4010
4016
|
/**
|
|
4011
4017
|
* Payment method
|
|
4012
4018
|
* @type {string}
|
|
@@ -4126,6 +4132,49 @@ export interface CartPaymentCreditCard {
|
|
|
4126
4132
|
*/
|
|
4127
4133
|
store_credit_card?: boolean;
|
|
4128
4134
|
}
|
|
4135
|
+
/**
|
|
4136
|
+
*
|
|
4137
|
+
* @export
|
|
4138
|
+
* @interface CartPaymentHealthBenefitCard
|
|
4139
|
+
*/
|
|
4140
|
+
export interface CartPaymentHealthBenefitCard {
|
|
4141
|
+
/**
|
|
4142
|
+
* Health benefit expiration month (1-12)
|
|
4143
|
+
* @type {number}
|
|
4144
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4145
|
+
*/
|
|
4146
|
+
health_benefit_card_expiration_month?: number;
|
|
4147
|
+
/**
|
|
4148
|
+
* Health benefit card expiration year (four digit year)
|
|
4149
|
+
* @type {number}
|
|
4150
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4151
|
+
*/
|
|
4152
|
+
health_benefit_card_expiration_year?: number;
|
|
4153
|
+
/**
|
|
4154
|
+
* Health benefit card number (masked to the last 4)
|
|
4155
|
+
* @type {string}
|
|
4156
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4157
|
+
*/
|
|
4158
|
+
health_benefit_card_number?: string;
|
|
4159
|
+
/**
|
|
4160
|
+
* Hosted field token for the card number
|
|
4161
|
+
* @type {string}
|
|
4162
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4163
|
+
*/
|
|
4164
|
+
health_benefit_card_number_token?: string;
|
|
4165
|
+
/**
|
|
4166
|
+
* Health benefit card verification number (masked)
|
|
4167
|
+
* @type {string}
|
|
4168
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4169
|
+
*/
|
|
4170
|
+
health_benefit_card_verification_number?: string;
|
|
4171
|
+
/**
|
|
4172
|
+
* Hosted field token for the health benefit card verification number
|
|
4173
|
+
* @type {string}
|
|
4174
|
+
* @memberof CartPaymentHealthBenefitCard
|
|
4175
|
+
*/
|
|
4176
|
+
health_benefit_card_verification_number_token?: string;
|
|
4177
|
+
}
|
|
4129
4178
|
/**
|
|
4130
4179
|
*
|
|
4131
4180
|
* @export
|
|
@@ -30510,6 +30559,12 @@ export interface OrderPayment {
|
|
|
30510
30559
|
* @memberof OrderPayment
|
|
30511
30560
|
*/
|
|
30512
30561
|
echeck?: OrderPaymentECheck;
|
|
30562
|
+
/**
|
|
30563
|
+
*
|
|
30564
|
+
* @type {OrderPaymentHealthBenefitCard}
|
|
30565
|
+
* @memberof OrderPayment
|
|
30566
|
+
*/
|
|
30567
|
+
health_benefit_card?: OrderPaymentHealthBenefitCard;
|
|
30513
30568
|
/**
|
|
30514
30569
|
* True if order has been held for fraud review
|
|
30515
30570
|
* @type {boolean}
|
|
@@ -30634,7 +30689,8 @@ export declare namespace OrderPayment {
|
|
|
30634
30689
|
Sezzle,
|
|
30635
30690
|
Venmo,
|
|
30636
30691
|
ApplePay,
|
|
30637
|
-
GooglePay
|
|
30692
|
+
GooglePay,
|
|
30693
|
+
HealthBenefitCard
|
|
30638
30694
|
}
|
|
30639
30695
|
/**
|
|
30640
30696
|
* @export
|
|
@@ -30894,6 +30950,49 @@ export declare namespace OrderPaymentECheck {
|
|
|
30894
30950
|
Business
|
|
30895
30951
|
}
|
|
30896
30952
|
}
|
|
30953
|
+
/**
|
|
30954
|
+
*
|
|
30955
|
+
* @export
|
|
30956
|
+
* @interface OrderPaymentHealthBenefitCard
|
|
30957
|
+
*/
|
|
30958
|
+
export interface OrderPaymentHealthBenefitCard {
|
|
30959
|
+
/**
|
|
30960
|
+
* Health benefit card expiration month (1-12)
|
|
30961
|
+
* @type {number}
|
|
30962
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
30963
|
+
*/
|
|
30964
|
+
health_benefit_card_expiration_month?: number;
|
|
30965
|
+
/**
|
|
30966
|
+
* Health benefit card expiration year (Four digit year)
|
|
30967
|
+
* @type {number}
|
|
30968
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
30969
|
+
*/
|
|
30970
|
+
health_benefit_card_expiration_year?: number;
|
|
30971
|
+
/**
|
|
30972
|
+
* Health benefit card number (masked to last 4)
|
|
30973
|
+
* @type {string}
|
|
30974
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
30975
|
+
*/
|
|
30976
|
+
health_benefit_card_number?: string;
|
|
30977
|
+
/**
|
|
30978
|
+
* Health benefit card number token from hosted fields used to update the health benefit card number
|
|
30979
|
+
* @type {string}
|
|
30980
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
30981
|
+
*/
|
|
30982
|
+
health_benefit_card_number_token?: string;
|
|
30983
|
+
/**
|
|
30984
|
+
* True if the health benefit card has been truncated
|
|
30985
|
+
* @type {boolean}
|
|
30986
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
30987
|
+
*/
|
|
30988
|
+
health_benefit_card_number_truncated?: boolean;
|
|
30989
|
+
/**
|
|
30990
|
+
* Health benefit card verification number token from hosted fields, only for import/insert of new orders, completely ignored for updates, and always null/empty for queries
|
|
30991
|
+
* @type {string}
|
|
30992
|
+
* @memberof OrderPaymentHealthBenefitCard
|
|
30993
|
+
*/
|
|
30994
|
+
health_benefit_card_verification_number_token?: string;
|
|
30995
|
+
}
|
|
30897
30996
|
/**
|
|
30898
30997
|
*
|
|
30899
30998
|
* @export
|
|
@@ -40455,7 +40554,13 @@ export interface WorkflowTasksRequest {
|
|
|
40455
40554
|
* @type {string}
|
|
40456
40555
|
* @memberof WorkflowTasksRequest
|
|
40457
40556
|
*/
|
|
40458
|
-
|
|
40557
|
+
delay_until_dts_begin?: string;
|
|
40558
|
+
/**
|
|
40559
|
+
* Date/time that the workflow task should delay until
|
|
40560
|
+
* @type {string}
|
|
40561
|
+
* @memberof WorkflowTasksRequest
|
|
40562
|
+
*/
|
|
40563
|
+
delay_until_dts_end?: string;
|
|
40459
40564
|
/**
|
|
40460
40565
|
* Date/time that the workflow task is due
|
|
40461
40566
|
* @type {string}
|
package/dist/api.js
CHANGED
|
@@ -1193,6 +1193,7 @@ var OrderPayment;
|
|
|
1193
1193
|
PaymentMethodEnum[PaymentMethodEnum["Venmo"] = 'Venmo'] = "Venmo";
|
|
1194
1194
|
PaymentMethodEnum[PaymentMethodEnum["ApplePay"] = 'Apple Pay'] = "ApplePay";
|
|
1195
1195
|
PaymentMethodEnum[PaymentMethodEnum["GooglePay"] = 'Google Pay'] = "GooglePay";
|
|
1196
|
+
PaymentMethodEnum[PaymentMethodEnum["HealthBenefitCard"] = 'Health Benefit Card'] = "HealthBenefitCard";
|
|
1196
1197
|
})(PaymentMethodEnum = OrderPayment.PaymentMethodEnum || (OrderPayment.PaymentMethodEnum = {}));
|
|
1197
1198
|
/**
|
|
1198
1199
|
* @export
|