@augno/sdk 0.7.0 → 0.7.1
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/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 +1 -1
- 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 +11 -3
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +11 -3
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js +8 -0
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs +8 -0
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.mts +12 -0
- package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.ts +12 -0
- package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories/item-categories.js +12 -0
- package/resources/catalog/item-categories/item-categories.js.map +1 -1
- package/resources/catalog/item-categories/item-categories.mjs +12 -0
- 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 +24 -9
- package/resources/catalog/materials.d.mts.map +1 -1
- package/resources/catalog/materials.d.ts +24 -9
- package/resources/catalog/materials.d.ts.map +1 -1
- package/resources/catalog/materials.js +15 -0
- package/resources/catalog/materials.js.map +1 -1
- package/resources/catalog/materials.mjs +15 -0
- package/resources/catalog/materials.mjs.map +1 -1
- package/resources/catalog/parts.d.mts +15 -0
- package/resources/catalog/parts.d.mts.map +1 -1
- package/resources/catalog/parts.d.ts +15 -0
- package/resources/catalog/parts.d.ts.map +1 -1
- package/resources/catalog/parts.js +15 -0
- package/resources/catalog/parts.js.map +1 -1
- package/resources/catalog/parts.mjs +15 -0
- package/resources/catalog/parts.mjs.map +1 -1
- package/resources/catalog/product-lines.d.mts +12 -0
- package/resources/catalog/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines.d.ts +12 -0
- package/resources/catalog/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines.js +12 -0
- package/resources/catalog/product-lines.js.map +1 -1
- package/resources/catalog/product-lines.mjs +12 -0
- package/resources/catalog/product-lines.mjs.map +1 -1
- package/resources/catalog/products.d.mts +22 -8
- package/resources/catalog/products.d.mts.map +1 -1
- package/resources/catalog/products.d.ts +22 -8
- package/resources/catalog/products.d.ts.map +1 -1
- package/resources/catalog/products.js +14 -0
- package/resources/catalog/products.js.map +1 -1
- package/resources/catalog/products.mjs +14 -0
- package/resources/catalog/products.mjs.map +1 -1
- package/resources/catalog/properties/attributes.d.mts +10 -0
- package/resources/catalog/properties/attributes.d.mts.map +1 -1
- package/resources/catalog/properties/attributes.d.ts +10 -0
- package/resources/catalog/properties/attributes.d.ts.map +1 -1
- package/resources/catalog/properties/attributes.js +10 -0
- package/resources/catalog/properties/attributes.js.map +1 -1
- package/resources/catalog/properties/attributes.mjs +10 -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 +18 -7
- package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.ts +18 -7
- package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.js +12 -2
- package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.mjs +12 -2
- package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
- package/resources/catalog/unit-groups/units.d.mts +10 -0
- package/resources/catalog/unit-groups/units.d.mts.map +1 -1
- package/resources/catalog/unit-groups/units.d.ts +10 -0
- package/resources/catalog/unit-groups/units.d.ts.map +1 -1
- package/resources/catalog/unit-groups/units.js +10 -0
- package/resources/catalog/unit-groups/units.js.map +1 -1
- package/resources/catalog/unit-groups/units.mjs +10 -0
- package/resources/catalog/unit-groups/units.mjs.map +1 -1
- package/resources/catalog/units.d.mts +48 -25
- package/resources/catalog/units.d.mts.map +1 -1
- package/resources/catalog/units.d.ts +48 -25
- package/resources/catalog/units.d.ts.map +1 -1
- package/resources/catalog/units.js +14 -2
- package/resources/catalog/units.js.map +1 -1
- package/resources/catalog/units.mjs +14 -2
- package/resources/catalog/units.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 +17 -5
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +17 -5
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js +12 -0
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs +12 -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 +1328 -0
- package/resources/messaging/conversations/conversations.d.mts.map +1 -0
- package/resources/messaging/conversations/conversations.d.ts +1328 -0
- package/resources/messaging/conversations/conversations.d.ts.map +1 -0
- package/resources/messaging/conversations/conversations.js +109 -0
- package/resources/messaging/conversations/conversations.js.map +1 -0
- package/resources/messaging/conversations/conversations.mjs +104 -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 +332 -0
- package/resources/messaging/conversations/messages.d.mts.map +1 -0
- package/resources/messaging/conversations/messages.d.ts +332 -0
- package/resources/messaging/conversations/messages.d.ts.map +1 -0
- package/resources/messaging/conversations/messages.js +60 -0
- package/resources/messaging/conversations/messages.js.map +1 -0
- package/resources/messaging/conversations/messages.mjs +56 -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 +327 -0
- package/resources/messaging/email-inboxes.d.mts.map +1 -0
- package/resources/messaging/email-inboxes.d.ts +327 -0
- package/resources/messaging/email-inboxes.d.ts.map +1 -0
- package/resources/messaging/email-inboxes.js +101 -0
- package/resources/messaging/email-inboxes.js.map +1 -0
- package/resources/messaging/email-inboxes.mjs +97 -0
- package/resources/messaging/email-inboxes.mjs.map +1 -0
- package/resources/messaging/groups/groups.d.mts +159 -0
- package/resources/messaging/groups/groups.d.mts.map +1 -0
- package/resources/messaging/groups/groups.d.ts +159 -0
- package/resources/messaging/groups/groups.d.ts.map +1 -0
- package/resources/messaging/groups/groups.js +107 -0
- package/resources/messaging/groups/groups.js.map +1 -0
- package/resources/messaging/groups/groups.mjs +102 -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 +83 -0
- package/resources/messaging/groups/members.d.mts.map +1 -0
- package/resources/messaging/groups/members.d.ts +83 -0
- package/resources/messaging/groups/members.d.ts.map +1 -0
- package/resources/messaging/groups/members.js +51 -0
- package/resources/messaging/groups/members.js.map +1 -0
- package/resources/messaging/groups/members.mjs +47 -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 +61 -0
- package/resources/messaging/messages/messages.d.mts.map +1 -0
- package/resources/messaging/messages/messages.d.ts +61 -0
- package/resources/messaging/messages/messages.d.ts.map +1 -0
- package/resources/messaging/messages/messages.js +40 -0
- package/resources/messaging/messages/messages.js.map +1 -0
- package/resources/messaging/messages/messages.mjs +35 -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 +440 -0
- package/resources/messaging/notifications/notifications.d.mts.map +1 -0
- package/resources/messaging/notifications/notifications.d.ts +440 -0
- package/resources/messaging/notifications/notifications.d.ts.map +1 -0
- package/resources/messaging/notifications/notifications.js +104 -0
- package/resources/messaging/notifications/notifications.js.map +1 -0
- package/resources/messaging/notifications/notifications.mjs +99 -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 +16 -6
- package/resources/operations/carriers/carriers.d.mts.map +1 -1
- package/resources/operations/carriers/carriers.d.ts +16 -6
- package/resources/operations/carriers/carriers.d.ts.map +1 -1
- package/resources/operations/carriers/carriers.js +12 -0
- package/resources/operations/carriers/carriers.js.map +1 -1
- package/resources/operations/carriers/carriers.mjs +12 -0
- package/resources/operations/carriers/carriers.mjs.map +1 -1
- package/resources/operations/carriers/service-levels.d.mts +12 -0
- package/resources/operations/carriers/service-levels.d.mts.map +1 -1
- package/resources/operations/carriers/service-levels.d.ts +12 -0
- package/resources/operations/carriers/service-levels.d.ts.map +1 -1
- package/resources/operations/carriers/service-levels.js +12 -0
- package/resources/operations/carriers/service-levels.js.map +1 -1
- package/resources/operations/carriers/service-levels.mjs +12 -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 +19 -9
- package/resources/operations/locations.d.mts.map +1 -1
- package/resources/operations/locations.d.ts +19 -9
- package/resources/operations/locations.d.ts.map +1 -1
- package/resources/operations/locations.js +10 -0
- package/resources/operations/locations.js.map +1 -1
- package/resources/operations/locations.mjs +10 -0
- package/resources/operations/locations.mjs.map +1 -1
- package/resources/operations/scanning-stations.d.mts +15 -5
- package/resources/operations/scanning-stations.d.mts.map +1 -1
- package/resources/operations/scanning-stations.d.ts +15 -5
- package/resources/operations/scanning-stations.d.ts.map +1 -1
- package/resources/operations/scanning-stations.js +10 -0
- package/resources/operations/scanning-stations.js.map +1 -1
- package/resources/operations/scanning-stations.mjs +10 -0
- package/resources/operations/scanning-stations.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +10 -0
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +10 -0
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/operations/shipping-terms.js +10 -0
- package/resources/operations/shipping-terms.js.map +1 -1
- package/resources/operations/shipping-terms.mjs +10 -0
- package/resources/operations/shipping-terms.mjs.map +1 -1
- package/resources/sales/account-groups.d.mts +10 -0
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +10 -0
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-groups.js +10 -0
- package/resources/sales/account-groups.js.map +1 -1
- package/resources/sales/account-groups.mjs +10 -0
- 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 +20 -5
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +20 -5
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/addresses.js +15 -0
- package/resources/sales/addresses.js.map +1 -1
- package/resources/sales/addresses.mjs +15 -0
- 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 +17 -553
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +17 -553
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +10 -0
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +10 -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 +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 +45 -42
- package/resources/sales/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders.d.ts +45 -42
- package/resources/sales/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders.js +5 -0
- package/resources/sales/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders.mjs +5 -0
- 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 +8 -0
- package/resources/settings/integrations.d.mts.map +1 -1
- package/resources/settings/integrations.d.ts +8 -0
- package/resources/settings/integrations.d.ts.map +1 -1
- package/resources/settings/integrations.js +8 -0
- package/resources/settings/integrations.js.map +1 -1
- package/resources/settings/integrations.mjs +8 -0
- 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 +11 -3
- package/src/resources/catalog/item-categories/item-categories.ts +12 -0
- 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 +24 -9
- package/src/resources/catalog/parts.ts +15 -0
- package/src/resources/catalog/product-lines.ts +12 -0
- package/src/resources/catalog/products.ts +22 -8
- package/src/resources/catalog/properties/attributes.ts +10 -0
- package/src/resources/catalog/properties/properties.ts +10 -0
- package/src/resources/catalog/unit-groups/unit-groups.ts +18 -7
- package/src/resources/catalog/unit-groups/units.ts +10 -0
- package/src/resources/catalog/units.ts +48 -25
- package/src/resources/core/audit-events.ts +111 -11
- package/src/resources/core/core.ts +600 -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 +17 -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 +2452 -0
- package/src/resources/messaging/conversations/index.ts +80 -0
- package/src/resources/messaging/conversations/links.ts +690 -0
- package/src/resources/messaging/conversations/messages.ts +906 -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 +408 -0
- package/src/resources/messaging/groups/groups.ts +208 -0
- package/src/resources/messaging/groups/index.ts +17 -0
- package/src/resources/messaging/groups/members.ts +112 -0
- package/src/resources/messaging/groups.ts +3 -0
- package/src/resources/messaging/index.ts +115 -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 +107 -0
- package/src/resources/messaging/messages.ts +3 -0
- package/src/resources/messaging/messaging.ts +351 -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 +1051 -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 +16 -6
- package/src/resources/operations/carriers/service-levels.ts +12 -0
- package/src/resources/operations/location-types.ts +6 -2
- package/src/resources/operations/locations.ts +19 -9
- package/src/resources/operations/scanning-stations.ts +15 -5
- package/src/resources/operations/shipping-terms.ts +10 -0
- package/src/resources/sales/account-groups.ts +10 -0
- package/src/resources/sales/account-statuses.ts +1 -1
- package/src/resources/sales/addresses.ts +20 -5
- 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 +20 -666
- 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 +45 -44
- package/src/resources/sales/sales.ts +6 -30
- package/src/resources/settings/integrations.ts +8 -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
|
@@ -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({
|
|
@@ -99,6 +106,8 @@ export class Customers extends APIResource {
|
|
|
99
106
|
* Only the fields provided in the request are changed. Nullable fields can be set
|
|
100
107
|
* to `null` to clear their current value.
|
|
101
108
|
*
|
|
109
|
+
* This endpoint requires the permission: `customers:update`.
|
|
110
|
+
*
|
|
102
111
|
* @example
|
|
103
112
|
* ```ts
|
|
104
113
|
* const customer = await client.sales.customers.update(
|
|
@@ -127,6 +136,8 @@ export class Customers extends APIResource {
|
|
|
127
136
|
* Fails with a conflict error if any sales orders still reference the customer;
|
|
128
137
|
* delete or reassign those orders, or merge the customer into another first.
|
|
129
138
|
*
|
|
139
|
+
* This endpoint requires the permission: `customers:delete`.
|
|
140
|
+
*
|
|
130
141
|
* @example
|
|
131
142
|
* ```ts
|
|
132
143
|
* const customer = await client.sales.customers.delete(
|
|
@@ -139,69 +150,6 @@ export class Customers extends APIResource {
|
|
|
139
150
|
}
|
|
140
151
|
}
|
|
141
152
|
|
|
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
153
|
/**
|
|
206
154
|
* A shipping carrier configured for fulfilling orders.
|
|
207
155
|
*
|
|
@@ -275,55 +223,6 @@ export interface Carrier {
|
|
|
275
223
|
updated_at: string;
|
|
276
224
|
}
|
|
277
225
|
|
|
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
226
|
/**
|
|
328
227
|
* Request to create a customer.
|
|
329
228
|
*/
|
|
@@ -657,7 +556,7 @@ export interface CustomerDefaults {
|
|
|
657
556
|
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
658
557
|
* sub-resource, which is shared across every account the user belongs to.
|
|
659
558
|
*/
|
|
660
|
-
sales_rep: AccountUser | null;
|
|
559
|
+
sales_rep: BlocksAPI.AccountUser | null;
|
|
661
560
|
|
|
662
561
|
/**
|
|
663
562
|
* A shipping term defining how freight charges are calculated for an order.
|
|
@@ -726,80 +625,6 @@ export interface CustomerNotificationPreferences {
|
|
|
726
625
|
object: 'customer_notification_preferences';
|
|
727
626
|
}
|
|
728
627
|
|
|
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
628
|
/**
|
|
804
629
|
* List represents a paginated list of resources.
|
|
805
630
|
*/
|
|
@@ -820,86 +645,6 @@ export interface ListCustomer {
|
|
|
820
645
|
page_info: APIKeysAPI.PageInfo;
|
|
821
646
|
}
|
|
822
647
|
|
|
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
648
|
/**
|
|
904
649
|
* List represents a paginated list of resources.
|
|
905
650
|
*/
|
|
@@ -920,111 +665,6 @@ export interface ListServiceLevel {
|
|
|
920
665
|
page_info: APIKeysAPI.PageInfo;
|
|
921
666
|
}
|
|
922
667
|
|
|
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
668
|
/**
|
|
1029
669
|
* A payment term describing when payment is due (e.g. `Net 30`), assignable to
|
|
1030
670
|
* customers, sales orders, purchase orders, and invoices.
|
|
@@ -1066,150 +706,6 @@ export interface PaymentTerm {
|
|
|
1066
706
|
updated_at: string;
|
|
1067
707
|
}
|
|
1068
708
|
|
|
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
709
|
/**
|
|
1214
710
|
* A value with an associated unit, used in create and update requests.
|
|
1215
711
|
*/
|
|
@@ -1225,88 +721,6 @@ export interface QuantityInput {
|
|
|
1225
721
|
value: string;
|
|
1226
722
|
}
|
|
1227
723
|
|
|
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
724
|
/**
|
|
1311
725
|
* Shipping service level for a carrier.
|
|
1312
726
|
*/
|
|
@@ -1573,59 +987,6 @@ export interface UpdateCustomerRequest {
|
|
|
1573
987
|
url?: string | null;
|
|
1574
988
|
}
|
|
1575
989
|
|
|
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
990
|
export interface CustomerDeleteResponse {}
|
|
1630
991
|
|
|
1631
992
|
export interface CustomerListParams {
|
|
@@ -1682,6 +1043,7 @@ export interface CustomerListParams {
|
|
|
1682
1043
|
| 'type'
|
|
1683
1044
|
| 'parent_account'
|
|
1684
1045
|
| 'freight_preferences.carrier'
|
|
1046
|
+
| 'freight_preferences.carrier.service_levels'
|
|
1685
1047
|
| 'freight_preferences.service_level'
|
|
1686
1048
|
| 'defaults.payment_term'
|
|
1687
1049
|
| 'defaults.shipping_term'
|
|
@@ -1695,6 +1057,7 @@ export interface CustomerListParams {
|
|
|
1695
1057
|
| 'price_groups'
|
|
1696
1058
|
| 'child_accounts'
|
|
1697
1059
|
| 'credit_limit'
|
|
1060
|
+
| 'credit_limit.unit'
|
|
1698
1061
|
>;
|
|
1699
1062
|
|
|
1700
1063
|
/**
|
|
@@ -1771,6 +1134,7 @@ export interface CustomerRetrieveParams {
|
|
|
1771
1134
|
| 'type'
|
|
1772
1135
|
| 'parent_account'
|
|
1773
1136
|
| 'freight_preferences.carrier'
|
|
1137
|
+
| 'freight_preferences.carrier.service_levels'
|
|
1774
1138
|
| 'freight_preferences.service_level'
|
|
1775
1139
|
| 'defaults.payment_term'
|
|
1776
1140
|
| 'defaults.shipping_term'
|
|
@@ -1784,6 +1148,7 @@ export interface CustomerRetrieveParams {
|
|
|
1784
1148
|
| 'price_groups'
|
|
1785
1149
|
| 'child_accounts'
|
|
1786
1150
|
| 'credit_limit'
|
|
1151
|
+
| 'credit_limit.unit'
|
|
1787
1152
|
>;
|
|
1788
1153
|
}
|
|
1789
1154
|
|
|
@@ -1837,6 +1202,7 @@ export interface CustomerCreateParams {
|
|
|
1837
1202
|
| 'type'
|
|
1838
1203
|
| 'parent_account'
|
|
1839
1204
|
| 'freight_preferences.carrier'
|
|
1205
|
+
| 'freight_preferences.carrier.service_levels'
|
|
1840
1206
|
| 'freight_preferences.service_level'
|
|
1841
1207
|
| 'defaults.payment_term'
|
|
1842
1208
|
| 'defaults.shipping_term'
|
|
@@ -1850,6 +1216,7 @@ export interface CustomerCreateParams {
|
|
|
1850
1216
|
| 'price_groups'
|
|
1851
1217
|
| 'child_accounts'
|
|
1852
1218
|
| 'credit_limit'
|
|
1219
|
+
| 'credit_limit.unit'
|
|
1853
1220
|
>;
|
|
1854
1221
|
|
|
1855
1222
|
/**
|
|
@@ -1967,6 +1334,7 @@ export interface CustomerUpdateParams {
|
|
|
1967
1334
|
| 'type'
|
|
1968
1335
|
| 'parent_account'
|
|
1969
1336
|
| 'freight_preferences.carrier'
|
|
1337
|
+
| 'freight_preferences.carrier.service_levels'
|
|
1970
1338
|
| 'freight_preferences.service_level'
|
|
1971
1339
|
| 'defaults.payment_term'
|
|
1972
1340
|
| 'defaults.shipping_term'
|
|
@@ -1980,6 +1348,7 @@ export interface CustomerUpdateParams {
|
|
|
1980
1348
|
| 'price_groups'
|
|
1981
1349
|
| 'child_accounts'
|
|
1982
1350
|
| 'credit_limit'
|
|
1351
|
+
| 'credit_limit.unit'
|
|
1983
1352
|
>;
|
|
1984
1353
|
|
|
1985
1354
|
/**
|
|
@@ -2128,35 +1497,20 @@ Customers.Actions = Actions;
|
|
|
2128
1497
|
|
|
2129
1498
|
export declare namespace Customers {
|
|
2130
1499
|
export {
|
|
2131
|
-
type AccountUser as AccountUser,
|
|
2132
1500
|
type Carrier as Carrier,
|
|
2133
|
-
type Consumption as Consumption,
|
|
2134
1501
|
type CreateCustomerRequest as CreateCustomerRequest,
|
|
2135
1502
|
type Customer as Customer,
|
|
2136
1503
|
type CustomerContactInfo as CustomerContactInfo,
|
|
2137
1504
|
type CustomerDefaults as CustomerDefaults,
|
|
2138
1505
|
type CustomerFreightPreferences as CustomerFreightPreferences,
|
|
2139
1506
|
type CustomerNotificationPreferences as CustomerNotificationPreferences,
|
|
2140
|
-
type Department as Department,
|
|
2141
|
-
type ListConsumption as ListConsumption,
|
|
2142
1507
|
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
1508
|
type ListServiceLevel as ListServiceLevel,
|
|
2148
|
-
type Location as Location,
|
|
2149
|
-
type LocationTypeCode as LocationTypeCode,
|
|
2150
|
-
type Machine as Machine,
|
|
2151
1509
|
type PaymentTerm as PaymentTerm,
|
|
2152
|
-
type ProductionOutput as ProductionOutput,
|
|
2153
|
-
type ProductionStep as ProductionStep,
|
|
2154
1510
|
type QuantityInput as QuantityInput,
|
|
2155
|
-
type ScanningStation as ScanningStation,
|
|
2156
1511
|
type ServiceLevel as ServiceLevel,
|
|
2157
1512
|
type ShippingTerm as ShippingTerm,
|
|
2158
1513
|
type UpdateCustomerRequest as UpdateCustomerRequest,
|
|
2159
|
-
type User as User,
|
|
2160
1514
|
type CustomerDeleteResponse as CustomerDeleteResponse,
|
|
2161
1515
|
type CustomerListParams as CustomerListParams,
|
|
2162
1516
|
type CustomerRetrieveParams as CustomerRetrieveParams,
|