@augno/sdk 0.13.4 → 0.14.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 +3 -3
- package/package.json +1 -1
- package/resources/catalog/catalog.d.mts +10 -10
- package/resources/catalog/catalog.d.mts.map +1 -1
- package/resources/catalog/catalog.d.ts +10 -10
- package/resources/catalog/catalog.d.ts.map +1 -1
- package/resources/catalog/catalog.js +10 -10
- package/resources/catalog/catalog.js.map +1 -1
- package/resources/catalog/catalog.mjs +10 -10
- package/resources/catalog/catalog.mjs.map +1 -1
- package/resources/catalog/index.d.mts +5 -5
- package/resources/catalog/index.d.ts +5 -5
- package/resources/catalog/index.js +14 -14
- package/resources/catalog/index.js.map +1 -1
- package/resources/catalog/index.mjs +5 -5
- package/resources/catalog/item-categories/actions.d.mts +93 -0
- package/resources/catalog/item-categories/actions.d.mts.map +1 -0
- package/resources/catalog/item-categories/actions.d.ts +93 -0
- package/resources/catalog/item-categories/actions.d.ts.map +1 -0
- package/resources/catalog/item-categories/actions.js +35 -0
- package/resources/catalog/item-categories/actions.js.map +1 -0
- package/resources/catalog/item-categories/actions.mjs +31 -0
- package/resources/catalog/item-categories/actions.mjs.map +1 -0
- package/resources/catalog/item-categories/index.d.mts +1 -0
- package/resources/catalog/item-categories/index.d.mts.map +1 -1
- package/resources/catalog/item-categories/index.d.ts +1 -0
- package/resources/catalog/item-categories/index.d.ts.map +1 -1
- package/resources/catalog/item-categories/index.js +3 -1
- package/resources/catalog/item-categories/index.js.map +1 -1
- package/resources/catalog/item-categories/index.mjs +1 -0
- package/resources/catalog/item-categories/index.mjs.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.mts +4 -0
- package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.ts +4 -0
- package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories/item-categories.js +4 -0
- package/resources/catalog/item-categories/item-categories.js.map +1 -1
- package/resources/catalog/item-categories/item-categories.mjs +4 -0
- package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
- package/resources/catalog/items/items.d.mts +1 -1
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +1 -1
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs.map +1 -1
- package/resources/catalog/materials/actions.d.mts +118 -0
- package/resources/catalog/materials/actions.d.mts.map +1 -0
- package/resources/catalog/materials/actions.d.ts +118 -0
- package/resources/catalog/materials/actions.d.ts.map +1 -0
- package/resources/catalog/materials/actions.js +33 -0
- package/resources/catalog/materials/actions.js.map +1 -0
- package/resources/catalog/materials/actions.mjs +29 -0
- package/resources/catalog/materials/actions.mjs.map +1 -0
- package/resources/catalog/materials/index.d.mts +3 -0
- package/resources/catalog/materials/index.d.mts.map +1 -0
- package/resources/catalog/materials/index.d.ts +3 -0
- package/resources/catalog/materials/index.d.ts.map +1 -0
- package/resources/catalog/materials/index.js +9 -0
- package/resources/catalog/materials/index.js.map +1 -0
- package/resources/catalog/materials/index.mjs +4 -0
- package/resources/catalog/materials/index.mjs.map +1 -0
- package/resources/catalog/materials/materials.d.mts +483 -0
- package/resources/catalog/materials/materials.d.mts.map +1 -0
- package/resources/catalog/materials/materials.d.ts +483 -0
- package/resources/catalog/materials/materials.d.ts.map +1 -0
- package/resources/catalog/materials/materials.js +159 -0
- package/resources/catalog/materials/materials.js.map +1 -0
- package/resources/catalog/materials/materials.mjs +154 -0
- package/resources/catalog/materials/materials.mjs.map +1 -0
- package/resources/catalog/materials.d.mts +1 -478
- package/resources/catalog/materials.d.mts.map +1 -1
- package/resources/catalog/materials.d.ts +1 -478
- package/resources/catalog/materials.d.ts.map +1 -1
- package/resources/catalog/materials.js +2 -147
- package/resources/catalog/materials.js.map +1 -1
- package/resources/catalog/materials.mjs +1 -145
- package/resources/catalog/materials.mjs.map +1 -1
- package/resources/catalog/parts/actions.d.mts +108 -0
- package/resources/catalog/parts/actions.d.mts.map +1 -0
- package/resources/catalog/parts/actions.d.ts +108 -0
- package/resources/catalog/parts/actions.d.ts.map +1 -0
- package/resources/catalog/parts/actions.js +32 -0
- package/resources/catalog/parts/actions.js.map +1 -0
- package/resources/catalog/parts/actions.mjs +28 -0
- package/resources/catalog/parts/actions.mjs.map +1 -0
- package/resources/catalog/parts/index.d.mts +3 -0
- package/resources/catalog/parts/index.d.mts.map +1 -0
- package/resources/catalog/parts/index.d.ts +3 -0
- package/resources/catalog/parts/index.d.ts.map +1 -0
- package/resources/catalog/parts/index.js +9 -0
- package/resources/catalog/parts/index.js.map +1 -0
- package/resources/catalog/parts/index.mjs +4 -0
- package/resources/catalog/parts/index.mjs.map +1 -0
- package/resources/catalog/parts/parts.d.mts +362 -0
- package/resources/catalog/parts/parts.d.mts.map +1 -0
- package/resources/catalog/parts/parts.d.ts +362 -0
- package/resources/catalog/parts/parts.d.ts.map +1 -0
- package/resources/catalog/parts/parts.js +138 -0
- package/resources/catalog/parts/parts.js.map +1 -0
- package/resources/catalog/parts/parts.mjs +133 -0
- package/resources/catalog/parts/parts.mjs.map +1 -0
- package/resources/catalog/parts.d.mts +1 -357
- package/resources/catalog/parts.d.mts.map +1 -1
- package/resources/catalog/parts.d.ts +1 -357
- package/resources/catalog/parts.d.ts.map +1 -1
- package/resources/catalog/parts.js +2 -126
- package/resources/catalog/parts.js.map +1 -1
- package/resources/catalog/parts.mjs +1 -124
- package/resources/catalog/parts.mjs.map +1 -1
- package/resources/catalog/product-lines/actions.d.mts +82 -0
- package/resources/catalog/product-lines/actions.d.mts.map +1 -0
- package/resources/catalog/product-lines/actions.d.ts +82 -0
- package/resources/catalog/product-lines/actions.d.ts.map +1 -0
- package/resources/catalog/product-lines/actions.js +34 -0
- package/resources/catalog/product-lines/actions.js.map +1 -0
- package/resources/catalog/product-lines/actions.mjs +30 -0
- package/resources/catalog/product-lines/actions.mjs.map +1 -0
- package/resources/catalog/product-lines/index.d.mts +3 -0
- package/resources/catalog/product-lines/index.d.mts.map +1 -0
- package/resources/catalog/product-lines/index.d.ts +3 -0
- package/resources/catalog/product-lines/index.d.ts.map +1 -0
- package/resources/catalog/product-lines/index.js +9 -0
- package/resources/catalog/product-lines/index.js.map +1 -0
- package/resources/catalog/product-lines/index.mjs +4 -0
- package/resources/catalog/product-lines/index.mjs.map +1 -0
- package/resources/catalog/product-lines/product-lines.d.mts +448 -0
- package/resources/catalog/product-lines/product-lines.d.mts.map +1 -0
- package/resources/catalog/product-lines/product-lines.d.ts +448 -0
- package/resources/catalog/product-lines/product-lines.d.ts.map +1 -0
- package/resources/catalog/product-lines/product-lines.js +136 -0
- package/resources/catalog/product-lines/product-lines.js.map +1 -0
- package/resources/catalog/product-lines/product-lines.mjs +131 -0
- package/resources/catalog/product-lines/product-lines.mjs.map +1 -0
- package/resources/catalog/product-lines.d.mts +1 -443
- package/resources/catalog/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines.d.ts +1 -443
- package/resources/catalog/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines.js +2 -124
- package/resources/catalog/product-lines.js.map +1 -1
- package/resources/catalog/product-lines.mjs +1 -122
- package/resources/catalog/product-lines.mjs.map +1 -1
- package/resources/catalog/products/actions.d.mts +124 -0
- package/resources/catalog/products/actions.d.mts.map +1 -0
- package/resources/catalog/products/actions.d.ts +124 -0
- package/resources/catalog/products/actions.d.ts.map +1 -0
- package/resources/catalog/products/actions.js +33 -0
- package/resources/catalog/products/actions.js.map +1 -0
- package/resources/catalog/products/actions.mjs +29 -0
- package/resources/catalog/products/actions.mjs.map +1 -0
- package/resources/catalog/products/index.d.mts +3 -0
- package/resources/catalog/products/index.d.mts.map +1 -0
- package/resources/catalog/products/index.d.ts +3 -0
- package/resources/catalog/products/index.d.ts.map +1 -0
- package/resources/catalog/products/index.js +9 -0
- package/resources/catalog/products/index.js.map +1 -0
- package/resources/catalog/products/index.mjs +4 -0
- package/resources/catalog/products/index.mjs.map +1 -0
- package/resources/catalog/products/products.d.mts +585 -0
- package/resources/catalog/products/products.d.mts.map +1 -0
- package/resources/catalog/products/products.d.ts +585 -0
- package/resources/catalog/products/products.d.ts.map +1 -0
- package/resources/catalog/products/products.js +185 -0
- package/resources/catalog/products/products.js.map +1 -0
- package/resources/catalog/products/products.mjs +180 -0
- package/resources/catalog/products/products.mjs.map +1 -0
- package/resources/catalog/products.d.mts +1 -580
- package/resources/catalog/products.d.mts.map +1 -1
- package/resources/catalog/products.d.ts +1 -580
- package/resources/catalog/products.d.ts.map +1 -1
- package/resources/catalog/products.js +2 -173
- package/resources/catalog/products.js.map +1 -1
- package/resources/catalog/products.mjs +1 -171
- package/resources/catalog/products.mjs.map +1 -1
- package/resources/catalog/properties/actions.d.mts +86 -0
- package/resources/catalog/properties/actions.d.mts.map +1 -0
- package/resources/catalog/properties/actions.d.ts +86 -0
- package/resources/catalog/properties/actions.d.ts.map +1 -0
- package/resources/catalog/properties/actions.js +33 -0
- package/resources/catalog/properties/actions.js.map +1 -0
- package/resources/catalog/properties/actions.mjs +29 -0
- package/resources/catalog/properties/actions.mjs.map +1 -0
- package/resources/catalog/properties/index.d.mts +1 -0
- package/resources/catalog/properties/index.d.mts.map +1 -1
- package/resources/catalog/properties/index.d.ts +1 -0
- package/resources/catalog/properties/index.d.ts.map +1 -1
- package/resources/catalog/properties/index.js +3 -1
- package/resources/catalog/properties/index.js.map +1 -1
- package/resources/catalog/properties/index.mjs +1 -0
- package/resources/catalog/properties/index.mjs.map +1 -1
- package/resources/catalog/properties/properties.d.mts +4 -0
- package/resources/catalog/properties/properties.d.mts.map +1 -1
- package/resources/catalog/properties/properties.d.ts +4 -0
- package/resources/catalog/properties/properties.d.ts.map +1 -1
- package/resources/catalog/properties/properties.js +4 -0
- package/resources/catalog/properties/properties.js.map +1 -1
- package/resources/catalog/properties/properties.mjs +4 -0
- package/resources/catalog/properties/properties.mjs.map +1 -1
- package/resources/catalog/unit-groups/actions.d.mts +116 -0
- package/resources/catalog/unit-groups/actions.d.mts.map +1 -0
- package/resources/catalog/unit-groups/actions.d.ts +116 -0
- package/resources/catalog/unit-groups/actions.d.ts.map +1 -0
- package/resources/catalog/unit-groups/actions.js +39 -0
- package/resources/catalog/unit-groups/actions.js.map +1 -0
- package/resources/catalog/unit-groups/actions.mjs +35 -0
- package/resources/catalog/unit-groups/actions.mjs.map +1 -0
- package/resources/catalog/unit-groups/index.d.mts +1 -0
- package/resources/catalog/unit-groups/index.d.mts.map +1 -1
- package/resources/catalog/unit-groups/index.d.ts +1 -0
- package/resources/catalog/unit-groups/index.d.ts.map +1 -1
- package/resources/catalog/unit-groups/index.js +3 -1
- package/resources/catalog/unit-groups/index.js.map +1 -1
- package/resources/catalog/unit-groups/index.mjs +1 -0
- package/resources/catalog/unit-groups/index.mjs.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.mts +9 -5
- package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.ts +9 -5
- package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.js +6 -2
- package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.mjs +6 -2
- package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
- package/resources/catalog/units/actions.d.mts +91 -0
- package/resources/catalog/units/actions.d.mts.map +1 -0
- package/resources/catalog/units/actions.d.ts +91 -0
- package/resources/catalog/units/actions.d.ts.map +1 -0
- package/resources/catalog/units/actions.js +37 -0
- package/resources/catalog/units/actions.js.map +1 -0
- package/resources/catalog/units/actions.mjs +33 -0
- package/resources/catalog/units/actions.mjs.map +1 -0
- package/resources/catalog/units/index.d.mts +3 -0
- package/resources/catalog/units/index.d.mts.map +1 -0
- package/resources/catalog/units/index.d.ts +3 -0
- package/resources/catalog/units/index.d.ts.map +1 -0
- package/resources/catalog/units/index.js +9 -0
- package/resources/catalog/units/index.js.map +1 -0
- package/resources/catalog/units/index.mjs +4 -0
- package/resources/catalog/units/index.mjs.map +1 -0
- package/resources/catalog/units/units.d.mts +449 -0
- package/resources/catalog/units/units.d.mts.map +1 -0
- package/resources/catalog/units/units.d.ts +449 -0
- package/resources/catalog/units/units.d.ts.map +1 -0
- package/resources/catalog/units/units.js +122 -0
- package/resources/catalog/units/units.js.map +1 -0
- package/resources/catalog/units/units.mjs +117 -0
- package/resources/catalog/units/units.mjs.map +1 -0
- package/resources/catalog/units.d.mts +1 -444
- package/resources/catalog/units.d.mts.map +1 -1
- package/resources/catalog/units.d.ts +1 -444
- package/resources/catalog/units.d.ts.map +1 -1
- package/resources/catalog/units.js +2 -110
- package/resources/catalog/units.js.map +1 -1
- package/resources/catalog/units.mjs +1 -108
- package/resources/catalog/units.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +6 -6
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +6 -6
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/core.d.mts +6 -2
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +6 -2
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js +4 -0
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +4 -0
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/index.d.mts +1 -0
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +1 -0
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js +3 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs +1 -0
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/jobs.d.mts +236 -0
- package/resources/core/jobs.d.mts.map +1 -0
- package/resources/core/jobs.d.ts +236 -0
- package/resources/core/jobs.d.ts.map +1 -0
- package/resources/core/jobs.js +43 -0
- package/resources/core/jobs.js.map +1 -0
- package/resources/core/jobs.mjs +39 -0
- package/resources/core/jobs.mjs.map +1 -0
- 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/demand-overrides.d.mts +1 -1
- package/resources/operations/demand-overrides.d.mts.map +1 -1
- package/resources/operations/demand-overrides.d.ts +1 -1
- package/resources/operations/demand-overrides.d.ts.map +1 -1
- package/resources/operations/index.d.mts +1 -1
- package/resources/operations/index.d.ts +1 -1
- package/resources/operations/index.js +8 -8
- package/resources/operations/index.js.map +1 -1
- package/resources/operations/index.mjs +1 -1
- package/resources/operations/locations/actions.d.mts +67 -0
- package/resources/operations/locations/actions.d.mts.map +1 -0
- package/resources/operations/locations/actions.d.ts +67 -0
- package/resources/operations/locations/actions.d.ts.map +1 -0
- package/resources/operations/locations/actions.js +27 -0
- package/resources/operations/locations/actions.js.map +1 -0
- package/resources/operations/locations/actions.mjs +23 -0
- package/resources/operations/locations/actions.mjs.map +1 -0
- package/resources/operations/locations/index.d.mts +3 -0
- package/resources/operations/locations/index.d.mts.map +1 -0
- package/resources/operations/locations/index.d.ts +3 -0
- package/resources/operations/locations/index.d.ts.map +1 -0
- package/resources/operations/locations/index.js +9 -0
- package/resources/operations/locations/index.js.map +1 -0
- package/resources/operations/locations/index.mjs +4 -0
- package/resources/operations/locations/index.mjs.map +1 -0
- package/resources/operations/locations/locations.d.mts +273 -0
- package/resources/operations/locations/locations.d.mts.map +1 -0
- package/resources/operations/locations/locations.d.ts +273 -0
- package/resources/operations/locations/locations.d.ts.map +1 -0
- package/resources/operations/locations/locations.js +113 -0
- package/resources/operations/locations/locations.js.map +1 -0
- package/resources/operations/locations/locations.mjs +108 -0
- package/resources/operations/locations/locations.mjs.map +1 -0
- package/resources/operations/locations.d.mts +1 -268
- package/resources/operations/locations.d.mts.map +1 -1
- package/resources/operations/locations.d.ts +1 -268
- package/resources/operations/locations.d.ts.map +1 -1
- package/resources/operations/locations.js +2 -101
- package/resources/operations/locations.js.map +1 -1
- package/resources/operations/locations.mjs +1 -99
- package/resources/operations/locations.mjs.map +1 -1
- package/resources/operations/operations.d.mts +2 -2
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +2 -2
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.js +2 -2
- package/resources/operations/operations.js.map +1 -1
- package/resources/operations/operations.mjs +2 -2
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/scanning-stations.d.mts +12 -4
- package/resources/operations/scanning-stations.d.mts.map +1 -1
- package/resources/operations/scanning-stations.d.ts +12 -4
- package/resources/operations/scanning-stations.d.ts.map +1 -1
- package/resources/operations/shipping-terms.d.mts +1 -1
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +1 -1
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/sales/customers/customers.d.mts +1 -1
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +1 -1
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/sales-orders/lines/lines.d.mts +2 -2
- package/resources/sales/sales-orders/lines/lines.d.ts +2 -2
- package/resources/sales/sales-orders/sales-orders.d.mts +4 -4
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +4 -4
- package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
- package/src/resources/catalog/catalog.ts +51 -51
- package/src/resources/catalog/index.ts +5 -5
- package/src/resources/catalog/item-categories/actions.ts +112 -0
- package/src/resources/catalog/item-categories/index.ts +7 -0
- package/src/resources/catalog/item-categories/item-categories.ts +18 -0
- package/src/resources/catalog/items/items.ts +1 -1
- package/src/resources/catalog/materials/actions.ts +141 -0
- package/src/resources/catalog/materials/index.ts +22 -0
- package/src/resources/catalog/materials/materials.ts +633 -0
- package/src/resources/catalog/materials.ts +1 -611
- package/src/resources/catalog/parts/actions.ts +129 -0
- package/src/resources/catalog/parts/index.ts +20 -0
- package/src/resources/catalog/parts/parts.ts +476 -0
- package/src/resources/catalog/parts.ts +1 -454
- package/src/resources/catalog/product-lines/actions.ts +97 -0
- package/src/resources/catalog/product-lines/index.ts +21 -0
- package/src/resources/catalog/product-lines/product-lines.ts +552 -0
- package/src/resources/catalog/product-lines.ts +1 -532
- package/src/resources/catalog/products/actions.ts +148 -0
- package/src/resources/catalog/products/index.ts +22 -0
- package/src/resources/catalog/products/products.ts +816 -0
- package/src/resources/catalog/products.ts +1 -794
- package/src/resources/catalog/properties/actions.ts +102 -0
- package/src/resources/catalog/properties/index.ts +7 -0
- package/src/resources/catalog/properties/properties.ts +18 -0
- package/src/resources/catalog/unit-groups/actions.ts +139 -0
- package/src/resources/catalog/unit-groups/index.ts +8 -0
- package/src/resources/catalog/unit-groups/unit-groups.ts +25 -5
- package/src/resources/catalog/units/actions.ts +110 -0
- package/src/resources/catalog/units/index.ts +20 -0
- package/src/resources/catalog/units/units.ts +547 -0
- package/src/resources/catalog/units.ts +1 -532
- package/src/resources/core/audit-events.ts +8 -4
- package/src/resources/core/core.ts +17 -1
- package/src/resources/core/index.ts +9 -0
- package/src/resources/core/jobs.ts +321 -0
- package/src/resources/messaging/conversations/conversations.ts +6 -3
- package/src/resources/messaging/conversations/links.ts +4 -2
- package/src/resources/messaging/conversations/messages.ts +4 -2
- package/src/resources/messaging/notifications/notifications.ts +4 -2
- package/src/resources/operations/demand-overrides.ts +1 -1
- package/src/resources/operations/index.ts +1 -1
- package/src/resources/operations/locations/actions.ts +82 -0
- package/src/resources/operations/locations/index.ts +18 -0
- package/src/resources/operations/locations/locations.ts +344 -0
- package/src/resources/operations/locations.ts +1 -329
- package/src/resources/operations/operations.ts +11 -11
- package/src/resources/operations/scanning-stations.ts +12 -4
- package/src/resources/operations/shipping-terms.ts +1 -1
- package/src/resources/sales/customers/customers.ts +1 -1
- package/src/resources/sales/sales-orders/lines/lines.ts +2 -2
- package/src/resources/sales/sales-orders/sales-orders.ts +4 -4
- 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
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as JobsAPI from "../../core/jobs.js";
|
|
3
|
+
import * as BlocksAPI from "../../messaging/blocks.js";
|
|
4
|
+
import * as ActionsAPI from "../../catalog/item-categories/actions.js";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
7
|
+
/**
|
|
8
|
+
* List and manage locations.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Actions extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Creates or updates multiple locations for the account, matched by name
|
|
13
|
+
* (case-insensitive), then writes asynchronously — 202 with a job to poll.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const job =
|
|
18
|
+
* await client.operations.locations.actions.bulkUpsert({
|
|
19
|
+
* locations: [{ name: 'Warehouse A', type: 'building' }],
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* BulkUpsertLocationsRequest is the request to bulk upsert locations.
|
|
27
|
+
*/
|
|
28
|
+
export interface BulkUpsertLocationsRequest {
|
|
29
|
+
/**
|
|
30
|
+
* Locations to create or update, matched by name within the account.
|
|
31
|
+
*/
|
|
32
|
+
locations: Array<UpsertLocationInput>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* UpsertLocationInput is the input for a single location in a bulk upsert
|
|
36
|
+
* operation.
|
|
37
|
+
*/
|
|
38
|
+
export interface UpsertLocationInput {
|
|
39
|
+
/**
|
|
40
|
+
* Display name of the location, used to match existing locations.
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
* Location type code.
|
|
45
|
+
*/
|
|
46
|
+
type: BlocksAPI.LocationTypeCode;
|
|
47
|
+
/**
|
|
48
|
+
* Child locations to re-parent under this one, referenced by `id` or `name`, or by
|
|
49
|
+
* name for a location in the same batch. Redundant with `parent` on each child.
|
|
50
|
+
*/
|
|
51
|
+
children?: Array<ActionsAPI.ObjectIdentifier>;
|
|
52
|
+
/**
|
|
53
|
+
* -------------------------- Named Object -------------------------- Identifies an
|
|
54
|
+
* object by its id or its name. An id wins when both are given.
|
|
55
|
+
*/
|
|
56
|
+
parent?: ActionsAPI.ObjectIdentifier;
|
|
57
|
+
}
|
|
58
|
+
export interface ActionBulkUpsertParams {
|
|
59
|
+
/**
|
|
60
|
+
* Locations to create or update, matched by name within the account.
|
|
61
|
+
*/
|
|
62
|
+
locations: Array<UpsertLocationInput>;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace Actions {
|
|
65
|
+
export { type BulkUpsertLocationsRequest as BulkUpsertLocationsRequest, type UpsertLocationInput as UpsertLocationInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/operations/locations/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,SAAS;OACd,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAG5F;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC,gBAAgB,CAAC;IAEjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAE9C;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACvC;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,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Actions = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* List and manage locations.
|
|
8
|
+
*/
|
|
9
|
+
class Actions extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Creates or updates multiple locations for the account, matched by name
|
|
12
|
+
* (case-insensitive), then writes asynchronously — 202 with a job to poll.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const job =
|
|
17
|
+
* await client.operations.locations.actions.bulkUpsert({
|
|
18
|
+
* locations: [{ name: 'Warehouse A', type: 'building' }],
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
bulkUpsert(body, options) {
|
|
23
|
+
return this._client.post('/v1/operations/locations/actions/bulk-upsert', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.Actions = Actions;
|
|
27
|
+
//# sourceMappingURL=actions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/operations/locations/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAOrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;CACF;AAhBD,0BAgBC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* List and manage locations.
|
|
5
|
+
*/
|
|
6
|
+
export class Actions extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Creates or updates multiple locations for the account, matched by name
|
|
9
|
+
* (case-insensitive), then writes asynchronously — 202 with a job to poll.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const job =
|
|
14
|
+
* await client.operations.locations.actions.bulkUpsert({
|
|
15
|
+
* locations: [{ name: 'Warehouse A', type: 'building' }],
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
bulkUpsert(body, options) {
|
|
20
|
+
return this._client.post('/v1/operations/locations/actions/bulk-upsert', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=actions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/operations/locations/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;CACF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Actions, type BulkUpsertLocationsRequest, type UpsertLocationInput, type ActionBulkUpsertParams, } from "./actions.mjs";
|
|
2
|
+
export { Locations, type CreateLocationRequest, type UpdateLocationRequest, type LocationDeleteResponse, type LocationListParams, type LocationRetrieveParams, type LocationCreateParams, type LocationUpdateParams, } from "./locations.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/operations/locations/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,GAC5B;OACM,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Actions, type BulkUpsertLocationsRequest, type UpsertLocationInput, type ActionBulkUpsertParams, } from "./actions.js";
|
|
2
|
+
export { Locations, type CreateLocationRequest, type UpdateLocationRequest, type LocationDeleteResponse, type LocationListParams, type LocationRetrieveParams, type LocationCreateParams, type LocationUpdateParams, } from "./locations.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/operations/locations/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,GAC5B;OACM,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Locations = exports.Actions = void 0;
|
|
5
|
+
var actions_1 = require("./actions.js");
|
|
6
|
+
Object.defineProperty(exports, "Actions", { enumerable: true, get: function () { return actions_1.Actions; } });
|
|
7
|
+
var locations_1 = require("./locations.js");
|
|
8
|
+
Object.defineProperty(exports, "Locations", { enumerable: true, get: function () { return locations_1.Locations; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/operations/locations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAKmB;AAJjB,kGAAA,OAAO,OAAA;AAKT,4CASqB;AARnB,sGAAA,SAAS,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/operations/locations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAIR;OACM,EACL,SAAS,GAQV"}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as BlocksAPI from "../../messaging/blocks.mjs";
|
|
3
|
+
import * as ActionsAPI from "./actions.mjs";
|
|
4
|
+
import { ActionBulkUpsertParams, Actions, BulkUpsertLocationsRequest, UpsertLocationInput } from "./actions.mjs";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* List and manage locations.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Locations extends APIResource {
|
|
11
|
+
actions: ActionsAPI.Actions;
|
|
12
|
+
/**
|
|
13
|
+
* Returns a paginated list of locations in your account, newest first.
|
|
14
|
+
*
|
|
15
|
+
* Every location is returned regardless of its depth in the hierarchy, so
|
|
16
|
+
* top-level locations and their descendants appear side by side. The `q` search
|
|
17
|
+
* term matches on location name.
|
|
18
|
+
*
|
|
19
|
+
* This endpoint requires the permission: `locations:read`.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const listLocation =
|
|
24
|
+
* await client.operations.locations.list();
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
list(query?: LocationListParams | null | undefined, options?: RequestOptions): APIPromise<BlocksAPI.ListLocation>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns a location by ID.
|
|
30
|
+
*
|
|
31
|
+
* This endpoint requires the permission: `locations:read`.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const location = await client.operations.locations.retrieve(
|
|
36
|
+
* 'lc_yonnys0hx3ju',
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
retrieve(id: string, query?: LocationRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BlocksAPI.Location>;
|
|
41
|
+
/**
|
|
42
|
+
* Creates a storage location, optionally placing it in the location hierarchy.
|
|
43
|
+
*
|
|
44
|
+
* This endpoint requires the permission: `locations:create`.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const location = await client.operations.locations.create({
|
|
49
|
+
* name: 'Warehouse A',
|
|
50
|
+
* type: 'building',
|
|
51
|
+
* child_ids: ['lc_yonnys0hx3ju'],
|
|
52
|
+
* parent_id: 'lc_yonnys0hx3ju',
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
create(params: LocationCreateParams, options?: RequestOptions): APIPromise<BlocksAPI.Location>;
|
|
57
|
+
/**
|
|
58
|
+
* Partially updates a location.
|
|
59
|
+
*
|
|
60
|
+
* This endpoint requires the permission: `locations:update`.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* const location = await client.operations.locations.update(
|
|
65
|
+
* 'lc_yonnys0hx3ju',
|
|
66
|
+
* {
|
|
67
|
+
* child_ids: ['lc_yonnys0hx3ju'],
|
|
68
|
+
* name: 'Warehouse B',
|
|
69
|
+
* parent_id: 'lc_yonnys0hx3ju',
|
|
70
|
+
* type: 'section',
|
|
71
|
+
* },
|
|
72
|
+
* );
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
update(id: string, params?: LocationUpdateParams | null | undefined, options?: RequestOptions): APIPromise<BlocksAPI.Location>;
|
|
76
|
+
/**
|
|
77
|
+
* Deletes a location.
|
|
78
|
+
*
|
|
79
|
+
* Fails if the location has child locations; remove or reassign the children
|
|
80
|
+
* first.
|
|
81
|
+
*
|
|
82
|
+
* This endpoint requires the permission: `locations:delete`.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* const location = await client.operations.locations.delete(
|
|
87
|
+
* 'lc_yonnys0hx3ju',
|
|
88
|
+
* );
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
delete(id: string, options?: RequestOptions): APIPromise<LocationDeleteResponse>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Request to create a location.
|
|
95
|
+
*/
|
|
96
|
+
export interface CreateLocationRequest {
|
|
97
|
+
/**
|
|
98
|
+
* Display name of the location.
|
|
99
|
+
*
|
|
100
|
+
* Maximum 255 characters.
|
|
101
|
+
*/
|
|
102
|
+
name: string;
|
|
103
|
+
/**
|
|
104
|
+
* This location's level in the storage hierarchy.
|
|
105
|
+
*
|
|
106
|
+
* The levels run from largest to smallest: `building`, `section`, `aisle`, `rack`,
|
|
107
|
+
* `shelf`, `bin`. They are descriptive labels rather than a rule — the parent you
|
|
108
|
+
* choose is not required to be the next level up.
|
|
109
|
+
*/
|
|
110
|
+
type: BlocksAPI.LocationTypeCode;
|
|
111
|
+
/**
|
|
112
|
+
* Existing locations to attach beneath the new location.
|
|
113
|
+
*
|
|
114
|
+
* Each listed location is reparented onto the new location, detaching it from its
|
|
115
|
+
* current parent. Every ID must belong to your account.
|
|
116
|
+
*/
|
|
117
|
+
child_ids?: Array<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The location this one sits under in the storage hierarchy.
|
|
120
|
+
*
|
|
121
|
+
* Must be an existing location in your account. Omit to create a top-level
|
|
122
|
+
* location.
|
|
123
|
+
*/
|
|
124
|
+
parent_id?: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Request to partially update a location.
|
|
128
|
+
*/
|
|
129
|
+
export interface UpdateLocationRequest {
|
|
130
|
+
/**
|
|
131
|
+
* The locations that sit directly beneath this one.
|
|
132
|
+
*
|
|
133
|
+
* This replaces the full set of children: current children that are not listed are
|
|
134
|
+
* detached and become top-level locations, and listed locations are reparented
|
|
135
|
+
* onto this location. Send `null` to detach every child. Omit the field to leave
|
|
136
|
+
* the existing children untouched.
|
|
137
|
+
*/
|
|
138
|
+
child_ids?: Array<string> | null;
|
|
139
|
+
/**
|
|
140
|
+
* Display name of the location.
|
|
141
|
+
*
|
|
142
|
+
* Maximum 255 characters.
|
|
143
|
+
*/
|
|
144
|
+
name?: string;
|
|
145
|
+
/**
|
|
146
|
+
* The location this one sits under in the storage hierarchy.
|
|
147
|
+
*
|
|
148
|
+
* Must be an existing location in your account, and cannot be the location being
|
|
149
|
+
* updated. Send `null` to detach it from its parent and make it a top-level
|
|
150
|
+
* location.
|
|
151
|
+
*/
|
|
152
|
+
parent_id?: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* This location's level in the storage hierarchy.
|
|
155
|
+
*
|
|
156
|
+
* The levels run from largest to smallest: `building`, `section`, `aisle`, `rack`,
|
|
157
|
+
* `shelf`, `bin`. They are descriptive labels rather than a rule — the parent is
|
|
158
|
+
* not required to be the next level up.
|
|
159
|
+
*/
|
|
160
|
+
type?: BlocksAPI.LocationTypeCode;
|
|
161
|
+
}
|
|
162
|
+
export interface LocationDeleteResponse {
|
|
163
|
+
}
|
|
164
|
+
export interface LocationListParams {
|
|
165
|
+
/**
|
|
166
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
167
|
+
*
|
|
168
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
169
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
170
|
+
* page.
|
|
171
|
+
*/
|
|
172
|
+
cursor?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
175
|
+
* `null`.
|
|
176
|
+
*/
|
|
177
|
+
include?: Array<'parent' | 'children'>;
|
|
178
|
+
/**
|
|
179
|
+
* Maximum number of results to return in a single page.
|
|
180
|
+
*/
|
|
181
|
+
limit?: number;
|
|
182
|
+
/**
|
|
183
|
+
* Free-text search term used to filter results.
|
|
184
|
+
*
|
|
185
|
+
* Which fields are matched against the term varies by endpoint.
|
|
186
|
+
*/
|
|
187
|
+
q?: string;
|
|
188
|
+
}
|
|
189
|
+
export interface LocationRetrieveParams {
|
|
190
|
+
/**
|
|
191
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
192
|
+
* `null`.
|
|
193
|
+
*/
|
|
194
|
+
include?: Array<'parent' | 'children'>;
|
|
195
|
+
}
|
|
196
|
+
export interface LocationCreateParams {
|
|
197
|
+
/**
|
|
198
|
+
* Body param: Display name of the location.
|
|
199
|
+
*
|
|
200
|
+
* Maximum 255 characters.
|
|
201
|
+
*/
|
|
202
|
+
name: string;
|
|
203
|
+
/**
|
|
204
|
+
* Body param: This location's level in the storage hierarchy.
|
|
205
|
+
*
|
|
206
|
+
* The levels run from largest to smallest: `building`, `section`, `aisle`, `rack`,
|
|
207
|
+
* `shelf`, `bin`. They are descriptive labels rather than a rule — the parent you
|
|
208
|
+
* choose is not required to be the next level up.
|
|
209
|
+
*/
|
|
210
|
+
type: BlocksAPI.LocationTypeCode;
|
|
211
|
+
/**
|
|
212
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
213
|
+
* are returned as `null`.
|
|
214
|
+
*/
|
|
215
|
+
include?: Array<'parent' | 'children'>;
|
|
216
|
+
/**
|
|
217
|
+
* Body param: Existing locations to attach beneath the new location.
|
|
218
|
+
*
|
|
219
|
+
* Each listed location is reparented onto the new location, detaching it from its
|
|
220
|
+
* current parent. Every ID must belong to your account.
|
|
221
|
+
*/
|
|
222
|
+
child_ids?: Array<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Body param: The location this one sits under in the storage hierarchy.
|
|
225
|
+
*
|
|
226
|
+
* Must be an existing location in your account. Omit to create a top-level
|
|
227
|
+
* location.
|
|
228
|
+
*/
|
|
229
|
+
parent_id?: string;
|
|
230
|
+
}
|
|
231
|
+
export interface LocationUpdateParams {
|
|
232
|
+
/**
|
|
233
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
234
|
+
* are returned as `null`.
|
|
235
|
+
*/
|
|
236
|
+
include?: Array<'parent' | 'children'>;
|
|
237
|
+
/**
|
|
238
|
+
* Body param: The locations that sit directly beneath this one.
|
|
239
|
+
*
|
|
240
|
+
* This replaces the full set of children: current children that are not listed are
|
|
241
|
+
* detached and become top-level locations, and listed locations are reparented
|
|
242
|
+
* onto this location. Send `null` to detach every child. Omit the field to leave
|
|
243
|
+
* the existing children untouched.
|
|
244
|
+
*/
|
|
245
|
+
child_ids?: Array<string> | null;
|
|
246
|
+
/**
|
|
247
|
+
* Body param: Display name of the location.
|
|
248
|
+
*
|
|
249
|
+
* Maximum 255 characters.
|
|
250
|
+
*/
|
|
251
|
+
name?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Body param: The location this one sits under in the storage hierarchy.
|
|
254
|
+
*
|
|
255
|
+
* Must be an existing location in your account, and cannot be the location being
|
|
256
|
+
* updated. Send `null` to detach it from its parent and make it a top-level
|
|
257
|
+
* location.
|
|
258
|
+
*/
|
|
259
|
+
parent_id?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* Body param: This location's level in the storage hierarchy.
|
|
262
|
+
*
|
|
263
|
+
* The levels run from largest to smallest: `building`, `section`, `aisle`, `rack`,
|
|
264
|
+
* `shelf`, `bin`. They are descriptive labels rather than a rule — the parent is
|
|
265
|
+
* not required to be the next level up.
|
|
266
|
+
*/
|
|
267
|
+
type?: BlocksAPI.LocationTypeCode;
|
|
268
|
+
}
|
|
269
|
+
export declare namespace Locations {
|
|
270
|
+
export { type CreateLocationRequest as CreateLocationRequest, type UpdateLocationRequest as UpdateLocationRequest, type LocationDeleteResponse as LocationDeleteResponse, type LocationListParams as LocationListParams, type LocationRetrieveParams as LocationRetrieveParams, type LocationCreateParams as LocationCreateParams, type LocationUpdateParams as LocationUpdateParams, };
|
|
271
|
+
export { Actions as Actions, type BulkUpsertLocationsRequest as BulkUpsertLocationsRequest, type UpsertLocationInput as UpsertLocationInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
272
|
+
}
|
|
273
|
+
//# sourceMappingURL=locations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locations.d.mts","sourceRoot":"","sources":["../../../src/resources/operations/locations/locations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,UAAU;OACf,EAAE,sBAAsB,EAAE,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE;OACpF,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,SAAS,CAAC,YAAY,CAAC;IAIrC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,SAAS,CAAC,QAAQ,CAAC;IAIjC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC,QAAQ,CAAC;IAK9F;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,SAAS,CAAC,QAAQ,CAAC;IAKjC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGjF;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,IAAI,EAAE,SAAS,CAAC,gBAAgB,CAAC;IAEjC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAC,CAAC;IAEvC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,IAAI,EAAE,SAAS,CAAC,gBAAgB,CAAC;IAEjC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAC,CAAC;IAEvC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,UAAU,CAAC,CAAC;IAEvC;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC;CACnC;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|