@augno/sdk 0.1.6 → 0.7.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 +5 -4
- 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 +4 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -1
- package/client.d.ts.map +1 -1
- package/client.js +9 -1
- package/client.js.map +1 -1
- package/client.mjs +9 -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 +13 -18
- 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 +26 -5
- package/resources/auth/api-keys/actions.d.mts.map +1 -1
- package/resources/auth/api-keys/actions.d.ts +26 -5
- package/resources/auth/api-keys/actions.d.ts.map +1 -1
- package/resources/auth/api-keys/actions.js +4 -1
- package/resources/auth/api-keys/actions.js.map +1 -1
- package/resources/auth/api-keys/actions.mjs +4 -1
- package/resources/auth/api-keys/actions.mjs.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +134 -70
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +134 -70
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js +24 -22
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs +24 -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 +95 -66
- package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.ts +95 -66
- package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories/item-categories.js +37 -30
- package/resources/catalog/item-categories/item-categories.js.map +1 -1
- package/resources/catalog/item-categories/item-categories.mjs +37 -30
- package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
- package/resources/catalog/item-categories/properties.d.mts +9 -4
- package/resources/catalog/item-categories/properties.d.mts.map +1 -1
- package/resources/catalog/item-categories/properties.d.ts +9 -4
- package/resources/catalog/item-categories/properties.d.ts.map +1 -1
- package/resources/catalog/item-categories/properties.js +9 -4
- package/resources/catalog/item-categories/properties.js.map +1 -1
- package/resources/catalog/item-categories/properties.mjs +9 -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 +3 -2
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +3 -2
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +3 -2
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +3 -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 +88 -52
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +88 -52
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js +24 -21
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs +24 -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 +142 -95
- package/resources/catalog/materials.d.mts.map +1 -1
- package/resources/catalog/materials.d.ts +142 -95
- package/resources/catalog/materials.d.ts.map +1 -1
- package/resources/catalog/materials.js +28 -19
- package/resources/catalog/materials.js.map +1 -1
- package/resources/catalog/materials.mjs +28 -19
- package/resources/catalog/materials.mjs.map +1 -1
- package/resources/catalog/parts.d.mts +131 -81
- package/resources/catalog/parts.d.mts.map +1 -1
- package/resources/catalog/parts.d.ts +131 -81
- package/resources/catalog/parts.d.ts.map +1 -1
- package/resources/catalog/parts.js +34 -21
- package/resources/catalog/parts.js.map +1 -1
- package/resources/catalog/parts.mjs +34 -21
- package/resources/catalog/parts.mjs.map +1 -1
- package/resources/catalog/product-lines.d.mts +145 -71
- package/resources/catalog/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines.d.ts +145 -71
- package/resources/catalog/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines.js +30 -26
- package/resources/catalog/product-lines.js.map +1 -1
- package/resources/catalog/product-lines.mjs +30 -26
- package/resources/catalog/product-lines.mjs.map +1 -1
- package/resources/catalog/products.d.mts +196 -104
- package/resources/catalog/products.d.mts.map +1 -1
- package/resources/catalog/products.d.ts +196 -104
- package/resources/catalog/products.d.ts.map +1 -1
- package/resources/catalog/products.js +24 -21
- package/resources/catalog/products.js.map +1 -1
- package/resources/catalog/products.mjs +24 -21
- package/resources/catalog/products.mjs.map +1 -1
- package/resources/catalog/properties/attributes.d.mts +97 -48
- package/resources/catalog/properties/attributes.d.mts.map +1 -1
- package/resources/catalog/properties/attributes.d.ts +97 -48
- package/resources/catalog/properties/attributes.d.ts.map +1 -1
- package/resources/catalog/properties/attributes.js +27 -20
- package/resources/catalog/properties/attributes.js.map +1 -1
- package/resources/catalog/properties/attributes.mjs +27 -20
- 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 +70 -48
- package/resources/catalog/properties/properties.d.mts.map +1 -1
- package/resources/catalog/properties/properties.d.ts +70 -48
- package/resources/catalog/properties/properties.d.ts.map +1 -1
- package/resources/catalog/properties/properties.js +18 -18
- package/resources/catalog/properties/properties.js.map +1 -1
- package/resources/catalog/properties/properties.mjs +18 -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 +123 -85
- package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.ts +123 -85
- package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.js +25 -25
- package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.mjs +25 -25
- package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
- package/resources/catalog/unit-groups/units.d.mts +75 -59
- package/resources/catalog/unit-groups/units.d.mts.map +1 -1
- package/resources/catalog/unit-groups/units.d.ts +75 -59
- package/resources/catalog/unit-groups/units.d.ts.map +1 -1
- package/resources/catalog/unit-groups/units.js +31 -30
- package/resources/catalog/unit-groups/units.js.map +1 -1
- package/resources/catalog/unit-groups/units.mjs +31 -30
- 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 +100 -64
- package/resources/catalog/units.d.mts.map +1 -1
- package/resources/catalog/units.d.ts +100 -64
- package/resources/catalog/units.d.ts.map +1 -1
- package/resources/catalog/units.js +25 -25
- package/resources/catalog/units.js.map +1 -1
- package/resources/catalog/units.mjs +25 -25
- 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 +78 -34
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +78 -34
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/audit-events.js +13 -10
- package/resources/core/audit-events.js.map +1 -1
- package/resources/core/audit-events.mjs +13 -10
- package/resources/core/audit-events.mjs.map +1 -1
- package/resources/core/core.d.mts +4 -4
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +4 -4
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/email-logs.d.mts +31 -21
- package/resources/core/email-logs.d.mts.map +1 -1
- package/resources/core/email-logs.d.ts +31 -21
- package/resources/core/email-logs.d.ts.map +1 -1
- package/resources/core/email-logs.js +10 -10
- package/resources/core/email-logs.js.map +1 -1
- package/resources/core/email-logs.mjs +10 -10
- package/resources/core/email-logs.mjs.map +1 -1
- package/resources/core/index.d.mts +4 -4
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +4 -4
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/request-logs.d.mts +95 -41
- package/resources/core/request-logs.d.mts.map +1 -1
- package/resources/core/request-logs.d.ts +95 -41
- package/resources/core/request-logs.d.ts.map +1 -1
- package/resources/core/request-logs.js +10 -10
- package/resources/core/request-logs.js.map +1 -1
- package/resources/core/request-logs.mjs +10 -10
- package/resources/core/request-logs.mjs.map +1 -1
- package/resources/core/sandboxes.d.mts +53 -32
- package/resources/core/sandboxes.d.mts.map +1 -1
- package/resources/core/sandboxes.d.ts +53 -32
- package/resources/core/sandboxes.d.ts.map +1 -1
- package/resources/core/sandboxes.js +20 -13
- package/resources/core/sandboxes.js.map +1 -1
- package/resources/core/sandboxes.mjs +20 -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 +72 -44
- package/resources/finance/payment-terms.d.mts.map +1 -1
- package/resources/finance/payment-terms.d.ts +72 -44
- package/resources/finance/payment-terms.d.ts.map +1 -1
- package/resources/finance/payment-terms.js +32 -22
- package/resources/finance/payment-terms.js.map +1 -1
- package/resources/finance/payment-terms.mjs +32 -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 +175 -93
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +175 -93
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js +43 -30
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs +43 -30
- package/resources/identity/account-users/account-users.mjs.map +1 -1
- package/resources/identity/account-users/actions.d.mts +13 -3
- package/resources/identity/account-users/actions.d.mts.map +1 -1
- package/resources/identity/account-users/actions.d.ts +13 -3
- package/resources/identity/account-users/actions.d.ts.map +1 -1
- package/resources/identity/account-users/actions.js +13 -3
- package/resources/identity/account-users/actions.js.map +1 -1
- package/resources/identity/account-users/actions.mjs +13 -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 +84 -61
- package/resources/identity/roles.d.mts.map +1 -1
- package/resources/identity/roles.d.ts +84 -61
- package/resources/identity/roles.d.ts.map +1 -1
- package/resources/identity/roles.js +29 -27
- package/resources/identity/roles.js.map +1 -1
- package/resources/identity/roles.mjs +29 -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 +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/operations/carriers/carriers.d.mts +101 -64
- package/resources/operations/carriers/carriers.d.mts.map +1 -1
- package/resources/operations/carriers/carriers.d.ts +101 -64
- package/resources/operations/carriers/carriers.d.ts.map +1 -1
- package/resources/operations/carriers/carriers.js +28 -24
- package/resources/operations/carriers/carriers.js.map +1 -1
- package/resources/operations/carriers/carriers.mjs +28 -24
- 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 +113 -69
- package/resources/operations/carriers/service-levels.d.mts.map +1 -1
- package/resources/operations/carriers/service-levels.d.ts +113 -69
- package/resources/operations/carriers/service-levels.d.ts.map +1 -1
- package/resources/operations/carriers/service-levels.js +34 -30
- package/resources/operations/carriers/service-levels.js.map +1 -1
- package/resources/operations/carriers/service-levels.mjs +34 -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 +33 -18
- package/resources/operations/location-types.d.mts.map +1 -1
- package/resources/operations/location-types.d.ts +33 -18
- package/resources/operations/location-types.d.ts.map +1 -1
- package/resources/operations/location-types.js +12 -12
- package/resources/operations/location-types.js.map +1 -1
- package/resources/operations/location-types.mjs +12 -12
- package/resources/operations/location-types.mjs.map +1 -1
- package/resources/operations/locations.d.mts +132 -67
- package/resources/operations/locations.d.mts.map +1 -1
- package/resources/operations/locations.d.ts +132 -67
- package/resources/operations/locations.d.ts.map +1 -1
- package/resources/operations/locations.js +23 -20
- package/resources/operations/locations.js.map +1 -1
- package/resources/operations/locations.mjs +23 -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 +143 -72
- package/resources/operations/scanning-stations.d.mts.map +1 -1
- package/resources/operations/scanning-stations.d.ts +143 -72
- package/resources/operations/scanning-stations.d.ts.map +1 -1
- package/resources/operations/scanning-stations.js +31 -25
- package/resources/operations/scanning-stations.js.map +1 -1
- package/resources/operations/scanning-stations.mjs +31 -25
- package/resources/operations/scanning-stations.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +121 -86
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +121 -86
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/operations/shipping-terms.js +27 -26
- package/resources/operations/shipping-terms.js.map +1 -1
- package/resources/operations/shipping-terms.mjs +27 -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 +149 -66
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +149 -66
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-groups.js +29 -21
- package/resources/sales/account-groups.js.map +1 -1
- package/resources/sales/account-groups.mjs +29 -21
- package/resources/sales/account-groups.mjs.map +1 -1
- package/resources/sales/account-statuses.d.mts +41 -23
- package/resources/sales/account-statuses.d.mts.map +1 -1
- package/resources/sales/account-statuses.d.ts +41 -23
- 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 +96 -50
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +96 -50
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/addresses.js +28 -19
- package/resources/sales/addresses.js.map +1 -1
- package/resources/sales/addresses.mjs +28 -19
- package/resources/sales/addresses.mjs.map +1 -1
- package/resources/sales/customers/actions.d.mts +15 -5
- package/resources/sales/customers/actions.d.mts.map +1 -1
- package/resources/sales/customers/actions.d.ts +15 -5
- package/resources/sales/customers/actions.d.ts.map +1 -1
- package/resources/sales/customers/actions.js +6 -2
- package/resources/sales/customers/actions.js.map +1 -1
- package/resources/sales/customers/actions.mjs +6 -2
- package/resources/sales/customers/actions.mjs.map +1 -1
- package/resources/sales/customers/customers.d.mts +583 -288
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +583 -288
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +52 -30
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +52 -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 +6 -6
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +6 -6
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/priorities.d.mts +31 -21
- package/resources/sales/priorities.d.mts.map +1 -1
- package/resources/sales/priorities.d.ts +31 -21
- package/resources/sales/priorities.d.ts.map +1 -1
- package/resources/sales/priorities.js +10 -10
- package/resources/sales/priorities.js.map +1 -1
- package/resources/sales/priorities.mjs +10 -10
- package/resources/sales/priorities.mjs.map +1 -1
- package/resources/sales/sales-orders.d.mts +877 -7
- package/resources/sales/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders.d.ts +877 -7
- package/resources/sales/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders.js +45 -3
- package/resources/sales/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders.mjs +45 -3
- package/resources/sales/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +8 -8
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +8 -8
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js.map +1 -1
- 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 +238 -0
- package/resources/settings/integrations.d.mts.map +1 -0
- package/resources/settings/integrations.d.ts +238 -0
- package/resources/settings/integrations.d.ts.map +1 -0
- package/resources/settings/integrations.js +80 -0
- package/resources/settings/integrations.js.map +1 -0
- package/resources/settings/integrations.mjs +76 -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 +13 -3
- package/src/resources/auth/api-keys/actions.ts +28 -5
- package/src/resources/auth/api-keys/api-keys.ts +142 -78
- 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 +115 -86
- package/src/resources/catalog/item-categories/properties.ts +9 -4
- package/src/resources/catalog/items/attributes.ts +3 -2
- package/src/resources/catalog/items/index.ts +2 -2
- package/src/resources/catalog/items/items.ts +111 -75
- package/src/resources/catalog/materials.ts +167 -120
- package/src/resources/catalog/parts.ts +149 -99
- package/src/resources/catalog/product-lines.ts +159 -85
- package/src/resources/catalog/products.ts +211 -119
- package/src/resources/catalog/properties/attributes.ts +109 -82
- package/src/resources/catalog/properties/index.ts +4 -4
- package/src/resources/catalog/properties/properties.ts +83 -61
- package/src/resources/catalog/unit-groups/index.ts +4 -4
- package/src/resources/catalog/unit-groups/unit-groups.ts +140 -102
- package/src/resources/catalog/unit-groups/units.ts +94 -78
- package/src/resources/catalog/units.ts +113 -77
- 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 +154 -47
- package/src/resources/core/core.ts +5 -5
- package/src/resources/core/email-logs.ts +39 -29
- package/src/resources/core/index.ts +5 -5
- package/src/resources/core/request-logs.ts +113 -57
- package/src/resources/core/sandboxes.ts +58 -37
- package/src/resources/finance/finance.ts +78 -44
- package/src/resources/finance/index.ts +4 -4
- package/src/resources/finance/payment-terms.ts +84 -56
- package/src/resources/identity/account-users/account-users.ts +190 -105
- package/src/resources/identity/account-users/actions.ts +13 -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 +92 -69
- package/src/resources/index.ts +3 -2
- package/src/resources/operations/carriers/carriers.ts +109 -72
- package/src/resources/operations/carriers/index.ts +4 -4
- package/src/resources/operations/carriers/service-levels.ts +133 -89
- package/src/resources/operations/index.ts +8 -8
- package/src/resources/operations/location-types.ts +38 -23
- package/src/resources/operations/locations.ts +141 -76
- package/src/resources/operations/operations.ts +8 -8
- package/src/resources/operations/scanning-stations.ts +159 -88
- package/src/resources/operations/shipping-terms.ts +135 -100
- package/src/resources/sales/account-groups.ts +159 -76
- package/src/resources/sales/account-statuses.ts +48 -30
- package/src/resources/sales/addresses.ts +104 -58
- package/src/resources/sales/customers/actions.ts +15 -4
- package/src/resources/sales/customers/customers.ts +655 -347
- package/src/resources/sales/customers/index.ts +4 -2
- package/src/resources/sales/index.ts +25 -6
- package/src/resources/sales/priorities.ts +39 -29
- package/src/resources/sales/sales-orders.ts +1113 -21
- package/src/resources/sales/sales.ts +44 -6
- package/src/resources/settings/index.ts +13 -0
- package/src/resources/settings/integrations.ts +291 -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
|
@@ -11,22 +11,20 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
11
11
|
export declare class ItemCategories extends APIResource {
|
|
12
12
|
properties: PropertiesAPI.Properties;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Returns a paginated list of item categories for the current account, including
|
|
15
|
+
* account-specific and global system categories.
|
|
15
16
|
*
|
|
16
17
|
* @example
|
|
17
18
|
* ```ts
|
|
18
|
-
* const
|
|
19
|
-
* await client.catalog.itemCategories.
|
|
20
|
-
* name: 'Electronics',
|
|
21
|
-
* type: 'material_category',
|
|
22
|
-
* unit_group_id: 'ug_01aad07abb8e41fd392d2d7013',
|
|
23
|
-
* });
|
|
19
|
+
* const listItemCategory =
|
|
20
|
+
* await client.catalog.itemCategories.list();
|
|
24
21
|
* ```
|
|
25
22
|
*/
|
|
26
|
-
|
|
23
|
+
list(query?: ItemCategoryListParams | null | undefined, options?: RequestOptions): APIPromise<ListItemCategory>;
|
|
27
24
|
/**
|
|
28
|
-
* Returns an item category by ID.
|
|
29
|
-
*
|
|
25
|
+
* Returns an item category by ID.
|
|
26
|
+
*
|
|
27
|
+
* Both account-owned categories and global system categories can be retrieved.
|
|
30
28
|
*
|
|
31
29
|
* @example
|
|
32
30
|
* ```ts
|
|
@@ -38,33 +36,39 @@ export declare class ItemCategories extends APIResource {
|
|
|
38
36
|
*/
|
|
39
37
|
retrieve(id: string, query?: ItemCategoryRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ItemsAPI.ItemCategory>;
|
|
40
38
|
/**
|
|
41
|
-
*
|
|
42
|
-
* cannot be updated.
|
|
39
|
+
* Creates an account-owned item category.
|
|
43
40
|
*
|
|
44
41
|
* @example
|
|
45
42
|
* ```ts
|
|
46
43
|
* const itemCategory =
|
|
47
|
-
* await client.catalog.itemCategories.
|
|
48
|
-
* '
|
|
49
|
-
*
|
|
50
|
-
*
|
|
44
|
+
* await client.catalog.itemCategories.create({
|
|
45
|
+
* name: 'Electronics',
|
|
46
|
+
* type: 'material_category',
|
|
47
|
+
* unit_group_id: 'ug_01aad07abb8e41fd392d2d7013',
|
|
48
|
+
* });
|
|
51
49
|
* ```
|
|
52
50
|
*/
|
|
53
|
-
|
|
51
|
+
create(params: ItemCategoryCreateParams, options?: RequestOptions): APIPromise<ItemsAPI.ItemCategory>;
|
|
54
52
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
53
|
+
* Partially updates an account-owned item category.
|
|
54
|
+
*
|
|
55
|
+
* Only the fields provided in the request body are changed. Default system
|
|
56
|
+
* categories cannot be updated.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* ```ts
|
|
60
|
-
* const
|
|
61
|
-
* await client.catalog.itemCategories.
|
|
60
|
+
* const itemCategory =
|
|
61
|
+
* await client.catalog.itemCategories.update(
|
|
62
|
+
* 'ic_01ae7bd7bfd21ca0ab81e1357e',
|
|
63
|
+
* { name: 'Electronic Components' },
|
|
64
|
+
* );
|
|
62
65
|
* ```
|
|
63
66
|
*/
|
|
64
|
-
|
|
67
|
+
update(id: string, params?: ItemCategoryUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ItemsAPI.ItemCategory>;
|
|
65
68
|
/**
|
|
66
|
-
* Deletes an account-owned item category.
|
|
67
|
-
*
|
|
69
|
+
* Deletes an account-owned item category.
|
|
70
|
+
*
|
|
71
|
+
* Default system categories cannot be deleted.
|
|
68
72
|
*
|
|
69
73
|
* @example
|
|
70
74
|
* ```ts
|
|
@@ -76,8 +80,11 @@ export declare class ItemCategories extends APIResource {
|
|
|
76
80
|
*/
|
|
77
81
|
delete(id: string, options?: RequestOptions): APIPromise<ItemCategoryDeleteResponse>;
|
|
78
82
|
/**
|
|
79
|
-
* Changes the unit group associated with an item category.
|
|
80
|
-
*
|
|
83
|
+
* Changes the unit group associated with an item category.
|
|
84
|
+
*
|
|
85
|
+
* The new unit group must have the same unit type as the current one — for
|
|
86
|
+
* example, a category measured in `mass` units can only switch to another `mass`
|
|
87
|
+
* unit group. Default system categories cannot be modified.
|
|
81
88
|
*
|
|
82
89
|
* @example
|
|
83
90
|
* ```ts
|
|
@@ -95,16 +102,24 @@ export declare class ItemCategories extends APIResource {
|
|
|
95
102
|
*/
|
|
96
103
|
export interface CreateItemCategoryRequest {
|
|
97
104
|
/**
|
|
98
|
-
* Display name.
|
|
105
|
+
* Display name of the item category.
|
|
99
106
|
*/
|
|
100
107
|
name: string;
|
|
101
108
|
/**
|
|
102
|
-
*
|
|
103
|
-
*
|
|
109
|
+
* What kind of items this category groups.
|
|
110
|
+
*
|
|
111
|
+
* - `material_category`: groups raw materials and components (items of type
|
|
112
|
+
* `material`).
|
|
113
|
+
* - `product_category`: groups finished products and parts (items of type
|
|
114
|
+
* `product` or `part`).
|
|
104
115
|
*/
|
|
105
116
|
type: 'material_category' | 'product_category';
|
|
106
117
|
/**
|
|
107
|
-
*
|
|
118
|
+
* ID of the unit group that determines the units of measure available to items in
|
|
119
|
+
* this category.
|
|
120
|
+
*
|
|
121
|
+
* After creation, the unit group can only be replaced by another unit group of the
|
|
122
|
+
* same unit type via the Change Item Category Unit Group endpoint.
|
|
108
123
|
*/
|
|
109
124
|
unit_group_id: string;
|
|
110
125
|
}
|
|
@@ -130,11 +145,11 @@ export interface ListItemCategory {
|
|
|
130
145
|
*/
|
|
131
146
|
export interface UpdateItemCategoryRequest {
|
|
132
147
|
/**
|
|
133
|
-
* Display name.
|
|
148
|
+
* Display name of the item category.
|
|
134
149
|
*/
|
|
135
150
|
name?: string;
|
|
136
151
|
/**
|
|
137
|
-
*
|
|
152
|
+
* Free-form notes about the item category.
|
|
138
153
|
*/
|
|
139
154
|
notes?: string;
|
|
140
155
|
}
|
|
@@ -142,25 +157,34 @@ export interface ItemCategoryDeleteResponse {
|
|
|
142
157
|
}
|
|
143
158
|
export interface ItemCategoryChangeUnitGroupResponse {
|
|
144
159
|
}
|
|
145
|
-
export interface
|
|
160
|
+
export interface ItemCategoryListParams {
|
|
146
161
|
/**
|
|
147
|
-
*
|
|
162
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
163
|
+
*
|
|
164
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
165
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
166
|
+
* page.
|
|
148
167
|
*/
|
|
149
|
-
|
|
168
|
+
cursor?: string;
|
|
150
169
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
170
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
171
|
+
* `null`.
|
|
153
172
|
*/
|
|
154
|
-
|
|
173
|
+
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
155
174
|
/**
|
|
156
|
-
*
|
|
175
|
+
* Maximum number of results to return in a single page.
|
|
157
176
|
*/
|
|
158
|
-
|
|
177
|
+
limit?: number;
|
|
159
178
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
179
|
+
* Free-text search term used to filter results.
|
|
180
|
+
*
|
|
181
|
+
* Which fields are matched against the term varies by endpoint.
|
|
162
182
|
*/
|
|
163
|
-
|
|
183
|
+
q?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Filter by item category type.
|
|
186
|
+
*/
|
|
187
|
+
type?: 'material_category' | 'product_category';
|
|
164
188
|
}
|
|
165
189
|
export interface ItemCategoryRetrieveParams {
|
|
166
190
|
/**
|
|
@@ -169,43 +193,48 @@ export interface ItemCategoryRetrieveParams {
|
|
|
169
193
|
*/
|
|
170
194
|
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
171
195
|
}
|
|
172
|
-
export interface
|
|
173
|
-
/**
|
|
174
|
-
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
175
|
-
* are returned as `null`.
|
|
176
|
-
*/
|
|
177
|
-
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
196
|
+
export interface ItemCategoryCreateParams {
|
|
178
197
|
/**
|
|
179
|
-
* Body param: Display name.
|
|
198
|
+
* Body param: Display name of the item category.
|
|
180
199
|
*/
|
|
181
|
-
name
|
|
200
|
+
name: string;
|
|
182
201
|
/**
|
|
183
|
-
* Body param:
|
|
202
|
+
* Body param: What kind of items this category groups.
|
|
203
|
+
*
|
|
204
|
+
* - `material_category`: groups raw materials and components (items of type
|
|
205
|
+
* `material`).
|
|
206
|
+
* - `product_category`: groups finished products and parts (items of type
|
|
207
|
+
* `product` or `part`).
|
|
184
208
|
*/
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
export interface ItemCategoryListParams {
|
|
209
|
+
type: 'material_category' | 'product_category';
|
|
188
210
|
/**
|
|
189
|
-
*
|
|
211
|
+
* Body param: ID of the unit group that determines the units of measure available
|
|
212
|
+
* to items in this category.
|
|
213
|
+
*
|
|
214
|
+
* After creation, the unit group can only be replaced by another unit group of the
|
|
215
|
+
* same unit type via the Change Item Category Unit Group endpoint.
|
|
190
216
|
*/
|
|
191
|
-
|
|
217
|
+
unit_group_id: string;
|
|
192
218
|
/**
|
|
193
|
-
* Sub-objects to expand in the response. When omitted, sub-objects
|
|
194
|
-
* `null`.
|
|
219
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
220
|
+
* are returned as `null`.
|
|
195
221
|
*/
|
|
196
222
|
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
223
|
+
}
|
|
224
|
+
export interface ItemCategoryUpdateParams {
|
|
197
225
|
/**
|
|
198
|
-
*
|
|
226
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
227
|
+
* are returned as `null`.
|
|
199
228
|
*/
|
|
200
|
-
|
|
229
|
+
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
201
230
|
/**
|
|
202
|
-
*
|
|
231
|
+
* Body param: Display name of the item category.
|
|
203
232
|
*/
|
|
204
|
-
|
|
233
|
+
name?: string;
|
|
205
234
|
/**
|
|
206
|
-
*
|
|
235
|
+
* Body param: Free-form notes about the item category.
|
|
207
236
|
*/
|
|
208
|
-
|
|
237
|
+
notes?: string;
|
|
209
238
|
}
|
|
210
239
|
export interface ItemCategoryChangeUnitGroupParams {
|
|
211
240
|
/**
|
|
@@ -214,7 +243,7 @@ export interface ItemCategoryChangeUnitGroupParams {
|
|
|
214
243
|
id: string;
|
|
215
244
|
}
|
|
216
245
|
export declare namespace ItemCategories {
|
|
217
|
-
export { type CreateItemCategoryRequest as CreateItemCategoryRequest, type ListItemCategory as ListItemCategory, type UpdateItemCategoryRequest as UpdateItemCategoryRequest, type ItemCategoryDeleteResponse as ItemCategoryDeleteResponse, type ItemCategoryChangeUnitGroupResponse as ItemCategoryChangeUnitGroupResponse, type
|
|
246
|
+
export { type CreateItemCategoryRequest as CreateItemCategoryRequest, type ListItemCategory as ListItemCategory, type UpdateItemCategoryRequest as UpdateItemCategoryRequest, type ItemCategoryDeleteResponse as ItemCategoryDeleteResponse, type ItemCategoryChangeUnitGroupResponse as ItemCategoryChangeUnitGroupResponse, type ItemCategoryListParams as ItemCategoryListParams, type ItemCategoryRetrieveParams as ItemCategoryRetrieveParams, type ItemCategoryCreateParams as ItemCategoryCreateParams, type ItemCategoryUpdateParams as ItemCategoryUpdateParams, type ItemCategoryChangeUnitGroupParams as ItemCategoryChangeUnitGroupParams, };
|
|
218
247
|
export { Properties as Properties, type PropertyUpdateResponse as PropertyUpdateResponse, type PropertyDeleteResponse as PropertyDeleteResponse, type PropertyUpdateParams as PropertyUpdateParams, type PropertyDeleteParams as PropertyDeleteParams, };
|
|
219
248
|
}
|
|
220
249
|
//# sourceMappingURL=item-categories.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-categories.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":"
|
|
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;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAA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C7B,kCAAkC,CACrC,CAAC;IAEF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAID,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,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"}
|
|
@@ -11,22 +11,20 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
11
11
|
export declare class ItemCategories extends APIResource {
|
|
12
12
|
properties: PropertiesAPI.Properties;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Returns a paginated list of item categories for the current account, including
|
|
15
|
+
* account-specific and global system categories.
|
|
15
16
|
*
|
|
16
17
|
* @example
|
|
17
18
|
* ```ts
|
|
18
|
-
* const
|
|
19
|
-
* await client.catalog.itemCategories.
|
|
20
|
-
* name: 'Electronics',
|
|
21
|
-
* type: 'material_category',
|
|
22
|
-
* unit_group_id: 'ug_01aad07abb8e41fd392d2d7013',
|
|
23
|
-
* });
|
|
19
|
+
* const listItemCategory =
|
|
20
|
+
* await client.catalog.itemCategories.list();
|
|
24
21
|
* ```
|
|
25
22
|
*/
|
|
26
|
-
|
|
23
|
+
list(query?: ItemCategoryListParams | null | undefined, options?: RequestOptions): APIPromise<ListItemCategory>;
|
|
27
24
|
/**
|
|
28
|
-
* Returns an item category by ID.
|
|
29
|
-
*
|
|
25
|
+
* Returns an item category by ID.
|
|
26
|
+
*
|
|
27
|
+
* Both account-owned categories and global system categories can be retrieved.
|
|
30
28
|
*
|
|
31
29
|
* @example
|
|
32
30
|
* ```ts
|
|
@@ -38,33 +36,39 @@ export declare class ItemCategories extends APIResource {
|
|
|
38
36
|
*/
|
|
39
37
|
retrieve(id: string, query?: ItemCategoryRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ItemsAPI.ItemCategory>;
|
|
40
38
|
/**
|
|
41
|
-
*
|
|
42
|
-
* cannot be updated.
|
|
39
|
+
* Creates an account-owned item category.
|
|
43
40
|
*
|
|
44
41
|
* @example
|
|
45
42
|
* ```ts
|
|
46
43
|
* const itemCategory =
|
|
47
|
-
* await client.catalog.itemCategories.
|
|
48
|
-
* '
|
|
49
|
-
*
|
|
50
|
-
*
|
|
44
|
+
* await client.catalog.itemCategories.create({
|
|
45
|
+
* name: 'Electronics',
|
|
46
|
+
* type: 'material_category',
|
|
47
|
+
* unit_group_id: 'ug_01aad07abb8e41fd392d2d7013',
|
|
48
|
+
* });
|
|
51
49
|
* ```
|
|
52
50
|
*/
|
|
53
|
-
|
|
51
|
+
create(params: ItemCategoryCreateParams, options?: RequestOptions): APIPromise<ItemsAPI.ItemCategory>;
|
|
54
52
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
53
|
+
* Partially updates an account-owned item category.
|
|
54
|
+
*
|
|
55
|
+
* Only the fields provided in the request body are changed. Default system
|
|
56
|
+
* categories cannot be updated.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* ```ts
|
|
60
|
-
* const
|
|
61
|
-
* await client.catalog.itemCategories.
|
|
60
|
+
* const itemCategory =
|
|
61
|
+
* await client.catalog.itemCategories.update(
|
|
62
|
+
* 'ic_01ae7bd7bfd21ca0ab81e1357e',
|
|
63
|
+
* { name: 'Electronic Components' },
|
|
64
|
+
* );
|
|
62
65
|
* ```
|
|
63
66
|
*/
|
|
64
|
-
|
|
67
|
+
update(id: string, params?: ItemCategoryUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ItemsAPI.ItemCategory>;
|
|
65
68
|
/**
|
|
66
|
-
* Deletes an account-owned item category.
|
|
67
|
-
*
|
|
69
|
+
* Deletes an account-owned item category.
|
|
70
|
+
*
|
|
71
|
+
* Default system categories cannot be deleted.
|
|
68
72
|
*
|
|
69
73
|
* @example
|
|
70
74
|
* ```ts
|
|
@@ -76,8 +80,11 @@ export declare class ItemCategories extends APIResource {
|
|
|
76
80
|
*/
|
|
77
81
|
delete(id: string, options?: RequestOptions): APIPromise<ItemCategoryDeleteResponse>;
|
|
78
82
|
/**
|
|
79
|
-
* Changes the unit group associated with an item category.
|
|
80
|
-
*
|
|
83
|
+
* Changes the unit group associated with an item category.
|
|
84
|
+
*
|
|
85
|
+
* The new unit group must have the same unit type as the current one — for
|
|
86
|
+
* example, a category measured in `mass` units can only switch to another `mass`
|
|
87
|
+
* unit group. Default system categories cannot be modified.
|
|
81
88
|
*
|
|
82
89
|
* @example
|
|
83
90
|
* ```ts
|
|
@@ -95,16 +102,24 @@ export declare class ItemCategories extends APIResource {
|
|
|
95
102
|
*/
|
|
96
103
|
export interface CreateItemCategoryRequest {
|
|
97
104
|
/**
|
|
98
|
-
* Display name.
|
|
105
|
+
* Display name of the item category.
|
|
99
106
|
*/
|
|
100
107
|
name: string;
|
|
101
108
|
/**
|
|
102
|
-
*
|
|
103
|
-
*
|
|
109
|
+
* What kind of items this category groups.
|
|
110
|
+
*
|
|
111
|
+
* - `material_category`: groups raw materials and components (items of type
|
|
112
|
+
* `material`).
|
|
113
|
+
* - `product_category`: groups finished products and parts (items of type
|
|
114
|
+
* `product` or `part`).
|
|
104
115
|
*/
|
|
105
116
|
type: 'material_category' | 'product_category';
|
|
106
117
|
/**
|
|
107
|
-
*
|
|
118
|
+
* ID of the unit group that determines the units of measure available to items in
|
|
119
|
+
* this category.
|
|
120
|
+
*
|
|
121
|
+
* After creation, the unit group can only be replaced by another unit group of the
|
|
122
|
+
* same unit type via the Change Item Category Unit Group endpoint.
|
|
108
123
|
*/
|
|
109
124
|
unit_group_id: string;
|
|
110
125
|
}
|
|
@@ -130,11 +145,11 @@ export interface ListItemCategory {
|
|
|
130
145
|
*/
|
|
131
146
|
export interface UpdateItemCategoryRequest {
|
|
132
147
|
/**
|
|
133
|
-
* Display name.
|
|
148
|
+
* Display name of the item category.
|
|
134
149
|
*/
|
|
135
150
|
name?: string;
|
|
136
151
|
/**
|
|
137
|
-
*
|
|
152
|
+
* Free-form notes about the item category.
|
|
138
153
|
*/
|
|
139
154
|
notes?: string;
|
|
140
155
|
}
|
|
@@ -142,25 +157,34 @@ export interface ItemCategoryDeleteResponse {
|
|
|
142
157
|
}
|
|
143
158
|
export interface ItemCategoryChangeUnitGroupResponse {
|
|
144
159
|
}
|
|
145
|
-
export interface
|
|
160
|
+
export interface ItemCategoryListParams {
|
|
146
161
|
/**
|
|
147
|
-
*
|
|
162
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
163
|
+
*
|
|
164
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
165
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
166
|
+
* page.
|
|
148
167
|
*/
|
|
149
|
-
|
|
168
|
+
cursor?: string;
|
|
150
169
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
170
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
171
|
+
* `null`.
|
|
153
172
|
*/
|
|
154
|
-
|
|
173
|
+
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
155
174
|
/**
|
|
156
|
-
*
|
|
175
|
+
* Maximum number of results to return in a single page.
|
|
157
176
|
*/
|
|
158
|
-
|
|
177
|
+
limit?: number;
|
|
159
178
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
179
|
+
* Free-text search term used to filter results.
|
|
180
|
+
*
|
|
181
|
+
* Which fields are matched against the term varies by endpoint.
|
|
162
182
|
*/
|
|
163
|
-
|
|
183
|
+
q?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Filter by item category type.
|
|
186
|
+
*/
|
|
187
|
+
type?: 'material_category' | 'product_category';
|
|
164
188
|
}
|
|
165
189
|
export interface ItemCategoryRetrieveParams {
|
|
166
190
|
/**
|
|
@@ -169,43 +193,48 @@ export interface ItemCategoryRetrieveParams {
|
|
|
169
193
|
*/
|
|
170
194
|
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
171
195
|
}
|
|
172
|
-
export interface
|
|
173
|
-
/**
|
|
174
|
-
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
175
|
-
* are returned as `null`.
|
|
176
|
-
*/
|
|
177
|
-
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
196
|
+
export interface ItemCategoryCreateParams {
|
|
178
197
|
/**
|
|
179
|
-
* Body param: Display name.
|
|
198
|
+
* Body param: Display name of the item category.
|
|
180
199
|
*/
|
|
181
|
-
name
|
|
200
|
+
name: string;
|
|
182
201
|
/**
|
|
183
|
-
* Body param:
|
|
202
|
+
* Body param: What kind of items this category groups.
|
|
203
|
+
*
|
|
204
|
+
* - `material_category`: groups raw materials and components (items of type
|
|
205
|
+
* `material`).
|
|
206
|
+
* - `product_category`: groups finished products and parts (items of type
|
|
207
|
+
* `product` or `part`).
|
|
184
208
|
*/
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
export interface ItemCategoryListParams {
|
|
209
|
+
type: 'material_category' | 'product_category';
|
|
188
210
|
/**
|
|
189
|
-
*
|
|
211
|
+
* Body param: ID of the unit group that determines the units of measure available
|
|
212
|
+
* to items in this category.
|
|
213
|
+
*
|
|
214
|
+
* After creation, the unit group can only be replaced by another unit group of the
|
|
215
|
+
* same unit type via the Change Item Category Unit Group endpoint.
|
|
190
216
|
*/
|
|
191
|
-
|
|
217
|
+
unit_group_id: string;
|
|
192
218
|
/**
|
|
193
|
-
* Sub-objects to expand in the response. When omitted, sub-objects
|
|
194
|
-
* `null`.
|
|
219
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
220
|
+
* are returned as `null`.
|
|
195
221
|
*/
|
|
196
222
|
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
223
|
+
}
|
|
224
|
+
export interface ItemCategoryUpdateParams {
|
|
197
225
|
/**
|
|
198
|
-
*
|
|
226
|
+
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
227
|
+
* are returned as `null`.
|
|
199
228
|
*/
|
|
200
|
-
|
|
229
|
+
include?: Array<'owner' | 'owner.account' | 'properties' | 'unit_group' | 'unit_group.base_unit' | 'unit_group.associated_units' | 'unit_group.associated_units.unit'>;
|
|
201
230
|
/**
|
|
202
|
-
*
|
|
231
|
+
* Body param: Display name of the item category.
|
|
203
232
|
*/
|
|
204
|
-
|
|
233
|
+
name?: string;
|
|
205
234
|
/**
|
|
206
|
-
*
|
|
235
|
+
* Body param: Free-form notes about the item category.
|
|
207
236
|
*/
|
|
208
|
-
|
|
237
|
+
notes?: string;
|
|
209
238
|
}
|
|
210
239
|
export interface ItemCategoryChangeUnitGroupParams {
|
|
211
240
|
/**
|
|
@@ -214,7 +243,7 @@ export interface ItemCategoryChangeUnitGroupParams {
|
|
|
214
243
|
id: string;
|
|
215
244
|
}
|
|
216
245
|
export declare namespace ItemCategories {
|
|
217
|
-
export { type CreateItemCategoryRequest as CreateItemCategoryRequest, type ListItemCategory as ListItemCategory, type UpdateItemCategoryRequest as UpdateItemCategoryRequest, type ItemCategoryDeleteResponse as ItemCategoryDeleteResponse, type ItemCategoryChangeUnitGroupResponse as ItemCategoryChangeUnitGroupResponse, type
|
|
246
|
+
export { type CreateItemCategoryRequest as CreateItemCategoryRequest, type ListItemCategory as ListItemCategory, type UpdateItemCategoryRequest as UpdateItemCategoryRequest, type ItemCategoryDeleteResponse as ItemCategoryDeleteResponse, type ItemCategoryChangeUnitGroupResponse as ItemCategoryChangeUnitGroupResponse, type ItemCategoryListParams as ItemCategoryListParams, type ItemCategoryRetrieveParams as ItemCategoryRetrieveParams, type ItemCategoryCreateParams as ItemCategoryCreateParams, type ItemCategoryUpdateParams as ItemCategoryUpdateParams, type ItemCategoryChangeUnitGroupParams as ItemCategoryChangeUnitGroupParams, };
|
|
218
247
|
export { Properties as Properties, type PropertyUpdateResponse as PropertyUpdateResponse, type PropertyDeleteResponse as PropertyDeleteResponse, type PropertyUpdateParams as PropertyUpdateParams, type PropertyDeleteParams as PropertyDeleteParams, };
|
|
219
248
|
}
|
|
220
249
|
//# sourceMappingURL=item-categories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-categories.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/item-categories/item-categories.ts"],"names":[],"mappings":"
|
|
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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