@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
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Register customer-owned domains with the email bridge and verify them for sending and receiving mail.
|
|
6
|
+
*/
|
|
7
|
+
export class Actions extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Re-polls the provider and flips the domain to `verified` once its DKIM records
|
|
10
|
+
* are confirmed.
|
|
11
|
+
*
|
|
12
|
+
* Returns the updated domain (still `pending` if not yet confirmed).
|
|
13
|
+
*
|
|
14
|
+
* This endpoint requires the permission: `messaging:update`.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const emailDomain =
|
|
19
|
+
* await client.messaging.emailDomains.actions.verify(
|
|
20
|
+
* 'emdom_018e88072d1320808dc9aaa01',
|
|
21
|
+
* );
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
verify(id, options) {
|
|
25
|
+
return this._client.post(path `/v1/messaging/email-domains/${id}/actions/verify`, options);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=actions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,+BAA+B,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;CACF"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as APIKeysAPI from "../../auth/api-keys/api-keys.mjs";
|
|
3
|
+
import * as ActionsAPI from "./actions.mjs";
|
|
4
|
+
import { Actions } from "./actions.mjs";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* Register customer-owned domains with the email bridge and verify them for sending and receiving mail.
|
|
9
|
+
*/
|
|
10
|
+
export declare class EmailDomains extends APIResource {
|
|
11
|
+
actions: ActionsAPI.Actions;
|
|
12
|
+
/**
|
|
13
|
+
* Registers a customer-owned domain with the email bridge and returns the DKIM
|
|
14
|
+
* records to publish.
|
|
15
|
+
*
|
|
16
|
+
* The domain starts in `pending` until verified.
|
|
17
|
+
*
|
|
18
|
+
* This endpoint requires the permission: `messaging:create`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const emailDomain =
|
|
23
|
+
* await client.messaging.emailDomains.create({
|
|
24
|
+
* domain: 'support.acme.com',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(body: EmailDomainCreateParams, options?: RequestOptions): APIPromise<EmailDomain>;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the account's registered email domains.
|
|
31
|
+
*
|
|
32
|
+
* This endpoint requires the permission: `messaging:read`.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const listEmailDomain =
|
|
37
|
+
* await client.messaging.emailDomains.list();
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
list(options?: RequestOptions): APIPromise<ListEmailDomain>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns a single email domain owned by the account.
|
|
43
|
+
*
|
|
44
|
+
* This endpoint requires the permission: `messaging:read`.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const emailDomain =
|
|
49
|
+
* await client.messaging.emailDomains.retrieve(
|
|
50
|
+
* 'emdom_018e88072d1320808dc9aaa01',
|
|
51
|
+
* );
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<EmailDomain>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Request to register a sending/receiving domain with the email bridge.
|
|
58
|
+
*/
|
|
59
|
+
export interface CreateEmailDomainRequest {
|
|
60
|
+
/**
|
|
61
|
+
* The fully-qualified domain name to register (e.g. `support.acme.com`).
|
|
62
|
+
*/
|
|
63
|
+
domain: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* A domain registered with the email bridge for sending and receiving mail.
|
|
67
|
+
*
|
|
68
|
+
* After registration the domain starts in `pending`; publish the returned DKIM
|
|
69
|
+
* records, then poll the verify action until it flips to `verified`.
|
|
70
|
+
*/
|
|
71
|
+
export interface EmailDomain {
|
|
72
|
+
/**
|
|
73
|
+
* Email domain ID.
|
|
74
|
+
*/
|
|
75
|
+
id: string;
|
|
76
|
+
/**
|
|
77
|
+
* Creation timestamp.
|
|
78
|
+
*/
|
|
79
|
+
created_at: string;
|
|
80
|
+
/**
|
|
81
|
+
* The DKIM CNAME tokens the customer must publish in DNS to verify the domain.
|
|
82
|
+
*/
|
|
83
|
+
dkim_tokens: Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The fully-qualified domain name (e.g. `support.acme.com`).
|
|
86
|
+
*/
|
|
87
|
+
domain: string;
|
|
88
|
+
/**
|
|
89
|
+
* Resource type identifier.
|
|
90
|
+
*/
|
|
91
|
+
object: 'email_domain';
|
|
92
|
+
/**
|
|
93
|
+
* Verification status.
|
|
94
|
+
*
|
|
95
|
+
* - `pending`: registered and awaiting DKIM confirmation.
|
|
96
|
+
* - `verified`: DKIM confirmed; the domain can send and receive mail.
|
|
97
|
+
* - `failed`: verification could not be completed.
|
|
98
|
+
*/
|
|
99
|
+
status: string;
|
|
100
|
+
/**
|
|
101
|
+
* Last updated timestamp.
|
|
102
|
+
*/
|
|
103
|
+
updated_at: string;
|
|
104
|
+
/**
|
|
105
|
+
* When the domain's DKIM verification was confirmed.
|
|
106
|
+
*/
|
|
107
|
+
verified_at: string | null;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* List represents a paginated list of resources.
|
|
111
|
+
*/
|
|
112
|
+
export interface ListEmailDomain {
|
|
113
|
+
/**
|
|
114
|
+
* Resources in this page.
|
|
115
|
+
*/
|
|
116
|
+
data: Array<EmailDomain>;
|
|
117
|
+
/**
|
|
118
|
+
* Resource type identifier.
|
|
119
|
+
*/
|
|
120
|
+
object: 'list';
|
|
121
|
+
/**
|
|
122
|
+
* PageInfo contains URL-based pagination metadata.
|
|
123
|
+
*/
|
|
124
|
+
page_info: APIKeysAPI.PageInfo;
|
|
125
|
+
}
|
|
126
|
+
export interface EmailDomainCreateParams {
|
|
127
|
+
/**
|
|
128
|
+
* The fully-qualified domain name to register (e.g. `support.acme.com`).
|
|
129
|
+
*/
|
|
130
|
+
domain: string;
|
|
131
|
+
}
|
|
132
|
+
export declare namespace EmailDomains {
|
|
133
|
+
export { type CreateEmailDomainRequest as CreateEmailDomainRequest, type EmailDomain as EmailDomain, type ListEmailDomain as ListEmailDomain, type EmailDomainCreateParams as EmailDomainCreateParams, };
|
|
134
|
+
export { Actions as Actions };
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=email-domains.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-domains.d.mts","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/email-domains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIxF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI3D;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;CAGxE;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IAEvB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC;CAChC;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as APIKeysAPI from "../../auth/api-keys/api-keys.js";
|
|
3
|
+
import * as ActionsAPI from "./actions.js";
|
|
4
|
+
import { Actions } from "./actions.js";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
7
|
+
/**
|
|
8
|
+
* Register customer-owned domains with the email bridge and verify them for sending and receiving mail.
|
|
9
|
+
*/
|
|
10
|
+
export declare class EmailDomains extends APIResource {
|
|
11
|
+
actions: ActionsAPI.Actions;
|
|
12
|
+
/**
|
|
13
|
+
* Registers a customer-owned domain with the email bridge and returns the DKIM
|
|
14
|
+
* records to publish.
|
|
15
|
+
*
|
|
16
|
+
* The domain starts in `pending` until verified.
|
|
17
|
+
*
|
|
18
|
+
* This endpoint requires the permission: `messaging:create`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const emailDomain =
|
|
23
|
+
* await client.messaging.emailDomains.create({
|
|
24
|
+
* domain: 'support.acme.com',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(body: EmailDomainCreateParams, options?: RequestOptions): APIPromise<EmailDomain>;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the account's registered email domains.
|
|
31
|
+
*
|
|
32
|
+
* This endpoint requires the permission: `messaging:read`.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const listEmailDomain =
|
|
37
|
+
* await client.messaging.emailDomains.list();
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
list(options?: RequestOptions): APIPromise<ListEmailDomain>;
|
|
41
|
+
/**
|
|
42
|
+
* Returns a single email domain owned by the account.
|
|
43
|
+
*
|
|
44
|
+
* This endpoint requires the permission: `messaging:read`.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const emailDomain =
|
|
49
|
+
* await client.messaging.emailDomains.retrieve(
|
|
50
|
+
* 'emdom_018e88072d1320808dc9aaa01',
|
|
51
|
+
* );
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<EmailDomain>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Request to register a sending/receiving domain with the email bridge.
|
|
58
|
+
*/
|
|
59
|
+
export interface CreateEmailDomainRequest {
|
|
60
|
+
/**
|
|
61
|
+
* The fully-qualified domain name to register (e.g. `support.acme.com`).
|
|
62
|
+
*/
|
|
63
|
+
domain: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* A domain registered with the email bridge for sending and receiving mail.
|
|
67
|
+
*
|
|
68
|
+
* After registration the domain starts in `pending`; publish the returned DKIM
|
|
69
|
+
* records, then poll the verify action until it flips to `verified`.
|
|
70
|
+
*/
|
|
71
|
+
export interface EmailDomain {
|
|
72
|
+
/**
|
|
73
|
+
* Email domain ID.
|
|
74
|
+
*/
|
|
75
|
+
id: string;
|
|
76
|
+
/**
|
|
77
|
+
* Creation timestamp.
|
|
78
|
+
*/
|
|
79
|
+
created_at: string;
|
|
80
|
+
/**
|
|
81
|
+
* The DKIM CNAME tokens the customer must publish in DNS to verify the domain.
|
|
82
|
+
*/
|
|
83
|
+
dkim_tokens: Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The fully-qualified domain name (e.g. `support.acme.com`).
|
|
86
|
+
*/
|
|
87
|
+
domain: string;
|
|
88
|
+
/**
|
|
89
|
+
* Resource type identifier.
|
|
90
|
+
*/
|
|
91
|
+
object: 'email_domain';
|
|
92
|
+
/**
|
|
93
|
+
* Verification status.
|
|
94
|
+
*
|
|
95
|
+
* - `pending`: registered and awaiting DKIM confirmation.
|
|
96
|
+
* - `verified`: DKIM confirmed; the domain can send and receive mail.
|
|
97
|
+
* - `failed`: verification could not be completed.
|
|
98
|
+
*/
|
|
99
|
+
status: string;
|
|
100
|
+
/**
|
|
101
|
+
* Last updated timestamp.
|
|
102
|
+
*/
|
|
103
|
+
updated_at: string;
|
|
104
|
+
/**
|
|
105
|
+
* When the domain's DKIM verification was confirmed.
|
|
106
|
+
*/
|
|
107
|
+
verified_at: string | null;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* List represents a paginated list of resources.
|
|
111
|
+
*/
|
|
112
|
+
export interface ListEmailDomain {
|
|
113
|
+
/**
|
|
114
|
+
* Resources in this page.
|
|
115
|
+
*/
|
|
116
|
+
data: Array<EmailDomain>;
|
|
117
|
+
/**
|
|
118
|
+
* Resource type identifier.
|
|
119
|
+
*/
|
|
120
|
+
object: 'list';
|
|
121
|
+
/**
|
|
122
|
+
* PageInfo contains URL-based pagination metadata.
|
|
123
|
+
*/
|
|
124
|
+
page_info: APIKeysAPI.PageInfo;
|
|
125
|
+
}
|
|
126
|
+
export interface EmailDomainCreateParams {
|
|
127
|
+
/**
|
|
128
|
+
* The fully-qualified domain name to register (e.g. `support.acme.com`).
|
|
129
|
+
*/
|
|
130
|
+
domain: string;
|
|
131
|
+
}
|
|
132
|
+
export declare namespace EmailDomains {
|
|
133
|
+
export { type CreateEmailDomainRequest as CreateEmailDomainRequest, type EmailDomain as EmailDomain, type ListEmailDomain as ListEmailDomain, type EmailDomainCreateParams as EmailDomainCreateParams, };
|
|
134
|
+
export { Actions as Actions };
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=email-domains.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-domains.d.ts","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/email-domains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIxF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI3D;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;CAGxE;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IAEvB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC;CAChC;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.EmailDomains = 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
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
10
|
+
/**
|
|
11
|
+
* Register customer-owned domains with the email bridge and verify them for sending and receiving mail.
|
|
12
|
+
*/
|
|
13
|
+
class EmailDomains extends resource_1.APIResource {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.actions = new ActionsAPI.Actions(this._client);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Registers a customer-owned domain with the email bridge and returns the DKIM
|
|
20
|
+
* records to publish.
|
|
21
|
+
*
|
|
22
|
+
* The domain starts in `pending` until verified.
|
|
23
|
+
*
|
|
24
|
+
* This endpoint requires the permission: `messaging:create`.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const emailDomain =
|
|
29
|
+
* await client.messaging.emailDomains.create({
|
|
30
|
+
* domain: 'support.acme.com',
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
create(body, options) {
|
|
35
|
+
return this._client.post('/v1/messaging/email-domains', { body, ...options });
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Returns the account's registered email domains.
|
|
39
|
+
*
|
|
40
|
+
* This endpoint requires the permission: `messaging:read`.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* const listEmailDomain =
|
|
45
|
+
* await client.messaging.emailDomains.list();
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
list(options) {
|
|
49
|
+
return this._client.get('/v1/messaging/email-domains', options);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns a single email domain owned by the account.
|
|
53
|
+
*
|
|
54
|
+
* This endpoint requires the permission: `messaging:read`.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const emailDomain =
|
|
59
|
+
* await client.messaging.emailDomains.retrieve(
|
|
60
|
+
* 'emdom_018e88072d1320808dc9aaa01',
|
|
61
|
+
* );
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
retrieve(id, options) {
|
|
65
|
+
return this._client.get((0, path_1.path) `/v1/messaging/email-domains/${id}`, options);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.EmailDomains = EmailDomains;
|
|
69
|
+
EmailDomains.Actions = actions_1.Actions;
|
|
70
|
+
//# sourceMappingURL=email-domains.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-domains.js","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/email-domains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,iEAAwC;AACxC,0CAAoC;AAGpC,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqDrE,CAAC;IAnDC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AAtDD,oCAsDC;AA2FD,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* Register customer-owned domains with the email bridge and verify them for sending and receiving mail.
|
|
8
|
+
*/
|
|
9
|
+
export class EmailDomains extends APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.actions = new ActionsAPI.Actions(this._client);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Registers a customer-owned domain with the email bridge and returns the DKIM
|
|
16
|
+
* records to publish.
|
|
17
|
+
*
|
|
18
|
+
* The domain starts in `pending` until verified.
|
|
19
|
+
*
|
|
20
|
+
* This endpoint requires the permission: `messaging:create`.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const emailDomain =
|
|
25
|
+
* await client.messaging.emailDomains.create({
|
|
26
|
+
* domain: 'support.acme.com',
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
create(body, options) {
|
|
31
|
+
return this._client.post('/v1/messaging/email-domains', { body, ...options });
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Returns the account's registered email domains.
|
|
35
|
+
*
|
|
36
|
+
* This endpoint requires the permission: `messaging:read`.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const listEmailDomain =
|
|
41
|
+
* await client.messaging.emailDomains.list();
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
list(options) {
|
|
45
|
+
return this._client.get('/v1/messaging/email-domains', options);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns a single email domain owned by the account.
|
|
49
|
+
*
|
|
50
|
+
* This endpoint requires the permission: `messaging:read`.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const emailDomain =
|
|
55
|
+
* await client.messaging.emailDomains.retrieve(
|
|
56
|
+
* 'emdom_018e88072d1320808dc9aaa01',
|
|
57
|
+
* );
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
retrieve(id, options) {
|
|
61
|
+
return this._client.get(path `/v1/messaging/email-domains/${id}`, options);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
EmailDomains.Actions = Actions;
|
|
65
|
+
//# sourceMappingURL=email-domains.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-domains.mjs","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/email-domains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;OAGX,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqDrE,CAAC;IAnDC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AA2FD,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EACL,YAAY,EACZ,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,uBAAuB,GAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EACL,YAAY,EACZ,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,uBAAuB,GAC7B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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.EmailDomains = exports.Actions = void 0;
|
|
5
|
+
var actions_1 = require("./actions.js");
|
|
6
|
+
Object.defineProperty(exports, "Actions", { enumerable: true, get: function () { return actions_1.Actions; } });
|
|
7
|
+
var email_domains_1 = require("./email-domains.js");
|
|
8
|
+
Object.defineProperty(exports, "EmailDomains", { enumerable: true, get: function () { return email_domains_1.EmailDomains; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,oDAMyB;AALvB,6GAAA,YAAY,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/messaging/email-domains/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EACL,YAAY,GAKb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-domains.d.mts","sourceRoot":"","sources":["../../src/resources/messaging/email-domains.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-domains.d.ts","sourceRoot":"","sources":["../../src/resources/messaging/email-domains.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./email-domains/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=email-domains.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-domains.js","sourceRoot":"","sources":["../../src/resources/messaging/email-domains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-domains.mjs","sourceRoot":"","sources":["../../src/resources/messaging/email-domains.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|