@wix/auto_sdk_benefit-programs_items 1.0.10 → 1.0.11
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/build/cjs/src/benefit-programs-v1-item-items.http.d.ts +14 -36
- package/build/cjs/src/benefit-programs-v1-item-items.http.js +14 -36
- package/build/cjs/src/benefit-programs-v1-item-items.http.js.map +1 -1
- package/build/cjs/src/benefit-programs-v1-item-items.public.d.ts +16 -34
- package/build/cjs/src/benefit-programs-v1-item-items.public.js.map +1 -1
- package/build/cjs/src/benefit-programs-v1-item-items.types.d.ts +13 -13
- package/build/cjs/src/benefit-programs-v1-item-items.universal.d.ts +40 -58
- package/build/cjs/src/benefit-programs-v1-item-items.universal.js +16 -34
- package/build/cjs/src/benefit-programs-v1-item-items.universal.js.map +1 -1
- package/build/es/src/benefit-programs-v1-item-items.http.d.ts +14 -36
- package/build/es/src/benefit-programs-v1-item-items.http.js +14 -36
- package/build/es/src/benefit-programs-v1-item-items.http.js.map +1 -1
- package/build/es/src/benefit-programs-v1-item-items.public.d.ts +16 -34
- package/build/es/src/benefit-programs-v1-item-items.public.js.map +1 -1
- package/build/es/src/benefit-programs-v1-item-items.types.d.ts +13 -13
- package/build/es/src/benefit-programs-v1-item-items.universal.d.ts +40 -58
- package/build/es/src/benefit-programs-v1-item-items.universal.js +16 -34
- package/build/es/src/benefit-programs-v1-item-items.universal.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-item-items.http.d.ts +14 -36
- package/build/internal/cjs/src/benefit-programs-v1-item-items.http.js +14 -36
- package/build/internal/cjs/src/benefit-programs-v1-item-items.http.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-item-items.public.d.ts +16 -34
- package/build/internal/cjs/src/benefit-programs-v1-item-items.public.js.map +1 -1
- package/build/internal/cjs/src/benefit-programs-v1-item-items.types.d.ts +13 -13
- package/build/internal/cjs/src/benefit-programs-v1-item-items.universal.d.ts +40 -58
- package/build/internal/cjs/src/benefit-programs-v1-item-items.universal.js +16 -34
- package/build/internal/cjs/src/benefit-programs-v1-item-items.universal.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-item-items.http.d.ts +14 -36
- package/build/internal/es/src/benefit-programs-v1-item-items.http.js +14 -36
- package/build/internal/es/src/benefit-programs-v1-item-items.http.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-item-items.public.d.ts +16 -34
- package/build/internal/es/src/benefit-programs-v1-item-items.public.js.map +1 -1
- package/build/internal/es/src/benefit-programs-v1-item-items.types.d.ts +13 -13
- package/build/internal/es/src/benefit-programs-v1-item-items.universal.d.ts +40 -58
- package/build/internal/es/src/benefit-programs-v1-item-items.universal.js +16 -34
- package/build/internal/es/src/benefit-programs-v1-item-items.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-item-items.http.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-item-items.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,6CAA6C,CACpD,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,WAAW;aACtB;YACD;gBACE,OAAO,EAAE,sCAAsC;gBAC/C,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,sBAAsB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AAW;aACtB;YACD;gBACE,OAAO,EAAE,sCAAsC;gBAC/C,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,yBAAyB;gBAClC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,WAAW;aACtB;YACD;gBACE,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,WAAW;aACtB;YACD;gBACE,OAAO,EAAE,sCAAsC;gBAC/C,QAAQ,EAAE,gBAAgB;aAC3B;SACF;KACF,CAAC;IAEF,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,sCAAsC,CAAC;AAE5D,
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-item-items.http.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-item-items.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,6CAA6C,CACpD,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAA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AED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,UAAU,CAAC,OAAe;IACxC,SAAS,YAAY,CAAC,EAAE,IAAI,EAAO;QACjC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,8BAA8B;YAC1C,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,qDAAqD;YAChE,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,6CAA6C,CAAC;gBACjD,SAAS,EAAE,iBAAiB;gBAC5B,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;YACb,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,cAAc,CAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,oCAAoC;oBACjD,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,mBAAmB,EAAE;wBAC7B,EAAE,IAAI,EAAE,mBAAmB,EAAE;qBAC9B;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,OAAe;IACxC,SAAS,YAAY,CAAC,EAAE,IAAI,EAAO;QACjC,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,8BAA8B;YAC1C,MAAM,EAAE,MAAa;YACrB,SAAS,EAAE,qDAAqD;YAChE,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,6CAA6C,CAAC;gBACjD,SAAS,EAAE,iBAAiB;gBAC5B,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare const __metadata: {
|
|
|
6
6
|
export declare function createItem(httpClient: HttpClient): CreateItemSignature;
|
|
7
7
|
interface CreateItemSignature {
|
|
8
8
|
/**
|
|
9
|
-
* Creates
|
|
9
|
+
* Creates an item.
|
|
10
10
|
* @param - Item to create.
|
|
11
11
|
* @returns Created item.
|
|
12
12
|
*/
|
|
@@ -15,7 +15,7 @@ interface CreateItemSignature {
|
|
|
15
15
|
export declare function bulkCreateItems(httpClient: HttpClient): BulkCreateItemsSignature;
|
|
16
16
|
interface BulkCreateItemsSignature {
|
|
17
17
|
/**
|
|
18
|
-
* Creates
|
|
18
|
+
* Creates items.
|
|
19
19
|
* @param - Items to create.
|
|
20
20
|
*/
|
|
21
21
|
(items: Item[], options?: BulkCreateItemsOptions | undefined): Promise<BulkCreateItemsResponse>;
|
|
@@ -23,13 +23,7 @@ interface BulkCreateItemsSignature {
|
|
|
23
23
|
export declare function deleteItem(httpClient: HttpClient): DeleteItemSignature;
|
|
24
24
|
interface DeleteItemSignature {
|
|
25
25
|
/**
|
|
26
|
-
* Deletes
|
|
27
|
-
*
|
|
28
|
-
* <blockquote class="caution">
|
|
29
|
-
* <strong>Caution:</strong>
|
|
30
|
-
*
|
|
31
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
32
|
-
* </blockquote>
|
|
26
|
+
* Deletes an item.
|
|
33
27
|
* @param - Item ID.
|
|
34
28
|
*/
|
|
35
29
|
(itemId: string): Promise<void>;
|
|
@@ -37,13 +31,7 @@ interface DeleteItemSignature {
|
|
|
37
31
|
export declare function bulkDeleteItems(httpClient: HttpClient): BulkDeleteItemsSignature;
|
|
38
32
|
interface BulkDeleteItemsSignature {
|
|
39
33
|
/**
|
|
40
|
-
* Deletes
|
|
41
|
-
*
|
|
42
|
-
* <blockquote class="caution">
|
|
43
|
-
* <strong>Caution:</strong>
|
|
44
|
-
*
|
|
45
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
46
|
-
* </blockquote>
|
|
34
|
+
* Deletes items.
|
|
47
35
|
* @param - List of IDs of the items to delete.
|
|
48
36
|
*/
|
|
49
37
|
(itemIds: string[]): Promise<BulkDeleteItemsResponse>;
|
|
@@ -51,30 +39,24 @@ interface BulkDeleteItemsSignature {
|
|
|
51
39
|
export declare function bulkDeleteItemsByFilter(httpClient: HttpClient): BulkDeleteItemsByFilterSignature;
|
|
52
40
|
interface BulkDeleteItemsByFilterSignature {
|
|
53
41
|
/**
|
|
54
|
-
* Deletes
|
|
42
|
+
* Deletes items that fulfil the specified filter conditions.
|
|
55
43
|
*
|
|
56
44
|
* For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).
|
|
57
|
-
*
|
|
58
|
-
* <blockquote class="caution">
|
|
59
|
-
* <strong>Caution:</strong>
|
|
60
|
-
*
|
|
61
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
62
|
-
* </blockquote>
|
|
63
|
-
* @param - Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.
|
|
45
|
+
* @param - Namespace for your app or site's benefit programs.
|
|
64
46
|
*/
|
|
65
47
|
(namespace: string, options?: BulkDeleteItemsByFilterOptions | undefined): Promise<BulkDeleteItemsByFilterResponse>;
|
|
66
48
|
}
|
|
67
49
|
export declare function updateItem(httpClient: HttpClient): UpdateItemSignature;
|
|
68
50
|
interface UpdateItemSignature {
|
|
69
51
|
/**
|
|
70
|
-
* Updates
|
|
52
|
+
* Updates an item.
|
|
71
53
|
*
|
|
72
|
-
* Each time the
|
|
54
|
+
* Each time the item is updated,
|
|
73
55
|
* `revision` increments by 1.
|
|
74
|
-
* The current `revision` must be passed when updating the
|
|
75
|
-
* This ensures you're working with the latest
|
|
56
|
+
* The current `revision` must be passed when updating the item.
|
|
57
|
+
* This ensures you're working with the latest item
|
|
76
58
|
* and prevents unintended overwrites.
|
|
77
|
-
* @param -
|
|
59
|
+
* @param - Item ID.
|
|
78
60
|
* @returns Updated item.
|
|
79
61
|
*/
|
|
80
62
|
(_id: string, item: UpdateItem): Promise<Item>;
|
|
@@ -82,12 +64,12 @@ interface UpdateItemSignature {
|
|
|
82
64
|
export declare function bulkUpdateItems(httpClient: HttpClient): BulkUpdateItemsSignature;
|
|
83
65
|
interface BulkUpdateItemsSignature {
|
|
84
66
|
/**
|
|
85
|
-
* Updates
|
|
67
|
+
* Updates items.
|
|
86
68
|
*
|
|
87
|
-
* Each time the
|
|
69
|
+
* Each time the item is updated,
|
|
88
70
|
* `revision` increments by 1.
|
|
89
|
-
* The current `revision` must be passed when updating the
|
|
90
|
-
* This ensures you're working with the latest
|
|
71
|
+
* The current `revision` must be passed when updating the item.
|
|
72
|
+
* This ensures you're working with the latest item
|
|
91
73
|
* and prevents unintended overwrites.
|
|
92
74
|
*/
|
|
93
75
|
(options?: BulkUpdateItemsOptions | undefined): Promise<BulkUpdateItemsResponse>;
|
|
@@ -128,7 +110,7 @@ interface QueryItemsSignature {
|
|
|
128
110
|
export declare function countItems(httpClient: HttpClient): CountItemsSignature;
|
|
129
111
|
interface CountItemsSignature {
|
|
130
112
|
/**
|
|
131
|
-
* Counts how many
|
|
113
|
+
* Counts how many items exist that fulfil the specified filtering conditions.
|
|
132
114
|
*
|
|
133
115
|
* For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).
|
|
134
116
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benefit-programs-v1-item-items.public.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-item-items.public.ts"],"names":[],"mappings":"AACA,OAAO,EAeL,eAAe,IAAI,wBAAwB,EAC3C,eAAe,IAAI,wBAAwB,EAC3C,uBAAuB,IAAI,gCAAgC,EAC3D,eAAe,IAAI,wBAAwB,EAC3C,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,EACjC,OAAO,IAAI,gBAAgB,EAC3B,SAAS,IAAI,kBAAkB,EAC/B,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,GAClC,MAAM,+CAA+C,CAAC;AAEvD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,uBAAuB,EAAE,CAAC;AAEpE,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CACL,IAGC,EACD,EAAE,CACF,mBAAmB,CACjB,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAWD,MAAM,UAAU,eAAe,CAC7B,UAAsB;IAEtB,OAAO,CACL,KAGG,EACH,OAAgC,EAChC,EAAE,CACF,wBAAwB,CACtB,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAaD,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,MAAc,EAAE,EAAE,CACxB,mBAAmB,CACjB,MAAM;IACN,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;
|
|
1
|
+
{"version":3,"file":"benefit-programs-v1-item-items.public.js","sourceRoot":"","sources":["../../../src/benefit-programs-v1-item-items.public.ts"],"names":[],"mappings":"AACA,OAAO,EAeL,eAAe,IAAI,wBAAwB,EAC3C,eAAe,IAAI,wBAAwB,EAC3C,uBAAuB,IAAI,gCAAgC,EAC3D,eAAe,IAAI,wBAAwB,EAC3C,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,EACjC,OAAO,IAAI,gBAAgB,EAC3B,SAAS,IAAI,kBAAkB,EAC/B,UAAU,IAAI,mBAAmB,EACjC,UAAU,IAAI,mBAAmB,GAClC,MAAM,+CAA+C,CAAC;AAEvD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,uBAAuB,EAAE,CAAC;AAEpE,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CACL,IAGC,EACD,EAAE,CACF,mBAAmB,C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N,CAAC;AAWD,MAAM,UAAU,SAAS,CAAC,UAAsB;IAC9C,OAAO,CAAC,OAA0B,EAAE,EAAE,CACpC,kBAAkB,CAChB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AASD,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,GAAG,EAAE,CACV,mBAAmB;IACjB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAmBD,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,OAA2B,EAAE,EAAE,CACrC,mBAAmB,CACjB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAWD,OAAO,EAgEL,SAAS,EAET,IAAI,EAIJ,mBAAmB,GACpB,MAAM,+CAA+C,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface Item {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Item ID.
|
|
4
4
|
* @format GUID
|
|
5
5
|
* @immutable
|
|
6
6
|
* @readonly
|
|
7
7
|
*/
|
|
8
8
|
id?: string | null;
|
|
9
9
|
/**
|
|
10
|
-
* Revision number, which increments by 1 each time the
|
|
11
|
-
* To prevent conflicting changes, the current revision must be passed when updating the
|
|
10
|
+
* Revision number, which increments by 1 each time the item is updated.
|
|
11
|
+
* To prevent conflicting changes, the current revision must be passed when updating the item.
|
|
12
12
|
*
|
|
13
|
-
* Ignored when creating
|
|
13
|
+
* Ignored when creating an item.
|
|
14
14
|
* @readonly
|
|
15
15
|
*/
|
|
16
16
|
revision?: string | null;
|
|
@@ -27,45 +27,45 @@ export interface Item {
|
|
|
27
27
|
/**
|
|
28
28
|
* ID of the item in the app providing it.
|
|
29
29
|
*
|
|
30
|
-
* For example, if the item is a product provided by Wix Stores,
|
|
30
|
+
* For example, if the item is a product provided by Wix Stores, this would be the product ID.
|
|
31
31
|
* @format GUID
|
|
32
32
|
* @immutable
|
|
33
33
|
* @readonly
|
|
34
34
|
*/
|
|
35
35
|
externalId?: string | null;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Item category.
|
|
38
38
|
* @maxLength 20
|
|
39
39
|
* @immutable
|
|
40
40
|
* @readonly
|
|
41
41
|
*/
|
|
42
42
|
category?: string | null;
|
|
43
43
|
/**
|
|
44
|
-
* Item set ID of the benefit that this
|
|
44
|
+
* Item set ID of the benefit that this item is a part of.
|
|
45
45
|
* @format GUID
|
|
46
46
|
* @immutable
|
|
47
47
|
* @readonly
|
|
48
48
|
*/
|
|
49
49
|
itemSetId?: string | null;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Item name.
|
|
52
52
|
* @maxLength 64
|
|
53
53
|
*/
|
|
54
54
|
displayName?: string | null;
|
|
55
55
|
/**
|
|
56
|
-
* ID of the app
|
|
56
|
+
* ID of the app that defines and provides the item. For example, if the item is a Wix Stores product, this field's value is `215238eb-22a5-4c36-9e7b-e7c08025e04e`.
|
|
57
57
|
* @format GUID
|
|
58
58
|
* @immutable
|
|
59
59
|
* @readonly
|
|
60
60
|
*/
|
|
61
61
|
providerAppId?: string | null;
|
|
62
62
|
/**
|
|
63
|
-
* Custom field data for the
|
|
63
|
+
* Custom field data for the item object.
|
|
64
64
|
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
65
65
|
*/
|
|
66
66
|
extendedFields?: ExtendedFields;
|
|
67
67
|
/**
|
|
68
|
-
* Namespace for your app or site's benefit programs.
|
|
68
|
+
* Namespace for your app or site's benefit programs.
|
|
69
69
|
* @minLength 1
|
|
70
70
|
* @maxLength 50
|
|
71
71
|
* @immutable
|
|
@@ -188,7 +188,7 @@ export interface BulkDeleteItemsResponse {
|
|
|
188
188
|
}
|
|
189
189
|
export interface BulkDeleteItemsByFilterRequest {
|
|
190
190
|
/**
|
|
191
|
-
* Namespace for your app or site's benefit programs.
|
|
191
|
+
* Namespace for your app or site's benefit programs.
|
|
192
192
|
* @minLength 1
|
|
193
193
|
* @maxLength 50
|
|
194
194
|
*/
|
|
@@ -198,7 +198,7 @@ export interface BulkDeleteItemsByFilterRequest {
|
|
|
198
198
|
}
|
|
199
199
|
export interface BulkDeleteItemsByFilterResponse {
|
|
200
200
|
/**
|
|
201
|
-
* Job ID for item deletion.
|
|
201
|
+
* Job ID for item deletion.
|
|
202
202
|
* @format GUID
|
|
203
203
|
*/
|
|
204
204
|
jobId?: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
export interface Item {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Item ID.
|
|
5
5
|
* @format GUID
|
|
6
6
|
* @immutable
|
|
7
7
|
* @readonly
|
|
8
8
|
*/
|
|
9
9
|
_id?: string | null;
|
|
10
10
|
/**
|
|
11
|
-
* Revision number, which increments by 1 each time the
|
|
12
|
-
* To prevent conflicting changes, the current revision must be passed when updating the
|
|
11
|
+
* Revision number, which increments by 1 each time the item is updated.
|
|
12
|
+
* To prevent conflicting changes, the current revision must be passed when updating the item.
|
|
13
13
|
*
|
|
14
|
-
* Ignored when creating
|
|
14
|
+
* Ignored when creating an item.
|
|
15
15
|
* @readonly
|
|
16
16
|
*/
|
|
17
17
|
revision?: string | null;
|
|
@@ -28,45 +28,45 @@ export interface Item {
|
|
|
28
28
|
/**
|
|
29
29
|
* ID of the item in the app providing it.
|
|
30
30
|
*
|
|
31
|
-
* For example, if the item is a product provided by Wix Stores,
|
|
31
|
+
* For example, if the item is a product provided by Wix Stores, this would be the product ID.
|
|
32
32
|
* @format GUID
|
|
33
33
|
* @immutable
|
|
34
34
|
* @readonly
|
|
35
35
|
*/
|
|
36
36
|
externalId?: string | null;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Item category.
|
|
39
39
|
* @maxLength 20
|
|
40
40
|
* @immutable
|
|
41
41
|
* @readonly
|
|
42
42
|
*/
|
|
43
43
|
category?: string | null;
|
|
44
44
|
/**
|
|
45
|
-
* Item set ID of the benefit that this
|
|
45
|
+
* Item set ID of the benefit that this item is a part of.
|
|
46
46
|
* @format GUID
|
|
47
47
|
* @immutable
|
|
48
48
|
* @readonly
|
|
49
49
|
*/
|
|
50
50
|
itemSetId?: string | null;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Item name.
|
|
53
53
|
* @maxLength 64
|
|
54
54
|
*/
|
|
55
55
|
displayName?: string | null;
|
|
56
56
|
/**
|
|
57
|
-
* ID of the app
|
|
57
|
+
* ID of the app that defines and provides the item. For example, if the item is a Wix Stores product, this field's value is `215238eb-22a5-4c36-9e7b-e7c08025e04e`.
|
|
58
58
|
* @format GUID
|
|
59
59
|
* @immutable
|
|
60
60
|
* @readonly
|
|
61
61
|
*/
|
|
62
62
|
providerAppId?: string | null;
|
|
63
63
|
/**
|
|
64
|
-
* Custom field data for the
|
|
64
|
+
* Custom field data for the item object.
|
|
65
65
|
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
66
66
|
*/
|
|
67
67
|
extendedFields?: ExtendedFields;
|
|
68
68
|
/**
|
|
69
|
-
* Namespace for your app or site's benefit programs.
|
|
69
|
+
* Namespace for your app or site's benefit programs.
|
|
70
70
|
* @minLength 1
|
|
71
71
|
* @maxLength 50
|
|
72
72
|
* @immutable
|
|
@@ -189,7 +189,7 @@ export interface BulkDeleteItemsResponse {
|
|
|
189
189
|
}
|
|
190
190
|
export interface BulkDeleteItemsByFilterRequest {
|
|
191
191
|
/**
|
|
192
|
-
* Namespace for your app or site's benefit programs.
|
|
192
|
+
* Namespace for your app or site's benefit programs.
|
|
193
193
|
* @minLength 1
|
|
194
194
|
* @maxLength 50
|
|
195
195
|
*/
|
|
@@ -199,7 +199,7 @@ export interface BulkDeleteItemsByFilterRequest {
|
|
|
199
199
|
}
|
|
200
200
|
export interface BulkDeleteItemsByFilterResponse {
|
|
201
201
|
/**
|
|
202
|
-
* Job ID for item deletion.
|
|
202
|
+
* Job ID for item deletion.
|
|
203
203
|
* @format GUID
|
|
204
204
|
*/
|
|
205
205
|
jobId?: string;
|
|
@@ -656,7 +656,7 @@ export declare enum WebhookIdentityType {
|
|
|
656
656
|
APP = "APP"
|
|
657
657
|
}
|
|
658
658
|
/**
|
|
659
|
-
* Creates
|
|
659
|
+
* Creates an item.
|
|
660
660
|
* @param item - Item to create.
|
|
661
661
|
* @public
|
|
662
662
|
* @documentationMaturity preview
|
|
@@ -674,7 +674,7 @@ export declare enum WebhookIdentityType {
|
|
|
674
674
|
*/
|
|
675
675
|
export declare function createItem(item: NonNullablePaths<Item, `externalId` | `itemSetId` | `namespace` | `providerAppId`>): Promise<Item>;
|
|
676
676
|
/**
|
|
677
|
-
* Creates
|
|
677
|
+
* Creates items.
|
|
678
678
|
* @param items - Items to create.
|
|
679
679
|
* @public
|
|
680
680
|
* @documentationMaturity preview
|
|
@@ -699,13 +699,7 @@ export interface BulkCreateItemsOptions {
|
|
|
699
699
|
returnEntity?: boolean;
|
|
700
700
|
}
|
|
701
701
|
/**
|
|
702
|
-
* Deletes
|
|
703
|
-
*
|
|
704
|
-
* <blockquote class="caution">
|
|
705
|
-
* <strong>Caution:</strong>
|
|
706
|
-
*
|
|
707
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
708
|
-
* </blockquote>
|
|
702
|
+
* Deletes an item.
|
|
709
703
|
* @param itemId - Item ID.
|
|
710
704
|
* @public
|
|
711
705
|
* @documentationMaturity preview
|
|
@@ -718,13 +712,7 @@ export interface BulkCreateItemsOptions {
|
|
|
718
712
|
*/
|
|
719
713
|
export declare function deleteItem(itemId: string): Promise<void>;
|
|
720
714
|
/**
|
|
721
|
-
* Deletes
|
|
722
|
-
*
|
|
723
|
-
* <blockquote class="caution">
|
|
724
|
-
* <strong>Caution:</strong>
|
|
725
|
-
*
|
|
726
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
727
|
-
* </blockquote>
|
|
715
|
+
* Deletes items.
|
|
728
716
|
* @param itemIds - List of IDs of the items to delete.
|
|
729
717
|
* @public
|
|
730
718
|
* @documentationMaturity preview
|
|
@@ -737,16 +725,10 @@ export declare function deleteItem(itemId: string): Promise<void>;
|
|
|
737
725
|
*/
|
|
738
726
|
export declare function bulkDeleteItems(itemIds: string[]): Promise<NonNullablePaths<BulkDeleteItemsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
739
727
|
/**
|
|
740
|
-
* Deletes
|
|
728
|
+
* Deletes items that fulfil the specified filter conditions.
|
|
741
729
|
*
|
|
742
730
|
* For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).
|
|
743
|
-
*
|
|
744
|
-
* <blockquote class="caution">
|
|
745
|
-
* <strong>Caution:</strong>
|
|
746
|
-
*
|
|
747
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
748
|
-
* </blockquote>
|
|
749
|
-
* @param namespace - Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.
|
|
731
|
+
* @param namespace - Namespace for your app or site's benefit programs.
|
|
750
732
|
* @public
|
|
751
733
|
* @documentationMaturity preview
|
|
752
734
|
* @requiredField namespace
|
|
@@ -762,14 +744,14 @@ export interface BulkDeleteItemsByFilterOptions {
|
|
|
762
744
|
filter?: Record<string, any> | null;
|
|
763
745
|
}
|
|
764
746
|
/**
|
|
765
|
-
* Updates
|
|
747
|
+
* Updates an item.
|
|
766
748
|
*
|
|
767
|
-
* Each time the
|
|
749
|
+
* Each time the item is updated,
|
|
768
750
|
* `revision` increments by 1.
|
|
769
|
-
* The current `revision` must be passed when updating the
|
|
770
|
-
* This ensures you're working with the latest
|
|
751
|
+
* The current `revision` must be passed when updating the item.
|
|
752
|
+
* This ensures you're working with the latest item
|
|
771
753
|
* and prevents unintended overwrites.
|
|
772
|
-
* @param _id -
|
|
754
|
+
* @param _id - Item ID.
|
|
773
755
|
* @public
|
|
774
756
|
* @documentationMaturity preview
|
|
775
757
|
* @requiredField _id
|
|
@@ -785,17 +767,17 @@ export interface BulkDeleteItemsByFilterOptions {
|
|
|
785
767
|
export declare function updateItem(_id: string, item: NonNullablePaths<UpdateItem, `revision`>): Promise<Item>;
|
|
786
768
|
export interface UpdateItem {
|
|
787
769
|
/**
|
|
788
|
-
*
|
|
770
|
+
* Item ID.
|
|
789
771
|
* @format GUID
|
|
790
772
|
* @immutable
|
|
791
773
|
* @readonly
|
|
792
774
|
*/
|
|
793
775
|
_id?: string | null;
|
|
794
776
|
/**
|
|
795
|
-
* Revision number, which increments by 1 each time the
|
|
796
|
-
* To prevent conflicting changes, the current revision must be passed when updating the
|
|
777
|
+
* Revision number, which increments by 1 each time the item is updated.
|
|
778
|
+
* To prevent conflicting changes, the current revision must be passed when updating the item.
|
|
797
779
|
*
|
|
798
|
-
* Ignored when creating
|
|
780
|
+
* Ignored when creating an item.
|
|
799
781
|
* @readonly
|
|
800
782
|
*/
|
|
801
783
|
revision?: string | null;
|
|
@@ -812,45 +794,45 @@ export interface UpdateItem {
|
|
|
812
794
|
/**
|
|
813
795
|
* ID of the item in the app providing it.
|
|
814
796
|
*
|
|
815
|
-
* For example, if the item is a product provided by Wix Stores,
|
|
797
|
+
* For example, if the item is a product provided by Wix Stores, this would be the product ID.
|
|
816
798
|
* @format GUID
|
|
817
799
|
* @immutable
|
|
818
800
|
* @readonly
|
|
819
801
|
*/
|
|
820
802
|
externalId?: string | null;
|
|
821
803
|
/**
|
|
822
|
-
*
|
|
804
|
+
* Item category.
|
|
823
805
|
* @maxLength 20
|
|
824
806
|
* @immutable
|
|
825
807
|
* @readonly
|
|
826
808
|
*/
|
|
827
809
|
category?: string | null;
|
|
828
810
|
/**
|
|
829
|
-
* Item set ID of the benefit that this
|
|
811
|
+
* Item set ID of the benefit that this item is a part of.
|
|
830
812
|
* @format GUID
|
|
831
813
|
* @immutable
|
|
832
814
|
* @readonly
|
|
833
815
|
*/
|
|
834
816
|
itemSetId?: string | null;
|
|
835
817
|
/**
|
|
836
|
-
*
|
|
818
|
+
* Item name.
|
|
837
819
|
* @maxLength 64
|
|
838
820
|
*/
|
|
839
821
|
displayName?: string | null;
|
|
840
822
|
/**
|
|
841
|
-
* ID of the app
|
|
823
|
+
* ID of the app that defines and provides the item. For example, if the item is a Wix Stores product, this field's value is `215238eb-22a5-4c36-9e7b-e7c08025e04e`.
|
|
842
824
|
* @format GUID
|
|
843
825
|
* @immutable
|
|
844
826
|
* @readonly
|
|
845
827
|
*/
|
|
846
828
|
providerAppId?: string | null;
|
|
847
829
|
/**
|
|
848
|
-
* Custom field data for the
|
|
830
|
+
* Custom field data for the item object.
|
|
849
831
|
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
850
832
|
*/
|
|
851
833
|
extendedFields?: ExtendedFields;
|
|
852
834
|
/**
|
|
853
|
-
* Namespace for your app or site's benefit programs.
|
|
835
|
+
* Namespace for your app or site's benefit programs.
|
|
854
836
|
* @minLength 1
|
|
855
837
|
* @maxLength 50
|
|
856
838
|
* @immutable
|
|
@@ -859,12 +841,12 @@ export interface UpdateItem {
|
|
|
859
841
|
namespace?: string | null;
|
|
860
842
|
}
|
|
861
843
|
/**
|
|
862
|
-
* Updates
|
|
844
|
+
* Updates items.
|
|
863
845
|
*
|
|
864
|
-
* Each time the
|
|
846
|
+
* Each time the item is updated,
|
|
865
847
|
* `revision` increments by 1.
|
|
866
|
-
* The current `revision` must be passed when updating the
|
|
867
|
-
* This ensures you're working with the latest
|
|
848
|
+
* The current `revision` must be passed when updating the item.
|
|
849
|
+
* This ensures you're working with the latest item
|
|
868
850
|
* and prevents unintended overwrites.
|
|
869
851
|
* @public
|
|
870
852
|
* @documentationMaturity preview
|
|
@@ -1034,7 +1016,7 @@ export interface ItemsQueryBuilder {
|
|
|
1034
1016
|
find: () => Promise<ItemsQueryResult>;
|
|
1035
1017
|
}
|
|
1036
1018
|
/**
|
|
1037
|
-
* Counts how many
|
|
1019
|
+
* Counts how many items exist that fulfil the specified filtering conditions.
|
|
1038
1020
|
*
|
|
1039
1021
|
* For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).
|
|
1040
1022
|
* @public
|
|
@@ -25,7 +25,7 @@ export var WebhookIdentityType;
|
|
|
25
25
|
WebhookIdentityType["APP"] = "APP";
|
|
26
26
|
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
27
27
|
/**
|
|
28
|
-
* Creates
|
|
28
|
+
* Creates an item.
|
|
29
29
|
* @param item - Item to create.
|
|
30
30
|
* @public
|
|
31
31
|
* @documentationMaturity preview
|
|
@@ -63,7 +63,7 @@ export async function createItem(item) {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
* Creates
|
|
66
|
+
* Creates items.
|
|
67
67
|
* @param items - Items to create.
|
|
68
68
|
* @public
|
|
69
69
|
* @documentationMaturity preview
|
|
@@ -106,13 +106,7 @@ export async function bulkCreateItems(items, options) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* Deletes
|
|
110
|
-
*
|
|
111
|
-
* <blockquote class="caution">
|
|
112
|
-
* <strong>Caution:</strong>
|
|
113
|
-
*
|
|
114
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
115
|
-
* </blockquote>
|
|
109
|
+
* Deletes an item.
|
|
116
110
|
* @param itemId - Item ID.
|
|
117
111
|
* @public
|
|
118
112
|
* @documentationMaturity preview
|
|
@@ -144,13 +138,7 @@ export async function deleteItem(itemId) {
|
|
|
144
138
|
}
|
|
145
139
|
}
|
|
146
140
|
/**
|
|
147
|
-
* Deletes
|
|
148
|
-
*
|
|
149
|
-
* <blockquote class="caution">
|
|
150
|
-
* <strong>Caution:</strong>
|
|
151
|
-
*
|
|
152
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
153
|
-
* </blockquote>
|
|
141
|
+
* Deletes items.
|
|
154
142
|
* @param itemIds - List of IDs of the items to delete.
|
|
155
143
|
* @public
|
|
156
144
|
* @documentationMaturity preview
|
|
@@ -183,16 +171,10 @@ export async function bulkDeleteItems(itemIds) {
|
|
|
183
171
|
}
|
|
184
172
|
}
|
|
185
173
|
/**
|
|
186
|
-
* Deletes
|
|
174
|
+
* Deletes items that fulfil the specified filter conditions.
|
|
187
175
|
*
|
|
188
176
|
* For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).
|
|
189
|
-
*
|
|
190
|
-
* <blockquote class="caution">
|
|
191
|
-
* <strong>Caution:</strong>
|
|
192
|
-
*
|
|
193
|
-
* Deleting a benefit item removes the association between a benefit and the item with immediate effect. This may affect currently active pools.
|
|
194
|
-
* </blockquote>
|
|
195
|
-
* @param namespace - Namespace for your app or site's benefit programs. Namespaces allow you to distinguish between entities that you created and entities that other apps created.
|
|
177
|
+
* @param namespace - Namespace for your app or site's benefit programs.
|
|
196
178
|
* @public
|
|
197
179
|
* @documentationMaturity preview
|
|
198
180
|
* @requiredField namespace
|
|
@@ -227,14 +209,14 @@ export async function bulkDeleteItemsByFilter(namespace, options) {
|
|
|
227
209
|
}
|
|
228
210
|
}
|
|
229
211
|
/**
|
|
230
|
-
* Updates
|
|
212
|
+
* Updates an item.
|
|
231
213
|
*
|
|
232
|
-
* Each time the
|
|
214
|
+
* Each time the item is updated,
|
|
233
215
|
* `revision` increments by 1.
|
|
234
|
-
* The current `revision` must be passed when updating the
|
|
235
|
-
* This ensures you're working with the latest
|
|
216
|
+
* The current `revision` must be passed when updating the item.
|
|
217
|
+
* This ensures you're working with the latest item
|
|
236
218
|
* and prevents unintended overwrites.
|
|
237
|
-
* @param _id -
|
|
219
|
+
* @param _id - Item ID.
|
|
238
220
|
* @public
|
|
239
221
|
* @documentationMaturity preview
|
|
240
222
|
* @requiredField _id
|
|
@@ -271,12 +253,12 @@ export async function updateItem(_id, item) {
|
|
|
271
253
|
}
|
|
272
254
|
}
|
|
273
255
|
/**
|
|
274
|
-
* Updates
|
|
256
|
+
* Updates items.
|
|
275
257
|
*
|
|
276
|
-
* Each time the
|
|
258
|
+
* Each time the item is updated,
|
|
277
259
|
* `revision` increments by 1.
|
|
278
|
-
* The current `revision` must be passed when updating the
|
|
279
|
-
* This ensures you're working with the latest
|
|
260
|
+
* The current `revision` must be passed when updating the item.
|
|
261
|
+
* This ensures you're working with the latest item
|
|
280
262
|
* and prevents unintended overwrites.
|
|
281
263
|
* @public
|
|
282
264
|
* @documentationMaturity preview
|
|
@@ -463,7 +445,7 @@ export function queryItems() {
|
|
|
463
445
|
});
|
|
464
446
|
}
|
|
465
447
|
/**
|
|
466
|
-
* Counts how many
|
|
448
|
+
* Counts how many items exist that fulfil the specified filtering conditions.
|
|
467
449
|
*
|
|
468
450
|
* For a list of supported filters, see [Filtering and Sorting](https://dev.wix.com/docs/rest/business-solutions/benefit-programs/items/filtering-and-sorting).
|
|
469
451
|
* @public
|