ultracart_rest_api_v2_typescript 3.10.172 → 3.10.174
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/api.ts +14 -2
- package/dist/api.d.ts +16 -4
- 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.174
|
|
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.174 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.174 | 11/20/2023 | coupon - add item tag support to percent off items and free shipping |
|
|
58
|
+
| 3.10.173 | 11/20/2023 | item.google_product_search.color bugfix for bad length validation: 20 to 100 |
|
|
57
59
|
| 3.10.172 | 11/13/2023 | coupon - editor values for item tags |
|
|
58
60
|
| 3.10.171 | 11/13/2023 | coupon - percent off items - add support for include/exclude by item tags |
|
|
59
61
|
| 3.10.170 | 11/09/2023 | item - new auto order step type: pause until |
|
package/api.ts
CHANGED
|
@@ -11232,12 +11232,24 @@ export interface CouponPercentOffItemsAndFreeShipping {
|
|
|
11232
11232
|
* @memberof CouponPercentOffItemsAndFreeShipping
|
|
11233
11233
|
*/
|
|
11234
11234
|
discount_percent?: number;
|
|
11235
|
+
/**
|
|
11236
|
+
* A list of item tags which cannot be discounted.
|
|
11237
|
+
* @type {Array<string>}
|
|
11238
|
+
* @memberof CouponPercentOffItemsAndFreeShipping
|
|
11239
|
+
*/
|
|
11240
|
+
excluded_item_tags?: Array<string>;
|
|
11235
11241
|
/**
|
|
11236
11242
|
* A list of items which cannot be discounted.
|
|
11237
11243
|
* @type {Array<string>}
|
|
11238
11244
|
* @memberof CouponPercentOffItemsAndFreeShipping
|
|
11239
11245
|
*/
|
|
11240
11246
|
excluded_items?: Array<string>;
|
|
11247
|
+
/**
|
|
11248
|
+
* An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
|
|
11249
|
+
* @type {Array<string>}
|
|
11250
|
+
* @memberof CouponPercentOffItemsAndFreeShipping
|
|
11251
|
+
*/
|
|
11252
|
+
item_tags?: Array<string>;
|
|
11241
11253
|
/**
|
|
11242
11254
|
* An optional list of items which will receive a discount. If blank, discount applies to all items except excluded items.
|
|
11243
11255
|
* @type {Array<string>}
|
|
@@ -94440,7 +94452,7 @@ export const WorkflowApiFp = function(configuration?: Configuration) {
|
|
|
94440
94452
|
* @param {*} [options] Override http request option.
|
|
94441
94453
|
* @throws {RequiredError}
|
|
94442
94454
|
*/
|
|
94443
|
-
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
94455
|
+
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WorkflowTasksResponse> {
|
|
94444
94456
|
const localVarFetchArgs = WorkflowApiFetchParamCreator(configuration).getWorkflowTaskByObjectType(object_type, object_id, options);
|
|
94445
94457
|
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
94446
94458
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
@@ -94677,7 +94689,7 @@ export interface WorkflowApiInterface {
|
|
|
94677
94689
|
* @throws {RequiredError}
|
|
94678
94690
|
* @memberof WorkflowApiInterface
|
|
94679
94691
|
*/
|
|
94680
|
-
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): Promise<
|
|
94692
|
+
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): Promise<WorkflowTasksResponse>;
|
|
94681
94693
|
|
|
94682
94694
|
/**
|
|
94683
94695
|
* Retrieves a set of workflow tasks from the account based on a query object.
|
package/dist/api.d.ts
CHANGED
|
@@ -10958,12 +10958,24 @@ export interface CouponPercentOffItemsAndFreeShipping {
|
|
|
10958
10958
|
* @memberof CouponPercentOffItemsAndFreeShipping
|
|
10959
10959
|
*/
|
|
10960
10960
|
discount_percent?: number;
|
|
10961
|
+
/**
|
|
10962
|
+
* A list of item tags which cannot be discounted.
|
|
10963
|
+
* @type {Array<string>}
|
|
10964
|
+
* @memberof CouponPercentOffItemsAndFreeShipping
|
|
10965
|
+
*/
|
|
10966
|
+
excluded_item_tags?: Array<string>;
|
|
10961
10967
|
/**
|
|
10962
10968
|
* A list of items which cannot be discounted.
|
|
10963
10969
|
* @type {Array<string>}
|
|
10964
10970
|
* @memberof CouponPercentOffItemsAndFreeShipping
|
|
10965
10971
|
*/
|
|
10966
10972
|
excluded_items?: Array<string>;
|
|
10973
|
+
/**
|
|
10974
|
+
* An optional list of item tags which will receive a discount. If blank, discount applies to all items except excluded items.
|
|
10975
|
+
* @type {Array<string>}
|
|
10976
|
+
* @memberof CouponPercentOffItemsAndFreeShipping
|
|
10977
|
+
*/
|
|
10978
|
+
item_tags?: Array<string>;
|
|
10967
10979
|
/**
|
|
10968
10980
|
* An optional list of items which will receive a discount. If blank, discount applies to all items except excluded items.
|
|
10969
10981
|
* @type {Array<string>}
|
|
@@ -61996,7 +62008,7 @@ export declare const WorkflowApiFp: (configuration?: Configuration) => {
|
|
|
61996
62008
|
* @param {*} [options] Override http request option.
|
|
61997
62009
|
* @throws {RequiredError}
|
|
61998
62010
|
*/
|
|
61999
|
-
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
62011
|
+
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WorkflowTasksResponse>;
|
|
62000
62012
|
/**
|
|
62001
62013
|
* Retrieves a set of workflow tasks from the account based on a query object.
|
|
62002
62014
|
* @summary Search workflow tasks
|
|
@@ -62073,7 +62085,7 @@ export declare const WorkflowApiFactory: (configuration?: Configuration, fetch?:
|
|
|
62073
62085
|
* @param {*} [options] Override http request option.
|
|
62074
62086
|
* @throws {RequiredError}
|
|
62075
62087
|
*/
|
|
62076
|
-
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): Promise<
|
|
62088
|
+
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): Promise<WorkflowTasksResponse>;
|
|
62077
62089
|
/**
|
|
62078
62090
|
* Retrieves a set of workflow tasks from the account based on a query object.
|
|
62079
62091
|
* @summary Search workflow tasks
|
|
@@ -62156,7 +62168,7 @@ export interface WorkflowApiInterface {
|
|
|
62156
62168
|
* @throws {RequiredError}
|
|
62157
62169
|
* @memberof WorkflowApiInterface
|
|
62158
62170
|
*/
|
|
62159
|
-
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): Promise<
|
|
62171
|
+
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): Promise<WorkflowTasksResponse>;
|
|
62160
62172
|
/**
|
|
62161
62173
|
* Retrieves a set of workflow tasks from the account based on a query object.
|
|
62162
62174
|
* @summary Search workflow tasks
|
|
@@ -62243,7 +62255,7 @@ export declare class WorkflowApi extends BaseAPI implements WorkflowApiInterface
|
|
|
62243
62255
|
* @throws {RequiredError}
|
|
62244
62256
|
* @memberof WorkflowApi
|
|
62245
62257
|
*/
|
|
62246
|
-
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): Promise<
|
|
62258
|
+
getWorkflowTaskByObjectType(object_type: string, object_id: string, options?: any): Promise<WorkflowTasksResponse>;
|
|
62247
62259
|
/**
|
|
62248
62260
|
* Retrieves a set of workflow tasks from the account based on a query object.
|
|
62249
62261
|
* @summary Search workflow tasks
|