@augno/sdk 0.16.1 → 0.17.0
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/CHANGELOG.md +4 -3
- package/README.md +1 -1
- package/client.js +1 -1
- package/client.mjs +1 -1
- package/package.json +1 -1
- package/resources/catalog/item-categories/actions.d.mts +8 -2
- package/resources/catalog/item-categories/actions.d.mts.map +1 -1
- package/resources/catalog/item-categories/actions.d.ts +8 -2
- package/resources/catalog/item-categories/actions.d.ts.map +1 -1
- package/resources/catalog/item-categories/actions.js +7 -2
- package/resources/catalog/item-categories/actions.js.map +1 -1
- package/resources/catalog/item-categories/actions.mjs +7 -2
- package/resources/catalog/item-categories/actions.mjs.map +1 -1
- package/resources/catalog/materials/actions.d.mts +7 -2
- package/resources/catalog/materials/actions.d.mts.map +1 -1
- package/resources/catalog/materials/actions.d.ts +7 -2
- package/resources/catalog/materials/actions.d.ts.map +1 -1
- package/resources/catalog/materials/actions.js +7 -2
- package/resources/catalog/materials/actions.js.map +1 -1
- package/resources/catalog/materials/actions.mjs +7 -2
- package/resources/catalog/materials/actions.mjs.map +1 -1
- package/resources/catalog/parts/actions.d.mts +7 -2
- package/resources/catalog/parts/actions.d.mts.map +1 -1
- package/resources/catalog/parts/actions.d.ts +7 -2
- package/resources/catalog/parts/actions.d.ts.map +1 -1
- package/resources/catalog/parts/actions.js +7 -2
- package/resources/catalog/parts/actions.js.map +1 -1
- package/resources/catalog/parts/actions.mjs +7 -2
- package/resources/catalog/parts/actions.mjs.map +1 -1
- package/resources/catalog/product-lines/actions.d.mts +8 -2
- package/resources/catalog/product-lines/actions.d.mts.map +1 -1
- package/resources/catalog/product-lines/actions.d.ts +8 -2
- package/resources/catalog/product-lines/actions.d.ts.map +1 -1
- package/resources/catalog/product-lines/actions.js +7 -2
- package/resources/catalog/product-lines/actions.js.map +1 -1
- package/resources/catalog/product-lines/actions.mjs +7 -2
- package/resources/catalog/product-lines/actions.mjs.map +1 -1
- package/resources/catalog/products/actions.d.mts +7 -2
- package/resources/catalog/products/actions.d.mts.map +1 -1
- package/resources/catalog/products/actions.d.ts +7 -2
- package/resources/catalog/products/actions.d.ts.map +1 -1
- package/resources/catalog/products/actions.js +7 -2
- package/resources/catalog/products/actions.js.map +1 -1
- package/resources/catalog/products/actions.mjs +7 -2
- package/resources/catalog/products/actions.mjs.map +1 -1
- package/resources/catalog/properties/actions.d.mts +8 -3
- package/resources/catalog/properties/actions.d.mts.map +1 -1
- package/resources/catalog/properties/actions.d.ts +8 -3
- package/resources/catalog/properties/actions.d.ts.map +1 -1
- package/resources/catalog/properties/actions.js +7 -2
- package/resources/catalog/properties/actions.js.map +1 -1
- package/resources/catalog/properties/actions.mjs +7 -2
- package/resources/catalog/properties/actions.mjs.map +1 -1
- package/resources/catalog/unit-groups/actions.d.mts +7 -2
- package/resources/catalog/unit-groups/actions.d.mts.map +1 -1
- package/resources/catalog/unit-groups/actions.d.ts +7 -2
- package/resources/catalog/unit-groups/actions.d.ts.map +1 -1
- package/resources/catalog/unit-groups/actions.js +7 -2
- package/resources/catalog/unit-groups/actions.js.map +1 -1
- package/resources/catalog/unit-groups/actions.mjs +7 -2
- package/resources/catalog/unit-groups/actions.mjs.map +1 -1
- package/resources/catalog/units/actions.d.mts +8 -2
- package/resources/catalog/units/actions.d.mts.map +1 -1
- package/resources/catalog/units/actions.d.ts +8 -2
- package/resources/catalog/units/actions.d.ts.map +1 -1
- package/resources/catalog/units/actions.js +7 -2
- package/resources/catalog/units/actions.js.map +1 -1
- package/resources/catalog/units/actions.mjs +7 -2
- package/resources/catalog/units/actions.mjs.map +1 -1
- package/resources/core/analytics.d.mts +195 -1
- package/resources/core/analytics.d.mts.map +1 -1
- package/resources/core/analytics.d.ts +195 -1
- package/resources/core/analytics.d.ts.map +1 -1
- package/resources/core/analytics.js +11 -0
- package/resources/core/analytics.js.map +1 -1
- package/resources/core/analytics.mjs +11 -0
- package/resources/core/analytics.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +4 -4
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +4 -4
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/core.d.mts +6 -6
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +6 -6
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +1 -1
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/index.d.mts +2 -2
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +2 -2
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/jobs.d.mts +102 -60
- package/resources/core/jobs.d.mts.map +1 -1
- package/resources/core/jobs.d.ts +102 -60
- package/resources/core/jobs.d.ts.map +1 -1
- package/resources/core/jobs.js +12 -6
- package/resources/core/jobs.js.map +1 -1
- package/resources/core/jobs.mjs +12 -6
- package/resources/core/jobs.mjs.map +1 -1
- package/resources/identity/account-users/account-users.d.mts +39 -0
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +39 -0
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs.map +1 -1
- package/resources/messaging/blocks.d.mts +8 -0
- package/resources/messaging/blocks.d.mts.map +1 -1
- package/resources/messaging/blocks.d.ts +8 -0
- package/resources/messaging/blocks.d.ts.map +1 -1
- package/resources/messaging/conversations/conversations.d.mts +3 -3
- package/resources/messaging/conversations/conversations.d.mts.map +1 -1
- package/resources/messaging/conversations/conversations.d.ts +3 -3
- package/resources/messaging/conversations/conversations.d.ts.map +1 -1
- package/resources/messaging/conversations/conversations.js.map +1 -1
- package/resources/messaging/conversations/conversations.mjs.map +1 -1
- package/resources/messaging/conversations/links.d.mts +2 -2
- package/resources/messaging/conversations/links.d.mts.map +1 -1
- package/resources/messaging/conversations/links.d.ts +2 -2
- package/resources/messaging/conversations/links.d.ts.map +1 -1
- package/resources/messaging/conversations/messages.d.mts +2 -2
- package/resources/messaging/conversations/messages.d.mts.map +1 -1
- package/resources/messaging/conversations/messages.d.ts +2 -2
- package/resources/messaging/conversations/messages.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.d.mts +2 -2
- package/resources/messaging/notifications/notifications.d.mts.map +1 -1
- package/resources/messaging/notifications/notifications.d.ts +2 -2
- package/resources/messaging/notifications/notifications.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.js.map +1 -1
- package/resources/messaging/notifications/notifications.mjs.map +1 -1
- package/resources/operations/locations/actions.d.mts +7 -2
- package/resources/operations/locations/actions.d.mts.map +1 -1
- package/resources/operations/locations/actions.d.ts +7 -2
- package/resources/operations/locations/actions.d.ts.map +1 -1
- package/resources/operations/locations/actions.js +7 -2
- package/resources/operations/locations/actions.js.map +1 -1
- package/resources/operations/locations/actions.mjs +7 -2
- package/resources/operations/locations/actions.mjs.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.mts +5 -3
- package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.ts +5 -3
- package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.js +5 -3
- package/resources/operations/production-schedules/production-schedules.js.map +1 -1
- package/resources/operations/production-schedules/production-schedules.mjs +5 -3
- package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
- package/src/client.ts +1 -1
- package/src/resources/catalog/item-categories/actions.ts +15 -3
- package/src/resources/catalog/materials/actions.ts +14 -3
- package/src/resources/catalog/parts/actions.ts +14 -3
- package/src/resources/catalog/product-lines/actions.ts +15 -3
- package/src/resources/catalog/products/actions.ts +14 -3
- package/src/resources/catalog/properties/actions.ts +15 -4
- package/src/resources/catalog/unit-groups/actions.ts +14 -3
- package/src/resources/catalog/units/actions.ts +15 -3
- package/src/resources/core/analytics.ts +231 -0
- package/src/resources/core/audit-events.ts +16 -0
- package/src/resources/core/core.ts +30 -2
- package/src/resources/core/index.ts +7 -1
- package/src/resources/core/jobs.ts +422 -67
- package/src/resources/identity/account-users/account-users.ts +44 -0
- package/src/resources/messaging/blocks.ts +9 -0
- package/src/resources/messaging/conversations/conversations.ts +12 -0
- package/src/resources/messaging/conversations/links.ts +8 -0
- package/src/resources/messaging/conversations/messages.ts +8 -0
- package/src/resources/messaging/notifications/notifications.ts +8 -0
- package/src/resources/operations/locations/actions.ts +14 -3
- package/src/resources/operations/production-schedules/production-schedules.ts +5 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.
|
|
3
|
+
## [0.17.0](https://github.com/Augno/typescript-sdk/compare/v0.16.1...v0.17.0) (2026-08-17)
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
###
|
|
6
|
+
### Features
|
|
7
7
|
|
|
8
|
-
* **sdk:** sync with deployed API v0.
|
|
8
|
+
* **sdk:** sync with deployed API v0.47.0 ([34f679f](https://github.com/Augno/typescript-sdk/commit/34f679f26730d79a298e45e35d744f9c04d3c234))
|
|
9
|
+
* **sdk:** sync with deployed API v0.48.0 ([3c24c79](https://github.com/Augno/typescript-sdk/commit/3c24c793ccb194ecd267e54898177a7f35526213))
|
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ Note that requests which time out will be [retried twice by default](#retries).
|
|
|
133
133
|
|
|
134
134
|
## Default Headers
|
|
135
135
|
|
|
136
|
-
We automatically send the `Augno-Version` header set to `1.0.forge-preview.
|
|
136
|
+
We automatically send the `Augno-Version` header set to `1.0.forge-preview.3`.
|
|
137
137
|
|
|
138
138
|
If you need to, you can override it by setting default headers on a per-request basis.
|
|
139
139
|
|
package/client.js
CHANGED
|
@@ -438,7 +438,7 @@ class Augno {
|
|
|
438
438
|
{
|
|
439
439
|
Accept: 'application/json',
|
|
440
440
|
'User-Agent': this.getUserAgent(),
|
|
441
|
-
'Augno-Version': '1.0.forge-preview.
|
|
441
|
+
'Augno-Version': '1.0.forge-preview.3',
|
|
442
442
|
'Augno-Account': this.augnoAccountID,
|
|
443
443
|
},
|
|
444
444
|
await this.authHeaders(options),
|
package/client.mjs
CHANGED
|
@@ -435,7 +435,7 @@ export class Augno {
|
|
|
435
435
|
{
|
|
436
436
|
Accept: 'application/json',
|
|
437
437
|
'User-Agent': this.getUserAgent(),
|
|
438
|
-
'Augno-Version': '1.0.forge-preview.
|
|
438
|
+
'Augno-Version': '1.0.forge-preview.3',
|
|
439
439
|
'Augno-Account': this.augnoAccountID,
|
|
440
440
|
},
|
|
441
441
|
await this.authHeaders(options),
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ export declare class Actions extends APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
29
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* BulkUpsertItemCategoriesRequest is the request to bulk upsert item categories.
|
|
@@ -83,9 +83,15 @@ export interface UpsertItemCategoryInput {
|
|
|
83
83
|
}
|
|
84
84
|
export interface ActionBulkUpsertParams {
|
|
85
85
|
/**
|
|
86
|
-
* Item categories to create or update, matched by name within the
|
|
86
|
+
* Body param: Item categories to create or update, matched by name within the
|
|
87
|
+
* account.
|
|
87
88
|
*/
|
|
88
89
|
item_categories: Array<UpsertItemCategoryInput>;
|
|
90
|
+
/**
|
|
91
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
92
|
+
* are returned as `null`.
|
|
93
|
+
*/
|
|
94
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
89
95
|
}
|
|
90
96
|
export declare namespace Actions {
|
|
91
97
|
export { type BulkUpsertItemCategoriesRequest as BulkUpsertItemCategoriesRequest, type ObjectIdentifier as ObjectIdentifier, type UpsertItemCategoryInput as UpsertItemCategoryInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAQ9F;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,eAAe,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CACjD;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;;;OAKG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,mBAAmB,GAAG,kBAAkB,CAAC;IAE/C;;;OAGG;IACH,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,eAAe,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAEhD;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -26,7 +26,7 @@ export declare class Actions extends APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
29
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* BulkUpsertItemCategoriesRequest is the request to bulk upsert item categories.
|
|
@@ -83,9 +83,15 @@ export interface UpsertItemCategoryInput {
|
|
|
83
83
|
}
|
|
84
84
|
export interface ActionBulkUpsertParams {
|
|
85
85
|
/**
|
|
86
|
-
* Item categories to create or update, matched by name within the
|
|
86
|
+
* Body param: Item categories to create or update, matched by name within the
|
|
87
|
+
* account.
|
|
87
88
|
*/
|
|
88
89
|
item_categories: Array<UpsertItemCategoryInput>;
|
|
90
|
+
/**
|
|
91
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
92
|
+
* are returned as `null`.
|
|
93
|
+
*/
|
|
94
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
89
95
|
}
|
|
90
96
|
export declare namespace Actions {
|
|
91
97
|
export { type BulkUpsertItemCategoriesRequest as BulkUpsertItemCategoriesRequest, type ObjectIdentifier as ObjectIdentifier, type UpsertItemCategoryInput as UpsertItemCategoryInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAQ9F;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,eAAe,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CACjD;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;;;OAKG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,mBAAmB,GAAG,kBAAkB,CAAC;IAE/C;;;OAGG;IACH,UAAU,EAAE,gBAAgB,CAAC;CAC9B;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,eAAe,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAEhD;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -27,8 +27,13 @@ class Actions extends resource_1.APIResource {
|
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
bulkUpsert(
|
|
31
|
-
|
|
30
|
+
bulkUpsert(params, options) {
|
|
31
|
+
const { include, ...body } = params;
|
|
32
|
+
return this._client.post('/v1/catalog/item-categories/actions/bulk-upsert', {
|
|
33
|
+
query: { include },
|
|
34
|
+
body,
|
|
35
|
+
...options,
|
|
36
|
+
});
|
|
32
37
|
}
|
|
33
38
|
}
|
|
34
39
|
exports.Actions = Actions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iDAAiD,EAAE;YAC1E,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA7BD,0BA6BC"}
|
|
@@ -24,8 +24,13 @@ export class Actions extends APIResource {
|
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
bulkUpsert(
|
|
28
|
-
|
|
27
|
+
bulkUpsert(params, options) {
|
|
28
|
+
const { include, ...body } = params;
|
|
29
|
+
return this._client.post('/v1/catalog/item-categories/actions/bulk-upsert', {
|
|
30
|
+
query: { include },
|
|
31
|
+
body,
|
|
32
|
+
...options,
|
|
33
|
+
});
|
|
29
34
|
}
|
|
30
35
|
}
|
|
31
36
|
//# sourceMappingURL=actions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iDAAiD,EAAE;YAC1E,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -26,7 +26,7 @@ export declare class Actions extends APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
29
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Request to bulk upsert materials.
|
|
@@ -108,9 +108,14 @@ export interface UpsertMaterialProperty {
|
|
|
108
108
|
}
|
|
109
109
|
export interface ActionBulkUpsertParams {
|
|
110
110
|
/**
|
|
111
|
-
* Materials to create or update, matched by SKU within the account.
|
|
111
|
+
* Body param: Materials to create or update, matched by SKU within the account.
|
|
112
112
|
*/
|
|
113
113
|
materials: Array<UpsertMaterialInput>;
|
|
114
|
+
/**
|
|
115
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
116
|
+
* are returned as `null`.
|
|
117
|
+
*/
|
|
118
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
114
119
|
}
|
|
115
120
|
export declare namespace Actions {
|
|
116
121
|
export { type BulkUpsertMaterialsRequest as BulkUpsertMaterialsRequest, type UpsertMaterialInput as UpsertMaterialInput, type UpsertMaterialProperty as UpsertMaterialProperty, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/materials/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE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,UAAU,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAEtC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -26,7 +26,7 @@ export declare class Actions extends APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
29
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Request to bulk upsert materials.
|
|
@@ -108,9 +108,14 @@ export interface UpsertMaterialProperty {
|
|
|
108
108
|
}
|
|
109
109
|
export interface ActionBulkUpsertParams {
|
|
110
110
|
/**
|
|
111
|
-
* Materials to create or update, matched by SKU within the account.
|
|
111
|
+
* Body param: Materials to create or update, matched by SKU within the account.
|
|
112
112
|
*/
|
|
113
113
|
materials: Array<UpsertMaterialInput>;
|
|
114
|
+
/**
|
|
115
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
116
|
+
* are returned as `null`.
|
|
117
|
+
*/
|
|
118
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
114
119
|
}
|
|
115
120
|
export declare namespace Actions {
|
|
116
121
|
export { type BulkUpsertMaterialsRequest as BulkUpsertMaterialsRequest, type UpsertMaterialInput as UpsertMaterialInput, type UpsertMaterialProperty as UpsertMaterialProperty, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/materials/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/materials/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAQ9F;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAEtC;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAE1C;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC,oBAAoB,CAAC;IAE9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC,oBAAoB,CAAC;IAEhD;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;IAEnC;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAEtC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -25,8 +25,13 @@ class Actions extends resource_1.APIResource {
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
bulkUpsert(
|
|
29
|
-
|
|
28
|
+
bulkUpsert(params, options) {
|
|
29
|
+
const { include, ...body } = params;
|
|
30
|
+
return this._client.post('/v1/catalog/materials/actions/bulk-upsert', {
|
|
31
|
+
query: { include },
|
|
32
|
+
body,
|
|
33
|
+
...options,
|
|
34
|
+
});
|
|
30
35
|
}
|
|
31
36
|
}
|
|
32
37
|
exports.Actions = Actions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/materials/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAOrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/materials/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAOrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2CAA2C,EAAE;YACpE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3BD,0BA2BC"}
|
|
@@ -22,8 +22,13 @@ export class Actions extends APIResource {
|
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
|
-
bulkUpsert(
|
|
26
|
-
|
|
25
|
+
bulkUpsert(params, options) {
|
|
26
|
+
const { include, ...body } = params;
|
|
27
|
+
return this._client.post('/v1/catalog/materials/actions/bulk-upsert', {
|
|
28
|
+
query: { include },
|
|
29
|
+
body,
|
|
30
|
+
...options,
|
|
31
|
+
});
|
|
27
32
|
}
|
|
28
33
|
}
|
|
29
34
|
//# sourceMappingURL=actions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/materials/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/materials/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2CAA2C,EAAE;YACpE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -25,7 +25,7 @@ export declare class Actions extends APIResource {
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
bulkUpsert(
|
|
28
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* BulkUpsertPartsRequest is the request to bulk upsert parts.
|
|
@@ -98,9 +98,14 @@ export interface UpsertPartProperty {
|
|
|
98
98
|
}
|
|
99
99
|
export interface ActionBulkUpsertParams {
|
|
100
100
|
/**
|
|
101
|
-
* Parts to create or update, matched by SKU within the account.
|
|
101
|
+
* Body param: Parts to create or update, matched by SKU within the account.
|
|
102
102
|
*/
|
|
103
103
|
parts: Array<UpsertPartInput>;
|
|
104
|
+
/**
|
|
105
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
106
|
+
* are returned as `null`.
|
|
107
|
+
*/
|
|
108
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
104
109
|
}
|
|
105
110
|
export declare namespace Actions {
|
|
106
111
|
export { type BulkUpsertPartsRequest as BulkUpsertPartsRequest, type UpsertPartInput as UpsertPartInput, type UpsertPartProperty as UpsertPartProperty, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/parts/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/parts/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAQ9F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAEtC;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAEtC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;IAEnC;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAE9B;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -25,7 +25,7 @@ export declare class Actions extends APIResource {
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
bulkUpsert(
|
|
28
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* BulkUpsertPartsRequest is the request to bulk upsert parts.
|
|
@@ -98,9 +98,14 @@ export interface UpsertPartProperty {
|
|
|
98
98
|
}
|
|
99
99
|
export interface ActionBulkUpsertParams {
|
|
100
100
|
/**
|
|
101
|
-
* Parts to create or update, matched by SKU within the account.
|
|
101
|
+
* Body param: Parts to create or update, matched by SKU within the account.
|
|
102
102
|
*/
|
|
103
103
|
parts: Array<UpsertPartInput>;
|
|
104
|
+
/**
|
|
105
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
106
|
+
* are returned as `null`.
|
|
107
|
+
*/
|
|
108
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
104
109
|
}
|
|
105
110
|
export declare namespace Actions {
|
|
106
111
|
export { type BulkUpsertPartsRequest as BulkUpsertPartsRequest, type UpsertPartInput as UpsertPartInput, type UpsertPartProperty as UpsertPartProperty, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/parts/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/parts/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAQ9F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;IAEtC;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAEtC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;IAEnC;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC;CACrC;AAED;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAE9B;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -24,8 +24,13 @@ class Actions extends resource_1.APIResource {
|
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
bulkUpsert(
|
|
28
|
-
|
|
27
|
+
bulkUpsert(params, options) {
|
|
28
|
+
const { include, ...body } = params;
|
|
29
|
+
return this._client.post('/v1/catalog/parts/actions/bulk-upsert', {
|
|
30
|
+
query: { include },
|
|
31
|
+
body,
|
|
32
|
+
...options,
|
|
33
|
+
});
|
|
29
34
|
}
|
|
30
35
|
}
|
|
31
36
|
exports.Actions = Actions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/parts/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAOrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/parts/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAOrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA1BD,0BA0BC"}
|
|
@@ -21,8 +21,13 @@ export class Actions extends APIResource {
|
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
bulkUpsert(
|
|
25
|
-
|
|
24
|
+
bulkUpsert(params, options) {
|
|
25
|
+
const { include, ...body } = params;
|
|
26
|
+
return this._client.post('/v1/catalog/parts/actions/bulk-upsert', {
|
|
27
|
+
query: { include },
|
|
28
|
+
body,
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
26
31
|
}
|
|
27
32
|
}
|
|
28
33
|
//# sourceMappingURL=actions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/parts/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/parts/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -26,7 +26,7 @@ export declare class Actions extends APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
29
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* BulkUpsertProductLinesRequest is the request to bulk upsert product lines.
|
|
@@ -72,9 +72,15 @@ export interface UpsertProductLineInput {
|
|
|
72
72
|
}
|
|
73
73
|
export interface ActionBulkUpsertParams {
|
|
74
74
|
/**
|
|
75
|
-
* Product lines to create or update, matched by name within the
|
|
75
|
+
* Body param: Product lines to create or update, matched by name within the
|
|
76
|
+
* account.
|
|
76
77
|
*/
|
|
77
78
|
product_lines: Array<UpsertProductLineInput>;
|
|
79
|
+
/**
|
|
80
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
81
|
+
* are returned as `null`.
|
|
82
|
+
*/
|
|
83
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
78
84
|
}
|
|
79
85
|
export declare namespace Actions {
|
|
80
86
|
export { type BulkUpsertProductLinesRequest as BulkUpsertProductLinesRequest, type UpsertProductLineInput as UpsertProductLineInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/product-lines/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/product-lines/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAQ9F;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CAC9C;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;;OAMG;IACH,iBAAiB,EAAE,oBAAoB,GAAG,mBAAmB,CAAC;IAE9D;;;;;;OAMG;IACH,cAAc,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAElD;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,UAAU,EAAE,UAAU,CAAC,gBAAgB,CAAC;CACzC;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,aAAa,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAE7C;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -26,7 +26,7 @@ export declare class Actions extends APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
29
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* BulkUpsertProductLinesRequest is the request to bulk upsert product lines.
|
|
@@ -72,9 +72,15 @@ export interface UpsertProductLineInput {
|
|
|
72
72
|
}
|
|
73
73
|
export interface ActionBulkUpsertParams {
|
|
74
74
|
/**
|
|
75
|
-
* Product lines to create or update, matched by name within the
|
|
75
|
+
* Body param: Product lines to create or update, matched by name within the
|
|
76
|
+
* account.
|
|
76
77
|
*/
|
|
77
78
|
product_lines: Array<UpsertProductLineInput>;
|
|
79
|
+
/**
|
|
80
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
81
|
+
* are returned as `null`.
|
|
82
|
+
*/
|
|
83
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
78
84
|
}
|
|
79
85
|
export declare namespace Actions {
|
|
80
86
|
export { type BulkUpsertProductLinesRequest as BulkUpsertProductLinesRequest, type UpsertProductLineInput as UpsertProductLineInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/product-lines/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/product-lines/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAQ9F;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CAC9C;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;;OAMG;IACH,iBAAiB,EAAE,oBAAoB,GAAG,mBAAmB,CAAC;IAE9D;;;;;;OAMG;IACH,cAAc,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAElD;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,UAAU,EAAE,UAAU,CAAC,gBAAgB,CAAC;CACzC;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,aAAa,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAE7C;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -26,8 +26,13 @@ class Actions extends resource_1.APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
30
|
-
|
|
29
|
+
bulkUpsert(params, options) {
|
|
30
|
+
const { include, ...body } = params;
|
|
31
|
+
return this._client.post('/v1/catalog/product-lines/actions/bulk-upsert', {
|
|
32
|
+
query: { include },
|
|
33
|
+
body,
|
|
34
|
+
...options,
|
|
35
|
+
});
|
|
31
36
|
}
|
|
32
37
|
}
|
|
33
38
|
exports.Actions = Actions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/product-lines/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAMrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/product-lines/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAMrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+CAA+C,EAAE;YACxE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA5BD,0BA4BC"}
|
|
@@ -23,8 +23,13 @@ export class Actions extends APIResource {
|
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
|
-
bulkUpsert(
|
|
27
|
-
|
|
26
|
+
bulkUpsert(params, options) {
|
|
27
|
+
const { include, ...body } = params;
|
|
28
|
+
return this._client.post('/v1/catalog/product-lines/actions/bulk-upsert', {
|
|
29
|
+
query: { include },
|
|
30
|
+
body,
|
|
31
|
+
...options,
|
|
32
|
+
});
|
|
28
33
|
}
|
|
29
34
|
}
|
|
30
35
|
//# sourceMappingURL=actions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/product-lines/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/product-lines/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+CAA+C,EAAE;YACxE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -26,7 +26,7 @@ export declare class Actions extends APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
29
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Request to bulk upsert products.
|
|
@@ -114,9 +114,14 @@ export interface UpsertProductProperty {
|
|
|
114
114
|
}
|
|
115
115
|
export interface ActionBulkUpsertParams {
|
|
116
116
|
/**
|
|
117
|
-
* Products to create or update, matched by SKU within the account.
|
|
117
|
+
* Body param: Products to create or update, matched by SKU within the account.
|
|
118
118
|
*/
|
|
119
119
|
products: Array<UpsertProductInput>;
|
|
120
|
+
/**
|
|
121
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
122
|
+
* are returned as `null`.
|
|
123
|
+
*/
|
|
124
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
120
125
|
}
|
|
121
126
|
export declare namespace Actions {
|
|
122
127
|
export { type BulkUpsertProductsRequest as BulkUpsertProductsRequest, type UpsertProductInput as UpsertProductInput, type UpsertProductProperty as UpsertProductProperty, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/products/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/products/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;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;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -26,7 +26,7 @@ export declare class Actions extends APIResource {
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
bulkUpsert(
|
|
29
|
+
bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Request to bulk upsert products.
|
|
@@ -114,9 +114,14 @@ export interface UpsertProductProperty {
|
|
|
114
114
|
}
|
|
115
115
|
export interface ActionBulkUpsertParams {
|
|
116
116
|
/**
|
|
117
|
-
* Products to create or update, matched by SKU within the account.
|
|
117
|
+
* Body param: Products to create or update, matched by SKU within the account.
|
|
118
118
|
*/
|
|
119
119
|
products: Array<UpsertProductInput>;
|
|
120
|
+
/**
|
|
121
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
122
|
+
* are returned as `null`.
|
|
123
|
+
*/
|
|
124
|
+
include?: Array<'created_by' | 'created_by.role'>;
|
|
120
125
|
}
|
|
121
126
|
export declare namespace Actions {
|
|
122
127
|
export { type BulkUpsertProductsRequest as BulkUpsertProductsRequest, type UpsertProductInput as UpsertProductInput, type UpsertProductProperty as UpsertProductProperty, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/products/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cA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