@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,362 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as APIKeysAPI from "../../auth/api-keys/api-keys.mjs";
|
|
3
|
+
import * as ItemsAPI from "../items/items.mjs";
|
|
4
|
+
import * as MaterialsAPI from "../materials/materials.mjs";
|
|
5
|
+
import * as ActionsAPI from "./actions.mjs";
|
|
6
|
+
import { ActionBulkUpsertParams, Actions, BulkUpsertPartsRequest, UpsertPartInput, UpsertPartProperty } from "./actions.mjs";
|
|
7
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
8
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
9
|
+
/**
|
|
10
|
+
* List and manage parts.
|
|
11
|
+
*/
|
|
12
|
+
export declare class Parts extends APIResource {
|
|
13
|
+
actions: ActionsAPI.Actions;
|
|
14
|
+
/**
|
|
15
|
+
* Returns a paginated list of parts for the current account, most recently created
|
|
16
|
+
* first.
|
|
17
|
+
*
|
|
18
|
+
* The `q` search term matches the part's SKU or description. When it is supplied,
|
|
19
|
+
* the parts whose SKU matches it most closely are returned first, ordered by
|
|
20
|
+
* creation time within each level of match.
|
|
21
|
+
*
|
|
22
|
+
* This endpoint requires the permissions: `parts:read`, `customers:read`,
|
|
23
|
+
* `suppliers:read`.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const listPart = await client.catalog.parts.list();
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
list(query?: PartListParams | null | undefined, options?: RequestOptions): APIPromise<ListPart>;
|
|
31
|
+
/**
|
|
32
|
+
* Returns a part by ID.
|
|
33
|
+
*
|
|
34
|
+
* This endpoint requires the permissions: `parts:read`, `customers:read`,
|
|
35
|
+
* `suppliers:read`.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const part = await client.catalog.parts.retrieve(
|
|
40
|
+
* 'pt_coba9fgvd84c',
|
|
41
|
+
* );
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
retrieve(id: string, query?: PartRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Part>;
|
|
45
|
+
/**
|
|
46
|
+
* Creates a part with the specified SKU and category.
|
|
47
|
+
*
|
|
48
|
+
* Inventory tracking for the new part starts at a zero on-hand quantity in the
|
|
49
|
+
* category's base unit.
|
|
50
|
+
*
|
|
51
|
+
* This endpoint requires the permissions: `parts:create`, `customers:update`,
|
|
52
|
+
* `suppliers:update`.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const part = await client.catalog.parts.create({
|
|
57
|
+
* category_id: 'ic_d06g9c6yc9ck',
|
|
58
|
+
* sku: 'BRG-6204-2RS',
|
|
59
|
+
* attribute_ids: ['at_rf1w295jt5ia'],
|
|
60
|
+
* description: 'Deep groove ball bearing, 20x47x14mm',
|
|
61
|
+
* notes:
|
|
62
|
+
* 'OEM-equivalent; verify shielding type before substitution.',
|
|
63
|
+
* unit_cost: {
|
|
64
|
+
* value: '9.40',
|
|
65
|
+
* numerator_unit_id: 'un_82bd37dae5po',
|
|
66
|
+
* denominator_unit_id: 'un_82bd37dae5po',
|
|
67
|
+
* },
|
|
68
|
+
* unit_price: {
|
|
69
|
+
* value: '14.99',
|
|
70
|
+
* numerator_unit_id: 'un_82bd37dae5po',
|
|
71
|
+
* denominator_unit_id: 'un_82bd37dae5po',
|
|
72
|
+
* },
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
create(params: PartCreateParams, options?: RequestOptions): APIPromise<Part>;
|
|
77
|
+
/**
|
|
78
|
+
* Partially updates a part.
|
|
79
|
+
*
|
|
80
|
+
* Fields not provided retain their current values. Only the SKU, description, and
|
|
81
|
+
* notes are editable here; the part's category and attributes are changed through
|
|
82
|
+
* the item endpoints.
|
|
83
|
+
*
|
|
84
|
+
* This endpoint requires the permissions: `parts:update`, `customers:update`,
|
|
85
|
+
* `suppliers:update`.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```ts
|
|
89
|
+
* const part = await client.catalog.parts.update(
|
|
90
|
+
* 'pt_coba9fgvd84c',
|
|
91
|
+
* {
|
|
92
|
+
* description: 'Deep groove ball bearing, 20x47x14mm',
|
|
93
|
+
* notes:
|
|
94
|
+
* 'Superseded by low-friction variant; keep for legacy assemblies.',
|
|
95
|
+
* sku: 'BRG-6204-2RS',
|
|
96
|
+
* },
|
|
97
|
+
* );
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
update(id: string, params?: PartUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Part>;
|
|
101
|
+
/**
|
|
102
|
+
* Deletes a part.
|
|
103
|
+
*
|
|
104
|
+
* This is a soft delete: the part is marked deleted and no longer returned by
|
|
105
|
+
* other endpoints, but the record is retained. Deleting an already-deleted part
|
|
106
|
+
* returns an error.
|
|
107
|
+
*
|
|
108
|
+
* This endpoint requires the permissions: `parts:delete`, `customers:update`,
|
|
109
|
+
* `suppliers:update`.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* const part = await client.catalog.parts.delete(
|
|
114
|
+
* 'pt_coba9fgvd84c',
|
|
115
|
+
* );
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
delete(id: string, options?: RequestOptions): APIPromise<Part>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Request to create a part.
|
|
122
|
+
*/
|
|
123
|
+
export interface CreatePartRequest {
|
|
124
|
+
/**
|
|
125
|
+
* ID of the item category to place the part in.
|
|
126
|
+
*
|
|
127
|
+
* The category's unit group determines the base unit used for the part's rates
|
|
128
|
+
* (`unit_value`, `unit_cost`, `burn_rate`).
|
|
129
|
+
*/
|
|
130
|
+
category_id: string;
|
|
131
|
+
/**
|
|
132
|
+
* Stock keeping unit code for the part.
|
|
133
|
+
*
|
|
134
|
+
* Must be unique within the account; creating a part with a SKU already used by
|
|
135
|
+
* another item fails with a conflict error.
|
|
136
|
+
*/
|
|
137
|
+
sku: string;
|
|
138
|
+
/**
|
|
139
|
+
* IDs of existing attributes to link to the part at creation time.
|
|
140
|
+
*/
|
|
141
|
+
attribute_ids?: Array<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Free-form description of the part.
|
|
144
|
+
*/
|
|
145
|
+
description?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Free-form notes about the part.
|
|
148
|
+
*/
|
|
149
|
+
notes?: string;
|
|
150
|
+
/**
|
|
151
|
+
* A value expressed as a ratio of two units, supplied on create and update
|
|
152
|
+
* requests.
|
|
153
|
+
*
|
|
154
|
+
* A unit price, for example, has a currency as its numerator unit and the unit the
|
|
155
|
+
* product is bought or sold by as its denominator.
|
|
156
|
+
*/
|
|
157
|
+
unit_cost?: MaterialsAPI.RateInput;
|
|
158
|
+
/**
|
|
159
|
+
* A value expressed as a ratio of two units, supplied on create and update
|
|
160
|
+
* requests.
|
|
161
|
+
*
|
|
162
|
+
* A unit price, for example, has a currency as its numerator unit and the unit the
|
|
163
|
+
* product is bought or sold by as its denominator.
|
|
164
|
+
*/
|
|
165
|
+
unit_price?: MaterialsAPI.RateInput;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* A single page of resources, together with the metadata needed to page through
|
|
169
|
+
* the rest of the result set.
|
|
170
|
+
*/
|
|
171
|
+
export interface ListPart {
|
|
172
|
+
/**
|
|
173
|
+
* Resources in this page.
|
|
174
|
+
*/
|
|
175
|
+
data: Array<Part>;
|
|
176
|
+
/**
|
|
177
|
+
* Resource type identifier.
|
|
178
|
+
*/
|
|
179
|
+
object: 'list';
|
|
180
|
+
/**
|
|
181
|
+
* PageInfo describes where the current page sits within a paginated result set and
|
|
182
|
+
* how to move to the adjacent pages.
|
|
183
|
+
*
|
|
184
|
+
* Page a list by following the URLs below rather than assembling cursors yourself.
|
|
185
|
+
* For a top-level list endpoint the URL repeats the original request's query
|
|
186
|
+
* string with only the cursor swapped, so following it preserves the same filters,
|
|
187
|
+
* search term, and page size.
|
|
188
|
+
*/
|
|
189
|
+
page_info: APIKeysAPI.PageInfo;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* A part in the account's catalog: a component used in production.
|
|
193
|
+
*
|
|
194
|
+
* Part-level data such as the SKU, description, category, pricing, and attributes
|
|
195
|
+
* lives on the underlying `item`.
|
|
196
|
+
*/
|
|
197
|
+
export interface Part {
|
|
198
|
+
/**
|
|
199
|
+
* Part ID.
|
|
200
|
+
*/
|
|
201
|
+
id: string;
|
|
202
|
+
/**
|
|
203
|
+
* Creation timestamp.
|
|
204
|
+
*/
|
|
205
|
+
created_at: string;
|
|
206
|
+
/**
|
|
207
|
+
* An entry in your catalog: something you sell, consume, or build with.
|
|
208
|
+
*/
|
|
209
|
+
item: ItemsAPI.Item | null;
|
|
210
|
+
/**
|
|
211
|
+
* Resource type identifier.
|
|
212
|
+
*/
|
|
213
|
+
object: 'part';
|
|
214
|
+
/**
|
|
215
|
+
* Last updated timestamp.
|
|
216
|
+
*/
|
|
217
|
+
updated_at: string;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Request to partially update a part.
|
|
221
|
+
*/
|
|
222
|
+
export interface UpdatePartRequest {
|
|
223
|
+
/**
|
|
224
|
+
* New free-form description of the part.
|
|
225
|
+
*/
|
|
226
|
+
description?: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* New free-form notes about the part.
|
|
229
|
+
*/
|
|
230
|
+
notes?: string | null;
|
|
231
|
+
/**
|
|
232
|
+
* New stock keeping unit code for the part.
|
|
233
|
+
*
|
|
234
|
+
* Must remain unique within the account; a conflict error is returned if another
|
|
235
|
+
* item already uses it.
|
|
236
|
+
*/
|
|
237
|
+
sku?: string;
|
|
238
|
+
}
|
|
239
|
+
export interface PartListParams {
|
|
240
|
+
/**
|
|
241
|
+
* Only return parts carrying at least one of these attributes.
|
|
242
|
+
*/
|
|
243
|
+
attribute_ids?: Array<string>;
|
|
244
|
+
/**
|
|
245
|
+
* Only return parts belonging to any of these item categories.
|
|
246
|
+
*/
|
|
247
|
+
category_ids?: Array<string>;
|
|
248
|
+
/**
|
|
249
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
250
|
+
*
|
|
251
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
252
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
253
|
+
* page.
|
|
254
|
+
*/
|
|
255
|
+
cursor?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Only return parts created at or before this time.
|
|
258
|
+
*/
|
|
259
|
+
ends_at?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
262
|
+
* `null`.
|
|
263
|
+
*/
|
|
264
|
+
include?: Array<'item' | 'item.category' | 'item.category.properties' | 'item.category.unit_group' | 'item.unit_value' | 'item.unit_cost' | 'item.burn_rate' | 'item.attributes'>;
|
|
265
|
+
/**
|
|
266
|
+
* Maximum number of results to return in a single page.
|
|
267
|
+
*/
|
|
268
|
+
limit?: number;
|
|
269
|
+
/**
|
|
270
|
+
* Free-text search term used to filter results.
|
|
271
|
+
*
|
|
272
|
+
* Which fields are matched against the term varies by endpoint.
|
|
273
|
+
*/
|
|
274
|
+
q?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Only return parts created at or after this time.
|
|
277
|
+
*/
|
|
278
|
+
starts_at?: string;
|
|
279
|
+
}
|
|
280
|
+
export interface PartRetrieveParams {
|
|
281
|
+
/**
|
|
282
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
283
|
+
* `null`.
|
|
284
|
+
*/
|
|
285
|
+
include?: Array<'item' | 'item.category' | 'item.category.properties' | 'item.category.unit_group' | 'item.unit_value' | 'item.unit_cost' | 'item.burn_rate' | 'item.attributes'>;
|
|
286
|
+
}
|
|
287
|
+
export interface PartCreateParams {
|
|
288
|
+
/**
|
|
289
|
+
* Body param: ID of the item category to place the part in.
|
|
290
|
+
*
|
|
291
|
+
* The category's unit group determines the base unit used for the part's rates
|
|
292
|
+
* (`unit_value`, `unit_cost`, `burn_rate`).
|
|
293
|
+
*/
|
|
294
|
+
category_id: string;
|
|
295
|
+
/**
|
|
296
|
+
* Body param: Stock keeping unit code for the part.
|
|
297
|
+
*
|
|
298
|
+
* Must be unique within the account; creating a part with a SKU already used by
|
|
299
|
+
* another item fails with a conflict error.
|
|
300
|
+
*/
|
|
301
|
+
sku: string;
|
|
302
|
+
/**
|
|
303
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
304
|
+
* are returned as `null`.
|
|
305
|
+
*/
|
|
306
|
+
include?: Array<'item' | 'item.category' | 'item.unit_value' | 'item.unit_cost' | 'item.burn_rate' | 'item.attributes'>;
|
|
307
|
+
/**
|
|
308
|
+
* Body param: IDs of existing attributes to link to the part at creation time.
|
|
309
|
+
*/
|
|
310
|
+
attribute_ids?: Array<string>;
|
|
311
|
+
/**
|
|
312
|
+
* Body param: Free-form description of the part.
|
|
313
|
+
*/
|
|
314
|
+
description?: string;
|
|
315
|
+
/**
|
|
316
|
+
* Body param: Free-form notes about the part.
|
|
317
|
+
*/
|
|
318
|
+
notes?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Body param: A value expressed as a ratio of two units, supplied on create and
|
|
321
|
+
* update requests.
|
|
322
|
+
*
|
|
323
|
+
* A unit price, for example, has a currency as its numerator unit and the unit the
|
|
324
|
+
* product is bought or sold by as its denominator.
|
|
325
|
+
*/
|
|
326
|
+
unit_cost?: MaterialsAPI.RateInput;
|
|
327
|
+
/**
|
|
328
|
+
* Body param: A value expressed as a ratio of two units, supplied on create and
|
|
329
|
+
* update requests.
|
|
330
|
+
*
|
|
331
|
+
* A unit price, for example, has a currency as its numerator unit and the unit the
|
|
332
|
+
* product is bought or sold by as its denominator.
|
|
333
|
+
*/
|
|
334
|
+
unit_price?: MaterialsAPI.RateInput;
|
|
335
|
+
}
|
|
336
|
+
export interface PartUpdateParams {
|
|
337
|
+
/**
|
|
338
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
339
|
+
* are returned as `null`.
|
|
340
|
+
*/
|
|
341
|
+
include?: Array<'item' | 'item.category' | 'item.unit_value' | 'item.unit_cost' | 'item.burn_rate' | 'item.attributes'>;
|
|
342
|
+
/**
|
|
343
|
+
* Body param: New free-form description of the part.
|
|
344
|
+
*/
|
|
345
|
+
description?: string | null;
|
|
346
|
+
/**
|
|
347
|
+
* Body param: New free-form notes about the part.
|
|
348
|
+
*/
|
|
349
|
+
notes?: string | null;
|
|
350
|
+
/**
|
|
351
|
+
* Body param: New stock keeping unit code for the part.
|
|
352
|
+
*
|
|
353
|
+
* Must remain unique within the account; a conflict error is returned if another
|
|
354
|
+
* item already uses it.
|
|
355
|
+
*/
|
|
356
|
+
sku?: string;
|
|
357
|
+
}
|
|
358
|
+
export declare namespace Parts {
|
|
359
|
+
export { type CreatePartRequest as CreatePartRequest, type ListPart as ListPart, type Part as Part, type UpdatePartRequest as UpdatePartRequest, type PartListParams as PartListParams, type PartRetrieveParams as PartRetrieveParams, type PartCreateParams as PartCreateParams, type PartUpdateParams as PartUpdateParams, };
|
|
360
|
+
export { Actions as Actions, type BulkUpsertPartsRequest as BulkUpsertPartsRequest, type UpsertPartInput as UpsertPartInput, type UpsertPartProperty as UpsertPartProperty, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
|
|
361
|
+
}
|
|
362
|
+
//# sourceMappingURL=parts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/parts/parts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,QAAQ;OACb,KAAK,YAAY;OACjB,KAAK,UAAU;OACf,EACL,sBAAsB,EACtB,OAAO,EACP,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EACnB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAInG;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAInB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAK5E;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAKnB;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,c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