@augno/sdk 0.13.4 → 0.15.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 +501 -0
- package/resources/catalog/product-lines/product-lines.d.mts.map +1 -0
- package/resources/catalog/product-lines/product-lines.d.ts +501 -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/analytics.d.mts +252 -1
- package/resources/core/analytics.d.mts.map +1 -1
- package/resources/core/analytics.d.ts +252 -1
- package/resources/core/analytics.d.ts.map +1 -1
- package/resources/core/analytics.js +38 -0
- package/resources/core/analytics.js.map +1 -1
- package/resources/core/analytics.mjs +38 -0
- package/resources/core/analytics.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 +8 -4
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +8 -4
- 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 +2 -1
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +2 -1
- 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/fulfillment-recommendations/actions.d.mts +59 -0
- package/resources/operations/fulfillment-recommendations/actions.d.mts.map +1 -0
- package/resources/operations/fulfillment-recommendations/actions.d.ts +59 -0
- package/resources/operations/fulfillment-recommendations/actions.d.ts.map +1 -0
- package/resources/operations/fulfillment-recommendations/actions.js +40 -0
- package/resources/operations/fulfillment-recommendations/actions.js.map +1 -0
- package/resources/operations/fulfillment-recommendations/actions.mjs +36 -0
- package/resources/operations/fulfillment-recommendations/actions.mjs.map +1 -0
- package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.mts +165 -0
- package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.mts.map +1 -0
- package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.ts +165 -0
- package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.ts.map +1 -0
- package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.js +52 -0
- package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.js.map +1 -0
- package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.mjs +47 -0
- package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.mjs.map +1 -0
- package/resources/operations/fulfillment-recommendations/index.d.mts +3 -0
- package/resources/operations/fulfillment-recommendations/index.d.mts.map +1 -0
- package/resources/operations/fulfillment-recommendations/index.d.ts +3 -0
- package/resources/operations/fulfillment-recommendations/index.d.ts.map +1 -0
- package/resources/operations/fulfillment-recommendations/index.js +9 -0
- package/resources/operations/fulfillment-recommendations/index.js.map +1 -0
- package/resources/operations/fulfillment-recommendations/index.mjs +4 -0
- package/resources/operations/fulfillment-recommendations/index.mjs.map +1 -0
- package/resources/operations/fulfillment-recommendations.d.mts +2 -0
- package/resources/operations/fulfillment-recommendations.d.mts.map +1 -0
- package/resources/operations/fulfillment-recommendations.d.ts +2 -0
- package/resources/operations/fulfillment-recommendations.d.ts.map +1 -0
- package/resources/operations/fulfillment-recommendations.js +6 -0
- package/resources/operations/fulfillment-recommendations.js.map +1 -0
- package/resources/operations/fulfillment-recommendations.mjs +3 -0
- package/resources/operations/fulfillment-recommendations.mjs.map +1 -0
- package/resources/operations/index.d.mts +3 -2
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +3 -2
- package/resources/operations/index.d.ts.map +1 -1
- package/resources/operations/index.js +11 -9
- package/resources/operations/index.js.map +1 -1
- package/resources/operations/index.mjs +2 -1
- package/resources/operations/index.mjs.map +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 +8 -4
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +8 -4
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.js +6 -2
- package/resources/operations/operations.js.map +1 -1
- package/resources/operations/operations.mjs +6 -2
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/production-schedule-settings/index.d.mts +1 -0
- package/resources/operations/production-schedule-settings/index.d.mts.map +1 -1
- package/resources/operations/production-schedule-settings/index.d.ts +1 -0
- package/resources/operations/production-schedule-settings/index.d.ts.map +1 -1
- package/resources/operations/production-schedule-settings/index.js +3 -1
- package/resources/operations/production-schedule-settings/index.js.map +1 -1
- package/resources/operations/production-schedule-settings/index.mjs +1 -0
- package/resources/operations/production-schedule-settings/index.mjs.map +1 -1
- package/resources/operations/production-schedule-settings/items.d.mts +228 -0
- package/resources/operations/production-schedule-settings/items.d.mts.map +1 -0
- package/resources/operations/production-schedule-settings/items.d.ts +228 -0
- package/resources/operations/production-schedule-settings/items.d.ts.map +1 -0
- package/resources/operations/production-schedule-settings/items.js +109 -0
- package/resources/operations/production-schedule-settings/items.js.map +1 -0
- package/resources/operations/production-schedule-settings/items.mjs +105 -0
- package/resources/operations/production-schedule-settings/items.mjs.map +1 -0
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +60 -0
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +60 -0
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.js +6 -0
- package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.mjs +6 -0
- package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -1
- package/resources/operations/production-schedules/actions.d.mts +117 -1
- package/resources/operations/production-schedules/actions.d.mts.map +1 -1
- package/resources/operations/production-schedules/actions.d.ts +117 -1
- package/resources/operations/production-schedules/actions.d.ts.map +1 -1
- package/resources/operations/production-schedules/actions.js +34 -0
- package/resources/operations/production-schedules/actions.js.map +1 -1
- package/resources/operations/production-schedules/actions.mjs +34 -0
- package/resources/operations/production-schedules/actions.mjs.map +1 -1
- package/resources/operations/production-schedules/index.d.mts +2 -2
- package/resources/operations/production-schedules/index.d.mts.map +1 -1
- package/resources/operations/production-schedules/index.d.ts +2 -2
- package/resources/operations/production-schedules/index.d.ts.map +1 -1
- package/resources/operations/production-schedules/index.js.map +1 -1
- package/resources/operations/production-schedules/index.mjs.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.mts +260 -3
- package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.ts +260 -3
- package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.js +29 -0
- package/resources/operations/production-schedules/production-schedules.js.map +1 -1
- package/resources/operations/production-schedules/production-schedules.mjs +29 -0
- package/resources/operations/production-schedules/production-schedules.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/account-groups.d.mts +27 -0
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +27 -0
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/customers/customers.d.mts +100 -2
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +100 -2
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +27 -0
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +27 -0
- package/resources/sales/customers/customers.mjs.map +1 -1
- package/resources/sales/customers/index.d.mts +1 -1
- package/resources/sales/customers/index.d.mts.map +1 -1
- package/resources/sales/customers/index.d.ts +1 -1
- package/resources/sales/customers/index.d.ts.map +1 -1
- package/resources/sales/customers/index.js.map +1 -1
- package/resources/sales/customers/index.mjs.map +1 -1
- package/resources/sales/index.d.mts +1 -1
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +1 -1
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs.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 +39 -4
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +39 -4
- package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +2 -2
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +2 -2
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs.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 +610 -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/analytics.ts +300 -0
- package/src/resources/core/audit-events.ts +48 -4
- package/src/resources/core/core.ts +51 -1
- package/src/resources/core/index.ts +16 -0
- package/src/resources/core/jobs.ts +321 -0
- package/src/resources/messaging/conversations/conversations.ts +36 -3
- package/src/resources/messaging/conversations/links.ts +24 -2
- package/src/resources/messaging/conversations/messages.ts +24 -2
- package/src/resources/messaging/notifications/notifications.ts +24 -2
- package/src/resources/operations/demand-overrides.ts +1 -1
- package/src/resources/operations/fulfillment-recommendations/actions.ts +75 -0
- package/src/resources/operations/fulfillment-recommendations/fulfillment-recommendations.ts +206 -0
- package/src/resources/operations/fulfillment-recommendations/index.ts +8 -0
- package/src/resources/operations/fulfillment-recommendations.ts +3 -0
- package/src/resources/operations/index.ts +12 -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 +38 -11
- package/src/resources/operations/production-schedule-settings/index.ts +8 -0
- package/src/resources/operations/production-schedule-settings/items.ts +273 -0
- package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +82 -0
- package/src/resources/operations/production-schedules/actions.ts +144 -0
- package/src/resources/operations/production-schedules/index.ts +9 -0
- package/src/resources/operations/production-schedules/production-schedules.ts +310 -0
- package/src/resources/operations/scanning-stations.ts +12 -4
- package/src/resources/operations/shipping-terms.ts +1 -1
- package/src/resources/sales/account-groups.ts +32 -0
- package/src/resources/sales/customers/customers.ts +113 -1
- package/src/resources/sales/customers/index.ts +1 -0
- package/src/resources/sales/index.ts +1 -0
- package/src/resources/sales/sales-orders/lines/lines.ts +2 -2
- package/src/resources/sales/sales-orders/sales-orders.ts +45 -4
- package/src/resources/sales/sales.ts +2 -0
- 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,165 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as CoreAPI from "../../core/core.js";
|
|
3
|
+
import * as APIKeysAPI from "../../auth/api-keys/api-keys.js";
|
|
4
|
+
import * as ActionsAPI from "./actions.js";
|
|
5
|
+
import { ActionApplyParams, Actions, ApplyFulfillmentRecommendationsRequest } from "./actions.js";
|
|
6
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
7
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
8
|
+
/**
|
|
9
|
+
* The planning assumptions production schedules are solved against, and the per-resource overrides that mark which machines constrain the plan.
|
|
10
|
+
*/
|
|
11
|
+
export declare class FulfillmentRecommendations extends APIResource {
|
|
12
|
+
actions: ActionsAPI.Actions;
|
|
13
|
+
/**
|
|
14
|
+
* Returns, for every sellable SKU, whether it should be built to stock or only
|
|
15
|
+
* against orders — and the measurement that decided.
|
|
16
|
+
*
|
|
17
|
+
* The rules are ordered and the first match wins. Lead-time feasibility is checked
|
|
18
|
+
* before anything else: if customers are promised less time than production needs,
|
|
19
|
+
* building to order is not possible rather than not preferred, and no amount of
|
|
20
|
+
* lumpy demand changes that. After that the engine looks for dead stock, a single
|
|
21
|
+
* contract customer, demand too erratic for a buffer to size, and slow-moving
|
|
22
|
+
* expensive units.
|
|
23
|
+
*
|
|
24
|
+
* Every verdict carries its numbers — demand interval, variability, customer
|
|
25
|
+
* concentration, promised lead time, annual cost of goods — so a planner can
|
|
26
|
+
* disagree with the rule rather than only with the answer. Thresholds are
|
|
27
|
+
* merchant-editable in the planning settings.
|
|
28
|
+
*
|
|
29
|
+
* Computed fresh on every call rather than stored. A recommendation is only
|
|
30
|
+
* meaningful next to current demand, and a saved one would go quietly stale; the
|
|
31
|
+
* durable artifact is the item setting written when someone agrees with it.
|
|
32
|
+
* Nothing here changes a plan on its own.
|
|
33
|
+
*
|
|
34
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const listFulfillmentRecommendation =
|
|
39
|
+
* await client.operations.fulfillmentRecommendations.list();
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
list(options?: RequestOptions): APIPromise<ListFulfillmentRecommendation>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The engine's advice on how one SKU should be produced, with the measurements
|
|
46
|
+
* behind it.
|
|
47
|
+
*/
|
|
48
|
+
export interface FulfillmentRecommendation {
|
|
49
|
+
/**
|
|
50
|
+
* Annual cost of goods for this item: demand times unit cost.
|
|
51
|
+
*/
|
|
52
|
+
annual_cogs: number;
|
|
53
|
+
/**
|
|
54
|
+
* Months observed divided by months with demand: 1 means it sells every month, 3
|
|
55
|
+
* means once a quarter on average.
|
|
56
|
+
*
|
|
57
|
+
* Measured on monthly buckets, which cannot distinguish two orders in one month
|
|
58
|
+
* from one.
|
|
59
|
+
*/
|
|
60
|
+
average_demand_interval: number;
|
|
61
|
+
/**
|
|
62
|
+
* Whether adopting the recommendation would change anything.
|
|
63
|
+
*/
|
|
64
|
+
changes: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Squared coefficient of variation over the months that had demand, measuring how
|
|
67
|
+
* uneven the quantities are.
|
|
68
|
+
*/
|
|
69
|
+
coefficient_of_variation: number;
|
|
70
|
+
/**
|
|
71
|
+
* How the item is planned today.
|
|
72
|
+
*/
|
|
73
|
+
current_policy: 'make_to_stock' | 'make_to_order';
|
|
74
|
+
/**
|
|
75
|
+
* Calendar days customers are promised on average, weighted by how much each buys.
|
|
76
|
+
*/
|
|
77
|
+
demand_weighted_lead_time_days: number;
|
|
78
|
+
/**
|
|
79
|
+
* Entity is a polymorphic reference to any resource in the system.
|
|
80
|
+
*/
|
|
81
|
+
item: CoreAPI.Entity | null;
|
|
82
|
+
/**
|
|
83
|
+
* Percentage of demand from customers whose own stated policy disagrees with the
|
|
84
|
+
* recommendation.
|
|
85
|
+
*
|
|
86
|
+
* A policy is resolved per SKU, so an item sold to both a stocking distributor and
|
|
87
|
+
* a contract customer gets one answer either way. A high share here is the signal
|
|
88
|
+
* that the single answer is uncomfortable.
|
|
89
|
+
*/
|
|
90
|
+
mixed_stream_share_pct: number;
|
|
91
|
+
/**
|
|
92
|
+
* Months since anything last sold, capped at the observation window.
|
|
93
|
+
*/
|
|
94
|
+
months_since_last_sale: number;
|
|
95
|
+
/**
|
|
96
|
+
* Resource type identifier.
|
|
97
|
+
*/
|
|
98
|
+
object: 'fulfillment_recommendation';
|
|
99
|
+
/**
|
|
100
|
+
* Entity is a polymorphic reference to any resource in the system.
|
|
101
|
+
*/
|
|
102
|
+
product_line: CoreAPI.Entity | null;
|
|
103
|
+
/**
|
|
104
|
+
* The rule that decided.
|
|
105
|
+
*
|
|
106
|
+
* - `lead_time_infeasible`: customers are promised less time than production
|
|
107
|
+
* needs, so the stock has to exist before the order does. Checked first, because
|
|
108
|
+
* producing to order is not possible rather than not preferred.
|
|
109
|
+
* - `no_recent_demand`: nothing has sold for long enough that a buffer is dead
|
|
110
|
+
* stock.
|
|
111
|
+
* - `single_customer`: effectively one customer buys it, and that customer is
|
|
112
|
+
* served to order.
|
|
113
|
+
* - `lumpy_demand`: demand arrives rarely and in wildly different sizes, which is
|
|
114
|
+
* the shape a safety stock sizes worst.
|
|
115
|
+
* - `slow_moving_high_value`: expensive units, few sold — the buffer costs more
|
|
116
|
+
* than the service it buys.
|
|
117
|
+
* - `steady_demand`: regular enough to forecast, which is what stocking is for.
|
|
118
|
+
*/
|
|
119
|
+
reason: 'lead_time_infeasible' | 'no_recent_demand' | 'single_customer' | 'lumpy_demand' | 'slow_moving_high_value' | 'steady_demand';
|
|
120
|
+
/**
|
|
121
|
+
* How the engine thinks it should be planned.
|
|
122
|
+
*/
|
|
123
|
+
recommended_policy: 'make_to_stock' | 'make_to_order';
|
|
124
|
+
/**
|
|
125
|
+
* SKU of that item.
|
|
126
|
+
*/
|
|
127
|
+
sku: string;
|
|
128
|
+
/**
|
|
129
|
+
* Name of that customer.
|
|
130
|
+
*/
|
|
131
|
+
top_customer_name: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* The largest customer's share of this item's demand, as a percentage.
|
|
134
|
+
*/
|
|
135
|
+
top_customer_share_pct: number;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* A single page of resources, together with the metadata needed to page through
|
|
139
|
+
* the rest of the result set.
|
|
140
|
+
*/
|
|
141
|
+
export interface ListFulfillmentRecommendation {
|
|
142
|
+
/**
|
|
143
|
+
* Resources in this page.
|
|
144
|
+
*/
|
|
145
|
+
data: Array<FulfillmentRecommendation>;
|
|
146
|
+
/**
|
|
147
|
+
* Resource type identifier.
|
|
148
|
+
*/
|
|
149
|
+
object: 'list';
|
|
150
|
+
/**
|
|
151
|
+
* PageInfo describes where the current page sits within a paginated result set and
|
|
152
|
+
* how to move to the adjacent pages.
|
|
153
|
+
*
|
|
154
|
+
* Page a list by following the URLs below rather than assembling cursors yourself.
|
|
155
|
+
* For a top-level list endpoint the URL repeats the original request's query
|
|
156
|
+
* string with only the cursor swapped, so following it preserves the same filters,
|
|
157
|
+
* search term, and page size.
|
|
158
|
+
*/
|
|
159
|
+
page_info: APIKeysAPI.PageInfo;
|
|
160
|
+
}
|
|
161
|
+
export declare namespace FulfillmentRecommendations {
|
|
162
|
+
export { type FulfillmentRecommendation as FulfillmentRecommendation, type ListFulfillmentRecommendation as ListFulfillmentRecommendation, };
|
|
163
|
+
export { Actions as Actions, type ApplyFulfillmentRecommendationsRequest as ApplyFulfillmentRecommendationsRequest, type ActionApplyParams as ActionApplyParams, };
|
|
164
|
+
}
|
|
165
|
+
//# sourceMappingURL=fulfillment-recommendations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fulfillment-recommendations.d.ts","sourceRoot":"","sources":["../../../src/resources/operations/fulfillment-recommendations/fulfillment-recommendations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,KAAK,UAAU;OACf,EAAE,iBAAiB,EAAE,OAAO,EAAE,sCAAsC,EAAE;OACtE,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,0BAA2B,SAAQ,WAAW;IACzD,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;CAG1E;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,wBAAwB,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,cAAc,EAAE,eAAe,GAAG,eAAe,CAAC;IAElD;;OAEG;IACH,8BAA8B,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAE5B;;;;;;;OAOG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,MAAM,EAAE,4BAA4B,CAAC;IAErC;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAEpC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,EACF,sBAAsB,GACtB,kBAAkB,GAClB,iBAAiB,GACjB,cAAc,GACd,wBAAwB,GACxB,eAAe,CAAC;IAEpB;;OAEG;IACH,kBAAkB,EAAE,eAAe,GAAG,eAAe,CAAC;IAEtD;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAEvC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;;;;OAQG;IACH,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC;CAChC;AAID,MAAM,CAAC,OAAO,WAAW,0BAA0B,CAAC;IAClD,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FulfillmentRecommendations = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const ActionsAPI = tslib_1.__importStar(require("./actions.js"));
|
|
8
|
+
const actions_1 = require("./actions.js");
|
|
9
|
+
/**
|
|
10
|
+
* The planning assumptions production schedules are solved against, and the per-resource overrides that mark which machines constrain the plan.
|
|
11
|
+
*/
|
|
12
|
+
class FulfillmentRecommendations extends resource_1.APIResource {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
this.actions = new ActionsAPI.Actions(this._client);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Returns, for every sellable SKU, whether it should be built to stock or only
|
|
19
|
+
* against orders — and the measurement that decided.
|
|
20
|
+
*
|
|
21
|
+
* The rules are ordered and the first match wins. Lead-time feasibility is checked
|
|
22
|
+
* before anything else: if customers are promised less time than production needs,
|
|
23
|
+
* building to order is not possible rather than not preferred, and no amount of
|
|
24
|
+
* lumpy demand changes that. After that the engine looks for dead stock, a single
|
|
25
|
+
* contract customer, demand too erratic for a buffer to size, and slow-moving
|
|
26
|
+
* expensive units.
|
|
27
|
+
*
|
|
28
|
+
* Every verdict carries its numbers — demand interval, variability, customer
|
|
29
|
+
* concentration, promised lead time, annual cost of goods — so a planner can
|
|
30
|
+
* disagree with the rule rather than only with the answer. Thresholds are
|
|
31
|
+
* merchant-editable in the planning settings.
|
|
32
|
+
*
|
|
33
|
+
* Computed fresh on every call rather than stored. A recommendation is only
|
|
34
|
+
* meaningful next to current demand, and a saved one would go quietly stale; the
|
|
35
|
+
* durable artifact is the item setting written when someone agrees with it.
|
|
36
|
+
* Nothing here changes a plan on its own.
|
|
37
|
+
*
|
|
38
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const listFulfillmentRecommendation =
|
|
43
|
+
* await client.operations.fulfillmentRecommendations.list();
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
list(options) {
|
|
47
|
+
return this._client.get('/v1/operations/fulfillment-recommendations', options);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.FulfillmentRecommendations = FulfillmentRecommendations;
|
|
51
|
+
FulfillmentRecommendations.Actions = actions_1.Actions;
|
|
52
|
+
//# sourceMappingURL=fulfillment-recommendations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fulfillment-recommendations.js","sourceRoot":"","sources":["../../../src/resources/operations/fulfillment-recommendations/fulfillment-recommendations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAGrD,iEAAwC;AACxC,0CAA+F;AAI/F;;GAEG;AACH,MAAa,0BAA2B,SAAQ,sBAAW;IAA3D;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkCrE,CAAC;IAhCC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4CAA4C,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF;AAnCD,gEAmCC;AAgJD,0BAA0B,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as ActionsAPI from "./actions.mjs";
|
|
4
|
+
import { Actions } from "./actions.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* The planning assumptions production schedules are solved against, and the per-resource overrides that mark which machines constrain the plan.
|
|
7
|
+
*/
|
|
8
|
+
export class FulfillmentRecommendations extends APIResource {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.actions = new ActionsAPI.Actions(this._client);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Returns, for every sellable SKU, whether it should be built to stock or only
|
|
15
|
+
* against orders — and the measurement that decided.
|
|
16
|
+
*
|
|
17
|
+
* The rules are ordered and the first match wins. Lead-time feasibility is checked
|
|
18
|
+
* before anything else: if customers are promised less time than production needs,
|
|
19
|
+
* building to order is not possible rather than not preferred, and no amount of
|
|
20
|
+
* lumpy demand changes that. After that the engine looks for dead stock, a single
|
|
21
|
+
* contract customer, demand too erratic for a buffer to size, and slow-moving
|
|
22
|
+
* expensive units.
|
|
23
|
+
*
|
|
24
|
+
* Every verdict carries its numbers — demand interval, variability, customer
|
|
25
|
+
* concentration, promised lead time, annual cost of goods — so a planner can
|
|
26
|
+
* disagree with the rule rather than only with the answer. Thresholds are
|
|
27
|
+
* merchant-editable in the planning settings.
|
|
28
|
+
*
|
|
29
|
+
* Computed fresh on every call rather than stored. A recommendation is only
|
|
30
|
+
* meaningful next to current demand, and a saved one would go quietly stale; the
|
|
31
|
+
* durable artifact is the item setting written when someone agrees with it.
|
|
32
|
+
* Nothing here changes a plan on its own.
|
|
33
|
+
*
|
|
34
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const listFulfillmentRecommendation =
|
|
39
|
+
* await client.operations.fulfillmentRecommendations.list();
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
list(options) {
|
|
43
|
+
return this._client.get('/v1/operations/fulfillment-recommendations', options);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
FulfillmentRecommendations.Actions = Actions;
|
|
47
|
+
//# sourceMappingURL=fulfillment-recommendations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fulfillment-recommendations.mjs","sourceRoot":"","sources":["../../../src/resources/operations/fulfillment-recommendations/fulfillment-recommendations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,UAAU;OACf,EAAqB,OAAO,EAA0C;AAI7E;;GAEG;AACH,MAAM,OAAO,0BAA2B,SAAQ,WAAW;IAA3D;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAkCrE,CAAC;IAhCC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4CAA4C,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF;AAgJD,0BAA0B,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Actions, type ApplyFulfillmentRecommendationsRequest, type ActionApplyParams } from "./actions.mjs";
|
|
2
|
+
export { FulfillmentRecommendations, type FulfillmentRecommendation, type ListFulfillmentRecommendation, } from "./fulfillment-recommendations.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/operations/fulfillment-recommendations/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,sCAAsC,EAAE,KAAK,iBAAiB,EAAE;OAChF,EACL,0BAA0B,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,GACnC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Actions, type ApplyFulfillmentRecommendationsRequest, type ActionApplyParams } from "./actions.js";
|
|
2
|
+
export { FulfillmentRecommendations, type FulfillmentRecommendation, type ListFulfillmentRecommendation, } from "./fulfillment-recommendations.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/operations/fulfillment-recommendations/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,sCAAsC,EAAE,KAAK,iBAAiB,EAAE;OAChF,EACL,0BAA0B,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,GACnC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FulfillmentRecommendations = exports.Actions = void 0;
|
|
5
|
+
var actions_1 = require("./actions.js");
|
|
6
|
+
Object.defineProperty(exports, "Actions", { enumerable: true, get: function () { return actions_1.Actions; } });
|
|
7
|
+
var fulfillment_recommendations_1 = require("./fulfillment-recommendations.js");
|
|
8
|
+
Object.defineProperty(exports, "FulfillmentRecommendations", { enumerable: true, get: function () { return fulfillment_recommendations_1.FulfillmentRecommendations; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/operations/fulfillment-recommendations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAyG;AAAhG,kGAAA,OAAO,OAAA;AAChB,gFAIuC;AAHrC,yIAAA,0BAA0B,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/operations/fulfillment-recommendations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAuE;OAChF,EACL,0BAA0B,GAG3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fulfillment-recommendations.d.mts","sourceRoot":"","sources":["../../src/resources/operations/fulfillment-recommendations.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fulfillment-recommendations.d.ts","sourceRoot":"","sources":["../../src/resources/operations/fulfillment-recommendations.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./fulfillment-recommendations/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=fulfillment-recommendations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fulfillment-recommendations.js","sourceRoot":"","sources":["../../src/resources/operations/fulfillment-recommendations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iFAAoD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fulfillment-recommendations.mjs","sourceRoot":"","sources":["../../src/resources/operations/fulfillment-recommendations.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export { Carriers, type CreateCarrierRequest, type ListCarrier, type UpdateCarrierRequest, type CarrierDeleteResponse, type CarrierListParams, type CarrierRetrieveParams, type CarrierCreateParams, type CarrierUpdateParams, } from "./carriers/index.mjs";
|
|
2
2
|
export { DemandOverrides, type CreateDemandOverrideRequest, type DemandOverride, type ListDemandOverride, type UpdateDemandOverrideRequest, type DemandOverrideDeleteResponse, type DemandOverrideListParams, type DemandOverrideRetrieveParams, type DemandOverrideCreateParams, type DemandOverrideUpdateParams, } from "./demand-overrides.mjs";
|
|
3
3
|
export { Departments, type CreateDepartmentRequest, type DepartmentRateInput, type ListDepartment, type UpdateDepartmentRequest, type DepartmentDeleteResponse, type DepartmentListParams, type DepartmentRetrieveParams, type DepartmentCreateParams, type DepartmentUpdateParams, } from "./departments.mjs";
|
|
4
|
+
export { FulfillmentRecommendations, type FulfillmentRecommendation, type ListFulfillmentRecommendation, } from "./fulfillment-recommendations/index.mjs";
|
|
4
5
|
export { LocationTypes, type ListLocationType, type LocationType, type LocationTypeListParams, } from "./location-types.mjs";
|
|
5
|
-
export { Locations, type CreateLocationRequest, type UpdateLocationRequest, type LocationDeleteResponse, type LocationListParams, type LocationRetrieveParams, type LocationCreateParams, type LocationUpdateParams, } from "./locations.mjs";
|
|
6
|
+
export { Locations, type CreateLocationRequest, type UpdateLocationRequest, type LocationDeleteResponse, type LocationListParams, type LocationRetrieveParams, type LocationCreateParams, type LocationUpdateParams, } from "./locations/index.mjs";
|
|
6
7
|
export { MachineDowntimeEvents, type CreateMachineDowntimeEventRequest, type ListMachineDowntimeEvent, type MachineDowntimeEvent, type UpdateMachineDowntimeEventRequest, type MachineDowntimeEventDeleteResponse, type MachineDowntimeEventListParams, type MachineDowntimeEventRetrieveParams, type MachineDowntimeEventCreateParams, type MachineDowntimeEventUpdateParams, } from "./machine-downtime-events.mjs";
|
|
7
8
|
export { Machines, type CreateMachineRequest, type UpdateMachineRequest, type MachineDeleteResponse, type MachineListParams, type MachineRetrieveParams, type MachineCreateParams, type MachineUpdateParams, } from "./machines.mjs";
|
|
8
9
|
export { Operations, type DemandOverrideType, type ListDemandOverrideType, type ListMachineDowntimeReason, type ListMachineStatus, type ListScheduleDeviationType, type MachineCampaign, type MachineDowntimeReason, type MachineDowntimeReasonSummary, type MachineDowntimeSummary, type MachineStatus, type ScheduleDeviationType, type OperationRetrieveMachineStatusParams, } from "./operations.mjs";
|
|
9
10
|
export { ProductionScheduleSettings, type UpdateProductionScheduleSettingsRequest, type ProductionScheduleSettingUpdateParams, } from "./production-schedule-settings/index.mjs";
|
|
10
|
-
export { ProductionSchedules, type GenerateProductionScheduleRequest, type ListProductionSchedule, type ListProductionScheduleDerivedLine, type ListProductionScheduleDeviation, type ListProductionScheduleFinishedPolicy, type ListProductionScheduleItemPolicy, type ListReleaseScheduleBatch, type ListReleasedScheduleLine, type ListScheduleAppliedOverride, type ProductionSchedule, type ProductionScheduleDerivedLine, type ProductionScheduleDeviation, type ProductionScheduleFinishedPolicy, type ProductionScheduleItemPolicy, type ReleaseScheduleBatch, type ReleaseScheduleWeekPreview, type ReleasedScheduleLine, type ScheduleAppliedOverride, type ScheduleDiagnostics, type ProductionScheduleDeleteResponse, type ProductionScheduleListParams, type ProductionScheduleCreateParams, type ProductionScheduleRetrieveDerivedLinesParams, type ProductionScheduleRetrieveDeviationsParams, type ProductionScheduleRetrieveWeekReleasePreviewParams, } from "./production-schedules/index.mjs";
|
|
11
|
+
export { ProductionSchedules, type GenerateProductionScheduleRequest, type ListProductionSchedule, type ListProductionScheduleDerivedLine, type ListProductionScheduleDeviation, type ListProductionScheduleFinishedPolicy, type ListProductionScheduleItemPolicy, type ListReleaseScheduleBatch, type ListReleasedScheduleLine, type ListScheduleAppliedOverride, type ListScheduleAtRiskOrder, type ListScheduleOrderCoverage, type ListScheduleOrderCoverageLine, type ProductionSchedule, type ProductionScheduleDerivedLine, type ProductionScheduleDeviation, type ProductionScheduleFinishedPolicy, type ProductionScheduleItemPolicy, type ReleaseScheduleBatch, type ReleaseScheduleWeekPreview, type ReleasedScheduleLine, type ScheduleAppliedOverride, type ScheduleAtRiskOrder, type ScheduleDiagnostics, type ScheduleOrderCoverage, type ScheduleOrderCoverageLine, type ProductionScheduleDeleteResponse, type ProductionScheduleListParams, type ProductionScheduleCreateParams, type ProductionScheduleRetrieveDerivedLinesParams, type ProductionScheduleRetrieveDeviationsParams, type ProductionScheduleRetrieveWeekReleasePreviewParams, } from "./production-schedules/index.mjs";
|
|
11
12
|
export { ScanningStations, type CreateScanningStationRequest, type UpdateScanningStationRequest, type ScanningStationDeleteResponse, type ScanningStationListParams, type ScanningStationRetrieveParams, type ScanningStationCreateParams, type ScanningStationUpdateParams, } from "./scanning-stations.mjs";
|
|
12
13
|
export { Shipments } from "./shipments/index.mjs";
|
|
13
14
|
export { ShippingTerms, type CreateShippingTermRequest, type ListShippingTerm, type UpdateShippingTermRequest, type ShippingTermDeleteResponse, type ShippingTermListParams, type ShippingTermRetrieveParams, type ShippingTermCreateParams, type ShippingTermUpdateParams, } from "./shipping-terms.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/operations/index.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,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAChC;OACM,EACL,WAAW,EACX,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,0BAA0B,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,GACnC;OACM,EACL,aAAa,EACb,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,sBAAsB,GAC5B;OACM,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B;OACM,EACL,qBAAqB,EACrB,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACvC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,EACr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A4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,GACjC;OACM,EAAE,SAAS,EAAE;OACb,EACL,aAAa,EACb,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export { Carriers, type CreateCarrierRequest, type ListCarrier, type UpdateCarrierRequest, type CarrierDeleteResponse, type CarrierListParams, type CarrierRetrieveParams, type CarrierCreateParams, type CarrierUpdateParams, } from "./carriers/index.js";
|
|
2
2
|
export { DemandOverrides, type CreateDemandOverrideRequest, type DemandOverride, type ListDemandOverride, type UpdateDemandOverrideRequest, type DemandOverrideDeleteResponse, type DemandOverrideListParams, type DemandOverrideRetrieveParams, type DemandOverrideCreateParams, type DemandOverrideUpdateParams, } from "./demand-overrides.js";
|
|
3
3
|
export { Departments, type CreateDepartmentRequest, type DepartmentRateInput, type ListDepartment, type UpdateDepartmentRequest, type DepartmentDeleteResponse, type DepartmentListParams, type DepartmentRetrieveParams, type DepartmentCreateParams, type DepartmentUpdateParams, } from "./departments.js";
|
|
4
|
+
export { FulfillmentRecommendations, type FulfillmentRecommendation, type ListFulfillmentRecommendation, } from "./fulfillment-recommendations/index.js";
|
|
4
5
|
export { LocationTypes, type ListLocationType, type LocationType, type LocationTypeListParams, } from "./location-types.js";
|
|
5
|
-
export { Locations, type CreateLocationRequest, type UpdateLocationRequest, type LocationDeleteResponse, type LocationListParams, type LocationRetrieveParams, type LocationCreateParams, type LocationUpdateParams, } from "./locations.js";
|
|
6
|
+
export { Locations, type CreateLocationRequest, type UpdateLocationRequest, type LocationDeleteResponse, type LocationListParams, type LocationRetrieveParams, type LocationCreateParams, type LocationUpdateParams, } from "./locations/index.js";
|
|
6
7
|
export { MachineDowntimeEvents, type CreateMachineDowntimeEventRequest, type ListMachineDowntimeEvent, type MachineDowntimeEvent, type UpdateMachineDowntimeEventRequest, type MachineDowntimeEventDeleteResponse, type MachineDowntimeEventListParams, type MachineDowntimeEventRetrieveParams, type MachineDowntimeEventCreateParams, type MachineDowntimeEventUpdateParams, } from "./machine-downtime-events.js";
|
|
7
8
|
export { Machines, type CreateMachineRequest, type UpdateMachineRequest, type MachineDeleteResponse, type MachineListParams, type MachineRetrieveParams, type MachineCreateParams, type MachineUpdateParams, } from "./machines.js";
|
|
8
9
|
export { Operations, type DemandOverrideType, type ListDemandOverrideType, type ListMachineDowntimeReason, type ListMachineStatus, type ListScheduleDeviationType, type MachineCampaign, type MachineDowntimeReason, type MachineDowntimeReasonSummary, type MachineDowntimeSummary, type MachineStatus, type ScheduleDeviationType, type OperationRetrieveMachineStatusParams, } from "./operations.js";
|
|
9
10
|
export { ProductionScheduleSettings, type UpdateProductionScheduleSettingsRequest, type ProductionScheduleSettingUpdateParams, } from "./production-schedule-settings/index.js";
|
|
10
|
-
export { ProductionSchedules, type GenerateProductionScheduleRequest, type ListProductionSchedule, type ListProductionScheduleDerivedLine, type ListProductionScheduleDeviation, type ListProductionScheduleFinishedPolicy, type ListProductionScheduleItemPolicy, type ListReleaseScheduleBatch, type ListReleasedScheduleLine, type ListScheduleAppliedOverride, type ProductionSchedule, type ProductionScheduleDerivedLine, type ProductionScheduleDeviation, type ProductionScheduleFinishedPolicy, type ProductionScheduleItemPolicy, type ReleaseScheduleBatch, type ReleaseScheduleWeekPreview, type ReleasedScheduleLine, type ScheduleAppliedOverride, type ScheduleDiagnostics, type ProductionScheduleDeleteResponse, type ProductionScheduleListParams, type ProductionScheduleCreateParams, type ProductionScheduleRetrieveDerivedLinesParams, type ProductionScheduleRetrieveDeviationsParams, type ProductionScheduleRetrieveWeekReleasePreviewParams, } from "./production-schedules/index.js";
|
|
11
|
+
export { ProductionSchedules, type GenerateProductionScheduleRequest, type ListProductionSchedule, type ListProductionScheduleDerivedLine, type ListProductionScheduleDeviation, type ListProductionScheduleFinishedPolicy, type ListProductionScheduleItemPolicy, type ListReleaseScheduleBatch, type ListReleasedScheduleLine, type ListScheduleAppliedOverride, type ListScheduleAtRiskOrder, type ListScheduleOrderCoverage, type ListScheduleOrderCoverageLine, type ProductionSchedule, type ProductionScheduleDerivedLine, type ProductionScheduleDeviation, type ProductionScheduleFinishedPolicy, type ProductionScheduleItemPolicy, type ReleaseScheduleBatch, type ReleaseScheduleWeekPreview, type ReleasedScheduleLine, type ScheduleAppliedOverride, type ScheduleAtRiskOrder, type ScheduleDiagnostics, type ScheduleOrderCoverage, type ScheduleOrderCoverageLine, type ProductionScheduleDeleteResponse, type ProductionScheduleListParams, type ProductionScheduleCreateParams, type ProductionScheduleRetrieveDerivedLinesParams, type ProductionScheduleRetrieveDeviationsParams, type ProductionScheduleRetrieveWeekReleasePreviewParams, } from "./production-schedules/index.js";
|
|
11
12
|
export { ScanningStations, type CreateScanningStationRequest, type UpdateScanningStationRequest, type ScanningStationDeleteResponse, type ScanningStationListParams, type ScanningStationRetrieveParams, type ScanningStationCreateParams, type ScanningStationUpdateParams, } from "./scanning-stations.js";
|
|
12
13
|
export { Shipments } from "./shipments/index.js";
|
|
13
14
|
export { ShippingTerms, type CreateShippingTermRequest, type ListShippingTerm, type UpdateShippingTermRequest, type ShippingTermDeleteResponse, type ShippingTermListParams, type ShippingTermRetrieveParams, type ShippingTermCreateParams, type ShippingTermUpdateParams, } from "./shipping-terms.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAq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pB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,oCAAoC,GAC1C;OACM,EACL,0BAA0B,EAC1B,KAAK,uCAAuC,EAC5C,KAAK,qCAAqC,GAC3C;OACM,EACL,mBAAmB,EACnB,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,4CAA4C,EACjD,KAAK,0CAA0C,EAC/C,KAAK,kDAAkD,GACxD;OACM,EACL,gBAAgB,EAChB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,GACjC;OACM,EAAE,SAAS,EAAE;OACb,EACL,aAAa,EACb,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KA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AAE;OACb,EACL,aAAa,EACb,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B"}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ShippingTerms = exports.Shipments = exports.ScanningStations = exports.ProductionSchedules = exports.ProductionScheduleSettings = exports.Operations = exports.Machines = exports.MachineDowntimeEvents = exports.Locations = exports.LocationTypes = exports.Departments = exports.DemandOverrides = exports.Carriers = void 0;
|
|
4
|
+
exports.ShippingTerms = exports.Shipments = exports.ScanningStations = exports.ProductionSchedules = exports.ProductionScheduleSettings = exports.Operations = exports.Machines = exports.MachineDowntimeEvents = exports.Locations = exports.LocationTypes = exports.FulfillmentRecommendations = exports.Departments = exports.DemandOverrides = exports.Carriers = void 0;
|
|
5
5
|
var index_1 = require("./carriers/index.js");
|
|
6
6
|
Object.defineProperty(exports, "Carriers", { enumerable: true, get: function () { return index_1.Carriers; } });
|
|
7
7
|
var demand_overrides_1 = require("./demand-overrides.js");
|
|
8
8
|
Object.defineProperty(exports, "DemandOverrides", { enumerable: true, get: function () { return demand_overrides_1.DemandOverrides; } });
|
|
9
9
|
var departments_1 = require("./departments.js");
|
|
10
10
|
Object.defineProperty(exports, "Departments", { enumerable: true, get: function () { return departments_1.Departments; } });
|
|
11
|
+
var index_2 = require("./fulfillment-recommendations/index.js");
|
|
12
|
+
Object.defineProperty(exports, "FulfillmentRecommendations", { enumerable: true, get: function () { return index_2.FulfillmentRecommendations; } });
|
|
11
13
|
var location_types_1 = require("./location-types.js");
|
|
12
14
|
Object.defineProperty(exports, "LocationTypes", { enumerable: true, get: function () { return location_types_1.LocationTypes; } });
|
|
13
|
-
var
|
|
14
|
-
Object.defineProperty(exports, "Locations", { enumerable: true, get: function () { return
|
|
15
|
+
var index_3 = require("./locations/index.js");
|
|
16
|
+
Object.defineProperty(exports, "Locations", { enumerable: true, get: function () { return index_3.Locations; } });
|
|
15
17
|
var machine_downtime_events_1 = require("./machine-downtime-events.js");
|
|
16
18
|
Object.defineProperty(exports, "MachineDowntimeEvents", { enumerable: true, get: function () { return machine_downtime_events_1.MachineDowntimeEvents; } });
|
|
17
19
|
var machines_1 = require("./machines.js");
|
|
18
20
|
Object.defineProperty(exports, "Machines", { enumerable: true, get: function () { return machines_1.Machines; } });
|
|
19
21
|
var operations_1 = require("./operations.js");
|
|
20
22
|
Object.defineProperty(exports, "Operations", { enumerable: true, get: function () { return operations_1.Operations; } });
|
|
21
|
-
var
|
|
22
|
-
Object.defineProperty(exports, "ProductionScheduleSettings", { enumerable: true, get: function () { return
|
|
23
|
-
var
|
|
24
|
-
Object.defineProperty(exports, "ProductionSchedules", { enumerable: true, get: function () { return
|
|
23
|
+
var index_4 = require("./production-schedule-settings/index.js");
|
|
24
|
+
Object.defineProperty(exports, "ProductionScheduleSettings", { enumerable: true, get: function () { return index_4.ProductionScheduleSettings; } });
|
|
25
|
+
var index_5 = require("./production-schedules/index.js");
|
|
26
|
+
Object.defineProperty(exports, "ProductionSchedules", { enumerable: true, get: function () { return index_5.ProductionSchedules; } });
|
|
25
27
|
var scanning_stations_1 = require("./scanning-stations.js");
|
|
26
28
|
Object.defineProperty(exports, "ScanningStations", { enumerable: true, get: function () { return scanning_stations_1.ScanningStations; } });
|
|
27
|
-
var
|
|
28
|
-
Object.defineProperty(exports, "Shipments", { enumerable: true, get: function () { return
|
|
29
|
+
var index_6 = require("./shipments/index.js");
|
|
30
|
+
Object.defineProperty(exports, "Shipments", { enumerable: true, get: function () { return index_6.Shipments; } });
|
|
29
31
|
var shipping_terms_1 = require("./shipping-terms.js");
|
|
30
32
|
Object.defineProperty(exports, "ShippingTerms", { enumerable: true, get: function () { return shipping_terms_1.ShippingTerms; } });
|
|
31
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAU0B;AATxB,iGAAA,QAAQ,OAAA;AAUV,0DAW4B;AAV1B,mHAAA,eAAe,OAAA;AAWjB,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,sDAK0B;AAJxB,+GAAA,aAAa,OAAA;AAKf,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAU0B;AATxB,iGAAA,QAAQ,OAAA;AAUV,0DAW4B;AAV1B,mHAAA,eAAe,OAAA;AAWjB,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,gEAI6C;AAH3C,mHAAA,0BAA0B,OAAA;AAI5B,sDAK0B;AAJxB,+GAAA,aAAa,OAAA;AAKf,8CAS2B;AARzB,kGAAA,SAAS,OAAA;AASX,wEAWmC;AAVjC,gIAAA,qBAAqB,OAAA;AAWvB,0CASoB;AARlB,oGAAA,QAAQ,OAAA;AASV,8CAcsB;AAbpB,wGAAA,UAAU,OAAA;AAcZ,iEAI8C;AAH5C,mHAAA,0BAA0B,OAAA;AAI5B,yDAiCsC;AAhCpC,4GAAA,mBAAmB,OAAA;AAiCrB,4DAS6B;AAR3B,qHAAA,gBAAgB,OAAA;AASlB,8CAA8C;AAArC,kGAAA,SAAS,OAAA;AAClB,sDAU0B;AATxB,+GAAA,aAAa,OAAA"}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
export { Carriers, } from "./carriers/index.mjs";
|
|
3
3
|
export { DemandOverrides, } from "./demand-overrides.mjs";
|
|
4
4
|
export { Departments, } from "./departments.mjs";
|
|
5
|
+
export { FulfillmentRecommendations, } from "./fulfillment-recommendations/index.mjs";
|
|
5
6
|
export { LocationTypes, } from "./location-types.mjs";
|
|
6
|
-
export { Locations, } from "./locations.mjs";
|
|
7
|
+
export { Locations, } from "./locations/index.mjs";
|
|
7
8
|
export { MachineDowntimeEvents, } from "./machine-downtime-events.mjs";
|
|
8
9
|
export { Machines, } from "./machines.mjs";
|
|
9
10
|
export { Operations, } from "./operations.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAST;OACM,EACL,eAAe,GAUhB;OACM,EACL,WAAW,GAUZ;OACM,EACL,aAAa,GAId;OACM,EACL,SAAS,GAQV;OACM,EACL,qBAAqB,GAUtB;OACM,EACL,QAAQ,GAQT;OACM,EACL,UAAU,GAaX;OACM,EACL,0BAA0B,GAG3B;OACM,EACL,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/operations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAST;OACM,EACL,eAAe,GAUhB;OACM,EACL,WAAW,GAUZ;OACM,EACL,0BAA0B,GAG3B;OACM,EACL,aAAa,GAId;OACM,EACL,SAAS,GAQV;OACM,EACL,qBAAqB,GAUtB;OACM,EACL,QAAQ,GAQT;OACM,EACL,UAAU,GAaX;OACM,EACL,0BAA0B,GAG3B;OACM,EACL,mBAAmB,GAgCpB;OACM,EACL,gBAAgB,GAQjB;OACM,EAAE,SAAS,EAAE;OACb,EACL,aAAa,GASd"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as JobsAPI from "../../core/jobs.mjs";
|
|
3
|
+
import * as BlocksAPI from "../../messaging/blocks.mjs";
|
|
4
|
+
import * as ActionsAPI from "../../catalog/item-categories/actions.mjs";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* List and manage locations.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Actions extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Creates or updates multiple locations for the account, matched by name
|
|
13
|
+
* (case-insensitive), then writes asynchronously — 202 with a job to poll.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const job =
|
|
18
|
+
* await client.operations.locations.actions.bulkUpsert({
|
|
19
|
+
* locations: [{ name: 'Warehouse A', type: 'building' }],
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* BulkUpsertLocationsRequest is the request to bulk upsert locations.
|
|
27
|
+
*/
|
|
28
|
+
export interface BulkUpsertLocationsRequest {
|
|
29
|
+
/**
|
|
30
|
+
* Locations to create or update, matched by name within the account.
|
|
31
|
+
*/
|
|
32
|
+
locations: Array<UpsertLocationInput>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* UpsertLocationInput is the input for a single location in a bulk upsert
|
|
36
|
+
* operation.
|
|
37
|
+
*/
|
|
38
|
+
export interface UpsertLocationInput {
|
|
39
|
+
/**
|
|
40
|
+
* Display name of the location, used to match existing locations.
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
* Location type code.
|
|
45
|
+
*/
|
|
46
|
+
type: BlocksAPI.LocationTypeCode;
|
|
47
|
+
/**
|
|
48
|
+
* Child locations to re-parent under this one, referenced by `id` or `name`, or by
|
|
49
|
+
* name for a location in the same batch. Redundant with `parent` on each child.
|
|
50
|
+
*/
|
|
51
|
+
children?: Array<ActionsAPI.ObjectIdentifier>;
|
|
52
|
+
/**
|
|
53
|
+
* -------------------------- Named Object -------------------------- Identifies an
|
|
54
|
+
* object by its id or its name. An id wins when both are given.
|
|
55
|
+
*/
|
|
56
|
+
parent?: ActionsAPI.ObjectIdentifier;
|
|
57
|
+
}
|
|
58
|
+
export interface ActionBulkUpsertParams {
|
|
59
|
+
/**
|
|
60
|
+
* Locations to create or update, matched by name within the account.
|
|
61
|
+
*/
|
|
62
|
+
locations: Array<UpsertLocationInput>;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace Actions {
|
|
65
|
+
export { type BulkUpsertLocationsRequest as BulkUpsertLocationsRequest, type UpsertLocationInput as UpsertLocationInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=actions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/operations/locations/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,SAAS;OACd,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAG5F;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC,gBAAgB,CAAC;IAEjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAE9C;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACvC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|