@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
|
@@ -7,16 +7,119 @@ import * as RequestLogsAPI from "./request-logs.mjs";
|
|
|
7
7
|
import { Actor, ListRequestLog, RequestLog, RequestLogListParams, RequestLogRetrieveParams, RequestLogs } from "./request-logs.mjs";
|
|
8
8
|
import * as SandboxesAPI from "./sandboxes.mjs";
|
|
9
9
|
import { CreateSandboxRequest, ListSandbox, Sandbox, SandboxCreateParams, SandboxDeleteResponse, SandboxListParams, SandboxRetrieveParams, Sandboxes } from "./sandboxes.mjs";
|
|
10
|
+
import * as APIKeysAPI from "../auth/api-keys/api-keys.mjs";
|
|
10
11
|
import * as AddressesAPI from "./addresses/addresses.mjs";
|
|
11
12
|
import { AddressRetrieveSuggestionsParams, AddressSuggestion, Addresses, ListAddressSuggestion } from "./addresses/addresses.mjs";
|
|
13
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
14
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
15
|
+
/**
|
|
16
|
+
* Unified free-text search across resource types, returning lightweight entity references.
|
|
17
|
+
*/
|
|
12
18
|
export declare class Core extends APIResource {
|
|
13
19
|
sandboxes: SandboxesAPI.Sandboxes;
|
|
14
20
|
requestLogs: RequestLogsAPI.RequestLogs;
|
|
15
21
|
auditEvents: AuditEventsAPI.AuditEvents;
|
|
16
22
|
addresses: AddressesAPI.Addresses;
|
|
17
23
|
emailLogs: EmailLogsAPI.EmailLogs;
|
|
24
|
+
/**
|
|
25
|
+
* Search returns lightweight `entity` references matching the query across the
|
|
26
|
+
* resource types the caller can read.
|
|
27
|
+
*
|
|
28
|
+
* This endpoint requires the permissions: `sales_orders:read`,
|
|
29
|
+
* `purchase_orders:read`, `invoices:read`, `customers:read`, `items:read`,
|
|
30
|
+
* `shipments:read`, `messaging:read`, `agents:read`.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const listEntity = await client.core.retrieveSearch();
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieveSearch(query?: CoreRetrieveSearchParams | null | undefined, options?: RequestOptions): APIPromise<ListEntity>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Entity is a polymorphic reference to any resource in the system.
|
|
41
|
+
*/
|
|
42
|
+
export interface Entity {
|
|
43
|
+
/**
|
|
44
|
+
* Unique identifier for the entity.
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Secondary human-readable identifier (e.g. email address, username, redacted API
|
|
49
|
+
* key value).
|
|
50
|
+
*/
|
|
51
|
+
handle: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Human-readable display name for the entity (e.g. a user's full name, a sales
|
|
54
|
+
* order number).
|
|
55
|
+
*/
|
|
56
|
+
name: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Resource type identifier.
|
|
59
|
+
*/
|
|
60
|
+
object: 'entity';
|
|
61
|
+
/**
|
|
62
|
+
* The resource kind that this entity references, as an object-type value (e.g.
|
|
63
|
+
* `user`, `account`).
|
|
64
|
+
*
|
|
65
|
+
* Unlike `object` — which is always `entity` — this names the underlying resource
|
|
66
|
+
* the `id` points to.
|
|
67
|
+
*/
|
|
68
|
+
type: 'account' | 'actor' | 'entity' | 'record' | 'freight' | 'sales_order_totals' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'conversation_participant' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_notification_preferences' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_oee_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'pack_pick_response' | 'pick_shipments_response' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order_response' | 'create_production_run_response' | 'sales_order_price_quote' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member';
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* List represents a paginated list of resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface ListEntity {
|
|
74
|
+
/**
|
|
75
|
+
* Resources in this page.
|
|
76
|
+
*/
|
|
77
|
+
data: Array<Entity>;
|
|
78
|
+
/**
|
|
79
|
+
* Resource type identifier.
|
|
80
|
+
*/
|
|
81
|
+
object: 'list';
|
|
82
|
+
/**
|
|
83
|
+
* PageInfo contains URL-based pagination metadata.
|
|
84
|
+
*/
|
|
85
|
+
page_info: APIKeysAPI.PageInfo;
|
|
86
|
+
}
|
|
87
|
+
export interface CoreRetrieveSearchParams {
|
|
88
|
+
/**
|
|
89
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
90
|
+
*
|
|
91
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
92
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
93
|
+
* page.
|
|
94
|
+
*/
|
|
95
|
+
cursor?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Restrict the search to a single customer by their account ID.
|
|
98
|
+
*
|
|
99
|
+
* When set, only resource types that are safe to expose to a customer are searched
|
|
100
|
+
* (their sales orders, invoices, and shipments), and results are limited to
|
|
101
|
+
* records belonging to that customer.
|
|
102
|
+
*/
|
|
103
|
+
customer?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Maximum number of results to return in a single page.
|
|
106
|
+
*/
|
|
107
|
+
limit?: number;
|
|
108
|
+
/**
|
|
109
|
+
* Free-text search term used to filter results.
|
|
110
|
+
*
|
|
111
|
+
* Which fields are matched against the term varies by endpoint.
|
|
112
|
+
*/
|
|
113
|
+
q?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Filter the search to specific resource types.
|
|
116
|
+
*
|
|
117
|
+
* Omit to search every supported type the caller can read.
|
|
118
|
+
*/
|
|
119
|
+
types?: Array<'account' | 'actor' | 'entity' | 'record' | 'freight' | 'sales_order_totals' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'conversation_participant' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_notification_preferences' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_oee_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'pack_pick_response' | 'pick_shipments_response' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order_response' | 'create_production_run_response' | 'sales_order_price_quote' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member'>;
|
|
18
120
|
}
|
|
19
121
|
export declare namespace Core {
|
|
122
|
+
export { type Entity as Entity, type ListEntity as ListEntity, type CoreRetrieveSearchParams as CoreRetrieveSearchParams, };
|
|
20
123
|
export { Sandboxes as Sandboxes, type CreateSandboxRequest as CreateSandboxRequest, type ListSandbox as ListSandbox, type Sandbox as Sandbox, type SandboxDeleteResponse as SandboxDeleteResponse, type SandboxListParams as SandboxListParams, type SandboxRetrieveParams as SandboxRetrieveParams, type SandboxCreateParams as SandboxCreateParams, };
|
|
21
124
|
export { RequestLogs as RequestLogs, type Actor as Actor, type ListRequestLog as ListRequestLog, type RequestLog as RequestLog, type RequestLogListParams as RequestLogListParams, type RequestLogRetrieveParams as RequestLogRetrieveParams, };
|
|
22
125
|
export { AuditEvents as AuditEvents, type AuditEvent as AuditEvent, type AuditFieldChange as AuditFieldChange, type ListAuditEvent as ListAuditEvent, type ListAuditFieldChange as ListAuditFieldChange, type ListObjectType as ListObjectType, type AuditEventListParams as AuditEventListParams, type AuditEventRetrieveParams as AuditEventRetrieveParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.mts","sourceRoot":"","sources":["../../src/resources/core/core.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,UAAU,EACV,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACf;OACM,KAAK,YAAY;OACjB,EAAE,QAAQ,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,SAAS,EAAE,YAAY,EAAE;OACjF,KAAK,cAAc;OACnB,EACL,KAAK,EACL,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACZ;OACM,KAAK,YAAY;OACjB,EACL,oBAAoB,EACpB,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,SAAS,EACV;OACM,KAAK,YAAY;OACjB,EACL,gCAAgC,EAChC,iBAAiB,EACjB,SAAS,EACT,qBAAqB,EACtB;
|
|
1
|
+
{"version":3,"file":"core.d.mts","sourceRoot":"","sources":["../../src/resources/core/core.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,UAAU,EACV,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACf;OACM,KAAK,YAAY;OACjB,EAAE,QAAQ,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,SAAS,EAAE,YAAY,EAAE;OACjF,KAAK,cAAc;OACnB,EACL,KAAK,EACL,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACZ;OACM,KAAK,YAAY;OACjB,EACL,oBAAoB,EACpB,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,SAAS,EACV;OACM,KAAK,UAAU;OACf,KAAK,YAAY;OACjB,EACL,gCAAgC,EAChC,iBAAiB,EACjB,SAAS,EACT,qBAAqB,EACtB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,IAAK,SAAQ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;CACH"}
|
package/resources/core/core.d.ts
CHANGED
|
@@ -7,16 +7,119 @@ import * as RequestLogsAPI from "./request-logs.js";
|
|
|
7
7
|
import { Actor, ListRequestLog, RequestLog, RequestLogListParams, RequestLogRetrieveParams, RequestLogs } from "./request-logs.js";
|
|
8
8
|
import * as SandboxesAPI from "./sandboxes.js";
|
|
9
9
|
import { CreateSandboxRequest, ListSandbox, Sandbox, SandboxCreateParams, SandboxDeleteResponse, SandboxListParams, SandboxRetrieveParams, Sandboxes } from "./sandboxes.js";
|
|
10
|
+
import * as APIKeysAPI from "../auth/api-keys/api-keys.js";
|
|
10
11
|
import * as AddressesAPI from "./addresses/addresses.js";
|
|
11
12
|
import { AddressRetrieveSuggestionsParams, AddressSuggestion, Addresses, ListAddressSuggestion } from "./addresses/addresses.js";
|
|
13
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
14
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
15
|
+
/**
|
|
16
|
+
* Unified free-text search across resource types, returning lightweight entity references.
|
|
17
|
+
*/
|
|
12
18
|
export declare class Core extends APIResource {
|
|
13
19
|
sandboxes: SandboxesAPI.Sandboxes;
|
|
14
20
|
requestLogs: RequestLogsAPI.RequestLogs;
|
|
15
21
|
auditEvents: AuditEventsAPI.AuditEvents;
|
|
16
22
|
addresses: AddressesAPI.Addresses;
|
|
17
23
|
emailLogs: EmailLogsAPI.EmailLogs;
|
|
24
|
+
/**
|
|
25
|
+
* Search returns lightweight `entity` references matching the query across the
|
|
26
|
+
* resource types the caller can read.
|
|
27
|
+
*
|
|
28
|
+
* This endpoint requires the permissions: `sales_orders:read`,
|
|
29
|
+
* `purchase_orders:read`, `invoices:read`, `customers:read`, `items:read`,
|
|
30
|
+
* `shipments:read`, `messaging:read`, `agents:read`.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const listEntity = await client.core.retrieveSearch();
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieveSearch(query?: CoreRetrieveSearchParams | null | undefined, options?: RequestOptions): APIPromise<ListEntity>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Entity is a polymorphic reference to any resource in the system.
|
|
41
|
+
*/
|
|
42
|
+
export interface Entity {
|
|
43
|
+
/**
|
|
44
|
+
* Unique identifier for the entity.
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* Secondary human-readable identifier (e.g. email address, username, redacted API
|
|
49
|
+
* key value).
|
|
50
|
+
*/
|
|
51
|
+
handle: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Human-readable display name for the entity (e.g. a user's full name, a sales
|
|
54
|
+
* order number).
|
|
55
|
+
*/
|
|
56
|
+
name: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Resource type identifier.
|
|
59
|
+
*/
|
|
60
|
+
object: 'entity';
|
|
61
|
+
/**
|
|
62
|
+
* The resource kind that this entity references, as an object-type value (e.g.
|
|
63
|
+
* `user`, `account`).
|
|
64
|
+
*
|
|
65
|
+
* Unlike `object` — which is always `entity` — this names the underlying resource
|
|
66
|
+
* the `id` points to.
|
|
67
|
+
*/
|
|
68
|
+
type: 'account' | 'actor' | 'entity' | 'record' | 'freight' | 'sales_order_totals' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'conversation_participant' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_notification_preferences' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_oee_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'pack_pick_response' | 'pick_shipments_response' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order_response' | 'create_production_run_response' | 'sales_order_price_quote' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member';
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* List represents a paginated list of resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface ListEntity {
|
|
74
|
+
/**
|
|
75
|
+
* Resources in this page.
|
|
76
|
+
*/
|
|
77
|
+
data: Array<Entity>;
|
|
78
|
+
/**
|
|
79
|
+
* Resource type identifier.
|
|
80
|
+
*/
|
|
81
|
+
object: 'list';
|
|
82
|
+
/**
|
|
83
|
+
* PageInfo contains URL-based pagination metadata.
|
|
84
|
+
*/
|
|
85
|
+
page_info: APIKeysAPI.PageInfo;
|
|
86
|
+
}
|
|
87
|
+
export interface CoreRetrieveSearchParams {
|
|
88
|
+
/**
|
|
89
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
90
|
+
*
|
|
91
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
92
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
93
|
+
* page.
|
|
94
|
+
*/
|
|
95
|
+
cursor?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Restrict the search to a single customer by their account ID.
|
|
98
|
+
*
|
|
99
|
+
* When set, only resource types that are safe to expose to a customer are searched
|
|
100
|
+
* (their sales orders, invoices, and shipments), and results are limited to
|
|
101
|
+
* records belonging to that customer.
|
|
102
|
+
*/
|
|
103
|
+
customer?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Maximum number of results to return in a single page.
|
|
106
|
+
*/
|
|
107
|
+
limit?: number;
|
|
108
|
+
/**
|
|
109
|
+
* Free-text search term used to filter results.
|
|
110
|
+
*
|
|
111
|
+
* Which fields are matched against the term varies by endpoint.
|
|
112
|
+
*/
|
|
113
|
+
q?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Filter the search to specific resource types.
|
|
116
|
+
*
|
|
117
|
+
* Omit to search every supported type the caller can read.
|
|
118
|
+
*/
|
|
119
|
+
types?: Array<'account' | 'actor' | 'entity' | 'record' | 'freight' | 'sales_order_totals' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'conversation_participant' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_notification_preferences' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_oee_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'pack_pick_response' | 'pick_shipments_response' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order_response' | 'create_production_run_response' | 'sales_order_price_quote' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member'>;
|
|
18
120
|
}
|
|
19
121
|
export declare namespace Core {
|
|
122
|
+
export { type Entity as Entity, type ListEntity as ListEntity, type CoreRetrieveSearchParams as CoreRetrieveSearchParams, };
|
|
20
123
|
export { Sandboxes as Sandboxes, type CreateSandboxRequest as CreateSandboxRequest, type ListSandbox as ListSandbox, type Sandbox as Sandbox, type SandboxDeleteResponse as SandboxDeleteResponse, type SandboxListParams as SandboxListParams, type SandboxRetrieveParams as SandboxRetrieveParams, type SandboxCreateParams as SandboxCreateParams, };
|
|
21
124
|
export { RequestLogs as RequestLogs, type Actor as Actor, type ListRequestLog as ListRequestLog, type RequestLog as RequestLog, type RequestLogListParams as RequestLogListParams, type RequestLogRetrieveParams as RequestLogRetrieveParams, };
|
|
22
125
|
export { AuditEvents as AuditEvents, type AuditEvent as AuditEvent, type AuditFieldChange as AuditFieldChange, type ListAuditEvent as ListAuditEvent, type ListAuditFieldChange as ListAuditFieldChange, type ListObjectType as ListObjectType, type AuditEventListParams as AuditEventListParams, type AuditEventRetrieveParams as AuditEventRetrieveParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/resources/core/core.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,UAAU,EACV,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACf;OACM,KAAK,YAAY;OACjB,EAAE,QAAQ,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,SAAS,EAAE,YAAY,EAAE;OACjF,KAAK,cAAc;OACnB,EACL,KAAK,EACL,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACZ;OACM,KAAK,YAAY;OACjB,EACL,oBAAoB,EACpB,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,SAAS,EACV;OACM,KAAK,YAAY;OACjB,EACL,gCAAgC,EAChC,iBAAiB,EACjB,SAAS,EACT,qBAAqB,EACtB;
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/resources/core/core.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,UAAU,EACV,oBAAoB,EAC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IAAI,WAAW,EAC1B,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
package/resources/core/core.js
CHANGED
|
@@ -14,6 +14,9 @@ const SandboxesAPI = tslib_1.__importStar(require("./sandboxes.js"));
|
|
|
14
14
|
const sandboxes_1 = require("./sandboxes.js");
|
|
15
15
|
const AddressesAPI = tslib_1.__importStar(require("./addresses/addresses.js"));
|
|
16
16
|
const addresses_1 = require("./addresses/addresses.js");
|
|
17
|
+
/**
|
|
18
|
+
* Unified free-text search across resource types, returning lightweight entity references.
|
|
19
|
+
*/
|
|
17
20
|
class Core extends resource_1.APIResource {
|
|
18
21
|
constructor() {
|
|
19
22
|
super(...arguments);
|
|
@@ -23,6 +26,22 @@ class Core extends resource_1.APIResource {
|
|
|
23
26
|
this.addresses = new AddressesAPI.Addresses(this._client);
|
|
24
27
|
this.emailLogs = new EmailLogsAPI.EmailLogs(this._client);
|
|
25
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Search returns lightweight `entity` references matching the query across the
|
|
31
|
+
* resource types the caller can read.
|
|
32
|
+
*
|
|
33
|
+
* This endpoint requires the permissions: `sales_orders:read`,
|
|
34
|
+
* `purchase_orders:read`, `invoices:read`, `customers:read`, `items:read`,
|
|
35
|
+
* `shipments:read`, `messaging:read`, `agents:read`.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const listEntity = await client.core.retrieveSearch();
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
retrieveSearch(query = {}, options) {
|
|
43
|
+
return this._client.get('/v1/core/search', { query, ...options });
|
|
44
|
+
}
|
|
26
45
|
}
|
|
27
46
|
exports.Core = Core;
|
|
28
47
|
Core.Sandboxes = sandboxes_1.Sandboxes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../src/resources/core/core.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,0EAAiD;AACjD,oDASwB;AACxB,sEAA6C;AAC7C,gDAA6G;AAC7G,0EAAiD;AACjD,oDAOwB;AACxB,qEAA4C;AAC5C,8CASqB;
|
|
1
|
+
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../src/resources/core/core.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,0EAAiD;AACjD,oDASwB;AACxB,sEAA6C;AAC7C,gDAA6G;AAC7G,0EAAiD;AACjD,oDAOwB;AACxB,qEAA4C;AAC5C,8CASqB;AAErB,+EAAsD;AACtD,wDAK+B;AAI/B;;GAEG;AACH,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqB/E,CAAC;IAnBC;;;;;;;;;;;;OAYG;IACH,cAAc,CACZ,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;CACF;AA1BD,oBA0BC;AA0jBD,IAAI,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC3B,IAAI,CAAC,WAAW,GAAG,0BAAW,CAAC;AAC/B,IAAI,CAAC,WAAW,GAAG,0BAAW,CAAC;AAC/B,IAAI,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC3B,IAAI,CAAC,SAAS,GAAG,sBAAS,CAAC"}
|
package/resources/core/core.mjs
CHANGED
|
@@ -10,6 +10,9 @@ import * as SandboxesAPI from "./sandboxes.mjs";
|
|
|
10
10
|
import { Sandboxes, } from "./sandboxes.mjs";
|
|
11
11
|
import * as AddressesAPI from "./addresses/addresses.mjs";
|
|
12
12
|
import { Addresses, } from "./addresses/addresses.mjs";
|
|
13
|
+
/**
|
|
14
|
+
* Unified free-text search across resource types, returning lightweight entity references.
|
|
15
|
+
*/
|
|
13
16
|
export class Core extends APIResource {
|
|
14
17
|
constructor() {
|
|
15
18
|
super(...arguments);
|
|
@@ -19,6 +22,22 @@ export class Core extends APIResource {
|
|
|
19
22
|
this.addresses = new AddressesAPI.Addresses(this._client);
|
|
20
23
|
this.emailLogs = new EmailLogsAPI.EmailLogs(this._client);
|
|
21
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Search returns lightweight `entity` references matching the query across the
|
|
27
|
+
* resource types the caller can read.
|
|
28
|
+
*
|
|
29
|
+
* This endpoint requires the permissions: `sales_orders:read`,
|
|
30
|
+
* `purchase_orders:read`, `invoices:read`, `customers:read`, `items:read`,
|
|
31
|
+
* `shipments:read`, `messaging:read`, `agents:read`.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const listEntity = await client.core.retrieveSearch();
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
retrieveSearch(query = {}, options) {
|
|
39
|
+
return this._client.get('/v1/core/search', { query, ...options });
|
|
40
|
+
}
|
|
22
41
|
}
|
|
23
42
|
Core.Sandboxes = Sandboxes;
|
|
24
43
|
Core.RequestLogs = RequestLogs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.mjs","sourceRoot":"","sources":["../../src/resources/core/core.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAIL,WAAW,GAKZ;OACM,KAAK,YAAY;OACjB,EAAwD,SAAS,EAAgB;OACjF,KAAK,cAAc;OACnB,EAML,WAAW,GACZ;OACM,KAAK,YAAY;OACjB,EAQL,SAAS,GACV;
|
|
1
|
+
{"version":3,"file":"core.mjs","sourceRoot":"","sources":["../../src/resources/core/core.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAIL,WAAW,GAKZ;OACM,KAAK,YAAY;OACjB,EAAwD,SAAS,EAAgB;OACjF,KAAK,cAAc;OACnB,EAML,WAAW,GACZ;OACM,KAAK,YAAY;OACjB,EAQL,SAAS,GACV;OAEM,KAAK,YAAY;OACjB,EAGL,SAAS,GAEV;AAID;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqB/E,CAAC;IAnBC;;;;;;;;;;;;OAYG;IACH,cAAc,CACZ,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;CACF;AA0jBD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;AAC3B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;AAC/B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;AAC/B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;AAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -10,6 +10,8 @@ export declare class EmailLogs extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Returns a paginated list of email logs for the current account.
|
|
12
12
|
*
|
|
13
|
+
* This endpoint requires the permission: `email_logs:read`.
|
|
14
|
+
*
|
|
13
15
|
* @example
|
|
14
16
|
* ```ts
|
|
15
17
|
* const listEmailLog = await client.core.emailLogs.list();
|
|
@@ -19,6 +21,8 @@ export declare class EmailLogs extends APIResource {
|
|
|
19
21
|
/**
|
|
20
22
|
* Returns an email log by ID.
|
|
21
23
|
*
|
|
24
|
+
* This endpoint requires the permission: `email_logs:read`.
|
|
25
|
+
*
|
|
22
26
|
* @example
|
|
23
27
|
* ```ts
|
|
24
28
|
* const emailLog = await client.core.emailLogs.retrieve(
|
|
@@ -61,7 +65,8 @@ export interface EmailLog {
|
|
|
61
65
|
*/
|
|
62
66
|
send_status: 'sent' | 'pending';
|
|
63
67
|
/**
|
|
64
|
-
* Reference to an actor
|
|
68
|
+
* Reference to an actor — the user, API key, agent, or group identity associated
|
|
69
|
+
* with an action.
|
|
65
70
|
*/
|
|
66
71
|
sent_by: RequestLogsAPI.Actor | null;
|
|
67
72
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-logs.d.mts","sourceRoot":"","sources":["../../src/resources/core/email-logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC
|
|
1
|
+
{"version":3,"file":"email-logs.d.mts","sourceRoot":"","sources":["../../src/resources/core/email-logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;IAI3B;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC;CAGxB;AAED;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B;;;;;OAKG;IACH,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAEhC;;;OAGG;IACH,OAAO,EAAE,cAAc,CAAC,KAAK,GAAG,IAAI,CAAC;IAErC;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAEtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC;CAChC;AAED,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -10,6 +10,8 @@ export declare class EmailLogs extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Returns a paginated list of email logs for the current account.
|
|
12
12
|
*
|
|
13
|
+
* This endpoint requires the permission: `email_logs:read`.
|
|
14
|
+
*
|
|
13
15
|
* @example
|
|
14
16
|
* ```ts
|
|
15
17
|
* const listEmailLog = await client.core.emailLogs.list();
|
|
@@ -19,6 +21,8 @@ export declare class EmailLogs extends APIResource {
|
|
|
19
21
|
/**
|
|
20
22
|
* Returns an email log by ID.
|
|
21
23
|
*
|
|
24
|
+
* This endpoint requires the permission: `email_logs:read`.
|
|
25
|
+
*
|
|
22
26
|
* @example
|
|
23
27
|
* ```ts
|
|
24
28
|
* const emailLog = await client.core.emailLogs.retrieve(
|
|
@@ -61,7 +65,8 @@ export interface EmailLog {
|
|
|
61
65
|
*/
|
|
62
66
|
send_status: 'sent' | 'pending';
|
|
63
67
|
/**
|
|
64
|
-
* Reference to an actor
|
|
68
|
+
* Reference to an actor — the user, API key, agent, or group identity associated
|
|
69
|
+
* with an action.
|
|
65
70
|
*/
|
|
66
71
|
sent_by: RequestLogsAPI.Actor | null;
|
|
67
72
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-logs.d.ts","sourceRoot":"","sources":["../../src/resources/core/email-logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC
|
|
1
|
+
{"version":3,"file":"email-logs.d.ts","sourceRoot":"","sources":["../../src/resources/core/email-logs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;IAI3B;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,sBAAsB,G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AI,QAAQ,EACzB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -11,6 +11,8 @@ class EmailLogs extends resource_1.APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* Returns a paginated list of email logs for the current account.
|
|
13
13
|
*
|
|
14
|
+
* This endpoint requires the permission: `email_logs:read`.
|
|
15
|
+
*
|
|
14
16
|
* @example
|
|
15
17
|
* ```ts
|
|
16
18
|
* const listEmailLog = await client.core.emailLogs.list();
|
|
@@ -22,6 +24,8 @@ class EmailLogs extends resource_1.APIResource {
|
|
|
22
24
|
/**
|
|
23
25
|
* Returns an email log by ID.
|
|
24
26
|
*
|
|
27
|
+
* This endpoint requires the permission: `email_logs:read`.
|
|
28
|
+
*
|
|
25
29
|
* @example
|
|
26
30
|
* ```ts
|
|
27
31
|
* const emailLog = await client.core.emailLogs.retrieve(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-logs.js","sourceRoot":"","sources":["../../src/resources/core/email-logs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC
|
|
1
|
+
{"version":3,"file":"email-logs.js","sourceRoot":"","sources":["../../src/resources/core/email-logs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;OASG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAU,EACV,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF;AArCD,8BAqCC"}
|
|
@@ -8,6 +8,8 @@ export class EmailLogs extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Returns a paginated list of email logs for the current account.
|
|
10
10
|
*
|
|
11
|
+
* This endpoint requires the permission: `email_logs:read`.
|
|
12
|
+
*
|
|
11
13
|
* @example
|
|
12
14
|
* ```ts
|
|
13
15
|
* const listEmailLog = await client.core.emailLogs.list();
|
|
@@ -19,6 +21,8 @@ export class EmailLogs extends APIResource {
|
|
|
19
21
|
/**
|
|
20
22
|
* Returns an email log by ID.
|
|
21
23
|
*
|
|
24
|
+
* This endpoint requires the permission: `email_logs:read`.
|
|
25
|
+
*
|
|
22
26
|
* @example
|
|
23
27
|
* ```ts
|
|
24
28
|
* const emailLog = await client.core.emailLogs.retrieve(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-logs.mjs","sourceRoot":"","sources":["../../src/resources/core/email-logs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC
|
|
1
|
+
{"version":3,"file":"email-logs.mjs","sourceRoot":"","sources":["../../src/resources/core/email-logs.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;OASG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAU,EACV,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Addresses, type AddressSuggestion, type ListAddressSuggestion, type AddressRetrieveSuggestionsParams, } from "./addresses/index.mjs";
|
|
2
2
|
export { AuditEvents, type AuditEvent, type AuditFieldChange, type ListAuditEvent, type ListAuditFieldChange, type ListObjectType, type AuditEventListParams, type AuditEventRetrieveParams, } from "./audit-events.mjs";
|
|
3
|
-
export { Core } from "./core.mjs";
|
|
3
|
+
export { Core, type Entity, type ListEntity, type CoreRetrieveSearchParams } from "./core.mjs";
|
|
4
4
|
export { EmailLogs, type EmailLog, type ListEmailLog, type EmailLogListParams, type EmailLogRetrieveParams, } from "./email-logs.mjs";
|
|
5
5
|
export { RequestLogs, type Actor, type ListRequestLog, type RequestLog, type RequestLogListParams, type RequestLogRetrieveParams, } from "./request-logs.mjs";
|
|
6
6
|
export { Sandboxes, type CreateSandboxRequest, type ListSandbox, type Sandbox, type SandboxDeleteResponse, type SandboxListParams, type SandboxRetrieveParams, type SandboxCreateParams, } from "./sandboxes.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/core/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,GACtC;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EAAE,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/core/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,GACtC;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EAAE,IAAI,EAAE,KAAK,MAAM,EAAE,KAAK,UAAU,EAAE,KAAK,wBAAwB,EAAE;OACrE,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B;OACM,EACL,WAAW,EACX,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Addresses, type AddressSuggestion, type ListAddressSuggestion, type AddressRetrieveSuggestionsParams, } from "./addresses/index.js";
|
|
2
2
|
export { AuditEvents, type AuditEvent, type AuditFieldChange, type ListAuditEvent, type ListAuditFieldChange, type ListObjectType, type AuditEventListParams, type AuditEventRetrieveParams, } from "./audit-events.js";
|
|
3
|
-
export { Core } from "./core.js";
|
|
3
|
+
export { Core, type Entity, type ListEntity, type CoreRetrieveSearchParams } from "./core.js";
|
|
4
4
|
export { EmailLogs, type EmailLog, type ListEmailLog, type EmailLogListParams, type EmailLogRetrieveParams, } from "./email-logs.js";
|
|
5
5
|
export { RequestLogs, type Actor, type ListRequestLog, type RequestLog, type RequestLogListParams, type RequestLogRetrieveParams, } from "./request-logs.js";
|
|
6
6
|
export { Sandboxes, type CreateSandboxRequest, type ListSandbox, type Sandbox, type SandboxDeleteResponse, type SandboxListParams, type SandboxRetrieveParams, type SandboxCreateParams, } from "./sandboxes.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/core/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,GACtC;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EAAE,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/core/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,GACtC;OACM,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EAAE,IAAI,EAAE,KAAK,MAAM,EAAE,KAAK,UAAU,EAAE,KAAK,wBAAwB,EAAE;OACrE,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B;OACM,EACL,WAAW,EACX,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/core/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAK2B;AAJzB,kGAAA,SAAS,OAAA;AAKX,kDASwB;AARtB,2GAAA,WAAW,OAAA;AASb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/core/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAK2B;AAJzB,kGAAA,SAAS,OAAA;AAKX,kDASwB;AARtB,2GAAA,WAAW,OAAA;AASb,kCAA2F;AAAlF,4FAAA,IAAI,OAAA;AACb,8CAMsB;AALpB,uGAAA,SAAS,OAAA;AAMX,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,4CASqB;AARnB,sGAAA,SAAS,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/core/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAIV;OACM,EACL,WAAW,GAQZ;OACM,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/core/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAIV;OACM,EACL,WAAW,GAQZ;OACM,EAAE,IAAI,EAA+D;OACrE,EACL,SAAS,GAKV;OACM,EACL,WAAW,GAMZ;OACM,EACL,SAAS,GAQV"}
|