@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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as BlocksAPI from "../../messaging/blocks.js";
|
|
2
3
|
import * as AccountGroupsAPI from "../account-groups.js";
|
|
3
4
|
import * as AddressesAPI from "../addresses.js";
|
|
4
5
|
import * as PrioritiesAPI from "../priorities.js";
|
|
@@ -14,28 +15,21 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
14
15
|
export declare class Customers extends APIResource {
|
|
15
16
|
actions: ActionsAPI.Actions;
|
|
16
17
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
18
|
+
* Returns a paginated list of customers for the current account.
|
|
19
|
+
*
|
|
20
|
+
* This endpoint requires the permission: `customers:read`.
|
|
19
21
|
*
|
|
20
22
|
* @example
|
|
21
23
|
* ```ts
|
|
22
|
-
* const
|
|
23
|
-
* bill_to_address: { name: 'Acme Inc.', country: 'US' },
|
|
24
|
-
* customer_type_group_id: 'acgp_018e88072d1320808dc979cfac',
|
|
25
|
-
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
26
|
-
* default_payment_term_id:
|
|
27
|
-
* 'pytm_018694d6601ea771cd1b52e890',
|
|
28
|
-
* default_shipping_term_id:
|
|
29
|
-
* 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
30
|
-
* name: 'Acme Inc.',
|
|
31
|
-
* ship_to_address: { name: 'Acme Inc.', country: 'US' },
|
|
32
|
-
* });
|
|
24
|
+
* const listCustomer = await client.sales.customers.list();
|
|
33
25
|
* ```
|
|
34
26
|
*/
|
|
35
|
-
|
|
27
|
+
list(query?: CustomerListParams | null | undefined, options?: RequestOptions): APIPromise<ListCustomer>;
|
|
36
28
|
/**
|
|
37
29
|
* Returns a customer by ID.
|
|
38
30
|
*
|
|
31
|
+
* This endpoint requires the permissions: `customers:read`, `suppliers:read`.
|
|
32
|
+
*
|
|
39
33
|
* @example
|
|
40
34
|
* ```ts
|
|
41
35
|
* const customer = await client.sales.customers.retrieve(
|
|
@@ -45,29 +39,74 @@ export declare class Customers extends APIResource {
|
|
|
45
39
|
*/
|
|
46
40
|
retrieve(id: string, query?: CustomerRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
|
|
47
41
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
42
|
+
* Creates a customer account with its default addresses, fulfillment settings, and
|
|
43
|
+
* order policies.
|
|
44
|
+
*
|
|
45
|
+
* If `number` is omitted, the next sequential customer number is assigned
|
|
46
|
+
* automatically.
|
|
47
|
+
*
|
|
48
|
+
* This endpoint requires the permission: `customers:create`.
|
|
50
49
|
*
|
|
51
50
|
* @example
|
|
52
51
|
* ```ts
|
|
53
|
-
* const customer = await client.sales.customers.
|
|
54
|
-
*
|
|
55
|
-
*
|
|
52
|
+
* const customer = await client.sales.customers.create({
|
|
53
|
+
* bill_to_address: {
|
|
54
|
+
* name: 'Acme Inc.',
|
|
55
|
+
* street_line_1: '123 Main St',
|
|
56
|
+
* locality: 'New York',
|
|
57
|
+
* state: 'NY',
|
|
58
|
+
* postal_code: '10001',
|
|
59
|
+
* country: 'US',
|
|
60
|
+
* },
|
|
61
|
+
* customer_type_group_id: 'acgp_018e88072d1320808dc979cfac',
|
|
62
|
+
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
63
|
+
* default_payment_term_id:
|
|
64
|
+
* 'pytm_018694d6601ea771cd1b52e890',
|
|
65
|
+
* default_shipping_term_id:
|
|
66
|
+
* 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
67
|
+
* name: 'Acme Inc.',
|
|
68
|
+
* ship_to_address: {
|
|
69
|
+
* name: 'Acme Inc.',
|
|
70
|
+
* street_line_1: '123 Main St',
|
|
71
|
+
* locality: 'New York',
|
|
72
|
+
* state: 'NY',
|
|
73
|
+
* postal_code: '10001',
|
|
74
|
+
* country: 'US',
|
|
75
|
+
* },
|
|
76
|
+
* note: 'Key enterprise account',
|
|
77
|
+
* });
|
|
56
78
|
* ```
|
|
57
79
|
*/
|
|
58
|
-
|
|
80
|
+
create(params: CustomerCreateParams, options?: RequestOptions): APIPromise<Customer>;
|
|
59
81
|
/**
|
|
60
|
-
*
|
|
82
|
+
* Partially updates a customer account.
|
|
83
|
+
*
|
|
84
|
+
* Only the fields provided in the request are changed. Nullable fields can be set
|
|
85
|
+
* to `null` to clear their current value.
|
|
86
|
+
*
|
|
87
|
+
* This endpoint requires the permission: `customers:update`.
|
|
61
88
|
*
|
|
62
89
|
* @example
|
|
63
90
|
* ```ts
|
|
64
|
-
* const
|
|
91
|
+
* const customer = await client.sales.customers.update(
|
|
92
|
+
* 'ac_0170df1ac58e4d24c66fc89f5f',
|
|
93
|
+
* {
|
|
94
|
+
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
95
|
+
* freight_policy: 'billed_freight',
|
|
96
|
+
* name: 'Acme Corp Updated',
|
|
97
|
+
* note: 'Updated account notes',
|
|
98
|
+
* },
|
|
99
|
+
* );
|
|
65
100
|
* ```
|
|
66
101
|
*/
|
|
67
|
-
|
|
102
|
+
update(id: string, params?: CustomerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
|
|
68
103
|
/**
|
|
69
|
-
* Deletes a customer
|
|
70
|
-
*
|
|
104
|
+
* Deletes a customer.
|
|
105
|
+
*
|
|
106
|
+
* Fails with a conflict error if any sales orders still reference the customer;
|
|
107
|
+
* delete or reassign those orders, or merge the customer into another first.
|
|
108
|
+
*
|
|
109
|
+
* This endpoint requires the permission: `customers:delete`.
|
|
71
110
|
*
|
|
72
111
|
* @example
|
|
73
112
|
* ```ts
|
|
@@ -79,64 +118,11 @@ export declare class Customers extends APIResource {
|
|
|
79
118
|
delete(id: string, options?: RequestOptions): APIPromise<CustomerDeleteResponse>;
|
|
80
119
|
}
|
|
81
120
|
/**
|
|
82
|
-
*
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
*/
|
|
88
|
-
id: string;
|
|
89
|
-
/**
|
|
90
|
-
* When the account user was created.
|
|
91
|
-
*/
|
|
92
|
-
created_at: string;
|
|
93
|
-
/**
|
|
94
|
-
* Department resource.
|
|
95
|
-
*/
|
|
96
|
-
department: Department | null;
|
|
97
|
-
/**
|
|
98
|
-
* Email address.
|
|
99
|
-
*/
|
|
100
|
-
email: string | null;
|
|
101
|
-
/**
|
|
102
|
-
* Profile image URL.
|
|
103
|
-
*/
|
|
104
|
-
image_url: string | null;
|
|
105
|
-
/**
|
|
106
|
-
* When the user last used this account.
|
|
107
|
-
*/
|
|
108
|
-
last_used_at: string | null;
|
|
109
|
-
/**
|
|
110
|
-
* Display name.
|
|
111
|
-
*/
|
|
112
|
-
name: string | null;
|
|
113
|
-
/**
|
|
114
|
-
* Resource type identifier.
|
|
115
|
-
*/
|
|
116
|
-
object: 'account_user';
|
|
117
|
-
/**
|
|
118
|
-
* Role resource.
|
|
119
|
-
*/
|
|
120
|
-
role: APIKeysAPI.Role | null;
|
|
121
|
-
/**
|
|
122
|
-
* Account user status.
|
|
123
|
-
*/
|
|
124
|
-
status: 'active' | 'disabled' | 'removed';
|
|
125
|
-
/**
|
|
126
|
-
* When the account user was last updated.
|
|
127
|
-
*/
|
|
128
|
-
updated_at: string;
|
|
129
|
-
/**
|
|
130
|
-
* Underlying user ID.
|
|
131
|
-
*/
|
|
132
|
-
user_id: string;
|
|
133
|
-
/**
|
|
134
|
-
* Username.
|
|
135
|
-
*/
|
|
136
|
-
username: string | null;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Carrier resource.
|
|
121
|
+
* A shipping carrier configured for fulfilling orders.
|
|
122
|
+
*
|
|
123
|
+
* Carriers with a Shippo-supported `code` (`fedex`, `ups`, `usps`) are connected
|
|
124
|
+
* through Shippo for live rating and label purchase; other carriers represent
|
|
125
|
+
* self-managed shipping methods such as will call or local delivery.
|
|
140
126
|
*/
|
|
141
127
|
export interface Carrier {
|
|
142
128
|
/**
|
|
@@ -144,11 +130,19 @@ export interface Carrier {
|
|
|
144
130
|
*/
|
|
145
131
|
id: string;
|
|
146
132
|
/**
|
|
147
|
-
*
|
|
133
|
+
* Your account number with this carrier, used to connect UPS and USPS accounts.
|
|
148
134
|
*/
|
|
149
135
|
account_number: string | null;
|
|
150
136
|
/**
|
|
151
|
-
*
|
|
137
|
+
* Well-known carrier identifier, set only for recognized carriers and absent for
|
|
138
|
+
* custom ones.
|
|
139
|
+
*
|
|
140
|
+
* - `fedex`, `ups`, `usps`: integrated carriers managed through Shippo (live
|
|
141
|
+
* rating and labels).
|
|
142
|
+
* - `will_call`: customer picks the order up; no carrier shipment.
|
|
143
|
+
* - `delivery`: delivered by your own vehicles/drivers.
|
|
144
|
+
* - `ltl`, `ltl1`: less-than-truckload freight carriers.
|
|
145
|
+
* - `freight_collect`: freight billed to and arranged by the receiver.
|
|
152
146
|
*/
|
|
153
147
|
code: 'fedex' | 'ups' | 'usps' | 'will_call' | 'delivery' | 'ltl' | 'ltl1' | 'freight_collect' | null;
|
|
154
148
|
/**
|
|
@@ -156,7 +150,8 @@ export interface Carrier {
|
|
|
156
150
|
*/
|
|
157
151
|
created_at: string;
|
|
158
152
|
/**
|
|
159
|
-
*
|
|
153
|
+
* Whether customers can see and select this carrier at checkout in the customer
|
|
154
|
+
* portal.
|
|
160
155
|
*/
|
|
161
156
|
customer_portal_visibility: 'visible' | 'hidden';
|
|
162
157
|
/**
|
|
@@ -164,7 +159,7 @@ export interface Carrier {
|
|
|
164
159
|
*/
|
|
165
160
|
deleted_at: string | null;
|
|
166
161
|
/**
|
|
167
|
-
*
|
|
162
|
+
* Human-readable name for the carrier, unique among your account's carriers.
|
|
168
163
|
*/
|
|
169
164
|
name: string;
|
|
170
165
|
/**
|
|
@@ -184,57 +179,22 @@ export interface Carrier {
|
|
|
184
179
|
*/
|
|
185
180
|
updated_at: string;
|
|
186
181
|
}
|
|
187
|
-
/**
|
|
188
|
-
* Material consumed by a production step.
|
|
189
|
-
*/
|
|
190
|
-
export interface Consumption {
|
|
191
|
-
/**
|
|
192
|
-
* Consumption ID.
|
|
193
|
-
*/
|
|
194
|
-
id: string;
|
|
195
|
-
/**
|
|
196
|
-
* Item is an inventory item (product, material, or part).
|
|
197
|
-
*/
|
|
198
|
-
consumed_item: ItemsAPI.Item | null;
|
|
199
|
-
/**
|
|
200
|
-
* Creation timestamp.
|
|
201
|
-
*/
|
|
202
|
-
created_at: string;
|
|
203
|
-
/**
|
|
204
|
-
* Instructions for how this material is consumed.
|
|
205
|
-
*/
|
|
206
|
-
instructions: string | null;
|
|
207
|
-
/**
|
|
208
|
-
* Resource type identifier.
|
|
209
|
-
*/
|
|
210
|
-
object: 'consumption';
|
|
211
|
-
/**
|
|
212
|
-
* Value with an associated unit.
|
|
213
|
-
*/
|
|
214
|
-
quantity: ItemsAPI.Quantity | null;
|
|
215
|
-
/**
|
|
216
|
-
* Last updated timestamp.
|
|
217
|
-
*/
|
|
218
|
-
updated_at: string;
|
|
219
|
-
/**
|
|
220
|
-
* Value with an associated unit.
|
|
221
|
-
*/
|
|
222
|
-
waste_quantity: ItemsAPI.Quantity | null;
|
|
223
|
-
}
|
|
224
182
|
/**
|
|
225
183
|
* Request to create a customer.
|
|
226
184
|
*/
|
|
227
185
|
export interface CreateCustomerRequest {
|
|
228
186
|
/**
|
|
229
|
-
*
|
|
187
|
+
* Address details used to create an address, either directly or inline on another
|
|
188
|
+
* resource.
|
|
230
189
|
*/
|
|
231
190
|
bill_to_address: AddressesAPI.AddressInput;
|
|
232
191
|
/**
|
|
233
|
-
*
|
|
192
|
+
* ID of the account group of type `type_group` that categorizes this customer (for
|
|
193
|
+
* example "Distributors").
|
|
234
194
|
*/
|
|
235
195
|
customer_type_group_id: string;
|
|
236
196
|
/**
|
|
237
|
-
*
|
|
197
|
+
* ID of the default carrier for this customer's shipments.
|
|
238
198
|
*/
|
|
239
199
|
default_carrier_id: string;
|
|
240
200
|
/**
|
|
@@ -246,36 +206,45 @@ export interface CreateCustomerRequest {
|
|
|
246
206
|
*/
|
|
247
207
|
default_shipping_term_id: string;
|
|
248
208
|
/**
|
|
249
|
-
*
|
|
209
|
+
* The customer's business name, as shown throughout the app and on documents.
|
|
250
210
|
*/
|
|
251
211
|
name: string;
|
|
252
212
|
/**
|
|
253
|
-
*
|
|
213
|
+
* Address details used to create an address, either directly or inline on another
|
|
214
|
+
* resource.
|
|
254
215
|
*/
|
|
255
216
|
ship_to_address: AddressesAPI.AddressInput;
|
|
256
217
|
/**
|
|
257
|
-
* Carrier billing account number
|
|
218
|
+
* Carrier billing account number charged when `carrier_billing_type` is
|
|
219
|
+
* `third_party`.
|
|
258
220
|
*/
|
|
259
221
|
carrier_billing_account?: string;
|
|
260
222
|
/**
|
|
261
|
-
*
|
|
223
|
+
* Who pays the carrier for shipments.
|
|
224
|
+
*
|
|
225
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
226
|
+
* - `third_party`: a third party is billed, using `carrier_billing_account`.
|
|
262
227
|
*/
|
|
263
228
|
carrier_billing_type?: 'sender' | 'third_party';
|
|
264
229
|
/**
|
|
265
|
-
*
|
|
230
|
+
* How sales commission applies to this customer's orders.
|
|
231
|
+
*
|
|
232
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
233
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
234
|
+
* orders.
|
|
266
235
|
*/
|
|
267
236
|
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
268
237
|
/**
|
|
269
|
-
*
|
|
270
|
-
* requests.
|
|
238
|
+
* A value with an associated unit, used in create and update requests.
|
|
271
239
|
*/
|
|
272
240
|
credit_limit?: QuantityInput;
|
|
273
241
|
/**
|
|
274
|
-
*
|
|
242
|
+
* IDs of the account groups of type `pricing_group` to assign to this customer,
|
|
243
|
+
* used to apply pricing rules.
|
|
275
244
|
*/
|
|
276
245
|
customer_price_group_ids?: Array<string>;
|
|
277
246
|
/**
|
|
278
|
-
*
|
|
247
|
+
* Priority applied to new orders for this customer.
|
|
279
248
|
*/
|
|
280
249
|
default_priority?: 'low' | 'normal' | 'high';
|
|
281
250
|
/**
|
|
@@ -283,11 +252,12 @@ export interface CreateCustomerRequest {
|
|
|
283
252
|
*/
|
|
284
253
|
default_sales_rep_id?: string;
|
|
285
254
|
/**
|
|
286
|
-
*
|
|
255
|
+
* ID of the default carrier service level.
|
|
287
256
|
*/
|
|
288
257
|
default_service_level_id?: string;
|
|
289
258
|
/**
|
|
290
|
-
* EDI
|
|
259
|
+
* Whether EDI (Electronic Data Interchange) is enabled for exchanging orders and
|
|
260
|
+
* documents with this customer.
|
|
291
261
|
*/
|
|
292
262
|
edi_status?: 'enabled' | 'disabled';
|
|
293
263
|
/**
|
|
@@ -295,15 +265,23 @@ export interface CreateCustomerRequest {
|
|
|
295
265
|
*/
|
|
296
266
|
email?: string;
|
|
297
267
|
/**
|
|
298
|
-
*
|
|
268
|
+
* Whether this customer is billed for freight on their orders.
|
|
269
|
+
*
|
|
270
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
271
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden on the
|
|
272
|
+
* order.
|
|
299
273
|
*/
|
|
300
274
|
freight_policy?: 'free_freight' | 'billed_freight';
|
|
301
275
|
/**
|
|
302
|
-
*
|
|
276
|
+
* Free-form note about the customer.
|
|
303
277
|
*/
|
|
304
278
|
note?: string;
|
|
305
279
|
/**
|
|
306
|
-
*
|
|
280
|
+
* Human-readable customer number used to identify the account, distinct from the
|
|
281
|
+
* `id`.
|
|
282
|
+
*
|
|
283
|
+
* Must be unique within your account. If omitted, the next sequential number is
|
|
284
|
+
* assigned automatically.
|
|
307
285
|
*/
|
|
308
286
|
number?: string;
|
|
309
287
|
/**
|
|
@@ -311,7 +289,12 @@ export interface CreateCustomerRequest {
|
|
|
311
289
|
*/
|
|
312
290
|
phone?: string;
|
|
313
291
|
/**
|
|
314
|
-
* Account status code.
|
|
292
|
+
* Account status code, controlling whether the customer can transact.
|
|
293
|
+
*
|
|
294
|
+
* - `normal`: standard active account with no restrictions.
|
|
295
|
+
* - `preferred`: active account flagged as preferred.
|
|
296
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
297
|
+
* - `hold_all`: all activity is on hold.
|
|
315
298
|
*/
|
|
316
299
|
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
317
300
|
/**
|
|
@@ -320,7 +303,8 @@ export interface CreateCustomerRequest {
|
|
|
320
303
|
url?: string;
|
|
321
304
|
}
|
|
322
305
|
/**
|
|
323
|
-
*
|
|
306
|
+
* A business you sell to, with its contact details, default fulfillment settings,
|
|
307
|
+
* and order policies.
|
|
324
308
|
*/
|
|
325
309
|
export interface Customer {
|
|
326
310
|
/**
|
|
@@ -328,7 +312,8 @@ export interface Customer {
|
|
|
328
312
|
*/
|
|
329
313
|
id: string;
|
|
330
314
|
/**
|
|
331
|
-
*
|
|
315
|
+
* A saved address that can be used for billing and shipping on sales orders,
|
|
316
|
+
* invoices, and shipments.
|
|
332
317
|
*/
|
|
333
318
|
bill_to_address: APIKeysAPI.Address | null;
|
|
334
319
|
/**
|
|
@@ -336,7 +321,11 @@ export interface Customer {
|
|
|
336
321
|
*/
|
|
337
322
|
child_accounts: ListCustomer | null;
|
|
338
323
|
/**
|
|
339
|
-
*
|
|
324
|
+
* How sales commission applies to this customer's orders.
|
|
325
|
+
*
|
|
326
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
327
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
328
|
+
* orders.
|
|
340
329
|
*/
|
|
341
330
|
commission_policy: 'commission_applied' | 'commission_exempt';
|
|
342
331
|
/**
|
|
@@ -356,7 +345,8 @@ export interface Customer {
|
|
|
356
345
|
*/
|
|
357
346
|
defaults: CustomerDefaults | null;
|
|
358
347
|
/**
|
|
359
|
-
* EDI
|
|
348
|
+
* Whether EDI (Electronic Data Interchange) is enabled for exchanging orders and
|
|
349
|
+
* documents with this customer.
|
|
360
350
|
*/
|
|
361
351
|
edi_status: 'enabled' | 'disabled';
|
|
362
352
|
/**
|
|
@@ -364,11 +354,11 @@ export interface Customer {
|
|
|
364
354
|
*/
|
|
365
355
|
freight_preferences: CustomerFreightPreferences | null;
|
|
366
356
|
/**
|
|
367
|
-
*
|
|
357
|
+
* The customer's business name, as shown throughout the app and on documents.
|
|
368
358
|
*/
|
|
369
359
|
name: string;
|
|
370
360
|
/**
|
|
371
|
-
*
|
|
361
|
+
* Free-form note about the customer.
|
|
372
362
|
*/
|
|
373
363
|
note: string | null;
|
|
374
364
|
/**
|
|
@@ -376,7 +366,8 @@ export interface Customer {
|
|
|
376
366
|
*/
|
|
377
367
|
notification_preferences: CustomerNotificationPreferences | null;
|
|
378
368
|
/**
|
|
379
|
-
*
|
|
369
|
+
* Human-readable customer number used to identify the account, distinct from the
|
|
370
|
+
* `id`.
|
|
380
371
|
*/
|
|
381
372
|
number: string;
|
|
382
373
|
/**
|
|
@@ -384,7 +375,8 @@ export interface Customer {
|
|
|
384
375
|
*/
|
|
385
376
|
object: 'customer';
|
|
386
377
|
/**
|
|
387
|
-
*
|
|
378
|
+
* A business you sell to, with its contact details, default fulfillment settings,
|
|
379
|
+
* and order policies.
|
|
388
380
|
*/
|
|
389
381
|
parent_account: Customer | null;
|
|
390
382
|
/**
|
|
@@ -392,19 +384,30 @@ export interface Customer {
|
|
|
392
384
|
*/
|
|
393
385
|
price_groups: AccountGroupsAPI.ListAccountGroup | null;
|
|
394
386
|
/**
|
|
395
|
-
*
|
|
387
|
+
* The customer's position in the account hierarchy.
|
|
388
|
+
*
|
|
389
|
+
* - `standalone`: no parent or child accounts.
|
|
390
|
+
* - `parent`: has one or more child accounts (see `child_accounts`).
|
|
391
|
+
* - `child`: belongs to a parent account (see `parent_account`).
|
|
396
392
|
*/
|
|
397
393
|
relationship_type: 'standalone' | 'parent' | 'child';
|
|
398
394
|
/**
|
|
399
|
-
*
|
|
395
|
+
* A saved address that can be used for billing and shipping on sales orders,
|
|
396
|
+
* invoices, and shipments.
|
|
400
397
|
*/
|
|
401
398
|
ship_to_address: APIKeysAPI.Address | null;
|
|
402
399
|
/**
|
|
403
|
-
* Account status code.
|
|
400
|
+
* Account status code, controlling whether the customer can transact.
|
|
401
|
+
*
|
|
402
|
+
* - `normal`: standard active account with no restrictions.
|
|
403
|
+
* - `preferred`: active account flagged as preferred.
|
|
404
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
405
|
+
* - `hold_all`: all activity is on hold.
|
|
404
406
|
*/
|
|
405
407
|
status: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
406
408
|
/**
|
|
407
|
-
*
|
|
409
|
+
* A named grouping of customer accounts, used for pricing rules or to categorize
|
|
410
|
+
* accounts.
|
|
408
411
|
*/
|
|
409
412
|
type: AccountGroupsAPI.AccountGroup | null;
|
|
410
413
|
/**
|
|
@@ -442,19 +445,24 @@ export interface CustomerDefaults {
|
|
|
442
445
|
*/
|
|
443
446
|
object: 'customer_defaults';
|
|
444
447
|
/**
|
|
445
|
-
*
|
|
448
|
+
* A payment term describing when payment is due (e.g. `Net 30`), assignable to
|
|
449
|
+
* customers, sales orders, purchase orders, and invoices.
|
|
446
450
|
*/
|
|
447
451
|
payment_term: PaymentTerm | null;
|
|
448
452
|
/**
|
|
449
|
-
* Priority level used
|
|
453
|
+
* Priority level used to order work on sales orders, purchase orders, and picks.
|
|
450
454
|
*/
|
|
451
455
|
priority: PrioritiesAPI.Priority | null;
|
|
452
456
|
/**
|
|
453
|
-
*
|
|
457
|
+
* A user's membership in an account, carrying the account-specific status, role,
|
|
458
|
+
* and department.
|
|
459
|
+
*
|
|
460
|
+
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
461
|
+
* sub-resource, which is shared across every account the user belongs to.
|
|
454
462
|
*/
|
|
455
|
-
sales_rep: AccountUser | null;
|
|
463
|
+
sales_rep: BlocksAPI.AccountUser | null;
|
|
456
464
|
/**
|
|
457
|
-
*
|
|
465
|
+
* A shipping term defining how freight charges are calculated for an order.
|
|
458
466
|
*/
|
|
459
467
|
shipping_term: ShippingTerm | null;
|
|
460
468
|
}
|
|
@@ -463,15 +471,22 @@ export interface CustomerDefaults {
|
|
|
463
471
|
*/
|
|
464
472
|
export interface CustomerFreightPreferences {
|
|
465
473
|
/**
|
|
466
|
-
* Carrier billing account number
|
|
474
|
+
* Carrier billing account number charged when `billing_type` is `third_party`.
|
|
467
475
|
*/
|
|
468
476
|
billing_account: string | null;
|
|
469
477
|
/**
|
|
470
|
-
*
|
|
478
|
+
* Who pays the carrier for shipments.
|
|
479
|
+
*
|
|
480
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
481
|
+
* - `third_party`: a third party is billed, using `billing_account`.
|
|
471
482
|
*/
|
|
472
483
|
billing_type: 'sender' | 'third_party' | null;
|
|
473
484
|
/**
|
|
474
|
-
*
|
|
485
|
+
* A shipping carrier configured for fulfilling orders.
|
|
486
|
+
*
|
|
487
|
+
* Carriers with a Shippo-supported `code` (`fedex`, `ups`, `usps`) are connected
|
|
488
|
+
* through Shippo for live rating and label purchase; other carriers represent
|
|
489
|
+
* self-managed shipping methods such as will call or local delivery.
|
|
475
490
|
*/
|
|
476
491
|
carrier: Carrier | null;
|
|
477
492
|
/**
|
|
@@ -483,7 +498,11 @@ export interface CustomerFreightPreferences {
|
|
|
483
498
|
*/
|
|
484
499
|
service_level: ServiceLevel | null;
|
|
485
500
|
/**
|
|
486
|
-
* Freight policy.
|
|
501
|
+
* Freight policy applied to this customer's orders.
|
|
502
|
+
*
|
|
503
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
504
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden
|
|
505
|
+
* elsewhere.
|
|
487
506
|
*/
|
|
488
507
|
status: 'free_freight' | 'billed_freight';
|
|
489
508
|
}
|
|
@@ -500,64 +519,6 @@ export interface CustomerNotificationPreferences {
|
|
|
500
519
|
*/
|
|
501
520
|
object: 'customer_notification_preferences';
|
|
502
521
|
}
|
|
503
|
-
/**
|
|
504
|
-
* Department resource.
|
|
505
|
-
*/
|
|
506
|
-
export interface Department {
|
|
507
|
-
/**
|
|
508
|
-
* Department ID.
|
|
509
|
-
*/
|
|
510
|
-
id: string;
|
|
511
|
-
/**
|
|
512
|
-
* Creation timestamp.
|
|
513
|
-
*/
|
|
514
|
-
created_at: string;
|
|
515
|
-
/**
|
|
516
|
-
* Location resource.
|
|
517
|
-
*/
|
|
518
|
-
location: Location | null;
|
|
519
|
-
/**
|
|
520
|
-
* List represents a paginated list of resources.
|
|
521
|
-
*/
|
|
522
|
-
machines: ListMachine | null;
|
|
523
|
-
/**
|
|
524
|
-
* Display name.
|
|
525
|
-
*/
|
|
526
|
-
name: string;
|
|
527
|
-
/**
|
|
528
|
-
* Notes about the department.
|
|
529
|
-
*/
|
|
530
|
-
notes: string | null;
|
|
531
|
-
/**
|
|
532
|
-
* Resource type identifier.
|
|
533
|
-
*/
|
|
534
|
-
object: 'department';
|
|
535
|
-
/**
|
|
536
|
-
* List represents a paginated list of resources.
|
|
537
|
-
*/
|
|
538
|
-
scanning_stations: ListScanningStation | null;
|
|
539
|
-
/**
|
|
540
|
-
* Last update timestamp.
|
|
541
|
-
*/
|
|
542
|
-
updated_at: string;
|
|
543
|
-
}
|
|
544
|
-
/**
|
|
545
|
-
* List represents a paginated list of resources.
|
|
546
|
-
*/
|
|
547
|
-
export interface ListConsumption {
|
|
548
|
-
/**
|
|
549
|
-
* Resources in this page.
|
|
550
|
-
*/
|
|
551
|
-
data: Array<Consumption>;
|
|
552
|
-
/**
|
|
553
|
-
* Resource type identifier.
|
|
554
|
-
*/
|
|
555
|
-
object: 'list';
|
|
556
|
-
/**
|
|
557
|
-
* PageInfo contains URL-based pagination metadata.
|
|
558
|
-
*/
|
|
559
|
-
page_info: APIKeysAPI.PageInfo;
|
|
560
|
-
}
|
|
561
522
|
/**
|
|
562
523
|
* List represents a paginated list of resources.
|
|
563
524
|
*/
|
|
@@ -578,11 +539,11 @@ export interface ListCustomer {
|
|
|
578
539
|
/**
|
|
579
540
|
* List represents a paginated list of resources.
|
|
580
541
|
*/
|
|
581
|
-
export interface
|
|
542
|
+
export interface ListServiceLevel {
|
|
582
543
|
/**
|
|
583
544
|
* Resources in this page.
|
|
584
545
|
*/
|
|
585
|
-
data: Array<
|
|
546
|
+
data: Array<ServiceLevel>;
|
|
586
547
|
/**
|
|
587
548
|
* Resource type identifier.
|
|
588
549
|
*/
|
|
@@ -593,550 +554,391 @@ export interface ListLocation {
|
|
|
593
554
|
page_info: APIKeysAPI.PageInfo;
|
|
594
555
|
}
|
|
595
556
|
/**
|
|
596
|
-
*
|
|
557
|
+
* A payment term describing when payment is due (e.g. `Net 30`), assignable to
|
|
558
|
+
* customers, sales orders, purchase orders, and invoices.
|
|
597
559
|
*/
|
|
598
|
-
export interface
|
|
599
|
-
/**
|
|
600
|
-
* Resources in this page.
|
|
601
|
-
*/
|
|
602
|
-
data: Array<Machine>;
|
|
560
|
+
export interface PaymentTerm {
|
|
603
561
|
/**
|
|
604
|
-
*
|
|
562
|
+
* Payment term ID.
|
|
605
563
|
*/
|
|
606
|
-
|
|
564
|
+
id: string;
|
|
607
565
|
/**
|
|
608
|
-
*
|
|
566
|
+
* Creation timestamp.
|
|
609
567
|
*/
|
|
610
|
-
|
|
611
|
-
}
|
|
612
|
-
/**
|
|
613
|
-
* List represents a paginated list of resources.
|
|
614
|
-
*/
|
|
615
|
-
export interface ListProductionStep {
|
|
568
|
+
created_at: string;
|
|
616
569
|
/**
|
|
617
|
-
*
|
|
570
|
+
* Display name (e.g. `Net 30`).
|
|
618
571
|
*/
|
|
619
|
-
|
|
572
|
+
name: string;
|
|
620
573
|
/**
|
|
621
574
|
* Resource type identifier.
|
|
622
575
|
*/
|
|
623
|
-
object: '
|
|
624
|
-
/**
|
|
625
|
-
* PageInfo contains URL-based pagination metadata.
|
|
626
|
-
*/
|
|
627
|
-
page_info: APIKeysAPI.PageInfo;
|
|
628
|
-
}
|
|
629
|
-
/**
|
|
630
|
-
* List represents a paginated list of resources.
|
|
631
|
-
*/
|
|
632
|
-
export interface ListScanningStation {
|
|
576
|
+
object: 'payment_term';
|
|
633
577
|
/**
|
|
634
|
-
*
|
|
578
|
+
* Owner describes the provenance of a resource.
|
|
635
579
|
*/
|
|
636
|
-
|
|
580
|
+
owner: APIKeysAPI.Owner | null;
|
|
637
581
|
/**
|
|
638
|
-
*
|
|
582
|
+
* Lifecycle status of the payment term.
|
|
639
583
|
*/
|
|
640
|
-
|
|
584
|
+
status: 'active' | 'inactive';
|
|
641
585
|
/**
|
|
642
|
-
*
|
|
586
|
+
* Last-updated timestamp.
|
|
643
587
|
*/
|
|
644
|
-
|
|
588
|
+
updated_at: string;
|
|
645
589
|
}
|
|
646
590
|
/**
|
|
647
|
-
*
|
|
591
|
+
* A value with an associated unit, used in create and update requests.
|
|
648
592
|
*/
|
|
649
|
-
export interface
|
|
650
|
-
/**
|
|
651
|
-
* Resources in this page.
|
|
652
|
-
*/
|
|
653
|
-
data: Array<ServiceLevel>;
|
|
593
|
+
export interface QuantityInput {
|
|
654
594
|
/**
|
|
655
|
-
*
|
|
595
|
+
* ID of the unit of measure for the value.
|
|
656
596
|
*/
|
|
657
|
-
|
|
597
|
+
unit_id: string;
|
|
658
598
|
/**
|
|
659
|
-
*
|
|
599
|
+
* Decimal value, as a string to preserve precision.
|
|
660
600
|
*/
|
|
661
|
-
|
|
601
|
+
value: string;
|
|
662
602
|
}
|
|
663
603
|
/**
|
|
664
|
-
*
|
|
604
|
+
* Shipping service level for a carrier.
|
|
665
605
|
*/
|
|
666
|
-
export interface
|
|
606
|
+
export interface ServiceLevel {
|
|
667
607
|
/**
|
|
668
|
-
*
|
|
608
|
+
* Service level ID.
|
|
669
609
|
*/
|
|
670
610
|
id: string;
|
|
671
|
-
/**
|
|
672
|
-
* List represents a paginated list of resources.
|
|
673
|
-
*/
|
|
674
|
-
children: ListLocation | null;
|
|
675
611
|
/**
|
|
676
612
|
* Creation timestamp.
|
|
677
613
|
*/
|
|
678
614
|
created_at: string;
|
|
679
615
|
/**
|
|
680
|
-
*
|
|
616
|
+
* Whether customers can see and select this service level at checkout in the
|
|
617
|
+
* customer portal.
|
|
618
|
+
*/
|
|
619
|
+
customer_portal_visibility: 'visible' | 'hidden';
|
|
620
|
+
/**
|
|
621
|
+
* Whether this is the carrier's default service level, pre-selected when the
|
|
622
|
+
* carrier is chosen.
|
|
623
|
+
*
|
|
624
|
+
* Each carrier has at most one default; setting a new default clears the previous
|
|
625
|
+
* one.
|
|
626
|
+
*/
|
|
627
|
+
is_default: boolean;
|
|
628
|
+
/**
|
|
629
|
+
* Human-readable name for the service level, shown to customers at checkout when
|
|
630
|
+
* the service level is visible.
|
|
681
631
|
*/
|
|
682
632
|
name: string;
|
|
683
633
|
/**
|
|
684
634
|
* Resource type identifier.
|
|
685
635
|
*/
|
|
686
|
-
object: '
|
|
636
|
+
object: 'service_level';
|
|
687
637
|
/**
|
|
688
|
-
*
|
|
638
|
+
* Owner describes the provenance of a resource.
|
|
689
639
|
*/
|
|
690
|
-
|
|
640
|
+
owner: APIKeysAPI.Owner | null;
|
|
691
641
|
/**
|
|
692
|
-
*
|
|
642
|
+
* Carrier-specific code identifying this service level (e.g. `fedex_ground`,
|
|
643
|
+
* `ups_next_day_air`).
|
|
644
|
+
*
|
|
645
|
+
* Values are carrier-defined, so any non-empty string is accepted.
|
|
693
646
|
*/
|
|
694
|
-
|
|
647
|
+
service_level_token: string;
|
|
695
648
|
/**
|
|
696
|
-
* Last
|
|
649
|
+
* Last updated timestamp.
|
|
697
650
|
*/
|
|
698
651
|
updated_at: string;
|
|
699
652
|
}
|
|
700
653
|
/**
|
|
701
|
-
*
|
|
654
|
+
* A shipping term defining how freight charges are calculated for an order.
|
|
702
655
|
*/
|
|
703
|
-
export interface
|
|
656
|
+
export interface ShippingTerm {
|
|
704
657
|
/**
|
|
705
|
-
*
|
|
658
|
+
* Shipping term ID.
|
|
706
659
|
*/
|
|
707
660
|
id: string;
|
|
708
661
|
/**
|
|
709
|
-
*
|
|
662
|
+
* When this shipping term was created.
|
|
710
663
|
*/
|
|
711
664
|
created_at: string;
|
|
712
665
|
/**
|
|
713
|
-
*
|
|
666
|
+
* Value with an associated unit.
|
|
667
|
+
*/
|
|
668
|
+
flat_rate: ItemsAPI.Quantity | null;
|
|
669
|
+
/**
|
|
670
|
+
* List represents a paginated list of resources.
|
|
714
671
|
*/
|
|
715
|
-
|
|
672
|
+
free_shipping_service_levels: ListServiceLevel | null;
|
|
716
673
|
/**
|
|
717
|
-
*
|
|
674
|
+
* Value with an associated unit.
|
|
718
675
|
*/
|
|
719
|
-
|
|
676
|
+
minimum_order_value: ItemsAPI.Quantity | null;
|
|
720
677
|
/**
|
|
721
|
-
*
|
|
678
|
+
* Human-readable name for the shipping term, used to identify it when assigning
|
|
679
|
+
* shipping terms to customers and orders.
|
|
722
680
|
*/
|
|
723
|
-
|
|
681
|
+
name: string;
|
|
724
682
|
/**
|
|
725
683
|
* Resource type identifier.
|
|
726
684
|
*/
|
|
727
|
-
object: '
|
|
685
|
+
object: 'shipping_term';
|
|
728
686
|
/**
|
|
729
|
-
*
|
|
687
|
+
* Owner describes the provenance of a resource.
|
|
730
688
|
*/
|
|
731
|
-
|
|
689
|
+
owner: APIKeysAPI.Owner | null;
|
|
732
690
|
/**
|
|
733
|
-
*
|
|
691
|
+
* Freight pricing model applied by this shipping term.
|
|
692
|
+
*
|
|
693
|
+
* - `free_freight`: no shipping cost to the buyer.
|
|
694
|
+
* - `flat_rate_freight`: a fixed shipping cost regardless of order details (see
|
|
695
|
+
* `flat_rate`).
|
|
696
|
+
* - `carrier_rate_freight`: shipping cost is determined by the carrier's quoted
|
|
697
|
+
* rate.
|
|
734
698
|
*/
|
|
735
|
-
|
|
736
|
-
}
|
|
737
|
-
/**
|
|
738
|
-
* Payment term resource.
|
|
739
|
-
*/
|
|
740
|
-
export interface PaymentTerm {
|
|
741
|
-
/**
|
|
742
|
-
* Payment term ID.
|
|
743
|
-
*/
|
|
744
|
-
id: string;
|
|
745
|
-
/**
|
|
746
|
-
* Creation timestamp.
|
|
747
|
-
*/
|
|
748
|
-
created_at: string;
|
|
749
|
-
/**
|
|
750
|
-
* Display name.
|
|
751
|
-
*/
|
|
752
|
-
name: string;
|
|
753
|
-
/**
|
|
754
|
-
* Resource type identifier.
|
|
755
|
-
*/
|
|
756
|
-
object: 'payment_term';
|
|
757
|
-
/**
|
|
758
|
-
* Owner describes the provenance of a resource.
|
|
759
|
-
*/
|
|
760
|
-
owner: APIKeysAPI.Owner | null;
|
|
761
|
-
/**
|
|
762
|
-
* Payment term status.
|
|
763
|
-
*/
|
|
764
|
-
status: 'active' | 'inactive';
|
|
699
|
+
type: 'free_freight' | 'flat_rate_freight' | 'carrier_rate_freight';
|
|
765
700
|
/**
|
|
766
|
-
*
|
|
701
|
+
* When this shipping term was last updated.
|
|
767
702
|
*/
|
|
768
703
|
updated_at: string;
|
|
769
704
|
}
|
|
770
705
|
/**
|
|
771
|
-
*
|
|
706
|
+
* Request to partially update a customer.
|
|
772
707
|
*/
|
|
773
|
-
export interface
|
|
774
|
-
/**
|
|
775
|
-
* Production ID.
|
|
776
|
-
*/
|
|
777
|
-
id: string;
|
|
708
|
+
export interface UpdateCustomerRequest {
|
|
778
709
|
/**
|
|
779
|
-
*
|
|
710
|
+
* ID of an existing address to use as the default billing address.
|
|
780
711
|
*/
|
|
781
|
-
|
|
712
|
+
bill_to_address_id?: string | null;
|
|
782
713
|
/**
|
|
783
|
-
*
|
|
714
|
+
* Carrier billing account number charged when `carrier_billing_type` is
|
|
715
|
+
* `third_party`.
|
|
784
716
|
*/
|
|
785
|
-
|
|
717
|
+
carrier_billing_account?: string | null;
|
|
786
718
|
/**
|
|
787
|
-
*
|
|
719
|
+
* Who pays the carrier for shipments.
|
|
720
|
+
*
|
|
721
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
722
|
+
* - `third_party`: a third party is billed, using `carrier_billing_account`.
|
|
788
723
|
*/
|
|
789
|
-
|
|
724
|
+
carrier_billing_type?: 'sender' | 'third_party';
|
|
790
725
|
/**
|
|
791
|
-
*
|
|
726
|
+
* How sales commission applies to this customer's orders.
|
|
727
|
+
*
|
|
728
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
729
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
730
|
+
* orders.
|
|
792
731
|
*/
|
|
793
|
-
|
|
732
|
+
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
794
733
|
/**
|
|
795
|
-
*
|
|
734
|
+
* A value with an associated unit, used in create and update requests.
|
|
796
735
|
*/
|
|
797
|
-
|
|
798
|
-
}
|
|
799
|
-
/**
|
|
800
|
-
* Production step with all nested data.
|
|
801
|
-
*/
|
|
802
|
-
export interface ProductionStep {
|
|
736
|
+
credit_limit?: QuantityInput | null;
|
|
803
737
|
/**
|
|
804
|
-
*
|
|
738
|
+
* IDs of the account groups of type `pricing_group` to assign to this customer,
|
|
739
|
+
* used to apply pricing rules.
|
|
740
|
+
*
|
|
741
|
+
* When provided, replaces the customer's full set of existing price groups.
|
|
805
742
|
*/
|
|
806
|
-
|
|
743
|
+
customer_price_group_ids?: Array<string>;
|
|
807
744
|
/**
|
|
808
|
-
*
|
|
745
|
+
* ID of the account group of type `type_group` that categorizes this customer (for
|
|
746
|
+
* example "Distributors").
|
|
809
747
|
*/
|
|
810
|
-
|
|
748
|
+
customer_type_group_id?: string;
|
|
811
749
|
/**
|
|
812
|
-
*
|
|
750
|
+
* ID of the default carrier for this customer's shipments.
|
|
813
751
|
*/
|
|
814
|
-
|
|
752
|
+
default_carrier_id?: string;
|
|
815
753
|
/**
|
|
816
|
-
*
|
|
754
|
+
* Default payment term ID.
|
|
817
755
|
*/
|
|
818
|
-
|
|
756
|
+
default_payment_term_id?: string;
|
|
819
757
|
/**
|
|
820
|
-
*
|
|
758
|
+
* Priority applied to new orders for this customer.
|
|
821
759
|
*/
|
|
822
|
-
|
|
760
|
+
default_priority?: 'low' | 'normal' | 'high';
|
|
823
761
|
/**
|
|
824
|
-
*
|
|
762
|
+
* The ID of the account user to assign as the default sales rep.
|
|
825
763
|
*/
|
|
826
|
-
|
|
764
|
+
default_sales_rep_id?: string | null;
|
|
827
765
|
/**
|
|
828
|
-
*
|
|
766
|
+
* ID of the default carrier service level.
|
|
829
767
|
*/
|
|
830
|
-
|
|
768
|
+
default_service_level_id?: string | null;
|
|
831
769
|
/**
|
|
832
|
-
*
|
|
770
|
+
* Default shipping term ID.
|
|
833
771
|
*/
|
|
834
|
-
|
|
772
|
+
default_shipping_term_id?: string;
|
|
835
773
|
/**
|
|
836
|
-
*
|
|
774
|
+
* Whether EDI (Electronic Data Interchange) is enabled for exchanging orders and
|
|
775
|
+
* documents with this customer.
|
|
837
776
|
*/
|
|
838
|
-
|
|
777
|
+
edi_status?: 'enabled' | 'disabled';
|
|
839
778
|
/**
|
|
840
|
-
*
|
|
779
|
+
* Email address.
|
|
841
780
|
*/
|
|
842
|
-
|
|
781
|
+
email?: string | null;
|
|
843
782
|
/**
|
|
844
|
-
*
|
|
783
|
+
* Whether this customer is billed for freight on their orders.
|
|
784
|
+
*
|
|
785
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
786
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden on the
|
|
787
|
+
* order.
|
|
845
788
|
*/
|
|
846
|
-
|
|
789
|
+
freight_policy?: 'free_freight' | 'billed_freight';
|
|
847
790
|
/**
|
|
848
|
-
*
|
|
791
|
+
* The customer's business name, as shown throughout the app and on documents.
|
|
849
792
|
*/
|
|
850
|
-
|
|
793
|
+
name?: string;
|
|
851
794
|
/**
|
|
852
|
-
*
|
|
795
|
+
* Free-form note about the customer.
|
|
853
796
|
*/
|
|
854
|
-
|
|
797
|
+
note?: string | null;
|
|
855
798
|
/**
|
|
856
|
-
*
|
|
799
|
+
* Human-readable customer number used to identify the account, distinct from the
|
|
800
|
+
* `id`.
|
|
801
|
+
*
|
|
802
|
+
* Must be unique within your account.
|
|
857
803
|
*/
|
|
858
|
-
|
|
804
|
+
number?: string;
|
|
859
805
|
/**
|
|
860
|
-
*
|
|
806
|
+
* Phone number.
|
|
861
807
|
*/
|
|
862
|
-
|
|
808
|
+
phone?: string | null;
|
|
863
809
|
/**
|
|
864
|
-
*
|
|
810
|
+
* ID of an existing address to use as the default shipping address.
|
|
865
811
|
*/
|
|
866
|
-
|
|
812
|
+
ship_to_address_id?: string | null;
|
|
867
813
|
/**
|
|
868
|
-
*
|
|
814
|
+
* Account status code, controlling whether the customer can transact.
|
|
815
|
+
*
|
|
816
|
+
* - `normal`: standard active account with no restrictions.
|
|
817
|
+
* - `preferred`: active account flagged as preferred.
|
|
818
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
819
|
+
* - `hold_all`: all activity is on hold.
|
|
869
820
|
*/
|
|
870
|
-
|
|
821
|
+
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
871
822
|
/**
|
|
872
|
-
*
|
|
823
|
+
* Website URL.
|
|
873
824
|
*/
|
|
874
|
-
|
|
825
|
+
url?: string | null;
|
|
875
826
|
}
|
|
876
|
-
|
|
877
|
-
* QuantityInput represents a value with an associated unit for create/update
|
|
878
|
-
* requests.
|
|
879
|
-
*/
|
|
880
|
-
export interface QuantityInput {
|
|
881
|
-
/**
|
|
882
|
-
* The unit ID for the value.
|
|
883
|
-
*/
|
|
884
|
-
unit_id: string;
|
|
885
|
-
/**
|
|
886
|
-
* The decimal value.
|
|
887
|
-
*/
|
|
888
|
-
value: string;
|
|
827
|
+
export interface CustomerDeleteResponse {
|
|
889
828
|
}
|
|
890
|
-
|
|
891
|
-
* Scanning station resource.
|
|
892
|
-
*/
|
|
893
|
-
export interface ScanningStation {
|
|
894
|
-
/**
|
|
895
|
-
* Scanning station ID.
|
|
896
|
-
*/
|
|
897
|
-
id: string;
|
|
898
|
-
/**
|
|
899
|
-
* Creation timestamp.
|
|
900
|
-
*/
|
|
901
|
-
created_at: string;
|
|
902
|
-
/**
|
|
903
|
-
* Department resource.
|
|
904
|
-
*/
|
|
905
|
-
department: Department | null;
|
|
906
|
-
/**
|
|
907
|
-
* Label size code.
|
|
908
|
-
*/
|
|
909
|
-
label_size: '1x1' | '1x3' | '1x4' | '2x4' | null;
|
|
910
|
-
/**
|
|
911
|
-
* Label type code.
|
|
912
|
-
*/
|
|
913
|
-
label_type: 'tag' | 'traveler' | null;
|
|
914
|
-
/**
|
|
915
|
-
* Display name.
|
|
916
|
-
*/
|
|
917
|
-
name: string;
|
|
918
|
-
/**
|
|
919
|
-
* Notes.
|
|
920
|
-
*/
|
|
921
|
-
notes: string | null;
|
|
922
|
-
/**
|
|
923
|
-
* Resource type identifier.
|
|
924
|
-
*/
|
|
925
|
-
object: 'scanning_station';
|
|
926
|
-
/**
|
|
927
|
-
* Operator requirement behavior for this station.
|
|
928
|
-
*/
|
|
929
|
-
operator_requirement: 'none' | 'material_check';
|
|
930
|
-
/**
|
|
931
|
-
* List represents a paginated list of resources.
|
|
932
|
-
*/
|
|
933
|
-
production_steps: ListProductionStep | null;
|
|
934
|
-
/**
|
|
935
|
-
* Scanning station type.
|
|
936
|
-
*/
|
|
937
|
-
type: 'init_batch' | 'merge_batch' | 'move_batch' | 'split_batch';
|
|
829
|
+
export interface CustomerListParams {
|
|
938
830
|
/**
|
|
939
|
-
*
|
|
831
|
+
* Filter by default carrier IDs.
|
|
940
832
|
*/
|
|
941
|
-
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* Shipping service level for a carrier.
|
|
945
|
-
*/
|
|
946
|
-
export interface ServiceLevel {
|
|
833
|
+
carrier_ids?: Array<string>;
|
|
947
834
|
/**
|
|
948
|
-
*
|
|
835
|
+
* Filter to customers with any address in this city (exact match).
|
|
836
|
+
*
|
|
837
|
+
* When combined with `state` or `postal_code`, a single address must match all
|
|
838
|
+
* provided values.
|
|
949
839
|
*/
|
|
950
|
-
|
|
840
|
+
city?: string;
|
|
951
841
|
/**
|
|
952
|
-
*
|
|
842
|
+
* Filter by commission policy.
|
|
953
843
|
*/
|
|
954
|
-
|
|
844
|
+
commission_status_codes?: Array<'commission_applied' | 'commission_exempt'>;
|
|
955
845
|
/**
|
|
956
|
-
*
|
|
846
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
847
|
+
*
|
|
848
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
849
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
850
|
+
* page.
|
|
957
851
|
*/
|
|
958
|
-
|
|
852
|
+
cursor?: string;
|
|
959
853
|
/**
|
|
960
|
-
*
|
|
854
|
+
* Filter by customer type group IDs (the account group of type `type_group`
|
|
855
|
+
* returned in the customer's `type` field).
|
|
961
856
|
*/
|
|
962
|
-
|
|
857
|
+
customer_group_ids?: Array<string>;
|
|
963
858
|
/**
|
|
964
|
-
*
|
|
859
|
+
* Filter to customers created at or before this timestamp (inclusive).
|
|
965
860
|
*/
|
|
966
|
-
|
|
861
|
+
end_date?: string;
|
|
967
862
|
/**
|
|
968
|
-
*
|
|
863
|
+
* Filter by freight policy.
|
|
969
864
|
*/
|
|
970
|
-
|
|
865
|
+
freight_status_codes?: Array<'free_freight' | 'billed_freight'>;
|
|
971
866
|
/**
|
|
972
|
-
*
|
|
867
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
868
|
+
* `null`.
|
|
973
869
|
*/
|
|
974
|
-
|
|
870
|
+
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.carrier.service_levels' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit' | 'credit_limit.unit'>;
|
|
975
871
|
/**
|
|
976
|
-
*
|
|
872
|
+
* Maximum number of results to return in a single page.
|
|
977
873
|
*/
|
|
978
|
-
|
|
874
|
+
limit?: number;
|
|
979
875
|
/**
|
|
980
|
-
*
|
|
876
|
+
* Filter by whether the customer has child accounts.
|
|
981
877
|
*/
|
|
982
|
-
|
|
983
|
-
}
|
|
984
|
-
/**
|
|
985
|
-
* ShippingTerm resource.
|
|
986
|
-
*/
|
|
987
|
-
export interface ShippingTerm {
|
|
878
|
+
parent_account_status?: 'parent' | 'non_parent';
|
|
988
879
|
/**
|
|
989
|
-
*
|
|
880
|
+
* Filter by default payment term IDs.
|
|
990
881
|
*/
|
|
991
|
-
|
|
882
|
+
payment_term_ids?: Array<string>;
|
|
992
883
|
/**
|
|
993
|
-
*
|
|
884
|
+
* Filter to customers with any address in this postal code (exact match).
|
|
994
885
|
*/
|
|
995
|
-
|
|
886
|
+
postal_code?: string;
|
|
996
887
|
/**
|
|
997
|
-
*
|
|
888
|
+
* Filter to customers that belong to any of these pricing groups.
|
|
998
889
|
*/
|
|
999
|
-
|
|
890
|
+
pricing_group_ids?: Array<string>;
|
|
1000
891
|
/**
|
|
1001
|
-
*
|
|
892
|
+
* Free-text search term used to filter results.
|
|
893
|
+
*
|
|
894
|
+
* Which fields are matched against the term varies by endpoint.
|
|
1002
895
|
*/
|
|
1003
|
-
|
|
896
|
+
q?: string;
|
|
1004
897
|
/**
|
|
1005
|
-
*
|
|
898
|
+
* Filter by default sales rep IDs.
|
|
1006
899
|
*/
|
|
1007
|
-
|
|
900
|
+
sales_rep_ids?: Array<string>;
|
|
1008
901
|
/**
|
|
1009
|
-
*
|
|
902
|
+
* Filter by default service level IDs.
|
|
1010
903
|
*/
|
|
1011
|
-
|
|
904
|
+
service_level_ids?: Array<string>;
|
|
1012
905
|
/**
|
|
1013
|
-
*
|
|
906
|
+
* Filter by default shipping term IDs.
|
|
1014
907
|
*/
|
|
1015
|
-
|
|
908
|
+
shipping_term_ids?: Array<string>;
|
|
1016
909
|
/**
|
|
1017
|
-
*
|
|
910
|
+
* Filter to customers created at or after this timestamp (inclusive).
|
|
1018
911
|
*/
|
|
1019
|
-
|
|
912
|
+
start_date?: string;
|
|
1020
913
|
/**
|
|
1021
|
-
*
|
|
914
|
+
* Filter to customers with any address in this state (exact match).
|
|
1022
915
|
*/
|
|
1023
|
-
|
|
916
|
+
state?: string;
|
|
1024
917
|
/**
|
|
1025
|
-
*
|
|
918
|
+
* Filter by account status codes.
|
|
1026
919
|
*/
|
|
1027
|
-
|
|
920
|
+
status_codes?: Array<'normal' | 'preferred' | 'hold_shipment' | 'hold_all'>;
|
|
1028
921
|
}
|
|
1029
|
-
|
|
1030
|
-
* Request to partially update a customer.
|
|
1031
|
-
*/
|
|
1032
|
-
export interface UpdateCustomerRequest {
|
|
1033
|
-
/**
|
|
1034
|
-
* Bill-to address ID.
|
|
1035
|
-
*/
|
|
1036
|
-
bill_to_address_id?: string | null;
|
|
1037
|
-
/**
|
|
1038
|
-
* Carrier billing account number.
|
|
1039
|
-
*/
|
|
1040
|
-
carrier_billing_account?: string | null;
|
|
1041
|
-
/**
|
|
1042
|
-
* Carrier billing type.
|
|
1043
|
-
*/
|
|
1044
|
-
carrier_billing_type?: 'sender' | 'third_party';
|
|
1045
|
-
/**
|
|
1046
|
-
* Commission policy.
|
|
1047
|
-
*/
|
|
1048
|
-
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
1049
|
-
/**
|
|
1050
|
-
* QuantityInput represents a value with an associated unit for create/update
|
|
1051
|
-
* requests.
|
|
1052
|
-
*/
|
|
1053
|
-
credit_limit?: QuantityInput | null;
|
|
1054
|
-
/**
|
|
1055
|
-
* Price group IDs. Replaces all existing price groups when provided.
|
|
1056
|
-
*/
|
|
1057
|
-
customer_price_group_ids?: Array<string>;
|
|
1058
|
-
/**
|
|
1059
|
-
* Customer type group ID.
|
|
1060
|
-
*/
|
|
1061
|
-
customer_type_group_id?: string;
|
|
1062
|
-
/**
|
|
1063
|
-
* Default carrier ID.
|
|
1064
|
-
*/
|
|
1065
|
-
default_carrier_id?: string;
|
|
1066
|
-
/**
|
|
1067
|
-
* Default payment term ID.
|
|
1068
|
-
*/
|
|
1069
|
-
default_payment_term_id?: string;
|
|
1070
|
-
/**
|
|
1071
|
-
* Default priority code.
|
|
1072
|
-
*/
|
|
1073
|
-
default_priority?: 'low' | 'normal' | 'high';
|
|
1074
|
-
/**
|
|
1075
|
-
* The ID of the account user to assign as the default sales rep.
|
|
1076
|
-
*/
|
|
1077
|
-
default_sales_rep_id?: string | null;
|
|
1078
|
-
/**
|
|
1079
|
-
* Default service level ID.
|
|
1080
|
-
*/
|
|
1081
|
-
default_service_level_id?: string | null;
|
|
1082
|
-
/**
|
|
1083
|
-
* Default shipping term ID.
|
|
1084
|
-
*/
|
|
1085
|
-
default_shipping_term_id?: string;
|
|
1086
|
-
/**
|
|
1087
|
-
* EDI status.
|
|
1088
|
-
*/
|
|
1089
|
-
edi_status?: 'enabled' | 'disabled';
|
|
1090
|
-
/**
|
|
1091
|
-
* Email address. Send null to clear.
|
|
1092
|
-
*/
|
|
1093
|
-
email?: string | null;
|
|
1094
|
-
/**
|
|
1095
|
-
* Freight policy.
|
|
1096
|
-
*/
|
|
1097
|
-
freight_policy?: 'free_freight' | 'billed_freight';
|
|
1098
|
-
/**
|
|
1099
|
-
* Customer name.
|
|
1100
|
-
*/
|
|
1101
|
-
name?: string;
|
|
1102
|
-
/**
|
|
1103
|
-
* Note.
|
|
1104
|
-
*/
|
|
1105
|
-
note?: string | null;
|
|
1106
|
-
/**
|
|
1107
|
-
* Customer number.
|
|
1108
|
-
*/
|
|
1109
|
-
number?: string;
|
|
1110
|
-
/**
|
|
1111
|
-
* Phone number. Send null to clear.
|
|
1112
|
-
*/
|
|
1113
|
-
phone?: string | null;
|
|
1114
|
-
/**
|
|
1115
|
-
* Ship-to address ID.
|
|
1116
|
-
*/
|
|
1117
|
-
ship_to_address_id?: string | null;
|
|
1118
|
-
/**
|
|
1119
|
-
* Account status code.
|
|
1120
|
-
*/
|
|
1121
|
-
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
922
|
+
export interface CustomerRetrieveParams {
|
|
1122
923
|
/**
|
|
1123
|
-
*
|
|
924
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
925
|
+
* `null`.
|
|
1124
926
|
*/
|
|
1125
|
-
|
|
1126
|
-
}
|
|
1127
|
-
export interface CustomerDeleteResponse {
|
|
927
|
+
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.carrier.service_levels' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit' | 'credit_limit.unit'>;
|
|
1128
928
|
}
|
|
1129
929
|
export interface CustomerCreateParams {
|
|
1130
930
|
/**
|
|
1131
|
-
* Body param:
|
|
931
|
+
* Body param: Address details used to create an address, either directly or inline
|
|
932
|
+
* on another resource.
|
|
1132
933
|
*/
|
|
1133
934
|
bill_to_address: AddressesAPI.AddressInput;
|
|
1134
935
|
/**
|
|
1135
|
-
* Body param:
|
|
936
|
+
* Body param: ID of the account group of type `type_group` that categorizes this
|
|
937
|
+
* customer (for example "Distributors").
|
|
1136
938
|
*/
|
|
1137
939
|
customer_type_group_id: string;
|
|
1138
940
|
/**
|
|
1139
|
-
* Body param:
|
|
941
|
+
* Body param: ID of the default carrier for this customer's shipments.
|
|
1140
942
|
*/
|
|
1141
943
|
default_carrier_id: string;
|
|
1142
944
|
/**
|
|
@@ -1148,41 +950,51 @@ export interface CustomerCreateParams {
|
|
|
1148
950
|
*/
|
|
1149
951
|
default_shipping_term_id: string;
|
|
1150
952
|
/**
|
|
1151
|
-
* Body param:
|
|
953
|
+
* Body param: The customer's business name, as shown throughout the app and on
|
|
954
|
+
* documents.
|
|
1152
955
|
*/
|
|
1153
956
|
name: string;
|
|
1154
957
|
/**
|
|
1155
|
-
* Body param:
|
|
958
|
+
* Body param: Address details used to create an address, either directly or inline
|
|
959
|
+
* on another resource.
|
|
1156
960
|
*/
|
|
1157
961
|
ship_to_address: AddressesAPI.AddressInput;
|
|
1158
962
|
/**
|
|
1159
963
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
1160
964
|
* are returned as `null`.
|
|
1161
965
|
*/
|
|
1162
|
-
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
966
|
+
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.carrier.service_levels' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit' | 'credit_limit.unit'>;
|
|
1163
967
|
/**
|
|
1164
|
-
* Body param: Carrier billing account number
|
|
968
|
+
* Body param: Carrier billing account number charged when `carrier_billing_type`
|
|
969
|
+
* is `third_party`.
|
|
1165
970
|
*/
|
|
1166
971
|
carrier_billing_account?: string;
|
|
1167
972
|
/**
|
|
1168
|
-
* Body param:
|
|
973
|
+
* Body param: Who pays the carrier for shipments.
|
|
974
|
+
*
|
|
975
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
976
|
+
* - `third_party`: a third party is billed, using `carrier_billing_account`.
|
|
1169
977
|
*/
|
|
1170
978
|
carrier_billing_type?: 'sender' | 'third_party';
|
|
1171
979
|
/**
|
|
1172
|
-
* Body param:
|
|
980
|
+
* Body param: How sales commission applies to this customer's orders.
|
|
981
|
+
*
|
|
982
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
983
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
984
|
+
* orders.
|
|
1173
985
|
*/
|
|
1174
986
|
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
1175
987
|
/**
|
|
1176
|
-
* Body param:
|
|
1177
|
-
* create/update requests.
|
|
988
|
+
* Body param: A value with an associated unit, used in create and update requests.
|
|
1178
989
|
*/
|
|
1179
990
|
credit_limit?: QuantityInput;
|
|
1180
991
|
/**
|
|
1181
|
-
* Body param:
|
|
992
|
+
* Body param: IDs of the account groups of type `pricing_group` to assign to this
|
|
993
|
+
* customer, used to apply pricing rules.
|
|
1182
994
|
*/
|
|
1183
995
|
customer_price_group_ids?: Array<string>;
|
|
1184
996
|
/**
|
|
1185
|
-
* Body param:
|
|
997
|
+
* Body param: Priority applied to new orders for this customer.
|
|
1186
998
|
*/
|
|
1187
999
|
default_priority?: 'low' | 'normal' | 'high';
|
|
1188
1000
|
/**
|
|
@@ -1190,11 +1002,12 @@ export interface CustomerCreateParams {
|
|
|
1190
1002
|
*/
|
|
1191
1003
|
default_sales_rep_id?: string;
|
|
1192
1004
|
/**
|
|
1193
|
-
* Body param:
|
|
1005
|
+
* Body param: ID of the default carrier service level.
|
|
1194
1006
|
*/
|
|
1195
1007
|
default_service_level_id?: string;
|
|
1196
1008
|
/**
|
|
1197
|
-
* Body param: EDI
|
|
1009
|
+
* Body param: Whether EDI (Electronic Data Interchange) is enabled for exchanging
|
|
1010
|
+
* orders and documents with this customer.
|
|
1198
1011
|
*/
|
|
1199
1012
|
edi_status?: 'enabled' | 'disabled';
|
|
1200
1013
|
/**
|
|
@@ -1202,15 +1015,23 @@ export interface CustomerCreateParams {
|
|
|
1202
1015
|
*/
|
|
1203
1016
|
email?: string;
|
|
1204
1017
|
/**
|
|
1205
|
-
* Body param:
|
|
1018
|
+
* Body param: Whether this customer is billed for freight on their orders.
|
|
1019
|
+
*
|
|
1020
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
1021
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden on the
|
|
1022
|
+
* order.
|
|
1206
1023
|
*/
|
|
1207
1024
|
freight_policy?: 'free_freight' | 'billed_freight';
|
|
1208
1025
|
/**
|
|
1209
|
-
* Body param:
|
|
1026
|
+
* Body param: Free-form note about the customer.
|
|
1210
1027
|
*/
|
|
1211
1028
|
note?: string;
|
|
1212
1029
|
/**
|
|
1213
|
-
* Body param:
|
|
1030
|
+
* Body param: Human-readable customer number used to identify the account,
|
|
1031
|
+
* distinct from the `id`.
|
|
1032
|
+
*
|
|
1033
|
+
* Must be unique within your account. If omitted, the next sequential number is
|
|
1034
|
+
* assigned automatically.
|
|
1214
1035
|
*/
|
|
1215
1036
|
number?: string;
|
|
1216
1037
|
/**
|
|
@@ -1218,7 +1039,12 @@ export interface CustomerCreateParams {
|
|
|
1218
1039
|
*/
|
|
1219
1040
|
phone?: string;
|
|
1220
1041
|
/**
|
|
1221
|
-
* Body param: Account status code.
|
|
1042
|
+
* Body param: Account status code, controlling whether the customer can transact.
|
|
1043
|
+
*
|
|
1044
|
+
* - `normal`: standard active account with no restrictions.
|
|
1045
|
+
* - `preferred`: active account flagged as preferred.
|
|
1046
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
1047
|
+
* - `hold_all`: all activity is on hold.
|
|
1222
1048
|
*/
|
|
1223
1049
|
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
1224
1050
|
/**
|
|
@@ -1226,50 +1052,54 @@ export interface CustomerCreateParams {
|
|
|
1226
1052
|
*/
|
|
1227
1053
|
url?: string;
|
|
1228
1054
|
}
|
|
1229
|
-
export interface CustomerRetrieveParams {
|
|
1230
|
-
/**
|
|
1231
|
-
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
1232
|
-
* `null`.
|
|
1233
|
-
*/
|
|
1234
|
-
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
1235
|
-
}
|
|
1236
1055
|
export interface CustomerUpdateParams {
|
|
1237
1056
|
/**
|
|
1238
1057
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
1239
1058
|
* are returned as `null`.
|
|
1240
1059
|
*/
|
|
1241
|
-
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
1060
|
+
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.carrier.service_levels' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit' | 'credit_limit.unit'>;
|
|
1242
1061
|
/**
|
|
1243
|
-
* Body param:
|
|
1062
|
+
* Body param: ID of an existing address to use as the default billing address.
|
|
1244
1063
|
*/
|
|
1245
1064
|
bill_to_address_id?: string | null;
|
|
1246
1065
|
/**
|
|
1247
|
-
* Body param: Carrier billing account number
|
|
1066
|
+
* Body param: Carrier billing account number charged when `carrier_billing_type`
|
|
1067
|
+
* is `third_party`.
|
|
1248
1068
|
*/
|
|
1249
1069
|
carrier_billing_account?: string | null;
|
|
1250
1070
|
/**
|
|
1251
|
-
* Body param:
|
|
1071
|
+
* Body param: Who pays the carrier for shipments.
|
|
1072
|
+
*
|
|
1073
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
1074
|
+
* - `third_party`: a third party is billed, using `carrier_billing_account`.
|
|
1252
1075
|
*/
|
|
1253
1076
|
carrier_billing_type?: 'sender' | 'third_party';
|
|
1254
1077
|
/**
|
|
1255
|
-
* Body param:
|
|
1078
|
+
* Body param: How sales commission applies to this customer's orders.
|
|
1079
|
+
*
|
|
1080
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
1081
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
1082
|
+
* orders.
|
|
1256
1083
|
*/
|
|
1257
1084
|
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
1258
1085
|
/**
|
|
1259
|
-
* Body param:
|
|
1260
|
-
* create/update requests.
|
|
1086
|
+
* Body param: A value with an associated unit, used in create and update requests.
|
|
1261
1087
|
*/
|
|
1262
1088
|
credit_limit?: QuantityInput | null;
|
|
1263
1089
|
/**
|
|
1264
|
-
* Body param:
|
|
1090
|
+
* Body param: IDs of the account groups of type `pricing_group` to assign to this
|
|
1091
|
+
* customer, used to apply pricing rules.
|
|
1092
|
+
*
|
|
1093
|
+
* When provided, replaces the customer's full set of existing price groups.
|
|
1265
1094
|
*/
|
|
1266
1095
|
customer_price_group_ids?: Array<string>;
|
|
1267
1096
|
/**
|
|
1268
|
-
* Body param:
|
|
1097
|
+
* Body param: ID of the account group of type `type_group` that categorizes this
|
|
1098
|
+
* customer (for example "Distributors").
|
|
1269
1099
|
*/
|
|
1270
1100
|
customer_type_group_id?: string;
|
|
1271
1101
|
/**
|
|
1272
|
-
* Body param:
|
|
1102
|
+
* Body param: ID of the default carrier for this customer's shipments.
|
|
1273
1103
|
*/
|
|
1274
1104
|
default_carrier_id?: string;
|
|
1275
1105
|
/**
|
|
@@ -1277,7 +1107,7 @@ export interface CustomerUpdateParams {
|
|
|
1277
1107
|
*/
|
|
1278
1108
|
default_payment_term_id?: string;
|
|
1279
1109
|
/**
|
|
1280
|
-
* Body param:
|
|
1110
|
+
* Body param: Priority applied to new orders for this customer.
|
|
1281
1111
|
*/
|
|
1282
1112
|
default_priority?: 'low' | 'normal' | 'high';
|
|
1283
1113
|
/**
|
|
@@ -1285,7 +1115,7 @@ export interface CustomerUpdateParams {
|
|
|
1285
1115
|
*/
|
|
1286
1116
|
default_sales_rep_id?: string | null;
|
|
1287
1117
|
/**
|
|
1288
|
-
* Body param:
|
|
1118
|
+
* Body param: ID of the default carrier service level.
|
|
1289
1119
|
*/
|
|
1290
1120
|
default_service_level_id?: string | null;
|
|
1291
1121
|
/**
|
|
@@ -1293,131 +1123,62 @@ export interface CustomerUpdateParams {
|
|
|
1293
1123
|
*/
|
|
1294
1124
|
default_shipping_term_id?: string;
|
|
1295
1125
|
/**
|
|
1296
|
-
* Body param: EDI
|
|
1126
|
+
* Body param: Whether EDI (Electronic Data Interchange) is enabled for exchanging
|
|
1127
|
+
* orders and documents with this customer.
|
|
1297
1128
|
*/
|
|
1298
1129
|
edi_status?: 'enabled' | 'disabled';
|
|
1299
1130
|
/**
|
|
1300
|
-
* Body param: Email address.
|
|
1131
|
+
* Body param: Email address.
|
|
1301
1132
|
*/
|
|
1302
1133
|
email?: string | null;
|
|
1303
1134
|
/**
|
|
1304
|
-
* Body param:
|
|
1135
|
+
* Body param: Whether this customer is billed for freight on their orders.
|
|
1136
|
+
*
|
|
1137
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
1138
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden on the
|
|
1139
|
+
* order.
|
|
1305
1140
|
*/
|
|
1306
1141
|
freight_policy?: 'free_freight' | 'billed_freight';
|
|
1307
1142
|
/**
|
|
1308
|
-
* Body param:
|
|
1143
|
+
* Body param: The customer's business name, as shown throughout the app and on
|
|
1144
|
+
* documents.
|
|
1309
1145
|
*/
|
|
1310
1146
|
name?: string;
|
|
1311
1147
|
/**
|
|
1312
|
-
* Body param:
|
|
1148
|
+
* Body param: Free-form note about the customer.
|
|
1313
1149
|
*/
|
|
1314
1150
|
note?: string | null;
|
|
1315
1151
|
/**
|
|
1316
|
-
* Body param:
|
|
1152
|
+
* Body param: Human-readable customer number used to identify the account,
|
|
1153
|
+
* distinct from the `id`.
|
|
1154
|
+
*
|
|
1155
|
+
* Must be unique within your account.
|
|
1317
1156
|
*/
|
|
1318
1157
|
number?: string;
|
|
1319
1158
|
/**
|
|
1320
|
-
* Body param: Phone number.
|
|
1159
|
+
* Body param: Phone number.
|
|
1321
1160
|
*/
|
|
1322
1161
|
phone?: string | null;
|
|
1323
1162
|
/**
|
|
1324
|
-
* Body param:
|
|
1163
|
+
* Body param: ID of an existing address to use as the default shipping address.
|
|
1325
1164
|
*/
|
|
1326
1165
|
ship_to_address_id?: string | null;
|
|
1327
1166
|
/**
|
|
1328
|
-
* Body param: Account status code.
|
|
1167
|
+
* Body param: Account status code, controlling whether the customer can transact.
|
|
1168
|
+
*
|
|
1169
|
+
* - `normal`: standard active account with no restrictions.
|
|
1170
|
+
* - `preferred`: active account flagged as preferred.
|
|
1171
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
1172
|
+
* - `hold_all`: all activity is on hold.
|
|
1329
1173
|
*/
|
|
1330
1174
|
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
1331
1175
|
/**
|
|
1332
|
-
* Body param: Website URL.
|
|
1176
|
+
* Body param: Website URL.
|
|
1333
1177
|
*/
|
|
1334
1178
|
url?: string | null;
|
|
1335
1179
|
}
|
|
1336
|
-
export interface CustomerListParams {
|
|
1337
|
-
/**
|
|
1338
|
-
* Filter by carrier IDs.
|
|
1339
|
-
*/
|
|
1340
|
-
carrier_ids?: Array<string>;
|
|
1341
|
-
/**
|
|
1342
|
-
* Filter by city.
|
|
1343
|
-
*/
|
|
1344
|
-
city?: string;
|
|
1345
|
-
/**
|
|
1346
|
-
* Filter by commission status codes.
|
|
1347
|
-
*/
|
|
1348
|
-
commission_status_codes?: Array<'commission_applied' | 'commission_exempt'>;
|
|
1349
|
-
/**
|
|
1350
|
-
* Cursor token used to retrieve the next or previous page of results.
|
|
1351
|
-
*/
|
|
1352
|
-
cursor?: string;
|
|
1353
|
-
/**
|
|
1354
|
-
* Filter by customer group IDs.
|
|
1355
|
-
*/
|
|
1356
|
-
customer_group_ids?: Array<string>;
|
|
1357
|
-
/**
|
|
1358
|
-
* Filter by end date (created before).
|
|
1359
|
-
*/
|
|
1360
|
-
end_date?: string;
|
|
1361
|
-
/**
|
|
1362
|
-
* Filter by freight status codes.
|
|
1363
|
-
*/
|
|
1364
|
-
freight_status_codes?: Array<'free_freight' | 'billed_freight'>;
|
|
1365
|
-
/**
|
|
1366
|
-
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
1367
|
-
* `null`.
|
|
1368
|
-
*/
|
|
1369
|
-
include?: Array<'bill_to_address' | 'ship_to_address' | 'type' | 'parent_account' | 'freight_preferences.carrier' | 'freight_preferences.service_level' | 'defaults.payment_term' | 'defaults.shipping_term' | 'defaults.sales_rep' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
1370
|
-
/**
|
|
1371
|
-
* Maximum number of results per page (default: 100, max: 1000).
|
|
1372
|
-
*/
|
|
1373
|
-
limit?: number;
|
|
1374
|
-
/**
|
|
1375
|
-
* Filter by whether the customer has child accounts.
|
|
1376
|
-
*/
|
|
1377
|
-
parent_account_status?: 'parent' | 'non_parent';
|
|
1378
|
-
/**
|
|
1379
|
-
* Filter by payment term IDs.
|
|
1380
|
-
*/
|
|
1381
|
-
payment_term_ids?: Array<string>;
|
|
1382
|
-
/**
|
|
1383
|
-
* Filter by postal code.
|
|
1384
|
-
*/
|
|
1385
|
-
postal_code?: string;
|
|
1386
|
-
/**
|
|
1387
|
-
* Filter by pricing group IDs.
|
|
1388
|
-
*/
|
|
1389
|
-
pricing_group_ids?: Array<string>;
|
|
1390
|
-
/**
|
|
1391
|
-
* Search query used to filter results.
|
|
1392
|
-
*/
|
|
1393
|
-
q?: string;
|
|
1394
|
-
/**
|
|
1395
|
-
* Filter by sales rep IDs.
|
|
1396
|
-
*/
|
|
1397
|
-
sales_rep_ids?: Array<string>;
|
|
1398
|
-
/**
|
|
1399
|
-
* Filter by service level IDs.
|
|
1400
|
-
*/
|
|
1401
|
-
service_level_ids?: Array<string>;
|
|
1402
|
-
/**
|
|
1403
|
-
* Filter by shipping term IDs.
|
|
1404
|
-
*/
|
|
1405
|
-
shipping_term_ids?: Array<string>;
|
|
1406
|
-
/**
|
|
1407
|
-
* Filter by start date (created after).
|
|
1408
|
-
*/
|
|
1409
|
-
start_date?: string;
|
|
1410
|
-
/**
|
|
1411
|
-
* Filter by state.
|
|
1412
|
-
*/
|
|
1413
|
-
state?: string;
|
|
1414
|
-
/**
|
|
1415
|
-
* Filter by status codes.
|
|
1416
|
-
*/
|
|
1417
|
-
status_codes?: Array<'normal' | 'preferred' | 'hold_shipment' | 'hold_all'>;
|
|
1418
|
-
}
|
|
1419
1180
|
export declare namespace Customers {
|
|
1420
|
-
export { type
|
|
1181
|
+
export { type Carrier as Carrier, type CreateCustomerRequest as CreateCustomerRequest, type Customer as Customer, type CustomerContactInfo as CustomerContactInfo, type CustomerDefaults as CustomerDefaults, type CustomerFreightPreferences as CustomerFreightPreferences, type CustomerNotificationPreferences as CustomerNotificationPreferences, type ListCustomer as ListCustomer, type ListServiceLevel as ListServiceLevel, type PaymentTerm as PaymentTerm, type QuantityInput as QuantityInput, type ServiceLevel as ServiceLevel, type ShippingTerm as ShippingTerm, type UpdateCustomerRequest as UpdateCustomerRequest, type CustomerDeleteResponse as CustomerDeleteResponse, type CustomerListParams as CustomerListParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, };
|
|
1421
1182
|
export { Actions as Actions, type MergeCustomersRequest as MergeCustomersRequest, type ActionMergeParams as ActionMergeParams, };
|
|
1422
1183
|
}
|
|
1423
1184
|
//# sourceMappingURL=customers.d.ts.map
|