@edgebound/bigcommerce 0.3.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +473 -0
- package/dist/bigcommerce-entities/addresses/index.d.ts +2 -0
- package/dist/bigcommerce-entities/addresses/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/addresses/index.js +18 -0
- package/dist/bigcommerce-entities/addresses/index.js.map +1 -0
- package/dist/{addresses.d.mts → bigcommerce-entities/addresses/schemas/address.schema.d.ts} +2 -9
- package/dist/bigcommerce-entities/addresses/schemas/address.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/addresses/schemas/address.schema.js +54 -0
- package/dist/bigcommerce-entities/addresses/schemas/address.schema.js.map +1 -0
- package/dist/bigcommerce-entities/addresses/schemas/form-field.schema.d.ts +6 -0
- package/dist/bigcommerce-entities/addresses/schemas/form-field.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/addresses/schemas/form-field.schema.js +42 -0
- package/dist/bigcommerce-entities/addresses/schemas/form-field.schema.js.map +1 -0
- package/dist/bigcommerce-entities/addresses/schemas/index.d.ts +3 -0
- package/dist/bigcommerce-entities/addresses/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/addresses/schemas/index.js +19 -0
- package/dist/bigcommerce-entities/addresses/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/companies/companies.service.d.ts +309 -0
- package/dist/bigcommerce-entities/companies/companies.service.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/companies.service.js +331 -0
- package/dist/bigcommerce-entities/companies/companies.service.js.map +1 -0
- package/dist/bigcommerce-entities/companies/index.d.ts +3 -0
- package/dist/bigcommerce-entities/companies/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/index.js +19 -0
- package/dist/bigcommerce-entities/companies/index.js.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/company.schema.d.ts +63 -0
- package/dist/bigcommerce-entities/companies/schemas/company.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/company.schema.js +101 -0
- package/dist/bigcommerce-entities/companies/schemas/company.schema.js.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/credit.schemas.d.ts +15 -0
- package/dist/bigcommerce-entities/companies/schemas/credit.schemas.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/credit.schemas.js +49 -0
- package/dist/bigcommerce-entities/companies/schemas/credit.schemas.js.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/extra-fields.schema.d.ts +28 -0
- package/dist/bigcommerce-entities/companies/schemas/extra-fields.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/extra-fields.schema.js +60 -0
- package/dist/bigcommerce-entities/companies/schemas/extra-fields.schema.js.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/index.d.ts +8 -0
- package/dist/bigcommerce-entities/companies/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/index.js +24 -0
- package/dist/bigcommerce-entities/companies/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/payment-methods.schema.d.ts +12 -0
- package/dist/bigcommerce-entities/companies/schemas/payment-methods.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/payment-methods.schema.js +50 -0
- package/dist/bigcommerce-entities/companies/schemas/payment-methods.schema.js.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/roles.d.ts +28 -0
- package/dist/bigcommerce-entities/companies/schemas/roles.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/roles.js +59 -0
- package/dist/bigcommerce-entities/companies/schemas/roles.js.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/sales-staff.schema.d.ts +15 -0
- package/dist/bigcommerce-entities/companies/schemas/sales-staff.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/sales-staff.schema.js +51 -0
- package/dist/bigcommerce-entities/companies/schemas/sales-staff.schema.js.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/user.schema.d.ts +51 -0
- package/dist/bigcommerce-entities/companies/schemas/user.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/companies/schemas/user.schema.js +91 -0
- package/dist/bigcommerce-entities/companies/schemas/user.schema.js.map +1 -0
- package/dist/bigcommerce-entities/currencies/index.d.ts +2 -0
- package/dist/bigcommerce-entities/currencies/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/currencies/index.js +3 -0
- package/dist/bigcommerce-entities/currencies/index.js.map +1 -0
- package/dist/bigcommerce-entities/customers/customers.service.d.ts +270 -0
- package/dist/bigcommerce-entities/customers/customers.service.d.ts.map +1 -0
- package/dist/bigcommerce-entities/customers/customers.service.js +254 -0
- package/dist/bigcommerce-entities/customers/customers.service.js.map +1 -0
- package/dist/bigcommerce-entities/customers/index.d.ts +3 -0
- package/dist/bigcommerce-entities/customers/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/customers/index.js +19 -0
- package/dist/bigcommerce-entities/customers/index.js.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/customer-group.schema.d.ts +35 -0
- package/dist/bigcommerce-entities/customers/schemas/customer-group.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/customer-group.schema.js +74 -0
- package/dist/bigcommerce-entities/customers/schemas/customer-group.schema.js.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/customer.schema.d.ts +38 -0
- package/dist/bigcommerce-entities/customers/schemas/customer.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/customer.schema.js +65 -0
- package/dist/bigcommerce-entities/customers/schemas/customer.schema.js.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/find-addresses.schema.d.ts +35 -0
- package/dist/bigcommerce-entities/customers/schemas/find-addresses.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/find-addresses.schema.js +81 -0
- package/dist/bigcommerce-entities/customers/schemas/find-addresses.schema.js.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/find-customer.criteria.d.ts +9 -0
- package/dist/bigcommerce-entities/customers/schemas/find-customer.criteria.d.ts.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/find-customer.criteria.js +54 -0
- package/dist/bigcommerce-entities/customers/schemas/find-customer.criteria.js.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/index.d.ts +5 -0
- package/dist/bigcommerce-entities/customers/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/customers/schemas/index.js +21 -0
- package/dist/bigcommerce-entities/customers/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/index.d.ts +11 -0
- package/dist/bigcommerce-entities/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/index.js +27 -0
- package/dist/bigcommerce-entities/index.js.map +1 -0
- package/dist/bigcommerce-entities/orders/index.d.ts +3 -0
- package/dist/bigcommerce-entities/orders/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/orders/index.js +19 -0
- package/dist/bigcommerce-entities/orders/index.js.map +1 -0
- package/dist/bigcommerce-entities/orders/orders.service.d.ts +470 -0
- package/dist/bigcommerce-entities/orders/orders.service.d.ts.map +1 -0
- package/dist/bigcommerce-entities/orders/orders.service.js +274 -0
- package/dist/bigcommerce-entities/orders/orders.service.js.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/find-orders.criteria.d.ts +17 -0
- package/dist/bigcommerce-entities/orders/schemas/find-orders.criteria.d.ts.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/find-orders.criteria.js +55 -0
- package/dist/bigcommerce-entities/orders/schemas/find-orders.criteria.js.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/index.d.ts +6 -0
- package/dist/bigcommerce-entities/orders/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/index.js +22 -0
- package/dist/bigcommerce-entities/orders/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/order-product.schema.d.ts +31 -0
- package/dist/bigcommerce-entities/orders/schemas/order-product.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/order-product.schema.js +64 -0
- package/dist/bigcommerce-entities/orders/schemas/order-product.schema.js.map +1 -0
- package/dist/{addresses.d.ts → bigcommerce-entities/orders/schemas/order-shipping-address.schema.d.ts} +5 -9
- package/dist/bigcommerce-entities/orders/schemas/order-shipping-address.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/order-shipping-address.schema.js +44 -0
- package/dist/bigcommerce-entities/orders/schemas/order-shipping-address.schema.js.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/order.schema.d.ts +104 -0
- package/dist/bigcommerce-entities/orders/schemas/order.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/order.schema.js +109 -0
- package/dist/bigcommerce-entities/orders/schemas/order.schema.js.map +1 -0
- package/dist/{status.schema-BgztUtGy.d.mts → bigcommerce-entities/orders/schemas/status.schema.d.ts} +4 -6
- package/dist/bigcommerce-entities/orders/schemas/status.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/orders/schemas/status.schema.js +74 -0
- package/dist/bigcommerce-entities/orders/schemas/status.schema.js.map +1 -0
- package/dist/bigcommerce-entities/payments/index.d.ts +3 -0
- package/dist/bigcommerce-entities/payments/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/payments/index.js +19 -0
- package/dist/bigcommerce-entities/payments/index.js.map +1 -0
- package/dist/bigcommerce-entities/payments/payments.service.d.ts +40 -0
- package/dist/bigcommerce-entities/payments/payments.service.d.ts.map +1 -0
- package/dist/bigcommerce-entities/payments/payments.service.js +66 -0
- package/dist/bigcommerce-entities/payments/payments.service.js.map +1 -0
- package/dist/bigcommerce-entities/payments/schemas/index.d.ts +2 -0
- package/dist/bigcommerce-entities/payments/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/payments/schemas/index.js +18 -0
- package/dist/bigcommerce-entities/payments/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/payments/schemas/payment-methods.schema.d.ts +14 -0
- package/dist/bigcommerce-entities/payments/schemas/payment-methods.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/payments/schemas/payment-methods.schema.js +46 -0
- package/dist/bigcommerce-entities/payments/schemas/payment-methods.schema.js.map +1 -0
- package/dist/bigcommerce-entities/price-lists/index.d.ts +3 -0
- package/dist/bigcommerce-entities/price-lists/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/price-lists/index.js +19 -0
- package/dist/bigcommerce-entities/price-lists/index.js.map +1 -0
- package/dist/bigcommerce-entities/price-lists/price-lists.service.d.ts +97 -0
- package/dist/bigcommerce-entities/price-lists/price-lists.service.d.ts.map +1 -0
- package/dist/bigcommerce-entities/price-lists/price-lists.service.js +126 -0
- package/dist/bigcommerce-entities/price-lists/price-lists.service.js.map +1 -0
- package/dist/bigcommerce-entities/price-lists/schemas/create-price-lists.schema.d.ts +11 -0
- package/dist/bigcommerce-entities/price-lists/schemas/create-price-lists.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/price-lists/schemas/create-price-lists.schema.js +47 -0
- package/dist/bigcommerce-entities/price-lists/schemas/create-price-lists.schema.js.map +1 -0
- package/dist/bigcommerce-entities/price-lists/schemas/get-prices-lists.schema.d.ts +32 -0
- package/dist/bigcommerce-entities/price-lists/schemas/get-prices-lists.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/price-lists/schemas/get-prices-lists.schema.js +66 -0
- package/dist/bigcommerce-entities/price-lists/schemas/get-prices-lists.schema.js.map +1 -0
- package/dist/bigcommerce-entities/price-lists/schemas/index.d.ts +3 -0
- package/dist/bigcommerce-entities/price-lists/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/price-lists/schemas/index.js +19 -0
- package/dist/bigcommerce-entities/price-lists/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/products/index.d.ts +3 -0
- package/dist/bigcommerce-entities/products/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/products/index.js +19 -0
- package/dist/bigcommerce-entities/products/index.js.map +1 -0
- package/dist/bigcommerce-entities/products/products.service.d.ts +88 -0
- package/dist/bigcommerce-entities/products/products.service.d.ts.map +1 -0
- package/dist/bigcommerce-entities/products/products.service.js +165 -0
- package/dist/bigcommerce-entities/products/products.service.js.map +1 -0
- package/dist/bigcommerce-entities/products/schemas/index.d.ts +3 -0
- package/dist/bigcommerce-entities/products/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/products/schemas/index.js +19 -0
- package/dist/bigcommerce-entities/products/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/products/schemas/set-inventory.schema.d.ts +26 -0
- package/dist/bigcommerce-entities/products/schemas/set-inventory.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/products/schemas/set-inventory.schema.js +57 -0
- package/dist/bigcommerce-entities/products/schemas/set-inventory.schema.js.map +1 -0
- package/dist/bigcommerce-entities/products/schemas/update-products.schema.d.ts +11 -0
- package/dist/bigcommerce-entities/products/schemas/update-products.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/products/schemas/update-products.schema.js +44 -0
- package/dist/bigcommerce-entities/products/schemas/update-products.schema.js.map +1 -0
- package/dist/bigcommerce-entities/sales-staff/index.d.ts +3 -0
- package/dist/bigcommerce-entities/sales-staff/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/sales-staff/index.js +19 -0
- package/dist/bigcommerce-entities/sales-staff/index.js.map +1 -0
- package/dist/bigcommerce-entities/sales-staff/sales-staff.service.d.ts +78 -0
- package/dist/bigcommerce-entities/sales-staff/sales-staff.service.d.ts.map +1 -0
- package/dist/bigcommerce-entities/sales-staff/sales-staff.service.js +102 -0
- package/dist/bigcommerce-entities/sales-staff/sales-staff.service.js.map +1 -0
- package/dist/bigcommerce-entities/sales-staff/schemas/get-sales-staff.schema.d.ts +31 -0
- package/dist/bigcommerce-entities/sales-staff/schemas/get-sales-staff.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/sales-staff/schemas/get-sales-staff.schema.js +62 -0
- package/dist/bigcommerce-entities/sales-staff/schemas/get-sales-staff.schema.js.map +1 -0
- package/dist/bigcommerce-entities/sales-staff/schemas/index.d.ts +2 -0
- package/dist/bigcommerce-entities/sales-staff/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/sales-staff/schemas/index.js +18 -0
- package/dist/bigcommerce-entities/sales-staff/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/webhooks/index.d.ts +2 -0
- package/dist/bigcommerce-entities/webhooks/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/webhooks/index.js +18 -0
- package/dist/bigcommerce-entities/webhooks/index.js.map +1 -0
- package/dist/bigcommerce-entities/webhooks/schemas/customer.scope.schema.d.ts +28 -0
- package/dist/bigcommerce-entities/webhooks/schemas/customer.scope.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/webhooks/schemas/customer.scope.schema.js +64 -0
- package/dist/bigcommerce-entities/webhooks/schemas/customer.scope.schema.js.map +1 -0
- package/dist/bigcommerce-entities/webhooks/schemas/index.d.ts +4 -0
- package/dist/bigcommerce-entities/webhooks/schemas/index.d.ts.map +1 -0
- package/dist/bigcommerce-entities/webhooks/schemas/index.js +20 -0
- package/dist/bigcommerce-entities/webhooks/schemas/index.js.map +1 -0
- package/dist/bigcommerce-entities/webhooks/schemas/order.scope.schema.d.ts +26 -0
- package/dist/bigcommerce-entities/webhooks/schemas/order.scope.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/webhooks/schemas/order.scope.schema.js +57 -0
- package/dist/bigcommerce-entities/webhooks/schemas/order.scope.schema.js.map +1 -0
- package/dist/bigcommerce-entities/webhooks/schemas/webhooks.schema.d.ts +54 -0
- package/dist/bigcommerce-entities/webhooks/schemas/webhooks.schema.d.ts.map +1 -0
- package/dist/bigcommerce-entities/webhooks/schemas/webhooks.schema.js +52 -0
- package/dist/bigcommerce-entities/webhooks/schemas/webhooks.schema.js.map +1 -0
- package/dist/bigcommerce.module.d.ts +16 -0
- package/dist/bigcommerce.module.d.ts.map +1 -0
- package/dist/bigcommerce.module.js +83 -0
- package/dist/bigcommerce.module.js.map +1 -0
- package/dist/constants.d.ts +52 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +55 -0
- package/dist/constants.js.map +1 -0
- package/dist/core/bigcommerce-fetcher.service.d.ts +40 -0
- package/dist/core/bigcommerce-fetcher.service.d.ts.map +1 -0
- package/dist/core/bigcommerce-fetcher.service.js +133 -0
- package/dist/core/bigcommerce-fetcher.service.js.map +1 -0
- package/dist/core/bigcommerce.error.d.ts +51 -0
- package/dist/core/bigcommerce.error.d.ts.map +1 -0
- package/dist/core/bigcommerce.error.js +160 -0
- package/dist/core/bigcommerce.error.js.map +1 -0
- package/dist/core/config.module.d.ts +12 -0
- package/dist/core/config.module.d.ts.map +1 -0
- package/dist/core/config.module.js +75 -0
- package/dist/core/config.module.js.map +1 -0
- package/dist/core/config.schema.d.ts +20 -0
- package/dist/core/config.schema.d.ts.map +1 -0
- package/dist/core/config.schema.js +74 -0
- package/dist/core/config.schema.js.map +1 -0
- package/dist/core/config.service.d.ts +13 -0
- package/dist/core/config.service.d.ts.map +1 -0
- package/dist/core/config.service.js +30 -0
- package/dist/core/config.service.js.map +1 -0
- package/dist/core/index.d.ts +6 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +22 -0
- package/dist/core/index.js.map +1 -0
- package/dist/index.d.ts +5 -36
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -371
- package/dist/index.js.map +1 -1
- package/dist/utils/chunk.d.ts +2 -0
- package/dist/utils/chunk.d.ts.map +1 -0
- package/dist/utils/chunk.js +12 -0
- package/dist/utils/chunk.js.map +1 -0
- package/dist/utils/concurrency.d.ts +11 -0
- package/dist/utils/concurrency.d.ts.map +1 -0
- package/dist/utils/concurrency.js +20 -0
- package/dist/utils/concurrency.js.map +1 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +10 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/validation.error.d.ts +6 -0
- package/dist/utils/validation.error.d.ts.map +1 -0
- package/dist/utils/validation.error.js +50 -0
- package/dist/utils/validation.error.js.map +1 -0
- package/dist/utils/while.d.ts +8 -0
- package/dist/utils/while.d.ts.map +1 -0
- package/dist/utils/while.js +23 -0
- package/dist/utils/while.js.map +1 -0
- package/package.json +23 -67
- package/dist/addresses.js +0 -69
- package/dist/addresses.js.map +0 -1
- package/dist/addresses.mjs +0 -9
- package/dist/addresses.mjs.map +0 -1
- package/dist/bigcommerce.fetcher-Ujztbs8P.d.mts +0 -90
- package/dist/bigcommerce.fetcher-Ujztbs8P.d.ts +0 -90
- package/dist/chunk-BWLQCNNX.mjs +0 -30
- package/dist/chunk-BWLQCNNX.mjs.map +0 -1
- package/dist/chunk-CERZFSUE.mjs +0 -20
- package/dist/chunk-CERZFSUE.mjs.map +0 -1
- package/dist/chunk-V2WZ3SDN.mjs +0 -333
- package/dist/chunk-V2WZ3SDN.mjs.map +0 -1
- package/dist/chunk-XONZC4AG.mjs +0 -45
- package/dist/chunk-XONZC4AG.mjs.map +0 -1
- package/dist/companies.d.mts +0 -346
- package/dist/companies.d.ts +0 -346
- package/dist/companies.js +0 -837
- package/dist/companies.js.map +0 -1
- package/dist/companies.mjs +0 -467
- package/dist/companies.mjs.map +0 -1
- package/dist/currencies.d.mts +0 -2
- package/dist/currencies.d.ts +0 -2
- package/dist/currencies.js +0 -2
- package/dist/currencies.js.map +0 -1
- package/dist/currencies.mjs +0 -1
- package/dist/currencies.mjs.map +0 -1
- package/dist/customers.d.mts +0 -235
- package/dist/customers.d.ts +0 -235
- package/dist/customers.js +0 -679
- package/dist/customers.js.map +0 -1
- package/dist/customers.mjs +0 -320
- package/dist/customers.mjs.map +0 -1
- package/dist/index.d.mts +0 -36
- package/dist/index.mjs +0 -39
- package/dist/index.mjs.map +0 -1
- package/dist/orders.d.mts +0 -492
- package/dist/orders.d.ts +0 -492
- package/dist/orders.js +0 -723
- package/dist/orders.js.map +0 -1
- package/dist/orders.mjs +0 -312
- package/dist/orders.mjs.map +0 -1
- package/dist/payments.d.mts +0 -28
- package/dist/payments.d.ts +0 -28
- package/dist/payments.js +0 -372
- package/dist/payments.js.map +0 -1
- package/dist/payments.mjs +0 -43
- package/dist/payments.mjs.map +0 -1
- package/dist/priceLists.d.mts +0 -81
- package/dist/priceLists.d.ts +0 -81
- package/dist/priceLists.js +0 -465
- package/dist/priceLists.js.map +0 -1
- package/dist/priceLists.mjs +0 -118
- package/dist/priceLists.mjs.map +0 -1
- package/dist/products.d.mts +0 -52
- package/dist/products.d.ts +0 -52
- package/dist/products.js +0 -470
- package/dist/products.js.map +0 -1
- package/dist/products.mjs +0 -120
- package/dist/products.mjs.map +0 -1
- package/dist/salesStaff.d.mts +0 -64
- package/dist/salesStaff.d.ts +0 -64
- package/dist/salesStaff.js +0 -426
- package/dist/salesStaff.js.map +0 -1
- package/dist/salesStaff.mjs +0 -82
- package/dist/salesStaff.mjs.map +0 -1
- package/dist/status.schema-BgztUtGy.d.ts +0 -39
- package/dist/validation.error-CHLpPYC_.d.mts +0 -14
- package/dist/validation.error-CHLpPYC_.d.ts +0 -14
- package/dist/webhooks.d.mts +0 -109
- package/dist/webhooks.d.ts +0 -109
- package/dist/webhooks.js +0 -157
- package/dist/webhooks.js.map +0 -1
- package/dist/webhooks.mjs +0 -79
- package/dist/webhooks.mjs.map +0 -1
package/dist/customers.d.mts
DELETED
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import { I as InputValidationError } from './validation.error-CHLpPYC_.mjs';
|
|
2
|
-
import { S as SomeBigCommerceError, B as BigCommerceFetcher } from './bigcommerce.fetcher-Ujztbs8P.mjs';
|
|
3
|
-
import { Effect } from 'effect';
|
|
4
|
-
import * as z from 'zod';
|
|
5
|
-
import 'effect/Cause';
|
|
6
|
-
import 'effect/Types';
|
|
7
|
-
|
|
8
|
-
declare const CreateCustomerGroupSchema: z.ZodObject<{
|
|
9
|
-
name: z.ZodString;
|
|
10
|
-
discount_rules: z.ZodArray<z.ZodObject<{
|
|
11
|
-
type: z.ZodLiteral<"price_list">;
|
|
12
|
-
price_list_id: z.ZodInt;
|
|
13
|
-
}, z.core.$strip>>;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
declare const CreateCustomerGroupResponseSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodInt;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
declare const CustomerGroupSchema: z.ZodObject<{
|
|
19
|
-
id: z.ZodInt;
|
|
20
|
-
name: z.ZodString;
|
|
21
|
-
is_default: z.ZodBoolean;
|
|
22
|
-
is_group_for_guests: z.ZodBoolean;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
declare const FindCustomerGroupsCriteriaSchema: z.ZodObject<{
|
|
25
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
26
|
-
page: z.ZodOptional<z.ZodInt>;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
declare const SetCustomerGroupPriceListSchema: z.ZodObject<{
|
|
29
|
-
data: z.ZodObject<{
|
|
30
|
-
discount_rules: z.ZodArray<z.ZodObject<{
|
|
31
|
-
type: z.ZodLiteral<"price_list">;
|
|
32
|
-
price_list_id: z.ZodInt;
|
|
33
|
-
}, z.core.$strip>>;
|
|
34
|
-
}, z.core.$strip>;
|
|
35
|
-
customerGroupId: z.ZodInt;
|
|
36
|
-
}, z.core.$strip>;
|
|
37
|
-
declare const SetCustomerGroupPriceListResponseSchema: z.ZodObject<{
|
|
38
|
-
id: z.ZodInt;
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
|
|
42
|
-
declare const createCustomerGroup: (data: z.input<typeof CreateCustomerGroupSchema>) => Effect.Effect<{
|
|
43
|
-
id: number;
|
|
44
|
-
}, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
45
|
-
|
|
46
|
-
declare const FindCustomerAddressesCriteriaSchema: z.ZodObject<{
|
|
47
|
-
'id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
48
|
-
page: z.ZodOptional<z.ZodInt>;
|
|
49
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
50
|
-
'customer_id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
51
|
-
}, z.core.$strip>;
|
|
52
|
-
declare const FindCustomerAddressesResponseSchema: z.ZodObject<{
|
|
53
|
-
data: z.ZodArray<z.ZodObject<{
|
|
54
|
-
address1: z.ZodString;
|
|
55
|
-
address2: z.ZodString;
|
|
56
|
-
address_type: z.ZodString;
|
|
57
|
-
city: z.ZodString;
|
|
58
|
-
company: z.ZodString;
|
|
59
|
-
country: z.ZodString;
|
|
60
|
-
country_code: z.ZodString;
|
|
61
|
-
customer_id: z.ZodNumber;
|
|
62
|
-
first_name: z.ZodString;
|
|
63
|
-
id: z.ZodInt;
|
|
64
|
-
last_name: z.ZodString;
|
|
65
|
-
phone: z.ZodString;
|
|
66
|
-
postal_code: z.ZodString;
|
|
67
|
-
state_or_province: z.ZodString;
|
|
68
|
-
}, z.core.$strip>>;
|
|
69
|
-
meta: z.ZodObject<{
|
|
70
|
-
pagination: z.ZodObject<{
|
|
71
|
-
total: z.ZodInt;
|
|
72
|
-
count: z.ZodInt;
|
|
73
|
-
per_page: z.ZodInt;
|
|
74
|
-
current_page: z.ZodInt;
|
|
75
|
-
total_pages: z.ZodInt;
|
|
76
|
-
}, z.core.$strip>;
|
|
77
|
-
}, z.core.$strip>;
|
|
78
|
-
}, z.core.$strip>;
|
|
79
|
-
|
|
80
|
-
declare const findCustomerAddresses: (criteria?: z.input<typeof FindCustomerAddressesCriteriaSchema>) => Effect.Effect<{
|
|
81
|
-
data: {
|
|
82
|
-
address1: string;
|
|
83
|
-
address2: string;
|
|
84
|
-
address_type: string;
|
|
85
|
-
city: string;
|
|
86
|
-
company: string;
|
|
87
|
-
country: string;
|
|
88
|
-
country_code: string;
|
|
89
|
-
customer_id: number;
|
|
90
|
-
first_name: string;
|
|
91
|
-
id: number;
|
|
92
|
-
last_name: string;
|
|
93
|
-
phone: string;
|
|
94
|
-
postal_code: string;
|
|
95
|
-
state_or_province: string;
|
|
96
|
-
}[];
|
|
97
|
-
meta: {
|
|
98
|
-
pagination: {
|
|
99
|
-
total: number;
|
|
100
|
-
count: number;
|
|
101
|
-
per_page: number;
|
|
102
|
-
current_page: number;
|
|
103
|
-
total_pages: number;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
}, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
107
|
-
declare const getAllCustomerAddressesBy: (criteria: Omit<z.input<typeof FindCustomerAddressesCriteriaSchema>, "page" | "limit">) => Effect.Effect<{
|
|
108
|
-
address1: string;
|
|
109
|
-
address2: string;
|
|
110
|
-
address_type: string;
|
|
111
|
-
city: string;
|
|
112
|
-
company: string;
|
|
113
|
-
country: string;
|
|
114
|
-
country_code: string;
|
|
115
|
-
customer_id: number;
|
|
116
|
-
first_name: string;
|
|
117
|
-
id: number;
|
|
118
|
-
last_name: string;
|
|
119
|
-
phone: string;
|
|
120
|
-
postal_code: string;
|
|
121
|
-
state_or_province: string;
|
|
122
|
-
}[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
123
|
-
|
|
124
|
-
declare const FindCustomersCriteriaSchema: z.ZodObject<{
|
|
125
|
-
'id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
126
|
-
page: z.ZodOptional<z.ZodInt>;
|
|
127
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
128
|
-
'company:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
129
|
-
'customer_group_id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
130
|
-
}, z.core.$strip>;
|
|
131
|
-
|
|
132
|
-
declare const findCustomers: (criteria?: z.input<typeof FindCustomersCriteriaSchema>) => Effect.Effect<{
|
|
133
|
-
data: {
|
|
134
|
-
email: string;
|
|
135
|
-
first_name: string;
|
|
136
|
-
last_name: string;
|
|
137
|
-
phone: string;
|
|
138
|
-
customer_group_id: number;
|
|
139
|
-
id: number;
|
|
140
|
-
channel_ids: number[];
|
|
141
|
-
company?: string | undefined;
|
|
142
|
-
}[];
|
|
143
|
-
meta: {
|
|
144
|
-
pagination: {
|
|
145
|
-
total: number;
|
|
146
|
-
count: number;
|
|
147
|
-
per_page: number;
|
|
148
|
-
current_page: number;
|
|
149
|
-
total_pages: number;
|
|
150
|
-
links: {
|
|
151
|
-
current: string;
|
|
152
|
-
previous?: string | null | undefined;
|
|
153
|
-
next?: string | null | undefined;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
}, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
158
|
-
declare const getAllCustomersBy: (criteria: Omit<z.input<typeof FindCustomersCriteriaSchema>, "page" | "limit">) => Effect.Effect<{
|
|
159
|
-
email: string;
|
|
160
|
-
first_name: string;
|
|
161
|
-
last_name: string;
|
|
162
|
-
phone: string;
|
|
163
|
-
customer_group_id: number;
|
|
164
|
-
id: number;
|
|
165
|
-
channel_ids: number[];
|
|
166
|
-
company?: string | undefined;
|
|
167
|
-
}[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
168
|
-
|
|
169
|
-
declare const findCustomersGroups: (criteria?: z.input<typeof FindCustomerGroupsCriteriaSchema>) => Effect.Effect<{
|
|
170
|
-
id: number;
|
|
171
|
-
name: string;
|
|
172
|
-
is_default: boolean;
|
|
173
|
-
is_group_for_guests: boolean;
|
|
174
|
-
}[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
175
|
-
declare const getAllCustomerGroupsBy: (criteria?: Omit<z.input<typeof FindCustomerGroupsCriteriaSchema>, "page" | "limit">) => Effect.Effect<{
|
|
176
|
-
id: number;
|
|
177
|
-
name: string;
|
|
178
|
-
is_default: boolean;
|
|
179
|
-
is_group_for_guests: boolean;
|
|
180
|
-
}[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
181
|
-
|
|
182
|
-
declare const getCustomer: (customerId: number) => Effect.Effect<{
|
|
183
|
-
email: string;
|
|
184
|
-
first_name: string;
|
|
185
|
-
last_name: string;
|
|
186
|
-
phone: string;
|
|
187
|
-
customer_group_id: number;
|
|
188
|
-
id: number;
|
|
189
|
-
channel_ids: number[];
|
|
190
|
-
company?: string | undefined;
|
|
191
|
-
} | undefined, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
192
|
-
|
|
193
|
-
declare const CustomerSchema: z.ZodObject<{
|
|
194
|
-
email: z.ZodEmail;
|
|
195
|
-
first_name: z.ZodString;
|
|
196
|
-
last_name: z.ZodString;
|
|
197
|
-
company: z.ZodOptional<z.ZodString>;
|
|
198
|
-
phone: z.ZodString;
|
|
199
|
-
customer_group_id: z.ZodInt;
|
|
200
|
-
id: z.ZodInt;
|
|
201
|
-
channel_ids: z.ZodArray<z.ZodInt>;
|
|
202
|
-
}, z.core.$strip>;
|
|
203
|
-
declare const FindCustomerResponse: z.ZodObject<{
|
|
204
|
-
data: z.ZodArray<z.ZodObject<{
|
|
205
|
-
email: z.ZodEmail;
|
|
206
|
-
first_name: z.ZodString;
|
|
207
|
-
last_name: z.ZodString;
|
|
208
|
-
company: z.ZodOptional<z.ZodString>;
|
|
209
|
-
phone: z.ZodString;
|
|
210
|
-
customer_group_id: z.ZodInt;
|
|
211
|
-
id: z.ZodInt;
|
|
212
|
-
channel_ids: z.ZodArray<z.ZodInt>;
|
|
213
|
-
}, z.core.$strip>>;
|
|
214
|
-
meta: z.ZodObject<{
|
|
215
|
-
pagination: z.ZodObject<{
|
|
216
|
-
total: z.ZodInt;
|
|
217
|
-
count: z.ZodInt;
|
|
218
|
-
per_page: z.ZodInt;
|
|
219
|
-
current_page: z.ZodInt;
|
|
220
|
-
total_pages: z.ZodInt;
|
|
221
|
-
links: z.ZodObject<{
|
|
222
|
-
previous: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
223
|
-
current: z.ZodString;
|
|
224
|
-
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
225
|
-
}, z.core.$strip>;
|
|
226
|
-
}, z.core.$strip>;
|
|
227
|
-
}, z.core.$strip>;
|
|
228
|
-
}, z.core.$strip>;
|
|
229
|
-
|
|
230
|
-
declare const setCustomerGroupPriceList: (input: z.input<typeof SetCustomerGroupPriceListSchema>) => Effect.Effect<{
|
|
231
|
-
id: number;
|
|
232
|
-
name: string;
|
|
233
|
-
}, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
234
|
-
|
|
235
|
-
export { CreateCustomerGroupResponseSchema, CreateCustomerGroupSchema, CustomerGroupSchema, CustomerSchema, FindCustomerAddressesCriteriaSchema, FindCustomerAddressesResponseSchema, FindCustomerGroupsCriteriaSchema, FindCustomerResponse, FindCustomersCriteriaSchema, SetCustomerGroupPriceListResponseSchema, SetCustomerGroupPriceListSchema, createCustomerGroup, findCustomerAddresses, findCustomers, findCustomersGroups, getAllCustomerAddressesBy, getAllCustomerGroupsBy, getAllCustomersBy, getCustomer, setCustomerGroupPriceList };
|
package/dist/customers.d.ts
DELETED
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import { I as InputValidationError } from './validation.error-CHLpPYC_.js';
|
|
2
|
-
import { S as SomeBigCommerceError, B as BigCommerceFetcher } from './bigcommerce.fetcher-Ujztbs8P.js';
|
|
3
|
-
import { Effect } from 'effect';
|
|
4
|
-
import * as z from 'zod';
|
|
5
|
-
import 'effect/Cause';
|
|
6
|
-
import 'effect/Types';
|
|
7
|
-
|
|
8
|
-
declare const CreateCustomerGroupSchema: z.ZodObject<{
|
|
9
|
-
name: z.ZodString;
|
|
10
|
-
discount_rules: z.ZodArray<z.ZodObject<{
|
|
11
|
-
type: z.ZodLiteral<"price_list">;
|
|
12
|
-
price_list_id: z.ZodInt;
|
|
13
|
-
}, z.core.$strip>>;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
declare const CreateCustomerGroupResponseSchema: z.ZodObject<{
|
|
16
|
-
id: z.ZodInt;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
declare const CustomerGroupSchema: z.ZodObject<{
|
|
19
|
-
id: z.ZodInt;
|
|
20
|
-
name: z.ZodString;
|
|
21
|
-
is_default: z.ZodBoolean;
|
|
22
|
-
is_group_for_guests: z.ZodBoolean;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
declare const FindCustomerGroupsCriteriaSchema: z.ZodObject<{
|
|
25
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
26
|
-
page: z.ZodOptional<z.ZodInt>;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
declare const SetCustomerGroupPriceListSchema: z.ZodObject<{
|
|
29
|
-
data: z.ZodObject<{
|
|
30
|
-
discount_rules: z.ZodArray<z.ZodObject<{
|
|
31
|
-
type: z.ZodLiteral<"price_list">;
|
|
32
|
-
price_list_id: z.ZodInt;
|
|
33
|
-
}, z.core.$strip>>;
|
|
34
|
-
}, z.core.$strip>;
|
|
35
|
-
customerGroupId: z.ZodInt;
|
|
36
|
-
}, z.core.$strip>;
|
|
37
|
-
declare const SetCustomerGroupPriceListResponseSchema: z.ZodObject<{
|
|
38
|
-
id: z.ZodInt;
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
|
|
42
|
-
declare const createCustomerGroup: (data: z.input<typeof CreateCustomerGroupSchema>) => Effect.Effect<{
|
|
43
|
-
id: number;
|
|
44
|
-
}, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
45
|
-
|
|
46
|
-
declare const FindCustomerAddressesCriteriaSchema: z.ZodObject<{
|
|
47
|
-
'id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
48
|
-
page: z.ZodOptional<z.ZodInt>;
|
|
49
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
50
|
-
'customer_id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
51
|
-
}, z.core.$strip>;
|
|
52
|
-
declare const FindCustomerAddressesResponseSchema: z.ZodObject<{
|
|
53
|
-
data: z.ZodArray<z.ZodObject<{
|
|
54
|
-
address1: z.ZodString;
|
|
55
|
-
address2: z.ZodString;
|
|
56
|
-
address_type: z.ZodString;
|
|
57
|
-
city: z.ZodString;
|
|
58
|
-
company: z.ZodString;
|
|
59
|
-
country: z.ZodString;
|
|
60
|
-
country_code: z.ZodString;
|
|
61
|
-
customer_id: z.ZodNumber;
|
|
62
|
-
first_name: z.ZodString;
|
|
63
|
-
id: z.ZodInt;
|
|
64
|
-
last_name: z.ZodString;
|
|
65
|
-
phone: z.ZodString;
|
|
66
|
-
postal_code: z.ZodString;
|
|
67
|
-
state_or_province: z.ZodString;
|
|
68
|
-
}, z.core.$strip>>;
|
|
69
|
-
meta: z.ZodObject<{
|
|
70
|
-
pagination: z.ZodObject<{
|
|
71
|
-
total: z.ZodInt;
|
|
72
|
-
count: z.ZodInt;
|
|
73
|
-
per_page: z.ZodInt;
|
|
74
|
-
current_page: z.ZodInt;
|
|
75
|
-
total_pages: z.ZodInt;
|
|
76
|
-
}, z.core.$strip>;
|
|
77
|
-
}, z.core.$strip>;
|
|
78
|
-
}, z.core.$strip>;
|
|
79
|
-
|
|
80
|
-
declare const findCustomerAddresses: (criteria?: z.input<typeof FindCustomerAddressesCriteriaSchema>) => Effect.Effect<{
|
|
81
|
-
data: {
|
|
82
|
-
address1: string;
|
|
83
|
-
address2: string;
|
|
84
|
-
address_type: string;
|
|
85
|
-
city: string;
|
|
86
|
-
company: string;
|
|
87
|
-
country: string;
|
|
88
|
-
country_code: string;
|
|
89
|
-
customer_id: number;
|
|
90
|
-
first_name: string;
|
|
91
|
-
id: number;
|
|
92
|
-
last_name: string;
|
|
93
|
-
phone: string;
|
|
94
|
-
postal_code: string;
|
|
95
|
-
state_or_province: string;
|
|
96
|
-
}[];
|
|
97
|
-
meta: {
|
|
98
|
-
pagination: {
|
|
99
|
-
total: number;
|
|
100
|
-
count: number;
|
|
101
|
-
per_page: number;
|
|
102
|
-
current_page: number;
|
|
103
|
-
total_pages: number;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
}, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
107
|
-
declare const getAllCustomerAddressesBy: (criteria: Omit<z.input<typeof FindCustomerAddressesCriteriaSchema>, "page" | "limit">) => Effect.Effect<{
|
|
108
|
-
address1: string;
|
|
109
|
-
address2: string;
|
|
110
|
-
address_type: string;
|
|
111
|
-
city: string;
|
|
112
|
-
company: string;
|
|
113
|
-
country: string;
|
|
114
|
-
country_code: string;
|
|
115
|
-
customer_id: number;
|
|
116
|
-
first_name: string;
|
|
117
|
-
id: number;
|
|
118
|
-
last_name: string;
|
|
119
|
-
phone: string;
|
|
120
|
-
postal_code: string;
|
|
121
|
-
state_or_province: string;
|
|
122
|
-
}[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
123
|
-
|
|
124
|
-
declare const FindCustomersCriteriaSchema: z.ZodObject<{
|
|
125
|
-
'id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
126
|
-
page: z.ZodOptional<z.ZodInt>;
|
|
127
|
-
limit: z.ZodOptional<z.ZodInt>;
|
|
128
|
-
'company:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string, string[]>>>;
|
|
129
|
-
'customer_group_id:in': z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodInt>, z.ZodTransform<string, number[]>>>;
|
|
130
|
-
}, z.core.$strip>;
|
|
131
|
-
|
|
132
|
-
declare const findCustomers: (criteria?: z.input<typeof FindCustomersCriteriaSchema>) => Effect.Effect<{
|
|
133
|
-
data: {
|
|
134
|
-
email: string;
|
|
135
|
-
first_name: string;
|
|
136
|
-
last_name: string;
|
|
137
|
-
phone: string;
|
|
138
|
-
customer_group_id: number;
|
|
139
|
-
id: number;
|
|
140
|
-
channel_ids: number[];
|
|
141
|
-
company?: string | undefined;
|
|
142
|
-
}[];
|
|
143
|
-
meta: {
|
|
144
|
-
pagination: {
|
|
145
|
-
total: number;
|
|
146
|
-
count: number;
|
|
147
|
-
per_page: number;
|
|
148
|
-
current_page: number;
|
|
149
|
-
total_pages: number;
|
|
150
|
-
links: {
|
|
151
|
-
current: string;
|
|
152
|
-
previous?: string | null | undefined;
|
|
153
|
-
next?: string | null | undefined;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
}, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
158
|
-
declare const getAllCustomersBy: (criteria: Omit<z.input<typeof FindCustomersCriteriaSchema>, "page" | "limit">) => Effect.Effect<{
|
|
159
|
-
email: string;
|
|
160
|
-
first_name: string;
|
|
161
|
-
last_name: string;
|
|
162
|
-
phone: string;
|
|
163
|
-
customer_group_id: number;
|
|
164
|
-
id: number;
|
|
165
|
-
channel_ids: number[];
|
|
166
|
-
company?: string | undefined;
|
|
167
|
-
}[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
168
|
-
|
|
169
|
-
declare const findCustomersGroups: (criteria?: z.input<typeof FindCustomerGroupsCriteriaSchema>) => Effect.Effect<{
|
|
170
|
-
id: number;
|
|
171
|
-
name: string;
|
|
172
|
-
is_default: boolean;
|
|
173
|
-
is_group_for_guests: boolean;
|
|
174
|
-
}[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
175
|
-
declare const getAllCustomerGroupsBy: (criteria?: Omit<z.input<typeof FindCustomerGroupsCriteriaSchema>, "page" | "limit">) => Effect.Effect<{
|
|
176
|
-
id: number;
|
|
177
|
-
name: string;
|
|
178
|
-
is_default: boolean;
|
|
179
|
-
is_group_for_guests: boolean;
|
|
180
|
-
}[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
181
|
-
|
|
182
|
-
declare const getCustomer: (customerId: number) => Effect.Effect<{
|
|
183
|
-
email: string;
|
|
184
|
-
first_name: string;
|
|
185
|
-
last_name: string;
|
|
186
|
-
phone: string;
|
|
187
|
-
customer_group_id: number;
|
|
188
|
-
id: number;
|
|
189
|
-
channel_ids: number[];
|
|
190
|
-
company?: string | undefined;
|
|
191
|
-
} | undefined, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
192
|
-
|
|
193
|
-
declare const CustomerSchema: z.ZodObject<{
|
|
194
|
-
email: z.ZodEmail;
|
|
195
|
-
first_name: z.ZodString;
|
|
196
|
-
last_name: z.ZodString;
|
|
197
|
-
company: z.ZodOptional<z.ZodString>;
|
|
198
|
-
phone: z.ZodString;
|
|
199
|
-
customer_group_id: z.ZodInt;
|
|
200
|
-
id: z.ZodInt;
|
|
201
|
-
channel_ids: z.ZodArray<z.ZodInt>;
|
|
202
|
-
}, z.core.$strip>;
|
|
203
|
-
declare const FindCustomerResponse: z.ZodObject<{
|
|
204
|
-
data: z.ZodArray<z.ZodObject<{
|
|
205
|
-
email: z.ZodEmail;
|
|
206
|
-
first_name: z.ZodString;
|
|
207
|
-
last_name: z.ZodString;
|
|
208
|
-
company: z.ZodOptional<z.ZodString>;
|
|
209
|
-
phone: z.ZodString;
|
|
210
|
-
customer_group_id: z.ZodInt;
|
|
211
|
-
id: z.ZodInt;
|
|
212
|
-
channel_ids: z.ZodArray<z.ZodInt>;
|
|
213
|
-
}, z.core.$strip>>;
|
|
214
|
-
meta: z.ZodObject<{
|
|
215
|
-
pagination: z.ZodObject<{
|
|
216
|
-
total: z.ZodInt;
|
|
217
|
-
count: z.ZodInt;
|
|
218
|
-
per_page: z.ZodInt;
|
|
219
|
-
current_page: z.ZodInt;
|
|
220
|
-
total_pages: z.ZodInt;
|
|
221
|
-
links: z.ZodObject<{
|
|
222
|
-
previous: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
223
|
-
current: z.ZodString;
|
|
224
|
-
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
225
|
-
}, z.core.$strip>;
|
|
226
|
-
}, z.core.$strip>;
|
|
227
|
-
}, z.core.$strip>;
|
|
228
|
-
}, z.core.$strip>;
|
|
229
|
-
|
|
230
|
-
declare const setCustomerGroupPriceList: (input: z.input<typeof SetCustomerGroupPriceListSchema>) => Effect.Effect<{
|
|
231
|
-
id: number;
|
|
232
|
-
name: string;
|
|
233
|
-
}, SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
|
|
234
|
-
|
|
235
|
-
export { CreateCustomerGroupResponseSchema, CreateCustomerGroupSchema, CustomerGroupSchema, CustomerSchema, FindCustomerAddressesCriteriaSchema, FindCustomerAddressesResponseSchema, FindCustomerGroupsCriteriaSchema, FindCustomerResponse, FindCustomersCriteriaSchema, SetCustomerGroupPriceListResponseSchema, SetCustomerGroupPriceListSchema, createCustomerGroup, findCustomerAddresses, findCustomers, findCustomersGroups, getAllCustomerAddressesBy, getAllCustomerGroupsBy, getAllCustomersBy, getCustomer, setCustomerGroupPriceList };
|