@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,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as BlocksAPI from "../../messaging/blocks.js";
|
|
2
3
|
import * as AccountGroupsAPI from "../account-groups.js";
|
|
3
4
|
import * as AddressesAPI from "../addresses.js";
|
|
4
5
|
import * as PrioritiesAPI from "../priorities.js";
|
|
@@ -16,6 +17,8 @@ export declare class Customers extends APIResource {
|
|
|
16
17
|
/**
|
|
17
18
|
* Returns a paginated list of customers for the current account.
|
|
18
19
|
*
|
|
20
|
+
* This endpoint requires the permission: `customers:read`.
|
|
21
|
+
*
|
|
19
22
|
* @example
|
|
20
23
|
* ```ts
|
|
21
24
|
* const listCustomer = await client.sales.customers.list();
|
|
@@ -25,6 +28,8 @@ export declare class Customers extends APIResource {
|
|
|
25
28
|
/**
|
|
26
29
|
* Returns a customer by ID.
|
|
27
30
|
*
|
|
31
|
+
* This endpoint requires the permissions: `customers:read`, `suppliers:read`.
|
|
32
|
+
*
|
|
28
33
|
* @example
|
|
29
34
|
* ```ts
|
|
30
35
|
* const customer = await client.sales.customers.retrieve(
|
|
@@ -40,6 +45,8 @@ export declare class Customers extends APIResource {
|
|
|
40
45
|
* If `number` is omitted, the next sequential customer number is assigned
|
|
41
46
|
* automatically.
|
|
42
47
|
*
|
|
48
|
+
* This endpoint requires the permission: `customers:create`.
|
|
49
|
+
*
|
|
43
50
|
* @example
|
|
44
51
|
* ```ts
|
|
45
52
|
* const customer = await client.sales.customers.create({
|
|
@@ -53,10 +60,8 @@ export declare class Customers extends APIResource {
|
|
|
53
60
|
* },
|
|
54
61
|
* customer_type_group_id: 'acgp_018e88072d1320808dc979cfac',
|
|
55
62
|
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
56
|
-
* default_payment_term_id:
|
|
57
|
-
*
|
|
58
|
-
* default_shipping_term_id:
|
|
59
|
-
* 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
63
|
+
* default_payment_term_id: 'pytm_018694d6601ea771cd1b52e890',
|
|
64
|
+
* default_shipping_term_id: 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
60
65
|
* name: 'Acme Inc.',
|
|
61
66
|
* ship_to_address: {
|
|
62
67
|
* name: 'Acme Inc.',
|
|
@@ -66,7 +71,22 @@ export declare class Customers extends APIResource {
|
|
|
66
71
|
* postal_code: '10001',
|
|
67
72
|
* country: 'US',
|
|
68
73
|
* },
|
|
74
|
+
* carrier_billing_account: '123456789',
|
|
75
|
+
* carrier_billing_type: 'sender',
|
|
76
|
+
* commission_policy: 'commission_applied',
|
|
77
|
+
* credit_limit: { value: '10000.00', unit_id: 'un_01966263f74a5a0cae356000a1' },
|
|
78
|
+
* customer_price_group_ids: ['acgp_018e88072d1320808dc979cfac'],
|
|
79
|
+
* default_priority: 'normal',
|
|
80
|
+
* default_sales_rep_id: 'acus_01ea9983ddb41dacc44ecf997c',
|
|
81
|
+
* default_service_level_id: 'crop_01cfaf03f104e90ef9680e2a30',
|
|
82
|
+
* edi_status: 'disabled',
|
|
83
|
+
* email: 'orders@acme.com',
|
|
84
|
+
* freight_policy: 'billed_freight',
|
|
69
85
|
* note: 'Key enterprise account',
|
|
86
|
+
* number: '100042',
|
|
87
|
+
* phone: '555-123-4567',
|
|
88
|
+
* status: 'normal',
|
|
89
|
+
* url: 'https://acme.com',
|
|
70
90
|
* });
|
|
71
91
|
* ```
|
|
72
92
|
*/
|
|
@@ -77,17 +97,35 @@ export declare class Customers extends APIResource {
|
|
|
77
97
|
* Only the fields provided in the request are changed. Nullable fields can be set
|
|
78
98
|
* to `null` to clear their current value.
|
|
79
99
|
*
|
|
100
|
+
* This endpoint requires the permission: `customers:update`.
|
|
101
|
+
*
|
|
80
102
|
* @example
|
|
81
103
|
* ```ts
|
|
82
|
-
* const customer = await client.sales.customers.update(
|
|
83
|
-
* '
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
104
|
+
* const customer = await client.sales.customers.update('ac_0170df1ac58e4d24c66fc89f5f', {
|
|
105
|
+
* bill_to_address_id: 'ad_012c2e4aeeb20f56c1a3d06cc7',
|
|
106
|
+
* carrier_billing_account: '123456789',
|
|
107
|
+
* carrier_billing_type: 'sender',
|
|
108
|
+
* commission_policy: 'commission_applied',
|
|
109
|
+
* credit_limit: { value: '10000.00', unit_id: 'un_01966263f74a5a0cae356000a1' },
|
|
110
|
+
* customer_price_group_ids: ['acgp_018e88072d1320808dc979cfac'],
|
|
111
|
+
* customer_type_group_id: 'acgp_018e88072d1320808dc979cfac',
|
|
112
|
+
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
113
|
+
* default_payment_term_id: 'pytm_018694d6601ea771cd1b52e890',
|
|
114
|
+
* default_priority: 'normal',
|
|
115
|
+
* default_sales_rep_id: 'acus_01ea9983ddb41dacc44ecf997c',
|
|
116
|
+
* default_service_level_id: 'crop_01cfaf03f104e90ef9680e2a30',
|
|
117
|
+
* default_shipping_term_id: 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
118
|
+
* edi_status: 'disabled',
|
|
119
|
+
* email: 'orders@acme.com',
|
|
120
|
+
* freight_policy: 'billed_freight',
|
|
121
|
+
* name: 'Acme Corp Updated',
|
|
122
|
+
* note: 'Updated account notes',
|
|
123
|
+
* number: '100042',
|
|
124
|
+
* phone: '555-123-4567',
|
|
125
|
+
* ship_to_address_id: 'ad_012c2e4aeeb20f56c1a3d06cc7',
|
|
126
|
+
* status: 'normal',
|
|
127
|
+
* url: 'https://acme.com',
|
|
128
|
+
* });
|
|
91
129
|
* ```
|
|
92
130
|
*/
|
|
93
131
|
update(id: string, params?: CustomerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
|
|
@@ -97,6 +135,8 @@ export declare class Customers extends APIResource {
|
|
|
97
135
|
* Fails with a conflict error if any sales orders still reference the customer;
|
|
98
136
|
* delete or reassign those orders, or merge the customer into another first.
|
|
99
137
|
*
|
|
138
|
+
* This endpoint requires the permission: `customers:delete`.
|
|
139
|
+
*
|
|
100
140
|
* @example
|
|
101
141
|
* ```ts
|
|
102
142
|
* const customer = await client.sales.customers.delete(
|
|
@@ -106,60 +146,6 @@ export declare class Customers extends APIResource {
|
|
|
106
146
|
*/
|
|
107
147
|
delete(id: string, options?: RequestOptions): APIPromise<CustomerDeleteResponse>;
|
|
108
148
|
}
|
|
109
|
-
/**
|
|
110
|
-
* A user's membership in an account, carrying the account-specific status, role,
|
|
111
|
-
* and department.
|
|
112
|
-
*
|
|
113
|
-
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
114
|
-
* sub-resource, which is shared across every account the user belongs to.
|
|
115
|
-
*/
|
|
116
|
-
export interface AccountUser {
|
|
117
|
-
/**
|
|
118
|
-
* Account user ID.
|
|
119
|
-
*/
|
|
120
|
-
id: string;
|
|
121
|
-
/**
|
|
122
|
-
* When the account user was created.
|
|
123
|
-
*/
|
|
124
|
-
created_at: string;
|
|
125
|
-
/**
|
|
126
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
127
|
-
* that groups scanning stations and machines.
|
|
128
|
-
*/
|
|
129
|
-
department: Department | null;
|
|
130
|
-
/**
|
|
131
|
-
* When the user last accessed this account.
|
|
132
|
-
*/
|
|
133
|
-
last_used_at: string | null;
|
|
134
|
-
/**
|
|
135
|
-
* Resource type identifier.
|
|
136
|
-
*/
|
|
137
|
-
object: 'account_user';
|
|
138
|
-
/**
|
|
139
|
-
* A named set of permissions that can be assigned to users to control what they
|
|
140
|
-
* can access.
|
|
141
|
-
*/
|
|
142
|
-
role: APIKeysAPI.Role | null;
|
|
143
|
-
/**
|
|
144
|
-
* Account user status.
|
|
145
|
-
*
|
|
146
|
-
* - `active`: the user can access the account.
|
|
147
|
-
* - `disabled`: the user is locked out of the account.
|
|
148
|
-
* - `removed`: the user has been removed (soft-deleted) from the account.
|
|
149
|
-
*/
|
|
150
|
-
status: 'active' | 'disabled' | 'removed';
|
|
151
|
-
/**
|
|
152
|
-
* When the account user was last updated.
|
|
153
|
-
*/
|
|
154
|
-
updated_at: string;
|
|
155
|
-
/**
|
|
156
|
-
* A user's global profile, shared across every account they belong to.
|
|
157
|
-
*
|
|
158
|
-
* Account-specific settings (status, role, department) live on the account user
|
|
159
|
-
* resource that links the user to each account.
|
|
160
|
-
*/
|
|
161
|
-
user: User | null;
|
|
162
|
-
}
|
|
163
149
|
/**
|
|
164
150
|
* A shipping carrier configured for fulfilling orders.
|
|
165
151
|
*
|
|
@@ -222,47 +208,6 @@ export interface Carrier {
|
|
|
222
208
|
*/
|
|
223
209
|
updated_at: string;
|
|
224
210
|
}
|
|
225
|
-
/**
|
|
226
|
-
* Material consumed by a production step.
|
|
227
|
-
*
|
|
228
|
-
* Each consumption records one input item and how much of it the step uses.
|
|
229
|
-
* Consumptions also determine the production flow: when another step produces the
|
|
230
|
-
* consumed item, the two steps are linked upstream/downstream automatically.
|
|
231
|
-
*/
|
|
232
|
-
export interface Consumption {
|
|
233
|
-
/**
|
|
234
|
-
* Consumption ID.
|
|
235
|
-
*/
|
|
236
|
-
id: string;
|
|
237
|
-
/**
|
|
238
|
-
* Item is an inventory item (product, material, or part).
|
|
239
|
-
*/
|
|
240
|
-
consumed_item: ItemsAPI.Item | null;
|
|
241
|
-
/**
|
|
242
|
-
* Creation timestamp.
|
|
243
|
-
*/
|
|
244
|
-
created_at: string;
|
|
245
|
-
/**
|
|
246
|
-
* Instructions for how this material is consumed.
|
|
247
|
-
*/
|
|
248
|
-
instructions: string | null;
|
|
249
|
-
/**
|
|
250
|
-
* Resource type identifier.
|
|
251
|
-
*/
|
|
252
|
-
object: 'consumption';
|
|
253
|
-
/**
|
|
254
|
-
* Value with an associated unit.
|
|
255
|
-
*/
|
|
256
|
-
quantity: ItemsAPI.Quantity | null;
|
|
257
|
-
/**
|
|
258
|
-
* Last updated timestamp.
|
|
259
|
-
*/
|
|
260
|
-
updated_at: string;
|
|
261
|
-
/**
|
|
262
|
-
* Value with an associated unit.
|
|
263
|
-
*/
|
|
264
|
-
waste_quantity: ItemsAPI.Quantity | null;
|
|
265
|
-
}
|
|
266
211
|
/**
|
|
267
212
|
* Request to create a customer.
|
|
268
213
|
*/
|
|
@@ -544,7 +489,7 @@ export interface CustomerDefaults {
|
|
|
544
489
|
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
545
490
|
* sub-resource, which is shared across every account the user belongs to.
|
|
546
491
|
*/
|
|
547
|
-
sales_rep: AccountUser | null;
|
|
492
|
+
sales_rep: BlocksAPI.AccountUser | null;
|
|
548
493
|
/**
|
|
549
494
|
* A shipping term defining how freight charges are calculated for an order.
|
|
550
495
|
*/
|
|
@@ -603,68 +548,6 @@ export interface CustomerNotificationPreferences {
|
|
|
603
548
|
*/
|
|
604
549
|
object: 'customer_notification_preferences';
|
|
605
550
|
}
|
|
606
|
-
/**
|
|
607
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
608
|
-
* that groups scanning stations and machines.
|
|
609
|
-
*/
|
|
610
|
-
export interface Department {
|
|
611
|
-
/**
|
|
612
|
-
* Department ID.
|
|
613
|
-
*/
|
|
614
|
-
id: string;
|
|
615
|
-
/**
|
|
616
|
-
* Creation timestamp.
|
|
617
|
-
*/
|
|
618
|
-
created_at: string;
|
|
619
|
-
/**
|
|
620
|
-
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
621
|
-
* parent-child hierarchy.
|
|
622
|
-
*/
|
|
623
|
-
location: Location | null;
|
|
624
|
-
/**
|
|
625
|
-
* List represents a paginated list of resources.
|
|
626
|
-
*/
|
|
627
|
-
machines: ListMachine | null;
|
|
628
|
-
/**
|
|
629
|
-
* Display name of the department.
|
|
630
|
-
*
|
|
631
|
-
* Unique within the account.
|
|
632
|
-
*/
|
|
633
|
-
name: string;
|
|
634
|
-
/**
|
|
635
|
-
* Free-form notes about the department.
|
|
636
|
-
*/
|
|
637
|
-
notes: string | null;
|
|
638
|
-
/**
|
|
639
|
-
* Resource type identifier.
|
|
640
|
-
*/
|
|
641
|
-
object: 'department';
|
|
642
|
-
/**
|
|
643
|
-
* List represents a paginated list of resources.
|
|
644
|
-
*/
|
|
645
|
-
scanning_stations: ListScanningStation | null;
|
|
646
|
-
/**
|
|
647
|
-
* Last update timestamp.
|
|
648
|
-
*/
|
|
649
|
-
updated_at: string;
|
|
650
|
-
}
|
|
651
|
-
/**
|
|
652
|
-
* List represents a paginated list of resources.
|
|
653
|
-
*/
|
|
654
|
-
export interface ListConsumption {
|
|
655
|
-
/**
|
|
656
|
-
* Resources in this page.
|
|
657
|
-
*/
|
|
658
|
-
data: Array<Consumption>;
|
|
659
|
-
/**
|
|
660
|
-
* Resource type identifier.
|
|
661
|
-
*/
|
|
662
|
-
object: 'list';
|
|
663
|
-
/**
|
|
664
|
-
* PageInfo contains URL-based pagination metadata.
|
|
665
|
-
*/
|
|
666
|
-
page_info: APIKeysAPI.PageInfo;
|
|
667
|
-
}
|
|
668
551
|
/**
|
|
669
552
|
* List represents a paginated list of resources.
|
|
670
553
|
*/
|
|
@@ -682,74 +565,6 @@ export interface ListCustomer {
|
|
|
682
565
|
*/
|
|
683
566
|
page_info: APIKeysAPI.PageInfo;
|
|
684
567
|
}
|
|
685
|
-
/**
|
|
686
|
-
* List represents a paginated list of resources.
|
|
687
|
-
*/
|
|
688
|
-
export interface ListLocation {
|
|
689
|
-
/**
|
|
690
|
-
* Resources in this page.
|
|
691
|
-
*/
|
|
692
|
-
data: Array<Location>;
|
|
693
|
-
/**
|
|
694
|
-
* Resource type identifier.
|
|
695
|
-
*/
|
|
696
|
-
object: 'list';
|
|
697
|
-
/**
|
|
698
|
-
* PageInfo contains URL-based pagination metadata.
|
|
699
|
-
*/
|
|
700
|
-
page_info: APIKeysAPI.PageInfo;
|
|
701
|
-
}
|
|
702
|
-
/**
|
|
703
|
-
* List represents a paginated list of resources.
|
|
704
|
-
*/
|
|
705
|
-
export interface ListMachine {
|
|
706
|
-
/**
|
|
707
|
-
* Resources in this page.
|
|
708
|
-
*/
|
|
709
|
-
data: Array<Machine>;
|
|
710
|
-
/**
|
|
711
|
-
* Resource type identifier.
|
|
712
|
-
*/
|
|
713
|
-
object: 'list';
|
|
714
|
-
/**
|
|
715
|
-
* PageInfo contains URL-based pagination metadata.
|
|
716
|
-
*/
|
|
717
|
-
page_info: APIKeysAPI.PageInfo;
|
|
718
|
-
}
|
|
719
|
-
/**
|
|
720
|
-
* List represents a paginated list of resources.
|
|
721
|
-
*/
|
|
722
|
-
export interface ListProductionStep {
|
|
723
|
-
/**
|
|
724
|
-
* Resources in this page.
|
|
725
|
-
*/
|
|
726
|
-
data: Array<ProductionStep>;
|
|
727
|
-
/**
|
|
728
|
-
* Resource type identifier.
|
|
729
|
-
*/
|
|
730
|
-
object: 'list';
|
|
731
|
-
/**
|
|
732
|
-
* PageInfo contains URL-based pagination metadata.
|
|
733
|
-
*/
|
|
734
|
-
page_info: APIKeysAPI.PageInfo;
|
|
735
|
-
}
|
|
736
|
-
/**
|
|
737
|
-
* List represents a paginated list of resources.
|
|
738
|
-
*/
|
|
739
|
-
export interface ListScanningStation {
|
|
740
|
-
/**
|
|
741
|
-
* Resources in this page.
|
|
742
|
-
*/
|
|
743
|
-
data: Array<ScanningStation>;
|
|
744
|
-
/**
|
|
745
|
-
* Resource type identifier.
|
|
746
|
-
*/
|
|
747
|
-
object: 'list';
|
|
748
|
-
/**
|
|
749
|
-
* PageInfo contains URL-based pagination metadata.
|
|
750
|
-
*/
|
|
751
|
-
page_info: APIKeysAPI.PageInfo;
|
|
752
|
-
}
|
|
753
568
|
/**
|
|
754
569
|
* List represents a paginated list of resources.
|
|
755
570
|
*/
|
|
@@ -767,94 +582,6 @@ export interface ListServiceLevel {
|
|
|
767
582
|
*/
|
|
768
583
|
page_info: APIKeysAPI.PageInfo;
|
|
769
584
|
}
|
|
770
|
-
/**
|
|
771
|
-
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
772
|
-
* parent-child hierarchy.
|
|
773
|
-
*/
|
|
774
|
-
export interface Location {
|
|
775
|
-
/**
|
|
776
|
-
* Location ID.
|
|
777
|
-
*/
|
|
778
|
-
id: string;
|
|
779
|
-
/**
|
|
780
|
-
* List represents a paginated list of resources.
|
|
781
|
-
*/
|
|
782
|
-
children: ListLocation | null;
|
|
783
|
-
/**
|
|
784
|
-
* Creation timestamp.
|
|
785
|
-
*/
|
|
786
|
-
created_at: string;
|
|
787
|
-
/**
|
|
788
|
-
* Display name of the location.
|
|
789
|
-
*/
|
|
790
|
-
name: string;
|
|
791
|
-
/**
|
|
792
|
-
* Resource type identifier.
|
|
793
|
-
*/
|
|
794
|
-
object: 'location';
|
|
795
|
-
/**
|
|
796
|
-
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
797
|
-
* parent-child hierarchy.
|
|
798
|
-
*/
|
|
799
|
-
parent: Location | null;
|
|
800
|
-
/**
|
|
801
|
-
* Location type code, identifying this location's level in the storage hierarchy.
|
|
802
|
-
*
|
|
803
|
-
* - `building`: a building-level location.
|
|
804
|
-
* - `section`: a section within a building.
|
|
805
|
-
* - `aisle`: an aisle within a section.
|
|
806
|
-
* - `rack`: a rack within an aisle.
|
|
807
|
-
* - `shelf`: a shelf within a rack.
|
|
808
|
-
* - `bin`: a bin within a shelf.
|
|
809
|
-
*/
|
|
810
|
-
type: LocationTypeCode;
|
|
811
|
-
/**
|
|
812
|
-
* Last-updated timestamp.
|
|
813
|
-
*/
|
|
814
|
-
updated_at: string;
|
|
815
|
-
}
|
|
816
|
-
export type LocationTypeCode = 'building' | 'section' | 'aisle' | 'rack' | 'shelf' | 'bin';
|
|
817
|
-
/**
|
|
818
|
-
* A piece of production equipment, such as a CNC router or press, assigned to a
|
|
819
|
-
* department.
|
|
820
|
-
*/
|
|
821
|
-
export interface Machine {
|
|
822
|
-
/**
|
|
823
|
-
* Machine ID.
|
|
824
|
-
*/
|
|
825
|
-
id: string;
|
|
826
|
-
/**
|
|
827
|
-
* Creation timestamp.
|
|
828
|
-
*/
|
|
829
|
-
created_at: string;
|
|
830
|
-
/**
|
|
831
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
832
|
-
* that groups scanning stations and machines.
|
|
833
|
-
*/
|
|
834
|
-
department: Department | null;
|
|
835
|
-
/**
|
|
836
|
-
* Display name of the machine.
|
|
837
|
-
*
|
|
838
|
-
* Unique within the account.
|
|
839
|
-
*/
|
|
840
|
-
name: string;
|
|
841
|
-
/**
|
|
842
|
-
* Free-form notes about the machine.
|
|
843
|
-
*/
|
|
844
|
-
notes: string | null;
|
|
845
|
-
/**
|
|
846
|
-
* Resource type identifier.
|
|
847
|
-
*/
|
|
848
|
-
object: 'machine';
|
|
849
|
-
/**
|
|
850
|
-
* Serial number of the machine.
|
|
851
|
-
*/
|
|
852
|
-
serial_number: string;
|
|
853
|
-
/**
|
|
854
|
-
* Last updated timestamp.
|
|
855
|
-
*/
|
|
856
|
-
updated_at: string;
|
|
857
|
-
}
|
|
858
585
|
/**
|
|
859
586
|
* A payment term describing when payment is due (e.g. `Net 30`), assignable to
|
|
860
587
|
* customers, sales orders, purchase orders, and invoices.
|
|
@@ -889,126 +616,6 @@ export interface PaymentTerm {
|
|
|
889
616
|
*/
|
|
890
617
|
updated_at: string;
|
|
891
618
|
}
|
|
892
|
-
/**
|
|
893
|
-
* The output of a production step: the item it produces and the quantity produced.
|
|
894
|
-
*/
|
|
895
|
-
export interface ProductionOutput {
|
|
896
|
-
/**
|
|
897
|
-
* Production ID.
|
|
898
|
-
*/
|
|
899
|
-
id: string;
|
|
900
|
-
/**
|
|
901
|
-
* Creation timestamp.
|
|
902
|
-
*/
|
|
903
|
-
created_at: string;
|
|
904
|
-
/**
|
|
905
|
-
* Resource type identifier.
|
|
906
|
-
*/
|
|
907
|
-
object: 'production';
|
|
908
|
-
/**
|
|
909
|
-
* Item is an inventory item (product, material, or part).
|
|
910
|
-
*/
|
|
911
|
-
produced_item: ItemsAPI.Item | null;
|
|
912
|
-
/**
|
|
913
|
-
* Value with an associated unit.
|
|
914
|
-
*/
|
|
915
|
-
quantity: ItemsAPI.Quantity | null;
|
|
916
|
-
/**
|
|
917
|
-
* Last updated timestamp.
|
|
918
|
-
*/
|
|
919
|
-
updated_at: string;
|
|
920
|
-
}
|
|
921
|
-
/**
|
|
922
|
-
* A single stage of work in an item's production flow, with its output, material
|
|
923
|
-
* inputs, cost rates, and graph connections.
|
|
924
|
-
*/
|
|
925
|
-
export interface ProductionStep {
|
|
926
|
-
/**
|
|
927
|
-
* Production step ID.
|
|
928
|
-
*/
|
|
929
|
-
id: string;
|
|
930
|
-
/**
|
|
931
|
-
* Allowance correction factor applied to labor time in cost calculations, as a
|
|
932
|
-
* decimal string.
|
|
933
|
-
*
|
|
934
|
-
* Effective labor time per unit is
|
|
935
|
-
* `labor_time × (1 + leveling_factor) × (1 + allowances)`.
|
|
936
|
-
*/
|
|
937
|
-
allowances: string;
|
|
938
|
-
/**
|
|
939
|
-
* List represents a paginated list of resources.
|
|
940
|
-
*/
|
|
941
|
-
consumptions: ListConsumption | null;
|
|
942
|
-
/**
|
|
943
|
-
* Creation timestamp.
|
|
944
|
-
*/
|
|
945
|
-
created_at: string;
|
|
946
|
-
/**
|
|
947
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
948
|
-
* that groups scanning stations and machines.
|
|
949
|
-
*/
|
|
950
|
-
department: Department | null;
|
|
951
|
-
/**
|
|
952
|
-
* List represents a paginated list of resources.
|
|
953
|
-
*/
|
|
954
|
-
in_steps: ListProductionStep | null;
|
|
955
|
-
/**
|
|
956
|
-
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
957
|
-
* throughput per hour.
|
|
958
|
-
*/
|
|
959
|
-
labor_rate: ItemsAPI.Rate | null;
|
|
960
|
-
/**
|
|
961
|
-
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
962
|
-
* throughput per hour.
|
|
963
|
-
*/
|
|
964
|
-
labor_time: ItemsAPI.Rate | null;
|
|
965
|
-
/**
|
|
966
|
-
* Leveling correction factor applied to labor time in cost calculations, as a
|
|
967
|
-
* decimal string.
|
|
968
|
-
*
|
|
969
|
-
* Effective labor time per unit is
|
|
970
|
-
* `labor_time × (1 + leveling_factor) × (1 + allowances)`.
|
|
971
|
-
*/
|
|
972
|
-
leveling_factor: string;
|
|
973
|
-
/**
|
|
974
|
-
* List represents a paginated list of resources.
|
|
975
|
-
*/
|
|
976
|
-
machines: ListMachine | null;
|
|
977
|
-
/**
|
|
978
|
-
* Display name of the step.
|
|
979
|
-
*/
|
|
980
|
-
name: string;
|
|
981
|
-
/**
|
|
982
|
-
* Free-form notes about the step.
|
|
983
|
-
*/
|
|
984
|
-
notes: string | null;
|
|
985
|
-
/**
|
|
986
|
-
* Resource type identifier.
|
|
987
|
-
*/
|
|
988
|
-
object: 'production_step';
|
|
989
|
-
/**
|
|
990
|
-
* List represents a paginated list of resources.
|
|
991
|
-
*/
|
|
992
|
-
out_steps: ListProductionStep | null;
|
|
993
|
-
/**
|
|
994
|
-
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
995
|
-
* throughput per hour.
|
|
996
|
-
*/
|
|
997
|
-
overhead_rate: ItemsAPI.Rate | null;
|
|
998
|
-
/**
|
|
999
|
-
* The output of a production step: the item it produces and the quantity produced.
|
|
1000
|
-
*/
|
|
1001
|
-
production: ProductionOutput | null;
|
|
1002
|
-
/**
|
|
1003
|
-
* A station on the production floor where operators scan batches to perform a
|
|
1004
|
-
* batch operation, such as initializing or moving a batch.
|
|
1005
|
-
*/
|
|
1006
|
-
scanning_station: ScanningStation | null;
|
|
1007
|
-
/**
|
|
1008
|
-
* Last updated timestamp.
|
|
1009
|
-
*/
|
|
1010
|
-
updated_at: string;
|
|
1011
|
-
}
|
|
1012
619
|
/**
|
|
1013
620
|
* A value with an associated unit, used in create and update requests.
|
|
1014
621
|
*/
|
|
@@ -1022,76 +629,6 @@ export interface QuantityInput {
|
|
|
1022
629
|
*/
|
|
1023
630
|
value: string;
|
|
1024
631
|
}
|
|
1025
|
-
/**
|
|
1026
|
-
* A station on the production floor where operators scan batches to perform a
|
|
1027
|
-
* batch operation, such as initializing or moving a batch.
|
|
1028
|
-
*/
|
|
1029
|
-
export interface ScanningStation {
|
|
1030
|
-
/**
|
|
1031
|
-
* Scanning station ID.
|
|
1032
|
-
*/
|
|
1033
|
-
id: string;
|
|
1034
|
-
/**
|
|
1035
|
-
* Creation timestamp.
|
|
1036
|
-
*/
|
|
1037
|
-
created_at: string;
|
|
1038
|
-
/**
|
|
1039
|
-
* A functional area of a production operation, such as fabrication or packaging,
|
|
1040
|
-
* that groups scanning stations and machines.
|
|
1041
|
-
*/
|
|
1042
|
-
department: Department | null;
|
|
1043
|
-
/**
|
|
1044
|
-
* Size of the labels printed at this station, given as width-by-height (for
|
|
1045
|
-
* example, `1x1`).
|
|
1046
|
-
*/
|
|
1047
|
-
label_size: '1x1' | '1x3' | '1x4' | '2x4' | null;
|
|
1048
|
-
/**
|
|
1049
|
-
* Type of label printed at this station.
|
|
1050
|
-
*
|
|
1051
|
-
* - `tag`: a label attached to the physical product.
|
|
1052
|
-
* - `traveler`: a routing sheet that accompanies the batch through every
|
|
1053
|
-
* production step.
|
|
1054
|
-
*/
|
|
1055
|
-
label_type: 'tag' | 'traveler' | null;
|
|
1056
|
-
/**
|
|
1057
|
-
* Display name of the scanning station.
|
|
1058
|
-
*
|
|
1059
|
-
* Unique within the account.
|
|
1060
|
-
*/
|
|
1061
|
-
name: string;
|
|
1062
|
-
/**
|
|
1063
|
-
* Free-form notes about the scanning station.
|
|
1064
|
-
*/
|
|
1065
|
-
notes: string | null;
|
|
1066
|
-
/**
|
|
1067
|
-
* Resource type identifier.
|
|
1068
|
-
*/
|
|
1069
|
-
object: 'scanning_station';
|
|
1070
|
-
/**
|
|
1071
|
-
* Whether operators must perform a material check at this station.
|
|
1072
|
-
*
|
|
1073
|
-
* - `none`: no additional operator check is required.
|
|
1074
|
-
* - `material_check`: a material check is expected before the operation.
|
|
1075
|
-
*/
|
|
1076
|
-
operator_requirement: 'none' | 'material_check';
|
|
1077
|
-
/**
|
|
1078
|
-
* List represents a paginated list of resources.
|
|
1079
|
-
*/
|
|
1080
|
-
production_steps: ListProductionStep | null;
|
|
1081
|
-
/**
|
|
1082
|
-
* Scanning station type, determining which batch operation the station performs.
|
|
1083
|
-
*
|
|
1084
|
-
* - `init_batch`: initializes a new batch.
|
|
1085
|
-
* - `merge_batch`: merges multiple batches into one.
|
|
1086
|
-
* - `move_batch`: moves a batch to another location or step.
|
|
1087
|
-
* - `split_batch`: splits a batch into multiple batches.
|
|
1088
|
-
*/
|
|
1089
|
-
type: 'init_batch' | 'merge_batch' | 'move_batch' | 'split_batch';
|
|
1090
|
-
/**
|
|
1091
|
-
* Last updated timestamp.
|
|
1092
|
-
*/
|
|
1093
|
-
updated_at: string;
|
|
1094
|
-
}
|
|
1095
632
|
/**
|
|
1096
633
|
* Shipping service level for a carrier.
|
|
1097
634
|
*/
|
|
@@ -1316,50 +853,6 @@ export interface UpdateCustomerRequest {
|
|
|
1316
853
|
*/
|
|
1317
854
|
url?: string | null;
|
|
1318
855
|
}
|
|
1319
|
-
/**
|
|
1320
|
-
* A user's global profile, shared across every account they belong to.
|
|
1321
|
-
*
|
|
1322
|
-
* Account-specific settings (status, role, department) live on the account user
|
|
1323
|
-
* resource that links the user to each account.
|
|
1324
|
-
*/
|
|
1325
|
-
export interface User {
|
|
1326
|
-
/**
|
|
1327
|
-
* User ID.
|
|
1328
|
-
*/
|
|
1329
|
-
id: string;
|
|
1330
|
-
/**
|
|
1331
|
-
* Creation timestamp.
|
|
1332
|
-
*/
|
|
1333
|
-
created_at: string;
|
|
1334
|
-
/**
|
|
1335
|
-
* Email address.
|
|
1336
|
-
*/
|
|
1337
|
-
email: string | null;
|
|
1338
|
-
/**
|
|
1339
|
-
* When the user verified their email address.
|
|
1340
|
-
*/
|
|
1341
|
-
email_verified_at: string | null;
|
|
1342
|
-
/**
|
|
1343
|
-
* URL of the user's profile image.
|
|
1344
|
-
*/
|
|
1345
|
-
image_url: string | null;
|
|
1346
|
-
/**
|
|
1347
|
-
* User's full display name.
|
|
1348
|
-
*/
|
|
1349
|
-
name: string | null;
|
|
1350
|
-
/**
|
|
1351
|
-
* Resource type identifier.
|
|
1352
|
-
*/
|
|
1353
|
-
object: 'user';
|
|
1354
|
-
/**
|
|
1355
|
-
* Last updated timestamp.
|
|
1356
|
-
*/
|
|
1357
|
-
updated_at: string;
|
|
1358
|
-
/**
|
|
1359
|
-
* Username.
|
|
1360
|
-
*/
|
|
1361
|
-
username: string | null;
|
|
1362
|
-
}
|
|
1363
856
|
export interface CustomerDeleteResponse {
|
|
1364
857
|
}
|
|
1365
858
|
export interface CustomerListParams {
|
|
@@ -1403,7 +896,7 @@ export interface CustomerListParams {
|
|
|
1403
896
|
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
1404
897
|
* `null`.
|
|
1405
898
|
*/
|
|
1406
|
-
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
899
|
+
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.carrier.service_levels' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit' | 'credit_limit.unit'>;
|
|
1407
900
|
/**
|
|
1408
901
|
* Maximum number of results to return in a single page.
|
|
1409
902
|
*/
|
|
@@ -1460,7 +953,7 @@ export interface CustomerRetrieveParams {
|
|
|
1460
953
|
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
1461
954
|
* `null`.
|
|
1462
955
|
*/
|
|
1463
|
-
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
956
|
+
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.carrier.service_levels' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit' | 'credit_limit.unit'>;
|
|
1464
957
|
}
|
|
1465
958
|
export interface CustomerCreateParams {
|
|
1466
959
|
/**
|
|
@@ -1499,7 +992,7 @@ export interface CustomerCreateParams {
|
|
|
1499
992
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
1500
993
|
* are returned as `null`.
|
|
1501
994
|
*/
|
|
1502
|
-
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
995
|
+
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.carrier.service_levels' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit' | 'credit_limit.unit'>;
|
|
1503
996
|
/**
|
|
1504
997
|
* Body param: Carrier billing account number charged when `carrier_billing_type`
|
|
1505
998
|
* is `third_party`.
|
|
@@ -1593,7 +1086,7 @@ export interface CustomerUpdateParams {
|
|
|
1593
1086
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
1594
1087
|
* are returned as `null`.
|
|
1595
1088
|
*/
|
|
1596
|
-
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
1089
|
+
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.carrier.service_levels' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit' | 'credit_limit.unit'>;
|
|
1597
1090
|
/**
|
|
1598
1091
|
* Body param: ID of an existing address to use as the default billing address.
|
|
1599
1092
|
*/
|
|
@@ -1714,7 +1207,7 @@ export interface CustomerUpdateParams {
|
|
|
1714
1207
|
url?: string | null;
|
|
1715
1208
|
}
|
|
1716
1209
|
export declare namespace Customers {
|
|
1717
|
-
export { type
|
|
1210
|
+
export { type Carrier as Carrier, type CreateCustomerRequest as CreateCustomerRequest, type Customer as Customer, type CustomerContactInfo as CustomerContactInfo, type CustomerDefaults as CustomerDefaults, type CustomerFreightPreferences as CustomerFreightPreferences, type CustomerNotificationPreferences as CustomerNotificationPreferences, type ListCustomer as ListCustomer, type ListServiceLevel as ListServiceLevel, type PaymentTerm as PaymentTerm, type QuantityInput as QuantityInput, type ServiceLevel as ServiceLevel, type ShippingTerm as ShippingTerm, type UpdateCustomerRequest as UpdateCustomerRequest, type CustomerDeleteResponse as CustomerDeleteResponse, type CustomerListParams as CustomerListParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, };
|
|
1718
1211
|
export { Actions as Actions, type MergeCustomersRequest as MergeCustomersRequest, type ActionMergeParams as ActionMergeParams, };
|
|
1719
1212
|
}
|
|
1720
1213
|
//# sourceMappingURL=customers.d.ts.map
|