@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
|
@@ -15,6 +15,8 @@ export class ShippingTerms extends APIResource {
|
|
|
15
15
|
* Returns a paginated list of shipping terms for the account, including default
|
|
16
16
|
* system shipping terms.
|
|
17
17
|
*
|
|
18
|
+
* This endpoint requires the permission: `shipping_terms:read`.
|
|
19
|
+
*
|
|
18
20
|
* @example
|
|
19
21
|
* ```ts
|
|
20
22
|
* const listShippingTerm =
|
|
@@ -31,6 +33,8 @@ export class ShippingTerms extends APIResource {
|
|
|
31
33
|
/**
|
|
32
34
|
* Returns a shipping term by ID.
|
|
33
35
|
*
|
|
36
|
+
* This endpoint requires the permission: `shipping_terms:read`.
|
|
37
|
+
*
|
|
34
38
|
* @example
|
|
35
39
|
* ```ts
|
|
36
40
|
* const shippingTerm =
|
|
@@ -50,12 +54,25 @@ export class ShippingTerms extends APIResource {
|
|
|
50
54
|
/**
|
|
51
55
|
* Creates an account-owned shipping term.
|
|
52
56
|
*
|
|
57
|
+
* This endpoint requires the permission: `shipping_terms:create`.
|
|
58
|
+
*
|
|
53
59
|
* @example
|
|
54
60
|
* ```ts
|
|
55
61
|
* const shippingTerm =
|
|
56
62
|
* await client.operations.shippingTerms.create({
|
|
57
63
|
* name: 'Prepaid',
|
|
58
|
-
* type: '
|
|
64
|
+
* type: 'flat_rate_freight',
|
|
65
|
+
* flat_rate: {
|
|
66
|
+
* value: '15.00',
|
|
67
|
+
* unit_id: 'un_01966263f74a5a0cae356000a1',
|
|
68
|
+
* },
|
|
69
|
+
* free_shipping_service_level_ids: [
|
|
70
|
+
* 'crop_01cfaf03f104e90ef9680e2a30',
|
|
71
|
+
* ],
|
|
72
|
+
* minimum_order_value: {
|
|
73
|
+
* value: '500.00',
|
|
74
|
+
* unit_id: 'un_01966263f74a5a0cae356000a1',
|
|
75
|
+
* },
|
|
59
76
|
* });
|
|
60
77
|
* ```
|
|
61
78
|
*/
|
|
@@ -69,12 +86,28 @@ export class ShippingTerms extends APIResource {
|
|
|
69
86
|
*
|
|
70
87
|
* System-provided default shipping terms cannot be updated.
|
|
71
88
|
*
|
|
89
|
+
* This endpoint requires the permission: `shipping_terms:update`.
|
|
90
|
+
*
|
|
72
91
|
* @example
|
|
73
92
|
* ```ts
|
|
74
93
|
* const shippingTerm =
|
|
75
94
|
* await client.operations.shippingTerms.update(
|
|
76
95
|
* 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
77
|
-
* {
|
|
96
|
+
* {
|
|
97
|
+
* flat_rate: {
|
|
98
|
+
* value: '15.00',
|
|
99
|
+
* unit_id: 'un_01966263f74a5a0cae356000a1',
|
|
100
|
+
* },
|
|
101
|
+
* free_shipping_service_level_ids: [
|
|
102
|
+
* 'crop_01cfaf03f104e90ef9680e2a30',
|
|
103
|
+
* ],
|
|
104
|
+
* minimum_order_value: {
|
|
105
|
+
* value: '500.00',
|
|
106
|
+
* unit_id: 'un_01966263f74a5a0cae356000a1',
|
|
107
|
+
* },
|
|
108
|
+
* name: 'Collect',
|
|
109
|
+
* type: 'flat_rate_freight',
|
|
110
|
+
* },
|
|
78
111
|
* );
|
|
79
112
|
* ```
|
|
80
113
|
*/
|
|
@@ -96,6 +129,8 @@ export class ShippingTerms extends APIResource {
|
|
|
96
129
|
*
|
|
97
130
|
* System-provided default shipping terms cannot be deleted.
|
|
98
131
|
*
|
|
132
|
+
* This endpoint requires the permission: `shipping_terms:delete`.
|
|
133
|
+
*
|
|
99
134
|
* @example
|
|
100
135
|
* ```ts
|
|
101
136
|
* const shippingTerm =
|
|
@@ -13,6 +13,8 @@ export class AccountGroups extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Returns a paginated list of account groups.
|
|
15
15
|
*
|
|
16
|
+
* This endpoint requires the permission: `customer_groups:read`.
|
|
17
|
+
*
|
|
16
18
|
* @example
|
|
17
19
|
* ```ts
|
|
18
20
|
* const listAccountGroup =
|
|
@@ -29,6 +31,8 @@ export class AccountGroups extends APIResource {
|
|
|
29
31
|
/**
|
|
30
32
|
* Returns an account group by ID.
|
|
31
33
|
*
|
|
34
|
+
* This endpoint requires the permission: `customer_groups:read`.
|
|
35
|
+
*
|
|
32
36
|
* @example
|
|
33
37
|
* ```ts
|
|
34
38
|
* const accountGroup =
|
|
@@ -46,12 +50,18 @@ export class AccountGroups extends APIResource {
|
|
|
46
50
|
*
|
|
47
51
|
* Returns a conflict error if an account group with the same name already exists.
|
|
48
52
|
*
|
|
53
|
+
* This endpoint requires the permission: `customer_groups:create`.
|
|
54
|
+
*
|
|
49
55
|
* @example
|
|
50
56
|
* ```ts
|
|
51
57
|
* const accountGroup =
|
|
52
58
|
* await client.sales.accountGroups.create({
|
|
53
59
|
* name: 'Wholesale Customers',
|
|
54
60
|
* type: 'type_group',
|
|
61
|
+
* commission_policy: 'commission_exempt',
|
|
62
|
+
* description:
|
|
63
|
+
* 'Customers who buy in bulk at wholesale pricing.',
|
|
64
|
+
* freight_policy: 'billed_freight',
|
|
55
65
|
* });
|
|
56
66
|
* ```
|
|
57
67
|
*/
|
|
@@ -65,12 +75,20 @@ export class AccountGroups extends APIResource {
|
|
|
65
75
|
* Only the provided fields are changed. The account group's `type` cannot be
|
|
66
76
|
* changed after creation.
|
|
67
77
|
*
|
|
78
|
+
* This endpoint requires the permission: `customer_groups:update`.
|
|
79
|
+
*
|
|
68
80
|
* @example
|
|
69
81
|
* ```ts
|
|
70
82
|
* const accountGroup =
|
|
71
83
|
* await client.sales.accountGroups.update(
|
|
72
84
|
* 'acgp_018e88072d1320808dc979cfac',
|
|
73
|
-
* {
|
|
85
|
+
* {
|
|
86
|
+
* commission_policy: 'commission_exempt',
|
|
87
|
+
* description:
|
|
88
|
+
* 'Customers who buy in bulk at wholesale pricing.',
|
|
89
|
+
* freight_policy: 'billed_freight',
|
|
90
|
+
* name: 'Updated Wholesale Customers',
|
|
91
|
+
* },
|
|
74
92
|
* );
|
|
75
93
|
* ```
|
|
76
94
|
*/
|
|
@@ -89,6 +107,8 @@ export class AccountGroups extends APIResource {
|
|
|
89
107
|
* for example by customer records, product line access, volume discounts, pricing
|
|
90
108
|
* assignments, or an active registration flow.
|
|
91
109
|
*
|
|
110
|
+
* This endpoint requires the permission: `customer_groups:delete`.
|
|
111
|
+
*
|
|
92
112
|
* @example
|
|
93
113
|
* ```ts
|
|
94
114
|
* const accountGroup =
|
|
@@ -13,6 +13,9 @@ export class Addresses extends APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Returns a paginated list of addresses.
|
|
15
15
|
*
|
|
16
|
+
* This endpoint requires the permissions: `addresses:read`, `customers:read`,
|
|
17
|
+
* `suppliers:read`.
|
|
18
|
+
*
|
|
16
19
|
* @example
|
|
17
20
|
* ```ts
|
|
18
21
|
* const listAddress = await client.sales.addresses.list();
|
|
@@ -25,6 +28,9 @@ export class Addresses extends APIResource {
|
|
|
25
28
|
/**
|
|
26
29
|
* Retrieves an address by ID.
|
|
27
30
|
*
|
|
31
|
+
* This endpoint requires the permissions: `addresses:read`, `customers:read`,
|
|
32
|
+
* `suppliers:read`.
|
|
33
|
+
*
|
|
28
34
|
* @example
|
|
29
35
|
* ```ts
|
|
30
36
|
* const address = await client.sales.addresses.retrieve(
|
|
@@ -39,15 +45,22 @@ export class Addresses extends APIResource {
|
|
|
39
45
|
/**
|
|
40
46
|
* Creates an address.
|
|
41
47
|
*
|
|
48
|
+
* This endpoint requires the permissions: `addresses:create`, `customers:update`,
|
|
49
|
+
* `suppliers:update`.
|
|
50
|
+
*
|
|
42
51
|
* @example
|
|
43
52
|
* ```ts
|
|
44
53
|
* const address = await client.sales.addresses.create({
|
|
45
54
|
* country: 'US',
|
|
46
55
|
* name: 'Headquarters',
|
|
56
|
+
* email: 'warehouse@acme.com',
|
|
47
57
|
* locality: 'Springfield',
|
|
58
|
+
* phone: '555-123-4567',
|
|
48
59
|
* postal_code: '62701',
|
|
49
60
|
* state: 'IL',
|
|
50
61
|
* street_line_1: '123 Main St',
|
|
62
|
+
* street_line_2: 'Suite 400',
|
|
63
|
+
* type: 'standard',
|
|
51
64
|
* });
|
|
52
65
|
* ```
|
|
53
66
|
*/
|
|
@@ -61,11 +74,25 @@ export class Addresses extends APIResource {
|
|
|
61
74
|
* Changing a street, locality, state, postal code, or country field may replace
|
|
62
75
|
* the address's geolocation, so the geolocation `id` in the response can change.
|
|
63
76
|
*
|
|
77
|
+
* This endpoint requires the permissions: `addresses:update`, `customers:update`,
|
|
78
|
+
* `suppliers:update`.
|
|
79
|
+
*
|
|
64
80
|
* @example
|
|
65
81
|
* ```ts
|
|
66
82
|
* const address = await client.sales.addresses.update(
|
|
67
83
|
* 'ad_012100950cfaa34aa0e0ad7258',
|
|
68
|
-
* {
|
|
84
|
+
* {
|
|
85
|
+
* country: 'US',
|
|
86
|
+
* email: 'warehouse@acme.com',
|
|
87
|
+
* locality: 'Springfield',
|
|
88
|
+
* name: 'Warehouse',
|
|
89
|
+
* phone: '555-123-4567',
|
|
90
|
+
* postal_code: '62701',
|
|
91
|
+
* state: 'IL',
|
|
92
|
+
* street_line_1: '123 Main St',
|
|
93
|
+
* street_line_2: 'Suite 400',
|
|
94
|
+
* type: 'standard',
|
|
95
|
+
* },
|
|
69
96
|
* );
|
|
70
97
|
* ```
|
|
71
98
|
*/
|
|
@@ -83,6 +110,9 @@ export class Addresses extends APIResource {
|
|
|
83
110
|
* Deletion fails if the address is in use as a billing or shipping address on a
|
|
84
111
|
* sales order, invoice, or shipment, or as a default account address.
|
|
85
112
|
*
|
|
113
|
+
* This endpoint requires the permissions: `addresses:delete`, `customers:update`,
|
|
114
|
+
* `suppliers:update`.
|
|
115
|
+
*
|
|
86
116
|
* @example
|
|
87
117
|
* ```ts
|
|
88
118
|
* const address = await client.sales.addresses.delete(
|
|
@@ -146,7 +176,7 @@ export interface AddressInput {
|
|
|
146
176
|
street_line_2?: string;
|
|
147
177
|
|
|
148
178
|
/**
|
|
149
|
-
*
|
|
179
|
+
* How the address is used.
|
|
150
180
|
*
|
|
151
181
|
* - `standard`: a normal shipping or billing address.
|
|
152
182
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -233,7 +263,7 @@ export interface UpdateAddressRequest {
|
|
|
233
263
|
street_line_2?: string | null;
|
|
234
264
|
|
|
235
265
|
/**
|
|
236
|
-
*
|
|
266
|
+
* How the address is used.
|
|
237
267
|
*
|
|
238
268
|
* - `standard`: a normal shipping or billing address.
|
|
239
269
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -267,7 +297,7 @@ export interface AddressListParams {
|
|
|
267
297
|
q?: string;
|
|
268
298
|
|
|
269
299
|
/**
|
|
270
|
-
* Filter results to a single address type
|
|
300
|
+
* Filter results to a single address type.
|
|
271
301
|
*/
|
|
272
302
|
type?: 'standard' | 'drop_ship';
|
|
273
303
|
}
|
|
@@ -319,7 +349,7 @@ export interface AddressCreateParams {
|
|
|
319
349
|
street_line_2?: string;
|
|
320
350
|
|
|
321
351
|
/**
|
|
322
|
-
*
|
|
352
|
+
* How the address is used.
|
|
323
353
|
*
|
|
324
354
|
* - `standard`: a normal shipping or billing address.
|
|
325
355
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -381,7 +411,7 @@ export interface AddressUpdateParams {
|
|
|
381
411
|
street_line_2?: string | null;
|
|
382
412
|
|
|
383
413
|
/**
|
|
384
|
-
*
|
|
414
|
+
* How the address is used.
|
|
385
415
|
*
|
|
386
416
|
* - `standard`: a normal shipping or billing address.
|
|
387
417
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as BlocksAPI from '../../messaging/blocks';
|
|
5
|
+
import * as APIKeysAPI from '../../auth/api-keys/api-keys';
|
|
6
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
7
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Look up the people you do business with.
|
|
11
|
+
*/
|
|
12
|
+
export class Actions extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Finds the contacts that match an email address.
|
|
15
|
+
*
|
|
16
|
+
* Only people on accounts you have a relationship with are returned — your
|
|
17
|
+
* customers, your suppliers, or your own account. A match's `relationship` says
|
|
18
|
+
* how you relate to the account it belongs to. Several accounts can share an
|
|
19
|
+
* email, so this can return more than one match.
|
|
20
|
+
*
|
|
21
|
+
* This endpoint requires the permission: `customers:read`.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const listContactMatch =
|
|
26
|
+
* await client.sales.contacts.actions.findByEmail({
|
|
27
|
+
* email: 'buyer@acme-co.example',
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
findByEmail(params: ActionFindByEmailParams, options?: RequestOptions): APIPromise<ListContactMatch> {
|
|
32
|
+
const { include, relationships, ...body } = params;
|
|
33
|
+
return this._client.post('/v1/sales/contacts/actions/find-by-email', {
|
|
34
|
+
query: { include, relationships },
|
|
35
|
+
body,
|
|
36
|
+
...options,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* A contact found by email on an account you have a relationship with — one of
|
|
43
|
+
* your customers, your suppliers, or your own account.
|
|
44
|
+
*
|
|
45
|
+
* The same email can be a contact on many accounts across the platform; only
|
|
46
|
+
* accounts you relate to are returned. The matched person is available through
|
|
47
|
+
* `account_user` (and the shared profile through `account_user.user`), and the
|
|
48
|
+
* account they belong to through `account`.
|
|
49
|
+
*/
|
|
50
|
+
export interface ContactMatch {
|
|
51
|
+
/**
|
|
52
|
+
* Resource ID.
|
|
53
|
+
*
|
|
54
|
+
* This is the matched account user's ID, so the same value also appears as
|
|
55
|
+
* `account_user.id`.
|
|
56
|
+
*/
|
|
57
|
+
id: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* A customer account, including its branding and customer portal sub-resources.
|
|
61
|
+
*/
|
|
62
|
+
account: APIKeysAPI.Account | null;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* A user's membership in an account, carrying the account-specific status, role,
|
|
66
|
+
* and department.
|
|
67
|
+
*
|
|
68
|
+
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
69
|
+
* sub-resource, which is shared across every account the user belongs to.
|
|
70
|
+
*/
|
|
71
|
+
account_user: BlocksAPI.AccountUser | null;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The email address that was matched.
|
|
75
|
+
*/
|
|
76
|
+
email: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Resource type identifier.
|
|
80
|
+
*/
|
|
81
|
+
object: 'contact_match';
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* How you relate to the account this contact belongs to.
|
|
85
|
+
*
|
|
86
|
+
* - `customer` — the account is one of your customers.
|
|
87
|
+
* - `supplier` — the account is one of your suppliers.
|
|
88
|
+
* - `self` — the account is your own.
|
|
89
|
+
*/
|
|
90
|
+
relationship: 'customer' | 'supplier' | 'self';
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Request to find contacts by email.
|
|
95
|
+
*/
|
|
96
|
+
export interface FindContactByEmailRequest {
|
|
97
|
+
/**
|
|
98
|
+
* The email address to look up.
|
|
99
|
+
*/
|
|
100
|
+
email: string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* List represents a paginated list of resources.
|
|
105
|
+
*/
|
|
106
|
+
export interface ListContactMatch {
|
|
107
|
+
/**
|
|
108
|
+
* Resources in this page.
|
|
109
|
+
*/
|
|
110
|
+
data: Array<ContactMatch>;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Resource type identifier.
|
|
114
|
+
*/
|
|
115
|
+
object: 'list';
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* PageInfo contains URL-based pagination metadata.
|
|
119
|
+
*/
|
|
120
|
+
page_info: APIKeysAPI.PageInfo;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface ActionFindByEmailParams {
|
|
124
|
+
/**
|
|
125
|
+
* Body param: The email address to look up.
|
|
126
|
+
*/
|
|
127
|
+
email: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
131
|
+
* are returned as `null`.
|
|
132
|
+
*/
|
|
133
|
+
include?: Array<
|
|
134
|
+
'account_user' | 'account_user.user' | 'account_user.role' | 'account_user.department' | 'account'
|
|
135
|
+
>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Query param: Filter to contacts whose relationship to you is one of these.
|
|
139
|
+
*/
|
|
140
|
+
relationships?: Array<'customer' | 'supplier' | 'self'>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export declare namespace Actions {
|
|
144
|
+
export {
|
|
145
|
+
type ContactMatch as ContactMatch,
|
|
146
|
+
type FindContactByEmailRequest as FindContactByEmailRequest,
|
|
147
|
+
type ListContactMatch as ListContactMatch,
|
|
148
|
+
type ActionFindByEmailParams as ActionFindByEmailParams,
|
|
149
|
+
};
|
|
150
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as ActionsAPI from './actions';
|
|
5
|
+
import {
|
|
6
|
+
ActionFindByEmailParams,
|
|
7
|
+
Actions,
|
|
8
|
+
ContactMatch,
|
|
9
|
+
FindContactByEmailRequest,
|
|
10
|
+
ListContactMatch,
|
|
11
|
+
} from './actions';
|
|
12
|
+
|
|
13
|
+
export class Contacts extends APIResource {
|
|
14
|
+
actions: ActionsAPI.Actions = new ActionsAPI.Actions(this._client);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
Contacts.Actions = Actions;
|
|
18
|
+
|
|
19
|
+
export declare namespace Contacts {
|
|
20
|
+
export {
|
|
21
|
+
Actions as Actions,
|
|
22
|
+
type ContactMatch as ContactMatch,
|
|
23
|
+
type FindContactByEmailRequest as FindContactByEmailRequest,
|
|
24
|
+
type ListContactMatch as ListContactMatch,
|
|
25
|
+
type ActionFindByEmailParams as ActionFindByEmailParams,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Actions,
|
|
5
|
+
type ContactMatch,
|
|
6
|
+
type FindContactByEmailRequest,
|
|
7
|
+
type ListContactMatch,
|
|
8
|
+
type ActionFindByEmailParams,
|
|
9
|
+
} from './actions';
|
|
10
|
+
export { Contacts } from './contacts';
|
|
@@ -18,6 +18,8 @@ export class Actions extends APIResource {
|
|
|
18
18
|
* line access, addresses, and users are consolidated without duplicates; the
|
|
19
19
|
* source customers are then deleted.
|
|
20
20
|
*
|
|
21
|
+
* This endpoint requires the permissions: `customers:update`, `customers:delete`.
|
|
22
|
+
*
|
|
21
23
|
* @example
|
|
22
24
|
* ```ts
|
|
23
25
|
* const customer = await client.sales.customers.actions.merge(
|
|
@@ -70,6 +72,7 @@ export interface ActionMergeParams {
|
|
|
70
72
|
| 'type'
|
|
71
73
|
| 'parent_account'
|
|
72
74
|
| 'freight_preferences.carrier'
|
|
75
|
+
| 'freight_preferences.carrier.service_levels'
|
|
73
76
|
| 'freight_preferences.service_level'
|
|
74
77
|
| 'defaults.payment_term'
|
|
75
78
|
| 'defaults.shipping_term'
|
|
@@ -83,6 +86,7 @@ export interface ActionMergeParams {
|
|
|
83
86
|
| 'price_groups'
|
|
84
87
|
| 'child_accounts'
|
|
85
88
|
| 'credit_limit'
|
|
89
|
+
| 'credit_limit.unit'
|
|
86
90
|
>;
|
|
87
91
|
}
|
|
88
92
|
|