@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
|
@@ -14,6 +14,8 @@ export class Units extends APIResource {
|
|
|
14
14
|
* Returns a paginated list of units for the current account, including both
|
|
15
15
|
* account-owned and global system units.
|
|
16
16
|
*
|
|
17
|
+
* This endpoint requires the permission: `units:read`.
|
|
18
|
+
*
|
|
17
19
|
* @example
|
|
18
20
|
* ```ts
|
|
19
21
|
* const listUnit = await client.catalog.units.list();
|
|
@@ -26,6 +28,8 @@ export class Units extends APIResource {
|
|
|
26
28
|
/**
|
|
27
29
|
* Returns a unit by ID, including both account-owned and global system units.
|
|
28
30
|
*
|
|
31
|
+
* This endpoint requires the permission: `units:read`.
|
|
32
|
+
*
|
|
29
33
|
* @example
|
|
30
34
|
* ```ts
|
|
31
35
|
* const unit = await client.catalog.units.retrieve(
|
|
@@ -44,6 +48,8 @@ export class Units extends APIResource {
|
|
|
44
48
|
/**
|
|
45
49
|
* Creates an account-owned unit.
|
|
46
50
|
*
|
|
51
|
+
* This endpoint requires the permission: `units:create`.
|
|
52
|
+
*
|
|
47
53
|
* @example
|
|
48
54
|
* ```ts
|
|
49
55
|
* const unit = await client.catalog.units.create({
|
|
@@ -65,6 +71,8 @@ export class Units extends APIResource {
|
|
|
65
71
|
/**
|
|
66
72
|
* Partially updates an account-owned unit; system units cannot be updated.
|
|
67
73
|
*
|
|
74
|
+
* This endpoint requires the permission: `units:update`.
|
|
75
|
+
*
|
|
68
76
|
* @example
|
|
69
77
|
* ```ts
|
|
70
78
|
* const unit = await client.catalog.units.update(
|
|
@@ -83,8 +91,12 @@ export class Units extends APIResource {
|
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
/**
|
|
86
|
-
* Deletes an account-owned unit.
|
|
87
|
-
*
|
|
94
|
+
* Deletes an account-owned unit.
|
|
95
|
+
*
|
|
96
|
+
* Associated unit group memberships are also removed, and system units cannot be
|
|
97
|
+
* deleted.
|
|
98
|
+
*
|
|
99
|
+
* This endpoint requires the permission: `units:delete`.
|
|
88
100
|
*
|
|
89
101
|
* @example
|
|
90
102
|
* ```ts
|
|
@@ -117,28 +129,31 @@ export interface CreateUnitRequest {
|
|
|
117
129
|
name: string;
|
|
118
130
|
|
|
119
131
|
/**
|
|
120
|
-
* Conversion offset denominator
|
|
132
|
+
* Conversion offset denominator.
|
|
133
|
+
*
|
|
134
|
+
* Must not be zero.
|
|
121
135
|
*/
|
|
122
136
|
offset_denominator: string;
|
|
123
137
|
|
|
124
138
|
/**
|
|
125
|
-
* Conversion offset numerator,
|
|
139
|
+
* Conversion offset numerator, used for temperature-like conversions.
|
|
126
140
|
*/
|
|
127
141
|
offset_numerator: string;
|
|
128
142
|
|
|
129
143
|
/**
|
|
130
|
-
* Conversion ratio denominator relative to the base unit
|
|
144
|
+
* Conversion ratio denominator relative to the base unit.
|
|
145
|
+
*
|
|
131
146
|
* Must not be zero.
|
|
132
147
|
*/
|
|
133
148
|
ratio_denominator: string;
|
|
134
149
|
|
|
135
150
|
/**
|
|
136
|
-
* Conversion ratio numerator relative to the base unit
|
|
151
|
+
* Conversion ratio numerator relative to the base unit.
|
|
137
152
|
*/
|
|
138
153
|
ratio_numerator: string;
|
|
139
154
|
|
|
140
155
|
/**
|
|
141
|
-
* Unit dimension
|
|
156
|
+
* Unit dimension.
|
|
142
157
|
*
|
|
143
158
|
* Units can only be converted to other units of the same dimension.
|
|
144
159
|
*/
|
|
@@ -267,22 +282,26 @@ export interface UpdateUnitRequest {
|
|
|
267
282
|
name?: string;
|
|
268
283
|
|
|
269
284
|
/**
|
|
270
|
-
* Conversion offset denominator
|
|
285
|
+
* Conversion offset denominator.
|
|
286
|
+
*
|
|
287
|
+
* Must not be zero.
|
|
271
288
|
*/
|
|
272
289
|
offset_denominator?: string;
|
|
273
290
|
|
|
274
291
|
/**
|
|
275
|
-
* Conversion offset numerator,
|
|
292
|
+
* Conversion offset numerator, used for temperature-like conversions.
|
|
276
293
|
*/
|
|
277
294
|
offset_numerator?: string;
|
|
278
295
|
|
|
279
296
|
/**
|
|
280
|
-
* Conversion ratio denominator
|
|
297
|
+
* Conversion ratio denominator relative to the base unit.
|
|
298
|
+
*
|
|
299
|
+
* Must not be zero.
|
|
281
300
|
*/
|
|
282
301
|
ratio_denominator?: string;
|
|
283
302
|
|
|
284
303
|
/**
|
|
285
|
-
* Conversion ratio numerator
|
|
304
|
+
* Conversion ratio numerator relative to the base unit.
|
|
286
305
|
*/
|
|
287
306
|
ratio_numerator?: string;
|
|
288
307
|
}
|
|
@@ -318,7 +337,7 @@ export interface UnitListParams {
|
|
|
318
337
|
q?: string;
|
|
319
338
|
|
|
320
339
|
/**
|
|
321
|
-
* Filter by unit dimension
|
|
340
|
+
* Filter by unit dimension.
|
|
322
341
|
*/
|
|
323
342
|
type?: 'currency' | 'quantity' | 'time' | 'mass' | 'volume' | 'length' | 'temperature' | 'area';
|
|
324
343
|
|
|
@@ -352,30 +371,31 @@ export interface UnitCreateParams {
|
|
|
352
371
|
name: string;
|
|
353
372
|
|
|
354
373
|
/**
|
|
355
|
-
* Body param: Conversion offset denominator
|
|
356
|
-
*
|
|
374
|
+
* Body param: Conversion offset denominator.
|
|
375
|
+
*
|
|
376
|
+
* Must not be zero.
|
|
357
377
|
*/
|
|
358
378
|
offset_denominator: string;
|
|
359
379
|
|
|
360
380
|
/**
|
|
361
|
-
* Body param: Conversion offset numerator,
|
|
381
|
+
* Body param: Conversion offset numerator, used for temperature-like conversions.
|
|
362
382
|
*/
|
|
363
383
|
offset_numerator: string;
|
|
364
384
|
|
|
365
385
|
/**
|
|
366
|
-
* Body param: Conversion ratio denominator relative to the base unit
|
|
367
|
-
*
|
|
386
|
+
* Body param: Conversion ratio denominator relative to the base unit.
|
|
387
|
+
*
|
|
388
|
+
* Must not be zero.
|
|
368
389
|
*/
|
|
369
390
|
ratio_denominator: string;
|
|
370
391
|
|
|
371
392
|
/**
|
|
372
|
-
* Body param: Conversion ratio numerator relative to the base unit
|
|
373
|
-
* string.
|
|
393
|
+
* Body param: Conversion ratio numerator relative to the base unit.
|
|
374
394
|
*/
|
|
375
395
|
ratio_numerator: string;
|
|
376
396
|
|
|
377
397
|
/**
|
|
378
|
-
* Body param: Unit dimension
|
|
398
|
+
* Body param: Unit dimension.
|
|
379
399
|
*
|
|
380
400
|
* Units can only be converted to other units of the same dimension.
|
|
381
401
|
*/
|
|
@@ -410,23 +430,26 @@ export interface UnitUpdateParams {
|
|
|
410
430
|
name?: string;
|
|
411
431
|
|
|
412
432
|
/**
|
|
413
|
-
* Body param: Conversion offset denominator
|
|
414
|
-
*
|
|
433
|
+
* Body param: Conversion offset denominator.
|
|
434
|
+
*
|
|
435
|
+
* Must not be zero.
|
|
415
436
|
*/
|
|
416
437
|
offset_denominator?: string;
|
|
417
438
|
|
|
418
439
|
/**
|
|
419
|
-
* Body param: Conversion offset numerator,
|
|
440
|
+
* Body param: Conversion offset numerator, used for temperature-like conversions.
|
|
420
441
|
*/
|
|
421
442
|
offset_numerator?: string;
|
|
422
443
|
|
|
423
444
|
/**
|
|
424
|
-
* Body param: Conversion ratio denominator
|
|
445
|
+
* Body param: Conversion ratio denominator relative to the base unit.
|
|
446
|
+
*
|
|
447
|
+
* Must not be zero.
|
|
425
448
|
*/
|
|
426
449
|
ratio_denominator?: string;
|
|
427
450
|
|
|
428
451
|
/**
|
|
429
|
-
* Body param: Conversion ratio numerator
|
|
452
|
+
* Body param: Conversion ratio numerator relative to the base unit.
|
|
430
453
|
*/
|
|
431
454
|
ratio_numerator?: string;
|
|
432
455
|
}
|
|
@@ -14,6 +14,8 @@ export class AuditEvents extends APIResource {
|
|
|
14
14
|
/**
|
|
15
15
|
* Returns a paginated list of audit events for the current account.
|
|
16
16
|
*
|
|
17
|
+
* This endpoint requires the permission: `audit_events:read`.
|
|
18
|
+
*
|
|
17
19
|
* @example
|
|
18
20
|
* ```ts
|
|
19
21
|
* const listAuditEvent = await client.core.auditEvents.list();
|
|
@@ -29,6 +31,8 @@ export class AuditEvents extends APIResource {
|
|
|
29
31
|
/**
|
|
30
32
|
* Returns an audit event by ID.
|
|
31
33
|
*
|
|
34
|
+
* This endpoint requires the permission: `audit_events:read`.
|
|
35
|
+
*
|
|
32
36
|
* @example
|
|
33
37
|
* ```ts
|
|
34
38
|
* const auditEvent = await client.core.auditEvents.retrieve(
|
|
@@ -50,6 +54,8 @@ export class AuditEvents extends APIResource {
|
|
|
50
54
|
* Values are plain strings, suitable for the `resource_types` filter when listing
|
|
51
55
|
* audit events.
|
|
52
56
|
*
|
|
57
|
+
* This endpoint requires the permission: `audit_events:read`.
|
|
58
|
+
*
|
|
53
59
|
* @example
|
|
54
60
|
* ```ts
|
|
55
61
|
* const listObjectType =
|
|
@@ -78,18 +84,23 @@ export interface AuditEvent {
|
|
|
78
84
|
account: APIKeysAPI.Account | null;
|
|
79
85
|
|
|
80
86
|
/**
|
|
81
|
-
*
|
|
87
|
+
* The type of action this event records.
|
|
82
88
|
*
|
|
83
89
|
* - `create`: the resource was created.
|
|
84
90
|
* - `update`: one or more fields were changed.
|
|
85
91
|
* - `delete`: the resource was deleted.
|
|
86
92
|
* - `restore`: a previously deleted resource was restored.
|
|
87
93
|
* - `archive`: the resource was archived.
|
|
94
|
+
* - `approve`: a human approved a gated action, such as allowing a review-gated
|
|
95
|
+
* agent tool to run.
|
|
96
|
+
* - `deny`: a human denied a gated action, such as rejecting a review-gated agent
|
|
97
|
+
* tool.
|
|
88
98
|
*/
|
|
89
|
-
action: 'create' | 'update' | 'delete' | 'restore' | 'archive';
|
|
99
|
+
action: 'create' | 'update' | 'delete' | 'restore' | 'archive' | 'approve' | 'deny';
|
|
90
100
|
|
|
91
101
|
/**
|
|
92
|
-
* Reference to an actor
|
|
102
|
+
* Reference to an actor — the user, API key, agent, or group identity associated
|
|
103
|
+
* with an action.
|
|
93
104
|
*/
|
|
94
105
|
actor: RequestLogsAPI.Actor | null;
|
|
95
106
|
|
|
@@ -174,12 +185,30 @@ export interface AuditEvent {
|
|
|
174
185
|
| 'agent_run_step'
|
|
175
186
|
| 'agent_token_usage'
|
|
176
187
|
| 'agent_memory'
|
|
177
|
-
| '
|
|
188
|
+
| 'notification'
|
|
189
|
+
| 'notification_unread_count'
|
|
190
|
+
| 'notification_send_result'
|
|
191
|
+
| 'notification_unread_summary'
|
|
192
|
+
| 'announcement'
|
|
193
|
+
| 'conversation'
|
|
194
|
+
| 'conversation_participant'
|
|
195
|
+
| 'chat_message'
|
|
196
|
+
| 'notification_unread_summary_account'
|
|
197
|
+
| 'messaging_block'
|
|
198
|
+
| 'notification_preference'
|
|
199
|
+
| 'message_attachment'
|
|
200
|
+
| 'attachment_upload_target'
|
|
201
|
+
| 'scheduled_message'
|
|
202
|
+
| 'messaging_contact'
|
|
203
|
+
| 'message_report'
|
|
178
204
|
| 'tool_group'
|
|
205
|
+
| 'model'
|
|
179
206
|
| 'payment_term'
|
|
180
207
|
| 'shipping_term'
|
|
181
208
|
| 'quantity'
|
|
182
209
|
| 'account_group'
|
|
210
|
+
| 'support_route'
|
|
211
|
+
| 'support_availability'
|
|
183
212
|
| 'account_status'
|
|
184
213
|
| 'geolocation'
|
|
185
214
|
| 'account_user'
|
|
@@ -227,6 +256,8 @@ export interface AuditEvent {
|
|
|
227
256
|
| 'location_type'
|
|
228
257
|
| 'lot'
|
|
229
258
|
| 'email_log'
|
|
259
|
+
| 'email_domain'
|
|
260
|
+
| 'email_inbox'
|
|
230
261
|
| 'inventory_change_log'
|
|
231
262
|
| 'invoice'
|
|
232
263
|
| 'invoice_summary'
|
|
@@ -249,7 +280,6 @@ export interface AuditEvent {
|
|
|
249
280
|
| 'transaction_type'
|
|
250
281
|
| 'transaction_allocation'
|
|
251
282
|
| 'usage_item'
|
|
252
|
-
| 'agent_token_detail'
|
|
253
283
|
| 'account_usage_response'
|
|
254
284
|
| 'subscription_info'
|
|
255
285
|
| 'billing_portal_session_response'
|
|
@@ -346,7 +376,16 @@ export interface AuditEvent {
|
|
|
346
376
|
| 'allocation_customer'
|
|
347
377
|
| 'checkout_sales_order_response'
|
|
348
378
|
| 'create_production_run_response'
|
|
349
|
-
| 'sales_order_price_quote'
|
|
379
|
+
| 'sales_order_price_quote'
|
|
380
|
+
| 'hubspot_sync_job'
|
|
381
|
+
| 'hubspot_sync_report'
|
|
382
|
+
| 'hubspot_company_review'
|
|
383
|
+
| 'hubspot_company_candidate'
|
|
384
|
+
| 'contact_match'
|
|
385
|
+
| 'reply_draft'
|
|
386
|
+
| 'conversation_link'
|
|
387
|
+
| 'messaging_group'
|
|
388
|
+
| 'messaging_group_member';
|
|
350
389
|
|
|
351
390
|
/**
|
|
352
391
|
* Originating client IP address.
|
|
@@ -468,12 +507,30 @@ export interface ListObjectType {
|
|
|
468
507
|
| 'agent_run_step'
|
|
469
508
|
| 'agent_token_usage'
|
|
470
509
|
| 'agent_memory'
|
|
471
|
-
| '
|
|
510
|
+
| 'notification'
|
|
511
|
+
| 'notification_unread_count'
|
|
512
|
+
| 'notification_send_result'
|
|
513
|
+
| 'notification_unread_summary'
|
|
514
|
+
| 'announcement'
|
|
515
|
+
| 'conversation'
|
|
516
|
+
| 'conversation_participant'
|
|
517
|
+
| 'chat_message'
|
|
518
|
+
| 'notification_unread_summary_account'
|
|
519
|
+
| 'messaging_block'
|
|
520
|
+
| 'notification_preference'
|
|
521
|
+
| 'message_attachment'
|
|
522
|
+
| 'attachment_upload_target'
|
|
523
|
+
| 'scheduled_message'
|
|
524
|
+
| 'messaging_contact'
|
|
525
|
+
| 'message_report'
|
|
472
526
|
| 'tool_group'
|
|
527
|
+
| 'model'
|
|
473
528
|
| 'payment_term'
|
|
474
529
|
| 'shipping_term'
|
|
475
530
|
| 'quantity'
|
|
476
531
|
| 'account_group'
|
|
532
|
+
| 'support_route'
|
|
533
|
+
| 'support_availability'
|
|
477
534
|
| 'account_status'
|
|
478
535
|
| 'geolocation'
|
|
479
536
|
| 'account_user'
|
|
@@ -521,6 +578,8 @@ export interface ListObjectType {
|
|
|
521
578
|
| 'location_type'
|
|
522
579
|
| 'lot'
|
|
523
580
|
| 'email_log'
|
|
581
|
+
| 'email_domain'
|
|
582
|
+
| 'email_inbox'
|
|
524
583
|
| 'inventory_change_log'
|
|
525
584
|
| 'invoice'
|
|
526
585
|
| 'invoice_summary'
|
|
@@ -543,7 +602,6 @@ export interface ListObjectType {
|
|
|
543
602
|
| 'transaction_type'
|
|
544
603
|
| 'transaction_allocation'
|
|
545
604
|
| 'usage_item'
|
|
546
|
-
| 'agent_token_detail'
|
|
547
605
|
| 'account_usage_response'
|
|
548
606
|
| 'subscription_info'
|
|
549
607
|
| 'billing_portal_session_response'
|
|
@@ -641,6 +699,15 @@ export interface ListObjectType {
|
|
|
641
699
|
| 'checkout_sales_order_response'
|
|
642
700
|
| 'create_production_run_response'
|
|
643
701
|
| 'sales_order_price_quote'
|
|
702
|
+
| 'hubspot_sync_job'
|
|
703
|
+
| 'hubspot_sync_report'
|
|
704
|
+
| 'hubspot_company_review'
|
|
705
|
+
| 'hubspot_company_candidate'
|
|
706
|
+
| 'contact_match'
|
|
707
|
+
| 'reply_draft'
|
|
708
|
+
| 'conversation_link'
|
|
709
|
+
| 'messaging_group'
|
|
710
|
+
| 'messaging_group_member'
|
|
644
711
|
>;
|
|
645
712
|
|
|
646
713
|
/**
|
|
@@ -658,7 +725,7 @@ export interface AuditEventListParams {
|
|
|
658
725
|
/**
|
|
659
726
|
* Filter by the mutation type recorded on the event.
|
|
660
727
|
*/
|
|
661
|
-
actions?: Array<'create' | 'update' | 'delete' | 'restore' | 'archive'>;
|
|
728
|
+
actions?: Array<'create' | 'update' | 'delete' | 'restore' | 'archive' | 'approve' | 'deny'>;
|
|
662
729
|
|
|
663
730
|
/**
|
|
664
731
|
* Filter by the _acting_ account: the account that performed the mutation.
|
|
@@ -678,6 +745,11 @@ export interface AuditEventListParams {
|
|
|
678
745
|
*/
|
|
679
746
|
actor_ids?: Array<string>;
|
|
680
747
|
|
|
748
|
+
/**
|
|
749
|
+
* Filter by the actor type.
|
|
750
|
+
*/
|
|
751
|
+
actor_types?: Array<'user' | 'api_key' | 'agent' | 'group'>;
|
|
752
|
+
|
|
681
753
|
/**
|
|
682
754
|
* Opaque cursor token identifying where the page of results starts.
|
|
683
755
|
*
|
|
@@ -757,12 +829,30 @@ export interface AuditEventListParams {
|
|
|
757
829
|
| 'agent_run_step'
|
|
758
830
|
| 'agent_token_usage'
|
|
759
831
|
| 'agent_memory'
|
|
760
|
-
| '
|
|
832
|
+
| 'notification'
|
|
833
|
+
| 'notification_unread_count'
|
|
834
|
+
| 'notification_send_result'
|
|
835
|
+
| 'notification_unread_summary'
|
|
836
|
+
| 'announcement'
|
|
837
|
+
| 'conversation'
|
|
838
|
+
| 'conversation_participant'
|
|
839
|
+
| 'chat_message'
|
|
840
|
+
| 'notification_unread_summary_account'
|
|
841
|
+
| 'messaging_block'
|
|
842
|
+
| 'notification_preference'
|
|
843
|
+
| 'message_attachment'
|
|
844
|
+
| 'attachment_upload_target'
|
|
845
|
+
| 'scheduled_message'
|
|
846
|
+
| 'messaging_contact'
|
|
847
|
+
| 'message_report'
|
|
761
848
|
| 'tool_group'
|
|
849
|
+
| 'model'
|
|
762
850
|
| 'payment_term'
|
|
763
851
|
| 'shipping_term'
|
|
764
852
|
| 'quantity'
|
|
765
853
|
| 'account_group'
|
|
854
|
+
| 'support_route'
|
|
855
|
+
| 'support_availability'
|
|
766
856
|
| 'account_status'
|
|
767
857
|
| 'geolocation'
|
|
768
858
|
| 'account_user'
|
|
@@ -810,6 +900,8 @@ export interface AuditEventListParams {
|
|
|
810
900
|
| 'location_type'
|
|
811
901
|
| 'lot'
|
|
812
902
|
| 'email_log'
|
|
903
|
+
| 'email_domain'
|
|
904
|
+
| 'email_inbox'
|
|
813
905
|
| 'inventory_change_log'
|
|
814
906
|
| 'invoice'
|
|
815
907
|
| 'invoice_summary'
|
|
@@ -832,7 +924,6 @@ export interface AuditEventListParams {
|
|
|
832
924
|
| 'transaction_type'
|
|
833
925
|
| 'transaction_allocation'
|
|
834
926
|
| 'usage_item'
|
|
835
|
-
| 'agent_token_detail'
|
|
836
927
|
| 'account_usage_response'
|
|
837
928
|
| 'subscription_info'
|
|
838
929
|
| 'billing_portal_session_response'
|
|
@@ -930,6 +1021,15 @@ export interface AuditEventListParams {
|
|
|
930
1021
|
| 'checkout_sales_order_response'
|
|
931
1022
|
| 'create_production_run_response'
|
|
932
1023
|
| 'sales_order_price_quote'
|
|
1024
|
+
| 'hubspot_sync_job'
|
|
1025
|
+
| 'hubspot_sync_report'
|
|
1026
|
+
| 'hubspot_company_review'
|
|
1027
|
+
| 'hubspot_company_candidate'
|
|
1028
|
+
| 'contact_match'
|
|
1029
|
+
| 'reply_draft'
|
|
1030
|
+
| 'conversation_link'
|
|
1031
|
+
| 'messaging_group'
|
|
1032
|
+
| 'messaging_group_member'
|
|
933
1033
|
>;
|
|
934
1034
|
|
|
935
1035
|
/**
|