@augno/sdk 0.1.9 → 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 +4 -9
- package/README.md +27 -0
- package/api-promise.d.mts +0 -1
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +0 -1
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +0 -1
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +15 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -3
- package/client.d.ts.map +1 -1
- package/client.js +18 -1
- package/client.js.map +1 -1
- package/client.mjs +18 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +0 -1
- package/error.d.mts.map +1 -1
- package/error.d.ts +0 -1
- package/error.d.ts.map +1 -1
- package/error.mjs +0 -1
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +0 -6
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +0 -6
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +3 -3
- package/resource.d.mts +0 -1
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +0 -1
- package/resource.d.ts.map +1 -1
- package/resource.mjs +0 -1
- package/resource.mjs.map +1 -1
- package/resources/auth/api-keys/actions.d.mts +28 -5
- package/resources/auth/api-keys/actions.d.mts.map +1 -1
- package/resources/auth/api-keys/actions.d.ts +28 -5
- package/resources/auth/api-keys/actions.d.ts.map +1 -1
- package/resources/auth/api-keys/actions.js +6 -1
- package/resources/auth/api-keys/actions.js.map +1 -1
- package/resources/auth/api-keys/actions.mjs +6 -1
- package/resources/auth/api-keys/actions.mjs.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +144 -72
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +144 -72
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js +32 -22
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs +32 -22
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/auth/api-keys/index.d.mts +1 -1
- package/resources/auth/api-keys/index.d.mts.map +1 -1
- package/resources/auth/api-keys/index.d.ts +1 -1
- package/resources/auth/api-keys/index.d.ts.map +1 -1
- package/resources/auth/api-keys/index.mjs.map +1 -1
- package/resources/auth/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys.mjs.map +1 -1
- package/resources/auth/auth.d.mts +1 -1
- package/resources/auth/auth.d.mts.map +1 -1
- package/resources/auth/auth.d.ts +1 -1
- package/resources/auth/auth.d.ts.map +1 -1
- package/resources/auth/auth.mjs.map +1 -1
- package/resources/auth/index.d.mts +1 -1
- package/resources/auth/index.d.mts.map +1 -1
- package/resources/auth/index.d.ts +1 -1
- package/resources/auth/index.d.ts.map +1 -1
- package/resources/auth/index.mjs.map +1 -1
- package/resources/auth.d.mts.map +1 -1
- package/resources/auth.d.ts.map +1 -1
- package/resources/auth.mjs.map +1 -1
- package/resources/catalog/catalog.d.mts +9 -9
- package/resources/catalog/catalog.d.mts.map +1 -1
- package/resources/catalog/catalog.d.ts +9 -9
- package/resources/catalog/catalog.d.ts.map +1 -1
- package/resources/catalog/catalog.mjs.map +1 -1
- package/resources/catalog/index.d.mts +9 -9
- package/resources/catalog/index.d.mts.map +1 -1
- package/resources/catalog/index.d.ts +9 -9
- package/resources/catalog/index.d.ts.map +1 -1
- package/resources/catalog/index.mjs.map +1 -1
- package/resources/catalog/item-categories/index.d.mts +1 -1
- package/resources/catalog/item-categories/index.d.mts.map +1 -1
- package/resources/catalog/item-categories/index.d.ts +1 -1
- package/resources/catalog/item-categories/index.d.ts.map +1 -1
- package/resources/catalog/item-categories/index.mjs.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.mts +107 -65
- package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.ts +107 -65
- package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories/item-categories.js +50 -30
- package/resources/catalog/item-categories/item-categories.js.map +1 -1
- package/resources/catalog/item-categories/item-categories.mjs +50 -30
- package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
- package/resources/catalog/item-categories/properties.d.mts +13 -4
- package/resources/catalog/item-categories/properties.d.mts.map +1 -1
- package/resources/catalog/item-categories/properties.d.ts +13 -4
- package/resources/catalog/item-categories/properties.d.ts.map +1 -1
- package/resources/catalog/item-categories/properties.js +13 -4
- package/resources/catalog/item-categories/properties.js.map +1 -1
- package/resources/catalog/item-categories/properties.mjs +13 -4
- package/resources/catalog/item-categories/properties.mjs.map +1 -1
- package/resources/catalog/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories.mjs.map +1 -1
- package/resources/catalog/items/attributes.d.mts +7 -2
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +7 -2
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +7 -2
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +7 -2
- package/resources/catalog/items/attributes.mjs.map +1 -1
- package/resources/catalog/items/index.d.mts +1 -1
- package/resources/catalog/items/index.d.mts.map +1 -1
- package/resources/catalog/items/index.d.ts +1 -1
- package/resources/catalog/items/index.d.ts.map +1 -1
- package/resources/catalog/items/index.mjs.map +1 -1
- package/resources/catalog/items/items.d.mts +96 -52
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +96 -52
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js +32 -21
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs +32 -21
- package/resources/catalog/items/items.mjs.map +1 -1
- package/resources/catalog/items.d.mts.map +1 -1
- package/resources/catalog/items.d.ts.map +1 -1
- package/resources/catalog/items.mjs.map +1 -1
- package/resources/catalog/materials.d.mts +156 -94
- package/resources/catalog/materials.d.mts.map +1 -1
- package/resources/catalog/materials.d.ts +156 -94
- package/resources/catalog/materials.d.ts.map +1 -1
- package/resources/catalog/materials.js +44 -19
- package/resources/catalog/materials.js.map +1 -1
- package/resources/catalog/materials.mjs +44 -19
- package/resources/catalog/materials.mjs.map +1 -1
- package/resources/catalog/parts.d.mts +142 -74
- package/resources/catalog/parts.d.mts.map +1 -1
- package/resources/catalog/parts.d.ts +142 -74
- package/resources/catalog/parts.d.ts.map +1 -1
- package/resources/catalog/parts.js +49 -20
- package/resources/catalog/parts.js.map +1 -1
- package/resources/catalog/parts.mjs +49 -20
- package/resources/catalog/parts.mjs.map +1 -1
- package/resources/catalog/product-lines.d.mts +157 -70
- package/resources/catalog/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines.d.ts +157 -70
- package/resources/catalog/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines.js +43 -26
- package/resources/catalog/product-lines.js.map +1 -1
- package/resources/catalog/product-lines.mjs +43 -26
- package/resources/catalog/product-lines.mjs.map +1 -1
- package/resources/catalog/products.d.mts +205 -94
- package/resources/catalog/products.d.mts.map +1 -1
- package/resources/catalog/products.d.ts +205 -94
- package/resources/catalog/products.d.ts.map +1 -1
- package/resources/catalog/products.js +39 -20
- package/resources/catalog/products.js.map +1 -1
- package/resources/catalog/products.mjs +39 -20
- package/resources/catalog/products.mjs.map +1 -1
- package/resources/catalog/properties/attributes.d.mts +106 -44
- package/resources/catalog/properties/attributes.d.mts.map +1 -1
- package/resources/catalog/properties/attributes.d.ts +106 -44
- package/resources/catalog/properties/attributes.d.ts.map +1 -1
- package/resources/catalog/properties/attributes.js +41 -21
- package/resources/catalog/properties/attributes.js.map +1 -1
- package/resources/catalog/properties/attributes.mjs +41 -21
- package/resources/catalog/properties/attributes.mjs.map +1 -1
- package/resources/catalog/properties/index.d.mts +2 -2
- package/resources/catalog/properties/index.d.mts.map +1 -1
- package/resources/catalog/properties/index.d.ts +2 -2
- package/resources/catalog/properties/index.d.ts.map +1 -1
- package/resources/catalog/properties/index.mjs.map +1 -1
- package/resources/catalog/properties/properties.d.mts +80 -47
- package/resources/catalog/properties/properties.d.mts.map +1 -1
- package/resources/catalog/properties/properties.d.ts +80 -47
- package/resources/catalog/properties/properties.d.ts.map +1 -1
- package/resources/catalog/properties/properties.js +29 -18
- package/resources/catalog/properties/properties.js.map +1 -1
- package/resources/catalog/properties/properties.mjs +29 -18
- package/resources/catalog/properties/properties.mjs.map +1 -1
- package/resources/catalog/properties.d.mts.map +1 -1
- package/resources/catalog/properties.d.ts.map +1 -1
- package/resources/catalog/properties.mjs.map +1 -1
- package/resources/catalog/unit-groups/index.d.mts +2 -2
- package/resources/catalog/unit-groups/index.d.mts.map +1 -1
- package/resources/catalog/unit-groups/index.d.ts +2 -2
- package/resources/catalog/unit-groups/index.d.ts.map +1 -1
- package/resources/catalog/unit-groups/index.mjs.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.mts +144 -86
- package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.ts +144 -86
- package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.js +44 -25
- package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.mjs +44 -25
- package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
- package/resources/catalog/unit-groups/units.d.mts +88 -54
- package/resources/catalog/unit-groups/units.d.mts.map +1 -1
- package/resources/catalog/unit-groups/units.d.ts +88 -54
- package/resources/catalog/unit-groups/units.d.ts.map +1 -1
- package/resources/catalog/unit-groups/units.js +44 -25
- package/resources/catalog/unit-groups/units.js.map +1 -1
- package/resources/catalog/unit-groups/units.mjs +44 -25
- package/resources/catalog/unit-groups/units.mjs.map +1 -1
- package/resources/catalog/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups.mjs.map +1 -1
- package/resources/catalog/units.d.mts +145 -85
- package/resources/catalog/units.d.mts.map +1 -1
- package/resources/catalog/units.d.ts +145 -85
- package/resources/catalog/units.d.ts.map +1 -1
- package/resources/catalog/units.js +39 -26
- package/resources/catalog/units.js.map +1 -1
- package/resources/catalog/units.mjs +39 -26
- package/resources/catalog/units.mjs.map +1 -1
- package/resources/catalog.d.mts.map +1 -1
- package/resources/catalog.d.ts.map +1 -1
- package/resources/catalog.mjs.map +1 -1
- package/resources/core/addresses/actions.d.mts +12 -5
- package/resources/core/addresses/actions.d.mts.map +1 -1
- package/resources/core/addresses/actions.d.ts +12 -5
- package/resources/core/addresses/actions.d.ts.map +1 -1
- package/resources/core/addresses/actions.mjs.map +1 -1
- package/resources/core/addresses/addresses.d.mts +5 -2
- package/resources/core/addresses/addresses.d.mts.map +1 -1
- package/resources/core/addresses/addresses.d.ts +5 -2
- package/resources/core/addresses/addresses.d.ts.map +1 -1
- package/resources/core/addresses/addresses.js.map +1 -1
- package/resources/core/addresses/addresses.mjs.map +1 -1
- package/resources/core/addresses/index.d.mts.map +1 -1
- package/resources/core/addresses/index.d.ts.map +1 -1
- package/resources/core/addresses/index.mjs.map +1 -1
- package/resources/core/addresses.d.mts.map +1 -1
- package/resources/core/addresses.d.ts.map +1 -1
- package/resources/core/addresses.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +96 -37
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +96 -37
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/audit-events.js +19 -10
- package/resources/core/audit-events.js.map +1 -1
- package/resources/core/audit-events.mjs +19 -10
- package/resources/core/audit-events.mjs.map +1 -1
- package/resources/core/core.d.mts +107 -4
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +107 -4
- 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 +37 -22
- package/resources/core/email-logs.d.mts.map +1 -1
- package/resources/core/email-logs.d.ts +37 -22
- package/resources/core/email-logs.d.ts.map +1 -1
- package/resources/core/email-logs.js +14 -10
- package/resources/core/email-logs.js.map +1 -1
- package/resources/core/email-logs.mjs +14 -10
- package/resources/core/email-logs.mjs.map +1 -1
- package/resources/core/index.d.mts +5 -5
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +5 -5
- 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 +107 -54
- package/resources/core/request-logs.d.mts.map +1 -1
- package/resources/core/request-logs.d.ts +107 -54
- package/resources/core/request-logs.d.ts.map +1 -1
- package/resources/core/request-logs.js +14 -10
- package/resources/core/request-logs.js.map +1 -1
- package/resources/core/request-logs.mjs +14 -10
- package/resources/core/request-logs.mjs.map +1 -1
- package/resources/core/sandboxes.d.mts +62 -33
- package/resources/core/sandboxes.d.mts.map +1 -1
- package/resources/core/sandboxes.d.ts +62 -33
- package/resources/core/sandboxes.d.ts.map +1 -1
- package/resources/core/sandboxes.js +28 -13
- package/resources/core/sandboxes.js.map +1 -1
- package/resources/core/sandboxes.mjs +28 -13
- package/resources/core/sandboxes.mjs.map +1 -1
- package/resources/core.d.mts.map +1 -1
- package/resources/core.d.ts.map +1 -1
- package/resources/core.mjs.map +1 -1
- package/resources/finance/finance.d.mts +69 -35
- package/resources/finance/finance.d.mts.map +1 -1
- package/resources/finance/finance.d.ts +69 -35
- package/resources/finance/finance.d.ts.map +1 -1
- package/resources/finance/finance.js +10 -10
- package/resources/finance/finance.js.map +1 -1
- package/resources/finance/finance.mjs +10 -10
- package/resources/finance/finance.mjs.map +1 -1
- package/resources/finance/index.d.mts +2 -2
- package/resources/finance/index.d.mts.map +1 -1
- package/resources/finance/index.d.ts +2 -2
- package/resources/finance/index.d.ts.map +1 -1
- package/resources/finance/index.mjs.map +1 -1
- package/resources/finance/payment-terms.d.mts +82 -43
- package/resources/finance/payment-terms.d.mts.map +1 -1
- package/resources/finance/payment-terms.d.ts +82 -43
- package/resources/finance/payment-terms.d.ts.map +1 -1
- package/resources/finance/payment-terms.js +43 -22
- package/resources/finance/payment-terms.js.map +1 -1
- package/resources/finance/payment-terms.mjs +43 -22
- package/resources/finance/payment-terms.mjs.map +1 -1
- package/resources/finance.d.mts.map +1 -1
- package/resources/finance.d.ts.map +1 -1
- package/resources/finance.mjs.map +1 -1
- package/resources/identity/account-users/account-users.d.mts +181 -82
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +181 -82
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js +55 -25
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs +55 -25
- package/resources/identity/account-users/account-users.mjs.map +1 -1
- package/resources/identity/account-users/actions.d.mts +22 -3
- package/resources/identity/account-users/actions.d.mts.map +1 -1
- package/resources/identity/account-users/actions.d.ts +22 -3
- package/resources/identity/account-users/actions.d.ts.map +1 -1
- package/resources/identity/account-users/actions.js +22 -3
- package/resources/identity/account-users/actions.js.map +1 -1
- package/resources/identity/account-users/actions.mjs +22 -3
- package/resources/identity/account-users/actions.mjs.map +1 -1
- package/resources/identity/account-users/index.d.mts +1 -1
- package/resources/identity/account-users/index.d.mts.map +1 -1
- package/resources/identity/account-users/index.d.ts +1 -1
- package/resources/identity/account-users/index.d.ts.map +1 -1
- package/resources/identity/account-users/index.mjs.map +1 -1
- package/resources/identity/account-users.d.mts.map +1 -1
- package/resources/identity/account-users.d.ts.map +1 -1
- package/resources/identity/account-users.mjs.map +1 -1
- package/resources/identity/identity.d.mts +2 -2
- package/resources/identity/identity.d.mts.map +1 -1
- package/resources/identity/identity.d.ts +2 -2
- package/resources/identity/identity.d.ts.map +1 -1
- package/resources/identity/identity.mjs.map +1 -1
- package/resources/identity/index.d.mts +2 -2
- package/resources/identity/index.d.mts.map +1 -1
- package/resources/identity/index.d.ts +2 -2
- package/resources/identity/index.d.ts.map +1 -1
- package/resources/identity/index.mjs.map +1 -1
- package/resources/identity/roles.d.mts +103 -60
- package/resources/identity/roles.d.mts.map +1 -1
- package/resources/identity/roles.d.ts +103 -60
- package/resources/identity/roles.d.ts.map +1 -1
- package/resources/identity/roles.js +47 -27
- package/resources/identity/roles.js.map +1 -1
- package/resources/identity/roles.mjs +47 -27
- package/resources/identity/roles.mjs.map +1 -1
- package/resources/identity.d.mts.map +1 -1
- package/resources/identity.d.ts.map +1 -1
- package/resources/identity.mjs.map +1 -1
- package/resources/index.d.mts +4 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -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 +102 -63
- package/resources/operations/carriers/carriers.d.mts.map +1 -1
- package/resources/operations/carriers/carriers.d.ts +102 -63
- package/resources/operations/carriers/carriers.d.ts.map +1 -1
- package/resources/operations/carriers/carriers.js +41 -21
- package/resources/operations/carriers/carriers.js.map +1 -1
- package/resources/operations/carriers/carriers.mjs +41 -21
- package/resources/operations/carriers/carriers.mjs.map +1 -1
- package/resources/operations/carriers/index.d.mts +2 -2
- package/resources/operations/carriers/index.d.mts.map +1 -1
- package/resources/operations/carriers/index.d.ts +2 -2
- package/resources/operations/carriers/index.d.ts.map +1 -1
- package/resources/operations/carriers/index.mjs.map +1 -1
- package/resources/operations/carriers/service-levels.d.mts +127 -68
- package/resources/operations/carriers/service-levels.d.mts.map +1 -1
- package/resources/operations/carriers/service-levels.d.ts +127 -68
- package/resources/operations/carriers/service-levels.d.ts.map +1 -1
- package/resources/operations/carriers/service-levels.js +49 -30
- package/resources/operations/carriers/service-levels.js.map +1 -1
- package/resources/operations/carriers/service-levels.mjs +49 -30
- package/resources/operations/carriers/service-levels.mjs.map +1 -1
- package/resources/operations/carriers.d.mts.map +1 -1
- package/resources/operations/carriers.d.ts.map +1 -1
- package/resources/operations/carriers.mjs.map +1 -1
- package/resources/operations/index.d.mts +4 -4
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +4 -4
- package/resources/operations/index.d.ts.map +1 -1
- package/resources/operations/index.mjs.map +1 -1
- package/resources/operations/location-types.d.mts +37 -18
- package/resources/operations/location-types.d.mts.map +1 -1
- package/resources/operations/location-types.d.ts +37 -18
- package/resources/operations/location-types.d.ts.map +1 -1
- package/resources/operations/location-types.js +16 -12
- package/resources/operations/location-types.js.map +1 -1
- package/resources/operations/location-types.mjs +16 -12
- package/resources/operations/location-types.mjs.map +1 -1
- package/resources/operations/locations.d.mts +142 -66
- package/resources/operations/locations.d.mts.map +1 -1
- package/resources/operations/locations.d.ts +142 -66
- package/resources/operations/locations.d.ts.map +1 -1
- package/resources/operations/locations.js +34 -20
- package/resources/operations/locations.js.map +1 -1
- package/resources/operations/locations.mjs +34 -20
- package/resources/operations/locations.mjs.map +1 -1
- package/resources/operations/operations.d.mts +4 -4
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +4 -4
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/scanning-stations.d.mts +155 -71
- package/resources/operations/scanning-stations.d.mts.map +1 -1
- package/resources/operations/scanning-stations.d.ts +155 -71
- package/resources/operations/scanning-stations.d.ts.map +1 -1
- package/resources/operations/scanning-stations.js +42 -23
- package/resources/operations/scanning-stations.js.map +1 -1
- package/resources/operations/scanning-stations.mjs +42 -23
- package/resources/operations/scanning-stations.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +127 -81
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +127 -81
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/operations/shipping-terms.js +38 -26
- package/resources/operations/shipping-terms.js.map +1 -1
- package/resources/operations/shipping-terms.mjs +38 -26
- package/resources/operations/shipping-terms.mjs.map +1 -1
- package/resources/operations.d.mts.map +1 -1
- package/resources/operations.d.ts.map +1 -1
- package/resources/operations.mjs.map +1 -1
- package/resources/sales/account-groups.d.mts +121 -80
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +121 -80
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-groups.js +40 -21
- package/resources/sales/account-groups.js.map +1 -1
- package/resources/sales/account-groups.mjs +40 -21
- package/resources/sales/account-groups.mjs.map +1 -1
- package/resources/sales/account-statuses.d.mts +42 -24
- package/resources/sales/account-statuses.d.mts.map +1 -1
- package/resources/sales/account-statuses.d.ts +42 -24
- package/resources/sales/account-statuses.d.ts.map +1 -1
- package/resources/sales/account-statuses.js +16 -13
- package/resources/sales/account-statuses.js.map +1 -1
- package/resources/sales/account-statuses.mjs +16 -13
- package/resources/sales/account-statuses.mjs.map +1 -1
- package/resources/sales/addresses.d.mts +102 -40
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +102 -40
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/addresses.js +44 -19
- package/resources/sales/addresses.js.map +1 -1
- package/resources/sales/addresses.mjs +44 -19
- 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 +17 -5
- package/resources/sales/customers/actions.d.mts.map +1 -1
- package/resources/sales/customers/actions.d.ts +17 -5
- package/resources/sales/customers/actions.d.ts.map +1 -1
- package/resources/sales/customers/actions.js +8 -2
- package/resources/sales/customers/actions.js.map +1 -1
- package/resources/sales/customers/actions.mjs +8 -2
- package/resources/sales/customers/actions.mjs.map +1 -1
- package/resources/sales/customers/customers.d.mts +483 -722
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +483 -722
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +68 -30
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +68 -30
- 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/customers.d.mts.map +1 -1
- package/resources/sales/customers.d.ts.map +1 -1
- package/resources/sales/customers.mjs.map +1 -1
- package/resources/sales/index.d.mts +7 -6
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +7 -6
- 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 +36 -22
- package/resources/sales/priorities.d.mts.map +1 -1
- package/resources/sales/priorities.d.ts +36 -22
- package/resources/sales/priorities.d.ts.map +1 -1
- package/resources/sales/priorities.js +14 -10
- package/resources/sales/priorities.js.map +1 -1
- package/resources/sales/priorities.mjs +14 -10
- package/resources/sales/priorities.mjs.map +1 -1
- package/resources/sales/sales-orders.d.mts +882 -9
- package/resources/sales/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders.d.ts +882 -9
- package/resources/sales/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders.js +50 -3
- package/resources/sales/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders.mjs +50 -3
- package/resources/sales/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +12 -8
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +12 -8
- 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/sales.d.mts.map +1 -1
- package/resources/sales.d.ts.map +1 -1
- package/resources/sales.mjs.map +1 -1
- package/resources/settings/index.d.mts +3 -0
- package/resources/settings/index.d.mts.map +1 -0
- package/resources/settings/index.d.ts +3 -0
- package/resources/settings/index.d.ts.map +1 -0
- package/resources/settings/index.js +9 -0
- package/resources/settings/index.js.map +1 -0
- package/resources/settings/index.mjs +4 -0
- package/resources/settings/index.mjs.map +1 -0
- package/resources/settings/integrations.d.mts +246 -0
- package/resources/settings/integrations.d.mts.map +1 -0
- package/resources/settings/integrations.d.ts +246 -0
- package/resources/settings/integrations.d.ts.map +1 -0
- package/resources/settings/integrations.js +88 -0
- package/resources/settings/integrations.js.map +1 -0
- package/resources/settings/integrations.mjs +84 -0
- package/resources/settings/integrations.mjs.map +1 -0
- package/resources/settings/settings.d.mts +10 -0
- package/resources/settings/settings.d.mts.map +1 -0
- package/resources/settings/settings.d.ts +10 -0
- package/resources/settings/settings.d.ts.map +1 -0
- package/resources/settings/settings.js +17 -0
- package/resources/settings/settings.js.map +1 -0
- package/resources/settings/settings.mjs +12 -0
- package/resources/settings/settings.mjs.map +1 -0
- package/resources/settings.d.mts +2 -0
- package/resources/settings.d.mts.map +1 -0
- package/resources/settings.d.ts +2 -0
- package/resources/settings.d.ts.map +1 -0
- package/resources/settings.js +6 -0
- package/resources/settings.js.map +1 -0
- package/resources/settings.mjs +3 -0
- package/resources/settings.mjs.map +1 -0
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +35 -5
- package/src/resources/auth/api-keys/actions.ts +30 -5
- package/src/resources/auth/api-keys/api-keys.ts +152 -80
- package/src/resources/auth/api-keys/index.ts +1 -1
- package/src/resources/auth/auth.ts +1 -1
- package/src/resources/auth/index.ts +1 -1
- package/src/resources/catalog/catalog.ts +18 -18
- package/src/resources/catalog/index.ts +18 -18
- package/src/resources/catalog/item-categories/index.ts +2 -2
- package/src/resources/catalog/item-categories/item-categories.ts +128 -86
- package/src/resources/catalog/item-categories/properties.ts +13 -4
- package/src/resources/catalog/items/attributes.ts +7 -2
- package/src/resources/catalog/items/index.ts +2 -2
- package/src/resources/catalog/items/items.ts +119 -75
- package/src/resources/catalog/materials.ts +181 -119
- package/src/resources/catalog/parts.ts +160 -92
- package/src/resources/catalog/product-lines.ts +172 -85
- package/src/resources/catalog/products.ts +223 -112
- package/src/resources/catalog/properties/attributes.ts +120 -58
- package/src/resources/catalog/properties/index.ts +4 -4
- package/src/resources/catalog/properties/properties.ts +94 -61
- package/src/resources/catalog/unit-groups/index.ts +4 -4
- package/src/resources/catalog/unit-groups/unit-groups.ts +157 -99
- package/src/resources/catalog/unit-groups/units.ts +107 -73
- package/src/resources/catalog/units.ts +158 -98
- package/src/resources/core/addresses/actions.ts +12 -5
- package/src/resources/core/addresses/addresses.ts +5 -2
- package/src/resources/core/audit-events.ts +251 -56
- package/src/resources/core/core.ts +605 -5
- package/src/resources/core/email-logs.ts +45 -30
- package/src/resources/core/index.ts +6 -6
- package/src/resources/core/request-logs.ts +125 -70
- package/src/resources/core/sandboxes.ts +67 -38
- package/src/resources/finance/finance.ts +78 -44
- package/src/resources/finance/index.ts +4 -4
- package/src/resources/finance/payment-terms.ts +95 -56
- package/src/resources/identity/account-users/account-users.ts +196 -97
- package/src/resources/identity/account-users/actions.ts +22 -3
- package/src/resources/identity/account-users/index.ts +2 -2
- package/src/resources/identity/identity.ts +4 -4
- package/src/resources/identity/index.ts +4 -4
- package/src/resources/identity/roles.ts +113 -70
- package/src/resources/index.ts +5 -3
- 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 +110 -71
- package/src/resources/operations/carriers/index.ts +4 -4
- package/src/resources/operations/carriers/service-levels.ts +148 -89
- package/src/resources/operations/index.ts +8 -8
- package/src/resources/operations/location-types.ts +42 -23
- package/src/resources/operations/locations.ts +153 -77
- package/src/resources/operations/operations.ts +8 -8
- package/src/resources/operations/scanning-stations.ts +173 -89
- package/src/resources/operations/shipping-terms.ts +144 -98
- package/src/resources/sales/account-groups.ts +132 -91
- package/src/resources/sales/account-statuses.ts +49 -31
- package/src/resources/sales/addresses.ts +110 -48
- 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 +19 -4
- package/src/resources/sales/customers/customers.ts +547 -884
- package/src/resources/sales/customers/index.ts +2 -15
- package/src/resources/sales/index.ts +24 -19
- package/src/resources/sales/priorities.ts +44 -30
- package/src/resources/sales/sales-orders.ts +1115 -22
- package/src/resources/sales/sales.ts +46 -32
- package/src/resources/settings/index.ts +13 -0
- package/src/resources/settings/integrations.ts +299 -0
- package/src/resources/settings/settings.ts +33 -0
- package/src/resources/settings.ts +3 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +0 -1
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +0 -1
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +0 -1
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -12,20 +12,11 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class Items extends APIResource {
|
|
14
14
|
attributes: AttributesAPI.Attributes;
|
|
15
|
-
/**
|
|
16
|
-
* Returns an item by ID.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* const item = await client.catalog.items.retrieve(
|
|
21
|
-
* 'it_0131e386ac683e8c29a71f6f1f',
|
|
22
|
-
* );
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
retrieve(id: string, query?: ItemRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Item>;
|
|
26
15
|
/**
|
|
27
16
|
* Returns a paginated list of items.
|
|
28
17
|
*
|
|
18
|
+
* This endpoint requires the permission: `items:read`.
|
|
19
|
+
*
|
|
29
20
|
* @example
|
|
30
21
|
* ```ts
|
|
31
22
|
* const listItem = await client.catalog.items.list();
|
|
@@ -33,22 +24,24 @@ export declare class Items extends APIResource {
|
|
|
33
24
|
*/
|
|
34
25
|
list(query?: ItemListParams | null | undefined, options?: RequestOptions): APIPromise<ListItem>;
|
|
35
26
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
27
|
+
* Returns an item by ID.
|
|
28
|
+
*
|
|
29
|
+
* This endpoint requires the permission: `items:read`.
|
|
38
30
|
*
|
|
39
31
|
* @example
|
|
40
32
|
* ```ts
|
|
41
|
-
* const item = await client.catalog.items.
|
|
42
|
-
* '
|
|
43
|
-
* { id: 'it_0131e386ac683e8c29a71f6f1f' },
|
|
33
|
+
* const item = await client.catalog.items.retrieve(
|
|
34
|
+
* 'it_0131e386ac683e8c29a71f6f1f',
|
|
44
35
|
* );
|
|
45
36
|
* ```
|
|
46
37
|
*/
|
|
47
|
-
|
|
38
|
+
retrieve(id: string, query?: ItemRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Item>;
|
|
48
39
|
/**
|
|
49
40
|
* Returns inventory quantities for an item, including on-hand, reserved,
|
|
50
41
|
* available-to-promise, and short amounts.
|
|
51
42
|
*
|
|
43
|
+
* This endpoint requires the permission: `items:read`.
|
|
44
|
+
*
|
|
52
45
|
* @example
|
|
53
46
|
* ```ts
|
|
54
47
|
* const itemInventory =
|
|
@@ -58,6 +51,24 @@ export declare class Items extends APIResource {
|
|
|
58
51
|
* ```
|
|
59
52
|
*/
|
|
60
53
|
retrieveInventory(id: string, query?: ItemRetrieveInventoryParams | null | undefined, options?: RequestOptions): APIPromise<ItemInventory>;
|
|
54
|
+
/**
|
|
55
|
+
* Moves an item to a different category.
|
|
56
|
+
*
|
|
57
|
+
* The item's rate units (unit value, unit cost, burn rate) and any related
|
|
58
|
+
* order-point, consumption, and production quantity units are updated to the new
|
|
59
|
+
* category's base unit. Re-assigning the item's current category is a no-op.
|
|
60
|
+
*
|
|
61
|
+
* This endpoint requires the permission: `items:update`.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const item = await client.catalog.items.changeCategory(
|
|
66
|
+
* 'ic_01ae7bd7bfd21ca0ab81e1357e',
|
|
67
|
+
* { id: 'it_0131e386ac683e8c29a71f6f1f' },
|
|
68
|
+
* );
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
changeCategory(categoryID: string, params: ItemChangeCategoryParams, options?: RequestOptions): APIPromise<Item>;
|
|
61
72
|
}
|
|
62
73
|
/**
|
|
63
74
|
* Item is an inventory item (product, material, or part).
|
|
@@ -72,11 +83,13 @@ export interface Item {
|
|
|
72
83
|
*/
|
|
73
84
|
attributes: PropertiesAPI.ListAttribute | null;
|
|
74
85
|
/**
|
|
75
|
-
*
|
|
86
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
87
|
+
* throughput per hour.
|
|
76
88
|
*/
|
|
77
89
|
burn_rate: Rate | null;
|
|
78
90
|
/**
|
|
79
|
-
*
|
|
91
|
+
* A grouping of related catalog items that defines the unit group and properties
|
|
92
|
+
* available to the items within it.
|
|
80
93
|
*/
|
|
81
94
|
category: ItemCategory | null;
|
|
82
95
|
/**
|
|
@@ -88,7 +101,7 @@ export interface Item {
|
|
|
88
101
|
*/
|
|
89
102
|
description: string | null;
|
|
90
103
|
/**
|
|
91
|
-
*
|
|
104
|
+
* Free-form notes about the item.
|
|
92
105
|
*/
|
|
93
106
|
notes: string | null;
|
|
94
107
|
/**
|
|
@@ -96,19 +109,25 @@ export interface Item {
|
|
|
96
109
|
*/
|
|
97
110
|
object: 'item';
|
|
98
111
|
/**
|
|
99
|
-
* Stock keeping unit code.
|
|
112
|
+
* Stock keeping unit code, unique within the account.
|
|
100
113
|
*/
|
|
101
114
|
sku: string;
|
|
102
115
|
/**
|
|
103
|
-
*
|
|
116
|
+
* What kind of item this is.
|
|
117
|
+
*
|
|
118
|
+
* - `product`: a finished product.
|
|
119
|
+
* - `material`: a raw material or component consumed in production.
|
|
120
|
+
* - `part`: a part used in production.
|
|
104
121
|
*/
|
|
105
122
|
type: 'product' | 'material' | 'part';
|
|
106
123
|
/**
|
|
107
|
-
*
|
|
124
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
125
|
+
* throughput per hour.
|
|
108
126
|
*/
|
|
109
127
|
unit_cost: Rate | null;
|
|
110
128
|
/**
|
|
111
|
-
*
|
|
129
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
130
|
+
* throughput per hour.
|
|
112
131
|
*/
|
|
113
132
|
unit_value: Rate | null;
|
|
114
133
|
/**
|
|
@@ -117,7 +136,8 @@ export interface Item {
|
|
|
117
136
|
updated_at: string;
|
|
118
137
|
}
|
|
119
138
|
/**
|
|
120
|
-
*
|
|
139
|
+
* A grouping of related catalog items that defines the unit group and properties
|
|
140
|
+
* available to the items within it.
|
|
121
141
|
*/
|
|
122
142
|
export interface ItemCategory {
|
|
123
143
|
/**
|
|
@@ -129,11 +149,11 @@ export interface ItemCategory {
|
|
|
129
149
|
*/
|
|
130
150
|
created_at: string;
|
|
131
151
|
/**
|
|
132
|
-
* Display name.
|
|
152
|
+
* Display name of the item category.
|
|
133
153
|
*/
|
|
134
154
|
name: string;
|
|
135
155
|
/**
|
|
136
|
-
*
|
|
156
|
+
* Free-form notes about the item category.
|
|
137
157
|
*/
|
|
138
158
|
notes: string | null;
|
|
139
159
|
/**
|
|
@@ -149,11 +169,19 @@ export interface ItemCategory {
|
|
|
149
169
|
*/
|
|
150
170
|
properties: PropertiesAPI.ListProperty | null;
|
|
151
171
|
/**
|
|
152
|
-
*
|
|
172
|
+
* What kind of items this category groups.
|
|
173
|
+
*
|
|
174
|
+
* An item can only be assigned to a category whose type matches the item's `type`.
|
|
175
|
+
*
|
|
176
|
+
* - `material_category`: groups raw materials and components (items of type
|
|
177
|
+
* `material`).
|
|
178
|
+
* - `product_category`: groups finished products and parts (items of type
|
|
179
|
+
* `product` or `part`).
|
|
153
180
|
*/
|
|
154
181
|
type: 'material_category' | 'product_category';
|
|
155
182
|
/**
|
|
156
|
-
*
|
|
183
|
+
* Named collection of units sharing one dimension, defining which units products
|
|
184
|
+
* can be ordered in along with per-unit discounts and customer portal visibility.
|
|
157
185
|
*/
|
|
158
186
|
unit_group: UnitGroupsAPI.UnitGroup | null;
|
|
159
187
|
/**
|
|
@@ -224,12 +252,16 @@ export interface Quantity {
|
|
|
224
252
|
*/
|
|
225
253
|
unit: UnitsAPI.Unit | null;
|
|
226
254
|
/**
|
|
227
|
-
*
|
|
255
|
+
* Raw decimal value of the quantity, as a string to preserve precision.
|
|
256
|
+
*
|
|
257
|
+
* This is the unformatted machine value; see `display_value` for the
|
|
258
|
+
* human-readable rendering with unit and thousands separators.
|
|
228
259
|
*/
|
|
229
260
|
value: string;
|
|
230
261
|
}
|
|
231
262
|
/**
|
|
232
|
-
*
|
|
263
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
264
|
+
* throughput per hour.
|
|
233
265
|
*/
|
|
234
266
|
export interface Rate {
|
|
235
267
|
/**
|
|
@@ -261,17 +293,12 @@ export interface Rate {
|
|
|
261
293
|
*/
|
|
262
294
|
updated_at: string;
|
|
263
295
|
/**
|
|
264
|
-
*
|
|
296
|
+
* Decimal value of the rate, as a string to preserve precision.
|
|
297
|
+
*
|
|
298
|
+
* Expressed as the amount of the numerator unit per one denominator unit.
|
|
265
299
|
*/
|
|
266
300
|
value: string;
|
|
267
301
|
}
|
|
268
|
-
export interface ItemRetrieveParams {
|
|
269
|
-
/**
|
|
270
|
-
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
271
|
-
* `null`.
|
|
272
|
-
*/
|
|
273
|
-
include?: Array<'category' | 'unit_value' | 'unit_cost' | 'burn_rate' | 'attributes' | 'category.unit_group' | 'category.properties' | 'category.unit_group.base_unit' | 'category.unit_group.associated_units' | 'category.unit_group.associated_units.unit'>;
|
|
274
|
-
}
|
|
275
302
|
export interface ItemListParams {
|
|
276
303
|
/**
|
|
277
304
|
* Filter by attribute IDs.
|
|
@@ -282,7 +309,11 @@ export interface ItemListParams {
|
|
|
282
309
|
*/
|
|
283
310
|
category_ids?: Array<string>;
|
|
284
311
|
/**
|
|
285
|
-
*
|
|
312
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
313
|
+
*
|
|
314
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
315
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
316
|
+
* page.
|
|
286
317
|
*/
|
|
287
318
|
cursor?: string;
|
|
288
319
|
/**
|
|
@@ -300,7 +331,7 @@ export interface ItemListParams {
|
|
|
300
331
|
*/
|
|
301
332
|
include?: Array<'category' | 'unit_value' | 'unit_cost' | 'burn_rate' | 'attributes' | 'category.unit_group' | 'category.properties' | 'category.unit_group.base_unit' | 'category.unit_group.associated_units' | 'category.unit_group.associated_units.unit'>;
|
|
302
333
|
/**
|
|
303
|
-
* Maximum number of results
|
|
334
|
+
* Maximum number of results to return in a single page.
|
|
304
335
|
*/
|
|
305
336
|
limit?: number;
|
|
306
337
|
/**
|
|
@@ -309,7 +340,9 @@ export interface ItemListParams {
|
|
|
309
340
|
*/
|
|
310
341
|
product_line_ids?: Array<string>;
|
|
311
342
|
/**
|
|
312
|
-
*
|
|
343
|
+
* Free-text search term used to filter results.
|
|
344
|
+
*
|
|
345
|
+
* Which fields are matched against the term varies by endpoint.
|
|
313
346
|
*/
|
|
314
347
|
q?: string;
|
|
315
348
|
/**
|
|
@@ -317,7 +350,11 @@ export interface ItemListParams {
|
|
|
317
350
|
*/
|
|
318
351
|
start_date?: string;
|
|
319
352
|
/**
|
|
320
|
-
*
|
|
353
|
+
* Restricts results based on where the item is produced in its production flow.
|
|
354
|
+
*
|
|
355
|
+
* - `all`: no restriction.
|
|
356
|
+
* - `initial_only`: only items produced by an initial production step, i.e. a step
|
|
357
|
+
* with no upstream steps feeding into it.
|
|
321
358
|
*/
|
|
322
359
|
subassembly_filter?: 'all' | 'initial_only';
|
|
323
360
|
/**
|
|
@@ -325,18 +362,14 @@ export interface ItemListParams {
|
|
|
325
362
|
*/
|
|
326
363
|
supplier_id?: string;
|
|
327
364
|
/**
|
|
328
|
-
* Filter
|
|
365
|
+
* Filter to items of these types (`product`, `material`, `part`).
|
|
329
366
|
*/
|
|
330
367
|
types?: Array<string>;
|
|
331
368
|
}
|
|
332
|
-
export interface
|
|
333
|
-
/**
|
|
334
|
-
* Path param: Item ID.
|
|
335
|
-
*/
|
|
336
|
-
id: string;
|
|
369
|
+
export interface ItemRetrieveParams {
|
|
337
370
|
/**
|
|
338
|
-
*
|
|
339
|
-
*
|
|
371
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
372
|
+
* `null`.
|
|
340
373
|
*/
|
|
341
374
|
include?: Array<'category' | 'unit_value' | 'unit_cost' | 'burn_rate' | 'attributes' | 'category.unit_group' | 'category.properties' | 'category.unit_group.base_unit' | 'category.unit_group.associated_units' | 'category.unit_group.associated_units.unit'>;
|
|
342
375
|
}
|
|
@@ -347,8 +380,19 @@ export interface ItemRetrieveInventoryParams {
|
|
|
347
380
|
*/
|
|
348
381
|
include?: Array<'on_hand' | 'reserved' | 'available_to_promise' | 'short'>;
|
|
349
382
|
}
|
|
383
|
+
export interface ItemChangeCategoryParams {
|
|
384
|
+
/**
|
|
385
|
+
* Path param: Item ID.
|
|
386
|
+
*/
|
|
387
|
+
id: string;
|
|
388
|
+
/**
|
|
389
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
390
|
+
* are returned as `null`.
|
|
391
|
+
*/
|
|
392
|
+
include?: Array<'category' | 'unit_value' | 'unit_cost' | 'burn_rate' | 'attributes' | 'category.unit_group' | 'category.properties' | 'category.unit_group.base_unit' | 'category.unit_group.associated_units' | 'category.unit_group.associated_units.unit'>;
|
|
393
|
+
}
|
|
350
394
|
export declare namespace Items {
|
|
351
|
-
export { type Item as Item, type ItemCategory as ItemCategory, type ItemInventory as ItemInventory, type ListItem as ListItem, type Quantity as Quantity, type Rate as Rate, type
|
|
395
|
+
export { type Item as Item, type ItemCategory as ItemCategory, type ItemInventory as ItemInventory, type ListItem as ListItem, type Quantity as Quantity, type Rate as Rate, type ItemListParams as ItemListParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemRetrieveInventoryParams as ItemRetrieveInventoryParams, type ItemChangeCategoryParams as ItemChangeCategoryParams, };
|
|
352
396
|
export { Attributes as Attributes, type AttributeUpdateParams as AttributeUpdateParams, type AttributeDeleteParams as AttributeDeleteParams, };
|
|
353
397
|
}
|
|
354
398
|
//# sourceMappingURL=items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"items.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/items/items.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"items.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/items/items.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,UAAU,EAAE;OAC5D,KAAK,aAAa;OAClB,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF;;;;;;;;;OASG;IACH,IAAI,CAAC,KAAK,GAAE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,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -12,20 +12,11 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class Items extends APIResource {
|
|
14
14
|
attributes: AttributesAPI.Attributes;
|
|
15
|
-
/**
|
|
16
|
-
* Returns an item by ID.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* const item = await client.catalog.items.retrieve(
|
|
21
|
-
* 'it_0131e386ac683e8c29a71f6f1f',
|
|
22
|
-
* );
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
retrieve(id: string, query?: ItemRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Item>;
|
|
26
15
|
/**
|
|
27
16
|
* Returns a paginated list of items.
|
|
28
17
|
*
|
|
18
|
+
* This endpoint requires the permission: `items:read`.
|
|
19
|
+
*
|
|
29
20
|
* @example
|
|
30
21
|
* ```ts
|
|
31
22
|
* const listItem = await client.catalog.items.list();
|
|
@@ -33,22 +24,24 @@ export declare class Items extends APIResource {
|
|
|
33
24
|
*/
|
|
34
25
|
list(query?: ItemListParams | null | undefined, options?: RequestOptions): APIPromise<ListItem>;
|
|
35
26
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
27
|
+
* Returns an item by ID.
|
|
28
|
+
*
|
|
29
|
+
* This endpoint requires the permission: `items:read`.
|
|
38
30
|
*
|
|
39
31
|
* @example
|
|
40
32
|
* ```ts
|
|
41
|
-
* const item = await client.catalog.items.
|
|
42
|
-
* '
|
|
43
|
-
* { id: 'it_0131e386ac683e8c29a71f6f1f' },
|
|
33
|
+
* const item = await client.catalog.items.retrieve(
|
|
34
|
+
* 'it_0131e386ac683e8c29a71f6f1f',
|
|
44
35
|
* );
|
|
45
36
|
* ```
|
|
46
37
|
*/
|
|
47
|
-
|
|
38
|
+
retrieve(id: string, query?: ItemRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Item>;
|
|
48
39
|
/**
|
|
49
40
|
* Returns inventory quantities for an item, including on-hand, reserved,
|
|
50
41
|
* available-to-promise, and short amounts.
|
|
51
42
|
*
|
|
43
|
+
* This endpoint requires the permission: `items:read`.
|
|
44
|
+
*
|
|
52
45
|
* @example
|
|
53
46
|
* ```ts
|
|
54
47
|
* const itemInventory =
|
|
@@ -58,6 +51,24 @@ export declare class Items extends APIResource {
|
|
|
58
51
|
* ```
|
|
59
52
|
*/
|
|
60
53
|
retrieveInventory(id: string, query?: ItemRetrieveInventoryParams | null | undefined, options?: RequestOptions): APIPromise<ItemInventory>;
|
|
54
|
+
/**
|
|
55
|
+
* Moves an item to a different category.
|
|
56
|
+
*
|
|
57
|
+
* The item's rate units (unit value, unit cost, burn rate) and any related
|
|
58
|
+
* order-point, consumption, and production quantity units are updated to the new
|
|
59
|
+
* category's base unit. Re-assigning the item's current category is a no-op.
|
|
60
|
+
*
|
|
61
|
+
* This endpoint requires the permission: `items:update`.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const item = await client.catalog.items.changeCategory(
|
|
66
|
+
* 'ic_01ae7bd7bfd21ca0ab81e1357e',
|
|
67
|
+
* { id: 'it_0131e386ac683e8c29a71f6f1f' },
|
|
68
|
+
* );
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
changeCategory(categoryID: string, params: ItemChangeCategoryParams, options?: RequestOptions): APIPromise<Item>;
|
|
61
72
|
}
|
|
62
73
|
/**
|
|
63
74
|
* Item is an inventory item (product, material, or part).
|
|
@@ -72,11 +83,13 @@ export interface Item {
|
|
|
72
83
|
*/
|
|
73
84
|
attributes: PropertiesAPI.ListAttribute | null;
|
|
74
85
|
/**
|
|
75
|
-
*
|
|
86
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
87
|
+
* throughput per hour.
|
|
76
88
|
*/
|
|
77
89
|
burn_rate: Rate | null;
|
|
78
90
|
/**
|
|
79
|
-
*
|
|
91
|
+
* A grouping of related catalog items that defines the unit group and properties
|
|
92
|
+
* available to the items within it.
|
|
80
93
|
*/
|
|
81
94
|
category: ItemCategory | null;
|
|
82
95
|
/**
|
|
@@ -88,7 +101,7 @@ export interface Item {
|
|
|
88
101
|
*/
|
|
89
102
|
description: string | null;
|
|
90
103
|
/**
|
|
91
|
-
*
|
|
104
|
+
* Free-form notes about the item.
|
|
92
105
|
*/
|
|
93
106
|
notes: string | null;
|
|
94
107
|
/**
|
|
@@ -96,19 +109,25 @@ export interface Item {
|
|
|
96
109
|
*/
|
|
97
110
|
object: 'item';
|
|
98
111
|
/**
|
|
99
|
-
* Stock keeping unit code.
|
|
112
|
+
* Stock keeping unit code, unique within the account.
|
|
100
113
|
*/
|
|
101
114
|
sku: string;
|
|
102
115
|
/**
|
|
103
|
-
*
|
|
116
|
+
* What kind of item this is.
|
|
117
|
+
*
|
|
118
|
+
* - `product`: a finished product.
|
|
119
|
+
* - `material`: a raw material or component consumed in production.
|
|
120
|
+
* - `part`: a part used in production.
|
|
104
121
|
*/
|
|
105
122
|
type: 'product' | 'material' | 'part';
|
|
106
123
|
/**
|
|
107
|
-
*
|
|
124
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
125
|
+
* throughput per hour.
|
|
108
126
|
*/
|
|
109
127
|
unit_cost: Rate | null;
|
|
110
128
|
/**
|
|
111
|
-
*
|
|
129
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
130
|
+
* throughput per hour.
|
|
112
131
|
*/
|
|
113
132
|
unit_value: Rate | null;
|
|
114
133
|
/**
|
|
@@ -117,7 +136,8 @@ export interface Item {
|
|
|
117
136
|
updated_at: string;
|
|
118
137
|
}
|
|
119
138
|
/**
|
|
120
|
-
*
|
|
139
|
+
* A grouping of related catalog items that defines the unit group and properties
|
|
140
|
+
* available to the items within it.
|
|
121
141
|
*/
|
|
122
142
|
export interface ItemCategory {
|
|
123
143
|
/**
|
|
@@ -129,11 +149,11 @@ export interface ItemCategory {
|
|
|
129
149
|
*/
|
|
130
150
|
created_at: string;
|
|
131
151
|
/**
|
|
132
|
-
* Display name.
|
|
152
|
+
* Display name of the item category.
|
|
133
153
|
*/
|
|
134
154
|
name: string;
|
|
135
155
|
/**
|
|
136
|
-
*
|
|
156
|
+
* Free-form notes about the item category.
|
|
137
157
|
*/
|
|
138
158
|
notes: string | null;
|
|
139
159
|
/**
|
|
@@ -149,11 +169,19 @@ export interface ItemCategory {
|
|
|
149
169
|
*/
|
|
150
170
|
properties: PropertiesAPI.ListProperty | null;
|
|
151
171
|
/**
|
|
152
|
-
*
|
|
172
|
+
* What kind of items this category groups.
|
|
173
|
+
*
|
|
174
|
+
* An item can only be assigned to a category whose type matches the item's `type`.
|
|
175
|
+
*
|
|
176
|
+
* - `material_category`: groups raw materials and components (items of type
|
|
177
|
+
* `material`).
|
|
178
|
+
* - `product_category`: groups finished products and parts (items of type
|
|
179
|
+
* `product` or `part`).
|
|
153
180
|
*/
|
|
154
181
|
type: 'material_category' | 'product_category';
|
|
155
182
|
/**
|
|
156
|
-
*
|
|
183
|
+
* Named collection of units sharing one dimension, defining which units products
|
|
184
|
+
* can be ordered in along with per-unit discounts and customer portal visibility.
|
|
157
185
|
*/
|
|
158
186
|
unit_group: UnitGroupsAPI.UnitGroup | null;
|
|
159
187
|
/**
|
|
@@ -224,12 +252,16 @@ export interface Quantity {
|
|
|
224
252
|
*/
|
|
225
253
|
unit: UnitsAPI.Unit | null;
|
|
226
254
|
/**
|
|
227
|
-
*
|
|
255
|
+
* Raw decimal value of the quantity, as a string to preserve precision.
|
|
256
|
+
*
|
|
257
|
+
* This is the unformatted machine value; see `display_value` for the
|
|
258
|
+
* human-readable rendering with unit and thousands separators.
|
|
228
259
|
*/
|
|
229
260
|
value: string;
|
|
230
261
|
}
|
|
231
262
|
/**
|
|
232
|
-
*
|
|
263
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
264
|
+
* throughput per hour.
|
|
233
265
|
*/
|
|
234
266
|
export interface Rate {
|
|
235
267
|
/**
|
|
@@ -261,17 +293,12 @@ export interface Rate {
|
|
|
261
293
|
*/
|
|
262
294
|
updated_at: string;
|
|
263
295
|
/**
|
|
264
|
-
*
|
|
296
|
+
* Decimal value of the rate, as a string to preserve precision.
|
|
297
|
+
*
|
|
298
|
+
* Expressed as the amount of the numerator unit per one denominator unit.
|
|
265
299
|
*/
|
|
266
300
|
value: string;
|
|
267
301
|
}
|
|
268
|
-
export interface ItemRetrieveParams {
|
|
269
|
-
/**
|
|
270
|
-
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
271
|
-
* `null`.
|
|
272
|
-
*/
|
|
273
|
-
include?: Array<'category' | 'unit_value' | 'unit_cost' | 'burn_rate' | 'attributes' | 'category.unit_group' | 'category.properties' | 'category.unit_group.base_unit' | 'category.unit_group.associated_units' | 'category.unit_group.associated_units.unit'>;
|
|
274
|
-
}
|
|
275
302
|
export interface ItemListParams {
|
|
276
303
|
/**
|
|
277
304
|
* Filter by attribute IDs.
|
|
@@ -282,7 +309,11 @@ export interface ItemListParams {
|
|
|
282
309
|
*/
|
|
283
310
|
category_ids?: Array<string>;
|
|
284
311
|
/**
|
|
285
|
-
*
|
|
312
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
313
|
+
*
|
|
314
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
315
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
316
|
+
* page.
|
|
286
317
|
*/
|
|
287
318
|
cursor?: string;
|
|
288
319
|
/**
|
|
@@ -300,7 +331,7 @@ export interface ItemListParams {
|
|
|
300
331
|
*/
|
|
301
332
|
include?: Array<'category' | 'unit_value' | 'unit_cost' | 'burn_rate' | 'attributes' | 'category.unit_group' | 'category.properties' | 'category.unit_group.base_unit' | 'category.unit_group.associated_units' | 'category.unit_group.associated_units.unit'>;
|
|
302
333
|
/**
|
|
303
|
-
* Maximum number of results
|
|
334
|
+
* Maximum number of results to return in a single page.
|
|
304
335
|
*/
|
|
305
336
|
limit?: number;
|
|
306
337
|
/**
|
|
@@ -309,7 +340,9 @@ export interface ItemListParams {
|
|
|
309
340
|
*/
|
|
310
341
|
product_line_ids?: Array<string>;
|
|
311
342
|
/**
|
|
312
|
-
*
|
|
343
|
+
* Free-text search term used to filter results.
|
|
344
|
+
*
|
|
345
|
+
* Which fields are matched against the term varies by endpoint.
|
|
313
346
|
*/
|
|
314
347
|
q?: string;
|
|
315
348
|
/**
|
|
@@ -317,7 +350,11 @@ export interface ItemListParams {
|
|
|
317
350
|
*/
|
|
318
351
|
start_date?: string;
|
|
319
352
|
/**
|
|
320
|
-
*
|
|
353
|
+
* Restricts results based on where the item is produced in its production flow.
|
|
354
|
+
*
|
|
355
|
+
* - `all`: no restriction.
|
|
356
|
+
* - `initial_only`: only items produced by an initial production step, i.e. a step
|
|
357
|
+
* with no upstream steps feeding into it.
|
|
321
358
|
*/
|
|
322
359
|
subassembly_filter?: 'all' | 'initial_only';
|
|
323
360
|
/**
|
|
@@ -325,18 +362,14 @@ export interface ItemListParams {
|
|
|
325
362
|
*/
|
|
326
363
|
supplier_id?: string;
|
|
327
364
|
/**
|
|
328
|
-
* Filter
|
|
365
|
+
* Filter to items of these types (`product`, `material`, `part`).
|
|
329
366
|
*/
|
|
330
367
|
types?: Array<string>;
|
|
331
368
|
}
|
|
332
|
-
export interface
|
|
333
|
-
/**
|
|
334
|
-
* Path param: Item ID.
|
|
335
|
-
*/
|
|
336
|
-
id: string;
|
|
369
|
+
export interface ItemRetrieveParams {
|
|
337
370
|
/**
|
|
338
|
-
*
|
|
339
|
-
*
|
|
371
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
372
|
+
* `null`.
|
|
340
373
|
*/
|
|
341
374
|
include?: Array<'category' | 'unit_value' | 'unit_cost' | 'burn_rate' | 'attributes' | 'category.unit_group' | 'category.properties' | 'category.unit_group.base_unit' | 'category.unit_group.associated_units' | 'category.unit_group.associated_units.unit'>;
|
|
342
375
|
}
|
|
@@ -347,8 +380,19 @@ export interface ItemRetrieveInventoryParams {
|
|
|
347
380
|
*/
|
|
348
381
|
include?: Array<'on_hand' | 'reserved' | 'available_to_promise' | 'short'>;
|
|
349
382
|
}
|
|
383
|
+
export interface ItemChangeCategoryParams {
|
|
384
|
+
/**
|
|
385
|
+
* Path param: Item ID.
|
|
386
|
+
*/
|
|
387
|
+
id: string;
|
|
388
|
+
/**
|
|
389
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
390
|
+
* are returned as `null`.
|
|
391
|
+
*/
|
|
392
|
+
include?: Array<'category' | 'unit_value' | 'unit_cost' | 'burn_rate' | 'attributes' | 'category.unit_group' | 'category.properties' | 'category.unit_group.base_unit' | 'category.unit_group.associated_units' | 'category.unit_group.associated_units.unit'>;
|
|
393
|
+
}
|
|
350
394
|
export declare namespace Items {
|
|
351
|
-
export { type Item as Item, type ItemCategory as ItemCategory, type ItemInventory as ItemInventory, type ListItem as ListItem, type Quantity as Quantity, type Rate as Rate, type
|
|
395
|
+
export { type Item as Item, type ItemCategory as ItemCategory, type ItemInventory as ItemInventory, type ListItem as ListItem, type Quantity as Quantity, type Rate as Rate, type ItemListParams as ItemListParams, type ItemRetrieveParams as ItemRetrieveParams, type ItemRetrieveInventoryParams as ItemRetrieveInventoryParams, type ItemChangeCategoryParams as ItemChangeCategoryParams, };
|
|
352
396
|
export { Attributes as Attributes, type AttributeUpdateParams as AttributeUpdateParams, type AttributeDeleteParams as AttributeDeleteParams, };
|
|
353
397
|
}
|
|
354
398
|
//# sourceMappingURL=items.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/items/items.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/items/items.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,UAAU,EAAE;OAC5D,KAAK,aAAa;OAClB,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF;;;;;;;;;OASG;IACH,IAAI,CAAC,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAInG;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAInB;;;;;;;;;;;;;OAaG;IACH,iBAAiB,CACf,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC;IAI5B;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CACZ,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,aAAa,CAAC,aAA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