@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
|
@@ -1,534 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import * as APIKeysAPI from '../auth/api-keys/api-keys';
|
|
5
|
-
import { APIPromise } from '../../core/api-promise';
|
|
6
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
-
import { path } from '../../internal/utils/path';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* List and manage units.
|
|
11
|
-
*/
|
|
12
|
-
export class Units extends APIResource {
|
|
13
|
-
/**
|
|
14
|
-
* Returns a paginated list of units for the current account, including both
|
|
15
|
-
* account-owned and global system units.
|
|
16
|
-
*
|
|
17
|
-
* This endpoint requires the permission: `units:read`.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```ts
|
|
21
|
-
* const listUnit = await client.catalog.units.list();
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
list(query: UnitListParams | null | undefined = {}, options?: RequestOptions): APIPromise<ListUnit> {
|
|
25
|
-
return this._client.get('/v1/catalog/units', { query, ...options });
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Returns a unit by ID, including both account-owned and global system units.
|
|
30
|
-
*
|
|
31
|
-
* This endpoint requires the permission: `units:read`.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```ts
|
|
35
|
-
* const unit = await client.catalog.units.retrieve(
|
|
36
|
-
* 'un_82bd37dae5po',
|
|
37
|
-
* );
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
retrieve(
|
|
41
|
-
id: string,
|
|
42
|
-
query: UnitRetrieveParams | null | undefined = {},
|
|
43
|
-
options?: RequestOptions,
|
|
44
|
-
): APIPromise<Unit> {
|
|
45
|
-
return this._client.get(path`/v1/catalog/units/${id}`, { query, ...options });
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Creates a unit of measurement owned by your account, in addition to the system
|
|
50
|
-
* units the platform already provides.
|
|
51
|
-
*
|
|
52
|
-
* The name and abbreviation must each be unique within the account. A unit created
|
|
53
|
-
* here is never a base unit, so its conversion ratio is interpreted relative to
|
|
54
|
-
* the base unit of the chosen dimension.
|
|
55
|
-
*
|
|
56
|
-
* This endpoint requires the permission: `units:create`.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```ts
|
|
60
|
-
* const unit = await client.catalog.units.create({
|
|
61
|
-
* abbreviation: 'g',
|
|
62
|
-
* name: 'Gram',
|
|
63
|
-
* offset_denominator: '1',
|
|
64
|
-
* offset_numerator: '0',
|
|
65
|
-
* ratio_denominator: '1',
|
|
66
|
-
* ratio_numerator: '1',
|
|
67
|
-
* type: 'mass',
|
|
68
|
-
* });
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
create(params: UnitCreateParams, options?: RequestOptions): APIPromise<Unit> {
|
|
72
|
-
const { include, ...body } = params;
|
|
73
|
-
return this._client.post('/v1/catalog/units', { query: { include }, body, ...options });
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Partially updates a unit owned by your account.
|
|
78
|
-
*
|
|
79
|
-
* System units cannot be modified, and a unit's dimension is fixed once it is
|
|
80
|
-
* created.
|
|
81
|
-
*
|
|
82
|
-
* This endpoint requires the permission: `units:update`.
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* ```ts
|
|
86
|
-
* const unit = await client.catalog.units.update(
|
|
87
|
-
* 'un_82bd37dae5po',
|
|
88
|
-
* {
|
|
89
|
-
* abbreviation: 'kg',
|
|
90
|
-
* name: 'Kilogram',
|
|
91
|
-
* offset_denominator: '1',
|
|
92
|
-
* offset_numerator: '0',
|
|
93
|
-
* ratio_denominator: '1',
|
|
94
|
-
* ratio_numerator: '1000',
|
|
95
|
-
* },
|
|
96
|
-
* );
|
|
97
|
-
* ```
|
|
98
|
-
*/
|
|
99
|
-
update(
|
|
100
|
-
id: string,
|
|
101
|
-
params: UnitUpdateParams | null | undefined = {},
|
|
102
|
-
options?: RequestOptions,
|
|
103
|
-
): APIPromise<Unit> {
|
|
104
|
-
const { include, ...body } = params ?? {};
|
|
105
|
-
return this._client.patch(path`/v1/catalog/units/${id}`, { query: { include }, body, ...options });
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Deletes a unit owned by your account.
|
|
110
|
-
*
|
|
111
|
-
* The unit is also removed from every unit group it belongs to. System units,
|
|
112
|
-
* which are shared across all accounts, cannot be deleted.
|
|
113
|
-
*
|
|
114
|
-
* This endpoint requires the permission: `units:delete`.
|
|
115
|
-
*
|
|
116
|
-
* @example
|
|
117
|
-
* ```ts
|
|
118
|
-
* const unit = await client.catalog.units.delete(
|
|
119
|
-
* 'un_82bd37dae5po',
|
|
120
|
-
* );
|
|
121
|
-
* ```
|
|
122
|
-
*/
|
|
123
|
-
delete(id: string, options?: RequestOptions): APIPromise<UnitDeleteResponse> {
|
|
124
|
-
return this._client.delete(path`/v1/catalog/units/${id}`, options);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Request to create a unit.
|
|
130
|
-
*/
|
|
131
|
-
export interface CreateUnitRequest {
|
|
132
|
-
/**
|
|
133
|
-
* Short abbreviation for the unit (e.g. "g").
|
|
134
|
-
*
|
|
135
|
-
* Must be unique within the account.
|
|
136
|
-
*/
|
|
137
|
-
abbreviation: string;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Display name of the unit (e.g. "Gram").
|
|
141
|
-
*
|
|
142
|
-
* Must be unique within the account.
|
|
143
|
-
*/
|
|
144
|
-
name: string;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Denominator of the conversion offset.
|
|
148
|
-
*
|
|
149
|
-
* Must not be zero, so send `1` when the unit has no offset.
|
|
150
|
-
*/
|
|
151
|
-
offset_denominator: string;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Numerator of the conversion offset, applied after the ratio for scales that do
|
|
155
|
-
* not share a zero point, such as temperature.
|
|
156
|
-
*
|
|
157
|
-
* Send `0` for units that convert by ratio alone.
|
|
158
|
-
*/
|
|
159
|
-
offset_numerator: string;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Denominator of the ratio that converts a quantity in this unit into the
|
|
163
|
-
* dimension's base unit.
|
|
164
|
-
*
|
|
165
|
-
* Must not be zero.
|
|
166
|
-
*/
|
|
167
|
-
ratio_denominator: string;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Numerator of the ratio that converts a quantity in this unit into the
|
|
171
|
-
* dimension's base unit.
|
|
172
|
-
*
|
|
173
|
-
* A quantity is converted with
|
|
174
|
-
* `value × (ratio_numerator / ratio_denominator) + (offset_numerator / offset_denominator)`,
|
|
175
|
-
* so a kilogram in a gram-based dimension has a numerator of `1000` and a
|
|
176
|
-
* denominator of `1`.
|
|
177
|
-
*/
|
|
178
|
-
ratio_numerator: string;
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* The dimension this unit measures, such as mass, volume, or currency.
|
|
182
|
-
*
|
|
183
|
-
* Units can only be converted to other units of the same dimension, and the
|
|
184
|
-
* dimension cannot be changed after the unit is created.
|
|
185
|
-
*/
|
|
186
|
-
type: 'currency' | 'quantity' | 'time' | 'mass' | 'volume' | 'length' | 'temperature' | 'area';
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* A single page of resources, together with the metadata needed to page through
|
|
191
|
-
* the rest of the result set.
|
|
192
|
-
*/
|
|
193
|
-
export interface ListUnit {
|
|
194
|
-
/**
|
|
195
|
-
* Resources in this page.
|
|
196
|
-
*/
|
|
197
|
-
data: Array<Unit>;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Resource type identifier.
|
|
201
|
-
*/
|
|
202
|
-
object: 'list';
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* PageInfo describes where the current page sits within a paginated result set and
|
|
206
|
-
* how to move to the adjacent pages.
|
|
207
|
-
*
|
|
208
|
-
* Page a list by following the URLs below rather than assembling cursors yourself.
|
|
209
|
-
* For a top-level list endpoint the URL repeats the original request's query
|
|
210
|
-
* string with only the cursor swapped, so following it preserves the same filters,
|
|
211
|
-
* search term, and page size.
|
|
212
|
-
*/
|
|
213
|
-
page_info: APIKeysAPI.PageInfo;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Unit of measurement used for conversions and product quantities.
|
|
218
|
-
*/
|
|
219
|
-
export interface Unit {
|
|
220
|
-
/**
|
|
221
|
-
* Unit ID.
|
|
222
|
-
*/
|
|
223
|
-
id: string;
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Short abbreviation for the unit (e.g. "g", "kg").
|
|
227
|
-
*/
|
|
228
|
-
abbreviation: string;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* When this unit was created.
|
|
232
|
-
*/
|
|
233
|
-
created_at: string;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Whether this is the base unit for its dimension.
|
|
237
|
-
*
|
|
238
|
-
* Every other unit's conversion ratio is expressed relative to the base unit. Base
|
|
239
|
-
* units are platform-defined; units created through the API are never base units.
|
|
240
|
-
*/
|
|
241
|
-
is_base_unit: boolean;
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Display name of the unit (e.g. "Gram", "Kilogram").
|
|
245
|
-
*/
|
|
246
|
-
name: string;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Resource type identifier.
|
|
250
|
-
*/
|
|
251
|
-
object: 'unit';
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Denominator of the conversion offset applied after the ratio.
|
|
255
|
-
*
|
|
256
|
-
* Never zero; a unit with no offset carries a numerator of `0` over a denominator
|
|
257
|
-
* of `1`.
|
|
258
|
-
*/
|
|
259
|
-
offset_denominator: string;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Numerator of the conversion offset, applied after the ratio for scales that do
|
|
263
|
-
* not share a zero point, such as temperature.
|
|
264
|
-
*
|
|
265
|
-
* Zero for units that convert by ratio alone.
|
|
266
|
-
*/
|
|
267
|
-
offset_numerator: string;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Owner describes the provenance of a resource.
|
|
271
|
-
*/
|
|
272
|
-
owner: APIKeysAPI.Owner | null;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Denominator of the ratio that converts a quantity in this unit into the
|
|
276
|
-
* dimension's base unit.
|
|
277
|
-
*
|
|
278
|
-
* Cannot be zero.
|
|
279
|
-
*/
|
|
280
|
-
ratio_denominator: string;
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* Numerator of the ratio that converts a quantity in this unit into the
|
|
284
|
-
* dimension's base unit.
|
|
285
|
-
*
|
|
286
|
-
* A quantity is converted with
|
|
287
|
-
* `value × (ratio_numerator / ratio_denominator) + (offset_numerator / offset_denominator)`,
|
|
288
|
-
* so a kilogram in a gram-based dimension has a numerator of `1000` and a
|
|
289
|
-
* denominator of `1`.
|
|
290
|
-
*/
|
|
291
|
-
ratio_numerator: string;
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* The dimension this unit measures, such as mass, volume, or currency.
|
|
295
|
-
*
|
|
296
|
-
* A unit can only be converted to another unit of the same dimension. The
|
|
297
|
-
* `quantity` dimension is for discrete countable items rather than a physical
|
|
298
|
-
* measure.
|
|
299
|
-
*/
|
|
300
|
-
type: 'currency' | 'quantity' | 'time' | 'mass' | 'volume' | 'length' | 'temperature' | 'area';
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* When this unit was last updated.
|
|
304
|
-
*/
|
|
305
|
-
updated_at: string;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Request to partially update a unit.
|
|
310
|
-
*/
|
|
311
|
-
export interface UpdateUnitRequest {
|
|
312
|
-
/**
|
|
313
|
-
* Short abbreviation for the unit.
|
|
314
|
-
*
|
|
315
|
-
* Must be unique within the account.
|
|
316
|
-
*/
|
|
317
|
-
abbreviation?: string;
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Display name of the unit.
|
|
321
|
-
*
|
|
322
|
-
* Must be unique within the account.
|
|
323
|
-
*/
|
|
324
|
-
name?: string;
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* Denominator of the conversion offset.
|
|
328
|
-
*
|
|
329
|
-
* Must not be zero.
|
|
330
|
-
*/
|
|
331
|
-
offset_denominator?: string;
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Numerator of the conversion offset, applied after the ratio for scales that do
|
|
335
|
-
* not share a zero point, such as temperature.
|
|
336
|
-
*/
|
|
337
|
-
offset_numerator?: string;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Denominator of the ratio that converts a quantity in this unit into the
|
|
341
|
-
* dimension's base unit.
|
|
342
|
-
*
|
|
343
|
-
* Must not be zero.
|
|
344
|
-
*/
|
|
345
|
-
ratio_denominator?: string;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Numerator of the ratio that converts a quantity in this unit into the
|
|
349
|
-
* dimension's base unit.
|
|
350
|
-
*
|
|
351
|
-
* A quantity is converted with
|
|
352
|
-
* `value × (ratio_numerator / ratio_denominator) + (offset_numerator / offset_denominator)`.
|
|
353
|
-
*/
|
|
354
|
-
ratio_numerator?: string;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
export interface UnitDeleteResponse {}
|
|
358
|
-
|
|
359
|
-
export interface UnitListParams {
|
|
360
|
-
/**
|
|
361
|
-
* Opaque cursor token identifying where the page of results starts.
|
|
362
|
-
*
|
|
363
|
-
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
364
|
-
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
365
|
-
* page.
|
|
366
|
-
*/
|
|
367
|
-
cursor?: string;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
371
|
-
* `null`.
|
|
372
|
-
*/
|
|
373
|
-
include?: Array<'owner' | 'owner.account'>;
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* Maximum number of results to return in a single page.
|
|
377
|
-
*/
|
|
378
|
-
limit?: number;
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Free-text search term used to filter results.
|
|
382
|
-
*
|
|
383
|
-
* Which fields are matched against the term varies by endpoint.
|
|
384
|
-
*/
|
|
385
|
-
q?: string;
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* Filter by unit dimension.
|
|
389
|
-
*/
|
|
390
|
-
type?: 'currency' | 'quantity' | 'time' | 'mass' | 'volume' | 'length' | 'temperature' | 'area';
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* Return only units that belong to at least one of the given unit groups.
|
|
394
|
-
*/
|
|
395
|
-
unit_group_ids?: Array<string>;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
export interface UnitRetrieveParams {
|
|
399
|
-
/**
|
|
400
|
-
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
401
|
-
* `null`.
|
|
402
|
-
*/
|
|
403
|
-
include?: Array<'owner' | 'owner.account'>;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
export interface UnitCreateParams {
|
|
407
|
-
/**
|
|
408
|
-
* Body param: Short abbreviation for the unit (e.g. "g").
|
|
409
|
-
*
|
|
410
|
-
* Must be unique within the account.
|
|
411
|
-
*/
|
|
412
|
-
abbreviation: string;
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Body param: Display name of the unit (e.g. "Gram").
|
|
416
|
-
*
|
|
417
|
-
* Must be unique within the account.
|
|
418
|
-
*/
|
|
419
|
-
name: string;
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* Body param: Denominator of the conversion offset.
|
|
423
|
-
*
|
|
424
|
-
* Must not be zero, so send `1` when the unit has no offset.
|
|
425
|
-
*/
|
|
426
|
-
offset_denominator: string;
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Body param: Numerator of the conversion offset, applied after the ratio for
|
|
430
|
-
* scales that do not share a zero point, such as temperature.
|
|
431
|
-
*
|
|
432
|
-
* Send `0` for units that convert by ratio alone.
|
|
433
|
-
*/
|
|
434
|
-
offset_numerator: string;
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Body param: Denominator of the ratio that converts a quantity in this unit into
|
|
438
|
-
* the dimension's base unit.
|
|
439
|
-
*
|
|
440
|
-
* Must not be zero.
|
|
441
|
-
*/
|
|
442
|
-
ratio_denominator: string;
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* Body param: Numerator of the ratio that converts a quantity in this unit into
|
|
446
|
-
* the dimension's base unit.
|
|
447
|
-
*
|
|
448
|
-
* A quantity is converted with
|
|
449
|
-
* `value × (ratio_numerator / ratio_denominator) + (offset_numerator / offset_denominator)`,
|
|
450
|
-
* so a kilogram in a gram-based dimension has a numerator of `1000` and a
|
|
451
|
-
* denominator of `1`.
|
|
452
|
-
*/
|
|
453
|
-
ratio_numerator: string;
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* Body param: The dimension this unit measures, such as mass, volume, or currency.
|
|
457
|
-
*
|
|
458
|
-
* Units can only be converted to other units of the same dimension, and the
|
|
459
|
-
* dimension cannot be changed after the unit is created.
|
|
460
|
-
*/
|
|
461
|
-
type: 'currency' | 'quantity' | 'time' | 'mass' | 'volume' | 'length' | 'temperature' | 'area';
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
465
|
-
* are returned as `null`.
|
|
466
|
-
*/
|
|
467
|
-
include?: Array<'owner' | 'owner.account'>;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
export interface UnitUpdateParams {
|
|
471
|
-
/**
|
|
472
|
-
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
473
|
-
* are returned as `null`.
|
|
474
|
-
*/
|
|
475
|
-
include?: Array<'owner' | 'owner.account'>;
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* Body param: Short abbreviation for the unit.
|
|
479
|
-
*
|
|
480
|
-
* Must be unique within the account.
|
|
481
|
-
*/
|
|
482
|
-
abbreviation?: string;
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* Body param: Display name of the unit.
|
|
486
|
-
*
|
|
487
|
-
* Must be unique within the account.
|
|
488
|
-
*/
|
|
489
|
-
name?: string;
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* Body param: Denominator of the conversion offset.
|
|
493
|
-
*
|
|
494
|
-
* Must not be zero.
|
|
495
|
-
*/
|
|
496
|
-
offset_denominator?: string;
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* Body param: Numerator of the conversion offset, applied after the ratio for
|
|
500
|
-
* scales that do not share a zero point, such as temperature.
|
|
501
|
-
*/
|
|
502
|
-
offset_numerator?: string;
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* Body param: Denominator of the ratio that converts a quantity in this unit into
|
|
506
|
-
* the dimension's base unit.
|
|
507
|
-
*
|
|
508
|
-
* Must not be zero.
|
|
509
|
-
*/
|
|
510
|
-
ratio_denominator?: string;
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Body param: Numerator of the ratio that converts a quantity in this unit into
|
|
514
|
-
* the dimension's base unit.
|
|
515
|
-
*
|
|
516
|
-
* A quantity is converted with
|
|
517
|
-
* `value × (ratio_numerator / ratio_denominator) + (offset_numerator / offset_denominator)`.
|
|
518
|
-
*/
|
|
519
|
-
ratio_numerator?: string;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
export declare namespace Units {
|
|
523
|
-
export {
|
|
524
|
-
type CreateUnitRequest as CreateUnitRequest,
|
|
525
|
-
type ListUnit as ListUnit,
|
|
526
|
-
type Unit as Unit,
|
|
527
|
-
type UpdateUnitRequest as UpdateUnitRequest,
|
|
528
|
-
type UnitDeleteResponse as UnitDeleteResponse,
|
|
529
|
-
type UnitListParams as UnitListParams,
|
|
530
|
-
type UnitRetrieveParams as UnitRetrieveParams,
|
|
531
|
-
type UnitCreateParams as UnitCreateParams,
|
|
532
|
-
type UnitUpdateParams as UnitUpdateParams,
|
|
533
|
-
};
|
|
534
|
-
}
|
|
3
|
+
export * from './units/index';
|
|
@@ -116,7 +116,7 @@ export interface AuditEvent {
|
|
|
116
116
|
* - `deny`: a human denied a gated action, such as rejecting a review-gated agent
|
|
117
117
|
* tool.
|
|
118
118
|
*/
|
|
119
|
-
action: 'create' | 'update' | 'delete' | 'restore' | 'archive' | 'approve' | 'deny';
|
|
119
|
+
action: 'create' | 'update' | 'upsert' | 'delete' | 'restore' | 'archive' | 'approve' | 'deny';
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* Reference to an actor — the user, API key, agent, or group identity associated
|
|
@@ -455,7 +455,8 @@ export interface AuditEvent {
|
|
|
455
455
|
| 'pack_list_party'
|
|
456
456
|
| 'pack_list_line_item'
|
|
457
457
|
| 'pack_list_back_order'
|
|
458
|
-
| 'pack_list_case'
|
|
458
|
+
| 'pack_list_case'
|
|
459
|
+
| 'job';
|
|
459
460
|
|
|
460
461
|
/**
|
|
461
462
|
* Originating client IP address.
|
|
@@ -839,6 +840,7 @@ export interface ListObjectType {
|
|
|
839
840
|
| 'pack_list_line_item'
|
|
840
841
|
| 'pack_list_back_order'
|
|
841
842
|
| 'pack_list_case'
|
|
843
|
+
| 'job'
|
|
842
844
|
>;
|
|
843
845
|
|
|
844
846
|
/**
|
|
@@ -862,7 +864,7 @@ export interface AuditEventListParams {
|
|
|
862
864
|
/**
|
|
863
865
|
* Filter by the mutation type recorded on the event.
|
|
864
866
|
*/
|
|
865
|
-
actions?: Array<'create' | 'update' | 'delete' | 'restore' | 'archive' | 'approve' | 'deny'>;
|
|
867
|
+
actions?: Array<'create' | 'update' | 'upsert' | 'delete' | 'restore' | 'archive' | 'approve' | 'deny'>;
|
|
866
868
|
|
|
867
869
|
/**
|
|
868
870
|
* Filter by the _acting_ account: the account that performed the mutation.
|
|
@@ -1210,6 +1212,7 @@ export interface AuditEventListParams {
|
|
|
1210
1212
|
| 'pack_list_line_item'
|
|
1211
1213
|
| 'pack_list_back_order'
|
|
1212
1214
|
| 'pack_list_case'
|
|
1215
|
+
| 'job'
|
|
1213
1216
|
>;
|
|
1214
1217
|
|
|
1215
1218
|
/**
|
|
@@ -1503,7 +1506,8 @@ export interface AuditEventListParams {
|
|
|
1503
1506
|
| 'pack_list_party'
|
|
1504
1507
|
| 'pack_list_line_item'
|
|
1505
1508
|
| 'pack_list_back_order'
|
|
1506
|
-
| 'pack_list_case'
|
|
1509
|
+
| 'pack_list_case'
|
|
1510
|
+
| 'job';
|
|
1507
1511
|
|
|
1508
1512
|
/**
|
|
1509
1513
|
* Restricts results to audit events on or after this timestamp.
|
|
@@ -38,6 +38,8 @@ import {
|
|
|
38
38
|
} from './audit-events';
|
|
39
39
|
import * as EmailLogsAPI from './email-logs';
|
|
40
40
|
import { EmailLog, EmailLogListParams, EmailLogRetrieveParams, EmailLogs, ListEmailLog } from './email-logs';
|
|
41
|
+
import * as JobsAPI from './jobs';
|
|
42
|
+
import { Job, JobExport, JobResult, Jobs, QuotaInfo, ResponseError, RowError } from './jobs';
|
|
41
43
|
import * as RequestLogsAPI from './request-logs';
|
|
42
44
|
import {
|
|
43
45
|
Actor,
|
|
@@ -78,6 +80,7 @@ export class Core extends APIResource {
|
|
|
78
80
|
auditEvents: AuditEventsAPI.AuditEvents = new AuditEventsAPI.AuditEvents(this._client);
|
|
79
81
|
addresses: AddressesAPI.Addresses = new AddressesAPI.Addresses(this._client);
|
|
80
82
|
emailLogs: EmailLogsAPI.EmailLogs = new EmailLogsAPI.EmailLogs(this._client);
|
|
83
|
+
jobs: JobsAPI.Jobs = new JobsAPI.Jobs(this._client);
|
|
81
84
|
analytics: AnalyticsAPI.Analytics = new AnalyticsAPI.Analytics(this._client);
|
|
82
85
|
|
|
83
86
|
/**
|
|
@@ -421,7 +424,8 @@ export interface Entity {
|
|
|
421
424
|
| 'pack_list_party'
|
|
422
425
|
| 'pack_list_line_item'
|
|
423
426
|
| 'pack_list_back_order'
|
|
424
|
-
| 'pack_list_case'
|
|
427
|
+
| 'pack_list_case'
|
|
428
|
+
| 'job';
|
|
425
429
|
}
|
|
426
430
|
|
|
427
431
|
/**
|
|
@@ -771,6 +775,7 @@ export interface CoreRetrieveSearchParams {
|
|
|
771
775
|
| 'pack_list_line_item'
|
|
772
776
|
| 'pack_list_back_order'
|
|
773
777
|
| 'pack_list_case'
|
|
778
|
+
| 'job'
|
|
774
779
|
>;
|
|
775
780
|
}
|
|
776
781
|
|
|
@@ -779,6 +784,7 @@ Core.RequestLogs = RequestLogs;
|
|
|
779
784
|
Core.AuditEvents = AuditEvents;
|
|
780
785
|
Core.Addresses = Addresses;
|
|
781
786
|
Core.EmailLogs = EmailLogs;
|
|
787
|
+
Core.Jobs = Jobs;
|
|
782
788
|
Core.Analytics = Analytics;
|
|
783
789
|
|
|
784
790
|
export declare namespace Core {
|
|
@@ -834,6 +840,16 @@ export declare namespace Core {
|
|
|
834
840
|
type EmailLogRetrieveParams as EmailLogRetrieveParams,
|
|
835
841
|
};
|
|
836
842
|
|
|
843
|
+
export {
|
|
844
|
+
Jobs as Jobs,
|
|
845
|
+
type Job as Job,
|
|
846
|
+
type JobExport as JobExport,
|
|
847
|
+
type JobResult as JobResult,
|
|
848
|
+
type QuotaInfo as QuotaInfo,
|
|
849
|
+
type ResponseError as ResponseError,
|
|
850
|
+
type RowError as RowError,
|
|
851
|
+
};
|
|
852
|
+
|
|
837
853
|
export {
|
|
838
854
|
Analytics as Analytics,
|
|
839
855
|
type AnalyzeOeeRequest as AnalyzeOeeRequest,
|
|
@@ -47,6 +47,15 @@ export {
|
|
|
47
47
|
type EmailLogListParams,
|
|
48
48
|
type EmailLogRetrieveParams,
|
|
49
49
|
} from './email-logs';
|
|
50
|
+
export {
|
|
51
|
+
Jobs,
|
|
52
|
+
type Job,
|
|
53
|
+
type JobExport,
|
|
54
|
+
type JobResult,
|
|
55
|
+
type QuotaInfo,
|
|
56
|
+
type ResponseError,
|
|
57
|
+
type RowError,
|
|
58
|
+
} from './jobs';
|
|
50
59
|
export {
|
|
51
60
|
RequestLogs,
|
|
52
61
|
type Actor,
|