ultracart_rest_api_v2_typescript 4.1.222 → 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
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,7 @@ 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 |
|
|
87
88
|
| 4.1.222 | 11/03/2026 | sfvb internal testing |
|
|
88
89
|
| 4.1.221 | 11/02/2026 | sfvb internal testing |
|
|
89
90
|
| 4.1.220 | 11/02/2026 | sfvb internal testing |
|
|
@@ -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
|
};
|
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
|
};
|