@augno/sdk 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -3
- package/client.d.mts +11 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -2
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth/api-keys/actions.d.mts +2 -0
- package/resources/auth/api-keys/actions.d.mts.map +1 -1
- package/resources/auth/api-keys/actions.d.ts +2 -0
- package/resources/auth/api-keys/actions.d.ts.map +1 -1
- package/resources/auth/api-keys/actions.js +2 -0
- package/resources/auth/api-keys/actions.js.map +1 -1
- package/resources/auth/api-keys/actions.mjs +2 -0
- package/resources/auth/api-keys/actions.mjs.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +11 -3
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +11 -3
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js +8 -0
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs +8 -0
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.mts +12 -0
- package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.ts +12 -0
- package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories/item-categories.js +12 -0
- package/resources/catalog/item-categories/item-categories.js.map +1 -1
- package/resources/catalog/item-categories/item-categories.mjs +12 -0
- package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
- package/resources/catalog/item-categories/properties.d.mts +4 -0
- package/resources/catalog/item-categories/properties.d.mts.map +1 -1
- package/resources/catalog/item-categories/properties.d.ts +4 -0
- package/resources/catalog/item-categories/properties.d.ts.map +1 -1
- package/resources/catalog/item-categories/properties.js +4 -0
- package/resources/catalog/item-categories/properties.js.map +1 -1
- package/resources/catalog/item-categories/properties.mjs +4 -0
- package/resources/catalog/item-categories/properties.mjs.map +1 -1
- package/resources/catalog/items/attributes.d.mts +4 -0
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +4 -0
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +4 -0
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +4 -0
- package/resources/catalog/items/attributes.mjs.map +1 -1
- package/resources/catalog/items/items.d.mts +8 -0
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +8 -0
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js +8 -0
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs +8 -0
- package/resources/catalog/items/items.mjs.map +1 -1
- package/resources/catalog/materials.d.mts +24 -9
- package/resources/catalog/materials.d.mts.map +1 -1
- package/resources/catalog/materials.d.ts +24 -9
- package/resources/catalog/materials.d.ts.map +1 -1
- package/resources/catalog/materials.js +15 -0
- package/resources/catalog/materials.js.map +1 -1
- package/resources/catalog/materials.mjs +15 -0
- package/resources/catalog/materials.mjs.map +1 -1
- package/resources/catalog/parts.d.mts +15 -0
- package/resources/catalog/parts.d.mts.map +1 -1
- package/resources/catalog/parts.d.ts +15 -0
- package/resources/catalog/parts.d.ts.map +1 -1
- package/resources/catalog/parts.js +15 -0
- package/resources/catalog/parts.js.map +1 -1
- package/resources/catalog/parts.mjs +15 -0
- package/resources/catalog/parts.mjs.map +1 -1
- package/resources/catalog/product-lines.d.mts +12 -0
- package/resources/catalog/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines.d.ts +12 -0
- package/resources/catalog/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines.js +12 -0
- package/resources/catalog/product-lines.js.map +1 -1
- package/resources/catalog/product-lines.mjs +12 -0
- package/resources/catalog/product-lines.mjs.map +1 -1
- package/resources/catalog/products.d.mts +22 -8
- package/resources/catalog/products.d.mts.map +1 -1
- package/resources/catalog/products.d.ts +22 -8
- package/resources/catalog/products.d.ts.map +1 -1
- package/resources/catalog/products.js +14 -0
- package/resources/catalog/products.js.map +1 -1
- package/resources/catalog/products.mjs +14 -0
- package/resources/catalog/products.mjs.map +1 -1
- package/resources/catalog/properties/attributes.d.mts +10 -0
- package/resources/catalog/properties/attributes.d.mts.map +1 -1
- package/resources/catalog/properties/attributes.d.ts +10 -0
- package/resources/catalog/properties/attributes.d.ts.map +1 -1
- package/resources/catalog/properties/attributes.js +10 -0
- package/resources/catalog/properties/attributes.js.map +1 -1
- package/resources/catalog/properties/attributes.mjs +10 -0
- package/resources/catalog/properties/attributes.mjs.map +1 -1
- package/resources/catalog/properties/properties.d.mts +10 -0
- package/resources/catalog/properties/properties.d.mts.map +1 -1
- package/resources/catalog/properties/properties.d.ts +10 -0
- package/resources/catalog/properties/properties.d.ts.map +1 -1
- package/resources/catalog/properties/properties.js +10 -0
- package/resources/catalog/properties/properties.js.map +1 -1
- package/resources/catalog/properties/properties.mjs +10 -0
- package/resources/catalog/properties/properties.mjs.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.mts +18 -7
- package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.ts +18 -7
- package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.js +12 -2
- package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.mjs +12 -2
- package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
- package/resources/catalog/unit-groups/units.d.mts +10 -0
- package/resources/catalog/unit-groups/units.d.mts.map +1 -1
- package/resources/catalog/unit-groups/units.d.ts +10 -0
- package/resources/catalog/unit-groups/units.d.ts.map +1 -1
- package/resources/catalog/unit-groups/units.js +10 -0
- package/resources/catalog/unit-groups/units.js.map +1 -1
- package/resources/catalog/unit-groups/units.mjs +10 -0
- package/resources/catalog/unit-groups/units.mjs.map +1 -1
- package/resources/catalog/units.d.mts +48 -25
- package/resources/catalog/units.d.mts.map +1 -1
- package/resources/catalog/units.d.ts +48 -25
- package/resources/catalog/units.d.ts.map +1 -1
- package/resources/catalog/units.js +14 -2
- package/resources/catalog/units.js.map +1 -1
- package/resources/catalog/units.mjs +14 -2
- package/resources/catalog/units.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +22 -7
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +22 -7
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/audit-events.js +6 -0
- package/resources/core/audit-events.js.map +1 -1
- package/resources/core/audit-events.mjs +6 -0
- package/resources/core/audit-events.mjs.map +1 -1
- package/resources/core/core.d.mts +103 -0
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +103 -0
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js +19 -0
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +19 -0
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/email-logs.d.mts +6 -1
- package/resources/core/email-logs.d.mts.map +1 -1
- package/resources/core/email-logs.d.ts +6 -1
- package/resources/core/email-logs.d.ts.map +1 -1
- package/resources/core/email-logs.js +4 -0
- package/resources/core/email-logs.js.map +1 -1
- package/resources/core/email-logs.mjs +4 -0
- package/resources/core/email-logs.mjs.map +1 -1
- package/resources/core/index.d.mts +1 -1
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +1 -1
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/request-logs.d.mts +21 -7
- package/resources/core/request-logs.d.mts.map +1 -1
- package/resources/core/request-logs.d.ts +21 -7
- package/resources/core/request-logs.d.ts.map +1 -1
- package/resources/core/request-logs.js +4 -0
- package/resources/core/request-logs.js.map +1 -1
- package/resources/core/request-logs.mjs +4 -0
- package/resources/core/request-logs.mjs.map +1 -1
- package/resources/core/sandboxes.d.mts +11 -3
- package/resources/core/sandboxes.d.mts.map +1 -1
- package/resources/core/sandboxes.d.ts +11 -3
- package/resources/core/sandboxes.d.ts.map +1 -1
- package/resources/core/sandboxes.js +8 -0
- package/resources/core/sandboxes.js.map +1 -1
- package/resources/core/sandboxes.mjs +8 -0
- package/resources/core/sandboxes.mjs.map +1 -1
- package/resources/finance/payment-terms.d.mts +10 -0
- package/resources/finance/payment-terms.d.mts.map +1 -1
- package/resources/finance/payment-terms.d.ts +10 -0
- package/resources/finance/payment-terms.d.ts.map +1 -1
- package/resources/finance/payment-terms.js +10 -0
- package/resources/finance/payment-terms.js.map +1 -1
- package/resources/finance/payment-terms.mjs +10 -0
- package/resources/finance/payment-terms.mjs.map +1 -1
- package/resources/identity/account-users/account-users.d.mts +17 -5
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +17 -5
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js +12 -0
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs +12 -0
- package/resources/identity/account-users/account-users.mjs.map +1 -1
- package/resources/identity/account-users/actions.d.mts +9 -0
- package/resources/identity/account-users/actions.d.mts.map +1 -1
- package/resources/identity/account-users/actions.d.ts +9 -0
- package/resources/identity/account-users/actions.d.ts.map +1 -1
- package/resources/identity/account-users/actions.js +9 -0
- package/resources/identity/account-users/actions.js.map +1 -1
- package/resources/identity/account-users/actions.mjs +9 -0
- package/resources/identity/account-users/actions.mjs.map +1 -1
- package/resources/identity/roles.d.mts +33 -17
- package/resources/identity/roles.d.mts.map +1 -1
- package/resources/identity/roles.d.ts +33 -17
- package/resources/identity/roles.d.ts.map +1 -1
- package/resources/identity/roles.js +20 -6
- package/resources/identity/roles.js.map +1 -1
- package/resources/identity/roles.mjs +20 -6
- package/resources/identity/roles.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/messaging/announcements/actions.d.mts +76 -0
- package/resources/messaging/announcements/actions.d.mts.map +1 -0
- package/resources/messaging/announcements/actions.d.ts +76 -0
- package/resources/messaging/announcements/actions.d.ts.map +1 -0
- package/resources/messaging/announcements/actions.js +73 -0
- package/resources/messaging/announcements/actions.js.map +1 -0
- package/resources/messaging/announcements/actions.mjs +69 -0
- package/resources/messaging/announcements/actions.mjs.map +1 -0
- package/resources/messaging/announcements/announcements.d.mts +173 -0
- package/resources/messaging/announcements/announcements.d.mts.map +1 -0
- package/resources/messaging/announcements/announcements.d.ts +173 -0
- package/resources/messaging/announcements/announcements.d.ts.map +1 -0
- package/resources/messaging/announcements/announcements.js +52 -0
- package/resources/messaging/announcements/announcements.js.map +1 -0
- package/resources/messaging/announcements/announcements.mjs +47 -0
- package/resources/messaging/announcements/announcements.mjs.map +1 -0
- package/resources/messaging/announcements/index.d.mts +3 -0
- package/resources/messaging/announcements/index.d.mts.map +1 -0
- package/resources/messaging/announcements/index.d.ts +3 -0
- package/resources/messaging/announcements/index.d.ts.map +1 -0
- package/resources/messaging/announcements/index.js +9 -0
- package/resources/messaging/announcements/index.js.map +1 -0
- package/resources/messaging/announcements/index.mjs +4 -0
- package/resources/messaging/announcements/index.mjs.map +1 -0
- package/resources/messaging/announcements.d.mts +2 -0
- package/resources/messaging/announcements.d.mts.map +1 -0
- package/resources/messaging/announcements.d.ts +2 -0
- package/resources/messaging/announcements.d.ts.map +1 -0
- package/resources/messaging/announcements.js +6 -0
- package/resources/messaging/announcements.js.map +1 -0
- package/resources/messaging/announcements.mjs +3 -0
- package/resources/messaging/announcements.mjs.map +1 -0
- package/resources/messaging/blocks.d.mts +674 -0
- package/resources/messaging/blocks.d.mts.map +1 -0
- package/resources/messaging/blocks.d.ts +674 -0
- package/resources/messaging/blocks.d.ts.map +1 -0
- package/resources/messaging/blocks.js +61 -0
- package/resources/messaging/blocks.js.map +1 -0
- package/resources/messaging/blocks.mjs +57 -0
- package/resources/messaging/blocks.mjs.map +1 -0
- package/resources/messaging/conversations/actions.d.mts +422 -0
- package/resources/messaging/conversations/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/actions.d.ts +422 -0
- package/resources/messaging/conversations/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/actions.js +299 -0
- package/resources/messaging/conversations/actions.js.map +1 -0
- package/resources/messaging/conversations/actions.mjs +295 -0
- package/resources/messaging/conversations/actions.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/actions.d.mts +87 -0
- package/resources/messaging/conversations/attachments/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/actions.d.ts +87 -0
- package/resources/messaging/conversations/attachments/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/actions.js +36 -0
- package/resources/messaging/conversations/attachments/actions.js.map +1 -0
- package/resources/messaging/conversations/attachments/actions.mjs +32 -0
- package/resources/messaging/conversations/attachments/actions.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.d.mts +10 -0
- package/resources/messaging/conversations/attachments/attachments.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.d.ts +10 -0
- package/resources/messaging/conversations/attachments/attachments.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.js +17 -0
- package/resources/messaging/conversations/attachments/attachments.js.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.mjs +12 -0
- package/resources/messaging/conversations/attachments/attachments.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/index.d.mts +3 -0
- package/resources/messaging/conversations/attachments/index.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/index.d.ts +3 -0
- package/resources/messaging/conversations/attachments/index.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/index.js +9 -0
- package/resources/messaging/conversations/attachments/index.js.map +1 -0
- package/resources/messaging/conversations/attachments/index.mjs +4 -0
- package/resources/messaging/conversations/attachments/index.mjs.map +1 -0
- package/resources/messaging/conversations/attachments.d.mts +2 -0
- package/resources/messaging/conversations/attachments.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments.d.ts +2 -0
- package/resources/messaging/conversations/attachments.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments.js +6 -0
- package/resources/messaging/conversations/attachments.js.map +1 -0
- package/resources/messaging/conversations/attachments.mjs +3 -0
- package/resources/messaging/conversations/attachments.mjs.map +1 -0
- package/resources/messaging/conversations/conversations.d.mts +1328 -0
- package/resources/messaging/conversations/conversations.d.mts.map +1 -0
- package/resources/messaging/conversations/conversations.d.ts +1328 -0
- package/resources/messaging/conversations/conversations.d.ts.map +1 -0
- package/resources/messaging/conversations/conversations.js +109 -0
- package/resources/messaging/conversations/conversations.js.map +1 -0
- package/resources/messaging/conversations/conversations.mjs +104 -0
- package/resources/messaging/conversations/conversations.mjs.map +1 -0
- package/resources/messaging/conversations/index.d.mts +7 -0
- package/resources/messaging/conversations/index.d.mts.map +1 -0
- package/resources/messaging/conversations/index.d.ts +7 -0
- package/resources/messaging/conversations/index.d.ts.map +1 -0
- package/resources/messaging/conversations/index.js +17 -0
- package/resources/messaging/conversations/index.js.map +1 -0
- package/resources/messaging/conversations/index.mjs +8 -0
- package/resources/messaging/conversations/index.mjs.map +1 -0
- package/resources/messaging/conversations/links.d.mts +149 -0
- package/resources/messaging/conversations/links.d.mts.map +1 -0
- package/resources/messaging/conversations/links.d.ts +149 -0
- package/resources/messaging/conversations/links.d.ts.map +1 -0
- package/resources/messaging/conversations/links.js +72 -0
- package/resources/messaging/conversations/links.js.map +1 -0
- package/resources/messaging/conversations/links.mjs +68 -0
- package/resources/messaging/conversations/links.mjs.map +1 -0
- package/resources/messaging/conversations/messages.d.mts +332 -0
- package/resources/messaging/conversations/messages.d.mts.map +1 -0
- package/resources/messaging/conversations/messages.d.ts +332 -0
- package/resources/messaging/conversations/messages.d.ts.map +1 -0
- package/resources/messaging/conversations/messages.js +60 -0
- package/resources/messaging/conversations/messages.js.map +1 -0
- package/resources/messaging/conversations/messages.mjs +56 -0
- package/resources/messaging/conversations/messages.mjs.map +1 -0
- package/resources/messaging/conversations/participants/actions.d.mts +62 -0
- package/resources/messaging/conversations/participants/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/actions.d.ts +62 -0
- package/resources/messaging/conversations/participants/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/actions.js +35 -0
- package/resources/messaging/conversations/participants/actions.js.map +1 -0
- package/resources/messaging/conversations/participants/actions.mjs +31 -0
- package/resources/messaging/conversations/participants/actions.mjs.map +1 -0
- package/resources/messaging/conversations/participants/index.d.mts +3 -0
- package/resources/messaging/conversations/participants/index.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/index.d.ts +3 -0
- package/resources/messaging/conversations/participants/index.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/index.js +9 -0
- package/resources/messaging/conversations/participants/index.js.map +1 -0
- package/resources/messaging/conversations/participants/index.mjs +4 -0
- package/resources/messaging/conversations/participants/index.mjs.map +1 -0
- package/resources/messaging/conversations/participants/participants.d.mts +100 -0
- package/resources/messaging/conversations/participants/participants.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/participants.d.ts +100 -0
- package/resources/messaging/conversations/participants/participants.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/participants.js +64 -0
- package/resources/messaging/conversations/participants/participants.js.map +1 -0
- package/resources/messaging/conversations/participants/participants.mjs +59 -0
- package/resources/messaging/conversations/participants/participants.mjs.map +1 -0
- package/resources/messaging/conversations/participants.d.mts +2 -0
- package/resources/messaging/conversations/participants.d.mts.map +1 -0
- package/resources/messaging/conversations/participants.d.ts +2 -0
- package/resources/messaging/conversations/participants.d.ts.map +1 -0
- package/resources/messaging/conversations/participants.js +6 -0
- package/resources/messaging/conversations/participants.js.map +1 -0
- package/resources/messaging/conversations/participants.mjs +3 -0
- package/resources/messaging/conversations/participants.mjs.map +1 -0
- package/resources/messaging/conversations.d.mts +2 -0
- package/resources/messaging/conversations.d.mts.map +1 -0
- package/resources/messaging/conversations.d.ts +2 -0
- package/resources/messaging/conversations.d.ts.map +1 -0
- package/resources/messaging/conversations.js +6 -0
- package/resources/messaging/conversations.js.map +1 -0
- package/resources/messaging/conversations.mjs +3 -0
- package/resources/messaging/conversations.mjs.map +1 -0
- package/resources/messaging/email-domains/actions.d.mts +27 -0
- package/resources/messaging/email-domains/actions.d.mts.map +1 -0
- package/resources/messaging/email-domains/actions.d.ts +27 -0
- package/resources/messaging/email-domains/actions.d.ts.map +1 -0
- package/resources/messaging/email-domains/actions.js +32 -0
- package/resources/messaging/email-domains/actions.js.map +1 -0
- package/resources/messaging/email-domains/actions.mjs +28 -0
- package/resources/messaging/email-domains/actions.mjs.map +1 -0
- package/resources/messaging/email-domains/email-domains.d.mts +136 -0
- package/resources/messaging/email-domains/email-domains.d.mts.map +1 -0
- package/resources/messaging/email-domains/email-domains.d.ts +136 -0
- package/resources/messaging/email-domains/email-domains.d.ts.map +1 -0
- package/resources/messaging/email-domains/email-domains.js +70 -0
- package/resources/messaging/email-domains/email-domains.js.map +1 -0
- package/resources/messaging/email-domains/email-domains.mjs +65 -0
- package/resources/messaging/email-domains/email-domains.mjs.map +1 -0
- package/resources/messaging/email-domains/index.d.mts +3 -0
- package/resources/messaging/email-domains/index.d.mts.map +1 -0
- package/resources/messaging/email-domains/index.d.ts +3 -0
- package/resources/messaging/email-domains/index.d.ts.map +1 -0
- package/resources/messaging/email-domains/index.js +9 -0
- package/resources/messaging/email-domains/index.js.map +1 -0
- package/resources/messaging/email-domains/index.mjs +4 -0
- package/resources/messaging/email-domains/index.mjs.map +1 -0
- package/resources/messaging/email-domains.d.mts +2 -0
- package/resources/messaging/email-domains.d.mts.map +1 -0
- package/resources/messaging/email-domains.d.ts +2 -0
- package/resources/messaging/email-domains.d.ts.map +1 -0
- package/resources/messaging/email-domains.js +6 -0
- package/resources/messaging/email-domains.js.map +1 -0
- package/resources/messaging/email-domains.mjs +3 -0
- package/resources/messaging/email-domains.mjs.map +1 -0
- package/resources/messaging/email-inboxes.d.mts +327 -0
- package/resources/messaging/email-inboxes.d.mts.map +1 -0
- package/resources/messaging/email-inboxes.d.ts +327 -0
- package/resources/messaging/email-inboxes.d.ts.map +1 -0
- package/resources/messaging/email-inboxes.js +101 -0
- package/resources/messaging/email-inboxes.js.map +1 -0
- package/resources/messaging/email-inboxes.mjs +97 -0
- package/resources/messaging/email-inboxes.mjs.map +1 -0
- package/resources/messaging/groups/groups.d.mts +159 -0
- package/resources/messaging/groups/groups.d.mts.map +1 -0
- package/resources/messaging/groups/groups.d.ts +159 -0
- package/resources/messaging/groups/groups.d.ts.map +1 -0
- package/resources/messaging/groups/groups.js +107 -0
- package/resources/messaging/groups/groups.js.map +1 -0
- package/resources/messaging/groups/groups.mjs +102 -0
- package/resources/messaging/groups/groups.mjs.map +1 -0
- package/resources/messaging/groups/index.d.mts +3 -0
- package/resources/messaging/groups/index.d.mts.map +1 -0
- package/resources/messaging/groups/index.d.ts +3 -0
- package/resources/messaging/groups/index.d.ts.map +1 -0
- package/resources/messaging/groups/index.js +9 -0
- package/resources/messaging/groups/index.js.map +1 -0
- package/resources/messaging/groups/index.mjs +4 -0
- package/resources/messaging/groups/index.mjs.map +1 -0
- package/resources/messaging/groups/members.d.mts +83 -0
- package/resources/messaging/groups/members.d.mts.map +1 -0
- package/resources/messaging/groups/members.d.ts +83 -0
- package/resources/messaging/groups/members.d.ts.map +1 -0
- package/resources/messaging/groups/members.js +51 -0
- package/resources/messaging/groups/members.js.map +1 -0
- package/resources/messaging/groups/members.mjs +47 -0
- package/resources/messaging/groups/members.mjs.map +1 -0
- package/resources/messaging/groups.d.mts +2 -0
- package/resources/messaging/groups.d.mts.map +1 -0
- package/resources/messaging/groups.d.ts +2 -0
- package/resources/messaging/groups.d.ts.map +1 -0
- package/resources/messaging/groups.js +6 -0
- package/resources/messaging/groups.js.map +1 -0
- package/resources/messaging/groups.mjs +3 -0
- package/resources/messaging/groups.mjs.map +1 -0
- package/resources/messaging/index.d.mts +11 -0
- package/resources/messaging/index.d.mts.map +1 -0
- package/resources/messaging/index.d.ts +11 -0
- package/resources/messaging/index.d.ts.map +1 -0
- package/resources/messaging/index.js +25 -0
- package/resources/messaging/index.js.map +1 -0
- package/resources/messaging/index.mjs +12 -0
- package/resources/messaging/index.mjs.map +1 -0
- package/resources/messaging/messages/actions.d.mts +95 -0
- package/resources/messaging/messages/actions.d.mts.map +1 -0
- package/resources/messaging/messages/actions.d.ts +95 -0
- package/resources/messaging/messages/actions.d.ts.map +1 -0
- package/resources/messaging/messages/actions.js +79 -0
- package/resources/messaging/messages/actions.js.map +1 -0
- package/resources/messaging/messages/actions.mjs +75 -0
- package/resources/messaging/messages/actions.mjs.map +1 -0
- package/resources/messaging/messages/index.d.mts +3 -0
- package/resources/messaging/messages/index.d.mts.map +1 -0
- package/resources/messaging/messages/index.d.ts +3 -0
- package/resources/messaging/messages/index.d.ts.map +1 -0
- package/resources/messaging/messages/index.js +9 -0
- package/resources/messaging/messages/index.js.map +1 -0
- package/resources/messaging/messages/index.mjs +4 -0
- package/resources/messaging/messages/index.mjs.map +1 -0
- package/resources/messaging/messages/messages.d.mts +61 -0
- package/resources/messaging/messages/messages.d.mts.map +1 -0
- package/resources/messaging/messages/messages.d.ts +61 -0
- package/resources/messaging/messages/messages.d.ts.map +1 -0
- package/resources/messaging/messages/messages.js +40 -0
- package/resources/messaging/messages/messages.js.map +1 -0
- package/resources/messaging/messages/messages.mjs +35 -0
- package/resources/messaging/messages/messages.mjs.map +1 -0
- package/resources/messaging/messages.d.mts +2 -0
- package/resources/messaging/messages.d.mts.map +1 -0
- package/resources/messaging/messages.d.ts +2 -0
- package/resources/messaging/messages.d.ts.map +1 -0
- package/resources/messaging/messages.js +6 -0
- package/resources/messaging/messages.js.map +1 -0
- package/resources/messaging/messages.mjs +3 -0
- package/resources/messaging/messages.mjs.map +1 -0
- package/resources/messaging/messaging.d.mts +103 -0
- package/resources/messaging/messaging.d.mts.map +1 -0
- package/resources/messaging/messaging.d.ts +103 -0
- package/resources/messaging/messaging.d.ts.map +1 -0
- package/resources/messaging/messaging.js +65 -0
- package/resources/messaging/messaging.js.map +1 -0
- package/resources/messaging/messaging.mjs +60 -0
- package/resources/messaging/messaging.mjs.map +1 -0
- package/resources/messaging/notifications/actions.d.mts +92 -0
- package/resources/messaging/notifications/actions.d.mts.map +1 -0
- package/resources/messaging/notifications/actions.d.ts +92 -0
- package/resources/messaging/notifications/actions.d.ts.map +1 -0
- package/resources/messaging/notifications/actions.js +89 -0
- package/resources/messaging/notifications/actions.js.map +1 -0
- package/resources/messaging/notifications/actions.mjs +85 -0
- package/resources/messaging/notifications/actions.mjs.map +1 -0
- package/resources/messaging/notifications/index.d.mts +3 -0
- package/resources/messaging/notifications/index.d.mts.map +1 -0
- package/resources/messaging/notifications/index.d.ts +3 -0
- package/resources/messaging/notifications/index.d.ts.map +1 -0
- package/resources/messaging/notifications/index.js +9 -0
- package/resources/messaging/notifications/index.js.map +1 -0
- package/resources/messaging/notifications/index.mjs +4 -0
- package/resources/messaging/notifications/index.mjs.map +1 -0
- package/resources/messaging/notifications/notifications.d.mts +440 -0
- package/resources/messaging/notifications/notifications.d.mts.map +1 -0
- package/resources/messaging/notifications/notifications.d.ts +440 -0
- package/resources/messaging/notifications/notifications.d.ts.map +1 -0
- package/resources/messaging/notifications/notifications.js +104 -0
- package/resources/messaging/notifications/notifications.js.map +1 -0
- package/resources/messaging/notifications/notifications.mjs +99 -0
- package/resources/messaging/notifications/notifications.mjs.map +1 -0
- package/resources/messaging/notifications.d.mts +2 -0
- package/resources/messaging/notifications.d.mts.map +1 -0
- package/resources/messaging/notifications.d.ts +2 -0
- package/resources/messaging/notifications.d.ts.map +1 -0
- package/resources/messaging/notifications.js +6 -0
- package/resources/messaging/notifications.js.map +1 -0
- package/resources/messaging/notifications.mjs +3 -0
- package/resources/messaging/notifications.mjs.map +1 -0
- package/resources/messaging/preferences.d.mts +180 -0
- package/resources/messaging/preferences.d.mts.map +1 -0
- package/resources/messaging/preferences.d.ts +180 -0
- package/resources/messaging/preferences.d.ts.map +1 -0
- package/resources/messaging/preferences.js +47 -0
- package/resources/messaging/preferences.js.map +1 -0
- package/resources/messaging/preferences.mjs +43 -0
- package/resources/messaging/preferences.mjs.map +1 -0
- package/resources/messaging.d.mts +2 -0
- package/resources/messaging.d.mts.map +1 -0
- package/resources/messaging.d.ts +2 -0
- package/resources/messaging.d.ts.map +1 -0
- package/resources/messaging.js +6 -0
- package/resources/messaging.js.map +1 -0
- package/resources/messaging.mjs +3 -0
- package/resources/messaging.mjs.map +1 -0
- package/resources/operations/carriers/carriers.d.mts +16 -6
- package/resources/operations/carriers/carriers.d.mts.map +1 -1
- package/resources/operations/carriers/carriers.d.ts +16 -6
- package/resources/operations/carriers/carriers.d.ts.map +1 -1
- package/resources/operations/carriers/carriers.js +12 -0
- package/resources/operations/carriers/carriers.js.map +1 -1
- package/resources/operations/carriers/carriers.mjs +12 -0
- package/resources/operations/carriers/carriers.mjs.map +1 -1
- package/resources/operations/carriers/service-levels.d.mts +12 -0
- package/resources/operations/carriers/service-levels.d.mts.map +1 -1
- package/resources/operations/carriers/service-levels.d.ts +12 -0
- package/resources/operations/carriers/service-levels.d.ts.map +1 -1
- package/resources/operations/carriers/service-levels.js +12 -0
- package/resources/operations/carriers/service-levels.js.map +1 -1
- package/resources/operations/carriers/service-levels.mjs +12 -0
- package/resources/operations/carriers/service-levels.mjs.map +1 -1
- package/resources/operations/location-types.d.mts +6 -2
- package/resources/operations/location-types.d.mts.map +1 -1
- package/resources/operations/location-types.d.ts +6 -2
- package/resources/operations/location-types.d.ts.map +1 -1
- package/resources/operations/location-types.js +4 -0
- package/resources/operations/location-types.js.map +1 -1
- package/resources/operations/location-types.mjs +4 -0
- package/resources/operations/location-types.mjs.map +1 -1
- package/resources/operations/locations.d.mts +19 -9
- package/resources/operations/locations.d.mts.map +1 -1
- package/resources/operations/locations.d.ts +19 -9
- package/resources/operations/locations.d.ts.map +1 -1
- package/resources/operations/locations.js +10 -0
- package/resources/operations/locations.js.map +1 -1
- package/resources/operations/locations.mjs +10 -0
- package/resources/operations/locations.mjs.map +1 -1
- package/resources/operations/scanning-stations.d.mts +15 -5
- package/resources/operations/scanning-stations.d.mts.map +1 -1
- package/resources/operations/scanning-stations.d.ts +15 -5
- package/resources/operations/scanning-stations.d.ts.map +1 -1
- package/resources/operations/scanning-stations.js +10 -0
- package/resources/operations/scanning-stations.js.map +1 -1
- package/resources/operations/scanning-stations.mjs +10 -0
- package/resources/operations/scanning-stations.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +10 -0
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +10 -0
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/operations/shipping-terms.js +10 -0
- package/resources/operations/shipping-terms.js.map +1 -1
- package/resources/operations/shipping-terms.mjs +10 -0
- package/resources/operations/shipping-terms.mjs.map +1 -1
- package/resources/sales/account-groups.d.mts +10 -0
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +10 -0
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-groups.js +10 -0
- package/resources/sales/account-groups.js.map +1 -1
- package/resources/sales/account-groups.mjs +10 -0
- package/resources/sales/account-groups.mjs.map +1 -1
- package/resources/sales/account-statuses.d.mts +1 -1
- package/resources/sales/account-statuses.d.ts +1 -1
- package/resources/sales/addresses.d.mts +20 -5
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +20 -5
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/addresses.js +15 -0
- package/resources/sales/addresses.js.map +1 -1
- package/resources/sales/addresses.mjs +15 -0
- package/resources/sales/addresses.mjs.map +1 -1
- package/resources/sales/contacts/actions.d.mts +120 -0
- package/resources/sales/contacts/actions.d.mts.map +1 -0
- package/resources/sales/contacts/actions.d.ts +120 -0
- package/resources/sales/contacts/actions.d.ts.map +1 -0
- package/resources/sales/contacts/actions.js +38 -0
- package/resources/sales/contacts/actions.js.map +1 -0
- package/resources/sales/contacts/actions.mjs +34 -0
- package/resources/sales/contacts/actions.mjs.map +1 -0
- package/resources/sales/contacts/contacts.d.mts +10 -0
- package/resources/sales/contacts/contacts.d.mts.map +1 -0
- package/resources/sales/contacts/contacts.d.ts +10 -0
- package/resources/sales/contacts/contacts.d.ts.map +1 -0
- package/resources/sales/contacts/contacts.js +17 -0
- package/resources/sales/contacts/contacts.js.map +1 -0
- package/resources/sales/contacts/contacts.mjs +12 -0
- package/resources/sales/contacts/contacts.mjs.map +1 -0
- package/resources/sales/contacts/index.d.mts +3 -0
- package/resources/sales/contacts/index.d.mts.map +1 -0
- package/resources/sales/contacts/index.d.ts +3 -0
- package/resources/sales/contacts/index.d.ts.map +1 -0
- package/resources/sales/contacts/index.js +9 -0
- package/resources/sales/contacts/index.js.map +1 -0
- package/resources/sales/contacts/index.mjs +4 -0
- package/resources/sales/contacts/index.mjs.map +1 -0
- package/resources/sales/contacts.d.mts +2 -0
- package/resources/sales/contacts.d.mts.map +1 -0
- package/resources/sales/contacts.d.ts +2 -0
- package/resources/sales/contacts.d.ts.map +1 -0
- package/resources/sales/contacts.js +6 -0
- package/resources/sales/contacts.js.map +1 -0
- package/resources/sales/contacts.mjs +3 -0
- package/resources/sales/contacts.mjs.map +1 -0
- package/resources/sales/customers/actions.d.mts +3 -1
- package/resources/sales/customers/actions.d.mts.map +1 -1
- package/resources/sales/customers/actions.d.ts +3 -1
- package/resources/sales/customers/actions.d.ts.map +1 -1
- package/resources/sales/customers/actions.js +2 -0
- package/resources/sales/customers/actions.js.map +1 -1
- package/resources/sales/customers/actions.mjs +2 -0
- package/resources/sales/customers/actions.mjs.map +1 -1
- package/resources/sales/customers/customers.d.mts +17 -553
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +17 -553
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +10 -0
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +10 -0
- package/resources/sales/customers/customers.mjs.map +1 -1
- package/resources/sales/customers/index.d.mts +1 -1
- package/resources/sales/customers/index.d.mts.map +1 -1
- package/resources/sales/customers/index.d.ts +1 -1
- package/resources/sales/customers/index.d.ts.map +1 -1
- package/resources/sales/customers/index.js.map +1 -1
- package/resources/sales/customers/index.mjs.map +1 -1
- package/resources/sales/index.d.mts +2 -1
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +2 -1
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js +5 -3
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs +1 -0
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/priorities.d.mts +5 -1
- package/resources/sales/priorities.d.mts.map +1 -1
- package/resources/sales/priorities.d.ts +5 -1
- package/resources/sales/priorities.d.ts.map +1 -1
- package/resources/sales/priorities.js +4 -0
- package/resources/sales/priorities.js.map +1 -1
- package/resources/sales/priorities.mjs +4 -0
- package/resources/sales/priorities.mjs.map +1 -1
- package/resources/sales/sales-orders.d.mts +45 -42
- package/resources/sales/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders.d.ts +45 -42
- package/resources/sales/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders.js +5 -0
- package/resources/sales/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders.mjs +5 -0
- package/resources/sales/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +6 -2
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +6 -2
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js +4 -0
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs +4 -0
- package/resources/sales/sales.mjs.map +1 -1
- package/resources/settings/integrations.d.mts +8 -0
- package/resources/settings/integrations.d.mts.map +1 -1
- package/resources/settings/integrations.d.ts +8 -0
- package/resources/settings/integrations.d.ts.map +1 -1
- package/resources/settings/integrations.js +8 -0
- package/resources/settings/integrations.js.map +1 -1
- package/resources/settings/integrations.mjs +8 -0
- package/resources/settings/integrations.mjs.map +1 -1
- package/src/client.ts +22 -2
- package/src/resources/auth/api-keys/actions.ts +2 -0
- package/src/resources/auth/api-keys/api-keys.ts +11 -3
- package/src/resources/catalog/item-categories/item-categories.ts +12 -0
- package/src/resources/catalog/item-categories/properties.ts +4 -0
- package/src/resources/catalog/items/attributes.ts +4 -0
- package/src/resources/catalog/items/items.ts +8 -0
- package/src/resources/catalog/materials.ts +24 -9
- package/src/resources/catalog/parts.ts +15 -0
- package/src/resources/catalog/product-lines.ts +12 -0
- package/src/resources/catalog/products.ts +22 -8
- package/src/resources/catalog/properties/attributes.ts +10 -0
- package/src/resources/catalog/properties/properties.ts +10 -0
- package/src/resources/catalog/unit-groups/unit-groups.ts +18 -7
- package/src/resources/catalog/unit-groups/units.ts +10 -0
- package/src/resources/catalog/units.ts +48 -25
- package/src/resources/core/audit-events.ts +111 -11
- package/src/resources/core/core.ts +600 -0
- package/src/resources/core/email-logs.ts +6 -1
- package/src/resources/core/index.ts +1 -1
- package/src/resources/core/request-logs.ts +22 -7
- package/src/resources/core/sandboxes.ts +11 -3
- package/src/resources/finance/payment-terms.ts +10 -0
- package/src/resources/identity/account-users/account-users.ts +17 -5
- package/src/resources/identity/account-users/actions.ts +9 -0
- package/src/resources/identity/roles.ts +34 -18
- package/src/resources/index.ts +2 -1
- package/src/resources/messaging/announcements/actions.ts +119 -0
- package/src/resources/messaging/announcements/announcements.ts +234 -0
- package/src/resources/messaging/announcements/index.ts +10 -0
- package/src/resources/messaging/announcements.ts +3 -0
- package/src/resources/messaging/blocks.ts +826 -0
- package/src/resources/messaging/conversations/actions.ts +766 -0
- package/src/resources/messaging/conversations/attachments/actions.ts +116 -0
- package/src/resources/messaging/conversations/attachments/attachments.ts +25 -0
- package/src/resources/messaging/conversations/attachments/index.ts +9 -0
- package/src/resources/messaging/conversations/attachments.ts +3 -0
- package/src/resources/messaging/conversations/conversations.ts +2452 -0
- package/src/resources/messaging/conversations/index.ts +80 -0
- package/src/resources/messaging/conversations/links.ts +690 -0
- package/src/resources/messaging/conversations/messages.ts +906 -0
- package/src/resources/messaging/conversations/participants/actions.ts +92 -0
- package/src/resources/messaging/conversations/participants/index.ts +10 -0
- package/src/resources/messaging/conversations/participants/participants.ts +150 -0
- package/src/resources/messaging/conversations/participants.ts +3 -0
- package/src/resources/messaging/conversations.ts +3 -0
- package/src/resources/messaging/email-domains/actions.ts +32 -0
- package/src/resources/messaging/email-domains/email-domains.ts +170 -0
- package/src/resources/messaging/email-domains/index.ts +10 -0
- package/src/resources/messaging/email-domains.ts +3 -0
- package/src/resources/messaging/email-inboxes.ts +408 -0
- package/src/resources/messaging/groups/groups.ts +208 -0
- package/src/resources/messaging/groups/index.ts +17 -0
- package/src/resources/messaging/groups/members.ts +112 -0
- package/src/resources/messaging/groups.ts +3 -0
- package/src/resources/messaging/index.ts +115 -0
- package/src/resources/messaging/messages/actions.ts +184 -0
- package/src/resources/messaging/messages/index.ts +10 -0
- package/src/resources/messaging/messages/messages.ts +107 -0
- package/src/resources/messaging/messages.ts +3 -0
- package/src/resources/messaging/messaging.ts +351 -0
- package/src/resources/messaging/notifications/actions.ts +139 -0
- package/src/resources/messaging/notifications/index.ts +24 -0
- package/src/resources/messaging/notifications/notifications.ts +1051 -0
- package/src/resources/messaging/notifications.ts +3 -0
- package/src/resources/messaging/preferences.ts +215 -0
- package/src/resources/messaging.ts +3 -0
- package/src/resources/operations/carriers/carriers.ts +16 -6
- package/src/resources/operations/carriers/service-levels.ts +12 -0
- package/src/resources/operations/location-types.ts +6 -2
- package/src/resources/operations/locations.ts +19 -9
- package/src/resources/operations/scanning-stations.ts +15 -5
- package/src/resources/operations/shipping-terms.ts +10 -0
- package/src/resources/sales/account-groups.ts +10 -0
- package/src/resources/sales/account-statuses.ts +1 -1
- package/src/resources/sales/addresses.ts +20 -5
- package/src/resources/sales/contacts/actions.ts +150 -0
- package/src/resources/sales/contacts/contacts.ts +27 -0
- package/src/resources/sales/contacts/index.ts +10 -0
- package/src/resources/sales/contacts.ts +3 -0
- package/src/resources/sales/customers/actions.ts +4 -0
- package/src/resources/sales/customers/customers.ts +20 -666
- package/src/resources/sales/customers/index.ts +0 -15
- package/src/resources/sales/index.ts +1 -15
- package/src/resources/sales/priorities.ts +5 -1
- package/src/resources/sales/sales-orders.ts +45 -44
- package/src/resources/sales/sales.ts +6 -30
- package/src/resources/settings/integrations.ts +8 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -9,6 +9,9 @@ export declare class Addresses extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Returns a paginated list of addresses.
|
|
11
11
|
*
|
|
12
|
+
* This endpoint requires the permissions: `addresses:read`, `customers:read`,
|
|
13
|
+
* `suppliers:read`.
|
|
14
|
+
*
|
|
12
15
|
* @example
|
|
13
16
|
* ```ts
|
|
14
17
|
* const listAddress = await client.sales.addresses.list();
|
|
@@ -18,6 +21,9 @@ export declare class Addresses extends APIResource {
|
|
|
18
21
|
/**
|
|
19
22
|
* Retrieves an address by ID.
|
|
20
23
|
*
|
|
24
|
+
* This endpoint requires the permissions: `addresses:read`, `customers:read`,
|
|
25
|
+
* `suppliers:read`.
|
|
26
|
+
*
|
|
21
27
|
* @example
|
|
22
28
|
* ```ts
|
|
23
29
|
* const address = await client.sales.addresses.retrieve(
|
|
@@ -29,6 +35,9 @@ export declare class Addresses extends APIResource {
|
|
|
29
35
|
/**
|
|
30
36
|
* Creates an address.
|
|
31
37
|
*
|
|
38
|
+
* This endpoint requires the permissions: `addresses:create`, `customers:update`,
|
|
39
|
+
* `suppliers:update`.
|
|
40
|
+
*
|
|
32
41
|
* @example
|
|
33
42
|
* ```ts
|
|
34
43
|
* const address = await client.sales.addresses.create({
|
|
@@ -48,6 +57,9 @@ export declare class Addresses extends APIResource {
|
|
|
48
57
|
* Changing a street, locality, state, postal code, or country field may replace
|
|
49
58
|
* the address's geolocation, so the geolocation `id` in the response can change.
|
|
50
59
|
*
|
|
60
|
+
* This endpoint requires the permissions: `addresses:update`, `customers:update`,
|
|
61
|
+
* `suppliers:update`.
|
|
62
|
+
*
|
|
51
63
|
* @example
|
|
52
64
|
* ```ts
|
|
53
65
|
* const address = await client.sales.addresses.update(
|
|
@@ -63,6 +75,9 @@ export declare class Addresses extends APIResource {
|
|
|
63
75
|
* Deletion fails if the address is in use as a billing or shipping address on a
|
|
64
76
|
* sales order, invoice, or shipment, or as a default account address.
|
|
65
77
|
*
|
|
78
|
+
* This endpoint requires the permissions: `addresses:delete`, `customers:update`,
|
|
79
|
+
* `suppliers:update`.
|
|
80
|
+
*
|
|
66
81
|
* @example
|
|
67
82
|
* ```ts
|
|
68
83
|
* const address = await client.sales.addresses.delete(
|
|
@@ -114,7 +129,7 @@ export interface AddressInput {
|
|
|
114
129
|
*/
|
|
115
130
|
street_line_2?: string;
|
|
116
131
|
/**
|
|
117
|
-
*
|
|
132
|
+
* How the address is used.
|
|
118
133
|
*
|
|
119
134
|
* - `standard`: a normal shipping or billing address.
|
|
120
135
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -188,7 +203,7 @@ export interface UpdateAddressRequest {
|
|
|
188
203
|
*/
|
|
189
204
|
street_line_2?: string | null;
|
|
190
205
|
/**
|
|
191
|
-
*
|
|
206
|
+
* How the address is used.
|
|
192
207
|
*
|
|
193
208
|
* - `standard`: a normal shipping or billing address.
|
|
194
209
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -218,7 +233,7 @@ export interface AddressListParams {
|
|
|
218
233
|
*/
|
|
219
234
|
q?: string;
|
|
220
235
|
/**
|
|
221
|
-
* Filter results to a single address type
|
|
236
|
+
* Filter results to a single address type.
|
|
222
237
|
*/
|
|
223
238
|
type?: 'standard' | 'drop_ship';
|
|
224
239
|
}
|
|
@@ -260,7 +275,7 @@ export interface AddressCreateParams {
|
|
|
260
275
|
*/
|
|
261
276
|
street_line_2?: string;
|
|
262
277
|
/**
|
|
263
|
-
*
|
|
278
|
+
* How the address is used.
|
|
264
279
|
*
|
|
265
280
|
* - `standard`: a normal shipping or billing address.
|
|
266
281
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -312,7 +327,7 @@ export interface AddressUpdateParams {
|
|
|
312
327
|
*/
|
|
313
328
|
street_line_2?: string | null;
|
|
314
329
|
/**
|
|
315
|
-
*
|
|
330
|
+
* How the address is used.
|
|
316
331
|
*
|
|
317
332
|
* - `standard`: a normal shipping or billing address.
|
|
318
333
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addresses.d.ts","sourceRoot":"","sources":["../../src/resources/sales/addresses.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC
|
|
1
|
+
{"version":3,"file":"addresses.d.ts","sourceRoot":"","sources":["../../src/resources/sales/addresses.ts"],"names":[],"mappings":"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"}
|
|
@@ -11,6 +11,9 @@ class Addresses extends resource_1.APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* Returns a paginated list of addresses.
|
|
13
13
|
*
|
|
14
|
+
* This endpoint requires the permissions: `addresses:read`, `customers:read`,
|
|
15
|
+
* `suppliers:read`.
|
|
16
|
+
*
|
|
14
17
|
* @example
|
|
15
18
|
* ```ts
|
|
16
19
|
* const listAddress = await client.sales.addresses.list();
|
|
@@ -22,6 +25,9 @@ class Addresses extends resource_1.APIResource {
|
|
|
22
25
|
/**
|
|
23
26
|
* Retrieves an address by ID.
|
|
24
27
|
*
|
|
28
|
+
* This endpoint requires the permissions: `addresses:read`, `customers:read`,
|
|
29
|
+
* `suppliers:read`.
|
|
30
|
+
*
|
|
25
31
|
* @example
|
|
26
32
|
* ```ts
|
|
27
33
|
* const address = await client.sales.addresses.retrieve(
|
|
@@ -35,6 +41,9 @@ class Addresses extends resource_1.APIResource {
|
|
|
35
41
|
/**
|
|
36
42
|
* Creates an address.
|
|
37
43
|
*
|
|
44
|
+
* This endpoint requires the permissions: `addresses:create`, `customers:update`,
|
|
45
|
+
* `suppliers:update`.
|
|
46
|
+
*
|
|
38
47
|
* @example
|
|
39
48
|
* ```ts
|
|
40
49
|
* const address = await client.sales.addresses.create({
|
|
@@ -56,6 +65,9 @@ class Addresses extends resource_1.APIResource {
|
|
|
56
65
|
* Changing a street, locality, state, postal code, or country field may replace
|
|
57
66
|
* the address's geolocation, so the geolocation `id` in the response can change.
|
|
58
67
|
*
|
|
68
|
+
* This endpoint requires the permissions: `addresses:update`, `customers:update`,
|
|
69
|
+
* `suppliers:update`.
|
|
70
|
+
*
|
|
59
71
|
* @example
|
|
60
72
|
* ```ts
|
|
61
73
|
* const address = await client.sales.addresses.update(
|
|
@@ -73,6 +85,9 @@ class Addresses extends resource_1.APIResource {
|
|
|
73
85
|
* Deletion fails if the address is in use as a billing or shipping address on a
|
|
74
86
|
* sales order, invoice, or shipment, or as a default account address.
|
|
75
87
|
*
|
|
88
|
+
* This endpoint requires the permissions: `addresses:delete`, `customers:update`,
|
|
89
|
+
* `suppliers:update`.
|
|
90
|
+
*
|
|
76
91
|
* @example
|
|
77
92
|
* ```ts
|
|
78
93
|
* const address = await client.sales.addresses.delete(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addresses.js","sourceRoot":"","sources":["../../src/resources/sales/addresses.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC
|
|
1
|
+
{"version":3,"file":"addresses.js","sourceRoot":"","sources":["../../src/resources/sales/addresses.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,QAA8C,EAAE,EAAE,OAAwB;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,EAAU,EACV,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CACF;AAnGD,8BAmGC"}
|
|
@@ -8,6 +8,9 @@ export class Addresses extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Returns a paginated list of addresses.
|
|
10
10
|
*
|
|
11
|
+
* This endpoint requires the permissions: `addresses:read`, `customers:read`,
|
|
12
|
+
* `suppliers:read`.
|
|
13
|
+
*
|
|
11
14
|
* @example
|
|
12
15
|
* ```ts
|
|
13
16
|
* const listAddress = await client.sales.addresses.list();
|
|
@@ -19,6 +22,9 @@ export class Addresses extends APIResource {
|
|
|
19
22
|
/**
|
|
20
23
|
* Retrieves an address by ID.
|
|
21
24
|
*
|
|
25
|
+
* This endpoint requires the permissions: `addresses:read`, `customers:read`,
|
|
26
|
+
* `suppliers:read`.
|
|
27
|
+
*
|
|
22
28
|
* @example
|
|
23
29
|
* ```ts
|
|
24
30
|
* const address = await client.sales.addresses.retrieve(
|
|
@@ -32,6 +38,9 @@ export class Addresses extends APIResource {
|
|
|
32
38
|
/**
|
|
33
39
|
* Creates an address.
|
|
34
40
|
*
|
|
41
|
+
* This endpoint requires the permissions: `addresses:create`, `customers:update`,
|
|
42
|
+
* `suppliers:update`.
|
|
43
|
+
*
|
|
35
44
|
* @example
|
|
36
45
|
* ```ts
|
|
37
46
|
* const address = await client.sales.addresses.create({
|
|
@@ -53,6 +62,9 @@ export class Addresses extends APIResource {
|
|
|
53
62
|
* Changing a street, locality, state, postal code, or country field may replace
|
|
54
63
|
* the address's geolocation, so the geolocation `id` in the response can change.
|
|
55
64
|
*
|
|
65
|
+
* This endpoint requires the permissions: `addresses:update`, `customers:update`,
|
|
66
|
+
* `suppliers:update`.
|
|
67
|
+
*
|
|
56
68
|
* @example
|
|
57
69
|
* ```ts
|
|
58
70
|
* const address = await client.sales.addresses.update(
|
|
@@ -70,6 +82,9 @@ export class Addresses extends APIResource {
|
|
|
70
82
|
* Deletion fails if the address is in use as a billing or shipping address on a
|
|
71
83
|
* sales order, invoice, or shipment, or as a default account address.
|
|
72
84
|
*
|
|
85
|
+
* This endpoint requires the permissions: `addresses:delete`, `customers:update`,
|
|
86
|
+
* `suppliers:update`.
|
|
87
|
+
*
|
|
73
88
|
* @example
|
|
74
89
|
* ```ts
|
|
75
90
|
* const address = await client.sales.addresses.delete(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addresses.mjs","sourceRoot":"","sources":["../../src/resources/sales/addresses.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC
|
|
1
|
+
{"version":3,"file":"addresses.mjs","sourceRoot":"","sources":["../../src/resources/sales/addresses.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,QAA8C,EAAE,EAAE,OAAwB;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,EAAU,EACV,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,uBAAuB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,uBAAuB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CACF"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as BlocksAPI from "../../messaging/blocks.mjs";
|
|
3
|
+
import * as APIKeysAPI from "../../auth/api-keys/api-keys.mjs";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* Look up the people you do business with.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Actions extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Finds the contacts that match an email address.
|
|
12
|
+
*
|
|
13
|
+
* Only people on accounts you have a relationship with are returned — your
|
|
14
|
+
* customers, your suppliers, or your own account. A match's `relationship` says
|
|
15
|
+
* how you relate to the account it belongs to. Several accounts can share an
|
|
16
|
+
* email, so this can return more than one match.
|
|
17
|
+
*
|
|
18
|
+
* This endpoint requires the permission: `customers:read`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const listContactMatch =
|
|
23
|
+
* await client.sales.contacts.actions.findByEmail({
|
|
24
|
+
* email: 'buyer@acme-co.example',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
findByEmail(params: ActionFindByEmailParams, options?: RequestOptions): APIPromise<ListContactMatch>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A contact found by email on an account you have a relationship with — one of
|
|
32
|
+
* your customers, your suppliers, or your own account.
|
|
33
|
+
*
|
|
34
|
+
* The same email can be a contact on many accounts across the platform; only
|
|
35
|
+
* accounts you relate to are returned. The matched person is available through
|
|
36
|
+
* `account_user` (and the shared profile through `account_user.user`), and the
|
|
37
|
+
* account they belong to through `account`.
|
|
38
|
+
*/
|
|
39
|
+
export interface ContactMatch {
|
|
40
|
+
/**
|
|
41
|
+
* Resource ID.
|
|
42
|
+
*
|
|
43
|
+
* This is the matched account user's ID, so the same value also appears as
|
|
44
|
+
* `account_user.id`.
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* A customer account, including its branding and customer portal sub-resources.
|
|
49
|
+
*/
|
|
50
|
+
account: APIKeysAPI.Account | null;
|
|
51
|
+
/**
|
|
52
|
+
* A user's membership in an account, carrying the account-specific status, role,
|
|
53
|
+
* and department.
|
|
54
|
+
*
|
|
55
|
+
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
56
|
+
* sub-resource, which is shared across every account the user belongs to.
|
|
57
|
+
*/
|
|
58
|
+
account_user: BlocksAPI.AccountUser | null;
|
|
59
|
+
/**
|
|
60
|
+
* The email address that was matched.
|
|
61
|
+
*/
|
|
62
|
+
email: string;
|
|
63
|
+
/**
|
|
64
|
+
* Resource type identifier.
|
|
65
|
+
*/
|
|
66
|
+
object: 'contact_match';
|
|
67
|
+
/**
|
|
68
|
+
* How you relate to the account this contact belongs to.
|
|
69
|
+
*
|
|
70
|
+
* - `customer` — the account is one of your customers.
|
|
71
|
+
* - `supplier` — the account is one of your suppliers.
|
|
72
|
+
* - `self` — the account is your own.
|
|
73
|
+
*/
|
|
74
|
+
relationship: 'customer' | 'supplier' | 'self';
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Request to find contacts by email.
|
|
78
|
+
*/
|
|
79
|
+
export interface FindContactByEmailRequest {
|
|
80
|
+
/**
|
|
81
|
+
* The email address to look up.
|
|
82
|
+
*/
|
|
83
|
+
email: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* List represents a paginated list of resources.
|
|
87
|
+
*/
|
|
88
|
+
export interface ListContactMatch {
|
|
89
|
+
/**
|
|
90
|
+
* Resources in this page.
|
|
91
|
+
*/
|
|
92
|
+
data: Array<ContactMatch>;
|
|
93
|
+
/**
|
|
94
|
+
* Resource type identifier.
|
|
95
|
+
*/
|
|
96
|
+
object: 'list';
|
|
97
|
+
/**
|
|
98
|
+
* PageInfo contains URL-based pagination metadata.
|
|
99
|
+
*/
|
|
100
|
+
page_info: APIKeysAPI.PageInfo;
|
|
101
|
+
}
|
|
102
|
+
export interface ActionFindByEmailParams {
|
|
103
|
+
/**
|
|
104
|
+
* Body param: The email address to look up.
|
|
105
|
+
*/
|
|
106
|
+
email: string;
|
|
107
|
+
/**
|
|
108
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
109
|
+
* are returned as `null`.
|
|
110
|
+
*/
|
|
111
|
+
include?: Array<'account_user' | 'account_user.user' | 'account_user.role' | 'account_user.department' | 'account'>;
|
|
112
|
+
/**
|
|
113
|
+
* Query param: Filter to contacts whose relationship to you is one of these.
|
|
114
|
+
*/
|
|
115
|
+
relationships?: Array<'customer' | 'supplier' | 'self'>;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace Actions {
|
|
118
|
+
export { type ContactMatch as ContactMatch, type FindContactByEmailRequest as FindContactByEmailRequest, type ListContactMatch as ListContactMatch, type ActionFindByEmailParams as ActionFindByEmailParams, };
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=actions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/sales/contacts/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,CAAC,MAAM,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAQrG;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC;IAEnC;;;;;;OAMG;IACH,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC;IAE3C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC;IAExB;;;;;;OAMG;IACH,YAAY,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC;CAChC;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CACb,cAAc,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,yBAAyB,GAAG,SAAS,CACnG,CAAC;IAEF;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;CACzD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as BlocksAPI from "../../messaging/blocks.js";
|
|
3
|
+
import * as APIKeysAPI from "../../auth/api-keys/api-keys.js";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
|
+
/**
|
|
7
|
+
* Look up the people you do business with.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Actions extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Finds the contacts that match an email address.
|
|
12
|
+
*
|
|
13
|
+
* Only people on accounts you have a relationship with are returned — your
|
|
14
|
+
* customers, your suppliers, or your own account. A match's `relationship` says
|
|
15
|
+
* how you relate to the account it belongs to. Several accounts can share an
|
|
16
|
+
* email, so this can return more than one match.
|
|
17
|
+
*
|
|
18
|
+
* This endpoint requires the permission: `customers:read`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const listContactMatch =
|
|
23
|
+
* await client.sales.contacts.actions.findByEmail({
|
|
24
|
+
* email: 'buyer@acme-co.example',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
findByEmail(params: ActionFindByEmailParams, options?: RequestOptions): APIPromise<ListContactMatch>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A contact found by email on an account you have a relationship with — one of
|
|
32
|
+
* your customers, your suppliers, or your own account.
|
|
33
|
+
*
|
|
34
|
+
* The same email can be a contact on many accounts across the platform; only
|
|
35
|
+
* accounts you relate to are returned. The matched person is available through
|
|
36
|
+
* `account_user` (and the shared profile through `account_user.user`), and the
|
|
37
|
+
* account they belong to through `account`.
|
|
38
|
+
*/
|
|
39
|
+
export interface ContactMatch {
|
|
40
|
+
/**
|
|
41
|
+
* Resource ID.
|
|
42
|
+
*
|
|
43
|
+
* This is the matched account user's ID, so the same value also appears as
|
|
44
|
+
* `account_user.id`.
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* A customer account, including its branding and customer portal sub-resources.
|
|
49
|
+
*/
|
|
50
|
+
account: APIKeysAPI.Account | null;
|
|
51
|
+
/**
|
|
52
|
+
* A user's membership in an account, carrying the account-specific status, role,
|
|
53
|
+
* and department.
|
|
54
|
+
*
|
|
55
|
+
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
56
|
+
* sub-resource, which is shared across every account the user belongs to.
|
|
57
|
+
*/
|
|
58
|
+
account_user: BlocksAPI.AccountUser | null;
|
|
59
|
+
/**
|
|
60
|
+
* The email address that was matched.
|
|
61
|
+
*/
|
|
62
|
+
email: string;
|
|
63
|
+
/**
|
|
64
|
+
* Resource type identifier.
|
|
65
|
+
*/
|
|
66
|
+
object: 'contact_match';
|
|
67
|
+
/**
|
|
68
|
+
* How you relate to the account this contact belongs to.
|
|
69
|
+
*
|
|
70
|
+
* - `customer` — the account is one of your customers.
|
|
71
|
+
* - `supplier` — the account is one of your suppliers.
|
|
72
|
+
* - `self` — the account is your own.
|
|
73
|
+
*/
|
|
74
|
+
relationship: 'customer' | 'supplier' | 'self';
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Request to find contacts by email.
|
|
78
|
+
*/
|
|
79
|
+
export interface FindContactByEmailRequest {
|
|
80
|
+
/**
|
|
81
|
+
* The email address to look up.
|
|
82
|
+
*/
|
|
83
|
+
email: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* List represents a paginated list of resources.
|
|
87
|
+
*/
|
|
88
|
+
export interface ListContactMatch {
|
|
89
|
+
/**
|
|
90
|
+
* Resources in this page.
|
|
91
|
+
*/
|
|
92
|
+
data: Array<ContactMatch>;
|
|
93
|
+
/**
|
|
94
|
+
* Resource type identifier.
|
|
95
|
+
*/
|
|
96
|
+
object: 'list';
|
|
97
|
+
/**
|
|
98
|
+
* PageInfo contains URL-based pagination metadata.
|
|
99
|
+
*/
|
|
100
|
+
page_info: APIKeysAPI.PageInfo;
|
|
101
|
+
}
|
|
102
|
+
export interface ActionFindByEmailParams {
|
|
103
|
+
/**
|
|
104
|
+
* Body param: The email address to look up.
|
|
105
|
+
*/
|
|
106
|
+
email: string;
|
|
107
|
+
/**
|
|
108
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
109
|
+
* are returned as `null`.
|
|
110
|
+
*/
|
|
111
|
+
include?: Array<'account_user' | 'account_user.user' | 'account_user.role' | 'account_user.department' | 'account'>;
|
|
112
|
+
/**
|
|
113
|
+
* Query param: Filter to contacts whose relationship to you is one of these.
|
|
114
|
+
*/
|
|
115
|
+
relationships?: Array<'customer' | 'supplier' | 'self'>;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace Actions {
|
|
118
|
+
export { type ContactMatch as ContactMatch, type FindContactByEmailRequest as FindContactByEmailRequest, type ListContactMatch as ListContactMatch, type ActionFindByEmailParams as ActionFindByEmailParams, };
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/sales/contacts/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,CAAC,MAAM,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAQrG;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC;IAEnC;;;;;;OAMG;IACH,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC;IAE3C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC;IAExB;;;;;;OAMG;IACH,YAAY,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC;CAChC;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CACb,cAAc,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,yBAAyB,GAAG,SAAS,CACnG,CAAC;IAEF;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;CACzD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Actions = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Look up the people you do business with.
|
|
8
|
+
*/
|
|
9
|
+
class Actions extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Finds the contacts that match an email address.
|
|
12
|
+
*
|
|
13
|
+
* Only people on accounts you have a relationship with are returned — your
|
|
14
|
+
* customers, your suppliers, or your own account. A match's `relationship` says
|
|
15
|
+
* how you relate to the account it belongs to. Several accounts can share an
|
|
16
|
+
* email, so this can return more than one match.
|
|
17
|
+
*
|
|
18
|
+
* This endpoint requires the permission: `customers:read`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const listContactMatch =
|
|
23
|
+
* await client.sales.contacts.actions.findByEmail({
|
|
24
|
+
* email: 'buyer@acme-co.example',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
findByEmail(params, options) {
|
|
29
|
+
const { include, relationships, ...body } = params;
|
|
30
|
+
return this._client.post('/v1/sales/contacts/actions/find-by-email', {
|
|
31
|
+
query: { include, relationships },
|
|
32
|
+
body,
|
|
33
|
+
...options,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Actions = Actions;
|
|
38
|
+
//# sourceMappingURL=actions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/sales/contacts/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAMrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,CAAC,MAA+B,EAAE,OAAwB;QACnE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE;YACnE,KAAK,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE;YACjC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3BD,0BA2BC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Look up the people you do business with.
|
|
5
|
+
*/
|
|
6
|
+
export class Actions extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Finds the contacts that match an email address.
|
|
9
|
+
*
|
|
10
|
+
* Only people on accounts you have a relationship with are returned — your
|
|
11
|
+
* customers, your suppliers, or your own account. A match's `relationship` says
|
|
12
|
+
* how you relate to the account it belongs to. Several accounts can share an
|
|
13
|
+
* email, so this can return more than one match.
|
|
14
|
+
*
|
|
15
|
+
* This endpoint requires the permission: `customers:read`.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const listContactMatch =
|
|
20
|
+
* await client.sales.contacts.actions.findByEmail({
|
|
21
|
+
* email: 'buyer@acme-co.example',
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
findByEmail(params, options) {
|
|
26
|
+
const { include, relationships, ...body } = params;
|
|
27
|
+
return this._client.post('/v1/sales/contacts/actions/find-by-email', {
|
|
28
|
+
query: { include, relationships },
|
|
29
|
+
body,
|
|
30
|
+
...options,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=actions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/sales/contacts/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,CAAC,MAA+B,EAAE,OAAwB;QACnE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE;YACnE,KAAK,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE;YACjC,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as ActionsAPI from "./actions.mjs";
|
|
3
|
+
import { ActionFindByEmailParams, Actions, ContactMatch, FindContactByEmailRequest, ListContactMatch } from "./actions.mjs";
|
|
4
|
+
export declare class Contacts extends APIResource {
|
|
5
|
+
actions: ActionsAPI.Actions;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Contacts {
|
|
8
|
+
export { Actions as Actions, type ContactMatch as ContactMatch, type FindContactByEmailRequest as FindContactByEmailRequest, type ListContactMatch as ListContactMatch, type ActionFindByEmailParams as ActionFindByEmailParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=contacts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.d.mts","sourceRoot":"","sources":["../../../src/resources/sales/contacts/contacts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,uBAAuB,EACvB,OAAO,EACP,YAAY,EACZ,yBAAyB,EACzB,gBAAgB,EACjB;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as ActionsAPI from "./actions.js";
|
|
3
|
+
import { ActionFindByEmailParams, Actions, ContactMatch, FindContactByEmailRequest, ListContactMatch } from "./actions.js";
|
|
4
|
+
export declare class Contacts extends APIResource {
|
|
5
|
+
actions: ActionsAPI.Actions;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Contacts {
|
|
8
|
+
export { Actions as Actions, type ContactMatch as ContactMatch, type FindContactByEmailRequest as FindContactByEmailRequest, type ListContactMatch as ListContactMatch, type ActionFindByEmailParams as ActionFindByEmailParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=contacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../../src/resources/sales/contacts/contacts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,uBAAuB,EACvB,OAAO,EACP,YAAY,EACZ,yBAAyB,EACzB,gBAAgB,EACjB;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Contacts = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const ActionsAPI = tslib_1.__importStar(require("./actions.js"));
|
|
8
|
+
const actions_1 = require("./actions.js");
|
|
9
|
+
class Contacts extends resource_1.APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.actions = new ActionsAPI.Actions(this._client);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Contacts = Contacts;
|
|
16
|
+
Contacts.Actions = actions_1.Actions;
|
|
17
|
+
//# sourceMappingURL=contacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../../src/resources/sales/contacts/contacts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,iEAAwC;AACxC,0CAMmB;AAEnB,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAFD,4BAEC;AAED,QAAQ,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as ActionsAPI from "./actions.mjs";
|
|
4
|
+
import { Actions, } from "./actions.mjs";
|
|
5
|
+
export class Contacts extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.actions = new ActionsAPI.Actions(this._client);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
Contacts.Actions = Actions;
|
|
12
|
+
//# sourceMappingURL=contacts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.mjs","sourceRoot":"","sources":["../../../src/resources/sales/contacts/contacts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAEL,OAAO,GAIR;AAED,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/sales/contacts/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,GAC7B;OACM,EAAE,QAAQ,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/sales/contacts/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,GAC7B;OACM,EAAE,QAAQ,EAAE"}
|