ultracart_rest_api_v2_typescript 4.0.226 → 4.0.227
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/apis/ItemApi.d.ts +8 -8
- package/dist/apis/ItemApi.js +4 -4
- package/dist/models/ConversationPbxPhoneNumber.d.ts +1 -1
- package/dist/models/ConversationPbxPhoneNumber.js +2 -2
- package/dist/models/ItemAutoOrderStep.d.ts +2 -2
- package/package.json +1 -1
- package/src/apis/ItemApi.ts +8 -8
- package/src/models/ConversationPbxPhoneNumber.ts +3 -3
- package/src/models/ItemAutoOrderStep.ts +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.227
|
|
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@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.227 --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
|
+
| 4.0.227 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
|
|
57
58
|
| 4.0.226 | 05/31/2024 | ItemApi.getInventorySnapshot method |
|
|
58
59
|
| 4.0.225 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
|
|
59
60
|
| 4.0.224 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
|
package/dist/apis/ItemApi.d.ts
CHANGED
|
@@ -386,16 +386,16 @@ export interface ItemApiInterface {
|
|
|
386
386
|
*/
|
|
387
387
|
insertUpdateItemContentAttribute(requestParameters: InsertUpdateItemContentAttributeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
388
388
|
/**
|
|
389
|
-
*
|
|
390
|
-
* @summary Retrieve a list of item inventories
|
|
389
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
390
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
391
391
|
* @param {*} [options] Override http request option.
|
|
392
392
|
* @throws {RequiredError}
|
|
393
393
|
* @memberof ItemApiInterface
|
|
394
394
|
*/
|
|
395
395
|
restItemInventorySnapshotResponseRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ItemInventorySnapshotResponse>>;
|
|
396
396
|
/**
|
|
397
|
-
*
|
|
398
|
-
* Retrieve a list of item inventories
|
|
397
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
398
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
399
399
|
*/
|
|
400
400
|
restItemInventorySnapshotResponse(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ItemInventorySnapshotResponse>;
|
|
401
401
|
/**
|
|
@@ -653,13 +653,13 @@ export declare class ItemApi extends runtime.BaseAPI implements ItemApiInterface
|
|
|
653
653
|
*/
|
|
654
654
|
insertUpdateItemContentAttribute(requestParameters: InsertUpdateItemContentAttributeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
655
655
|
/**
|
|
656
|
-
*
|
|
657
|
-
* Retrieve a list of item inventories
|
|
656
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
657
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
658
658
|
*/
|
|
659
659
|
restItemInventorySnapshotResponseRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ItemInventorySnapshotResponse>>;
|
|
660
660
|
/**
|
|
661
|
-
*
|
|
662
|
-
* Retrieve a list of item inventories
|
|
661
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
662
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
663
663
|
*/
|
|
664
664
|
restItemInventorySnapshotResponse(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ItemInventorySnapshotResponse>;
|
|
665
665
|
/**
|
package/dist/apis/ItemApi.js
CHANGED
|
@@ -1164,8 +1164,8 @@ var ItemApi = /** @class */ (function (_super) {
|
|
|
1164
1164
|
});
|
|
1165
1165
|
};
|
|
1166
1166
|
/**
|
|
1167
|
-
*
|
|
1168
|
-
* Retrieve a list of item inventories
|
|
1167
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
1168
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
1169
1169
|
*/
|
|
1170
1170
|
ItemApi.prototype.restItemInventorySnapshotResponseRaw = function (initOverrides) {
|
|
1171
1171
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -1202,8 +1202,8 @@ var ItemApi = /** @class */ (function (_super) {
|
|
|
1202
1202
|
});
|
|
1203
1203
|
};
|
|
1204
1204
|
/**
|
|
1205
|
-
*
|
|
1206
|
-
* Retrieve a list of item inventories
|
|
1205
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
1206
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
1207
1207
|
*/
|
|
1208
1208
|
ItemApi.prototype.restItemInventorySnapshotResponse = function (initOverrides) {
|
|
1209
1209
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -36,7 +36,7 @@ function ConversationPbxPhoneNumberFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return {
|
|
37
37
|
'action': !(0, runtime_1.exists)(json, 'action') ? undefined : json['action'],
|
|
38
38
|
'action_target': !(0, runtime_1.exists)(json, 'action_target') ? undefined : json['action_target'],
|
|
39
|
-
'
|
|
39
|
+
'conversation_pbx_phone_number_uuid': !(0, runtime_1.exists)(json, 'conversation_pbx_phone_number_uuid') ? undefined : json['conversation_pbx_phone_number_uuid'],
|
|
40
40
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
41
41
|
'phone_number': !(0, runtime_1.exists)(json, 'phone_number') ? undefined : json['phone_number'],
|
|
42
42
|
};
|
|
@@ -52,7 +52,7 @@ function ConversationPbxPhoneNumberToJSON(value) {
|
|
|
52
52
|
return {
|
|
53
53
|
'action': value.action,
|
|
54
54
|
'action_target': value.action_target,
|
|
55
|
-
'
|
|
55
|
+
'conversation_pbx_phone_number_uuid': value.conversation_pbx_phone_number_uuid,
|
|
56
56
|
'merchant_id': value.merchant_id,
|
|
57
57
|
'phone_number': value.phone_number,
|
|
58
58
|
};
|
|
@@ -102,13 +102,13 @@ export interface ItemAutoOrderStep {
|
|
|
102
102
|
*/
|
|
103
103
|
schedule?: string;
|
|
104
104
|
/**
|
|
105
|
-
* Email list name to subscribe the customer to when the rebill occurs
|
|
105
|
+
* Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine)
|
|
106
106
|
* @type {string}
|
|
107
107
|
* @memberof ItemAutoOrderStep
|
|
108
108
|
*/
|
|
109
109
|
subscribe_email_list_name?: string;
|
|
110
110
|
/**
|
|
111
|
-
* Email list identifier to subscribe the customer to when this rebill occurs
|
|
111
|
+
* Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine)
|
|
112
112
|
* @type {number}
|
|
113
113
|
* @memberof ItemAutoOrderStep
|
|
114
114
|
*/
|
package/package.json
CHANGED
package/src/apis/ItemApi.ts
CHANGED
|
@@ -493,8 +493,8 @@ export interface ItemApiInterface {
|
|
|
493
493
|
insertUpdateItemContentAttribute(requestParameters: InsertUpdateItemContentAttributeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
494
494
|
|
|
495
495
|
/**
|
|
496
|
-
*
|
|
497
|
-
* @summary Retrieve a list of item inventories
|
|
496
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
497
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
499
499
|
* @throws {RequiredError}
|
|
500
500
|
* @memberof ItemApiInterface
|
|
@@ -502,8 +502,8 @@ export interface ItemApiInterface {
|
|
|
502
502
|
restItemInventorySnapshotResponseRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ItemInventorySnapshotResponse>>;
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
|
-
*
|
|
506
|
-
* Retrieve a list of item inventories
|
|
505
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
506
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
507
507
|
*/
|
|
508
508
|
restItemInventorySnapshotResponse(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ItemInventorySnapshotResponse>;
|
|
509
509
|
|
|
@@ -1417,8 +1417,8 @@ export class ItemApi extends runtime.BaseAPI implements ItemApiInterface {
|
|
|
1417
1417
|
}
|
|
1418
1418
|
|
|
1419
1419
|
/**
|
|
1420
|
-
*
|
|
1421
|
-
* Retrieve a list of item inventories
|
|
1420
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
1421
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
1422
1422
|
*/
|
|
1423
1423
|
async restItemInventorySnapshotResponseRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ItemInventorySnapshotResponse>> {
|
|
1424
1424
|
const queryParameters: any = {};
|
|
@@ -1445,8 +1445,8 @@ export class ItemApi extends runtime.BaseAPI implements ItemApiInterface {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
/**
|
|
1448
|
-
*
|
|
1449
|
-
* Retrieve a list of item inventories
|
|
1448
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
1449
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
1450
1450
|
*/
|
|
1451
1451
|
async restItemInventorySnapshotResponse(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ItemInventorySnapshotResponse> {
|
|
1452
1452
|
const response = await this.restItemInventorySnapshotResponseRaw(initOverrides);
|
|
@@ -36,7 +36,7 @@ export interface ConversationPbxPhoneNumber {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof ConversationPbxPhoneNumber
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
conversation_pbx_phone_number_uuid?: string;
|
|
40
40
|
/**
|
|
41
41
|
* Merchant Id
|
|
42
42
|
* @type {string}
|
|
@@ -77,7 +77,7 @@ export function ConversationPbxPhoneNumberFromJSONTyped(json: any, ignoreDiscrim
|
|
|
77
77
|
|
|
78
78
|
'action': !exists(json, 'action') ? undefined : json['action'],
|
|
79
79
|
'action_target': !exists(json, 'action_target') ? undefined : json['action_target'],
|
|
80
|
-
'
|
|
80
|
+
'conversation_pbx_phone_number_uuid': !exists(json, 'conversation_pbx_phone_number_uuid') ? undefined : json['conversation_pbx_phone_number_uuid'],
|
|
81
81
|
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
82
82
|
'phone_number': !exists(json, 'phone_number') ? undefined : json['phone_number'],
|
|
83
83
|
};
|
|
@@ -94,7 +94,7 @@ export function ConversationPbxPhoneNumberToJSON(value?: ConversationPbxPhoneNum
|
|
|
94
94
|
|
|
95
95
|
'action': value.action,
|
|
96
96
|
'action_target': value.action_target,
|
|
97
|
-
'
|
|
97
|
+
'conversation_pbx_phone_number_uuid': value.conversation_pbx_phone_number_uuid,
|
|
98
98
|
'merchant_id': value.merchant_id,
|
|
99
99
|
'phone_number': value.phone_number,
|
|
100
100
|
};
|
|
@@ -117,13 +117,13 @@ export interface ItemAutoOrderStep {
|
|
|
117
117
|
*/
|
|
118
118
|
schedule?: string;
|
|
119
119
|
/**
|
|
120
|
-
* Email list name to subscribe the customer to when the rebill occurs
|
|
120
|
+
* Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine)
|
|
121
121
|
* @type {string}
|
|
122
122
|
* @memberof ItemAutoOrderStep
|
|
123
123
|
*/
|
|
124
124
|
subscribe_email_list_name?: string;
|
|
125
125
|
/**
|
|
126
|
-
* Email list identifier to subscribe the customer to when this rebill occurs
|
|
126
|
+
* Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine)
|
|
127
127
|
* @type {number}
|
|
128
128
|
* @memberof ItemAutoOrderStep
|
|
129
129
|
*/
|