ultracart_rest_api_v2_typescript 4.1.218 → 4.1.219
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.219
|
|
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.219 --save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
@@ -84,6 +84,7 @@ Not every change is committed to every SDK.
|
|
|
84
84
|
|
|
85
85
|
| Version | Date | Comments |
|
|
86
86
|
| --: | :-: | --- |
|
|
87
|
+
| 4.1.219 | 10/30/2026 | item - field for hsa/fsa eligibility |
|
|
87
88
|
| 4.1.218 | 10/30/2026 | svfb internal testing |
|
|
88
89
|
| 4.1.217 | 10/29/2026 | sfvb internal testing |
|
|
89
90
|
| 4.1.216 | 10/29/2026 | sfvb internal testing |
|
|
@@ -33,6 +33,12 @@ export interface ItemPaymentProcessing {
|
|
|
33
33
|
* @memberof ItemPaymentProcessing
|
|
34
34
|
*/
|
|
35
35
|
credit_card_transaction_type?: string;
|
|
36
|
+
/**
|
|
37
|
+
* HSA/FSA eligibility. eligible_with_lmn means the customer needs a Letter of Medical Necessity. Kept in sync automatically when Truemed is configured. Empty string clears it, null value will not update the field
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ItemPaymentProcessing
|
|
40
|
+
*/
|
|
41
|
+
hsa_fsa_eligibility?: string;
|
|
36
42
|
/**
|
|
37
43
|
* True if no real-time charge should be performed on this item.
|
|
38
44
|
* @type {boolean}
|
|
@@ -35,6 +35,7 @@ function ItemPaymentProcessingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'block_prepaid': !(0, runtime_1.exists)(json, 'block_prepaid') ? undefined : json['block_prepaid'],
|
|
36
36
|
'block_refunds': !(0, runtime_1.exists)(json, 'block_refunds') ? undefined : json['block_refunds'],
|
|
37
37
|
'credit_card_transaction_type': !(0, runtime_1.exists)(json, 'credit_card_transaction_type') ? undefined : json['credit_card_transaction_type'],
|
|
38
|
+
'hsa_fsa_eligibility': !(0, runtime_1.exists)(json, 'hsa_fsa_eligibility') ? undefined : json['hsa_fsa_eligibility'],
|
|
38
39
|
'no_realtime_charge': !(0, runtime_1.exists)(json, 'no_realtime_charge') ? undefined : json['no_realtime_charge'],
|
|
39
40
|
'payment_method_validity': !(0, runtime_1.exists)(json, 'payment_method_validity') ? undefined : json['payment_method_validity'],
|
|
40
41
|
'rotating_transaction_gateway_codes': !(0, runtime_1.exists)(json, 'rotating_transaction_gateway_codes') ? undefined : json['rotating_transaction_gateway_codes'],
|
|
@@ -52,6 +53,7 @@ function ItemPaymentProcessingToJSON(value) {
|
|
|
52
53
|
'block_prepaid': value.block_prepaid,
|
|
53
54
|
'block_refunds': value.block_refunds,
|
|
54
55
|
'credit_card_transaction_type': value.credit_card_transaction_type,
|
|
56
|
+
'hsa_fsa_eligibility': value.hsa_fsa_eligibility,
|
|
55
57
|
'no_realtime_charge': value.no_realtime_charge,
|
|
56
58
|
'payment_method_validity': value.payment_method_validity,
|
|
57
59
|
'rotating_transaction_gateway_codes': value.rotating_transaction_gateway_codes,
|
package/package.json
CHANGED
|
@@ -37,6 +37,12 @@ export interface ItemPaymentProcessing {
|
|
|
37
37
|
* @memberof ItemPaymentProcessing
|
|
38
38
|
*/
|
|
39
39
|
credit_card_transaction_type?: string;
|
|
40
|
+
/**
|
|
41
|
+
* HSA/FSA eligibility. eligible_with_lmn means the customer needs a Letter of Medical Necessity. Kept in sync automatically when Truemed is configured. Empty string clears it, null value will not update the field
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ItemPaymentProcessing
|
|
44
|
+
*/
|
|
45
|
+
hsa_fsa_eligibility?: string;
|
|
40
46
|
/**
|
|
41
47
|
* True if no real-time charge should be performed on this item.
|
|
42
48
|
* @type {boolean}
|
|
@@ -81,6 +87,7 @@ export function ItemPaymentProcessingFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
81
87
|
'block_prepaid': !exists(json, 'block_prepaid') ? undefined : json['block_prepaid'],
|
|
82
88
|
'block_refunds': !exists(json, 'block_refunds') ? undefined : json['block_refunds'],
|
|
83
89
|
'credit_card_transaction_type': !exists(json, 'credit_card_transaction_type') ? undefined : json['credit_card_transaction_type'],
|
|
90
|
+
'hsa_fsa_eligibility': !exists(json, 'hsa_fsa_eligibility') ? undefined : json['hsa_fsa_eligibility'],
|
|
84
91
|
'no_realtime_charge': !exists(json, 'no_realtime_charge') ? undefined : json['no_realtime_charge'],
|
|
85
92
|
'payment_method_validity': !exists(json, 'payment_method_validity') ? undefined : json['payment_method_validity'],
|
|
86
93
|
'rotating_transaction_gateway_codes': !exists(json, 'rotating_transaction_gateway_codes') ? undefined : json['rotating_transaction_gateway_codes'],
|
|
@@ -99,6 +106,7 @@ export function ItemPaymentProcessingToJSON(value?: ItemPaymentProcessing | null
|
|
|
99
106
|
'block_prepaid': value.block_prepaid,
|
|
100
107
|
'block_refunds': value.block_refunds,
|
|
101
108
|
'credit_card_transaction_type': value.credit_card_transaction_type,
|
|
109
|
+
'hsa_fsa_eligibility': value.hsa_fsa_eligibility,
|
|
102
110
|
'no_realtime_charge': value.no_realtime_charge,
|
|
103
111
|
'payment_method_validity': value.payment_method_validity,
|
|
104
112
|
'rotating_transaction_gateway_codes': value.rotating_transaction_gateway_codes,
|