@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,321 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
import { path } from '../../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* View the jobs that track asynchronous work. Endpoints that answer 202 Accepted raise one and point at it with a Location header.
|
|
10
|
+
*/
|
|
11
|
+
export class Jobs extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns a job by ID — poll the job named in a `202 Accepted` response's
|
|
14
|
+
* `Location` to observe its outcome. A completed export carries the link to its
|
|
15
|
+
* file on `export.url`.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const job = await client.core.jobs.retrieve(
|
|
20
|
+
* 'jb_01k0a5smf9ekb8rqg1',
|
|
21
|
+
* );
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<Job> {
|
|
25
|
+
return this._client.get(path`/v1/core/jobs/${id}`, options);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Cancels a job and returns it carrying its `cancelled` status. Work in flight is
|
|
30
|
+
* not interrupted but can no longer settle, and a finished job cannot be
|
|
31
|
+
* cancelled.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const job = await client.core.jobs.cancel(
|
|
36
|
+
* 'jb_01k0a5smf9ekb8rqg1',
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
cancel(id: string, options?: RequestOptions): APIPromise<Job> {
|
|
41
|
+
return this._client.post(path`/v1/core/jobs/${id}/cancel`, options);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Records a piece of work the API accepted and carries out asynchronously.
|
|
47
|
+
* Endpoints answering `202 Accepted` point at one with a `Location` header; poll
|
|
48
|
+
* it for the outcome.
|
|
49
|
+
*/
|
|
50
|
+
export interface Job {
|
|
51
|
+
/**
|
|
52
|
+
* Job ID.
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* When the job was cancelled.
|
|
58
|
+
*/
|
|
59
|
+
cancelled_at: string | null;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* When the job finished processing, whether or not every row succeeded.
|
|
63
|
+
*/
|
|
64
|
+
completed_at: string | null;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* When the job was created.
|
|
68
|
+
*/
|
|
69
|
+
created_at: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Email of the account user who requested the work.
|
|
73
|
+
*/
|
|
74
|
+
created_by_email: string | null;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The ID of the account user who requested the work.
|
|
78
|
+
*/
|
|
79
|
+
created_by_id: string | null;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Name of the account user who requested the work.
|
|
83
|
+
*/
|
|
84
|
+
created_by_name: string | null;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Username of the account user who requested the work.
|
|
88
|
+
*/
|
|
89
|
+
created_by_username: string | null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* A one-line reason the last attempt failed.
|
|
93
|
+
*/
|
|
94
|
+
error_summary: string | null;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* One entry per failure, so a `completed` job can still carry failed rows. A
|
|
98
|
+
* whole-job failure records a single entry with no `index`.
|
|
99
|
+
*/
|
|
100
|
+
errors: Array<RowError>;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Points a completed export job at the file it produced.
|
|
104
|
+
*/
|
|
105
|
+
export: JobExport | null;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* When the most recent attempt failed. A retry that succeeds leaves this alongside
|
|
109
|
+
* `completed_at`.
|
|
110
|
+
*/
|
|
111
|
+
failed_at: string | null;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Resource type identifier.
|
|
115
|
+
*/
|
|
116
|
+
object: 'job';
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* One entry per request row that produced a resource. A bulk create records these
|
|
120
|
+
* when it accepts the request, so they stay provisional until `status` is
|
|
121
|
+
* `completed`.
|
|
122
|
+
*/
|
|
123
|
+
results: Array<JobResult>;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* When the job began executing.
|
|
127
|
+
*/
|
|
128
|
+
started_at: string | null;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* How far the job has got. `completed` means the work was processed, not that
|
|
132
|
+
* every row succeeded — read `errors`.
|
|
133
|
+
*/
|
|
134
|
+
status: 'created' | 'started' | 'completed' | 'failed' | 'cancelled';
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The kind of work the job carries out.
|
|
138
|
+
*/
|
|
139
|
+
type: 'bulkcreate' | 'bulkupsert' | 'export';
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* When the job was last updated.
|
|
143
|
+
*/
|
|
144
|
+
updated_at: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Points a completed export job at the file it produced.
|
|
149
|
+
*/
|
|
150
|
+
export interface JobExport {
|
|
151
|
+
/**
|
|
152
|
+
* Presigned link to the file, valid for five minutes — read the job again for a
|
|
153
|
+
* fresh one. It carries its own authorization, so treat it as a credential: do not
|
|
154
|
+
* log it, store it, or pass it on.
|
|
155
|
+
*/
|
|
156
|
+
url: string;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Accounts for one request row that produced a resource. With `errors`, also
|
|
161
|
+
* row-indexed, every submitted row lands in exactly one of the two once the job
|
|
162
|
+
* completes.
|
|
163
|
+
*/
|
|
164
|
+
export interface JobResult {
|
|
165
|
+
/**
|
|
166
|
+
* ID of the resource this row produced.
|
|
167
|
+
*/
|
|
168
|
+
id: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Whether the resource was created or updated.
|
|
172
|
+
*/
|
|
173
|
+
action: 'created' | 'updated';
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Zero-based row of the request this result names.
|
|
177
|
+
*/
|
|
178
|
+
index: number;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Resources created alongside this row's own resource — for a bulk production run
|
|
182
|
+
* create, the ids of its batches. Omitted for operations that produce none.
|
|
183
|
+
*/
|
|
184
|
+
sub_resource_ids?: Array<string>;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* QuotaInfo provides machine-readable details about a plan-imposed resource limit.
|
|
189
|
+
* Included in limit_exceeded errors so clients can display upgrade prompts, usage
|
|
190
|
+
* bars, or implement programmatic retry/backoff logic.
|
|
191
|
+
*/
|
|
192
|
+
export interface QuotaInfo {
|
|
193
|
+
/**
|
|
194
|
+
* Limit is the maximum number of resources allowed by the current plan.
|
|
195
|
+
*/
|
|
196
|
+
limit: number;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* ResetAt is the time when the quota resets, if applicable. Nil for static
|
|
200
|
+
* (non-metered) limits.
|
|
201
|
+
*/
|
|
202
|
+
reset_at: string | null;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Used is the number of resources currently consumed.
|
|
206
|
+
*/
|
|
207
|
+
used: number;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* ResponseError is the JSON-serializable error body returned to API clients. It
|
|
212
|
+
* contains only public information. This struct is used by the OpenAPI schema
|
|
213
|
+
* generator to produce documentation.
|
|
214
|
+
*/
|
|
215
|
+
export interface ResponseError {
|
|
216
|
+
/**
|
|
217
|
+
* A machine-readable code for the error.
|
|
218
|
+
*/
|
|
219
|
+
code:
|
|
220
|
+
| 'expired_token'
|
|
221
|
+
| 'api_key_expired'
|
|
222
|
+
| 'api_key_revoked'
|
|
223
|
+
| 'invalid_credentials'
|
|
224
|
+
| 'insufficient_permissions'
|
|
225
|
+
| 'payment_required'
|
|
226
|
+
| 'agent_spending_cap_reached'
|
|
227
|
+
| 'validation_failed'
|
|
228
|
+
| 'missing_field'
|
|
229
|
+
| 'invalid_format'
|
|
230
|
+
| 'method_not_allowed'
|
|
231
|
+
| 'resource_not_found'
|
|
232
|
+
| 'resource_exists'
|
|
233
|
+
| 'resource_conflict'
|
|
234
|
+
| 'resource_gone'
|
|
235
|
+
| 'idempotency_in_progress'
|
|
236
|
+
| 'limit_exceeded'
|
|
237
|
+
| 'registration_closed'
|
|
238
|
+
| 'rate_limit_exceeded'
|
|
239
|
+
| 'parameter_missing'
|
|
240
|
+
| 'parameter_invalid'
|
|
241
|
+
| 'parameter_unknown'
|
|
242
|
+
| 'parameters_exclusive'
|
|
243
|
+
| 'internal_error'
|
|
244
|
+
| 'service_unavailable'
|
|
245
|
+
| 'external_service_error'
|
|
246
|
+
| 'timeout'
|
|
247
|
+
| 'connection_error'
|
|
248
|
+
| 'request_timeout'
|
|
249
|
+
| 'client_closed_request'
|
|
250
|
+
| 'api_version_required'
|
|
251
|
+
| 'api_version_invalid'
|
|
252
|
+
| 'api_version_too_old';
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* A URL to documentation about the error.
|
|
256
|
+
*/
|
|
257
|
+
doc_url: string | null;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Whether this error is transient and the request can be retried.
|
|
261
|
+
*/
|
|
262
|
+
is_transient: boolean;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* A human-readable message providing more details about the error.
|
|
266
|
+
*/
|
|
267
|
+
message: string;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* The parameter that caused the error, if applicable.
|
|
271
|
+
*/
|
|
272
|
+
param: string | null;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* QuotaInfo provides machine-readable details about a plan-imposed resource limit.
|
|
276
|
+
* Included in limit_exceeded errors so clients can display upgrade prompts, usage
|
|
277
|
+
* bars, or implement programmatic retry/backoff logic.
|
|
278
|
+
*/
|
|
279
|
+
quota: QuotaInfo | null;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* RequestLogURL is a link to the dashboard page for this request's log entry. Nil
|
|
283
|
+
* when no request log is available.
|
|
284
|
+
*/
|
|
285
|
+
request_log_url: string | null;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* The type of error.
|
|
289
|
+
*/
|
|
290
|
+
type: 'api_error' | 'idempotency_error' | 'invalid_request_error';
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* pairs one row of a bulk request with the failure it produced; a failure of the
|
|
295
|
+
* request as a whole carries no index
|
|
296
|
+
*/
|
|
297
|
+
export interface RowError {
|
|
298
|
+
/**
|
|
299
|
+
* ResponseError is the JSON-serializable error body returned to API clients. It
|
|
300
|
+
* contains only public information. This struct is used by the OpenAPI schema
|
|
301
|
+
* generator to produce documentation.
|
|
302
|
+
*/
|
|
303
|
+
error: ResponseError;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Zero-based row of the request this failure names. Absent for a failure of the
|
|
307
|
+
* whole request.
|
|
308
|
+
*/
|
|
309
|
+
index?: number;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export declare namespace Jobs {
|
|
313
|
+
export {
|
|
314
|
+
type Job as Job,
|
|
315
|
+
type JobExport as JobExport,
|
|
316
|
+
type JobResult as JobResult,
|
|
317
|
+
type QuotaInfo as QuotaInfo,
|
|
318
|
+
type ResponseError as ResponseError,
|
|
319
|
+
type RowError as RowError,
|
|
320
|
+
};
|
|
321
|
+
}
|
|
@@ -740,7 +740,8 @@ export interface CreateConversationRequest {
|
|
|
740
740
|
| 'pack_list_party'
|
|
741
741
|
| 'pack_list_line_item'
|
|
742
742
|
| 'pack_list_back_order'
|
|
743
|
-
| 'pack_list_case'
|
|
743
|
+
| 'pack_list_case'
|
|
744
|
+
| 'job';
|
|
744
745
|
}
|
|
745
746
|
|
|
746
747
|
/**
|
|
@@ -1570,7 +1571,8 @@ export interface ConversationCreateParams {
|
|
|
1570
1571
|
| 'pack_list_party'
|
|
1571
1572
|
| 'pack_list_line_item'
|
|
1572
1573
|
| 'pack_list_back_order'
|
|
1573
|
-
| 'pack_list_case'
|
|
1574
|
+
| 'pack_list_case'
|
|
1575
|
+
| 'job';
|
|
1574
1576
|
}
|
|
1575
1577
|
|
|
1576
1578
|
export interface ConversationListParams {
|
|
@@ -1929,7 +1931,8 @@ export interface ConversationListParams {
|
|
|
1929
1931
|
| 'pack_list_party'
|
|
1930
1932
|
| 'pack_list_line_item'
|
|
1931
1933
|
| 'pack_list_back_order'
|
|
1932
|
-
| 'pack_list_case'
|
|
1934
|
+
| 'pack_list_case'
|
|
1935
|
+
| 'job';
|
|
1933
1936
|
|
|
1934
1937
|
/**
|
|
1935
1938
|
* Filter by conversation type.
|
|
@@ -374,7 +374,8 @@ export interface AddConversationLinkRequest {
|
|
|
374
374
|
| 'pack_list_party'
|
|
375
375
|
| 'pack_list_line_item'
|
|
376
376
|
| 'pack_list_back_order'
|
|
377
|
-
| 'pack_list_case'
|
|
377
|
+
| 'pack_list_case'
|
|
378
|
+
| 'job';
|
|
378
379
|
}
|
|
379
380
|
|
|
380
381
|
/**
|
|
@@ -727,7 +728,8 @@ export interface LinkCreateParams {
|
|
|
727
728
|
| 'pack_list_party'
|
|
728
729
|
| 'pack_list_line_item'
|
|
729
730
|
| 'pack_list_back_order'
|
|
730
|
-
| 'pack_list_case'
|
|
731
|
+
| 'pack_list_case'
|
|
732
|
+
| 'job';
|
|
731
733
|
|
|
732
734
|
/**
|
|
733
735
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
@@ -525,7 +525,8 @@ export interface SendMessageRequest {
|
|
|
525
525
|
| 'pack_list_party'
|
|
526
526
|
| 'pack_list_line_item'
|
|
527
527
|
| 'pack_list_back_order'
|
|
528
|
-
| 'pack_list_case'
|
|
528
|
+
| 'pack_list_case'
|
|
529
|
+
| 'job';
|
|
529
530
|
|
|
530
531
|
/**
|
|
531
532
|
* Account user ids explicitly @mentioned in the message.
|
|
@@ -941,7 +942,8 @@ export interface MessageCreateParams {
|
|
|
941
942
|
| 'pack_list_party'
|
|
942
943
|
| 'pack_list_line_item'
|
|
943
944
|
| 'pack_list_back_order'
|
|
944
|
-
| 'pack_list_case'
|
|
945
|
+
| 'pack_list_case'
|
|
946
|
+
| 'job';
|
|
945
947
|
|
|
946
948
|
/**
|
|
947
949
|
* Body param: Account user ids explicitly @mentioned in the message.
|
|
@@ -755,7 +755,8 @@ export interface SendNotificationRequest {
|
|
|
755
755
|
| 'pack_list_party'
|
|
756
756
|
| 'pack_list_line_item'
|
|
757
757
|
| 'pack_list_back_order'
|
|
758
|
-
| 'pack_list_case'
|
|
758
|
+
| 'pack_list_case'
|
|
759
|
+
| 'job';
|
|
759
760
|
|
|
760
761
|
/**
|
|
761
762
|
* How prominently the notification should be surfaced, from `low` through
|
|
@@ -1084,7 +1085,8 @@ export interface NotificationCreateParams {
|
|
|
1084
1085
|
| 'pack_list_party'
|
|
1085
1086
|
| 'pack_list_line_item'
|
|
1086
1087
|
| 'pack_list_back_order'
|
|
1087
|
-
| 'pack_list_case'
|
|
1088
|
+
| 'pack_list_case'
|
|
1089
|
+
| 'job';
|
|
1088
1090
|
|
|
1089
1091
|
/**
|
|
1090
1092
|
* How prominently the notification should be surfaced, from `low` through
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as UnitsAPI from '../catalog/units';
|
|
5
4
|
import * as CoreAPI from '../core/core';
|
|
6
5
|
import * as RequestLogsAPI from '../core/request-logs';
|
|
7
6
|
import * as APIKeysAPI from '../auth/api-keys/api-keys';
|
|
7
|
+
import * as UnitsAPI from '../catalog/units/units';
|
|
8
8
|
import { APIPromise } from '../../core/api-promise';
|
|
9
9
|
import { RequestOptions } from '../../internal/request-options';
|
|
10
10
|
import { path } from '../../internal/utils/path';
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as JobsAPI from '../../core/jobs';
|
|
5
|
+
import * as BlocksAPI from '../../messaging/blocks';
|
|
6
|
+
import * as ActionsAPI from '../../catalog/item-categories/actions';
|
|
7
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
8
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* List and manage locations.
|
|
12
|
+
*/
|
|
13
|
+
export class Actions extends APIResource {
|
|
14
|
+
/**
|
|
15
|
+
* Creates or updates multiple locations for the account, matched by name
|
|
16
|
+
* (case-insensitive), then writes asynchronously — 202 with a job to poll.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const job =
|
|
21
|
+
* await client.operations.locations.actions.bulkUpsert({
|
|
22
|
+
* locations: [{ name: 'Warehouse A', type: 'building' }],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job> {
|
|
27
|
+
return this._client.post('/v1/operations/locations/actions/bulk-upsert', { body, ...options });
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* BulkUpsertLocationsRequest is the request to bulk upsert locations.
|
|
33
|
+
*/
|
|
34
|
+
export interface BulkUpsertLocationsRequest {
|
|
35
|
+
/**
|
|
36
|
+
* Locations to create or update, matched by name within the account.
|
|
37
|
+
*/
|
|
38
|
+
locations: Array<UpsertLocationInput>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* UpsertLocationInput is the input for a single location in a bulk upsert
|
|
43
|
+
* operation.
|
|
44
|
+
*/
|
|
45
|
+
export interface UpsertLocationInput {
|
|
46
|
+
/**
|
|
47
|
+
* Display name of the location, used to match existing locations.
|
|
48
|
+
*/
|
|
49
|
+
name: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Location type code.
|
|
53
|
+
*/
|
|
54
|
+
type: BlocksAPI.LocationTypeCode;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Child locations to re-parent under this one, referenced by `id` or `name`, or by
|
|
58
|
+
* name for a location in the same batch. Redundant with `parent` on each child.
|
|
59
|
+
*/
|
|
60
|
+
children?: Array<ActionsAPI.ObjectIdentifier>;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* -------------------------- Named Object -------------------------- Identifies an
|
|
64
|
+
* object by its id or its name. An id wins when both are given.
|
|
65
|
+
*/
|
|
66
|
+
parent?: ActionsAPI.ObjectIdentifier;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface ActionBulkUpsertParams {
|
|
70
|
+
/**
|
|
71
|
+
* Locations to create or update, matched by name within the account.
|
|
72
|
+
*/
|
|
73
|
+
locations: Array<UpsertLocationInput>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export declare namespace Actions {
|
|
77
|
+
export {
|
|
78
|
+
type BulkUpsertLocationsRequest as BulkUpsertLocationsRequest,
|
|
79
|
+
type UpsertLocationInput as UpsertLocationInput,
|
|
80
|
+
type ActionBulkUpsertParams as ActionBulkUpsertParams,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Actions,
|
|
5
|
+
type BulkUpsertLocationsRequest,
|
|
6
|
+
type UpsertLocationInput,
|
|
7
|
+
type ActionBulkUpsertParams,
|
|
8
|
+
} from './actions';
|
|
9
|
+
export {
|
|
10
|
+
Locations,
|
|
11
|
+
type CreateLocationRequest,
|
|
12
|
+
type UpdateLocationRequest,
|
|
13
|
+
type LocationDeleteResponse,
|
|
14
|
+
type LocationListParams,
|
|
15
|
+
type LocationRetrieveParams,
|
|
16
|
+
type LocationCreateParams,
|
|
17
|
+
type LocationUpdateParams,
|
|
18
|
+
} from './locations';
|