@augno/sdk 0.1.9 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +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 +4 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -1
- package/client.d.ts.map +1 -1
- package/client.js +9 -1
- package/client.js.map +1 -1
- package/client.mjs +9 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +0 -1
- package/error.d.mts.map +1 -1
- package/error.d.ts +0 -1
- package/error.d.ts.map +1 -1
- package/error.mjs +0 -1
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +0 -6
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +0 -6
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +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 +26 -5
- package/resources/auth/api-keys/actions.d.mts.map +1 -1
- package/resources/auth/api-keys/actions.d.ts +26 -5
- package/resources/auth/api-keys/actions.d.ts.map +1 -1
- package/resources/auth/api-keys/actions.js +4 -1
- package/resources/auth/api-keys/actions.js.map +1 -1
- package/resources/auth/api-keys/actions.mjs +4 -1
- package/resources/auth/api-keys/actions.mjs.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +134 -70
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +134 -70
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js +24 -22
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs +24 -22
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/auth/api-keys/index.d.mts +1 -1
- package/resources/auth/api-keys/index.d.mts.map +1 -1
- package/resources/auth/api-keys/index.d.ts +1 -1
- package/resources/auth/api-keys/index.d.ts.map +1 -1
- package/resources/auth/api-keys/index.mjs.map +1 -1
- package/resources/auth/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys.mjs.map +1 -1
- package/resources/auth/auth.d.mts +1 -1
- package/resources/auth/auth.d.mts.map +1 -1
- package/resources/auth/auth.d.ts +1 -1
- package/resources/auth/auth.d.ts.map +1 -1
- package/resources/auth/auth.mjs.map +1 -1
- package/resources/auth/index.d.mts +1 -1
- package/resources/auth/index.d.mts.map +1 -1
- package/resources/auth/index.d.ts +1 -1
- package/resources/auth/index.d.ts.map +1 -1
- package/resources/auth/index.mjs.map +1 -1
- package/resources/auth.d.mts.map +1 -1
- package/resources/auth.d.ts.map +1 -1
- package/resources/auth.mjs.map +1 -1
- package/resources/catalog/catalog.d.mts +9 -9
- package/resources/catalog/catalog.d.mts.map +1 -1
- package/resources/catalog/catalog.d.ts +9 -9
- package/resources/catalog/catalog.d.ts.map +1 -1
- package/resources/catalog/catalog.mjs.map +1 -1
- package/resources/catalog/index.d.mts +9 -9
- package/resources/catalog/index.d.mts.map +1 -1
- package/resources/catalog/index.d.ts +9 -9
- package/resources/catalog/index.d.ts.map +1 -1
- package/resources/catalog/index.mjs.map +1 -1
- package/resources/catalog/item-categories/index.d.mts +1 -1
- package/resources/catalog/item-categories/index.d.mts.map +1 -1
- package/resources/catalog/item-categories/index.d.ts +1 -1
- package/resources/catalog/item-categories/index.d.ts.map +1 -1
- package/resources/catalog/item-categories/index.mjs.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.mts +95 -65
- package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories/item-categories.d.ts +95 -65
- package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories/item-categories.js +38 -30
- package/resources/catalog/item-categories/item-categories.js.map +1 -1
- package/resources/catalog/item-categories/item-categories.mjs +38 -30
- package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
- package/resources/catalog/item-categories/properties.d.mts +9 -4
- package/resources/catalog/item-categories/properties.d.mts.map +1 -1
- package/resources/catalog/item-categories/properties.d.ts +9 -4
- package/resources/catalog/item-categories/properties.d.ts.map +1 -1
- package/resources/catalog/item-categories/properties.js +9 -4
- package/resources/catalog/item-categories/properties.js.map +1 -1
- package/resources/catalog/item-categories/properties.mjs +9 -4
- package/resources/catalog/item-categories/properties.mjs.map +1 -1
- package/resources/catalog/item-categories.d.mts.map +1 -1
- package/resources/catalog/item-categories.d.ts.map +1 -1
- package/resources/catalog/item-categories.mjs.map +1 -1
- package/resources/catalog/items/attributes.d.mts +3 -2
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +3 -2
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +3 -2
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +3 -2
- package/resources/catalog/items/attributes.mjs.map +1 -1
- package/resources/catalog/items/index.d.mts +1 -1
- package/resources/catalog/items/index.d.mts.map +1 -1
- package/resources/catalog/items/index.d.ts +1 -1
- package/resources/catalog/items/index.d.ts.map +1 -1
- package/resources/catalog/items/index.mjs.map +1 -1
- package/resources/catalog/items/items.d.mts +88 -52
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +88 -52
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js +24 -21
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs +24 -21
- package/resources/catalog/items/items.mjs.map +1 -1
- package/resources/catalog/items.d.mts.map +1 -1
- package/resources/catalog/items.d.ts.map +1 -1
- package/resources/catalog/items.mjs.map +1 -1
- package/resources/catalog/materials.d.mts +134 -87
- package/resources/catalog/materials.d.mts.map +1 -1
- package/resources/catalog/materials.d.ts +134 -87
- package/resources/catalog/materials.d.ts.map +1 -1
- package/resources/catalog/materials.js +29 -19
- package/resources/catalog/materials.js.map +1 -1
- package/resources/catalog/materials.mjs +29 -19
- package/resources/catalog/materials.mjs.map +1 -1
- package/resources/catalog/parts.d.mts +127 -74
- package/resources/catalog/parts.d.mts.map +1 -1
- package/resources/catalog/parts.d.ts +127 -74
- package/resources/catalog/parts.d.ts.map +1 -1
- package/resources/catalog/parts.js +34 -20
- package/resources/catalog/parts.js.map +1 -1
- package/resources/catalog/parts.mjs +34 -20
- package/resources/catalog/parts.mjs.map +1 -1
- package/resources/catalog/product-lines.d.mts +145 -70
- package/resources/catalog/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines.d.ts +145 -70
- package/resources/catalog/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines.js +31 -26
- package/resources/catalog/product-lines.js.map +1 -1
- package/resources/catalog/product-lines.mjs +31 -26
- package/resources/catalog/product-lines.mjs.map +1 -1
- package/resources/catalog/products.d.mts +187 -90
- package/resources/catalog/products.d.mts.map +1 -1
- package/resources/catalog/products.d.ts +187 -90
- package/resources/catalog/products.d.ts.map +1 -1
- package/resources/catalog/products.js +25 -20
- package/resources/catalog/products.js.map +1 -1
- package/resources/catalog/products.mjs +25 -20
- package/resources/catalog/products.mjs.map +1 -1
- package/resources/catalog/properties/attributes.d.mts +96 -44
- package/resources/catalog/properties/attributes.d.mts.map +1 -1
- package/resources/catalog/properties/attributes.d.ts +96 -44
- package/resources/catalog/properties/attributes.d.ts.map +1 -1
- package/resources/catalog/properties/attributes.js +31 -21
- package/resources/catalog/properties/attributes.js.map +1 -1
- package/resources/catalog/properties/attributes.mjs +31 -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 +70 -47
- package/resources/catalog/properties/properties.d.mts.map +1 -1
- package/resources/catalog/properties/properties.d.ts +70 -47
- package/resources/catalog/properties/properties.d.ts.map +1 -1
- package/resources/catalog/properties/properties.js +19 -18
- package/resources/catalog/properties/properties.js.map +1 -1
- package/resources/catalog/properties/properties.mjs +19 -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 +130 -83
- package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.d.ts +130 -83
- package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.js +33 -24
- package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
- package/resources/catalog/unit-groups/unit-groups.mjs +33 -24
- package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
- package/resources/catalog/unit-groups/units.d.mts +78 -54
- package/resources/catalog/unit-groups/units.d.mts.map +1 -1
- package/resources/catalog/unit-groups/units.d.ts +78 -54
- package/resources/catalog/unit-groups/units.d.ts.map +1 -1
- package/resources/catalog/unit-groups/units.js +34 -25
- package/resources/catalog/unit-groups/units.js.map +1 -1
- package/resources/catalog/unit-groups/units.mjs +34 -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 +100 -63
- package/resources/catalog/units.d.mts.map +1 -1
- package/resources/catalog/units.d.ts +100 -63
- package/resources/catalog/units.d.ts.map +1 -1
- package/resources/catalog/units.js +26 -25
- package/resources/catalog/units.js.map +1 -1
- package/resources/catalog/units.mjs +26 -25
- package/resources/catalog/units.mjs.map +1 -1
- package/resources/catalog.d.mts.map +1 -1
- package/resources/catalog.d.ts.map +1 -1
- package/resources/catalog.mjs.map +1 -1
- package/resources/core/addresses/actions.d.mts +12 -5
- package/resources/core/addresses/actions.d.mts.map +1 -1
- package/resources/core/addresses/actions.d.ts +12 -5
- package/resources/core/addresses/actions.d.ts.map +1 -1
- package/resources/core/addresses/actions.mjs.map +1 -1
- package/resources/core/addresses/addresses.d.mts +5 -2
- package/resources/core/addresses/addresses.d.mts.map +1 -1
- package/resources/core/addresses/addresses.d.ts +5 -2
- package/resources/core/addresses/addresses.d.ts.map +1 -1
- package/resources/core/addresses/addresses.js.map +1 -1
- package/resources/core/addresses/addresses.mjs.map +1 -1
- package/resources/core/addresses/index.d.mts.map +1 -1
- package/resources/core/addresses/index.d.ts.map +1 -1
- package/resources/core/addresses/index.mjs.map +1 -1
- package/resources/core/addresses.d.mts.map +1 -1
- package/resources/core/addresses.d.ts.map +1 -1
- package/resources/core/addresses.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +78 -34
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +78 -34
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/audit-events.js +13 -10
- package/resources/core/audit-events.js.map +1 -1
- package/resources/core/audit-events.mjs +13 -10
- package/resources/core/audit-events.mjs.map +1 -1
- package/resources/core/core.d.mts +4 -4
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +4 -4
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/email-logs.d.mts +31 -21
- package/resources/core/email-logs.d.mts.map +1 -1
- package/resources/core/email-logs.d.ts +31 -21
- package/resources/core/email-logs.d.ts.map +1 -1
- package/resources/core/email-logs.js +10 -10
- package/resources/core/email-logs.js.map +1 -1
- package/resources/core/email-logs.mjs +10 -10
- package/resources/core/email-logs.mjs.map +1 -1
- package/resources/core/index.d.mts +4 -4
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +4 -4
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/request-logs.d.mts +87 -48
- package/resources/core/request-logs.d.mts.map +1 -1
- package/resources/core/request-logs.d.ts +87 -48
- package/resources/core/request-logs.d.ts.map +1 -1
- package/resources/core/request-logs.js +10 -10
- package/resources/core/request-logs.js.map +1 -1
- package/resources/core/request-logs.mjs +10 -10
- package/resources/core/request-logs.mjs.map +1 -1
- package/resources/core/sandboxes.d.mts +52 -31
- package/resources/core/sandboxes.d.mts.map +1 -1
- package/resources/core/sandboxes.d.ts +52 -31
- package/resources/core/sandboxes.d.ts.map +1 -1
- package/resources/core/sandboxes.js +20 -13
- package/resources/core/sandboxes.js.map +1 -1
- package/resources/core/sandboxes.mjs +20 -13
- package/resources/core/sandboxes.mjs.map +1 -1
- package/resources/core.d.mts.map +1 -1
- package/resources/core.d.ts.map +1 -1
- package/resources/core.mjs.map +1 -1
- package/resources/finance/finance.d.mts +69 -35
- package/resources/finance/finance.d.mts.map +1 -1
- package/resources/finance/finance.d.ts +69 -35
- package/resources/finance/finance.d.ts.map +1 -1
- package/resources/finance/finance.js +10 -10
- package/resources/finance/finance.js.map +1 -1
- package/resources/finance/finance.mjs +10 -10
- package/resources/finance/finance.mjs.map +1 -1
- package/resources/finance/index.d.mts +2 -2
- package/resources/finance/index.d.mts.map +1 -1
- package/resources/finance/index.d.ts +2 -2
- package/resources/finance/index.d.ts.map +1 -1
- package/resources/finance/index.mjs.map +1 -1
- package/resources/finance/payment-terms.d.mts +72 -43
- package/resources/finance/payment-terms.d.mts.map +1 -1
- package/resources/finance/payment-terms.d.ts +72 -43
- package/resources/finance/payment-terms.d.ts.map +1 -1
- package/resources/finance/payment-terms.js +33 -22
- package/resources/finance/payment-terms.js.map +1 -1
- package/resources/finance/payment-terms.mjs +33 -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 +166 -79
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +166 -79
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js +43 -25
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs +43 -25
- package/resources/identity/account-users/account-users.mjs.map +1 -1
- package/resources/identity/account-users/actions.d.mts +13 -3
- package/resources/identity/account-users/actions.d.mts.map +1 -1
- package/resources/identity/account-users/actions.d.ts +13 -3
- package/resources/identity/account-users/actions.d.ts.map +1 -1
- package/resources/identity/account-users/actions.js +13 -3
- package/resources/identity/account-users/actions.js.map +1 -1
- package/resources/identity/account-users/actions.mjs +13 -3
- package/resources/identity/account-users/actions.mjs.map +1 -1
- package/resources/identity/account-users/index.d.mts +1 -1
- package/resources/identity/account-users/index.d.mts.map +1 -1
- package/resources/identity/account-users/index.d.ts +1 -1
- package/resources/identity/account-users/index.d.ts.map +1 -1
- package/resources/identity/account-users/index.mjs.map +1 -1
- package/resources/identity/account-users.d.mts.map +1 -1
- package/resources/identity/account-users.d.ts.map +1 -1
- package/resources/identity/account-users.mjs.map +1 -1
- package/resources/identity/identity.d.mts +2 -2
- package/resources/identity/identity.d.mts.map +1 -1
- package/resources/identity/identity.d.ts +2 -2
- package/resources/identity/identity.d.ts.map +1 -1
- package/resources/identity/identity.mjs.map +1 -1
- package/resources/identity/index.d.mts +2 -2
- package/resources/identity/index.d.mts.map +1 -1
- package/resources/identity/index.d.ts +2 -2
- package/resources/identity/index.d.ts.map +1 -1
- package/resources/identity/index.mjs.map +1 -1
- package/resources/identity/roles.d.mts +88 -61
- package/resources/identity/roles.d.mts.map +1 -1
- package/resources/identity/roles.d.ts +88 -61
- package/resources/identity/roles.d.ts.map +1 -1
- package/resources/identity/roles.js +33 -27
- package/resources/identity/roles.js.map +1 -1
- package/resources/identity/roles.mjs +33 -27
- package/resources/identity/roles.mjs.map +1 -1
- package/resources/identity.d.mts.map +1 -1
- package/resources/identity.d.ts.map +1 -1
- package/resources/identity.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/operations/carriers/carriers.d.mts +88 -59
- package/resources/operations/carriers/carriers.d.mts.map +1 -1
- package/resources/operations/carriers/carriers.d.ts +88 -59
- package/resources/operations/carriers/carriers.d.ts.map +1 -1
- package/resources/operations/carriers/carriers.js +29 -21
- package/resources/operations/carriers/carriers.js.map +1 -1
- package/resources/operations/carriers/carriers.mjs +29 -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 +115 -68
- package/resources/operations/carriers/service-levels.d.mts.map +1 -1
- package/resources/operations/carriers/service-levels.d.ts +115 -68
- package/resources/operations/carriers/service-levels.d.ts.map +1 -1
- package/resources/operations/carriers/service-levels.js +37 -30
- package/resources/operations/carriers/service-levels.js.map +1 -1
- package/resources/operations/carriers/service-levels.mjs +37 -30
- package/resources/operations/carriers/service-levels.mjs.map +1 -1
- package/resources/operations/carriers.d.mts.map +1 -1
- package/resources/operations/carriers.d.ts.map +1 -1
- package/resources/operations/carriers.mjs.map +1 -1
- package/resources/operations/index.d.mts +4 -4
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +4 -4
- package/resources/operations/index.d.ts.map +1 -1
- package/resources/operations/index.mjs.map +1 -1
- package/resources/operations/location-types.d.mts +33 -18
- package/resources/operations/location-types.d.mts.map +1 -1
- package/resources/operations/location-types.d.ts +33 -18
- package/resources/operations/location-types.d.ts.map +1 -1
- package/resources/operations/location-types.js +12 -12
- package/resources/operations/location-types.js.map +1 -1
- package/resources/operations/location-types.mjs +12 -12
- package/resources/operations/location-types.mjs.map +1 -1
- package/resources/operations/locations.d.mts +131 -65
- package/resources/operations/locations.d.mts.map +1 -1
- package/resources/operations/locations.d.ts +131 -65
- package/resources/operations/locations.d.ts.map +1 -1
- package/resources/operations/locations.js +24 -20
- package/resources/operations/locations.js.map +1 -1
- package/resources/operations/locations.mjs +24 -20
- package/resources/operations/locations.mjs.map +1 -1
- package/resources/operations/operations.d.mts +4 -4
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +4 -4
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/scanning-stations.d.mts +143 -69
- package/resources/operations/scanning-stations.d.mts.map +1 -1
- package/resources/operations/scanning-stations.d.ts +143 -69
- package/resources/operations/scanning-stations.d.ts.map +1 -1
- package/resources/operations/scanning-stations.js +32 -23
- package/resources/operations/scanning-stations.js.map +1 -1
- package/resources/operations/scanning-stations.mjs +32 -23
- package/resources/operations/scanning-stations.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +117 -81
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +117 -81
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/operations/shipping-terms.js +28 -26
- package/resources/operations/shipping-terms.js.map +1 -1
- package/resources/operations/shipping-terms.mjs +28 -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 +111 -80
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +111 -80
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-groups.js +30 -21
- package/resources/sales/account-groups.js.map +1 -1
- package/resources/sales/account-groups.mjs +30 -21
- package/resources/sales/account-groups.mjs.map +1 -1
- package/resources/sales/account-statuses.d.mts +41 -23
- package/resources/sales/account-statuses.d.mts.map +1 -1
- package/resources/sales/account-statuses.d.ts +41 -23
- package/resources/sales/account-statuses.d.ts.map +1 -1
- package/resources/sales/account-statuses.js +16 -13
- package/resources/sales/account-statuses.js.map +1 -1
- package/resources/sales/account-statuses.mjs +16 -13
- package/resources/sales/account-statuses.mjs.map +1 -1
- package/resources/sales/addresses.d.mts +83 -36
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +83 -36
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/addresses.js +29 -19
- package/resources/sales/addresses.js.map +1 -1
- package/resources/sales/addresses.mjs +29 -19
- package/resources/sales/addresses.mjs.map +1 -1
- package/resources/sales/customers/actions.d.mts +15 -5
- package/resources/sales/customers/actions.d.mts.map +1 -1
- package/resources/sales/customers/actions.d.ts +15 -5
- package/resources/sales/customers/actions.d.ts.map +1 -1
- package/resources/sales/customers/actions.js +6 -2
- package/resources/sales/customers/actions.js.map +1 -1
- package/resources/sales/customers/actions.mjs +6 -2
- package/resources/sales/customers/actions.mjs.map +1 -1
- package/resources/sales/customers/customers.d.mts +588 -291
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +588 -291
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +58 -30
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +58 -30
- package/resources/sales/customers/customers.mjs.map +1 -1
- package/resources/sales/customers/index.d.mts +1 -1
- package/resources/sales/customers/index.d.mts.map +1 -1
- package/resources/sales/customers/index.d.ts +1 -1
- package/resources/sales/customers/index.d.ts.map +1 -1
- package/resources/sales/customers/index.js.map +1 -1
- package/resources/sales/customers/index.mjs.map +1 -1
- package/resources/sales/customers.d.mts.map +1 -1
- package/resources/sales/customers.d.ts.map +1 -1
- package/resources/sales/customers.mjs.map +1 -1
- package/resources/sales/index.d.mts +6 -6
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +6 -6
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/priorities.d.mts +31 -21
- package/resources/sales/priorities.d.mts.map +1 -1
- package/resources/sales/priorities.d.ts +31 -21
- package/resources/sales/priorities.d.ts.map +1 -1
- package/resources/sales/priorities.js +10 -10
- package/resources/sales/priorities.js.map +1 -1
- package/resources/sales/priorities.mjs +10 -10
- package/resources/sales/priorities.mjs.map +1 -1
- package/resources/sales/sales-orders.d.mts +877 -7
- package/resources/sales/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders.d.ts +877 -7
- package/resources/sales/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders.js +45 -3
- package/resources/sales/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders.mjs +45 -3
- package/resources/sales/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +8 -8
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +8 -8
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs.map +1 -1
- package/resources/sales.d.mts.map +1 -1
- package/resources/sales.d.ts.map +1 -1
- package/resources/sales.mjs.map +1 -1
- package/resources/settings/index.d.mts +3 -0
- package/resources/settings/index.d.mts.map +1 -0
- package/resources/settings/index.d.ts +3 -0
- package/resources/settings/index.d.ts.map +1 -0
- package/resources/settings/index.js +9 -0
- package/resources/settings/index.js.map +1 -0
- package/resources/settings/index.mjs +4 -0
- package/resources/settings/index.mjs.map +1 -0
- package/resources/settings/integrations.d.mts +238 -0
- package/resources/settings/integrations.d.mts.map +1 -0
- package/resources/settings/integrations.d.ts +238 -0
- package/resources/settings/integrations.d.ts.map +1 -0
- package/resources/settings/integrations.js +80 -0
- package/resources/settings/integrations.js.map +1 -0
- package/resources/settings/integrations.mjs +76 -0
- package/resources/settings/integrations.mjs.map +1 -0
- package/resources/settings/settings.d.mts +10 -0
- package/resources/settings/settings.d.mts.map +1 -0
- package/resources/settings/settings.d.ts +10 -0
- package/resources/settings/settings.d.ts.map +1 -0
- package/resources/settings/settings.js +17 -0
- package/resources/settings/settings.js.map +1 -0
- package/resources/settings/settings.mjs +12 -0
- package/resources/settings/settings.mjs.map +1 -0
- package/resources/settings.d.mts +2 -0
- package/resources/settings.d.mts.map +1 -0
- package/resources/settings.d.ts +2 -0
- package/resources/settings.d.ts.map +1 -0
- package/resources/settings.js +6 -0
- package/resources/settings.js.map +1 -0
- package/resources/settings.mjs +3 -0
- package/resources/settings.mjs.map +1 -0
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +13 -3
- package/src/resources/auth/api-keys/actions.ts +28 -5
- package/src/resources/auth/api-keys/api-keys.ts +142 -78
- package/src/resources/auth/api-keys/index.ts +1 -1
- package/src/resources/auth/auth.ts +1 -1
- package/src/resources/auth/index.ts +1 -1
- package/src/resources/catalog/catalog.ts +18 -18
- package/src/resources/catalog/index.ts +18 -18
- package/src/resources/catalog/item-categories/index.ts +2 -2
- package/src/resources/catalog/item-categories/item-categories.ts +116 -86
- package/src/resources/catalog/item-categories/properties.ts +9 -4
- package/src/resources/catalog/items/attributes.ts +3 -2
- package/src/resources/catalog/items/index.ts +2 -2
- package/src/resources/catalog/items/items.ts +111 -75
- package/src/resources/catalog/materials.ts +159 -112
- package/src/resources/catalog/parts.ts +145 -92
- package/src/resources/catalog/product-lines.ts +160 -85
- package/src/resources/catalog/products.ts +205 -108
- package/src/resources/catalog/properties/attributes.ts +110 -58
- package/src/resources/catalog/properties/index.ts +4 -4
- package/src/resources/catalog/properties/properties.ts +84 -61
- package/src/resources/catalog/unit-groups/index.ts +4 -4
- package/src/resources/catalog/unit-groups/unit-groups.ts +144 -97
- package/src/resources/catalog/unit-groups/units.ts +97 -73
- package/src/resources/catalog/units.ts +114 -77
- package/src/resources/core/addresses/actions.ts +12 -5
- package/src/resources/core/addresses/addresses.ts +5 -2
- package/src/resources/core/audit-events.ts +142 -47
- package/src/resources/core/core.ts +5 -5
- package/src/resources/core/email-logs.ts +39 -29
- package/src/resources/core/index.ts +5 -5
- package/src/resources/core/request-logs.ts +104 -64
- package/src/resources/core/sandboxes.ts +57 -36
- package/src/resources/finance/finance.ts +78 -44
- package/src/resources/finance/index.ts +4 -4
- package/src/resources/finance/payment-terms.ts +85 -56
- package/src/resources/identity/account-users/account-users.ts +180 -93
- package/src/resources/identity/account-users/actions.ts +13 -3
- package/src/resources/identity/account-users/index.ts +2 -2
- package/src/resources/identity/identity.ts +4 -4
- package/src/resources/identity/index.ts +4 -4
- package/src/resources/identity/roles.ts +96 -69
- package/src/resources/index.ts +3 -2
- package/src/resources/operations/carriers/carriers.ts +97 -68
- package/src/resources/operations/carriers/index.ts +4 -4
- package/src/resources/operations/carriers/service-levels.ts +136 -89
- package/src/resources/operations/index.ts +8 -8
- package/src/resources/operations/location-types.ts +38 -23
- package/src/resources/operations/locations.ts +140 -74
- package/src/resources/operations/operations.ts +8 -8
- package/src/resources/operations/scanning-stations.ts +160 -86
- package/src/resources/operations/shipping-terms.ts +134 -98
- package/src/resources/sales/account-groups.ts +122 -91
- package/src/resources/sales/account-statuses.ts +48 -30
- package/src/resources/sales/addresses.ts +91 -44
- package/src/resources/sales/customers/actions.ts +15 -4
- package/src/resources/sales/customers/customers.ts +660 -351
- package/src/resources/sales/customers/index.ts +4 -2
- package/src/resources/sales/index.ts +25 -6
- package/src/resources/sales/priorities.ts +39 -29
- package/src/resources/sales/sales-orders.ts +1113 -21
- package/src/resources/sales/sales.ts +44 -6
- package/src/resources/settings/index.ts +13 -0
- package/src/resources/settings/integrations.ts +291 -0
- package/src/resources/settings/settings.ts +33 -0
- package/src/resources/settings.ts +3 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +0 -1
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +0 -1
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +0 -1
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -14,25 +14,14 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
14
14
|
export declare class Customers extends APIResource {
|
|
15
15
|
actions: ActionsAPI.Actions;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
|
-
* provided.
|
|
17
|
+
* Returns a paginated list of customers for the current account.
|
|
19
18
|
*
|
|
20
19
|
* @example
|
|
21
20
|
* ```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
|
-
* });
|
|
21
|
+
* const listCustomer = await client.sales.customers.list();
|
|
33
22
|
* ```
|
|
34
23
|
*/
|
|
35
|
-
|
|
24
|
+
list(query?: CustomerListParams | null | undefined, options?: RequestOptions): APIPromise<ListCustomer>;
|
|
36
25
|
/**
|
|
37
26
|
* Returns a customer by ID.
|
|
38
27
|
*
|
|
@@ -45,29 +34,68 @@ export declare class Customers extends APIResource {
|
|
|
45
34
|
*/
|
|
46
35
|
retrieve(id: string, query?: CustomerRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
|
|
47
36
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
37
|
+
* Creates a customer account with its default addresses, fulfillment settings, and
|
|
38
|
+
* order policies.
|
|
39
|
+
*
|
|
40
|
+
* If `number` is omitted, the next sequential customer number is assigned
|
|
41
|
+
* automatically.
|
|
50
42
|
*
|
|
51
43
|
* @example
|
|
52
44
|
* ```ts
|
|
53
|
-
* const customer = await client.sales.customers.
|
|
54
|
-
*
|
|
55
|
-
*
|
|
45
|
+
* const customer = await client.sales.customers.create({
|
|
46
|
+
* bill_to_address: {
|
|
47
|
+
* name: 'Acme Inc.',
|
|
48
|
+
* street_line_1: '123 Main St',
|
|
49
|
+
* locality: 'New York',
|
|
50
|
+
* state: 'NY',
|
|
51
|
+
* postal_code: '10001',
|
|
52
|
+
* country: 'US',
|
|
53
|
+
* },
|
|
54
|
+
* customer_type_group_id: 'acgp_018e88072d1320808dc979cfac',
|
|
55
|
+
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
56
|
+
* default_payment_term_id:
|
|
57
|
+
* 'pytm_018694d6601ea771cd1b52e890',
|
|
58
|
+
* default_shipping_term_id:
|
|
59
|
+
* 'shtm_014341ab4bb5bf94d5b6936f86',
|
|
60
|
+
* name: 'Acme Inc.',
|
|
61
|
+
* ship_to_address: {
|
|
62
|
+
* name: 'Acme Inc.',
|
|
63
|
+
* street_line_1: '123 Main St',
|
|
64
|
+
* locality: 'New York',
|
|
65
|
+
* state: 'NY',
|
|
66
|
+
* postal_code: '10001',
|
|
67
|
+
* country: 'US',
|
|
68
|
+
* },
|
|
69
|
+
* note: 'Key enterprise account',
|
|
70
|
+
* });
|
|
56
71
|
* ```
|
|
57
72
|
*/
|
|
58
|
-
|
|
73
|
+
create(params: CustomerCreateParams, options?: RequestOptions): APIPromise<Customer>;
|
|
59
74
|
/**
|
|
60
|
-
*
|
|
75
|
+
* Partially updates a customer account.
|
|
76
|
+
*
|
|
77
|
+
* Only the fields provided in the request are changed. Nullable fields can be set
|
|
78
|
+
* to `null` to clear their current value.
|
|
61
79
|
*
|
|
62
80
|
* @example
|
|
63
81
|
* ```ts
|
|
64
|
-
* const
|
|
82
|
+
* const customer = await client.sales.customers.update(
|
|
83
|
+
* 'ac_0170df1ac58e4d24c66fc89f5f',
|
|
84
|
+
* {
|
|
85
|
+
* default_carrier_id: 'cr_01784fd54c9ba197bb4e42f0e6',
|
|
86
|
+
* freight_policy: 'billed_freight',
|
|
87
|
+
* name: 'Acme Corp Updated',
|
|
88
|
+
* note: 'Updated account notes',
|
|
89
|
+
* },
|
|
90
|
+
* );
|
|
65
91
|
* ```
|
|
66
92
|
*/
|
|
67
|
-
|
|
93
|
+
update(id: string, params?: CustomerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
|
|
68
94
|
/**
|
|
69
|
-
* Deletes a customer
|
|
70
|
-
*
|
|
95
|
+
* Deletes a customer.
|
|
96
|
+
*
|
|
97
|
+
* Fails with a conflict error if any sales orders still reference the customer;
|
|
98
|
+
* delete or reassign those orders, or merge the customer into another first.
|
|
71
99
|
*
|
|
72
100
|
* @example
|
|
73
101
|
* ```ts
|
|
@@ -79,7 +107,11 @@ export declare class Customers extends APIResource {
|
|
|
79
107
|
delete(id: string, options?: RequestOptions): APIPromise<CustomerDeleteResponse>;
|
|
80
108
|
}
|
|
81
109
|
/**
|
|
82
|
-
*
|
|
110
|
+
* A user's membership in an account, carrying the account-specific status, role,
|
|
111
|
+
* and department.
|
|
112
|
+
*
|
|
113
|
+
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
114
|
+
* sub-resource, which is shared across every account the user belongs to.
|
|
83
115
|
*/
|
|
84
116
|
export interface AccountUser {
|
|
85
117
|
/**
|
|
@@ -91,35 +123,29 @@ export interface AccountUser {
|
|
|
91
123
|
*/
|
|
92
124
|
created_at: string;
|
|
93
125
|
/**
|
|
94
|
-
*
|
|
126
|
+
* A functional area of a production operation, such as fabrication or packaging,
|
|
127
|
+
* that groups scanning stations and machines.
|
|
95
128
|
*/
|
|
96
129
|
department: Department | null;
|
|
97
130
|
/**
|
|
98
|
-
*
|
|
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.
|
|
131
|
+
* When the user last accessed this account.
|
|
107
132
|
*/
|
|
108
133
|
last_used_at: string | null;
|
|
109
|
-
/**
|
|
110
|
-
* Display name.
|
|
111
|
-
*/
|
|
112
|
-
name: string | null;
|
|
113
134
|
/**
|
|
114
135
|
* Resource type identifier.
|
|
115
136
|
*/
|
|
116
137
|
object: 'account_user';
|
|
117
138
|
/**
|
|
118
|
-
*
|
|
139
|
+
* A named set of permissions that can be assigned to users to control what they
|
|
140
|
+
* can access.
|
|
119
141
|
*/
|
|
120
142
|
role: APIKeysAPI.Role | null;
|
|
121
143
|
/**
|
|
122
144
|
* Account user status.
|
|
145
|
+
*
|
|
146
|
+
* - `active`: the user can access the account.
|
|
147
|
+
* - `disabled`: the user is locked out of the account.
|
|
148
|
+
* - `removed`: the user has been removed (soft-deleted) from the account.
|
|
123
149
|
*/
|
|
124
150
|
status: 'active' | 'disabled' | 'removed';
|
|
125
151
|
/**
|
|
@@ -127,16 +153,19 @@ export interface AccountUser {
|
|
|
127
153
|
*/
|
|
128
154
|
updated_at: string;
|
|
129
155
|
/**
|
|
130
|
-
*
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
* Username.
|
|
156
|
+
* A user's global profile, shared across every account they belong to.
|
|
157
|
+
*
|
|
158
|
+
* Account-specific settings (status, role, department) live on the account user
|
|
159
|
+
* resource that links the user to each account.
|
|
135
160
|
*/
|
|
136
|
-
|
|
161
|
+
user: User | null;
|
|
137
162
|
}
|
|
138
163
|
/**
|
|
139
|
-
*
|
|
164
|
+
* A shipping carrier configured for fulfilling orders.
|
|
165
|
+
*
|
|
166
|
+
* Carriers with a Shippo-supported `code` (`fedex`, `ups`, `usps`) are connected
|
|
167
|
+
* through Shippo for live rating and label purchase; other carriers represent
|
|
168
|
+
* self-managed shipping methods such as will call or local delivery.
|
|
140
169
|
*/
|
|
141
170
|
export interface Carrier {
|
|
142
171
|
/**
|
|
@@ -144,11 +173,19 @@ export interface Carrier {
|
|
|
144
173
|
*/
|
|
145
174
|
id: string;
|
|
146
175
|
/**
|
|
147
|
-
*
|
|
176
|
+
* Your account number with this carrier, used to connect UPS and USPS accounts.
|
|
148
177
|
*/
|
|
149
178
|
account_number: string | null;
|
|
150
179
|
/**
|
|
151
|
-
*
|
|
180
|
+
* Well-known carrier identifier, set only for recognized carriers and absent for
|
|
181
|
+
* custom ones.
|
|
182
|
+
*
|
|
183
|
+
* - `fedex`, `ups`, `usps`: integrated carriers managed through Shippo (live
|
|
184
|
+
* rating and labels).
|
|
185
|
+
* - `will_call`: customer picks the order up; no carrier shipment.
|
|
186
|
+
* - `delivery`: delivered by your own vehicles/drivers.
|
|
187
|
+
* - `ltl`, `ltl1`: less-than-truckload freight carriers.
|
|
188
|
+
* - `freight_collect`: freight billed to and arranged by the receiver.
|
|
152
189
|
*/
|
|
153
190
|
code: 'fedex' | 'ups' | 'usps' | 'will_call' | 'delivery' | 'ltl' | 'ltl1' | 'freight_collect' | null;
|
|
154
191
|
/**
|
|
@@ -156,7 +193,8 @@ export interface Carrier {
|
|
|
156
193
|
*/
|
|
157
194
|
created_at: string;
|
|
158
195
|
/**
|
|
159
|
-
*
|
|
196
|
+
* Whether customers can see and select this carrier at checkout in the customer
|
|
197
|
+
* portal.
|
|
160
198
|
*/
|
|
161
199
|
customer_portal_visibility: 'visible' | 'hidden';
|
|
162
200
|
/**
|
|
@@ -164,7 +202,7 @@ export interface Carrier {
|
|
|
164
202
|
*/
|
|
165
203
|
deleted_at: string | null;
|
|
166
204
|
/**
|
|
167
|
-
*
|
|
205
|
+
* Human-readable name for the carrier, unique among your account's carriers.
|
|
168
206
|
*/
|
|
169
207
|
name: string;
|
|
170
208
|
/**
|
|
@@ -186,6 +224,10 @@ export interface Carrier {
|
|
|
186
224
|
}
|
|
187
225
|
/**
|
|
188
226
|
* Material consumed by a production step.
|
|
227
|
+
*
|
|
228
|
+
* Each consumption records one input item and how much of it the step uses.
|
|
229
|
+
* Consumptions also determine the production flow: when another step produces the
|
|
230
|
+
* consumed item, the two steps are linked upstream/downstream automatically.
|
|
189
231
|
*/
|
|
190
232
|
export interface Consumption {
|
|
191
233
|
/**
|
|
@@ -226,15 +268,17 @@ export interface Consumption {
|
|
|
226
268
|
*/
|
|
227
269
|
export interface CreateCustomerRequest {
|
|
228
270
|
/**
|
|
229
|
-
*
|
|
271
|
+
* Address details used to create an address, either directly or inline on another
|
|
272
|
+
* resource.
|
|
230
273
|
*/
|
|
231
274
|
bill_to_address: AddressesAPI.AddressInput;
|
|
232
275
|
/**
|
|
233
|
-
*
|
|
276
|
+
* ID of the account group of type `type_group` that categorizes this customer (for
|
|
277
|
+
* example "Distributors").
|
|
234
278
|
*/
|
|
235
279
|
customer_type_group_id: string;
|
|
236
280
|
/**
|
|
237
|
-
*
|
|
281
|
+
* ID of the default carrier for this customer's shipments.
|
|
238
282
|
*/
|
|
239
283
|
default_carrier_id: string;
|
|
240
284
|
/**
|
|
@@ -246,36 +290,45 @@ export interface CreateCustomerRequest {
|
|
|
246
290
|
*/
|
|
247
291
|
default_shipping_term_id: string;
|
|
248
292
|
/**
|
|
249
|
-
*
|
|
293
|
+
* The customer's business name, as shown throughout the app and on documents.
|
|
250
294
|
*/
|
|
251
295
|
name: string;
|
|
252
296
|
/**
|
|
253
|
-
*
|
|
297
|
+
* Address details used to create an address, either directly or inline on another
|
|
298
|
+
* resource.
|
|
254
299
|
*/
|
|
255
300
|
ship_to_address: AddressesAPI.AddressInput;
|
|
256
301
|
/**
|
|
257
|
-
* Carrier billing account number
|
|
302
|
+
* Carrier billing account number charged when `carrier_billing_type` is
|
|
303
|
+
* `third_party`.
|
|
258
304
|
*/
|
|
259
305
|
carrier_billing_account?: string;
|
|
260
306
|
/**
|
|
261
|
-
*
|
|
307
|
+
* Who pays the carrier for shipments.
|
|
308
|
+
*
|
|
309
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
310
|
+
* - `third_party`: a third party is billed, using `carrier_billing_account`.
|
|
262
311
|
*/
|
|
263
312
|
carrier_billing_type?: 'sender' | 'third_party';
|
|
264
313
|
/**
|
|
265
|
-
*
|
|
314
|
+
* How sales commission applies to this customer's orders.
|
|
315
|
+
*
|
|
316
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
317
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
318
|
+
* orders.
|
|
266
319
|
*/
|
|
267
320
|
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
268
321
|
/**
|
|
269
|
-
*
|
|
270
|
-
* requests.
|
|
322
|
+
* A value with an associated unit, used in create and update requests.
|
|
271
323
|
*/
|
|
272
324
|
credit_limit?: QuantityInput;
|
|
273
325
|
/**
|
|
274
|
-
*
|
|
326
|
+
* IDs of the account groups of type `pricing_group` to assign to this customer,
|
|
327
|
+
* used to apply pricing rules.
|
|
275
328
|
*/
|
|
276
329
|
customer_price_group_ids?: Array<string>;
|
|
277
330
|
/**
|
|
278
|
-
*
|
|
331
|
+
* Priority applied to new orders for this customer.
|
|
279
332
|
*/
|
|
280
333
|
default_priority?: 'low' | 'normal' | 'high';
|
|
281
334
|
/**
|
|
@@ -283,11 +336,12 @@ export interface CreateCustomerRequest {
|
|
|
283
336
|
*/
|
|
284
337
|
default_sales_rep_id?: string;
|
|
285
338
|
/**
|
|
286
|
-
*
|
|
339
|
+
* ID of the default carrier service level.
|
|
287
340
|
*/
|
|
288
341
|
default_service_level_id?: string;
|
|
289
342
|
/**
|
|
290
|
-
* EDI
|
|
343
|
+
* Whether EDI (Electronic Data Interchange) is enabled for exchanging orders and
|
|
344
|
+
* documents with this customer.
|
|
291
345
|
*/
|
|
292
346
|
edi_status?: 'enabled' | 'disabled';
|
|
293
347
|
/**
|
|
@@ -295,15 +349,23 @@ export interface CreateCustomerRequest {
|
|
|
295
349
|
*/
|
|
296
350
|
email?: string;
|
|
297
351
|
/**
|
|
298
|
-
*
|
|
352
|
+
* Whether this customer is billed for freight on their orders.
|
|
353
|
+
*
|
|
354
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
355
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden on the
|
|
356
|
+
* order.
|
|
299
357
|
*/
|
|
300
358
|
freight_policy?: 'free_freight' | 'billed_freight';
|
|
301
359
|
/**
|
|
302
|
-
*
|
|
360
|
+
* Free-form note about the customer.
|
|
303
361
|
*/
|
|
304
362
|
note?: string;
|
|
305
363
|
/**
|
|
306
|
-
*
|
|
364
|
+
* Human-readable customer number used to identify the account, distinct from the
|
|
365
|
+
* `id`.
|
|
366
|
+
*
|
|
367
|
+
* Must be unique within your account. If omitted, the next sequential number is
|
|
368
|
+
* assigned automatically.
|
|
307
369
|
*/
|
|
308
370
|
number?: string;
|
|
309
371
|
/**
|
|
@@ -311,7 +373,12 @@ export interface CreateCustomerRequest {
|
|
|
311
373
|
*/
|
|
312
374
|
phone?: string;
|
|
313
375
|
/**
|
|
314
|
-
* Account status code.
|
|
376
|
+
* Account status code, controlling whether the customer can transact.
|
|
377
|
+
*
|
|
378
|
+
* - `normal`: standard active account with no restrictions.
|
|
379
|
+
* - `preferred`: active account flagged as preferred.
|
|
380
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
381
|
+
* - `hold_all`: all activity is on hold.
|
|
315
382
|
*/
|
|
316
383
|
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
317
384
|
/**
|
|
@@ -320,7 +387,8 @@ export interface CreateCustomerRequest {
|
|
|
320
387
|
url?: string;
|
|
321
388
|
}
|
|
322
389
|
/**
|
|
323
|
-
*
|
|
390
|
+
* A business you sell to, with its contact details, default fulfillment settings,
|
|
391
|
+
* and order policies.
|
|
324
392
|
*/
|
|
325
393
|
export interface Customer {
|
|
326
394
|
/**
|
|
@@ -328,7 +396,8 @@ export interface Customer {
|
|
|
328
396
|
*/
|
|
329
397
|
id: string;
|
|
330
398
|
/**
|
|
331
|
-
*
|
|
399
|
+
* A saved address that can be used for billing and shipping on sales orders,
|
|
400
|
+
* invoices, and shipments.
|
|
332
401
|
*/
|
|
333
402
|
bill_to_address: APIKeysAPI.Address | null;
|
|
334
403
|
/**
|
|
@@ -336,7 +405,11 @@ export interface Customer {
|
|
|
336
405
|
*/
|
|
337
406
|
child_accounts: ListCustomer | null;
|
|
338
407
|
/**
|
|
339
|
-
*
|
|
408
|
+
* How sales commission applies to this customer's orders.
|
|
409
|
+
*
|
|
410
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
411
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
412
|
+
* orders.
|
|
340
413
|
*/
|
|
341
414
|
commission_policy: 'commission_applied' | 'commission_exempt';
|
|
342
415
|
/**
|
|
@@ -356,7 +429,8 @@ export interface Customer {
|
|
|
356
429
|
*/
|
|
357
430
|
defaults: CustomerDefaults | null;
|
|
358
431
|
/**
|
|
359
|
-
* EDI
|
|
432
|
+
* Whether EDI (Electronic Data Interchange) is enabled for exchanging orders and
|
|
433
|
+
* documents with this customer.
|
|
360
434
|
*/
|
|
361
435
|
edi_status: 'enabled' | 'disabled';
|
|
362
436
|
/**
|
|
@@ -364,11 +438,11 @@ export interface Customer {
|
|
|
364
438
|
*/
|
|
365
439
|
freight_preferences: CustomerFreightPreferences | null;
|
|
366
440
|
/**
|
|
367
|
-
*
|
|
441
|
+
* The customer's business name, as shown throughout the app and on documents.
|
|
368
442
|
*/
|
|
369
443
|
name: string;
|
|
370
444
|
/**
|
|
371
|
-
*
|
|
445
|
+
* Free-form note about the customer.
|
|
372
446
|
*/
|
|
373
447
|
note: string | null;
|
|
374
448
|
/**
|
|
@@ -376,7 +450,8 @@ export interface Customer {
|
|
|
376
450
|
*/
|
|
377
451
|
notification_preferences: CustomerNotificationPreferences | null;
|
|
378
452
|
/**
|
|
379
|
-
*
|
|
453
|
+
* Human-readable customer number used to identify the account, distinct from the
|
|
454
|
+
* `id`.
|
|
380
455
|
*/
|
|
381
456
|
number: string;
|
|
382
457
|
/**
|
|
@@ -384,7 +459,8 @@ export interface Customer {
|
|
|
384
459
|
*/
|
|
385
460
|
object: 'customer';
|
|
386
461
|
/**
|
|
387
|
-
*
|
|
462
|
+
* A business you sell to, with its contact details, default fulfillment settings,
|
|
463
|
+
* and order policies.
|
|
388
464
|
*/
|
|
389
465
|
parent_account: Customer | null;
|
|
390
466
|
/**
|
|
@@ -392,19 +468,30 @@ export interface Customer {
|
|
|
392
468
|
*/
|
|
393
469
|
price_groups: AccountGroupsAPI.ListAccountGroup | null;
|
|
394
470
|
/**
|
|
395
|
-
*
|
|
471
|
+
* The customer's position in the account hierarchy.
|
|
472
|
+
*
|
|
473
|
+
* - `standalone`: no parent or child accounts.
|
|
474
|
+
* - `parent`: has one or more child accounts (see `child_accounts`).
|
|
475
|
+
* - `child`: belongs to a parent account (see `parent_account`).
|
|
396
476
|
*/
|
|
397
477
|
relationship_type: 'standalone' | 'parent' | 'child';
|
|
398
478
|
/**
|
|
399
|
-
*
|
|
479
|
+
* A saved address that can be used for billing and shipping on sales orders,
|
|
480
|
+
* invoices, and shipments.
|
|
400
481
|
*/
|
|
401
482
|
ship_to_address: APIKeysAPI.Address | null;
|
|
402
483
|
/**
|
|
403
|
-
* Account status code.
|
|
484
|
+
* Account status code, controlling whether the customer can transact.
|
|
485
|
+
*
|
|
486
|
+
* - `normal`: standard active account with no restrictions.
|
|
487
|
+
* - `preferred`: active account flagged as preferred.
|
|
488
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
489
|
+
* - `hold_all`: all activity is on hold.
|
|
404
490
|
*/
|
|
405
491
|
status: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
406
492
|
/**
|
|
407
|
-
*
|
|
493
|
+
* A named grouping of customer accounts, used for pricing rules or to categorize
|
|
494
|
+
* accounts.
|
|
408
495
|
*/
|
|
409
496
|
type: AccountGroupsAPI.AccountGroup | null;
|
|
410
497
|
/**
|
|
@@ -442,19 +529,24 @@ export interface CustomerDefaults {
|
|
|
442
529
|
*/
|
|
443
530
|
object: 'customer_defaults';
|
|
444
531
|
/**
|
|
445
|
-
*
|
|
532
|
+
* A payment term describing when payment is due (e.g. `Net 30`), assignable to
|
|
533
|
+
* customers, sales orders, purchase orders, and invoices.
|
|
446
534
|
*/
|
|
447
535
|
payment_term: PaymentTerm | null;
|
|
448
536
|
/**
|
|
449
|
-
* Priority level used
|
|
537
|
+
* Priority level used to order work on sales orders, purchase orders, and picks.
|
|
450
538
|
*/
|
|
451
539
|
priority: PrioritiesAPI.Priority | null;
|
|
452
540
|
/**
|
|
453
|
-
*
|
|
541
|
+
* A user's membership in an account, carrying the account-specific status, role,
|
|
542
|
+
* and department.
|
|
543
|
+
*
|
|
544
|
+
* Profile fields (name, email, username, image URL) live on the expandable `user`
|
|
545
|
+
* sub-resource, which is shared across every account the user belongs to.
|
|
454
546
|
*/
|
|
455
547
|
sales_rep: AccountUser | null;
|
|
456
548
|
/**
|
|
457
|
-
*
|
|
549
|
+
* A shipping term defining how freight charges are calculated for an order.
|
|
458
550
|
*/
|
|
459
551
|
shipping_term: ShippingTerm | null;
|
|
460
552
|
}
|
|
@@ -463,15 +555,22 @@ export interface CustomerDefaults {
|
|
|
463
555
|
*/
|
|
464
556
|
export interface CustomerFreightPreferences {
|
|
465
557
|
/**
|
|
466
|
-
* Carrier billing account number
|
|
558
|
+
* Carrier billing account number charged when `billing_type` is `third_party`.
|
|
467
559
|
*/
|
|
468
560
|
billing_account: string | null;
|
|
469
561
|
/**
|
|
470
|
-
*
|
|
562
|
+
* Who pays the carrier for shipments.
|
|
563
|
+
*
|
|
564
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
565
|
+
* - `third_party`: a third party is billed, using `billing_account`.
|
|
471
566
|
*/
|
|
472
567
|
billing_type: 'sender' | 'third_party' | null;
|
|
473
568
|
/**
|
|
474
|
-
*
|
|
569
|
+
* A shipping carrier configured for fulfilling orders.
|
|
570
|
+
*
|
|
571
|
+
* Carriers with a Shippo-supported `code` (`fedex`, `ups`, `usps`) are connected
|
|
572
|
+
* through Shippo for live rating and label purchase; other carriers represent
|
|
573
|
+
* self-managed shipping methods such as will call or local delivery.
|
|
475
574
|
*/
|
|
476
575
|
carrier: Carrier | null;
|
|
477
576
|
/**
|
|
@@ -483,7 +582,11 @@ export interface CustomerFreightPreferences {
|
|
|
483
582
|
*/
|
|
484
583
|
service_level: ServiceLevel | null;
|
|
485
584
|
/**
|
|
486
|
-
* Freight policy.
|
|
585
|
+
* Freight policy applied to this customer's orders.
|
|
586
|
+
*
|
|
587
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
588
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden
|
|
589
|
+
* elsewhere.
|
|
487
590
|
*/
|
|
488
591
|
status: 'free_freight' | 'billed_freight';
|
|
489
592
|
}
|
|
@@ -501,7 +604,8 @@ export interface CustomerNotificationPreferences {
|
|
|
501
604
|
object: 'customer_notification_preferences';
|
|
502
605
|
}
|
|
503
606
|
/**
|
|
504
|
-
*
|
|
607
|
+
* A functional area of a production operation, such as fabrication or packaging,
|
|
608
|
+
* that groups scanning stations and machines.
|
|
505
609
|
*/
|
|
506
610
|
export interface Department {
|
|
507
611
|
/**
|
|
@@ -513,7 +617,8 @@ export interface Department {
|
|
|
513
617
|
*/
|
|
514
618
|
created_at: string;
|
|
515
619
|
/**
|
|
516
|
-
*
|
|
620
|
+
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
621
|
+
* parent-child hierarchy.
|
|
517
622
|
*/
|
|
518
623
|
location: Location | null;
|
|
519
624
|
/**
|
|
@@ -521,11 +626,13 @@ export interface Department {
|
|
|
521
626
|
*/
|
|
522
627
|
machines: ListMachine | null;
|
|
523
628
|
/**
|
|
524
|
-
* Display name.
|
|
629
|
+
* Display name of the department.
|
|
630
|
+
*
|
|
631
|
+
* Unique within the account.
|
|
525
632
|
*/
|
|
526
633
|
name: string;
|
|
527
634
|
/**
|
|
528
|
-
*
|
|
635
|
+
* Free-form notes about the department.
|
|
529
636
|
*/
|
|
530
637
|
notes: string | null;
|
|
531
638
|
/**
|
|
@@ -661,7 +768,8 @@ export interface ListServiceLevel {
|
|
|
661
768
|
page_info: APIKeysAPI.PageInfo;
|
|
662
769
|
}
|
|
663
770
|
/**
|
|
664
|
-
*
|
|
771
|
+
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
772
|
+
* parent-child hierarchy.
|
|
665
773
|
*/
|
|
666
774
|
export interface Location {
|
|
667
775
|
/**
|
|
@@ -677,7 +785,7 @@ export interface Location {
|
|
|
677
785
|
*/
|
|
678
786
|
created_at: string;
|
|
679
787
|
/**
|
|
680
|
-
* Display name.
|
|
788
|
+
* Display name of the location.
|
|
681
789
|
*/
|
|
682
790
|
name: string;
|
|
683
791
|
/**
|
|
@@ -685,20 +793,30 @@ export interface Location {
|
|
|
685
793
|
*/
|
|
686
794
|
object: 'location';
|
|
687
795
|
/**
|
|
688
|
-
*
|
|
796
|
+
* A physical storage location, such as a warehouse, aisle, or bin, arranged in a
|
|
797
|
+
* parent-child hierarchy.
|
|
689
798
|
*/
|
|
690
799
|
parent: Location | null;
|
|
691
800
|
/**
|
|
692
|
-
* Location type code.
|
|
801
|
+
* Location type code, identifying this location's level in the storage hierarchy.
|
|
802
|
+
*
|
|
803
|
+
* - `building`: a building-level location.
|
|
804
|
+
* - `section`: a section within a building.
|
|
805
|
+
* - `aisle`: an aisle within a section.
|
|
806
|
+
* - `rack`: a rack within an aisle.
|
|
807
|
+
* - `shelf`: a shelf within a rack.
|
|
808
|
+
* - `bin`: a bin within a shelf.
|
|
693
809
|
*/
|
|
694
|
-
type:
|
|
810
|
+
type: LocationTypeCode;
|
|
695
811
|
/**
|
|
696
812
|
* Last-updated timestamp.
|
|
697
813
|
*/
|
|
698
814
|
updated_at: string;
|
|
699
815
|
}
|
|
816
|
+
export type LocationTypeCode = 'building' | 'section' | 'aisle' | 'rack' | 'shelf' | 'bin';
|
|
700
817
|
/**
|
|
701
|
-
*
|
|
818
|
+
* A piece of production equipment, such as a CNC router or press, assigned to a
|
|
819
|
+
* department.
|
|
702
820
|
*/
|
|
703
821
|
export interface Machine {
|
|
704
822
|
/**
|
|
@@ -710,15 +828,18 @@ export interface Machine {
|
|
|
710
828
|
*/
|
|
711
829
|
created_at: string;
|
|
712
830
|
/**
|
|
713
|
-
*
|
|
831
|
+
* A functional area of a production operation, such as fabrication or packaging,
|
|
832
|
+
* that groups scanning stations and machines.
|
|
714
833
|
*/
|
|
715
834
|
department: Department | null;
|
|
716
835
|
/**
|
|
717
|
-
* Display name.
|
|
836
|
+
* Display name of the machine.
|
|
837
|
+
*
|
|
838
|
+
* Unique within the account.
|
|
718
839
|
*/
|
|
719
840
|
name: string;
|
|
720
841
|
/**
|
|
721
|
-
*
|
|
842
|
+
* Free-form notes about the machine.
|
|
722
843
|
*/
|
|
723
844
|
notes: string | null;
|
|
724
845
|
/**
|
|
@@ -726,7 +847,7 @@ export interface Machine {
|
|
|
726
847
|
*/
|
|
727
848
|
object: 'machine';
|
|
728
849
|
/**
|
|
729
|
-
* Serial number.
|
|
850
|
+
* Serial number of the machine.
|
|
730
851
|
*/
|
|
731
852
|
serial_number: string;
|
|
732
853
|
/**
|
|
@@ -735,7 +856,8 @@ export interface Machine {
|
|
|
735
856
|
updated_at: string;
|
|
736
857
|
}
|
|
737
858
|
/**
|
|
738
|
-
*
|
|
859
|
+
* A payment term describing when payment is due (e.g. `Net 30`), assignable to
|
|
860
|
+
* customers, sales orders, purchase orders, and invoices.
|
|
739
861
|
*/
|
|
740
862
|
export interface PaymentTerm {
|
|
741
863
|
/**
|
|
@@ -747,7 +869,7 @@ export interface PaymentTerm {
|
|
|
747
869
|
*/
|
|
748
870
|
created_at: string;
|
|
749
871
|
/**
|
|
750
|
-
* Display name.
|
|
872
|
+
* Display name (e.g. `Net 30`).
|
|
751
873
|
*/
|
|
752
874
|
name: string;
|
|
753
875
|
/**
|
|
@@ -759,7 +881,7 @@ export interface PaymentTerm {
|
|
|
759
881
|
*/
|
|
760
882
|
owner: APIKeysAPI.Owner | null;
|
|
761
883
|
/**
|
|
762
|
-
*
|
|
884
|
+
* Lifecycle status of the payment term.
|
|
763
885
|
*/
|
|
764
886
|
status: 'active' | 'inactive';
|
|
765
887
|
/**
|
|
@@ -768,7 +890,7 @@ export interface PaymentTerm {
|
|
|
768
890
|
updated_at: string;
|
|
769
891
|
}
|
|
770
892
|
/**
|
|
771
|
-
*
|
|
893
|
+
* The output of a production step: the item it produces and the quantity produced.
|
|
772
894
|
*/
|
|
773
895
|
export interface ProductionOutput {
|
|
774
896
|
/**
|
|
@@ -797,7 +919,8 @@ export interface ProductionOutput {
|
|
|
797
919
|
updated_at: string;
|
|
798
920
|
}
|
|
799
921
|
/**
|
|
800
|
-
*
|
|
922
|
+
* A single stage of work in an item's production flow, with its output, material
|
|
923
|
+
* inputs, cost rates, and graph connections.
|
|
801
924
|
*/
|
|
802
925
|
export interface ProductionStep {
|
|
803
926
|
/**
|
|
@@ -805,7 +928,11 @@ export interface ProductionStep {
|
|
|
805
928
|
*/
|
|
806
929
|
id: string;
|
|
807
930
|
/**
|
|
808
|
-
*
|
|
931
|
+
* Allowance correction factor applied to labor time in cost calculations, as a
|
|
932
|
+
* decimal string.
|
|
933
|
+
*
|
|
934
|
+
* Effective labor time per unit is
|
|
935
|
+
* `labor_time × (1 + leveling_factor) × (1 + allowances)`.
|
|
809
936
|
*/
|
|
810
937
|
allowances: string;
|
|
811
938
|
/**
|
|
@@ -817,7 +944,8 @@ export interface ProductionStep {
|
|
|
817
944
|
*/
|
|
818
945
|
created_at: string;
|
|
819
946
|
/**
|
|
820
|
-
*
|
|
947
|
+
* A functional area of a production operation, such as fabrication or packaging,
|
|
948
|
+
* that groups scanning stations and machines.
|
|
821
949
|
*/
|
|
822
950
|
department: Department | null;
|
|
823
951
|
/**
|
|
@@ -825,15 +953,21 @@ export interface ProductionStep {
|
|
|
825
953
|
*/
|
|
826
954
|
in_steps: ListProductionStep | null;
|
|
827
955
|
/**
|
|
828
|
-
*
|
|
956
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
957
|
+
* throughput per hour.
|
|
829
958
|
*/
|
|
830
959
|
labor_rate: ItemsAPI.Rate | null;
|
|
831
960
|
/**
|
|
832
|
-
*
|
|
961
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
962
|
+
* throughput per hour.
|
|
833
963
|
*/
|
|
834
964
|
labor_time: ItemsAPI.Rate | null;
|
|
835
965
|
/**
|
|
836
|
-
* Leveling factor as a
|
|
966
|
+
* Leveling correction factor applied to labor time in cost calculations, as a
|
|
967
|
+
* decimal string.
|
|
968
|
+
*
|
|
969
|
+
* Effective labor time per unit is
|
|
970
|
+
* `labor_time × (1 + leveling_factor) × (1 + allowances)`.
|
|
837
971
|
*/
|
|
838
972
|
leveling_factor: string;
|
|
839
973
|
/**
|
|
@@ -841,11 +975,11 @@ export interface ProductionStep {
|
|
|
841
975
|
*/
|
|
842
976
|
machines: ListMachine | null;
|
|
843
977
|
/**
|
|
844
|
-
* Display name.
|
|
978
|
+
* Display name of the step.
|
|
845
979
|
*/
|
|
846
980
|
name: string;
|
|
847
981
|
/**
|
|
848
|
-
*
|
|
982
|
+
* Free-form notes about the step.
|
|
849
983
|
*/
|
|
850
984
|
notes: string | null;
|
|
851
985
|
/**
|
|
@@ -857,15 +991,17 @@ export interface ProductionStep {
|
|
|
857
991
|
*/
|
|
858
992
|
out_steps: ListProductionStep | null;
|
|
859
993
|
/**
|
|
860
|
-
*
|
|
994
|
+
* Value expressed as a ratio of two units, such as a price per kilogram or a
|
|
995
|
+
* throughput per hour.
|
|
861
996
|
*/
|
|
862
997
|
overhead_rate: ItemsAPI.Rate | null;
|
|
863
998
|
/**
|
|
864
|
-
*
|
|
999
|
+
* The output of a production step: the item it produces and the quantity produced.
|
|
865
1000
|
*/
|
|
866
1001
|
production: ProductionOutput | null;
|
|
867
1002
|
/**
|
|
868
|
-
*
|
|
1003
|
+
* A station on the production floor where operators scan batches to perform a
|
|
1004
|
+
* batch operation, such as initializing or moving a batch.
|
|
869
1005
|
*/
|
|
870
1006
|
scanning_station: ScanningStation | null;
|
|
871
1007
|
/**
|
|
@@ -874,21 +1010,21 @@ export interface ProductionStep {
|
|
|
874
1010
|
updated_at: string;
|
|
875
1011
|
}
|
|
876
1012
|
/**
|
|
877
|
-
*
|
|
878
|
-
* requests.
|
|
1013
|
+
* A value with an associated unit, used in create and update requests.
|
|
879
1014
|
*/
|
|
880
1015
|
export interface QuantityInput {
|
|
881
1016
|
/**
|
|
882
|
-
*
|
|
1017
|
+
* ID of the unit of measure for the value.
|
|
883
1018
|
*/
|
|
884
1019
|
unit_id: string;
|
|
885
1020
|
/**
|
|
886
|
-
*
|
|
1021
|
+
* Decimal value, as a string to preserve precision.
|
|
887
1022
|
*/
|
|
888
1023
|
value: string;
|
|
889
1024
|
}
|
|
890
1025
|
/**
|
|
891
|
-
*
|
|
1026
|
+
* A station on the production floor where operators scan batches to perform a
|
|
1027
|
+
* batch operation, such as initializing or moving a batch.
|
|
892
1028
|
*/
|
|
893
1029
|
export interface ScanningStation {
|
|
894
1030
|
/**
|
|
@@ -900,23 +1036,31 @@ export interface ScanningStation {
|
|
|
900
1036
|
*/
|
|
901
1037
|
created_at: string;
|
|
902
1038
|
/**
|
|
903
|
-
*
|
|
1039
|
+
* A functional area of a production operation, such as fabrication or packaging,
|
|
1040
|
+
* that groups scanning stations and machines.
|
|
904
1041
|
*/
|
|
905
1042
|
department: Department | null;
|
|
906
1043
|
/**
|
|
907
|
-
*
|
|
1044
|
+
* Size of the labels printed at this station, given as width-by-height (for
|
|
1045
|
+
* example, `1x1`).
|
|
908
1046
|
*/
|
|
909
1047
|
label_size: '1x1' | '1x3' | '1x4' | '2x4' | null;
|
|
910
1048
|
/**
|
|
911
|
-
*
|
|
1049
|
+
* Type of label printed at this station.
|
|
1050
|
+
*
|
|
1051
|
+
* - `tag`: a label attached to the physical product.
|
|
1052
|
+
* - `traveler`: a routing sheet that accompanies the batch through every
|
|
1053
|
+
* production step.
|
|
912
1054
|
*/
|
|
913
1055
|
label_type: 'tag' | 'traveler' | null;
|
|
914
1056
|
/**
|
|
915
|
-
* Display name.
|
|
1057
|
+
* Display name of the scanning station.
|
|
1058
|
+
*
|
|
1059
|
+
* Unique within the account.
|
|
916
1060
|
*/
|
|
917
1061
|
name: string;
|
|
918
1062
|
/**
|
|
919
|
-
*
|
|
1063
|
+
* Free-form notes about the scanning station.
|
|
920
1064
|
*/
|
|
921
1065
|
notes: string | null;
|
|
922
1066
|
/**
|
|
@@ -924,7 +1068,10 @@ export interface ScanningStation {
|
|
|
924
1068
|
*/
|
|
925
1069
|
object: 'scanning_station';
|
|
926
1070
|
/**
|
|
927
|
-
*
|
|
1071
|
+
* Whether operators must perform a material check at this station.
|
|
1072
|
+
*
|
|
1073
|
+
* - `none`: no additional operator check is required.
|
|
1074
|
+
* - `material_check`: a material check is expected before the operation.
|
|
928
1075
|
*/
|
|
929
1076
|
operator_requirement: 'none' | 'material_check';
|
|
930
1077
|
/**
|
|
@@ -932,7 +1079,12 @@ export interface ScanningStation {
|
|
|
932
1079
|
*/
|
|
933
1080
|
production_steps: ListProductionStep | null;
|
|
934
1081
|
/**
|
|
935
|
-
* Scanning station type.
|
|
1082
|
+
* Scanning station type, determining which batch operation the station performs.
|
|
1083
|
+
*
|
|
1084
|
+
* - `init_batch`: initializes a new batch.
|
|
1085
|
+
* - `merge_batch`: merges multiple batches into one.
|
|
1086
|
+
* - `move_batch`: moves a batch to another location or step.
|
|
1087
|
+
* - `split_batch`: splits a batch into multiple batches.
|
|
936
1088
|
*/
|
|
937
1089
|
type: 'init_batch' | 'merge_batch' | 'move_batch' | 'split_batch';
|
|
938
1090
|
/**
|
|
@@ -953,15 +1105,21 @@ export interface ServiceLevel {
|
|
|
953
1105
|
*/
|
|
954
1106
|
created_at: string;
|
|
955
1107
|
/**
|
|
956
|
-
*
|
|
1108
|
+
* Whether customers can see and select this service level at checkout in the
|
|
1109
|
+
* customer portal.
|
|
957
1110
|
*/
|
|
958
1111
|
customer_portal_visibility: 'visible' | 'hidden';
|
|
959
1112
|
/**
|
|
960
|
-
*
|
|
1113
|
+
* Whether this is the carrier's default service level, pre-selected when the
|
|
1114
|
+
* carrier is chosen.
|
|
1115
|
+
*
|
|
1116
|
+
* Each carrier has at most one default; setting a new default clears the previous
|
|
1117
|
+
* one.
|
|
961
1118
|
*/
|
|
962
1119
|
is_default: boolean;
|
|
963
1120
|
/**
|
|
964
|
-
*
|
|
1121
|
+
* Human-readable name for the service level, shown to customers at checkout when
|
|
1122
|
+
* the service level is visible.
|
|
965
1123
|
*/
|
|
966
1124
|
name: string;
|
|
967
1125
|
/**
|
|
@@ -973,7 +1131,10 @@ export interface ServiceLevel {
|
|
|
973
1131
|
*/
|
|
974
1132
|
owner: APIKeysAPI.Owner | null;
|
|
975
1133
|
/**
|
|
976
|
-
*
|
|
1134
|
+
* Carrier-specific code identifying this service level (e.g. `fedex_ground`,
|
|
1135
|
+
* `ups_next_day_air`).
|
|
1136
|
+
*
|
|
1137
|
+
* Values are carrier-defined, so any non-empty string is accepted.
|
|
977
1138
|
*/
|
|
978
1139
|
service_level_token: string;
|
|
979
1140
|
/**
|
|
@@ -982,7 +1143,7 @@ export interface ServiceLevel {
|
|
|
982
1143
|
updated_at: string;
|
|
983
1144
|
}
|
|
984
1145
|
/**
|
|
985
|
-
*
|
|
1146
|
+
* A shipping term defining how freight charges are calculated for an order.
|
|
986
1147
|
*/
|
|
987
1148
|
export interface ShippingTerm {
|
|
988
1149
|
/**
|
|
@@ -1006,7 +1167,8 @@ export interface ShippingTerm {
|
|
|
1006
1167
|
*/
|
|
1007
1168
|
minimum_order_value: ItemsAPI.Quantity | null;
|
|
1008
1169
|
/**
|
|
1009
|
-
*
|
|
1170
|
+
* Human-readable name for the shipping term, used to identify it when assigning
|
|
1171
|
+
* shipping terms to customers and orders.
|
|
1010
1172
|
*/
|
|
1011
1173
|
name: string;
|
|
1012
1174
|
/**
|
|
@@ -1018,7 +1180,13 @@ export interface ShippingTerm {
|
|
|
1018
1180
|
*/
|
|
1019
1181
|
owner: APIKeysAPI.Owner | null;
|
|
1020
1182
|
/**
|
|
1021
|
-
*
|
|
1183
|
+
* Freight pricing model applied by this shipping term.
|
|
1184
|
+
*
|
|
1185
|
+
* - `free_freight`: no shipping cost to the buyer.
|
|
1186
|
+
* - `flat_rate_freight`: a fixed shipping cost regardless of order details (see
|
|
1187
|
+
* `flat_rate`).
|
|
1188
|
+
* - `carrier_rate_freight`: shipping cost is determined by the carrier's quoted
|
|
1189
|
+
* rate.
|
|
1022
1190
|
*/
|
|
1023
1191
|
type: 'free_freight' | 'flat_rate_freight' | 'carrier_rate_freight';
|
|
1024
1192
|
/**
|
|
@@ -1031,36 +1199,47 @@ export interface ShippingTerm {
|
|
|
1031
1199
|
*/
|
|
1032
1200
|
export interface UpdateCustomerRequest {
|
|
1033
1201
|
/**
|
|
1034
|
-
*
|
|
1202
|
+
* ID of an existing address to use as the default billing address.
|
|
1035
1203
|
*/
|
|
1036
1204
|
bill_to_address_id?: string | null;
|
|
1037
1205
|
/**
|
|
1038
|
-
* Carrier billing account number
|
|
1206
|
+
* Carrier billing account number charged when `carrier_billing_type` is
|
|
1207
|
+
* `third_party`.
|
|
1039
1208
|
*/
|
|
1040
1209
|
carrier_billing_account?: string | null;
|
|
1041
1210
|
/**
|
|
1042
|
-
*
|
|
1211
|
+
* Who pays the carrier for shipments.
|
|
1212
|
+
*
|
|
1213
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
1214
|
+
* - `third_party`: a third party is billed, using `carrier_billing_account`.
|
|
1043
1215
|
*/
|
|
1044
1216
|
carrier_billing_type?: 'sender' | 'third_party';
|
|
1045
1217
|
/**
|
|
1046
|
-
*
|
|
1218
|
+
* How sales commission applies to this customer's orders.
|
|
1219
|
+
*
|
|
1220
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
1221
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
1222
|
+
* orders.
|
|
1047
1223
|
*/
|
|
1048
1224
|
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
1049
1225
|
/**
|
|
1050
|
-
*
|
|
1051
|
-
* requests.
|
|
1226
|
+
* A value with an associated unit, used in create and update requests.
|
|
1052
1227
|
*/
|
|
1053
1228
|
credit_limit?: QuantityInput | null;
|
|
1054
1229
|
/**
|
|
1055
|
-
*
|
|
1230
|
+
* IDs of the account groups of type `pricing_group` to assign to this customer,
|
|
1231
|
+
* used to apply pricing rules.
|
|
1232
|
+
*
|
|
1233
|
+
* When provided, replaces the customer's full set of existing price groups.
|
|
1056
1234
|
*/
|
|
1057
1235
|
customer_price_group_ids?: Array<string>;
|
|
1058
1236
|
/**
|
|
1059
|
-
*
|
|
1237
|
+
* ID of the account group of type `type_group` that categorizes this customer (for
|
|
1238
|
+
* example "Distributors").
|
|
1060
1239
|
*/
|
|
1061
1240
|
customer_type_group_id?: string;
|
|
1062
1241
|
/**
|
|
1063
|
-
*
|
|
1242
|
+
* ID of the default carrier for this customer's shipments.
|
|
1064
1243
|
*/
|
|
1065
1244
|
default_carrier_id?: string;
|
|
1066
1245
|
/**
|
|
@@ -1068,7 +1247,7 @@ export interface UpdateCustomerRequest {
|
|
|
1068
1247
|
*/
|
|
1069
1248
|
default_payment_term_id?: string;
|
|
1070
1249
|
/**
|
|
1071
|
-
*
|
|
1250
|
+
* Priority applied to new orders for this customer.
|
|
1072
1251
|
*/
|
|
1073
1252
|
default_priority?: 'low' | 'normal' | 'high';
|
|
1074
1253
|
/**
|
|
@@ -1076,7 +1255,7 @@ export interface UpdateCustomerRequest {
|
|
|
1076
1255
|
*/
|
|
1077
1256
|
default_sales_rep_id?: string | null;
|
|
1078
1257
|
/**
|
|
1079
|
-
*
|
|
1258
|
+
* ID of the default carrier service level.
|
|
1080
1259
|
*/
|
|
1081
1260
|
default_service_level_id?: string | null;
|
|
1082
1261
|
/**
|
|
@@ -1084,59 +1263,218 @@ export interface UpdateCustomerRequest {
|
|
|
1084
1263
|
*/
|
|
1085
1264
|
default_shipping_term_id?: string;
|
|
1086
1265
|
/**
|
|
1087
|
-
* EDI
|
|
1266
|
+
* Whether EDI (Electronic Data Interchange) is enabled for exchanging orders and
|
|
1267
|
+
* documents with this customer.
|
|
1088
1268
|
*/
|
|
1089
1269
|
edi_status?: 'enabled' | 'disabled';
|
|
1090
1270
|
/**
|
|
1091
|
-
* Email address.
|
|
1271
|
+
* Email address.
|
|
1092
1272
|
*/
|
|
1093
1273
|
email?: string | null;
|
|
1094
1274
|
/**
|
|
1095
|
-
*
|
|
1275
|
+
* Whether this customer is billed for freight on their orders.
|
|
1276
|
+
*
|
|
1277
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
1278
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden on the
|
|
1279
|
+
* order.
|
|
1096
1280
|
*/
|
|
1097
1281
|
freight_policy?: 'free_freight' | 'billed_freight';
|
|
1098
1282
|
/**
|
|
1099
|
-
*
|
|
1283
|
+
* The customer's business name, as shown throughout the app and on documents.
|
|
1100
1284
|
*/
|
|
1101
1285
|
name?: string;
|
|
1102
1286
|
/**
|
|
1103
|
-
*
|
|
1287
|
+
* Free-form note about the customer.
|
|
1104
1288
|
*/
|
|
1105
1289
|
note?: string | null;
|
|
1106
1290
|
/**
|
|
1107
|
-
*
|
|
1291
|
+
* Human-readable customer number used to identify the account, distinct from the
|
|
1292
|
+
* `id`.
|
|
1293
|
+
*
|
|
1294
|
+
* Must be unique within your account.
|
|
1108
1295
|
*/
|
|
1109
1296
|
number?: string;
|
|
1110
1297
|
/**
|
|
1111
|
-
* Phone number.
|
|
1298
|
+
* Phone number.
|
|
1112
1299
|
*/
|
|
1113
1300
|
phone?: string | null;
|
|
1114
1301
|
/**
|
|
1115
|
-
*
|
|
1302
|
+
* ID of an existing address to use as the default shipping address.
|
|
1116
1303
|
*/
|
|
1117
1304
|
ship_to_address_id?: string | null;
|
|
1118
1305
|
/**
|
|
1119
|
-
* Account status code.
|
|
1306
|
+
* Account status code, controlling whether the customer can transact.
|
|
1307
|
+
*
|
|
1308
|
+
* - `normal`: standard active account with no restrictions.
|
|
1309
|
+
* - `preferred`: active account flagged as preferred.
|
|
1310
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
1311
|
+
* - `hold_all`: all activity is on hold.
|
|
1120
1312
|
*/
|
|
1121
1313
|
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
1122
1314
|
/**
|
|
1123
|
-
* Website URL.
|
|
1315
|
+
* Website URL.
|
|
1124
1316
|
*/
|
|
1125
1317
|
url?: string | null;
|
|
1126
1318
|
}
|
|
1319
|
+
/**
|
|
1320
|
+
* A user's global profile, shared across every account they belong to.
|
|
1321
|
+
*
|
|
1322
|
+
* Account-specific settings (status, role, department) live on the account user
|
|
1323
|
+
* resource that links the user to each account.
|
|
1324
|
+
*/
|
|
1325
|
+
export interface User {
|
|
1326
|
+
/**
|
|
1327
|
+
* User ID.
|
|
1328
|
+
*/
|
|
1329
|
+
id: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* Creation timestamp.
|
|
1332
|
+
*/
|
|
1333
|
+
created_at: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* Email address.
|
|
1336
|
+
*/
|
|
1337
|
+
email: string | null;
|
|
1338
|
+
/**
|
|
1339
|
+
* When the user verified their email address.
|
|
1340
|
+
*/
|
|
1341
|
+
email_verified_at: string | null;
|
|
1342
|
+
/**
|
|
1343
|
+
* URL of the user's profile image.
|
|
1344
|
+
*/
|
|
1345
|
+
image_url: string | null;
|
|
1346
|
+
/**
|
|
1347
|
+
* User's full display name.
|
|
1348
|
+
*/
|
|
1349
|
+
name: string | null;
|
|
1350
|
+
/**
|
|
1351
|
+
* Resource type identifier.
|
|
1352
|
+
*/
|
|
1353
|
+
object: 'user';
|
|
1354
|
+
/**
|
|
1355
|
+
* Last updated timestamp.
|
|
1356
|
+
*/
|
|
1357
|
+
updated_at: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* Username.
|
|
1360
|
+
*/
|
|
1361
|
+
username: string | null;
|
|
1362
|
+
}
|
|
1127
1363
|
export interface CustomerDeleteResponse {
|
|
1128
1364
|
}
|
|
1365
|
+
export interface CustomerListParams {
|
|
1366
|
+
/**
|
|
1367
|
+
* Filter by default carrier IDs.
|
|
1368
|
+
*/
|
|
1369
|
+
carrier_ids?: Array<string>;
|
|
1370
|
+
/**
|
|
1371
|
+
* Filter to customers with any address in this city (exact match).
|
|
1372
|
+
*
|
|
1373
|
+
* When combined with `state` or `postal_code`, a single address must match all
|
|
1374
|
+
* provided values.
|
|
1375
|
+
*/
|
|
1376
|
+
city?: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* Filter by commission policy.
|
|
1379
|
+
*/
|
|
1380
|
+
commission_status_codes?: Array<'commission_applied' | 'commission_exempt'>;
|
|
1381
|
+
/**
|
|
1382
|
+
* Opaque cursor token identifying where the page of results starts.
|
|
1383
|
+
*
|
|
1384
|
+
* Use the `cursor` value embedded in a previous response's `next_page_url` or
|
|
1385
|
+
* `previous_page_url` to fetch the adjacent page. Omit to start from the first
|
|
1386
|
+
* page.
|
|
1387
|
+
*/
|
|
1388
|
+
cursor?: string;
|
|
1389
|
+
/**
|
|
1390
|
+
* Filter by customer type group IDs (the account group of type `type_group`
|
|
1391
|
+
* returned in the customer's `type` field).
|
|
1392
|
+
*/
|
|
1393
|
+
customer_group_ids?: Array<string>;
|
|
1394
|
+
/**
|
|
1395
|
+
* Filter to customers created at or before this timestamp (inclusive).
|
|
1396
|
+
*/
|
|
1397
|
+
end_date?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* Filter by freight policy.
|
|
1400
|
+
*/
|
|
1401
|
+
freight_status_codes?: Array<'free_freight' | 'billed_freight'>;
|
|
1402
|
+
/**
|
|
1403
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
1404
|
+
* `null`.
|
|
1405
|
+
*/
|
|
1406
|
+
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.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Maximum number of results to return in a single page.
|
|
1409
|
+
*/
|
|
1410
|
+
limit?: number;
|
|
1411
|
+
/**
|
|
1412
|
+
* Filter by whether the customer has child accounts.
|
|
1413
|
+
*/
|
|
1414
|
+
parent_account_status?: 'parent' | 'non_parent';
|
|
1415
|
+
/**
|
|
1416
|
+
* Filter by default payment term IDs.
|
|
1417
|
+
*/
|
|
1418
|
+
payment_term_ids?: Array<string>;
|
|
1419
|
+
/**
|
|
1420
|
+
* Filter to customers with any address in this postal code (exact match).
|
|
1421
|
+
*/
|
|
1422
|
+
postal_code?: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* Filter to customers that belong to any of these pricing groups.
|
|
1425
|
+
*/
|
|
1426
|
+
pricing_group_ids?: Array<string>;
|
|
1427
|
+
/**
|
|
1428
|
+
* Free-text search term used to filter results.
|
|
1429
|
+
*
|
|
1430
|
+
* Which fields are matched against the term varies by endpoint.
|
|
1431
|
+
*/
|
|
1432
|
+
q?: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* Filter by default sales rep IDs.
|
|
1435
|
+
*/
|
|
1436
|
+
sales_rep_ids?: Array<string>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Filter by default service level IDs.
|
|
1439
|
+
*/
|
|
1440
|
+
service_level_ids?: Array<string>;
|
|
1441
|
+
/**
|
|
1442
|
+
* Filter by default shipping term IDs.
|
|
1443
|
+
*/
|
|
1444
|
+
shipping_term_ids?: Array<string>;
|
|
1445
|
+
/**
|
|
1446
|
+
* Filter to customers created at or after this timestamp (inclusive).
|
|
1447
|
+
*/
|
|
1448
|
+
start_date?: string;
|
|
1449
|
+
/**
|
|
1450
|
+
* Filter to customers with any address in this state (exact match).
|
|
1451
|
+
*/
|
|
1452
|
+
state?: string;
|
|
1453
|
+
/**
|
|
1454
|
+
* Filter by account status codes.
|
|
1455
|
+
*/
|
|
1456
|
+
status_codes?: Array<'normal' | 'preferred' | 'hold_shipment' | 'hold_all'>;
|
|
1457
|
+
}
|
|
1458
|
+
export interface CustomerRetrieveParams {
|
|
1459
|
+
/**
|
|
1460
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
1461
|
+
* `null`.
|
|
1462
|
+
*/
|
|
1463
|
+
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.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
1464
|
+
}
|
|
1129
1465
|
export interface CustomerCreateParams {
|
|
1130
1466
|
/**
|
|
1131
|
-
* Body param:
|
|
1467
|
+
* Body param: Address details used to create an address, either directly or inline
|
|
1468
|
+
* on another resource.
|
|
1132
1469
|
*/
|
|
1133
1470
|
bill_to_address: AddressesAPI.AddressInput;
|
|
1134
1471
|
/**
|
|
1135
|
-
* Body param:
|
|
1472
|
+
* Body param: ID of the account group of type `type_group` that categorizes this
|
|
1473
|
+
* customer (for example "Distributors").
|
|
1136
1474
|
*/
|
|
1137
1475
|
customer_type_group_id: string;
|
|
1138
1476
|
/**
|
|
1139
|
-
* Body param:
|
|
1477
|
+
* Body param: ID of the default carrier for this customer's shipments.
|
|
1140
1478
|
*/
|
|
1141
1479
|
default_carrier_id: string;
|
|
1142
1480
|
/**
|
|
@@ -1148,41 +1486,51 @@ export interface CustomerCreateParams {
|
|
|
1148
1486
|
*/
|
|
1149
1487
|
default_shipping_term_id: string;
|
|
1150
1488
|
/**
|
|
1151
|
-
* Body param:
|
|
1489
|
+
* Body param: The customer's business name, as shown throughout the app and on
|
|
1490
|
+
* documents.
|
|
1152
1491
|
*/
|
|
1153
1492
|
name: string;
|
|
1154
1493
|
/**
|
|
1155
|
-
* Body param:
|
|
1494
|
+
* Body param: Address details used to create an address, either directly or inline
|
|
1495
|
+
* on another resource.
|
|
1156
1496
|
*/
|
|
1157
1497
|
ship_to_address: AddressesAPI.AddressInput;
|
|
1158
1498
|
/**
|
|
1159
1499
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
1160
1500
|
* are returned as `null`.
|
|
1161
1501
|
*/
|
|
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'>;
|
|
1502
|
+
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.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
1163
1503
|
/**
|
|
1164
|
-
* Body param: Carrier billing account number
|
|
1504
|
+
* Body param: Carrier billing account number charged when `carrier_billing_type`
|
|
1505
|
+
* is `third_party`.
|
|
1165
1506
|
*/
|
|
1166
1507
|
carrier_billing_account?: string;
|
|
1167
1508
|
/**
|
|
1168
|
-
* Body param:
|
|
1509
|
+
* Body param: Who pays the carrier for shipments.
|
|
1510
|
+
*
|
|
1511
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
1512
|
+
* - `third_party`: a third party is billed, using `carrier_billing_account`.
|
|
1169
1513
|
*/
|
|
1170
1514
|
carrier_billing_type?: 'sender' | 'third_party';
|
|
1171
1515
|
/**
|
|
1172
|
-
* Body param:
|
|
1516
|
+
* Body param: How sales commission applies to this customer's orders.
|
|
1517
|
+
*
|
|
1518
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
1519
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
1520
|
+
* orders.
|
|
1173
1521
|
*/
|
|
1174
1522
|
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
1175
1523
|
/**
|
|
1176
|
-
* Body param:
|
|
1177
|
-
* create/update requests.
|
|
1524
|
+
* Body param: A value with an associated unit, used in create and update requests.
|
|
1178
1525
|
*/
|
|
1179
1526
|
credit_limit?: QuantityInput;
|
|
1180
1527
|
/**
|
|
1181
|
-
* Body param:
|
|
1528
|
+
* Body param: IDs of the account groups of type `pricing_group` to assign to this
|
|
1529
|
+
* customer, used to apply pricing rules.
|
|
1182
1530
|
*/
|
|
1183
1531
|
customer_price_group_ids?: Array<string>;
|
|
1184
1532
|
/**
|
|
1185
|
-
* Body param:
|
|
1533
|
+
* Body param: Priority applied to new orders for this customer.
|
|
1186
1534
|
*/
|
|
1187
1535
|
default_priority?: 'low' | 'normal' | 'high';
|
|
1188
1536
|
/**
|
|
@@ -1190,11 +1538,12 @@ export interface CustomerCreateParams {
|
|
|
1190
1538
|
*/
|
|
1191
1539
|
default_sales_rep_id?: string;
|
|
1192
1540
|
/**
|
|
1193
|
-
* Body param:
|
|
1541
|
+
* Body param: ID of the default carrier service level.
|
|
1194
1542
|
*/
|
|
1195
1543
|
default_service_level_id?: string;
|
|
1196
1544
|
/**
|
|
1197
|
-
* Body param: EDI
|
|
1545
|
+
* Body param: Whether EDI (Electronic Data Interchange) is enabled for exchanging
|
|
1546
|
+
* orders and documents with this customer.
|
|
1198
1547
|
*/
|
|
1199
1548
|
edi_status?: 'enabled' | 'disabled';
|
|
1200
1549
|
/**
|
|
@@ -1202,15 +1551,23 @@ export interface CustomerCreateParams {
|
|
|
1202
1551
|
*/
|
|
1203
1552
|
email?: string;
|
|
1204
1553
|
/**
|
|
1205
|
-
* Body param:
|
|
1554
|
+
* Body param: Whether this customer is billed for freight on their orders.
|
|
1555
|
+
*
|
|
1556
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
1557
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden on the
|
|
1558
|
+
* order.
|
|
1206
1559
|
*/
|
|
1207
1560
|
freight_policy?: 'free_freight' | 'billed_freight';
|
|
1208
1561
|
/**
|
|
1209
|
-
* Body param:
|
|
1562
|
+
* Body param: Free-form note about the customer.
|
|
1210
1563
|
*/
|
|
1211
1564
|
note?: string;
|
|
1212
1565
|
/**
|
|
1213
|
-
* Body param:
|
|
1566
|
+
* Body param: Human-readable customer number used to identify the account,
|
|
1567
|
+
* distinct from the `id`.
|
|
1568
|
+
*
|
|
1569
|
+
* Must be unique within your account. If omitted, the next sequential number is
|
|
1570
|
+
* assigned automatically.
|
|
1214
1571
|
*/
|
|
1215
1572
|
number?: string;
|
|
1216
1573
|
/**
|
|
@@ -1218,7 +1575,12 @@ export interface CustomerCreateParams {
|
|
|
1218
1575
|
*/
|
|
1219
1576
|
phone?: string;
|
|
1220
1577
|
/**
|
|
1221
|
-
* Body param: Account status code.
|
|
1578
|
+
* Body param: Account status code, controlling whether the customer can transact.
|
|
1579
|
+
*
|
|
1580
|
+
* - `normal`: standard active account with no restrictions.
|
|
1581
|
+
* - `preferred`: active account flagged as preferred.
|
|
1582
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
1583
|
+
* - `hold_all`: all activity is on hold.
|
|
1222
1584
|
*/
|
|
1223
1585
|
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
1224
1586
|
/**
|
|
@@ -1226,50 +1588,54 @@ export interface CustomerCreateParams {
|
|
|
1226
1588
|
*/
|
|
1227
1589
|
url?: string;
|
|
1228
1590
|
}
|
|
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
1591
|
export interface CustomerUpdateParams {
|
|
1237
1592
|
/**
|
|
1238
1593
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
1239
1594
|
* are returned as `null`.
|
|
1240
1595
|
*/
|
|
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'>;
|
|
1596
|
+
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.sales_rep.user' | 'defaults.priority' | 'contact_info' | 'freight_preferences' | 'defaults' | 'notification_preferences' | 'price_groups' | 'child_accounts' | 'credit_limit'>;
|
|
1242
1597
|
/**
|
|
1243
|
-
* Body param:
|
|
1598
|
+
* Body param: ID of an existing address to use as the default billing address.
|
|
1244
1599
|
*/
|
|
1245
1600
|
bill_to_address_id?: string | null;
|
|
1246
1601
|
/**
|
|
1247
|
-
* Body param: Carrier billing account number
|
|
1602
|
+
* Body param: Carrier billing account number charged when `carrier_billing_type`
|
|
1603
|
+
* is `third_party`.
|
|
1248
1604
|
*/
|
|
1249
1605
|
carrier_billing_account?: string | null;
|
|
1250
1606
|
/**
|
|
1251
|
-
* Body param:
|
|
1607
|
+
* Body param: Who pays the carrier for shipments.
|
|
1608
|
+
*
|
|
1609
|
+
* - `sender`: the shipper (you) pays the carrier.
|
|
1610
|
+
* - `third_party`: a third party is billed, using `carrier_billing_account`.
|
|
1252
1611
|
*/
|
|
1253
1612
|
carrier_billing_type?: 'sender' | 'third_party';
|
|
1254
1613
|
/**
|
|
1255
|
-
* Body param:
|
|
1614
|
+
* Body param: How sales commission applies to this customer's orders.
|
|
1615
|
+
*
|
|
1616
|
+
* - `commission_exempt`: this customer's orders are exempt from sales commission.
|
|
1617
|
+
* - `commission_applied`: sales commission is calculated on this customer's
|
|
1618
|
+
* orders.
|
|
1256
1619
|
*/
|
|
1257
1620
|
commission_policy?: 'commission_applied' | 'commission_exempt';
|
|
1258
1621
|
/**
|
|
1259
|
-
* Body param:
|
|
1260
|
-
* create/update requests.
|
|
1622
|
+
* Body param: A value with an associated unit, used in create and update requests.
|
|
1261
1623
|
*/
|
|
1262
1624
|
credit_limit?: QuantityInput | null;
|
|
1263
1625
|
/**
|
|
1264
|
-
* Body param:
|
|
1626
|
+
* Body param: IDs of the account groups of type `pricing_group` to assign to this
|
|
1627
|
+
* customer, used to apply pricing rules.
|
|
1628
|
+
*
|
|
1629
|
+
* When provided, replaces the customer's full set of existing price groups.
|
|
1265
1630
|
*/
|
|
1266
1631
|
customer_price_group_ids?: Array<string>;
|
|
1267
1632
|
/**
|
|
1268
|
-
* Body param:
|
|
1633
|
+
* Body param: ID of the account group of type `type_group` that categorizes this
|
|
1634
|
+
* customer (for example "Distributors").
|
|
1269
1635
|
*/
|
|
1270
1636
|
customer_type_group_id?: string;
|
|
1271
1637
|
/**
|
|
1272
|
-
* Body param:
|
|
1638
|
+
* Body param: ID of the default carrier for this customer's shipments.
|
|
1273
1639
|
*/
|
|
1274
1640
|
default_carrier_id?: string;
|
|
1275
1641
|
/**
|
|
@@ -1277,7 +1643,7 @@ export interface CustomerUpdateParams {
|
|
|
1277
1643
|
*/
|
|
1278
1644
|
default_payment_term_id?: string;
|
|
1279
1645
|
/**
|
|
1280
|
-
* Body param:
|
|
1646
|
+
* Body param: Priority applied to new orders for this customer.
|
|
1281
1647
|
*/
|
|
1282
1648
|
default_priority?: 'low' | 'normal' | 'high';
|
|
1283
1649
|
/**
|
|
@@ -1285,7 +1651,7 @@ export interface CustomerUpdateParams {
|
|
|
1285
1651
|
*/
|
|
1286
1652
|
default_sales_rep_id?: string | null;
|
|
1287
1653
|
/**
|
|
1288
|
-
* Body param:
|
|
1654
|
+
* Body param: ID of the default carrier service level.
|
|
1289
1655
|
*/
|
|
1290
1656
|
default_service_level_id?: string | null;
|
|
1291
1657
|
/**
|
|
@@ -1293,131 +1659,62 @@ export interface CustomerUpdateParams {
|
|
|
1293
1659
|
*/
|
|
1294
1660
|
default_shipping_term_id?: string;
|
|
1295
1661
|
/**
|
|
1296
|
-
* Body param: EDI
|
|
1662
|
+
* Body param: Whether EDI (Electronic Data Interchange) is enabled for exchanging
|
|
1663
|
+
* orders and documents with this customer.
|
|
1297
1664
|
*/
|
|
1298
1665
|
edi_status?: 'enabled' | 'disabled';
|
|
1299
1666
|
/**
|
|
1300
|
-
* Body param: Email address.
|
|
1667
|
+
* Body param: Email address.
|
|
1301
1668
|
*/
|
|
1302
1669
|
email?: string | null;
|
|
1303
1670
|
/**
|
|
1304
|
-
* Body param:
|
|
1671
|
+
* Body param: Whether this customer is billed for freight on their orders.
|
|
1672
|
+
*
|
|
1673
|
+
* - `free_freight`: the customer is not billed for freight.
|
|
1674
|
+
* - `billed_freight`: freight is billed to the customer, unless overridden on the
|
|
1675
|
+
* order.
|
|
1305
1676
|
*/
|
|
1306
1677
|
freight_policy?: 'free_freight' | 'billed_freight';
|
|
1307
1678
|
/**
|
|
1308
|
-
* Body param:
|
|
1679
|
+
* Body param: The customer's business name, as shown throughout the app and on
|
|
1680
|
+
* documents.
|
|
1309
1681
|
*/
|
|
1310
1682
|
name?: string;
|
|
1311
1683
|
/**
|
|
1312
|
-
* Body param:
|
|
1684
|
+
* Body param: Free-form note about the customer.
|
|
1313
1685
|
*/
|
|
1314
1686
|
note?: string | null;
|
|
1315
1687
|
/**
|
|
1316
|
-
* Body param:
|
|
1688
|
+
* Body param: Human-readable customer number used to identify the account,
|
|
1689
|
+
* distinct from the `id`.
|
|
1690
|
+
*
|
|
1691
|
+
* Must be unique within your account.
|
|
1317
1692
|
*/
|
|
1318
1693
|
number?: string;
|
|
1319
1694
|
/**
|
|
1320
|
-
* Body param: Phone number.
|
|
1695
|
+
* Body param: Phone number.
|
|
1321
1696
|
*/
|
|
1322
1697
|
phone?: string | null;
|
|
1323
1698
|
/**
|
|
1324
|
-
* Body param:
|
|
1699
|
+
* Body param: ID of an existing address to use as the default shipping address.
|
|
1325
1700
|
*/
|
|
1326
1701
|
ship_to_address_id?: string | null;
|
|
1327
1702
|
/**
|
|
1328
|
-
* Body param: Account status code.
|
|
1703
|
+
* Body param: Account status code, controlling whether the customer can transact.
|
|
1704
|
+
*
|
|
1705
|
+
* - `normal`: standard active account with no restrictions.
|
|
1706
|
+
* - `preferred`: active account flagged as preferred.
|
|
1707
|
+
* - `hold_shipment`: orders can be placed, but shipments are held.
|
|
1708
|
+
* - `hold_all`: all activity is on hold.
|
|
1329
1709
|
*/
|
|
1330
1710
|
status?: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
|
|
1331
1711
|
/**
|
|
1332
|
-
* Body param: Website URL.
|
|
1712
|
+
* Body param: Website URL.
|
|
1333
1713
|
*/
|
|
1334
1714
|
url?: string | null;
|
|
1335
1715
|
}
|
|
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
1716
|
export declare namespace Customers {
|
|
1420
|
-
export { type AccountUser as AccountUser, type Carrier as Carrier, type Consumption as Consumption, 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 Department as Department, type ListConsumption as ListConsumption, type ListCustomer as ListCustomer, type ListLocation as ListLocation, type ListMachine as ListMachine, type ListProductionStep as ListProductionStep, type ListScanningStation as ListScanningStation, type ListServiceLevel as ListServiceLevel, type Location as Location, type Machine as Machine, type PaymentTerm as PaymentTerm, type ProductionOutput as ProductionOutput, type ProductionStep as ProductionStep, type QuantityInput as QuantityInput, type ScanningStation as ScanningStation, type ServiceLevel as ServiceLevel, type ShippingTerm as ShippingTerm, type UpdateCustomerRequest as UpdateCustomerRequest, type CustomerDeleteResponse as CustomerDeleteResponse, type
|
|
1717
|
+
export { type AccountUser as AccountUser, type Carrier as Carrier, type Consumption as Consumption, 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 Department as Department, type ListConsumption as ListConsumption, type ListCustomer as ListCustomer, type ListLocation as ListLocation, type ListMachine as ListMachine, type ListProductionStep as ListProductionStep, type ListScanningStation as ListScanningStation, type ListServiceLevel as ListServiceLevel, type Location as Location, type LocationTypeCode as LocationTypeCode, type Machine as Machine, type PaymentTerm as PaymentTerm, type ProductionOutput as ProductionOutput, type ProductionStep as ProductionStep, type QuantityInput as QuantityInput, type ScanningStation as ScanningStation, type ServiceLevel as ServiceLevel, type ShippingTerm as ShippingTerm, type UpdateCustomerRequest as UpdateCustomerRequest, type User as User, type CustomerDeleteResponse as CustomerDeleteResponse, type CustomerListParams as CustomerListParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, };
|
|
1421
1718
|
export { Actions as Actions, type MergeCustomersRequest as MergeCustomersRequest, type ActionMergeParams as ActionMergeParams, };
|
|
1422
1719
|
}
|
|
1423
1720
|
//# sourceMappingURL=customers.d.ts.map
|