@augno/sdk 0.7.0 → 0.9.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 +2 -2
- package/client.d.mts +11 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -2
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/package.json +15 -9
- package/resources/auth/api-keys/actions.d.mts +2 -0
- package/resources/auth/api-keys/actions.d.mts.map +1 -1
- package/resources/auth/api-keys/actions.d.ts +2 -0
- package/resources/auth/api-keys/actions.d.ts.map +1 -1
- package/resources/auth/api-keys/actions.js +2 -0
- package/resources/auth/api-keys/actions.js.map +1 -1
- package/resources/auth/api-keys/actions.mjs +2 -0
- package/resources/auth/api-keys/actions.mjs.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +12 -3
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +12 -3
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js +9 -0
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs +9 -0
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.mts +17 -1
- package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.ts +17 -1
- package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories/item-categories.js +17 -1
- package/resources/catalog/item-categories/item-categories.js.map +1 -1
- package/resources/catalog/item-categories/item-categories.mjs +17 -1
- package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
- package/resources/catalog/item-categories/properties.d.mts +4 -0
- package/resources/catalog/item-categories/properties.d.mts.map +1 -1
- package/resources/catalog/item-categories/properties.d.ts +4 -0
- package/resources/catalog/item-categories/properties.d.ts.map +1 -1
- package/resources/catalog/item-categories/properties.js +4 -0
- package/resources/catalog/item-categories/properties.js.map +1 -1
- package/resources/catalog/item-categories/properties.mjs +4 -0
- package/resources/catalog/item-categories/properties.mjs.map +1 -1
- package/resources/catalog/items/attributes.d.mts +4 -0
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +4 -0
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +4 -0
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +4 -0
- package/resources/catalog/items/attributes.mjs.map +1 -1
- package/resources/catalog/items/items.d.mts +8 -0
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +8 -0
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js +8 -0
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs +8 -0
- package/resources/catalog/items/items.mjs.map +1 -1
- package/resources/catalog/materials.d.mts +66 -10
- package/resources/catalog/materials.d.mts.map +1 -1
- package/resources/catalog/materials.d.ts +66 -10
- package/resources/catalog/materials.d.ts.map +1 -1
- package/resources/catalog/materials.js +57 -1
- package/resources/catalog/materials.js.map +1 -1
- package/resources/catalog/materials.mjs +57 -1
- package/resources/catalog/materials.mjs.map +1 -1
- package/resources/catalog/parts.d.mts +30 -0
- package/resources/catalog/parts.d.mts.map +1 -1
- package/resources/catalog/parts.d.ts +30 -0
- package/resources/catalog/parts.d.ts.map +1 -1
- package/resources/catalog/parts.js +30 -0
- package/resources/catalog/parts.js.map +1 -1
- package/resources/catalog/parts.mjs +30 -0
- package/resources/catalog/parts.mjs.map +1 -1
- package/resources/catalog/product-lines.d.mts +18 -1
- package/resources/catalog/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines.d.ts +18 -1
- package/resources/catalog/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines.js +18 -1
- package/resources/catalog/product-lines.js.map +1 -1
- package/resources/catalog/product-lines.mjs +18 -1
- package/resources/catalog/product-lines.mjs.map +1 -1
- package/resources/catalog/products.d.mts +52 -9
- package/resources/catalog/products.d.mts.map +1 -1
- package/resources/catalog/products.d.ts +52 -9
- package/resources/catalog/products.d.ts.map +1 -1
- package/resources/catalog/products.js +44 -1
- package/resources/catalog/products.js.map +1 -1
- package/resources/catalog/products.mjs +44 -1
- package/resources/catalog/products.mjs.map +1 -1
- package/resources/catalog/properties/attributes.d.mts +12 -0
- package/resources/catalog/properties/attributes.d.mts.map +1 -1
- package/resources/catalog/properties/attributes.d.ts +12 -0
- package/resources/catalog/properties/attributes.d.ts.map +1 -1
- package/resources/catalog/properties/attributes.js +12 -0
- package/resources/catalog/properties/attributes.js.map +1 -1
- package/resources/catalog/properties/attributes.mjs +12 -0
- package/resources/catalog/properties/attributes.mjs.map +1 -1
- package/resources/catalog/properties/properties.d.mts +10 -0
- package/resources/catalog/properties/properties.d.mts.map +1 -1
- package/resources/catalog/properties/properties.d.ts +10 -0
- package/resources/catalog/properties/properties.d.ts.map +1 -1
- package/resources/catalog/properties/properties.js +10 -0
- package/resources/catalog/properties/properties.js.map +1 -1
- package/resources/catalog/properties/properties.mjs +10 -0
- package/resources/catalog/properties/properties.mjs.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.mts +29 -7
- package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.ts +29 -7
- package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.js +23 -2
- package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.mjs +23 -2
- package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
- package/resources/catalog/unit-groups/units.d.mts +12 -0
- package/resources/catalog/unit-groups/units.d.mts.map +1 -1
- package/resources/catalog/unit-groups/units.d.ts +12 -0
- package/resources/catalog/unit-groups/units.d.ts.map +1 -1
- package/resources/catalog/unit-groups/units.js +12 -0
- package/resources/catalog/unit-groups/units.js.map +1 -1
- package/resources/catalog/unit-groups/units.mjs +12 -0
- package/resources/catalog/unit-groups/units.mjs.map +1 -1
- package/resources/catalog/units.d.mts +56 -26
- package/resources/catalog/units.d.mts.map +1 -1
- package/resources/catalog/units.d.ts +56 -26
- package/resources/catalog/units.d.ts.map +1 -1
- package/resources/catalog/units.js +22 -3
- package/resources/catalog/units.js.map +1 -1
- package/resources/catalog/units.mjs +22 -3
- package/resources/catalog/units.mjs.map +1 -1
- package/resources/core/addresses/actions.d.mts +1 -0
- package/resources/core/addresses/actions.d.mts.map +1 -1
- package/resources/core/addresses/actions.d.ts +1 -0
- package/resources/core/addresses/actions.d.ts.map +1 -1
- package/resources/core/addresses/actions.js +1 -0
- package/resources/core/addresses/actions.js.map +1 -1
- package/resources/core/addresses/actions.mjs +1 -0
- package/resources/core/addresses/actions.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +22 -7
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +22 -7
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/audit-events.js +6 -0
- package/resources/core/audit-events.js.map +1 -1
- package/resources/core/audit-events.mjs +6 -0
- package/resources/core/audit-events.mjs.map +1 -1
- package/resources/core/core.d.mts +103 -0
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +103 -0
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js +19 -0
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +19 -0
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/email-logs.d.mts +6 -1
- package/resources/core/email-logs.d.mts.map +1 -1
- package/resources/core/email-logs.d.ts +6 -1
- package/resources/core/email-logs.d.ts.map +1 -1
- package/resources/core/email-logs.js +4 -0
- package/resources/core/email-logs.js.map +1 -1
- package/resources/core/email-logs.mjs +4 -0
- package/resources/core/email-logs.mjs.map +1 -1
- package/resources/core/index.d.mts +1 -1
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +1 -1
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/request-logs.d.mts +21 -7
- package/resources/core/request-logs.d.mts.map +1 -1
- package/resources/core/request-logs.d.ts +21 -7
- package/resources/core/request-logs.d.ts.map +1 -1
- package/resources/core/request-logs.js +4 -0
- package/resources/core/request-logs.js.map +1 -1
- package/resources/core/request-logs.mjs +4 -0
- package/resources/core/request-logs.mjs.map +1 -1
- package/resources/core/sandboxes.d.mts +11 -3
- package/resources/core/sandboxes.d.mts.map +1 -1
- package/resources/core/sandboxes.d.ts +11 -3
- package/resources/core/sandboxes.d.ts.map +1 -1
- package/resources/core/sandboxes.js +8 -0
- package/resources/core/sandboxes.js.map +1 -1
- package/resources/core/sandboxes.mjs +8 -0
- package/resources/core/sandboxes.mjs.map +1 -1
- package/resources/finance/payment-terms.d.mts +10 -0
- package/resources/finance/payment-terms.d.mts.map +1 -1
- package/resources/finance/payment-terms.d.ts +10 -0
- package/resources/finance/payment-terms.d.ts.map +1 -1
- package/resources/finance/payment-terms.js +10 -0
- package/resources/finance/payment-terms.js.map +1 -1
- package/resources/finance/payment-terms.mjs +10 -0
- package/resources/finance/payment-terms.mjs.map +1 -1
- package/resources/identity/account-users/account-users.d.mts +26 -5
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +26 -5
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js +21 -0
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs +21 -0
- package/resources/identity/account-users/account-users.mjs.map +1 -1
- package/resources/identity/account-users/actions.d.mts +9 -0
- package/resources/identity/account-users/actions.d.mts.map +1 -1
- package/resources/identity/account-users/actions.d.ts +9 -0
- package/resources/identity/account-users/actions.d.ts.map +1 -1
- package/resources/identity/account-users/actions.js +9 -0
- package/resources/identity/account-users/actions.js.map +1 -1
- package/resources/identity/account-users/actions.mjs +9 -0
- package/resources/identity/account-users/actions.mjs.map +1 -1
- package/resources/identity/roles.d.mts +33 -17
- package/resources/identity/roles.d.mts.map +1 -1
- package/resources/identity/roles.d.ts +33 -17
- package/resources/identity/roles.d.ts.map +1 -1
- package/resources/identity/roles.js +20 -6
- package/resources/identity/roles.js.map +1 -1
- package/resources/identity/roles.mjs +20 -6
- package/resources/identity/roles.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/messaging/announcements/actions.d.mts +76 -0
- package/resources/messaging/announcements/actions.d.mts.map +1 -0
- package/resources/messaging/announcements/actions.d.ts +76 -0
- package/resources/messaging/announcements/actions.d.ts.map +1 -0
- package/resources/messaging/announcements/actions.js +73 -0
- package/resources/messaging/announcements/actions.js.map +1 -0
- package/resources/messaging/announcements/actions.mjs +69 -0
- package/resources/messaging/announcements/actions.mjs.map +1 -0
- package/resources/messaging/announcements/announcements.d.mts +173 -0
- package/resources/messaging/announcements/announcements.d.mts.map +1 -0
- package/resources/messaging/announcements/announcements.d.ts +173 -0
- package/resources/messaging/announcements/announcements.d.ts.map +1 -0
- package/resources/messaging/announcements/announcements.js +52 -0
- package/resources/messaging/announcements/announcements.js.map +1 -0
- package/resources/messaging/announcements/announcements.mjs +47 -0
- package/resources/messaging/announcements/announcements.mjs.map +1 -0
- package/resources/messaging/announcements/index.d.mts +3 -0
- package/resources/messaging/announcements/index.d.mts.map +1 -0
- package/resources/messaging/announcements/index.d.ts +3 -0
- package/resources/messaging/announcements/index.d.ts.map +1 -0
- package/resources/messaging/announcements/index.js +9 -0
- package/resources/messaging/announcements/index.js.map +1 -0
- package/resources/messaging/announcements/index.mjs +4 -0
- package/resources/messaging/announcements/index.mjs.map +1 -0
- package/resources/messaging/announcements.d.mts +2 -0
- package/resources/messaging/announcements.d.mts.map +1 -0
- package/resources/messaging/announcements.d.ts +2 -0
- package/resources/messaging/announcements.d.ts.map +1 -0
- package/resources/messaging/announcements.js +6 -0
- package/resources/messaging/announcements.js.map +1 -0
- package/resources/messaging/announcements.mjs +3 -0
- package/resources/messaging/announcements.mjs.map +1 -0
- package/resources/messaging/blocks.d.mts +674 -0
- package/resources/messaging/blocks.d.mts.map +1 -0
- package/resources/messaging/blocks.d.ts +674 -0
- package/resources/messaging/blocks.d.ts.map +1 -0
- package/resources/messaging/blocks.js +61 -0
- package/resources/messaging/blocks.js.map +1 -0
- package/resources/messaging/blocks.mjs +57 -0
- package/resources/messaging/blocks.mjs.map +1 -0
- package/resources/messaging/conversations/actions.d.mts +422 -0
- package/resources/messaging/conversations/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/actions.d.ts +422 -0
- package/resources/messaging/conversations/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/actions.js +299 -0
- package/resources/messaging/conversations/actions.js.map +1 -0
- package/resources/messaging/conversations/actions.mjs +295 -0
- package/resources/messaging/conversations/actions.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/actions.d.mts +87 -0
- package/resources/messaging/conversations/attachments/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/actions.d.ts +87 -0
- package/resources/messaging/conversations/attachments/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/actions.js +36 -0
- package/resources/messaging/conversations/attachments/actions.js.map +1 -0
- package/resources/messaging/conversations/attachments/actions.mjs +32 -0
- package/resources/messaging/conversations/attachments/actions.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.d.mts +10 -0
- package/resources/messaging/conversations/attachments/attachments.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.d.ts +10 -0
- package/resources/messaging/conversations/attachments/attachments.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.js +17 -0
- package/resources/messaging/conversations/attachments/attachments.js.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.mjs +12 -0
- package/resources/messaging/conversations/attachments/attachments.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/index.d.mts +3 -0
- package/resources/messaging/conversations/attachments/index.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/index.d.ts +3 -0
- package/resources/messaging/conversations/attachments/index.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/index.js +9 -0
- package/resources/messaging/conversations/attachments/index.js.map +1 -0
- package/resources/messaging/conversations/attachments/index.mjs +4 -0
- package/resources/messaging/conversations/attachments/index.mjs.map +1 -0
- package/resources/messaging/conversations/attachments.d.mts +2 -0
- package/resources/messaging/conversations/attachments.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments.d.ts +2 -0
- package/resources/messaging/conversations/attachments.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments.js +6 -0
- package/resources/messaging/conversations/attachments.js.map +1 -0
- package/resources/messaging/conversations/attachments.mjs +3 -0
- package/resources/messaging/conversations/attachments.mjs.map +1 -0
- package/resources/messaging/conversations/conversations.d.mts +1367 -0
- package/resources/messaging/conversations/conversations.d.mts.map +1 -0
- package/resources/messaging/conversations/conversations.d.ts +1367 -0
- package/resources/messaging/conversations/conversations.d.ts.map +1 -0
- package/resources/messaging/conversations/conversations.js +113 -0
- package/resources/messaging/conversations/conversations.js.map +1 -0
- package/resources/messaging/conversations/conversations.mjs +108 -0
- package/resources/messaging/conversations/conversations.mjs.map +1 -0
- package/resources/messaging/conversations/index.d.mts +7 -0
- package/resources/messaging/conversations/index.d.mts.map +1 -0
- package/resources/messaging/conversations/index.d.ts +7 -0
- package/resources/messaging/conversations/index.d.ts.map +1 -0
- package/resources/messaging/conversations/index.js +17 -0
- package/resources/messaging/conversations/index.js.map +1 -0
- package/resources/messaging/conversations/index.mjs +8 -0
- package/resources/messaging/conversations/index.mjs.map +1 -0
- package/resources/messaging/conversations/links.d.mts +149 -0
- package/resources/messaging/conversations/links.d.mts.map +1 -0
- package/resources/messaging/conversations/links.d.ts +149 -0
- package/resources/messaging/conversations/links.d.ts.map +1 -0
- package/resources/messaging/conversations/links.js +72 -0
- package/resources/messaging/conversations/links.js.map +1 -0
- package/resources/messaging/conversations/links.mjs +68 -0
- package/resources/messaging/conversations/links.mjs.map +1 -0
- package/resources/messaging/conversations/messages.d.mts +353 -0
- package/resources/messaging/conversations/messages.d.mts.map +1 -0
- package/resources/messaging/conversations/messages.d.ts +353 -0
- package/resources/messaging/conversations/messages.d.ts.map +1 -0
- package/resources/messaging/conversations/messages.js +81 -0
- package/resources/messaging/conversations/messages.js.map +1 -0
- package/resources/messaging/conversations/messages.mjs +77 -0
- package/resources/messaging/conversations/messages.mjs.map +1 -0
- package/resources/messaging/conversations/participants/actions.d.mts +62 -0
- package/resources/messaging/conversations/participants/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/actions.d.ts +62 -0
- package/resources/messaging/conversations/participants/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/actions.js +35 -0
- package/resources/messaging/conversations/participants/actions.js.map +1 -0
- package/resources/messaging/conversations/participants/actions.mjs +31 -0
- package/resources/messaging/conversations/participants/actions.mjs.map +1 -0
- package/resources/messaging/conversations/participants/index.d.mts +3 -0
- package/resources/messaging/conversations/participants/index.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/index.d.ts +3 -0
- package/resources/messaging/conversations/participants/index.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/index.js +9 -0
- package/resources/messaging/conversations/participants/index.js.map +1 -0
- package/resources/messaging/conversations/participants/index.mjs +4 -0
- package/resources/messaging/conversations/participants/index.mjs.map +1 -0
- package/resources/messaging/conversations/participants/participants.d.mts +100 -0
- package/resources/messaging/conversations/participants/participants.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/participants.d.ts +100 -0
- package/resources/messaging/conversations/participants/participants.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/participants.js +64 -0
- package/resources/messaging/conversations/participants/participants.js.map +1 -0
- package/resources/messaging/conversations/participants/participants.mjs +59 -0
- package/resources/messaging/conversations/participants/participants.mjs.map +1 -0
- package/resources/messaging/conversations/participants.d.mts +2 -0
- package/resources/messaging/conversations/participants.d.mts.map +1 -0
- package/resources/messaging/conversations/participants.d.ts +2 -0
- package/resources/messaging/conversations/participants.d.ts.map +1 -0
- package/resources/messaging/conversations/participants.js +6 -0
- package/resources/messaging/conversations/participants.js.map +1 -0
- package/resources/messaging/conversations/participants.mjs +3 -0
- package/resources/messaging/conversations/participants.mjs.map +1 -0
- package/resources/messaging/conversations.d.mts +2 -0
- package/resources/messaging/conversations.d.mts.map +1 -0
- package/resources/messaging/conversations.d.ts +2 -0
- package/resources/messaging/conversations.d.ts.map +1 -0
- package/resources/messaging/conversations.js +6 -0
- package/resources/messaging/conversations.js.map +1 -0
- package/resources/messaging/conversations.mjs +3 -0
- package/resources/messaging/conversations.mjs.map +1 -0
- package/resources/messaging/email-domains/actions.d.mts +27 -0
- package/resources/messaging/email-domains/actions.d.mts.map +1 -0
- package/resources/messaging/email-domains/actions.d.ts +27 -0
- package/resources/messaging/email-domains/actions.d.ts.map +1 -0
- package/resources/messaging/email-domains/actions.js +32 -0
- package/resources/messaging/email-domains/actions.js.map +1 -0
- package/resources/messaging/email-domains/actions.mjs +28 -0
- package/resources/messaging/email-domains/actions.mjs.map +1 -0
- package/resources/messaging/email-domains/email-domains.d.mts +136 -0
- package/resources/messaging/email-domains/email-domains.d.mts.map +1 -0
- package/resources/messaging/email-domains/email-domains.d.ts +136 -0
- package/resources/messaging/email-domains/email-domains.d.ts.map +1 -0
- package/resources/messaging/email-domains/email-domains.js +70 -0
- package/resources/messaging/email-domains/email-domains.js.map +1 -0
- package/resources/messaging/email-domains/email-domains.mjs +65 -0
- package/resources/messaging/email-domains/email-domains.mjs.map +1 -0
- package/resources/messaging/email-domains/index.d.mts +3 -0
- package/resources/messaging/email-domains/index.d.mts.map +1 -0
- package/resources/messaging/email-domains/index.d.ts +3 -0
- package/resources/messaging/email-domains/index.d.ts.map +1 -0
- package/resources/messaging/email-domains/index.js +9 -0
- package/resources/messaging/email-domains/index.js.map +1 -0
- package/resources/messaging/email-domains/index.mjs +4 -0
- package/resources/messaging/email-domains/index.mjs.map +1 -0
- package/resources/messaging/email-domains.d.mts +2 -0
- package/resources/messaging/email-domains.d.mts.map +1 -0
- package/resources/messaging/email-domains.d.ts +2 -0
- package/resources/messaging/email-domains.d.ts.map +1 -0
- package/resources/messaging/email-domains.js +6 -0
- package/resources/messaging/email-domains.js.map +1 -0
- package/resources/messaging/email-domains.mjs +3 -0
- package/resources/messaging/email-domains.mjs.map +1 -0
- package/resources/messaging/email-inboxes.d.mts +375 -0
- package/resources/messaging/email-inboxes.d.mts.map +1 -0
- package/resources/messaging/email-inboxes.d.ts +375 -0
- package/resources/messaging/email-inboxes.d.ts.map +1 -0
- package/resources/messaging/email-inboxes.js +111 -0
- package/resources/messaging/email-inboxes.js.map +1 -0
- package/resources/messaging/email-inboxes.mjs +107 -0
- package/resources/messaging/email-inboxes.mjs.map +1 -0
- package/resources/messaging/groups/groups.d.mts +162 -0
- package/resources/messaging/groups/groups.d.mts.map +1 -0
- package/resources/messaging/groups/groups.d.ts +162 -0
- package/resources/messaging/groups/groups.d.ts.map +1 -0
- package/resources/messaging/groups/groups.js +110 -0
- package/resources/messaging/groups/groups.js.map +1 -0
- package/resources/messaging/groups/groups.mjs +105 -0
- package/resources/messaging/groups/groups.mjs.map +1 -0
- package/resources/messaging/groups/index.d.mts +3 -0
- package/resources/messaging/groups/index.d.mts.map +1 -0
- package/resources/messaging/groups/index.d.ts +3 -0
- package/resources/messaging/groups/index.d.ts.map +1 -0
- package/resources/messaging/groups/index.js +9 -0
- package/resources/messaging/groups/index.js.map +1 -0
- package/resources/messaging/groups/index.mjs +4 -0
- package/resources/messaging/groups/index.mjs.map +1 -0
- package/resources/messaging/groups/members.d.mts +84 -0
- package/resources/messaging/groups/members.d.mts.map +1 -0
- package/resources/messaging/groups/members.d.ts +84 -0
- package/resources/messaging/groups/members.d.ts.map +1 -0
- package/resources/messaging/groups/members.js +52 -0
- package/resources/messaging/groups/members.js.map +1 -0
- package/resources/messaging/groups/members.mjs +48 -0
- package/resources/messaging/groups/members.mjs.map +1 -0
- package/resources/messaging/groups.d.mts +2 -0
- package/resources/messaging/groups.d.mts.map +1 -0
- package/resources/messaging/groups.d.ts +2 -0
- package/resources/messaging/groups.d.ts.map +1 -0
- package/resources/messaging/groups.js +6 -0
- package/resources/messaging/groups.js.map +1 -0
- package/resources/messaging/groups.mjs +3 -0
- package/resources/messaging/groups.mjs.map +1 -0
- package/resources/messaging/index.d.mts +11 -0
- package/resources/messaging/index.d.mts.map +1 -0
- package/resources/messaging/index.d.ts +11 -0
- package/resources/messaging/index.d.ts.map +1 -0
- package/resources/messaging/index.js +25 -0
- package/resources/messaging/index.js.map +1 -0
- package/resources/messaging/index.mjs +12 -0
- package/resources/messaging/index.mjs.map +1 -0
- package/resources/messaging/messages/actions.d.mts +95 -0
- package/resources/messaging/messages/actions.d.mts.map +1 -0
- package/resources/messaging/messages/actions.d.ts +95 -0
- package/resources/messaging/messages/actions.d.ts.map +1 -0
- package/resources/messaging/messages/actions.js +79 -0
- package/resources/messaging/messages/actions.js.map +1 -0
- package/resources/messaging/messages/actions.mjs +75 -0
- package/resources/messaging/messages/actions.mjs.map +1 -0
- package/resources/messaging/messages/index.d.mts +3 -0
- package/resources/messaging/messages/index.d.mts.map +1 -0
- package/resources/messaging/messages/index.d.ts +3 -0
- package/resources/messaging/messages/index.d.ts.map +1 -0
- package/resources/messaging/messages/index.js +9 -0
- package/resources/messaging/messages/index.js.map +1 -0
- package/resources/messaging/messages/index.mjs +4 -0
- package/resources/messaging/messages/index.mjs.map +1 -0
- package/resources/messaging/messages/messages.d.mts +62 -0
- package/resources/messaging/messages/messages.d.mts.map +1 -0
- package/resources/messaging/messages/messages.d.ts +62 -0
- package/resources/messaging/messages/messages.d.ts.map +1 -0
- package/resources/messaging/messages/messages.js +41 -0
- package/resources/messaging/messages/messages.js.map +1 -0
- package/resources/messaging/messages/messages.mjs +36 -0
- package/resources/messaging/messages/messages.mjs.map +1 -0
- package/resources/messaging/messages.d.mts +2 -0
- package/resources/messaging/messages.d.mts.map +1 -0
- package/resources/messaging/messages.d.ts +2 -0
- package/resources/messaging/messages.d.ts.map +1 -0
- package/resources/messaging/messages.js +6 -0
- package/resources/messaging/messages.js.map +1 -0
- package/resources/messaging/messages.mjs +3 -0
- package/resources/messaging/messages.mjs.map +1 -0
- package/resources/messaging/messaging.d.mts +103 -0
- package/resources/messaging/messaging.d.mts.map +1 -0
- package/resources/messaging/messaging.d.ts +103 -0
- package/resources/messaging/messaging.d.ts.map +1 -0
- package/resources/messaging/messaging.js +65 -0
- package/resources/messaging/messaging.js.map +1 -0
- package/resources/messaging/messaging.mjs +60 -0
- package/resources/messaging/messaging.mjs.map +1 -0
- package/resources/messaging/notifications/actions.d.mts +92 -0
- package/resources/messaging/notifications/actions.d.mts.map +1 -0
- package/resources/messaging/notifications/actions.d.ts +92 -0
- package/resources/messaging/notifications/actions.d.ts.map +1 -0
- package/resources/messaging/notifications/actions.js +89 -0
- package/resources/messaging/notifications/actions.js.map +1 -0
- package/resources/messaging/notifications/actions.mjs +85 -0
- package/resources/messaging/notifications/actions.mjs.map +1 -0
- package/resources/messaging/notifications/index.d.mts +3 -0
- package/resources/messaging/notifications/index.d.mts.map +1 -0
- package/resources/messaging/notifications/index.d.ts +3 -0
- package/resources/messaging/notifications/index.d.ts.map +1 -0
- package/resources/messaging/notifications/index.js +9 -0
- package/resources/messaging/notifications/index.js.map +1 -0
- package/resources/messaging/notifications/index.mjs +4 -0
- package/resources/messaging/notifications/index.mjs.map +1 -0
- package/resources/messaging/notifications/notifications.d.mts +444 -0
- package/resources/messaging/notifications/notifications.d.mts.map +1 -0
- package/resources/messaging/notifications/notifications.d.ts +444 -0
- package/resources/messaging/notifications/notifications.d.ts.map +1 -0
- package/resources/messaging/notifications/notifications.js +108 -0
- package/resources/messaging/notifications/notifications.js.map +1 -0
- package/resources/messaging/notifications/notifications.mjs +103 -0
- package/resources/messaging/notifications/notifications.mjs.map +1 -0
- package/resources/messaging/notifications.d.mts +2 -0
- package/resources/messaging/notifications.d.mts.map +1 -0
- package/resources/messaging/notifications.d.ts +2 -0
- package/resources/messaging/notifications.d.ts.map +1 -0
- package/resources/messaging/notifications.js +6 -0
- package/resources/messaging/notifications.js.map +1 -0
- package/resources/messaging/notifications.mjs +3 -0
- package/resources/messaging/notifications.mjs.map +1 -0
- package/resources/messaging/preferences.d.mts +180 -0
- package/resources/messaging/preferences.d.mts.map +1 -0
- package/resources/messaging/preferences.d.ts +180 -0
- package/resources/messaging/preferences.d.ts.map +1 -0
- package/resources/messaging/preferences.js +47 -0
- package/resources/messaging/preferences.js.map +1 -0
- package/resources/messaging/preferences.mjs +43 -0
- package/resources/messaging/preferences.mjs.map +1 -0
- package/resources/messaging.d.mts +2 -0
- package/resources/messaging.d.mts.map +1 -0
- package/resources/messaging.d.ts +2 -0
- package/resources/messaging.d.ts.map +1 -0
- package/resources/messaging.js +6 -0
- package/resources/messaging.js.map +1 -0
- package/resources/messaging.mjs +3 -0
- package/resources/messaging.mjs.map +1 -0
- package/resources/operations/carriers/carriers.d.mts +20 -7
- package/resources/operations/carriers/carriers.d.mts.map +1 -1
- package/resources/operations/carriers/carriers.d.ts +20 -7
- package/resources/operations/carriers/carriers.d.ts.map +1 -1
- package/resources/operations/carriers/carriers.js +16 -1
- package/resources/operations/carriers/carriers.js.map +1 -1
- package/resources/operations/carriers/carriers.mjs +16 -1
- package/resources/operations/carriers/carriers.mjs.map +1 -1
- package/resources/operations/carriers/service-levels.d.mts +15 -0
- package/resources/operations/carriers/service-levels.d.mts.map +1 -1
- package/resources/operations/carriers/service-levels.d.ts +15 -0
- package/resources/operations/carriers/service-levels.d.ts.map +1 -1
- package/resources/operations/carriers/service-levels.js +15 -0
- package/resources/operations/carriers/service-levels.js.map +1 -1
- package/resources/operations/carriers/service-levels.mjs +15 -0
- package/resources/operations/carriers/service-levels.mjs.map +1 -1
- package/resources/operations/location-types.d.mts +6 -2
- package/resources/operations/location-types.d.mts.map +1 -1
- package/resources/operations/location-types.d.ts +6 -2
- package/resources/operations/location-types.d.ts.map +1 -1
- package/resources/operations/location-types.js +4 -0
- package/resources/operations/location-types.js.map +1 -1
- package/resources/operations/location-types.mjs +4 -0
- package/resources/operations/location-types.mjs.map +1 -1
- package/resources/operations/locations.d.mts +27 -10
- package/resources/operations/locations.d.mts.map +1 -1
- package/resources/operations/locations.d.ts +27 -10
- package/resources/operations/locations.d.ts.map +1 -1
- package/resources/operations/locations.js +18 -1
- package/resources/operations/locations.js.map +1 -1
- package/resources/operations/locations.mjs +18 -1
- package/resources/operations/locations.mjs.map +1 -1
- package/resources/operations/scanning-stations.d.mts +23 -6
- package/resources/operations/scanning-stations.d.mts.map +1 -1
- package/resources/operations/scanning-stations.d.ts +23 -6
- package/resources/operations/scanning-stations.d.ts.map +1 -1
- package/resources/operations/scanning-stations.js +18 -1
- package/resources/operations/scanning-stations.js.map +1 -1
- package/resources/operations/scanning-stations.mjs +18 -1
- package/resources/operations/scanning-stations.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +37 -2
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +37 -2
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/operations/shipping-terms.js +37 -2
- package/resources/operations/shipping-terms.js.map +1 -1
- package/resources/operations/shipping-terms.mjs +37 -2
- package/resources/operations/shipping-terms.mjs.map +1 -1
- package/resources/sales/account-groups.d.mts +21 -1
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +21 -1
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-groups.js +21 -1
- package/resources/sales/account-groups.js.map +1 -1
- package/resources/sales/account-groups.mjs +21 -1
- package/resources/sales/account-groups.mjs.map +1 -1
- package/resources/sales/account-statuses.d.mts +1 -1
- package/resources/sales/account-statuses.d.ts +1 -1
- package/resources/sales/addresses.d.mts +36 -6
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +36 -6
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/addresses.js +31 -1
- package/resources/sales/addresses.js.map +1 -1
- package/resources/sales/addresses.mjs +31 -1
- package/resources/sales/addresses.mjs.map +1 -1
- package/resources/sales/contacts/actions.d.mts +120 -0
- package/resources/sales/contacts/actions.d.mts.map +1 -0
- package/resources/sales/contacts/actions.d.ts +120 -0
- package/resources/sales/contacts/actions.d.ts.map +1 -0
- package/resources/sales/contacts/actions.js +38 -0
- package/resources/sales/contacts/actions.js.map +1 -0
- package/resources/sales/contacts/actions.mjs +34 -0
- package/resources/sales/contacts/actions.mjs.map +1 -0
- package/resources/sales/contacts/contacts.d.mts +10 -0
- package/resources/sales/contacts/contacts.d.mts.map +1 -0
- package/resources/sales/contacts/contacts.d.ts +10 -0
- package/resources/sales/contacts/contacts.d.ts.map +1 -0
- package/resources/sales/contacts/contacts.js +17 -0
- package/resources/sales/contacts/contacts.js.map +1 -0
- package/resources/sales/contacts/contacts.mjs +12 -0
- package/resources/sales/contacts/contacts.mjs.map +1 -0
- package/resources/sales/contacts/index.d.mts +3 -0
- package/resources/sales/contacts/index.d.mts.map +1 -0
- package/resources/sales/contacts/index.d.ts +3 -0
- package/resources/sales/contacts/index.d.ts.map +1 -0
- package/resources/sales/contacts/index.js +9 -0
- package/resources/sales/contacts/index.js.map +1 -0
- package/resources/sales/contacts/index.mjs +4 -0
- package/resources/sales/contacts/index.mjs.map +1 -0
- package/resources/sales/contacts.d.mts +2 -0
- package/resources/sales/contacts.d.mts.map +1 -0
- package/resources/sales/contacts.d.ts +2 -0
- package/resources/sales/contacts.d.ts.map +1 -0
- package/resources/sales/contacts.js +6 -0
- package/resources/sales/contacts.js.map +1 -0
- package/resources/sales/contacts.mjs +3 -0
- package/resources/sales/contacts.mjs.map +1 -0
- package/resources/sales/customers/actions.d.mts +3 -1
- package/resources/sales/customers/actions.d.mts.map +1 -1
- package/resources/sales/customers/actions.d.ts +3 -1
- package/resources/sales/customers/actions.d.ts.map +1 -1
- package/resources/sales/customers/actions.js +2 -0
- package/resources/sales/customers/actions.js.map +1 -1
- package/resources/sales/customers/actions.mjs +2 -0
- package/resources/sales/customers/actions.mjs.map +1 -1
- package/resources/sales/customers/customers.d.mts +59 -566
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +59 -566
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +52 -13
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +52 -13
- 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 +2 -1
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +2 -1
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js +5 -3
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs +1 -0
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/priorities.d.mts +5 -1
- package/resources/sales/priorities.d.mts.map +1 -1
- package/resources/sales/priorities.d.ts +5 -1
- package/resources/sales/priorities.d.ts.map +1 -1
- package/resources/sales/priorities.js +4 -0
- package/resources/sales/priorities.js.map +1 -1
- package/resources/sales/priorities.mjs +4 -0
- package/resources/sales/priorities.mjs.map +1 -1
- package/resources/sales/sales-orders.d.mts +58 -46
- package/resources/sales/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders.d.ts +58 -46
- package/resources/sales/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders.js +18 -4
- package/resources/sales/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders.mjs +18 -4
- package/resources/sales/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +6 -2
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +6 -2
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js +4 -0
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs +4 -0
- package/resources/sales/sales.mjs.map +1 -1
- package/resources/settings/integrations.d.mts +12 -1
- package/resources/settings/integrations.d.mts.map +1 -1
- package/resources/settings/integrations.d.ts +12 -1
- package/resources/settings/integrations.d.ts.map +1 -1
- package/resources/settings/integrations.js +12 -1
- package/resources/settings/integrations.js.map +1 -1
- package/resources/settings/integrations.mjs +12 -1
- package/resources/settings/integrations.mjs.map +1 -1
- package/src/client.ts +22 -2
- package/src/resources/auth/api-keys/actions.ts +2 -0
- package/src/resources/auth/api-keys/api-keys.ts +12 -3
- package/src/resources/catalog/item-categories/item-categories.ts +17 -1
- package/src/resources/catalog/item-categories/properties.ts +4 -0
- package/src/resources/catalog/items/attributes.ts +4 -0
- package/src/resources/catalog/items/items.ts +8 -0
- package/src/resources/catalog/materials.ts +66 -10
- package/src/resources/catalog/parts.ts +30 -0
- package/src/resources/catalog/product-lines.ts +18 -1
- package/src/resources/catalog/products.ts +52 -9
- package/src/resources/catalog/properties/attributes.ts +12 -0
- package/src/resources/catalog/properties/properties.ts +10 -0
- package/src/resources/catalog/unit-groups/unit-groups.ts +29 -7
- package/src/resources/catalog/unit-groups/units.ts +12 -0
- package/src/resources/catalog/units.ts +56 -26
- package/src/resources/core/addresses/actions.ts +1 -0
- package/src/resources/core/audit-events.ts +114 -11
- package/src/resources/core/core.ts +602 -0
- package/src/resources/core/email-logs.ts +6 -1
- package/src/resources/core/index.ts +1 -1
- package/src/resources/core/request-logs.ts +22 -7
- package/src/resources/core/sandboxes.ts +11 -3
- package/src/resources/finance/payment-terms.ts +10 -0
- package/src/resources/identity/account-users/account-users.ts +26 -5
- package/src/resources/identity/account-users/actions.ts +9 -0
- package/src/resources/identity/roles.ts +34 -18
- package/src/resources/index.ts +2 -1
- package/src/resources/messaging/announcements/actions.ts +119 -0
- package/src/resources/messaging/announcements/announcements.ts +234 -0
- package/src/resources/messaging/announcements/index.ts +10 -0
- package/src/resources/messaging/announcements.ts +3 -0
- package/src/resources/messaging/blocks.ts +826 -0
- package/src/resources/messaging/conversations/actions.ts +766 -0
- package/src/resources/messaging/conversations/attachments/actions.ts +116 -0
- package/src/resources/messaging/conversations/attachments/attachments.ts +25 -0
- package/src/resources/messaging/conversations/attachments/index.ts +9 -0
- package/src/resources/messaging/conversations/attachments.ts +3 -0
- package/src/resources/messaging/conversations/conversations.ts +2500 -0
- package/src/resources/messaging/conversations/index.ts +81 -0
- package/src/resources/messaging/conversations/links.ts +692 -0
- package/src/resources/messaging/conversations/messages.ts +929 -0
- package/src/resources/messaging/conversations/participants/actions.ts +92 -0
- package/src/resources/messaging/conversations/participants/index.ts +10 -0
- package/src/resources/messaging/conversations/participants/participants.ts +150 -0
- package/src/resources/messaging/conversations/participants.ts +3 -0
- package/src/resources/messaging/conversations.ts +3 -0
- package/src/resources/messaging/email-domains/actions.ts +32 -0
- package/src/resources/messaging/email-domains/email-domains.ts +170 -0
- package/src/resources/messaging/email-domains/index.ts +10 -0
- package/src/resources/messaging/email-domains.ts +3 -0
- package/src/resources/messaging/email-inboxes.ts +462 -0
- package/src/resources/messaging/groups/groups.ts +211 -0
- package/src/resources/messaging/groups/index.ts +17 -0
- package/src/resources/messaging/groups/members.ts +113 -0
- package/src/resources/messaging/groups.ts +3 -0
- package/src/resources/messaging/index.ts +116 -0
- package/src/resources/messaging/messages/actions.ts +184 -0
- package/src/resources/messaging/messages/index.ts +10 -0
- package/src/resources/messaging/messages/messages.ts +108 -0
- package/src/resources/messaging/messages.ts +3 -0
- package/src/resources/messaging/messaging.ts +353 -0
- package/src/resources/messaging/notifications/actions.ts +139 -0
- package/src/resources/messaging/notifications/index.ts +24 -0
- package/src/resources/messaging/notifications/notifications.ts +1057 -0
- package/src/resources/messaging/notifications.ts +3 -0
- package/src/resources/messaging/preferences.ts +215 -0
- package/src/resources/messaging.ts +3 -0
- package/src/resources/operations/carriers/carriers.ts +20 -7
- package/src/resources/operations/carriers/service-levels.ts +15 -0
- package/src/resources/operations/location-types.ts +6 -2
- package/src/resources/operations/locations.ts +27 -10
- package/src/resources/operations/scanning-stations.ts +23 -6
- package/src/resources/operations/shipping-terms.ts +37 -2
- package/src/resources/sales/account-groups.ts +21 -1
- package/src/resources/sales/account-statuses.ts +1 -1
- package/src/resources/sales/addresses.ts +36 -6
- package/src/resources/sales/contacts/actions.ts +150 -0
- package/src/resources/sales/contacts/contacts.ts +27 -0
- package/src/resources/sales/contacts/index.ts +10 -0
- package/src/resources/sales/contacts.ts +3 -0
- package/src/resources/sales/customers/actions.ts +4 -0
- package/src/resources/sales/customers/customers.ts +62 -679
- package/src/resources/sales/customers/index.ts +0 -15
- package/src/resources/sales/index.ts +1 -15
- package/src/resources/sales/priorities.ts +5 -1
- package/src/resources/sales/sales-orders.ts +58 -48
- package/src/resources/sales/sales.ts +6 -30
- package/src/resources/settings/integrations.ts +12 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as BlocksAPI from '../../messaging/blocks';
|
|
4
5
|
import * as AccountGroupsAPI from '../account-groups';
|
|
5
6
|
import * as AddressesAPI from '../addresses';
|
|
6
7
|
import * as PrioritiesAPI from '../priorities';
|
|
@@ -21,6 +22,8 @@ export class Customers extends APIResource {
|
|
|
21
22
|
/**
|
|
22
23
|
* Returns a paginated list of customers for the current account.
|
|
23
24
|
*
|
|
25
|
+
* This endpoint requires the permission: `customers:read`.
|
|
26
|
+
*
|
|
24
27
|
* @example
|
|
25
28
|
* ```ts
|
|
26
29
|
* const listCustomer = await client.sales.customers.list();
|
|
@@ -36,6 +39,8 @@ export class Customers extends APIResource {
|
|
|
36
39
|
/**
|
|
37
40
|
* Returns a customer by ID.
|
|
38
41
|
*
|
|
42
|
+
* This endpoint requires the permissions: `customers:read`, `suppliers:read`.
|
|
43
|
+
*
|
|
39
44
|
* @example
|
|
40
45
|
* ```ts
|
|
41
46
|
* const customer = await client.sales.customers.retrieve(
|
|
@@ -58,6 +63,8 @@ export class Customers extends APIResource {
|
|
|
58
63
|
* If `number` is omitted, the next sequential customer number is assigned
|
|
59
64
|
* automatically.
|
|
60
65
|
*
|
|
66
|
+
* This endpoint requires the permission: `customers:create`.
|
|
67
|
+
*
|
|
61
68
|
* @example
|
|
62
69
|
* ```ts
|
|
63
70
|
* const customer = await client.sales.customers.create({
|
|
@@ -71,10 +78,8 @@ export class Customers extends APIResource {
|
|
|
71
78
|
* },
|
|
72
79
|
* customer_type_group_id: 'acgp_018e88072d1320808dc979cfac',
|
|
73
80
|
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
74
|
-
* default_payment_term_id:
|
|
75
|
-
*
|
|
76
|
-
* default_shipping_term_id:
|
|
77
|
-
* 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
81
|
+
* default_payment_term_id: 'pytm_018694d6601ea771cd1b52e890',
|
|
82
|
+
* default_shipping_term_id: 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
78
83
|
* name: 'Acme Inc.',
|
|
79
84
|
* ship_to_address: {
|
|
80
85
|
* name: 'Acme Inc.',
|
|
@@ -84,7 +89,22 @@ export class Customers extends APIResource {
|
|
|
84
89
|
* postal_code: '10001',
|
|
85
90
|
* country: 'US',
|
|
86
91
|
* },
|
|
92
|
+
* carrier_billing_account: '123456789',
|
|
93
|
+
* carrier_billing_type: 'sender',
|
|
94
|
+
* commission_policy: 'commission_applied',
|
|
95
|
+
* credit_limit: { value: '10000.00', unit_id: 'un_01966263f74a5a0cae356000a1' },
|
|
96
|
+
* customer_price_group_ids: ['acgp_018e88072d1320808dc979cfac'],
|
|
97
|
+
* default_priority: 'normal',
|
|
98
|
+
* default_sales_rep_id: 'acus_01ea9983ddb41dacc44ecf997c',
|
|
99
|
+
* default_service_level_id: 'crop_01cfaf03f104e90ef9680e2a30',
|
|
100
|
+
* edi_status: 'disabled',
|
|
101
|
+
* email: 'orders@acme.com',
|
|
102
|
+
* freight_policy: 'billed_freight',
|
|
87
103
|
* note: 'Key enterprise account',
|
|
104
|
+
* number: '100042',
|
|
105
|
+
* phone: '555-123-4567',
|
|
106
|
+
* status: 'normal',
|
|
107
|
+
* url: 'https://acme.com',
|
|
88
108
|
* });
|
|
89
109
|
* ```
|
|
90
110
|
*/
|
|
@@ -99,17 +119,35 @@ export class Customers extends APIResource {
|
|
|
99
119
|
* Only the fields provided in the request are changed. Nullable fields can be set
|
|
100
120
|
* to `null` to clear their current value.
|
|
101
121
|
*
|
|
122
|
+
* This endpoint requires the permission: `customers:update`.
|
|
123
|
+
*
|
|
102
124
|
* @example
|
|
103
125
|
* ```ts
|
|
104
|
-
* const customer = await client.sales.customers.update(
|
|
105
|
-
* '
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
126
|
+
* const customer = await client.sales.customers.update('ac_0170df1ac58e4d24c66fc89f5f', {
|
|
127
|
+
* bill_to_address_id: 'ad_012c2e4aeeb20f56c1a3d06cc7',
|
|
128
|
+
* carrier_billing_account: '123456789',
|
|
129
|
+
* carrier_billing_type: 'sender',
|
|
130
|
+
* commission_policy: 'commission_applied',
|
|
131
|
+
* credit_limit: { value: '10000.00', unit_id: 'un_01966263f74a5a0cae356000a1' },
|
|
132
|
+
* customer_price_group_ids: ['acgp_018e88072d1320808dc979cfac'],
|
|
133
|
+
* customer_type_group_id: 'acgp_018e88072d1320808dc979cfac',
|
|
134
|
+
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
135
|
+
* default_payment_term_id: 'pytm_018694d6601ea771cd1b52e890',
|
|
136
|
+
* default_priority: 'normal',
|
|
137
|
+
* default_sales_rep_id: 'acus_01ea9983ddb41dacc44ecf997c',
|
|
138
|
+
* default_service_level_id: 'crop_01cfaf03f104e90ef9680e2a30',
|
|
139
|
+
* default_shipping_term_id: 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
140
|
+
* edi_status: 'disabled',
|
|
141
|
+
* email: 'orders@acme.com',
|
|
142
|
+
* freight_policy: 'billed_freight',
|
|
143
|
+
* name: 'Acme Corp Updated',
|
|
144
|
+
* note: 'Updated account notes',
|
|
145
|
+
* number: '100042',
|
|
146
|
+
* phone: '555-123-4567',
|
|
147
|
+
* ship_to_address_id: 'ad_012c2e4aeeb20f56c1a3d06cc7',
|
|
148
|
+
* status: 'normal',
|
|
149
|
+
* url: 'https://acme.com',
|
|
150
|
+
* });
|
|
113
151
|
* ```
|
|
114
152
|
*/
|
|
115
153
|
update(
|
|
@@ -127,6 +165,8 @@ export class Customers extends APIResource {
|
|
|
127
165
|
* Fails with a conflict error if any sales orders still reference the customer;
|
|
128
166
|
* delete or reassign those orders, or merge the customer into another first.
|
|
129
167
|
*
|
|
168
|
+
* This endpoint requires the permission: `customers:delete`.
|
|
169
|
+
*
|
|
130
170
|
* @example
|
|
131
171
|
* ```ts
|
|
132
172
|
* const customer = await client.sales.customers.delete(
|
|
@@ -139,69 +179,6 @@ export class Customers extends APIResource {
|
|
|
139
179
|
}
|
|
140
180
|
}
|
|
141
181
|
|
|
142
|
-
/**
|
|
143
|
-
* A user's membership in an account, carrying the account-specific status, role,
|
|
144
|
-
* and department.
|
|
145
|
-
*
|
|
146
|
-
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
147
|
-
* sub-resource, which is shared across every account the user belongs to.
|
|
148
|
-
*/
|
|
149
|
-
export interface AccountUser {
|
|
150
|
-
/**
|
|
151
|
-
* Account user ID.
|
|
152
|
-
*/
|
|
153
|
-
id: string;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* When the account user was created.
|
|
157
|
-
*/
|
|
158
|
-
created_at: string;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
162
|
-
* that groups scanning stations and machines.
|
|
163
|
-
*/
|
|
164
|
-
department: Department | null;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* When the user last accessed this account.
|
|
168
|
-
*/
|
|
169
|
-
last_used_at: string | null;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Resource type identifier.
|
|
173
|
-
*/
|
|
174
|
-
object: 'account_user';
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* A named set of permissions that can be assigned to users to control what they
|
|
178
|
-
* can access.
|
|
179
|
-
*/
|
|
180
|
-
role: APIKeysAPI.Role | null;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Account user status.
|
|
184
|
-
*
|
|
185
|
-
* - `active`: the user can access the account.
|
|
186
|
-
* - `disabled`: the user is locked out of the account.
|
|
187
|
-
* - `removed`: the user has been removed (soft-deleted) from the account.
|
|
188
|
-
*/
|
|
189
|
-
status: 'active' | 'disabled' | 'removed';
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* When the account user was last updated.
|
|
193
|
-
*/
|
|
194
|
-
updated_at: string;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* A user's global profile, shared across every account they belong to.
|
|
198
|
-
*
|
|
199
|
-
* Account-specific settings (status, role, department) live on the account user
|
|
200
|
-
* resource that links the user to each account.
|
|
201
|
-
*/
|
|
202
|
-
user: User | null;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
182
|
/**
|
|
206
183
|
* A shipping carrier configured for fulfilling orders.
|
|
207
184
|
*
|
|
@@ -275,55 +252,6 @@ export interface Carrier {
|
|
|
275
252
|
updated_at: string;
|
|
276
253
|
}
|
|
277
254
|
|
|
278
|
-
/**
|
|
279
|
-
* Material consumed by a production step.
|
|
280
|
-
*
|
|
281
|
-
* Each consumption records one input item and how much of it the step uses.
|
|
282
|
-
* Consumptions also determine the production flow: when another step produces the
|
|
283
|
-
* consumed item, the two steps are linked upstream/downstream automatically.
|
|
284
|
-
*/
|
|
285
|
-
export interface Consumption {
|
|
286
|
-
/**
|
|
287
|
-
* Consumption ID.
|
|
288
|
-
*/
|
|
289
|
-
id: string;
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* Item is an inventory item (product, material, or part).
|
|
293
|
-
*/
|
|
294
|
-
consumed_item: ItemsAPI.Item | null;
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* Creation timestamp.
|
|
298
|
-
*/
|
|
299
|
-
created_at: string;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Instructions for how this material is consumed.
|
|
303
|
-
*/
|
|
304
|
-
instructions: string | null;
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Resource type identifier.
|
|
308
|
-
*/
|
|
309
|
-
object: 'consumption';
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* Value with an associated unit.
|
|
313
|
-
*/
|
|
314
|
-
quantity: ItemsAPI.Quantity | null;
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Last updated timestamp.
|
|
318
|
-
*/
|
|
319
|
-
updated_at: string;
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* Value with an associated unit.
|
|
323
|
-
*/
|
|
324
|
-
waste_quantity: ItemsAPI.Quantity | null;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
255
|
/**
|
|
328
256
|
* Request to create a customer.
|
|
329
257
|
*/
|
|
@@ -657,7 +585,7 @@ export interface CustomerDefaults {
|
|
|
657
585
|
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
658
586
|
* sub-resource, which is shared across every account the user belongs to.
|
|
659
587
|
*/
|
|
660
|
-
sales_rep: AccountUser | null;
|
|
588
|
+
sales_rep: BlocksAPI.AccountUser | null;
|
|
661
589
|
|
|
662
590
|
/**
|
|
663
591
|
* A shipping term defining how freight charges are calculated for an order.
|
|
@@ -726,80 +654,6 @@ export interface CustomerNotificationPreferences {
|
|
|
726
654
|
object: 'customer_notification_preferences';
|
|
727
655
|
}
|
|
728
656
|
|
|
729
|
-
/**
|
|
730
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
731
|
-
* that groups scanning stations and machines.
|
|
732
|
-
*/
|
|
733
|
-
export interface Department {
|
|
734
|
-
/**
|
|
735
|
-
* Department ID.
|
|
736
|
-
*/
|
|
737
|
-
id: string;
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* Creation timestamp.
|
|
741
|
-
*/
|
|
742
|
-
created_at: string;
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
746
|
-
* parent-child hierarchy.
|
|
747
|
-
*/
|
|
748
|
-
location: Location | null;
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
* List represents a paginated list of resources.
|
|
752
|
-
*/
|
|
753
|
-
machines: ListMachine | null;
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* Display name of the department.
|
|
757
|
-
*
|
|
758
|
-
* Unique within the account.
|
|
759
|
-
*/
|
|
760
|
-
name: string;
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* Free-form notes about the department.
|
|
764
|
-
*/
|
|
765
|
-
notes: string | null;
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* Resource type identifier.
|
|
769
|
-
*/
|
|
770
|
-
object: 'department';
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
* List represents a paginated list of resources.
|
|
774
|
-
*/
|
|
775
|
-
scanning_stations: ListScanningStation | null;
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* Last update timestamp.
|
|
779
|
-
*/
|
|
780
|
-
updated_at: string;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* List represents a paginated list of resources.
|
|
785
|
-
*/
|
|
786
|
-
export interface ListConsumption {
|
|
787
|
-
/**
|
|
788
|
-
* Resources in this page.
|
|
789
|
-
*/
|
|
790
|
-
data: Array<Consumption>;
|
|
791
|
-
|
|
792
|
-
/**
|
|
793
|
-
* Resource type identifier.
|
|
794
|
-
*/
|
|
795
|
-
object: 'list';
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
* PageInfo contains URL-based pagination metadata.
|
|
799
|
-
*/
|
|
800
|
-
page_info: APIKeysAPI.PageInfo;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
657
|
/**
|
|
804
658
|
* List represents a paginated list of resources.
|
|
805
659
|
*/
|
|
@@ -820,86 +674,6 @@ export interface ListCustomer {
|
|
|
820
674
|
page_info: APIKeysAPI.PageInfo;
|
|
821
675
|
}
|
|
822
676
|
|
|
823
|
-
/**
|
|
824
|
-
* List represents a paginated list of resources.
|
|
825
|
-
*/
|
|
826
|
-
export interface ListLocation {
|
|
827
|
-
/**
|
|
828
|
-
* Resources in this page.
|
|
829
|
-
*/
|
|
830
|
-
data: Array<Location>;
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* Resource type identifier.
|
|
834
|
-
*/
|
|
835
|
-
object: 'list';
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* PageInfo contains URL-based pagination metadata.
|
|
839
|
-
*/
|
|
840
|
-
page_info: APIKeysAPI.PageInfo;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* List represents a paginated list of resources.
|
|
845
|
-
*/
|
|
846
|
-
export interface ListMachine {
|
|
847
|
-
/**
|
|
848
|
-
* Resources in this page.
|
|
849
|
-
*/
|
|
850
|
-
data: Array<Machine>;
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
* Resource type identifier.
|
|
854
|
-
*/
|
|
855
|
-
object: 'list';
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* PageInfo contains URL-based pagination metadata.
|
|
859
|
-
*/
|
|
860
|
-
page_info: APIKeysAPI.PageInfo;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* List represents a paginated list of resources.
|
|
865
|
-
*/
|
|
866
|
-
export interface ListProductionStep {
|
|
867
|
-
/**
|
|
868
|
-
* Resources in this page.
|
|
869
|
-
*/
|
|
870
|
-
data: Array<ProductionStep>;
|
|
871
|
-
|
|
872
|
-
/**
|
|
873
|
-
* Resource type identifier.
|
|
874
|
-
*/
|
|
875
|
-
object: 'list';
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* PageInfo contains URL-based pagination metadata.
|
|
879
|
-
*/
|
|
880
|
-
page_info: APIKeysAPI.PageInfo;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* List represents a paginated list of resources.
|
|
885
|
-
*/
|
|
886
|
-
export interface ListScanningStation {
|
|
887
|
-
/**
|
|
888
|
-
* Resources in this page.
|
|
889
|
-
*/
|
|
890
|
-
data: Array<ScanningStation>;
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* Resource type identifier.
|
|
894
|
-
*/
|
|
895
|
-
object: 'list';
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* PageInfo contains URL-based pagination metadata.
|
|
899
|
-
*/
|
|
900
|
-
page_info: APIKeysAPI.PageInfo;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
677
|
/**
|
|
904
678
|
* List represents a paginated list of resources.
|
|
905
679
|
*/
|
|
@@ -920,111 +694,6 @@ export interface ListServiceLevel {
|
|
|
920
694
|
page_info: APIKeysAPI.PageInfo;
|
|
921
695
|
}
|
|
922
696
|
|
|
923
|
-
/**
|
|
924
|
-
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
925
|
-
* parent-child hierarchy.
|
|
926
|
-
*/
|
|
927
|
-
export interface Location {
|
|
928
|
-
/**
|
|
929
|
-
* Location ID.
|
|
930
|
-
*/
|
|
931
|
-
id: string;
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* List represents a paginated list of resources.
|
|
935
|
-
*/
|
|
936
|
-
children: ListLocation | null;
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* Creation timestamp.
|
|
940
|
-
*/
|
|
941
|
-
created_at: string;
|
|
942
|
-
|
|
943
|
-
/**
|
|
944
|
-
* Display name of the location.
|
|
945
|
-
*/
|
|
946
|
-
name: string;
|
|
947
|
-
|
|
948
|
-
/**
|
|
949
|
-
* Resource type identifier.
|
|
950
|
-
*/
|
|
951
|
-
object: 'location';
|
|
952
|
-
|
|
953
|
-
/**
|
|
954
|
-
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
955
|
-
* parent-child hierarchy.
|
|
956
|
-
*/
|
|
957
|
-
parent: Location | null;
|
|
958
|
-
|
|
959
|
-
/**
|
|
960
|
-
* Location type code, identifying this location's level in the storage hierarchy.
|
|
961
|
-
*
|
|
962
|
-
* - `building`: a building-level location.
|
|
963
|
-
* - `section`: a section within a building.
|
|
964
|
-
* - `aisle`: an aisle within a section.
|
|
965
|
-
* - `rack`: a rack within an aisle.
|
|
966
|
-
* - `shelf`: a shelf within a rack.
|
|
967
|
-
* - `bin`: a bin within a shelf.
|
|
968
|
-
*/
|
|
969
|
-
type: LocationTypeCode;
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* Last-updated timestamp.
|
|
973
|
-
*/
|
|
974
|
-
updated_at: string;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
export type LocationTypeCode = 'building' | 'section' | 'aisle' | 'rack' | 'shelf' | 'bin';
|
|
978
|
-
|
|
979
|
-
/**
|
|
980
|
-
* A piece of production equipment, such as a CNC router or press, assigned to a
|
|
981
|
-
* department.
|
|
982
|
-
*/
|
|
983
|
-
export interface Machine {
|
|
984
|
-
/**
|
|
985
|
-
* Machine ID.
|
|
986
|
-
*/
|
|
987
|
-
id: string;
|
|
988
|
-
|
|
989
|
-
/**
|
|
990
|
-
* Creation timestamp.
|
|
991
|
-
*/
|
|
992
|
-
created_at: string;
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
996
|
-
* that groups scanning stations and machines.
|
|
997
|
-
*/
|
|
998
|
-
department: Department | null;
|
|
999
|
-
|
|
1000
|
-
/**
|
|
1001
|
-
* Display name of the machine.
|
|
1002
|
-
*
|
|
1003
|
-
* Unique within the account.
|
|
1004
|
-
*/
|
|
1005
|
-
name: string;
|
|
1006
|
-
|
|
1007
|
-
/**
|
|
1008
|
-
* Free-form notes about the machine.
|
|
1009
|
-
*/
|
|
1010
|
-
notes: string | null;
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* Resource type identifier.
|
|
1014
|
-
*/
|
|
1015
|
-
object: 'machine';
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* Serial number of the machine.
|
|
1019
|
-
*/
|
|
1020
|
-
serial_number: string;
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* Last updated timestamp.
|
|
1024
|
-
*/
|
|
1025
|
-
updated_at: string;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
697
|
/**
|
|
1029
698
|
* A payment term describing when payment is due (e.g. `Net 30`), assignable to
|
|
1030
699
|
* customers, sales orders, purchase orders, and invoices.
|
|
@@ -1066,150 +735,6 @@ export interface PaymentTerm {
|
|
|
1066
735
|
updated_at: string;
|
|
1067
736
|
}
|
|
1068
737
|
|
|
1069
|
-
/**
|
|
1070
|
-
* The output of a production step: the item it produces and the quantity produced.
|
|
1071
|
-
*/
|
|
1072
|
-
export interface ProductionOutput {
|
|
1073
|
-
/**
|
|
1074
|
-
* Production ID.
|
|
1075
|
-
*/
|
|
1076
|
-
id: string;
|
|
1077
|
-
|
|
1078
|
-
/**
|
|
1079
|
-
* Creation timestamp.
|
|
1080
|
-
*/
|
|
1081
|
-
created_at: string;
|
|
1082
|
-
|
|
1083
|
-
/**
|
|
1084
|
-
* Resource type identifier.
|
|
1085
|
-
*/
|
|
1086
|
-
object: 'production';
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* Item is an inventory item (product, material, or part).
|
|
1090
|
-
*/
|
|
1091
|
-
produced_item: ItemsAPI.Item | null;
|
|
1092
|
-
|
|
1093
|
-
/**
|
|
1094
|
-
* Value with an associated unit.
|
|
1095
|
-
*/
|
|
1096
|
-
quantity: ItemsAPI.Quantity | null;
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* Last updated timestamp.
|
|
1100
|
-
*/
|
|
1101
|
-
updated_at: string;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* A single stage of work in an item's production flow, with its output, material
|
|
1106
|
-
* inputs, cost rates, and graph connections.
|
|
1107
|
-
*/
|
|
1108
|
-
export interface ProductionStep {
|
|
1109
|
-
/**
|
|
1110
|
-
* Production step ID.
|
|
1111
|
-
*/
|
|
1112
|
-
id: string;
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* Allowance correction factor applied to labor time in cost calculations, as a
|
|
1116
|
-
* decimal string.
|
|
1117
|
-
*
|
|
1118
|
-
* Effective labor time per unit is
|
|
1119
|
-
* `labor_time × (1 + leveling_factor) × (1 + allowances)`.
|
|
1120
|
-
*/
|
|
1121
|
-
allowances: string;
|
|
1122
|
-
|
|
1123
|
-
/**
|
|
1124
|
-
* List represents a paginated list of resources.
|
|
1125
|
-
*/
|
|
1126
|
-
consumptions: ListConsumption | null;
|
|
1127
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* Creation timestamp.
|
|
1130
|
-
*/
|
|
1131
|
-
created_at: string;
|
|
1132
|
-
|
|
1133
|
-
/**
|
|
1134
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
1135
|
-
* that groups scanning stations and machines.
|
|
1136
|
-
*/
|
|
1137
|
-
department: Department | null;
|
|
1138
|
-
|
|
1139
|
-
/**
|
|
1140
|
-
* List represents a paginated list of resources.
|
|
1141
|
-
*/
|
|
1142
|
-
in_steps: ListProductionStep | null;
|
|
1143
|
-
|
|
1144
|
-
/**
|
|
1145
|
-
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
1146
|
-
* throughput per hour.
|
|
1147
|
-
*/
|
|
1148
|
-
labor_rate: ItemsAPI.Rate | null;
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
1152
|
-
* throughput per hour.
|
|
1153
|
-
*/
|
|
1154
|
-
labor_time: ItemsAPI.Rate | null;
|
|
1155
|
-
|
|
1156
|
-
/**
|
|
1157
|
-
* Leveling correction factor applied to labor time in cost calculations, as a
|
|
1158
|
-
* decimal string.
|
|
1159
|
-
*
|
|
1160
|
-
* Effective labor time per unit is
|
|
1161
|
-
* `labor_time × (1 + leveling_factor) × (1 + allowances)`.
|
|
1162
|
-
*/
|
|
1163
|
-
leveling_factor: string;
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* List represents a paginated list of resources.
|
|
1167
|
-
*/
|
|
1168
|
-
machines: ListMachine | null;
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
* Display name of the step.
|
|
1172
|
-
*/
|
|
1173
|
-
name: string;
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* Free-form notes about the step.
|
|
1177
|
-
*/
|
|
1178
|
-
notes: string | null;
|
|
1179
|
-
|
|
1180
|
-
/**
|
|
1181
|
-
* Resource type identifier.
|
|
1182
|
-
*/
|
|
1183
|
-
object: 'production_step';
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* List represents a paginated list of resources.
|
|
1187
|
-
*/
|
|
1188
|
-
out_steps: ListProductionStep | null;
|
|
1189
|
-
|
|
1190
|
-
/**
|
|
1191
|
-
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
1192
|
-
* throughput per hour.
|
|
1193
|
-
*/
|
|
1194
|
-
overhead_rate: ItemsAPI.Rate | null;
|
|
1195
|
-
|
|
1196
|
-
/**
|
|
1197
|
-
* The output of a production step: the item it produces and the quantity produced.
|
|
1198
|
-
*/
|
|
1199
|
-
production: ProductionOutput | null;
|
|
1200
|
-
|
|
1201
|
-
/**
|
|
1202
|
-
* A station on the production floor where operators scan batches to perform a
|
|
1203
|
-
* batch operation, such as initializing or moving a batch.
|
|
1204
|
-
*/
|
|
1205
|
-
scanning_station: ScanningStation | null;
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* Last updated timestamp.
|
|
1209
|
-
*/
|
|
1210
|
-
updated_at: string;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
738
|
/**
|
|
1214
739
|
* A value with an associated unit, used in create and update requests.
|
|
1215
740
|
*/
|
|
@@ -1225,88 +750,6 @@ export interface QuantityInput {
|
|
|
1225
750
|
value: string;
|
|
1226
751
|
}
|
|
1227
752
|
|
|
1228
|
-
/**
|
|
1229
|
-
* A station on the production floor where operators scan batches to perform a
|
|
1230
|
-
* batch operation, such as initializing or moving a batch.
|
|
1231
|
-
*/
|
|
1232
|
-
export interface ScanningStation {
|
|
1233
|
-
/**
|
|
1234
|
-
* Scanning station ID.
|
|
1235
|
-
*/
|
|
1236
|
-
id: string;
|
|
1237
|
-
|
|
1238
|
-
/**
|
|
1239
|
-
* Creation timestamp.
|
|
1240
|
-
*/
|
|
1241
|
-
created_at: string;
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
1245
|
-
* that groups scanning stations and machines.
|
|
1246
|
-
*/
|
|
1247
|
-
department: Department | null;
|
|
1248
|
-
|
|
1249
|
-
/**
|
|
1250
|
-
* Size of the labels printed at this station, given as width-by-height (for
|
|
1251
|
-
* example, `1x1`).
|
|
1252
|
-
*/
|
|
1253
|
-
label_size: '1x1' | '1x3' | '1x4' | '2x4' | null;
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* Type of label printed at this station.
|
|
1257
|
-
*
|
|
1258
|
-
* - `tag`: a label attached to the physical product.
|
|
1259
|
-
* - `traveler`: a routing sheet that accompanies the batch through every
|
|
1260
|
-
* production step.
|
|
1261
|
-
*/
|
|
1262
|
-
label_type: 'tag' | 'traveler' | null;
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* Display name of the scanning station.
|
|
1266
|
-
*
|
|
1267
|
-
* Unique within the account.
|
|
1268
|
-
*/
|
|
1269
|
-
name: string;
|
|
1270
|
-
|
|
1271
|
-
/**
|
|
1272
|
-
* Free-form notes about the scanning station.
|
|
1273
|
-
*/
|
|
1274
|
-
notes: string | null;
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* Resource type identifier.
|
|
1278
|
-
*/
|
|
1279
|
-
object: 'scanning_station';
|
|
1280
|
-
|
|
1281
|
-
/**
|
|
1282
|
-
* Whether operators must perform a material check at this station.
|
|
1283
|
-
*
|
|
1284
|
-
* - `none`: no additional operator check is required.
|
|
1285
|
-
* - `material_check`: a material check is expected before the operation.
|
|
1286
|
-
*/
|
|
1287
|
-
operator_requirement: 'none' | 'material_check';
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
* List represents a paginated list of resources.
|
|
1291
|
-
*/
|
|
1292
|
-
production_steps: ListProductionStep | null;
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* Scanning station type, determining which batch operation the station performs.
|
|
1296
|
-
*
|
|
1297
|
-
* - `init_batch`: initializes a new batch.
|
|
1298
|
-
* - `merge_batch`: merges multiple batches into one.
|
|
1299
|
-
* - `move_batch`: moves a batch to another location or step.
|
|
1300
|
-
* - `split_batch`: splits a batch into multiple batches.
|
|
1301
|
-
*/
|
|
1302
|
-
type: 'init_batch' | 'merge_batch' | 'move_batch' | 'split_batch';
|
|
1303
|
-
|
|
1304
|
-
/**
|
|
1305
|
-
* Last updated timestamp.
|
|
1306
|
-
*/
|
|
1307
|
-
updated_at: string;
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
753
|
/**
|
|
1311
754
|
* Shipping service level for a carrier.
|
|
1312
755
|
*/
|
|
@@ -1573,59 +1016,6 @@ export interface UpdateCustomerRequest {
|
|
|
1573
1016
|
url?: string | null;
|
|
1574
1017
|
}
|
|
1575
1018
|
|
|
1576
|
-
/**
|
|
1577
|
-
* A user's global profile, shared across every account they belong to.
|
|
1578
|
-
*
|
|
1579
|
-
* Account-specific settings (status, role, department) live on the account user
|
|
1580
|
-
* resource that links the user to each account.
|
|
1581
|
-
*/
|
|
1582
|
-
export interface User {
|
|
1583
|
-
/**
|
|
1584
|
-
* User ID.
|
|
1585
|
-
*/
|
|
1586
|
-
id: string;
|
|
1587
|
-
|
|
1588
|
-
/**
|
|
1589
|
-
* Creation timestamp.
|
|
1590
|
-
*/
|
|
1591
|
-
created_at: string;
|
|
1592
|
-
|
|
1593
|
-
/**
|
|
1594
|
-
* Email address.
|
|
1595
|
-
*/
|
|
1596
|
-
email: string | null;
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* When the user verified their email address.
|
|
1600
|
-
*/
|
|
1601
|
-
email_verified_at: string | null;
|
|
1602
|
-
|
|
1603
|
-
/**
|
|
1604
|
-
* URL of the user's profile image.
|
|
1605
|
-
*/
|
|
1606
|
-
image_url: string | null;
|
|
1607
|
-
|
|
1608
|
-
/**
|
|
1609
|
-
* User's full display name.
|
|
1610
|
-
*/
|
|
1611
|
-
name: string | null;
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* Resource type identifier.
|
|
1615
|
-
*/
|
|
1616
|
-
object: 'user';
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* Last updated timestamp.
|
|
1620
|
-
*/
|
|
1621
|
-
updated_at: string;
|
|
1622
|
-
|
|
1623
|
-
/**
|
|
1624
|
-
* Username.
|
|
1625
|
-
*/
|
|
1626
|
-
username: string | null;
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
1019
|
export interface CustomerDeleteResponse {}
|
|
1630
1020
|
|
|
1631
1021
|
export interface CustomerListParams {
|
|
@@ -1682,6 +1072,7 @@ export interface CustomerListParams {
|
|
|
1682
1072
|
| 'type'
|
|
1683
1073
|
| 'parent_account'
|
|
1684
1074
|
| 'freight_preferences.carrier'
|
|
1075
|
+
| 'freight_preferences.carrier.service_levels'
|
|
1685
1076
|
| 'freight_preferences.service_level'
|
|
1686
1077
|
| 'defaults.payment_term'
|
|
1687
1078
|
| 'defaults.shipping_term'
|
|
@@ -1695,6 +1086,7 @@ export interface CustomerListParams {
|
|
|
1695
1086
|
| 'price_groups'
|
|
1696
1087
|
| 'child_accounts'
|
|
1697
1088
|
| 'credit_limit'
|
|
1089
|
+
| 'credit_limit.unit'
|
|
1698
1090
|
>;
|
|
1699
1091
|
|
|
1700
1092
|
/**
|
|
@@ -1771,6 +1163,7 @@ export interface CustomerRetrieveParams {
|
|
|
1771
1163
|
| 'type'
|
|
1772
1164
|
| 'parent_account'
|
|
1773
1165
|
| 'freight_preferences.carrier'
|
|
1166
|
+
| 'freight_preferences.carrier.service_levels'
|
|
1774
1167
|
| 'freight_preferences.service_level'
|
|
1775
1168
|
| 'defaults.payment_term'
|
|
1776
1169
|
| 'defaults.shipping_term'
|
|
@@ -1784,6 +1177,7 @@ export interface CustomerRetrieveParams {
|
|
|
1784
1177
|
| 'price_groups'
|
|
1785
1178
|
| 'child_accounts'
|
|
1786
1179
|
| 'credit_limit'
|
|
1180
|
+
| 'credit_limit.unit'
|
|
1787
1181
|
>;
|
|
1788
1182
|
}
|
|
1789
1183
|
|
|
@@ -1837,6 +1231,7 @@ export interface CustomerCreateParams {
|
|
|
1837
1231
|
| 'type'
|
|
1838
1232
|
| 'parent_account'
|
|
1839
1233
|
| 'freight_preferences.carrier'
|
|
1234
|
+
| 'freight_preferences.carrier.service_levels'
|
|
1840
1235
|
| 'freight_preferences.service_level'
|
|
1841
1236
|
| 'defaults.payment_term'
|
|
1842
1237
|
| 'defaults.shipping_term'
|
|
@@ -1850,6 +1245,7 @@ export interface CustomerCreateParams {
|
|
|
1850
1245
|
| 'price_groups'
|
|
1851
1246
|
| 'child_accounts'
|
|
1852
1247
|
| 'credit_limit'
|
|
1248
|
+
| 'credit_limit.unit'
|
|
1853
1249
|
>;
|
|
1854
1250
|
|
|
1855
1251
|
/**
|
|
@@ -1967,6 +1363,7 @@ export interface CustomerUpdateParams {
|
|
|
1967
1363
|
| 'type'
|
|
1968
1364
|
| 'parent_account'
|
|
1969
1365
|
| 'freight_preferences.carrier'
|
|
1366
|
+
| 'freight_preferences.carrier.service_levels'
|
|
1970
1367
|
| 'freight_preferences.service_level'
|
|
1971
1368
|
| 'defaults.payment_term'
|
|
1972
1369
|
| 'defaults.shipping_term'
|
|
@@ -1980,6 +1377,7 @@ export interface CustomerUpdateParams {
|
|
|
1980
1377
|
| 'price_groups'
|
|
1981
1378
|
| 'child_accounts'
|
|
1982
1379
|
| 'credit_limit'
|
|
1380
|
+
| 'credit_limit.unit'
|
|
1983
1381
|
>;
|
|
1984
1382
|
|
|
1985
1383
|
/**
|
|
@@ -2128,35 +1526,20 @@ Customers.Actions = Actions;
|
|
|
2128
1526
|
|
|
2129
1527
|
export declare namespace Customers {
|
|
2130
1528
|
export {
|
|
2131
|
-
type AccountUser as AccountUser,
|
|
2132
1529
|
type Carrier as Carrier,
|
|
2133
|
-
type Consumption as Consumption,
|
|
2134
1530
|
type CreateCustomerRequest as CreateCustomerRequest,
|
|
2135
1531
|
type Customer as Customer,
|
|
2136
1532
|
type CustomerContactInfo as CustomerContactInfo,
|
|
2137
1533
|
type CustomerDefaults as CustomerDefaults,
|
|
2138
1534
|
type CustomerFreightPreferences as CustomerFreightPreferences,
|
|
2139
1535
|
type CustomerNotificationPreferences as CustomerNotificationPreferences,
|
|
2140
|
-
type Department as Department,
|
|
2141
|
-
type ListConsumption as ListConsumption,
|
|
2142
1536
|
type ListCustomer as ListCustomer,
|
|
2143
|
-
type ListLocation as ListLocation,
|
|
2144
|
-
type ListMachine as ListMachine,
|
|
2145
|
-
type ListProductionStep as ListProductionStep,
|
|
2146
|
-
type ListScanningStation as ListScanningStation,
|
|
2147
1537
|
type ListServiceLevel as ListServiceLevel,
|
|
2148
|
-
type Location as Location,
|
|
2149
|
-
type LocationTypeCode as LocationTypeCode,
|
|
2150
|
-
type Machine as Machine,
|
|
2151
1538
|
type PaymentTerm as PaymentTerm,
|
|
2152
|
-
type ProductionOutput as ProductionOutput,
|
|
2153
|
-
type ProductionStep as ProductionStep,
|
|
2154
1539
|
type QuantityInput as QuantityInput,
|
|
2155
|
-
type ScanningStation as ScanningStation,
|
|
2156
1540
|
type ServiceLevel as ServiceLevel,
|
|
2157
1541
|
type ShippingTerm as ShippingTerm,
|
|
2158
1542
|
type UpdateCustomerRequest as UpdateCustomerRequest,
|
|
2159
|
-
type User as User,
|
|
2160
1543
|
type CustomerDeleteResponse as CustomerDeleteResponse,
|
|
2161
1544
|
type CustomerListParams as CustomerListParams,
|
|
2162
1545
|
type CustomerRetrieveParams as CustomerRetrieveParams,
|