ultracart_rest_api_v2_typescript 4.1.221 → 4.1.223
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 +4 -2
- package/dist/models/OauthTokenResponse.d.ts +6 -0
- package/dist/models/OauthTokenResponse.js +2 -0
- package/dist/models/SfvbApprovalCreateRequest.d.ts +2 -0
- package/dist/models/SfvbApprovalCreateRequest.js +2 -0
- package/dist/models/SfvbApprovalParams.d.ts +2 -2
- package/package.json +1 -1
- package/src/models/OauthTokenResponse.ts +8 -0
- package/src/models/SfvbApprovalCreateRequest.ts +2 -0
- package/src/models/SfvbApprovalParams.ts +2 -2
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.223
|
|
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.223 --save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
@@ -84,6 +84,8 @@ Not every change is committed to every SDK.
|
|
|
84
84
|
|
|
85
85
|
| Version | Date | Comments |
|
|
86
86
|
| --: | :-: | --- |
|
|
87
|
+
| 4.1.223 | 11/03/2026 | sfvb internal testing |
|
|
88
|
+
| 4.1.222 | 11/03/2026 | sfvb internal testing |
|
|
87
89
|
| 4.1.221 | 11/02/2026 | sfvb internal testing |
|
|
88
90
|
| 4.1.220 | 11/02/2026 | sfvb internal testing |
|
|
89
91
|
| 4.1.219 | 10/30/2026 | item - field for hsa/fsa eligibility |
|
|
@@ -57,6 +57,12 @@ export interface OauthTokenResponse {
|
|
|
57
57
|
* @memberof OauthTokenResponse
|
|
58
58
|
*/
|
|
59
59
|
refresh_token?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Seconds until the refresh token expires. Returned only by applications that rotate refresh tokens, which return a new refresh token on every refresh.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof OauthTokenResponse
|
|
64
|
+
*/
|
|
65
|
+
refresh_token_expires_in?: string;
|
|
60
66
|
/**
|
|
61
67
|
* The scope of permissions associated with teh access token
|
|
62
68
|
* @type {string}
|
|
@@ -45,6 +45,7 @@ function OauthTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'expires_in': !(0, runtime_1.exists)(json, 'expires_in') ? undefined : json['expires_in'],
|
|
46
46
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
47
47
|
'refresh_token': !(0, runtime_1.exists)(json, 'refresh_token') ? undefined : json['refresh_token'],
|
|
48
|
+
'refresh_token_expires_in': !(0, runtime_1.exists)(json, 'refresh_token_expires_in') ? undefined : json['refresh_token_expires_in'],
|
|
48
49
|
'scope': !(0, runtime_1.exists)(json, 'scope') ? undefined : json['scope'],
|
|
49
50
|
'token_type': !(0, runtime_1.exists)(json, 'token_type') ? undefined : json['token_type'],
|
|
50
51
|
};
|
|
@@ -65,6 +66,7 @@ function OauthTokenResponseToJSON(value) {
|
|
|
65
66
|
'expires_in': value.expires_in,
|
|
66
67
|
'merchant_id': value.merchant_id,
|
|
67
68
|
'refresh_token': value.refresh_token,
|
|
69
|
+
'refresh_token_expires_in': value.refresh_token_expires_in,
|
|
68
70
|
'scope': value.scope,
|
|
69
71
|
'token_type': value.token_type,
|
|
70
72
|
};
|
|
@@ -92,6 +92,8 @@ export declare const SfvbApprovalCreateRequestActionEnum: {
|
|
|
92
92
|
readonly TwilioAccountDelete: "twilio_account.delete";
|
|
93
93
|
readonly SendingDomainDelete: "sending_domain.delete";
|
|
94
94
|
readonly SequenceStepDelete: "sequence_step.delete";
|
|
95
|
+
readonly SequenceStepMove: "sequence_step.move";
|
|
96
|
+
readonly SequenceStepEnablePostcard: "sequence_step.enable_postcard";
|
|
95
97
|
readonly SegmentUpdate: "segment.update";
|
|
96
98
|
};
|
|
97
99
|
export type SfvbApprovalCreateRequestActionEnum = typeof SfvbApprovalCreateRequestActionEnum[keyof typeof SfvbApprovalCreateRequestActionEnum];
|
|
@@ -37,6 +37,8 @@ exports.SfvbApprovalCreateRequestActionEnum = {
|
|
|
37
37
|
TwilioAccountDelete: 'twilio_account.delete',
|
|
38
38
|
SendingDomainDelete: 'sending_domain.delete',
|
|
39
39
|
SequenceStepDelete: 'sequence_step.delete',
|
|
40
|
+
SequenceStepMove: 'sequence_step.move',
|
|
41
|
+
SequenceStepEnablePostcard: 'sequence_step.enable_postcard',
|
|
40
42
|
SegmentUpdate: 'segment.update'
|
|
41
43
|
};
|
|
42
44
|
/**
|
|
@@ -106,7 +106,7 @@ export interface SfvbApprovalParams {
|
|
|
106
106
|
*/
|
|
107
107
|
segment_uuid?: string;
|
|
108
108
|
/**
|
|
109
|
-
* The communication sequence, for sequence_step.delete and sequence_step.
|
|
109
|
+
* The communication sequence, for sequence_step.delete, sequence_step.move and sequence_step.enable_postcard.
|
|
110
110
|
* @type {string}
|
|
111
111
|
* @memberof SfvbApprovalParams
|
|
112
112
|
*/
|
|
@@ -124,7 +124,7 @@ export interface SfvbApprovalParams {
|
|
|
124
124
|
*/
|
|
125
125
|
slot?: string;
|
|
126
126
|
/**
|
|
127
|
-
* The step to remove, for sequence_step.delete,
|
|
127
|
+
* The step to remove, for sequence_step.delete, to move, for sequence_step.move, or to turn on, for sequence_step.enable_postcard.
|
|
128
128
|
* @type {string}
|
|
129
129
|
* @memberof SfvbApprovalParams
|
|
130
130
|
*/
|
package/package.json
CHANGED
|
@@ -61,6 +61,12 @@ export interface OauthTokenResponse {
|
|
|
61
61
|
* @memberof OauthTokenResponse
|
|
62
62
|
*/
|
|
63
63
|
refresh_token?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Seconds until the refresh token expires. Returned only by applications that rotate refresh tokens, which return a new refresh token on every refresh.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof OauthTokenResponse
|
|
68
|
+
*/
|
|
69
|
+
refresh_token_expires_in?: string;
|
|
64
70
|
/**
|
|
65
71
|
* The scope of permissions associated with teh access token
|
|
66
72
|
* @type {string}
|
|
@@ -112,6 +118,7 @@ export function OauthTokenResponseFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
112
118
|
'expires_in': !exists(json, 'expires_in') ? undefined : json['expires_in'],
|
|
113
119
|
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
114
120
|
'refresh_token': !exists(json, 'refresh_token') ? undefined : json['refresh_token'],
|
|
121
|
+
'refresh_token_expires_in': !exists(json, 'refresh_token_expires_in') ? undefined : json['refresh_token_expires_in'],
|
|
115
122
|
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
116
123
|
'token_type': !exists(json, 'token_type') ? undefined : json['token_type'],
|
|
117
124
|
};
|
|
@@ -133,6 +140,7 @@ export function OauthTokenResponseToJSON(value?: OauthTokenResponse | null): any
|
|
|
133
140
|
'expires_in': value.expires_in,
|
|
134
141
|
'merchant_id': value.merchant_id,
|
|
135
142
|
'refresh_token': value.refresh_token,
|
|
143
|
+
'refresh_token_expires_in': value.refresh_token_expires_in,
|
|
136
144
|
'scope': value.scope,
|
|
137
145
|
'token_type': value.token_type,
|
|
138
146
|
};
|
|
@@ -130,6 +130,8 @@ export const SfvbApprovalCreateRequestActionEnum = {
|
|
|
130
130
|
TwilioAccountDelete: 'twilio_account.delete',
|
|
131
131
|
SendingDomainDelete: 'sending_domain.delete',
|
|
132
132
|
SequenceStepDelete: 'sequence_step.delete',
|
|
133
|
+
SequenceStepMove: 'sequence_step.move',
|
|
134
|
+
SequenceStepEnablePostcard: 'sequence_step.enable_postcard',
|
|
133
135
|
SegmentUpdate: 'segment.update'
|
|
134
136
|
} as const;
|
|
135
137
|
export type SfvbApprovalCreateRequestActionEnum = typeof SfvbApprovalCreateRequestActionEnum[keyof typeof SfvbApprovalCreateRequestActionEnum];
|
|
@@ -110,7 +110,7 @@ export interface SfvbApprovalParams {
|
|
|
110
110
|
*/
|
|
111
111
|
segment_uuid?: string;
|
|
112
112
|
/**
|
|
113
|
-
* The communication sequence, for sequence_step.delete and sequence_step.
|
|
113
|
+
* The communication sequence, for sequence_step.delete, sequence_step.move and sequence_step.enable_postcard.
|
|
114
114
|
* @type {string}
|
|
115
115
|
* @memberof SfvbApprovalParams
|
|
116
116
|
*/
|
|
@@ -128,7 +128,7 @@ export interface SfvbApprovalParams {
|
|
|
128
128
|
*/
|
|
129
129
|
slot?: string;
|
|
130
130
|
/**
|
|
131
|
-
* The step to remove, for sequence_step.delete,
|
|
131
|
+
* The step to remove, for sequence_step.delete, to move, for sequence_step.move, or to turn on, for sequence_step.enable_postcard.
|
|
132
132
|
* @type {string}
|
|
133
133
|
* @memberof SfvbApprovalParams
|
|
134
134
|
*/
|