@augno/sdk 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/client.d.mts +11 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -2
- package/client.d.ts.map +1 -1
- package/client.js +9 -0
- package/client.js.map +1 -1
- package/client.mjs +9 -0
- package/client.mjs.map +1 -1
- package/package.json +15 -9
- package/resources/auth/api-keys/actions.d.mts +2 -0
- package/resources/auth/api-keys/actions.d.mts.map +1 -1
- package/resources/auth/api-keys/actions.d.ts +2 -0
- package/resources/auth/api-keys/actions.d.ts.map +1 -1
- package/resources/auth/api-keys/actions.js +2 -0
- package/resources/auth/api-keys/actions.js.map +1 -1
- package/resources/auth/api-keys/actions.mjs +2 -0
- package/resources/auth/api-keys/actions.mjs.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +12 -3
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +12 -3
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js +9 -0
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs +9 -0
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.mts +17 -1
- package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.ts +17 -1
- package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories/item-categories.js +17 -1
- package/resources/catalog/item-categories/item-categories.js.map +1 -1
- package/resources/catalog/item-categories/item-categories.mjs +17 -1
- package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
- package/resources/catalog/item-categories/properties.d.mts +4 -0
- package/resources/catalog/item-categories/properties.d.mts.map +1 -1
- package/resources/catalog/item-categories/properties.d.ts +4 -0
- package/resources/catalog/item-categories/properties.d.ts.map +1 -1
- package/resources/catalog/item-categories/properties.js +4 -0
- package/resources/catalog/item-categories/properties.js.map +1 -1
- package/resources/catalog/item-categories/properties.mjs +4 -0
- package/resources/catalog/item-categories/properties.mjs.map +1 -1
- package/resources/catalog/items/attributes.d.mts +4 -0
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +4 -0
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +4 -0
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +4 -0
- package/resources/catalog/items/attributes.mjs.map +1 -1
- package/resources/catalog/items/items.d.mts +8 -0
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +8 -0
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js +8 -0
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs +8 -0
- package/resources/catalog/items/items.mjs.map +1 -1
- package/resources/catalog/materials.d.mts +66 -10
- package/resources/catalog/materials.d.mts.map +1 -1
- package/resources/catalog/materials.d.ts +66 -10
- package/resources/catalog/materials.d.ts.map +1 -1
- package/resources/catalog/materials.js +57 -1
- package/resources/catalog/materials.js.map +1 -1
- package/resources/catalog/materials.mjs +57 -1
- package/resources/catalog/materials.mjs.map +1 -1
- package/resources/catalog/parts.d.mts +30 -0
- package/resources/catalog/parts.d.mts.map +1 -1
- package/resources/catalog/parts.d.ts +30 -0
- package/resources/catalog/parts.d.ts.map +1 -1
- package/resources/catalog/parts.js +30 -0
- package/resources/catalog/parts.js.map +1 -1
- package/resources/catalog/parts.mjs +30 -0
- package/resources/catalog/parts.mjs.map +1 -1
- package/resources/catalog/product-lines.d.mts +18 -1
- package/resources/catalog/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines.d.ts +18 -1
- package/resources/catalog/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines.js +18 -1
- package/resources/catalog/product-lines.js.map +1 -1
- package/resources/catalog/product-lines.mjs +18 -1
- package/resources/catalog/product-lines.mjs.map +1 -1
- package/resources/catalog/products.d.mts +52 -9
- package/resources/catalog/products.d.mts.map +1 -1
- package/resources/catalog/products.d.ts +52 -9
- package/resources/catalog/products.d.ts.map +1 -1
- package/resources/catalog/products.js +44 -1
- package/resources/catalog/products.js.map +1 -1
- package/resources/catalog/products.mjs +44 -1
- package/resources/catalog/products.mjs.map +1 -1
- package/resources/catalog/properties/attributes.d.mts +12 -0
- package/resources/catalog/properties/attributes.d.mts.map +1 -1
- package/resources/catalog/properties/attributes.d.ts +12 -0
- package/resources/catalog/properties/attributes.d.ts.map +1 -1
- package/resources/catalog/properties/attributes.js +12 -0
- package/resources/catalog/properties/attributes.js.map +1 -1
- package/resources/catalog/properties/attributes.mjs +12 -0
- package/resources/catalog/properties/attributes.mjs.map +1 -1
- package/resources/catalog/properties/properties.d.mts +10 -0
- package/resources/catalog/properties/properties.d.mts.map +1 -1
- package/resources/catalog/properties/properties.d.ts +10 -0
- package/resources/catalog/properties/properties.d.ts.map +1 -1
- package/resources/catalog/properties/properties.js +10 -0
- package/resources/catalog/properties/properties.js.map +1 -1
- package/resources/catalog/properties/properties.mjs +10 -0
- package/resources/catalog/properties/properties.mjs.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.mts +29 -7
- package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.ts +29 -7
- package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.js +23 -2
- package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.mjs +23 -2
- package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
- package/resources/catalog/unit-groups/units.d.mts +12 -0
- package/resources/catalog/unit-groups/units.d.mts.map +1 -1
- package/resources/catalog/unit-groups/units.d.ts +12 -0
- package/resources/catalog/unit-groups/units.d.ts.map +1 -1
- package/resources/catalog/unit-groups/units.js +12 -0
- package/resources/catalog/unit-groups/units.js.map +1 -1
- package/resources/catalog/unit-groups/units.mjs +12 -0
- package/resources/catalog/unit-groups/units.mjs.map +1 -1
- package/resources/catalog/units.d.mts +56 -26
- package/resources/catalog/units.d.mts.map +1 -1
- package/resources/catalog/units.d.ts +56 -26
- package/resources/catalog/units.d.ts.map +1 -1
- package/resources/catalog/units.js +22 -3
- package/resources/catalog/units.js.map +1 -1
- package/resources/catalog/units.mjs +22 -3
- package/resources/catalog/units.mjs.map +1 -1
- package/resources/core/addresses/actions.d.mts +1 -0
- package/resources/core/addresses/actions.d.mts.map +1 -1
- package/resources/core/addresses/actions.d.ts +1 -0
- package/resources/core/addresses/actions.d.ts.map +1 -1
- package/resources/core/addresses/actions.js +1 -0
- package/resources/core/addresses/actions.js.map +1 -1
- package/resources/core/addresses/actions.mjs +1 -0
- package/resources/core/addresses/actions.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +22 -7
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +22 -7
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/audit-events.js +6 -0
- package/resources/core/audit-events.js.map +1 -1
- package/resources/core/audit-events.mjs +6 -0
- package/resources/core/audit-events.mjs.map +1 -1
- package/resources/core/core.d.mts +103 -0
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +103 -0
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js +19 -0
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +19 -0
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/email-logs.d.mts +6 -1
- package/resources/core/email-logs.d.mts.map +1 -1
- package/resources/core/email-logs.d.ts +6 -1
- package/resources/core/email-logs.d.ts.map +1 -1
- package/resources/core/email-logs.js +4 -0
- package/resources/core/email-logs.js.map +1 -1
- package/resources/core/email-logs.mjs +4 -0
- package/resources/core/email-logs.mjs.map +1 -1
- package/resources/core/index.d.mts +1 -1
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +1 -1
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/request-logs.d.mts +21 -7
- package/resources/core/request-logs.d.mts.map +1 -1
- package/resources/core/request-logs.d.ts +21 -7
- package/resources/core/request-logs.d.ts.map +1 -1
- package/resources/core/request-logs.js +4 -0
- package/resources/core/request-logs.js.map +1 -1
- package/resources/core/request-logs.mjs +4 -0
- package/resources/core/request-logs.mjs.map +1 -1
- package/resources/core/sandboxes.d.mts +11 -3
- package/resources/core/sandboxes.d.mts.map +1 -1
- package/resources/core/sandboxes.d.ts +11 -3
- package/resources/core/sandboxes.d.ts.map +1 -1
- package/resources/core/sandboxes.js +8 -0
- package/resources/core/sandboxes.js.map +1 -1
- package/resources/core/sandboxes.mjs +8 -0
- package/resources/core/sandboxes.mjs.map +1 -1
- package/resources/finance/payment-terms.d.mts +10 -0
- package/resources/finance/payment-terms.d.mts.map +1 -1
- package/resources/finance/payment-terms.d.ts +10 -0
- package/resources/finance/payment-terms.d.ts.map +1 -1
- package/resources/finance/payment-terms.js +10 -0
- package/resources/finance/payment-terms.js.map +1 -1
- package/resources/finance/payment-terms.mjs +10 -0
- package/resources/finance/payment-terms.mjs.map +1 -1
- package/resources/identity/account-users/account-users.d.mts +26 -5
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +26 -5
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js +21 -0
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs +21 -0
- package/resources/identity/account-users/account-users.mjs.map +1 -1
- package/resources/identity/account-users/actions.d.mts +9 -0
- package/resources/identity/account-users/actions.d.mts.map +1 -1
- package/resources/identity/account-users/actions.d.ts +9 -0
- package/resources/identity/account-users/actions.d.ts.map +1 -1
- package/resources/identity/account-users/actions.js +9 -0
- package/resources/identity/account-users/actions.js.map +1 -1
- package/resources/identity/account-users/actions.mjs +9 -0
- package/resources/identity/account-users/actions.mjs.map +1 -1
- package/resources/identity/roles.d.mts +33 -17
- package/resources/identity/roles.d.mts.map +1 -1
- package/resources/identity/roles.d.ts +33 -17
- package/resources/identity/roles.d.ts.map +1 -1
- package/resources/identity/roles.js +20 -6
- package/resources/identity/roles.js.map +1 -1
- package/resources/identity/roles.mjs +20 -6
- package/resources/identity/roles.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/messaging/announcements/actions.d.mts +76 -0
- package/resources/messaging/announcements/actions.d.mts.map +1 -0
- package/resources/messaging/announcements/actions.d.ts +76 -0
- package/resources/messaging/announcements/actions.d.ts.map +1 -0
- package/resources/messaging/announcements/actions.js +73 -0
- package/resources/messaging/announcements/actions.js.map +1 -0
- package/resources/messaging/announcements/actions.mjs +69 -0
- package/resources/messaging/announcements/actions.mjs.map +1 -0
- package/resources/messaging/announcements/announcements.d.mts +173 -0
- package/resources/messaging/announcements/announcements.d.mts.map +1 -0
- package/resources/messaging/announcements/announcements.d.ts +173 -0
- package/resources/messaging/announcements/announcements.d.ts.map +1 -0
- package/resources/messaging/announcements/announcements.js +52 -0
- package/resources/messaging/announcements/announcements.js.map +1 -0
- package/resources/messaging/announcements/announcements.mjs +47 -0
- package/resources/messaging/announcements/announcements.mjs.map +1 -0
- package/resources/messaging/announcements/index.d.mts +3 -0
- package/resources/messaging/announcements/index.d.mts.map +1 -0
- package/resources/messaging/announcements/index.d.ts +3 -0
- package/resources/messaging/announcements/index.d.ts.map +1 -0
- package/resources/messaging/announcements/index.js +9 -0
- package/resources/messaging/announcements/index.js.map +1 -0
- package/resources/messaging/announcements/index.mjs +4 -0
- package/resources/messaging/announcements/index.mjs.map +1 -0
- package/resources/messaging/announcements.d.mts +2 -0
- package/resources/messaging/announcements.d.mts.map +1 -0
- package/resources/messaging/announcements.d.ts +2 -0
- package/resources/messaging/announcements.d.ts.map +1 -0
- package/resources/messaging/announcements.js +6 -0
- package/resources/messaging/announcements.js.map +1 -0
- package/resources/messaging/announcements.mjs +3 -0
- package/resources/messaging/announcements.mjs.map +1 -0
- package/resources/messaging/blocks.d.mts +674 -0
- package/resources/messaging/blocks.d.mts.map +1 -0
- package/resources/messaging/blocks.d.ts +674 -0
- package/resources/messaging/blocks.d.ts.map +1 -0
- package/resources/messaging/blocks.js +61 -0
- package/resources/messaging/blocks.js.map +1 -0
- package/resources/messaging/blocks.mjs +57 -0
- package/resources/messaging/blocks.mjs.map +1 -0
- package/resources/messaging/conversations/actions.d.mts +422 -0
- package/resources/messaging/conversations/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/actions.d.ts +422 -0
- package/resources/messaging/conversations/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/actions.js +299 -0
- package/resources/messaging/conversations/actions.js.map +1 -0
- package/resources/messaging/conversations/actions.mjs +295 -0
- package/resources/messaging/conversations/actions.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/actions.d.mts +87 -0
- package/resources/messaging/conversations/attachments/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/actions.d.ts +87 -0
- package/resources/messaging/conversations/attachments/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/actions.js +36 -0
- package/resources/messaging/conversations/attachments/actions.js.map +1 -0
- package/resources/messaging/conversations/attachments/actions.mjs +32 -0
- package/resources/messaging/conversations/attachments/actions.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.d.mts +10 -0
- package/resources/messaging/conversations/attachments/attachments.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.d.ts +10 -0
- package/resources/messaging/conversations/attachments/attachments.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.js +17 -0
- package/resources/messaging/conversations/attachments/attachments.js.map +1 -0
- package/resources/messaging/conversations/attachments/attachments.mjs +12 -0
- package/resources/messaging/conversations/attachments/attachments.mjs.map +1 -0
- package/resources/messaging/conversations/attachments/index.d.mts +3 -0
- package/resources/messaging/conversations/attachments/index.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments/index.d.ts +3 -0
- package/resources/messaging/conversations/attachments/index.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments/index.js +9 -0
- package/resources/messaging/conversations/attachments/index.js.map +1 -0
- package/resources/messaging/conversations/attachments/index.mjs +4 -0
- package/resources/messaging/conversations/attachments/index.mjs.map +1 -0
- package/resources/messaging/conversations/attachments.d.mts +2 -0
- package/resources/messaging/conversations/attachments.d.mts.map +1 -0
- package/resources/messaging/conversations/attachments.d.ts +2 -0
- package/resources/messaging/conversations/attachments.d.ts.map +1 -0
- package/resources/messaging/conversations/attachments.js +6 -0
- package/resources/messaging/conversations/attachments.js.map +1 -0
- package/resources/messaging/conversations/attachments.mjs +3 -0
- package/resources/messaging/conversations/attachments.mjs.map +1 -0
- package/resources/messaging/conversations/conversations.d.mts +1367 -0
- package/resources/messaging/conversations/conversations.d.mts.map +1 -0
- package/resources/messaging/conversations/conversations.d.ts +1367 -0
- package/resources/messaging/conversations/conversations.d.ts.map +1 -0
- package/resources/messaging/conversations/conversations.js +113 -0
- package/resources/messaging/conversations/conversations.js.map +1 -0
- package/resources/messaging/conversations/conversations.mjs +108 -0
- package/resources/messaging/conversations/conversations.mjs.map +1 -0
- package/resources/messaging/conversations/index.d.mts +7 -0
- package/resources/messaging/conversations/index.d.mts.map +1 -0
- package/resources/messaging/conversations/index.d.ts +7 -0
- package/resources/messaging/conversations/index.d.ts.map +1 -0
- package/resources/messaging/conversations/index.js +17 -0
- package/resources/messaging/conversations/index.js.map +1 -0
- package/resources/messaging/conversations/index.mjs +8 -0
- package/resources/messaging/conversations/index.mjs.map +1 -0
- package/resources/messaging/conversations/links.d.mts +149 -0
- package/resources/messaging/conversations/links.d.mts.map +1 -0
- package/resources/messaging/conversations/links.d.ts +149 -0
- package/resources/messaging/conversations/links.d.ts.map +1 -0
- package/resources/messaging/conversations/links.js +72 -0
- package/resources/messaging/conversations/links.js.map +1 -0
- package/resources/messaging/conversations/links.mjs +68 -0
- package/resources/messaging/conversations/links.mjs.map +1 -0
- package/resources/messaging/conversations/messages.d.mts +353 -0
- package/resources/messaging/conversations/messages.d.mts.map +1 -0
- package/resources/messaging/conversations/messages.d.ts +353 -0
- package/resources/messaging/conversations/messages.d.ts.map +1 -0
- package/resources/messaging/conversations/messages.js +81 -0
- package/resources/messaging/conversations/messages.js.map +1 -0
- package/resources/messaging/conversations/messages.mjs +77 -0
- package/resources/messaging/conversations/messages.mjs.map +1 -0
- package/resources/messaging/conversations/participants/actions.d.mts +62 -0
- package/resources/messaging/conversations/participants/actions.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/actions.d.ts +62 -0
- package/resources/messaging/conversations/participants/actions.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/actions.js +35 -0
- package/resources/messaging/conversations/participants/actions.js.map +1 -0
- package/resources/messaging/conversations/participants/actions.mjs +31 -0
- package/resources/messaging/conversations/participants/actions.mjs.map +1 -0
- package/resources/messaging/conversations/participants/index.d.mts +3 -0
- package/resources/messaging/conversations/participants/index.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/index.d.ts +3 -0
- package/resources/messaging/conversations/participants/index.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/index.js +9 -0
- package/resources/messaging/conversations/participants/index.js.map +1 -0
- package/resources/messaging/conversations/participants/index.mjs +4 -0
- package/resources/messaging/conversations/participants/index.mjs.map +1 -0
- package/resources/messaging/conversations/participants/participants.d.mts +100 -0
- package/resources/messaging/conversations/participants/participants.d.mts.map +1 -0
- package/resources/messaging/conversations/participants/participants.d.ts +100 -0
- package/resources/messaging/conversations/participants/participants.d.ts.map +1 -0
- package/resources/messaging/conversations/participants/participants.js +64 -0
- package/resources/messaging/conversations/participants/participants.js.map +1 -0
- package/resources/messaging/conversations/participants/participants.mjs +59 -0
- package/resources/messaging/conversations/participants/participants.mjs.map +1 -0
- package/resources/messaging/conversations/participants.d.mts +2 -0
- package/resources/messaging/conversations/participants.d.mts.map +1 -0
- package/resources/messaging/conversations/participants.d.ts +2 -0
- package/resources/messaging/conversations/participants.d.ts.map +1 -0
- package/resources/messaging/conversations/participants.js +6 -0
- package/resources/messaging/conversations/participants.js.map +1 -0
- package/resources/messaging/conversations/participants.mjs +3 -0
- package/resources/messaging/conversations/participants.mjs.map +1 -0
- package/resources/messaging/conversations.d.mts +2 -0
- package/resources/messaging/conversations.d.mts.map +1 -0
- package/resources/messaging/conversations.d.ts +2 -0
- package/resources/messaging/conversations.d.ts.map +1 -0
- package/resources/messaging/conversations.js +6 -0
- package/resources/messaging/conversations.js.map +1 -0
- package/resources/messaging/conversations.mjs +3 -0
- package/resources/messaging/conversations.mjs.map +1 -0
- package/resources/messaging/email-domains/actions.d.mts +27 -0
- package/resources/messaging/email-domains/actions.d.mts.map +1 -0
- package/resources/messaging/email-domains/actions.d.ts +27 -0
- package/resources/messaging/email-domains/actions.d.ts.map +1 -0
- package/resources/messaging/email-domains/actions.js +32 -0
- package/resources/messaging/email-domains/actions.js.map +1 -0
- package/resources/messaging/email-domains/actions.mjs +28 -0
- package/resources/messaging/email-domains/actions.mjs.map +1 -0
- package/resources/messaging/email-domains/email-domains.d.mts +136 -0
- package/resources/messaging/email-domains/email-domains.d.mts.map +1 -0
- package/resources/messaging/email-domains/email-domains.d.ts +136 -0
- package/resources/messaging/email-domains/email-domains.d.ts.map +1 -0
- package/resources/messaging/email-domains/email-domains.js +70 -0
- package/resources/messaging/email-domains/email-domains.js.map +1 -0
- package/resources/messaging/email-domains/email-domains.mjs +65 -0
- package/resources/messaging/email-domains/email-domains.mjs.map +1 -0
- package/resources/messaging/email-domains/index.d.mts +3 -0
- package/resources/messaging/email-domains/index.d.mts.map +1 -0
- package/resources/messaging/email-domains/index.d.ts +3 -0
- package/resources/messaging/email-domains/index.d.ts.map +1 -0
- package/resources/messaging/email-domains/index.js +9 -0
- package/resources/messaging/email-domains/index.js.map +1 -0
- package/resources/messaging/email-domains/index.mjs +4 -0
- package/resources/messaging/email-domains/index.mjs.map +1 -0
- package/resources/messaging/email-domains.d.mts +2 -0
- package/resources/messaging/email-domains.d.mts.map +1 -0
- package/resources/messaging/email-domains.d.ts +2 -0
- package/resources/messaging/email-domains.d.ts.map +1 -0
- package/resources/messaging/email-domains.js +6 -0
- package/resources/messaging/email-domains.js.map +1 -0
- package/resources/messaging/email-domains.mjs +3 -0
- package/resources/messaging/email-domains.mjs.map +1 -0
- package/resources/messaging/email-inboxes.d.mts +375 -0
- package/resources/messaging/email-inboxes.d.mts.map +1 -0
- package/resources/messaging/email-inboxes.d.ts +375 -0
- package/resources/messaging/email-inboxes.d.ts.map +1 -0
- package/resources/messaging/email-inboxes.js +111 -0
- package/resources/messaging/email-inboxes.js.map +1 -0
- package/resources/messaging/email-inboxes.mjs +107 -0
- package/resources/messaging/email-inboxes.mjs.map +1 -0
- package/resources/messaging/groups/groups.d.mts +162 -0
- package/resources/messaging/groups/groups.d.mts.map +1 -0
- package/resources/messaging/groups/groups.d.ts +162 -0
- package/resources/messaging/groups/groups.d.ts.map +1 -0
- package/resources/messaging/groups/groups.js +110 -0
- package/resources/messaging/groups/groups.js.map +1 -0
- package/resources/messaging/groups/groups.mjs +105 -0
- package/resources/messaging/groups/groups.mjs.map +1 -0
- package/resources/messaging/groups/index.d.mts +3 -0
- package/resources/messaging/groups/index.d.mts.map +1 -0
- package/resources/messaging/groups/index.d.ts +3 -0
- package/resources/messaging/groups/index.d.ts.map +1 -0
- package/resources/messaging/groups/index.js +9 -0
- package/resources/messaging/groups/index.js.map +1 -0
- package/resources/messaging/groups/index.mjs +4 -0
- package/resources/messaging/groups/index.mjs.map +1 -0
- package/resources/messaging/groups/members.d.mts +84 -0
- package/resources/messaging/groups/members.d.mts.map +1 -0
- package/resources/messaging/groups/members.d.ts +84 -0
- package/resources/messaging/groups/members.d.ts.map +1 -0
- package/resources/messaging/groups/members.js +52 -0
- package/resources/messaging/groups/members.js.map +1 -0
- package/resources/messaging/groups/members.mjs +48 -0
- package/resources/messaging/groups/members.mjs.map +1 -0
- package/resources/messaging/groups.d.mts +2 -0
- package/resources/messaging/groups.d.mts.map +1 -0
- package/resources/messaging/groups.d.ts +2 -0
- package/resources/messaging/groups.d.ts.map +1 -0
- package/resources/messaging/groups.js +6 -0
- package/resources/messaging/groups.js.map +1 -0
- package/resources/messaging/groups.mjs +3 -0
- package/resources/messaging/groups.mjs.map +1 -0
- package/resources/messaging/index.d.mts +11 -0
- package/resources/messaging/index.d.mts.map +1 -0
- package/resources/messaging/index.d.ts +11 -0
- package/resources/messaging/index.d.ts.map +1 -0
- package/resources/messaging/index.js +25 -0
- package/resources/messaging/index.js.map +1 -0
- package/resources/messaging/index.mjs +12 -0
- package/resources/messaging/index.mjs.map +1 -0
- package/resources/messaging/messages/actions.d.mts +95 -0
- package/resources/messaging/messages/actions.d.mts.map +1 -0
- package/resources/messaging/messages/actions.d.ts +95 -0
- package/resources/messaging/messages/actions.d.ts.map +1 -0
- package/resources/messaging/messages/actions.js +79 -0
- package/resources/messaging/messages/actions.js.map +1 -0
- package/resources/messaging/messages/actions.mjs +75 -0
- package/resources/messaging/messages/actions.mjs.map +1 -0
- package/resources/messaging/messages/index.d.mts +3 -0
- package/resources/messaging/messages/index.d.mts.map +1 -0
- package/resources/messaging/messages/index.d.ts +3 -0
- package/resources/messaging/messages/index.d.ts.map +1 -0
- package/resources/messaging/messages/index.js +9 -0
- package/resources/messaging/messages/index.js.map +1 -0
- package/resources/messaging/messages/index.mjs +4 -0
- package/resources/messaging/messages/index.mjs.map +1 -0
- package/resources/messaging/messages/messages.d.mts +62 -0
- package/resources/messaging/messages/messages.d.mts.map +1 -0
- package/resources/messaging/messages/messages.d.ts +62 -0
- package/resources/messaging/messages/messages.d.ts.map +1 -0
- package/resources/messaging/messages/messages.js +41 -0
- package/resources/messaging/messages/messages.js.map +1 -0
- package/resources/messaging/messages/messages.mjs +36 -0
- package/resources/messaging/messages/messages.mjs.map +1 -0
- package/resources/messaging/messages.d.mts +2 -0
- package/resources/messaging/messages.d.mts.map +1 -0
- package/resources/messaging/messages.d.ts +2 -0
- package/resources/messaging/messages.d.ts.map +1 -0
- package/resources/messaging/messages.js +6 -0
- package/resources/messaging/messages.js.map +1 -0
- package/resources/messaging/messages.mjs +3 -0
- package/resources/messaging/messages.mjs.map +1 -0
- package/resources/messaging/messaging.d.mts +103 -0
- package/resources/messaging/messaging.d.mts.map +1 -0
- package/resources/messaging/messaging.d.ts +103 -0
- package/resources/messaging/messaging.d.ts.map +1 -0
- package/resources/messaging/messaging.js +65 -0
- package/resources/messaging/messaging.js.map +1 -0
- package/resources/messaging/messaging.mjs +60 -0
- package/resources/messaging/messaging.mjs.map +1 -0
- package/resources/messaging/notifications/actions.d.mts +92 -0
- package/resources/messaging/notifications/actions.d.mts.map +1 -0
- package/resources/messaging/notifications/actions.d.ts +92 -0
- package/resources/messaging/notifications/actions.d.ts.map +1 -0
- package/resources/messaging/notifications/actions.js +89 -0
- package/resources/messaging/notifications/actions.js.map +1 -0
- package/resources/messaging/notifications/actions.mjs +85 -0
- package/resources/messaging/notifications/actions.mjs.map +1 -0
- package/resources/messaging/notifications/index.d.mts +3 -0
- package/resources/messaging/notifications/index.d.mts.map +1 -0
- package/resources/messaging/notifications/index.d.ts +3 -0
- package/resources/messaging/notifications/index.d.ts.map +1 -0
- package/resources/messaging/notifications/index.js +9 -0
- package/resources/messaging/notifications/index.js.map +1 -0
- package/resources/messaging/notifications/index.mjs +4 -0
- package/resources/messaging/notifications/index.mjs.map +1 -0
- package/resources/messaging/notifications/notifications.d.mts +444 -0
- package/resources/messaging/notifications/notifications.d.mts.map +1 -0
- package/resources/messaging/notifications/notifications.d.ts +444 -0
- package/resources/messaging/notifications/notifications.d.ts.map +1 -0
- package/resources/messaging/notifications/notifications.js +108 -0
- package/resources/messaging/notifications/notifications.js.map +1 -0
- package/resources/messaging/notifications/notifications.mjs +103 -0
- package/resources/messaging/notifications/notifications.mjs.map +1 -0
- package/resources/messaging/notifications.d.mts +2 -0
- package/resources/messaging/notifications.d.mts.map +1 -0
- package/resources/messaging/notifications.d.ts +2 -0
- package/resources/messaging/notifications.d.ts.map +1 -0
- package/resources/messaging/notifications.js +6 -0
- package/resources/messaging/notifications.js.map +1 -0
- package/resources/messaging/notifications.mjs +3 -0
- package/resources/messaging/notifications.mjs.map +1 -0
- package/resources/messaging/preferences.d.mts +180 -0
- package/resources/messaging/preferences.d.mts.map +1 -0
- package/resources/messaging/preferences.d.ts +180 -0
- package/resources/messaging/preferences.d.ts.map +1 -0
- package/resources/messaging/preferences.js +47 -0
- package/resources/messaging/preferences.js.map +1 -0
- package/resources/messaging/preferences.mjs +43 -0
- package/resources/messaging/preferences.mjs.map +1 -0
- package/resources/messaging.d.mts +2 -0
- package/resources/messaging.d.mts.map +1 -0
- package/resources/messaging.d.ts +2 -0
- package/resources/messaging.d.ts.map +1 -0
- package/resources/messaging.js +6 -0
- package/resources/messaging.js.map +1 -0
- package/resources/messaging.mjs +3 -0
- package/resources/messaging.mjs.map +1 -0
- package/resources/operations/carriers/carriers.d.mts +20 -7
- package/resources/operations/carriers/carriers.d.mts.map +1 -1
- package/resources/operations/carriers/carriers.d.ts +20 -7
- package/resources/operations/carriers/carriers.d.ts.map +1 -1
- package/resources/operations/carriers/carriers.js +16 -1
- package/resources/operations/carriers/carriers.js.map +1 -1
- package/resources/operations/carriers/carriers.mjs +16 -1
- package/resources/operations/carriers/carriers.mjs.map +1 -1
- package/resources/operations/carriers/service-levels.d.mts +15 -0
- package/resources/operations/carriers/service-levels.d.mts.map +1 -1
- package/resources/operations/carriers/service-levels.d.ts +15 -0
- package/resources/operations/carriers/service-levels.d.ts.map +1 -1
- package/resources/operations/carriers/service-levels.js +15 -0
- package/resources/operations/carriers/service-levels.js.map +1 -1
- package/resources/operations/carriers/service-levels.mjs +15 -0
- package/resources/operations/carriers/service-levels.mjs.map +1 -1
- package/resources/operations/location-types.d.mts +6 -2
- package/resources/operations/location-types.d.mts.map +1 -1
- package/resources/operations/location-types.d.ts +6 -2
- package/resources/operations/location-types.d.ts.map +1 -1
- package/resources/operations/location-types.js +4 -0
- package/resources/operations/location-types.js.map +1 -1
- package/resources/operations/location-types.mjs +4 -0
- package/resources/operations/location-types.mjs.map +1 -1
- package/resources/operations/locations.d.mts +27 -10
- package/resources/operations/locations.d.mts.map +1 -1
- package/resources/operations/locations.d.ts +27 -10
- package/resources/operations/locations.d.ts.map +1 -1
- package/resources/operations/locations.js +18 -1
- package/resources/operations/locations.js.map +1 -1
- package/resources/operations/locations.mjs +18 -1
- package/resources/operations/locations.mjs.map +1 -1
- package/resources/operations/scanning-stations.d.mts +23 -6
- package/resources/operations/scanning-stations.d.mts.map +1 -1
- package/resources/operations/scanning-stations.d.ts +23 -6
- package/resources/operations/scanning-stations.d.ts.map +1 -1
- package/resources/operations/scanning-stations.js +18 -1
- package/resources/operations/scanning-stations.js.map +1 -1
- package/resources/operations/scanning-stations.mjs +18 -1
- package/resources/operations/scanning-stations.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +37 -2
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +37 -2
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/operations/shipping-terms.js +37 -2
- package/resources/operations/shipping-terms.js.map +1 -1
- package/resources/operations/shipping-terms.mjs +37 -2
- package/resources/operations/shipping-terms.mjs.map +1 -1
- package/resources/sales/account-groups.d.mts +21 -1
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +21 -1
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-groups.js +21 -1
- package/resources/sales/account-groups.js.map +1 -1
- package/resources/sales/account-groups.mjs +21 -1
- package/resources/sales/account-groups.mjs.map +1 -1
- package/resources/sales/account-statuses.d.mts +1 -1
- package/resources/sales/account-statuses.d.ts +1 -1
- package/resources/sales/addresses.d.mts +36 -6
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +36 -6
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/addresses.js +31 -1
- package/resources/sales/addresses.js.map +1 -1
- package/resources/sales/addresses.mjs +31 -1
- package/resources/sales/addresses.mjs.map +1 -1
- package/resources/sales/contacts/actions.d.mts +120 -0
- package/resources/sales/contacts/actions.d.mts.map +1 -0
- package/resources/sales/contacts/actions.d.ts +120 -0
- package/resources/sales/contacts/actions.d.ts.map +1 -0
- package/resources/sales/contacts/actions.js +38 -0
- package/resources/sales/contacts/actions.js.map +1 -0
- package/resources/sales/contacts/actions.mjs +34 -0
- package/resources/sales/contacts/actions.mjs.map +1 -0
- package/resources/sales/contacts/contacts.d.mts +10 -0
- package/resources/sales/contacts/contacts.d.mts.map +1 -0
- package/resources/sales/contacts/contacts.d.ts +10 -0
- package/resources/sales/contacts/contacts.d.ts.map +1 -0
- package/resources/sales/contacts/contacts.js +17 -0
- package/resources/sales/contacts/contacts.js.map +1 -0
- package/resources/sales/contacts/contacts.mjs +12 -0
- package/resources/sales/contacts/contacts.mjs.map +1 -0
- package/resources/sales/contacts/index.d.mts +3 -0
- package/resources/sales/contacts/index.d.mts.map +1 -0
- package/resources/sales/contacts/index.d.ts +3 -0
- package/resources/sales/contacts/index.d.ts.map +1 -0
- package/resources/sales/contacts/index.js +9 -0
- package/resources/sales/contacts/index.js.map +1 -0
- package/resources/sales/contacts/index.mjs +4 -0
- package/resources/sales/contacts/index.mjs.map +1 -0
- package/resources/sales/contacts.d.mts +2 -0
- package/resources/sales/contacts.d.mts.map +1 -0
- package/resources/sales/contacts.d.ts +2 -0
- package/resources/sales/contacts.d.ts.map +1 -0
- package/resources/sales/contacts.js +6 -0
- package/resources/sales/contacts.js.map +1 -0
- package/resources/sales/contacts.mjs +3 -0
- package/resources/sales/contacts.mjs.map +1 -0
- package/resources/sales/customers/actions.d.mts +3 -1
- package/resources/sales/customers/actions.d.mts.map +1 -1
- package/resources/sales/customers/actions.d.ts +3 -1
- package/resources/sales/customers/actions.d.ts.map +1 -1
- package/resources/sales/customers/actions.js +2 -0
- package/resources/sales/customers/actions.js.map +1 -1
- package/resources/sales/customers/actions.mjs +2 -0
- package/resources/sales/customers/actions.mjs.map +1 -1
- package/resources/sales/customers/customers.d.mts +59 -566
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +59 -566
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +52 -13
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +52 -13
- package/resources/sales/customers/customers.mjs.map +1 -1
- package/resources/sales/customers/index.d.mts +1 -1
- package/resources/sales/customers/index.d.mts.map +1 -1
- package/resources/sales/customers/index.d.ts +1 -1
- package/resources/sales/customers/index.d.ts.map +1 -1
- package/resources/sales/customers/index.js.map +1 -1
- package/resources/sales/customers/index.mjs.map +1 -1
- package/resources/sales/index.d.mts +2 -1
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +2 -1
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js +5 -3
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs +1 -0
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/priorities.d.mts +5 -1
- package/resources/sales/priorities.d.mts.map +1 -1
- package/resources/sales/priorities.d.ts +5 -1
- package/resources/sales/priorities.d.ts.map +1 -1
- package/resources/sales/priorities.js +4 -0
- package/resources/sales/priorities.js.map +1 -1
- package/resources/sales/priorities.mjs +4 -0
- package/resources/sales/priorities.mjs.map +1 -1
- package/resources/sales/sales-orders.d.mts +58 -46
- package/resources/sales/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders.d.ts +58 -46
- package/resources/sales/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders.js +18 -4
- package/resources/sales/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders.mjs +18 -4
- package/resources/sales/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +6 -2
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +6 -2
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js +4 -0
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs +4 -0
- package/resources/sales/sales.mjs.map +1 -1
- package/resources/settings/integrations.d.mts +12 -1
- package/resources/settings/integrations.d.mts.map +1 -1
- package/resources/settings/integrations.d.ts +12 -1
- package/resources/settings/integrations.d.ts.map +1 -1
- package/resources/settings/integrations.js +12 -1
- package/resources/settings/integrations.js.map +1 -1
- package/resources/settings/integrations.mjs +12 -1
- package/resources/settings/integrations.mjs.map +1 -1
- package/src/client.ts +22 -2
- package/src/resources/auth/api-keys/actions.ts +2 -0
- package/src/resources/auth/api-keys/api-keys.ts +12 -3
- package/src/resources/catalog/item-categories/item-categories.ts +17 -1
- package/src/resources/catalog/item-categories/properties.ts +4 -0
- package/src/resources/catalog/items/attributes.ts +4 -0
- package/src/resources/catalog/items/items.ts +8 -0
- package/src/resources/catalog/materials.ts +66 -10
- package/src/resources/catalog/parts.ts +30 -0
- package/src/resources/catalog/product-lines.ts +18 -1
- package/src/resources/catalog/products.ts +52 -9
- package/src/resources/catalog/properties/attributes.ts +12 -0
- package/src/resources/catalog/properties/properties.ts +10 -0
- package/src/resources/catalog/unit-groups/unit-groups.ts +29 -7
- package/src/resources/catalog/unit-groups/units.ts +12 -0
- package/src/resources/catalog/units.ts +56 -26
- package/src/resources/core/addresses/actions.ts +1 -0
- package/src/resources/core/audit-events.ts +114 -11
- package/src/resources/core/core.ts +602 -0
- package/src/resources/core/email-logs.ts +6 -1
- package/src/resources/core/index.ts +1 -1
- package/src/resources/core/request-logs.ts +22 -7
- package/src/resources/core/sandboxes.ts +11 -3
- package/src/resources/finance/payment-terms.ts +10 -0
- package/src/resources/identity/account-users/account-users.ts +26 -5
- package/src/resources/identity/account-users/actions.ts +9 -0
- package/src/resources/identity/roles.ts +34 -18
- package/src/resources/index.ts +2 -1
- package/src/resources/messaging/announcements/actions.ts +119 -0
- package/src/resources/messaging/announcements/announcements.ts +234 -0
- package/src/resources/messaging/announcements/index.ts +10 -0
- package/src/resources/messaging/announcements.ts +3 -0
- package/src/resources/messaging/blocks.ts +826 -0
- package/src/resources/messaging/conversations/actions.ts +766 -0
- package/src/resources/messaging/conversations/attachments/actions.ts +116 -0
- package/src/resources/messaging/conversations/attachments/attachments.ts +25 -0
- package/src/resources/messaging/conversations/attachments/index.ts +9 -0
- package/src/resources/messaging/conversations/attachments.ts +3 -0
- package/src/resources/messaging/conversations/conversations.ts +2500 -0
- package/src/resources/messaging/conversations/index.ts +81 -0
- package/src/resources/messaging/conversations/links.ts +692 -0
- package/src/resources/messaging/conversations/messages.ts +929 -0
- package/src/resources/messaging/conversations/participants/actions.ts +92 -0
- package/src/resources/messaging/conversations/participants/index.ts +10 -0
- package/src/resources/messaging/conversations/participants/participants.ts +150 -0
- package/src/resources/messaging/conversations/participants.ts +3 -0
- package/src/resources/messaging/conversations.ts +3 -0
- package/src/resources/messaging/email-domains/actions.ts +32 -0
- package/src/resources/messaging/email-domains/email-domains.ts +170 -0
- package/src/resources/messaging/email-domains/index.ts +10 -0
- package/src/resources/messaging/email-domains.ts +3 -0
- package/src/resources/messaging/email-inboxes.ts +462 -0
- package/src/resources/messaging/groups/groups.ts +211 -0
- package/src/resources/messaging/groups/index.ts +17 -0
- package/src/resources/messaging/groups/members.ts +113 -0
- package/src/resources/messaging/groups.ts +3 -0
- package/src/resources/messaging/index.ts +116 -0
- package/src/resources/messaging/messages/actions.ts +184 -0
- package/src/resources/messaging/messages/index.ts +10 -0
- package/src/resources/messaging/messages/messages.ts +108 -0
- package/src/resources/messaging/messages.ts +3 -0
- package/src/resources/messaging/messaging.ts +353 -0
- package/src/resources/messaging/notifications/actions.ts +139 -0
- package/src/resources/messaging/notifications/index.ts +24 -0
- package/src/resources/messaging/notifications/notifications.ts +1057 -0
- package/src/resources/messaging/notifications.ts +3 -0
- package/src/resources/messaging/preferences.ts +215 -0
- package/src/resources/messaging.ts +3 -0
- package/src/resources/operations/carriers/carriers.ts +20 -7
- package/src/resources/operations/carriers/service-levels.ts +15 -0
- package/src/resources/operations/location-types.ts +6 -2
- package/src/resources/operations/locations.ts +27 -10
- package/src/resources/operations/scanning-stations.ts +23 -6
- package/src/resources/operations/shipping-terms.ts +37 -2
- package/src/resources/sales/account-groups.ts +21 -1
- package/src/resources/sales/account-statuses.ts +1 -1
- package/src/resources/sales/addresses.ts +36 -6
- package/src/resources/sales/contacts/actions.ts +150 -0
- package/src/resources/sales/contacts/contacts.ts +27 -0
- package/src/resources/sales/contacts/index.ts +10 -0
- package/src/resources/sales/contacts.ts +3 -0
- package/src/resources/sales/customers/actions.ts +4 -0
- package/src/resources/sales/customers/customers.ts +62 -679
- package/src/resources/sales/customers/index.ts +0 -15
- package/src/resources/sales/index.ts +1 -15
- package/src/resources/sales/priorities.ts +5 -1
- package/src/resources/sales/sales-orders.ts +58 -48
- package/src/resources/sales/sales.ts +6 -30
- package/src/resources/settings/integrations.ts +12 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -11,6 +11,8 @@ export declare class APIKeys extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* Returns [API key](https://docs.augno.com/api/api-keys) metadata by ID.
|
|
13
13
|
*
|
|
14
|
+
* This endpoint requires the `admin` role type.
|
|
15
|
+
*
|
|
14
16
|
* @example
|
|
15
17
|
* ```ts
|
|
16
18
|
* const apiKey = await client.auth.apiKeys.retrieve(
|
|
@@ -22,6 +24,8 @@ export declare class APIKeys extends APIResource {
|
|
|
22
24
|
/**
|
|
23
25
|
* Returns a paginated list of [API keys](https://docs.augno.com/api/api-keys).
|
|
24
26
|
*
|
|
27
|
+
* This endpoint requires the `admin` role type.
|
|
28
|
+
*
|
|
25
29
|
* @example
|
|
26
30
|
* ```ts
|
|
27
31
|
* const listAPIKey = await client.auth.apiKeys.list();
|
|
@@ -37,11 +41,14 @@ export declare class APIKeys extends APIResource {
|
|
|
37
41
|
* [recommendations](https://docs.augno.com/api/managing-api-keys) on how you can
|
|
38
42
|
* manage your API keys.
|
|
39
43
|
*
|
|
44
|
+
* This endpoint requires the `admin` role type.
|
|
45
|
+
*
|
|
40
46
|
* @example
|
|
41
47
|
* ```ts
|
|
42
48
|
* const createdAPIKey = await client.auth.apiKeys.create({
|
|
43
49
|
* name: 'Production API Key',
|
|
44
50
|
* role_id: 'rl_01c16d2eb637c0d1f3a372937c',
|
|
51
|
+
* expires_at: '2027-01-01T00:00:00Z',
|
|
45
52
|
* });
|
|
46
53
|
* ```
|
|
47
54
|
*/
|
|
@@ -53,6 +60,8 @@ export declare class APIKeys extends APIResource {
|
|
|
53
60
|
* longer be used to authenticate requests. To replace a key without losing access,
|
|
54
61
|
* use Rotate API Key instead.
|
|
55
62
|
*
|
|
63
|
+
* This endpoint requires the `admin` role type.
|
|
64
|
+
*
|
|
56
65
|
* @example
|
|
57
66
|
* ```ts
|
|
58
67
|
* const apiKey = await client.auth.apiKeys.delete(
|
|
@@ -89,7 +98,7 @@ export interface Account {
|
|
|
89
98
|
*/
|
|
90
99
|
default_shipping_address: Address | null;
|
|
91
100
|
/**
|
|
92
|
-
*
|
|
101
|
+
* The account's display name.
|
|
93
102
|
*/
|
|
94
103
|
name: string;
|
|
95
104
|
/**
|
|
@@ -219,7 +228,7 @@ export interface Address {
|
|
|
219
228
|
*/
|
|
220
229
|
phone: string | null;
|
|
221
230
|
/**
|
|
222
|
-
*
|
|
231
|
+
* How the address is used.
|
|
223
232
|
*
|
|
224
233
|
* - `standard`: a normal shipping or billing address.
|
|
225
234
|
* - `drop_ship`: an address an order is shipped to directly, typically a third
|
|
@@ -397,7 +406,7 @@ export interface Owner {
|
|
|
397
406
|
*/
|
|
398
407
|
object: 'owner';
|
|
399
408
|
/**
|
|
400
|
-
*
|
|
409
|
+
* Where this resource came from.
|
|
401
410
|
*
|
|
402
411
|
* - `system`: a platform-provided default shared across all accounts; not
|
|
403
412
|
* editable.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../../src/resources/auth/api-keys/api-keys.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,OAAO,EAAE,mBAAmB,EAAE;OACpD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE
|
|
1
|
+
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../../src/resources/auth/api-keys/api-keys.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,kBAAkB,EAAE,OAAO,EAAE,mBAAmB,EAAE;OACpD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC;IAIrB;;;;;;;;;OASG;IACH,IAAI,CAAC,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IA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key](https://docs.augno.com/api/api-keys) metadata by ID.
|
|
20
20
|
*
|
|
21
|
+
* This endpoint requires the `admin` role type.
|
|
22
|
+
*
|
|
21
23
|
* @example
|
|
22
24
|
* ```ts
|
|
23
25
|
* const apiKey = await client.auth.apiKeys.retrieve(
|
|
@@ -31,6 +33,8 @@ class APIKeys extends resource_1.APIResource {
|
|
|
31
33
|
/**
|
|
32
34
|
* Returns a paginated list of [API keys](https://docs.augno.com/api/api-keys).
|
|
33
35
|
*
|
|
36
|
+
* This endpoint requires the `admin` role type.
|
|
37
|
+
*
|
|
34
38
|
* @example
|
|
35
39
|
* ```ts
|
|
36
40
|
* const listAPIKey = await client.auth.apiKeys.list();
|
|
@@ -48,11 +52,14 @@ class APIKeys extends resource_1.APIResource {
|
|
|
48
52
|
* [recommendations](https://docs.augno.com/api/managing-api-keys) on how you can
|
|
49
53
|
* manage your API keys.
|
|
50
54
|
*
|
|
55
|
+
* This endpoint requires the `admin` role type.
|
|
56
|
+
*
|
|
51
57
|
* @example
|
|
52
58
|
* ```ts
|
|
53
59
|
* const createdAPIKey = await client.auth.apiKeys.create({
|
|
54
60
|
* name: 'Production API Key',
|
|
55
61
|
* role_id: 'rl_01c16d2eb637c0d1f3a372937c',
|
|
62
|
+
* expires_at: '2027-01-01T00:00:00Z',
|
|
56
63
|
* });
|
|
57
64
|
* ```
|
|
58
65
|
*/
|
|
@@ -67,6 +74,8 @@ class APIKeys extends resource_1.APIResource {
|
|
|
67
74
|
* longer be used to authenticate requests. To replace a key without losing access,
|
|
68
75
|
* use Rotate API Key instead.
|
|
69
76
|
*
|
|
77
|
+
* This endpoint requires the `admin` role type.
|
|
78
|
+
*
|
|
70
79
|
* @example
|
|
71
80
|
* ```ts
|
|
72
81
|
* const apiKey = await client.auth.apiKeys.delete(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../../../src/resources/auth/api-keys/api-keys.ts"],"names":[],"mappings":";AAAA,sFAAs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C;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAjFD,0BAiFC;AAgkBD,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -14,6 +14,8 @@ export class APIKeys extends APIResource {
|
|
|
14
14
|
/**
|
|
15
15
|
* Returns [API key](https://docs.augno.com/api/api-keys) metadata by ID.
|
|
16
16
|
*
|
|
17
|
+
* This endpoint requires the `admin` role type.
|
|
18
|
+
*
|
|
17
19
|
* @example
|
|
18
20
|
* ```ts
|
|
19
21
|
* const apiKey = await client.auth.apiKeys.retrieve(
|
|
@@ -27,6 +29,8 @@ export class APIKeys extends APIResource {
|
|
|
27
29
|
/**
|
|
28
30
|
* Returns a paginated list of [API keys](https://docs.augno.com/api/api-keys).
|
|
29
31
|
*
|
|
32
|
+
* This endpoint requires the `admin` role type.
|
|
33
|
+
*
|
|
30
34
|
* @example
|
|
31
35
|
* ```ts
|
|
32
36
|
* const listAPIKey = await client.auth.apiKeys.list();
|
|
@@ -44,11 +48,14 @@ export class APIKeys extends APIResource {
|
|
|
44
48
|
* [recommendations](https://docs.augno.com/api/managing-api-keys) on how you can
|
|
45
49
|
* manage your API keys.
|
|
46
50
|
*
|
|
51
|
+
* This endpoint requires the `admin` role type.
|
|
52
|
+
*
|
|
47
53
|
* @example
|
|
48
54
|
* ```ts
|
|
49
55
|
* const createdAPIKey = await client.auth.apiKeys.create({
|
|
50
56
|
* name: 'Production API Key',
|
|
51
57
|
* role_id: 'rl_01c16d2eb637c0d1f3a372937c',
|
|
58
|
+
* expires_at: '2027-01-01T00:00:00Z',
|
|
52
59
|
* });
|
|
53
60
|
* ```
|
|
54
61
|
*/
|
|
@@ -63,6 +70,8 @@ export class APIKeys extends APIResource {
|
|
|
63
70
|
* longer be used to authenticate requests. To replace a key without losing access,
|
|
64
71
|
* use Rotate API Key instead.
|
|
65
72
|
*
|
|
73
|
+
* This endpoint requires the `admin` role type.
|
|
74
|
+
*
|
|
66
75
|
* @example
|
|
67
76
|
* ```ts
|
|
68
77
|
* const apiKey = await client.auth.apiKeys.delete(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.mjs","sourceRoot":"","sources":["../../../src/resources/auth/api-keys/api-keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAsB,OAAO,EAAuB;OAGpD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"api-keys.mjs","sourceRoot":"","sources":["../../../src/resources/auth/api-keys/api-keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAsB,OAAO,EAAuB;OAGpD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgFrE,CAAC;IA9EC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CAAC,QAA6C,EAAE,EAAE,OAAwB;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CAAC,MAA0B,EAAE,OAAwB;QACzD,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAgkBD,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -14,6 +14,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
14
14
|
* Returns a paginated list of item categories for the current account, including
|
|
15
15
|
* account-specific and global system categories.
|
|
16
16
|
*
|
|
17
|
+
* This endpoint requires the permission: `item_categories:read`.
|
|
18
|
+
*
|
|
17
19
|
* @example
|
|
18
20
|
* ```ts
|
|
19
21
|
* const listItemCategory =
|
|
@@ -26,6 +28,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
26
28
|
*
|
|
27
29
|
* Both account-owned categories and global system categories can be retrieved.
|
|
28
30
|
*
|
|
31
|
+
* This endpoint requires the permission: `item_categories:read`.
|
|
32
|
+
*
|
|
29
33
|
* @example
|
|
30
34
|
* ```ts
|
|
31
35
|
* const itemCategory =
|
|
@@ -38,6 +42,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
38
42
|
/**
|
|
39
43
|
* Creates an account-owned item category.
|
|
40
44
|
*
|
|
45
|
+
* This endpoint requires the permission: `item_categories:create`.
|
|
46
|
+
*
|
|
41
47
|
* @example
|
|
42
48
|
* ```ts
|
|
43
49
|
* const itemCategory =
|
|
@@ -55,12 +61,18 @@ export declare class ItemCategories extends APIResource {
|
|
|
55
61
|
* Only the fields provided in the request body are changed. Default system
|
|
56
62
|
* categories cannot be updated.
|
|
57
63
|
*
|
|
64
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
65
|
+
*
|
|
58
66
|
* @example
|
|
59
67
|
* ```ts
|
|
60
68
|
* const itemCategory =
|
|
61
69
|
* await client.catalog.itemCategories.update(
|
|
62
70
|
* 'ic_01ae7bd7bfd21ca0ab81e1357e',
|
|
63
|
-
* {
|
|
71
|
+
* {
|
|
72
|
+
* name: 'Electronic Components',
|
|
73
|
+
* notes:
|
|
74
|
+
* 'Covers passive and active components; excludes assemblies.',
|
|
75
|
+
* },
|
|
64
76
|
* );
|
|
65
77
|
* ```
|
|
66
78
|
*/
|
|
@@ -70,6 +82,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
70
82
|
*
|
|
71
83
|
* Default system categories cannot be deleted.
|
|
72
84
|
*
|
|
85
|
+
* This endpoint requires the permission: `item_categories:delete`.
|
|
86
|
+
*
|
|
73
87
|
* @example
|
|
74
88
|
* ```ts
|
|
75
89
|
* const itemCategory =
|
|
@@ -86,6 +100,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
86
100
|
* example, a category measured in `mass` units can only switch to another `mass`
|
|
87
101
|
* unit group. Default system categories cannot be modified.
|
|
88
102
|
*
|
|
103
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
104
|
+
*
|
|
89
105
|
* @example
|
|
90
106
|
* ```ts
|
|
91
107
|
* const response =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-categories.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EACL,UAAU,EACV,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACvB;OACM,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF
|
|
1
|
+
{"version":3,"file":"item-categories.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EACL,UAAU,EACV,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACvB;OACM,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC;IAIpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC;IAKrG;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,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AAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -14,6 +14,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
14
14
|
* Returns a paginated list of item categories for the current account, including
|
|
15
15
|
* account-specific and global system categories.
|
|
16
16
|
*
|
|
17
|
+
* This endpoint requires the permission: `item_categories:read`.
|
|
18
|
+
*
|
|
17
19
|
* @example
|
|
18
20
|
* ```ts
|
|
19
21
|
* const listItemCategory =
|
|
@@ -26,6 +28,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
26
28
|
*
|
|
27
29
|
* Both account-owned categories and global system categories can be retrieved.
|
|
28
30
|
*
|
|
31
|
+
* This endpoint requires the permission: `item_categories:read`.
|
|
32
|
+
*
|
|
29
33
|
* @example
|
|
30
34
|
* ```ts
|
|
31
35
|
* const itemCategory =
|
|
@@ -38,6 +42,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
38
42
|
/**
|
|
39
43
|
* Creates an account-owned item category.
|
|
40
44
|
*
|
|
45
|
+
* This endpoint requires the permission: `item_categories:create`.
|
|
46
|
+
*
|
|
41
47
|
* @example
|
|
42
48
|
* ```ts
|
|
43
49
|
* const itemCategory =
|
|
@@ -55,12 +61,18 @@ export declare class ItemCategories extends APIResource {
|
|
|
55
61
|
* Only the fields provided in the request body are changed. Default system
|
|
56
62
|
* categories cannot be updated.
|
|
57
63
|
*
|
|
64
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
65
|
+
*
|
|
58
66
|
* @example
|
|
59
67
|
* ```ts
|
|
60
68
|
* const itemCategory =
|
|
61
69
|
* await client.catalog.itemCategories.update(
|
|
62
70
|
* 'ic_01ae7bd7bfd21ca0ab81e1357e',
|
|
63
|
-
* {
|
|
71
|
+
* {
|
|
72
|
+
* name: 'Electronic Components',
|
|
73
|
+
* notes:
|
|
74
|
+
* 'Covers passive and active components; excludes assemblies.',
|
|
75
|
+
* },
|
|
64
76
|
* );
|
|
65
77
|
* ```
|
|
66
78
|
*/
|
|
@@ -70,6 +82,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
70
82
|
*
|
|
71
83
|
* Default system categories cannot be deleted.
|
|
72
84
|
*
|
|
85
|
+
* This endpoint requires the permission: `item_categories:delete`.
|
|
86
|
+
*
|
|
73
87
|
* @example
|
|
74
88
|
* ```ts
|
|
75
89
|
* const itemCategory =
|
|
@@ -86,6 +100,8 @@ export declare class ItemCategories extends APIResource {
|
|
|
86
100
|
* example, a category measured in `mass` units can only switch to another `mass`
|
|
87
101
|
* unit group. Default system categories cannot be modified.
|
|
88
102
|
*
|
|
103
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
104
|
+
*
|
|
89
105
|
* @example
|
|
90
106
|
* ```ts
|
|
91
107
|
* const response =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-categories.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EACL,UAAU,EACV,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACvB;OACM,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF
|
|
1
|
+
{"version":3,"file":"item-categories.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/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AAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -19,6 +19,8 @@ class ItemCategories extends resource_1.APIResource {
|
|
|
19
19
|
* Returns a paginated list of item categories for the current account, including
|
|
20
20
|
* account-specific and global system categories.
|
|
21
21
|
*
|
|
22
|
+
* This endpoint requires the permission: `item_categories:read`.
|
|
23
|
+
*
|
|
22
24
|
* @example
|
|
23
25
|
* ```ts
|
|
24
26
|
* const listItemCategory =
|
|
@@ -33,6 +35,8 @@ class ItemCategories extends resource_1.APIResource {
|
|
|
33
35
|
*
|
|
34
36
|
* Both account-owned categories and global system categories can be retrieved.
|
|
35
37
|
*
|
|
38
|
+
* This endpoint requires the permission: `item_categories:read`.
|
|
39
|
+
*
|
|
36
40
|
* @example
|
|
37
41
|
* ```ts
|
|
38
42
|
* const itemCategory =
|
|
@@ -47,6 +51,8 @@ class ItemCategories extends resource_1.APIResource {
|
|
|
47
51
|
/**
|
|
48
52
|
* Creates an account-owned item category.
|
|
49
53
|
*
|
|
54
|
+
* This endpoint requires the permission: `item_categories:create`.
|
|
55
|
+
*
|
|
50
56
|
* @example
|
|
51
57
|
* ```ts
|
|
52
58
|
* const itemCategory =
|
|
@@ -67,12 +73,18 @@ class ItemCategories extends resource_1.APIResource {
|
|
|
67
73
|
* Only the fields provided in the request body are changed. Default system
|
|
68
74
|
* categories cannot be updated.
|
|
69
75
|
*
|
|
76
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
77
|
+
*
|
|
70
78
|
* @example
|
|
71
79
|
* ```ts
|
|
72
80
|
* const itemCategory =
|
|
73
81
|
* await client.catalog.itemCategories.update(
|
|
74
82
|
* 'ic_01ae7bd7bfd21ca0ab81e1357e',
|
|
75
|
-
* {
|
|
83
|
+
* {
|
|
84
|
+
* name: 'Electronic Components',
|
|
85
|
+
* notes:
|
|
86
|
+
* 'Covers passive and active components; excludes assemblies.',
|
|
87
|
+
* },
|
|
76
88
|
* );
|
|
77
89
|
* ```
|
|
78
90
|
*/
|
|
@@ -89,6 +101,8 @@ class ItemCategories extends resource_1.APIResource {
|
|
|
89
101
|
*
|
|
90
102
|
* Default system categories cannot be deleted.
|
|
91
103
|
*
|
|
104
|
+
* This endpoint requires the permission: `item_categories:delete`.
|
|
105
|
+
*
|
|
92
106
|
* @example
|
|
93
107
|
* ```ts
|
|
94
108
|
* const itemCategory =
|
|
@@ -107,6 +121,8 @@ class ItemCategories extends resource_1.APIResource {
|
|
|
107
121
|
* example, a category measured in `mass` units can only switch to another `mass`
|
|
108
122
|
* unit group. Default system categories cannot be modified.
|
|
109
123
|
*
|
|
124
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
125
|
+
*
|
|
110
126
|
* @example
|
|
111
127
|
* ```ts
|
|
112
128
|
* const response =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-categories.js","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,uEAA8C;AAC9C,gDAMsB;AAItB,0DAAoD;AAEpD;;GAEG;AACH,MAAa,cAAe,SAAQ,sBAAW;IAA/C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA+
|
|
1
|
+
{"version":3,"file":"item-categories.js","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,uEAA8C;AAC9C,gDAMsB;AAItB,0DAAoD;AAEpD;;GAEG;AACH,MAAa,cAAe,SAAQ,sBAAW;IAA/C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA+IpF,CAAC;IA7IC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CA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AwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,gBAAgB,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACvG,CAAC;CACF;AAhJD,wCAgJC;AAyMD,cAAc,CAAC,UAAU,GAAG,uBAAU,CAAC"}
|
|
@@ -15,6 +15,8 @@ export class ItemCategories extends APIResource {
|
|
|
15
15
|
* Returns a paginated list of item categories for the current account, including
|
|
16
16
|
* account-specific and global system categories.
|
|
17
17
|
*
|
|
18
|
+
* This endpoint requires the permission: `item_categories:read`.
|
|
19
|
+
*
|
|
18
20
|
* @example
|
|
19
21
|
* ```ts
|
|
20
22
|
* const listItemCategory =
|
|
@@ -29,6 +31,8 @@ export class ItemCategories extends APIResource {
|
|
|
29
31
|
*
|
|
30
32
|
* Both account-owned categories and global system categories can be retrieved.
|
|
31
33
|
*
|
|
34
|
+
* This endpoint requires the permission: `item_categories:read`.
|
|
35
|
+
*
|
|
32
36
|
* @example
|
|
33
37
|
* ```ts
|
|
34
38
|
* const itemCategory =
|
|
@@ -43,6 +47,8 @@ export class ItemCategories extends APIResource {
|
|
|
43
47
|
/**
|
|
44
48
|
* Creates an account-owned item category.
|
|
45
49
|
*
|
|
50
|
+
* This endpoint requires the permission: `item_categories:create`.
|
|
51
|
+
*
|
|
46
52
|
* @example
|
|
47
53
|
* ```ts
|
|
48
54
|
* const itemCategory =
|
|
@@ -63,12 +69,18 @@ export class ItemCategories extends APIResource {
|
|
|
63
69
|
* Only the fields provided in the request body are changed. Default system
|
|
64
70
|
* categories cannot be updated.
|
|
65
71
|
*
|
|
72
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
73
|
+
*
|
|
66
74
|
* @example
|
|
67
75
|
* ```ts
|
|
68
76
|
* const itemCategory =
|
|
69
77
|
* await client.catalog.itemCategories.update(
|
|
70
78
|
* 'ic_01ae7bd7bfd21ca0ab81e1357e',
|
|
71
|
-
* {
|
|
79
|
+
* {
|
|
80
|
+
* name: 'Electronic Components',
|
|
81
|
+
* notes:
|
|
82
|
+
* 'Covers passive and active components; excludes assemblies.',
|
|
83
|
+
* },
|
|
72
84
|
* );
|
|
73
85
|
* ```
|
|
74
86
|
*/
|
|
@@ -85,6 +97,8 @@ export class ItemCategories extends APIResource {
|
|
|
85
97
|
*
|
|
86
98
|
* Default system categories cannot be deleted.
|
|
87
99
|
*
|
|
100
|
+
* This endpoint requires the permission: `item_categories:delete`.
|
|
101
|
+
*
|
|
88
102
|
* @example
|
|
89
103
|
* ```ts
|
|
90
104
|
* const itemCategory =
|
|
@@ -103,6 +117,8 @@ export class ItemCategories extends APIResource {
|
|
|
103
117
|
* example, a category measured in `mass` units can only switch to another `mass`
|
|
104
118
|
* unit group. Default system categories cannot be modified.
|
|
105
119
|
*
|
|
120
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
121
|
+
*
|
|
106
122
|
* @example
|
|
107
123
|
* ```ts
|
|
108
124
|
* const response =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-categories.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,aAAa;OAClB,EACL,UAAU,GAKX;OAIM,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,WAAW;IAA/C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA+
|
|
1
|
+
{"version":3,"file":"item-categories.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,aAAa;OAClB,EACL,UAAU,GAKX;OAIM,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH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C,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,+BAA+B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,eAAe,CACb,WAAmB,EACnB,MAAyC,EACzC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,gBAAgB,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACvG,CAAC;CACF;AAyMD,cAAc,CAAC,UAAU,GAAG,UAAU,CAAC"}
|
|
@@ -13,6 +13,8 @@ export declare class Properties extends APIResource {
|
|
|
13
13
|
* name duplicates one already in the category returns a conflict error. Default
|
|
14
14
|
* system categories cannot be modified.
|
|
15
15
|
*
|
|
16
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
17
|
+
*
|
|
16
18
|
* @example
|
|
17
19
|
* ```ts
|
|
18
20
|
* const property =
|
|
@@ -28,6 +30,8 @@ export declare class Properties extends APIResource {
|
|
|
28
30
|
*
|
|
29
31
|
* Default system categories cannot be modified.
|
|
30
32
|
*
|
|
33
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
34
|
+
*
|
|
31
35
|
* @example
|
|
32
36
|
* ```ts
|
|
33
37
|
* const property =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/properties.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"properties.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/properties.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAKrC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAItC;AAED,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -13,6 +13,8 @@ export declare class Properties extends APIResource {
|
|
|
13
13
|
* name duplicates one already in the category returns a conflict error. Default
|
|
14
14
|
* system categories cannot be modified.
|
|
15
15
|
*
|
|
16
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
17
|
+
*
|
|
16
18
|
* @example
|
|
17
19
|
* ```ts
|
|
18
20
|
* const property =
|
|
@@ -28,6 +30,8 @@ export declare class Properties extends APIResource {
|
|
|
28
30
|
*
|
|
29
31
|
* Default system categories cannot be modified.
|
|
30
32
|
*
|
|
33
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
34
|
+
*
|
|
31
35
|
* @example
|
|
32
36
|
* ```ts
|
|
33
37
|
* const property =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/properties.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/properties.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAKrC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAItC;AAED,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,sBAAsB;CAAG;AAE1C,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -16,6 +16,8 @@ class Properties extends resource_1.APIResource {
|
|
|
16
16
|
* name duplicates one already in the category returns a conflict error. Default
|
|
17
17
|
* system categories cannot be modified.
|
|
18
18
|
*
|
|
19
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
20
|
+
*
|
|
19
21
|
* @example
|
|
20
22
|
* ```ts
|
|
21
23
|
* const property =
|
|
@@ -34,6 +36,8 @@ class Properties extends resource_1.APIResource {
|
|
|
34
36
|
*
|
|
35
37
|
* Default system categories cannot be modified.
|
|
36
38
|
*
|
|
39
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
40
|
+
*
|
|
37
41
|
* @example
|
|
38
42
|
* ```ts
|
|
39
43
|
* const property =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/properties.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC
|
|
1
|
+
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/properties.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,eAAe,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,eAAe,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;CACF;AArDD,gCAqDC"}
|
|
@@ -13,6 +13,8 @@ export class Properties extends APIResource {
|
|
|
13
13
|
* name duplicates one already in the category returns a conflict error. Default
|
|
14
14
|
* system categories cannot be modified.
|
|
15
15
|
*
|
|
16
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
17
|
+
*
|
|
16
18
|
* @example
|
|
17
19
|
* ```ts
|
|
18
20
|
* const property =
|
|
@@ -31,6 +33,8 @@ export class Properties extends APIResource {
|
|
|
31
33
|
*
|
|
32
34
|
* Default system categories cannot be modified.
|
|
33
35
|
*
|
|
36
|
+
* This endpoint requires the permission: `item_categories:update`.
|
|
37
|
+
*
|
|
34
38
|
* @example
|
|
35
39
|
* ```ts
|
|
36
40
|
* const property =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/properties.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"properties.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/properties.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,eAAe,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,+BAA+B,EAAE,eAAe,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;CACF"}
|
|
@@ -11,6 +11,8 @@ export declare class Attributes extends APIResource {
|
|
|
11
11
|
*
|
|
12
12
|
* If the attribute is already associated with the item, this is a no-op.
|
|
13
13
|
*
|
|
14
|
+
* This endpoint requires the permission: `items:update`.
|
|
15
|
+
*
|
|
14
16
|
* @example
|
|
15
17
|
* ```ts
|
|
16
18
|
* const item = await client.catalog.items.attributes.update(
|
|
@@ -23,6 +25,8 @@ export declare class Attributes extends APIResource {
|
|
|
23
25
|
/**
|
|
24
26
|
* Removes an attribute from an item.
|
|
25
27
|
*
|
|
28
|
+
* This endpoint requires the permission: `items:update`.
|
|
29
|
+
*
|
|
26
30
|
* @example
|
|
27
31
|
* ```ts
|
|
28
32
|
* const item = await client.catalog.items.attributes.delete(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributes.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/items/attributes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"attributes.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/items/attributes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC;IAQ5B;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC;CAO7B;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CACX,UAAU,GACV,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,qBAAqB,GACrB,qBAAqB,GACrB,+BAA+B,GAC/B,sCAAsC,GACtC,2CAA2C,CAC9C,CAAC;CACH;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CACX,UAAU,GACV,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,qBAAqB,GACrB,qBAAqB,GACrB,+BAA+B,GAC/B,sCAAsC,GACtC,2CAA2C,CAC9C,CAAC;CACH;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|