diff --git a/packages/admin-next/dashboard/src/routes/orders/order-edit/components/variant-table/use-variant-table-columns.tsx b/packages/admin-next/dashboard/src/routes/orders/order-edit/components/variant-table/use-variant-table-columns.tsx index f9586ffc6b..2f2119f242 100644 --- a/packages/admin-next/dashboard/src/routes/orders/order-edit/components/variant-table/use-variant-table-columns.tsx +++ b/packages/admin-next/dashboard/src/routes/orders/order-edit/components/variant-table/use-variant-table-columns.tsx @@ -7,7 +7,8 @@ import { ProductHeader, } from "../../../../../components/table/table-cells/product/product-cell" import { MoneyAmountCell } from "../../../../../components/table/table-cells/common/money-amount-cell" -import { PricedVariant } from "@medusajs/client-types" + +type PricedVariant = any // TODO: PricedVariant const columnHelper = createColumnHelper() diff --git a/packages/admin-next/dashboard/src/routes/orders/order-edit/components/variant-table/variant-table.tsx b/packages/admin-next/dashboard/src/routes/orders/order-edit/components/variant-table/variant-table.tsx index aa151ee7ed..61ec07730b 100644 --- a/packages/admin-next/dashboard/src/routes/orders/order-edit/components/variant-table/variant-table.tsx +++ b/packages/admin-next/dashboard/src/routes/orders/order-edit/components/variant-table/variant-table.tsx @@ -1,5 +1,3 @@ -import { PricedVariant } from "@medusajs/client-types" -import { Order } from "@medusajs/medusa" import { Button } from "@medusajs/ui" import { OnChangeFn, RowSelectionState } from "@tanstack/react-table" import { useAdminVariants } from "medusa-react" @@ -14,6 +12,9 @@ import { useVariantTableColumns } from "./use-variant-table-columns" import { useVariantTableFilters } from "./use-variant-table-filters" import { useVariantTableQuery } from "./use-variant-table-query" +type Order = any // TODO: Order +type PricedVariant = any // TODO: Order + const PAGE_SIZE = 50 export type Option = { diff --git a/packages/generated/client-types/.gitignore b/packages/generated/client-types/.gitignore deleted file mode 100644 index 0771922dd1..0000000000 --- a/packages/generated/client-types/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -/dist \ No newline at end of file diff --git a/packages/generated/client-types/CHANGELOG.md b/packages/generated/client-types/CHANGELOG.md deleted file mode 100644 index 0b899ba4fb..0000000000 --- a/packages/generated/client-types/CHANGELOG.md +++ /dev/null @@ -1,130 +0,0 @@ -# @medusajs/client-types - -## 0.2.11 - -### Patch Changes - -- [#6812](https://github.com/medusajs/medusa/pull/6812) [`e005987adf`](https://github.com/medusajs/medusa/commit/e005987adf2a2dd8c2748e7abc360cc93e7c05ad) Thanks [@shahednasser](https://github.com/shahednasser)! - fix(medusa-oas-cli): fix tool not working in Medusa backends - -- [#6680](https://github.com/medusajs/medusa/pull/6680) [`26531c5a38`](https://github.com/medusajs/medusa/commit/26531c5a38bf09ab3e77a1444cefd65a073ae713) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui-preset): Pull latest styles from Figma. - fix(ui): Fix invalid state styling of Select, so it correctly shows when aria-invalid is true. - fix(medusa): Align query params between `/admin/products/:id/variants` and `/admin/variants`. - chore(client-types): Update `medusa` client types to reflect changes to the API. - -## 0.2.10 - -### Patch Changes - -- [#6633](https://github.com/medusajs/medusa/pull/6633) [`e124762873`](https://github.com/medusajs/medusa/commit/e124762873cd43af8eefa9fee4698450fdf8c30f) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa): Allows to filter price list products by multiple ids. - -- [#6550](https://github.com/medusajs/medusa/pull/6550) [`fb25471e92`](https://github.com/medusajs/medusa/commit/fb25471e927c0cc91525f5e0134b935cd36596b5) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa): Adds updated_at query param to list-reservations. Fixes OAS for list-inventory-items. - -- [#6606](https://github.com/medusajs/medusa/pull/6606) [`c2d56ca12b`](https://github.com/medusajs/medusa/commit/c2d56ca12b89af078b885a0acced20e29bf6f8f5) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa): Fixes pagination on list Tax Rate endpoint, and also adds missing query params like order, search and filters. - -- [#6658](https://github.com/medusajs/medusa/pull/6658) [`78e5ec459a`](https://github.com/medusajs/medusa/commit/78e5ec459a637946482a3ee9f8b437656686988f) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa): Add missing query params to draft order list endpoint - -- [#6380](https://github.com/medusajs/medusa/pull/6380) [`d37ff8024d`](https://github.com/medusajs/medusa/commit/d37ff8024d8affbe84db3c0b6d79cd41016bfac4) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa,ui): Fixes list query params for the following endpoints: "/admin/customers", "/admin/customer-groups", "/admin/gift-cards", and "/admin/collections". - -- [#6483](https://github.com/medusajs/medusa/pull/6483) [`e076590ff2`](https://github.com/medusajs/medusa/commit/e076590ff2a9587d66ffdac672bdd254cb9918f1) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa): Add query params to Pub. API key endpoint - -- [#6428](https://github.com/medusajs/medusa/pull/6428) [`44d43e8155`](https://github.com/medusajs/medusa/commit/44d43e8155d1b1ca0af5e900787411c7d0b027c0) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(medusa,medusa-js,medusa-react,icons): Fixes GET /admin/products/:id/variants endpoint in the core, and medusa-js and medusa-react. Pulls latest icons from Figma into `@medusajs/icons`. - -## 0.2.9 - -### Patch Changes - -- [#6258](https://github.com/medusajs/medusa/pull/6258) [`90cff0777`](https://github.com/medusajs/medusa/commit/90cff0777fd351771f3713bf84f4c327c64d276c) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa): Adds support for ordering GET /admin/orders - -## 0.2.8 - -### Patch Changes - -- [#6201](https://github.com/medusajs/medusa/pull/6201) [`489b7effb`](https://github.com/medusajs/medusa/commit/489b7effb013b2ffb38693ace14fb8cce2dd7ab4) Thanks [@olivermrbl](https://github.com/olivermrbl)! - fix(medusa): Support q search in currencies - -- [#6208](https://github.com/medusajs/medusa/pull/6208) [`134af7766`](https://github.com/medusajs/medusa/commit/134af77667c278622e3731ba41602d297852fedb) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa): Enable pagination, search and ordering of shipping option list endpoint - -## 0.2.7 - -### Patch Changes - -- [#5599](https://github.com/medusajs/medusa/pull/5599) [`b3093c3e3`](https://github.com/medusajs/medusa/commit/b3093c3e3d64e4c024a04d76fb0f727c1c38108b) Thanks [@bqst](https://github.com/bqst)! - feat(medusa): Add `metadata` to Product Category - -## 0.2.6 - -### Patch Changes - -- [#5582](https://github.com/medusajs/medusa/pull/5582) [`91615f9c4`](https://github.com/medusajs/medusa/commit/91615f9c459a2d8cb842561c5edb335680d30298) Thanks [@shahednasser](https://github.com/shahednasser)! - fix(@medusajs/client-types): Fix types and TSDocs - fix(medusa-react): Fix response type of Publishable API Key's list sales channels. - fix(@medusajs/medusa-js): Fix incorrect parameter and response types. - fix(@medusajs/medusa): Fix incorrect types and add TSDocs - fix(@medusajs/types): Fix incorrect types and add TSDocs - -## 0.2.5 - -### Patch Changes - -- [#4953](https://github.com/medusajs/medusa/pull/4953) [`9781089ca`](https://github.com/medusajs/medusa/commit/9781089ca301221011c58423add3bf81b74b068b) Thanks [@shahednasser](https://github.com/shahednasser)! - fix(medusa): fix types for upload endpoints - -## 0.2.4 - -### Patch Changes - -- [#4230](https://github.com/medusajs/medusa/pull/4230) [`2f283996f`](https://github.com/medusajs/medusa/commit/2f283996f80313b074b96c690bcd953c67665c1b) Thanks [@erikengervall](https://github.com/erikengervall)! - feat(medusa): Add `metadata` to `StorePostCartsCartLineItemsItemReq` - -## 0.2.3 - -### Patch Changes - -- [#4066](https://github.com/medusajs/medusa/pull/4066) [`4fb443c0e`](https://github.com/medusajs/medusa/commit/4fb443c0ea38bde3148bce059c0ee3b91dfff3d4) Thanks [@pKorsholm](https://github.com/pKorsholm)! - feat(medusa,client-types): add location_id filtering to list-location levels - -- [#3979](https://github.com/medusajs/medusa/pull/3979) [`3a38c84f8`](https://github.com/medusajs/medusa/commit/3a38c84f88b05f74ee0a172af3e3f78b2ec8c2d2) Thanks [@pKorsholm](https://github.com/pKorsholm)! - feat(client-types, inventory, medusa, types): add additional filtering capabilities to list-reservations - -- [#4081](https://github.com/medusajs/medusa/pull/4081) [`4f3c8f5d7`](https://github.com/medusajs/medusa/commit/4f3c8f5d70b5ae4a11e9d4a2fea4a8410b2daf47) Thanks [@pKorsholm](https://github.com/pKorsholm)! - feat(medusa,client-types,medusa-js,admin-ui,medusa-react): add reservation table and creation - -## 0.2.2 - -### Patch Changes - -- [#3924](https://github.com/medusajs/medusa/pull/3924) [`cfcd2d54f`](https://github.com/medusajs/medusa/commit/cfcd2d54fd281fd98de881fc6dfbcc6b1b47c855) Thanks [@pevey](https://github.com/pevey)! - Add separator after tmpdir base - -## 0.2.1 - -### Patch Changes - -- [#3971](https://github.com/medusajs/medusa/pull/3971) [`7fd22ecb4`](https://github.com/medusajs/medusa/commit/7fd22ecb4d5190e92c6750a9fbf2d8534bb9f4ab) Thanks [@pKorsholm](https://github.com/pKorsholm)! - Feat(client-types, inventory, medusa, types): add `title`, `thumbnail` and `description to inventory item and `description` to reservation item. - -## 0.2.0 - -### Minor Changes - -- [#3477](https://github.com/medusajs/medusa/pull/3477) [`826d4bedf`](https://github.com/medusajs/medusa/commit/826d4bedfe1b6459163711d5173eb8eadfdea26e) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(codegen,types): SetRelation on expanded types - -### Patch Changes - -- [#3483](https://github.com/medusajs/medusa/pull/3483) [`13f40d721`](https://github.com/medusajs/medusa/commit/13f40d721702fbcdf6c131354ec9a81322d4a662) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(oas): declare x-expanded-relations - Admin - -- [#3482](https://github.com/medusajs/medusa/pull/3482) [`522e306e2`](https://github.com/medusajs/medusa/commit/522e306e2e9abf4afce63f30714389eba32bef7f) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(oas): declare x-expanded-relations - Store - -- [#3492](https://github.com/medusajs/medusa/pull/3492) [`e6e529152`](https://github.com/medusajs/medusa/commit/e6e529152792e63a71664fb88567276a820e9908) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(codegen): commit generated client types to codebase - -- [#3452](https://github.com/medusajs/medusa/pull/3452) [`55febef7f`](https://github.com/medusajs/medusa/commit/55febef7f1e74a07e76039d1ffbcb721c08adeb2) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(types): package scaffolding for generated types - -- [#3478](https://github.com/medusajs/medusa/pull/3478) [`6748877c6`](https://github.com/medusajs/medusa/commit/6748877c694c1433f666c6987f20af76b201b495) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - fix(oas,js,react): use AdminExtendedStoresRes instead of AdminStoresRes - -## 0.2.0-rc.0 - -### Minor Changes - -- [#3477](https://github.com/medusajs/medusa/pull/3477) [`826d4bedf`](https://github.com/medusajs/medusa/commit/826d4bedfe1b6459163711d5173eb8eadfdea26e) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(codegen,types): SetRelation on expanded types - -### Patch Changes - -- [#3483](https://github.com/medusajs/medusa/pull/3483) [`13f40d721`](https://github.com/medusajs/medusa/commit/13f40d721702fbcdf6c131354ec9a81322d4a662) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(oas): declare x-expanded-relations - Admin - -- [#3482](https://github.com/medusajs/medusa/pull/3482) [`522e306e2`](https://github.com/medusajs/medusa/commit/522e306e2e9abf4afce63f30714389eba32bef7f) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(oas): declare x-expanded-relations - Store - -- [#3492](https://github.com/medusajs/medusa/pull/3492) [`e6e529152`](https://github.com/medusajs/medusa/commit/e6e529152792e63a71664fb88567276a820e9908) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(codegen): commit generated client types to codebase - -- [#3452](https://github.com/medusajs/medusa/pull/3452) [`55febef7f`](https://github.com/medusajs/medusa/commit/55febef7f1e74a07e76039d1ffbcb721c08adeb2) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - feat(types): package scaffolding for generated types - -- [#3478](https://github.com/medusajs/medusa/pull/3478) [`6748877c6`](https://github.com/medusajs/medusa/commit/6748877c694c1433f666c6987f20af76b201b495) Thanks [@patrick-medusajs](https://github.com/patrick-medusajs)! - fix(oas,js,react): use AdminExtendedStoresRes instead of AdminStoresRes diff --git a/packages/generated/client-types/README.md b/packages/generated/client-types/README.md deleted file mode 100644 index 34b62e74f3..0000000000 --- a/packages/generated/client-types/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Medusa Client Types - -TypeScript types derived from the OpenAPI Spec (OAS) to be used in API clients. - -The source code is generated using the `medusa-oas` CLI tooling. - -## Install - -`yarn add --dev @medusa/client-types` - -## How to use - -Import in the client. - -```typescript -import type { AdminCustomersRes } from "@medusajs/client-types" -import type { Customer } from "@medusajs/client-types" -import type { StoreGetProductCategoryParams } from "@medusajs/client-types" -``` \ No newline at end of file diff --git a/packages/generated/client-types/package.json b/packages/generated/client-types/package.json deleted file mode 100644 index 3454cec4bd..0000000000 --- a/packages/generated/client-types/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "@medusajs/client-types", - "version": "0.2.11", - "description": "Client types for Medusa Commerce Rest API", - "main": "dist/index.js", - "files": [ - "dist" - ], - "scripts": { - "prepublishOnly": "cross-env NODE_ENV=production tsc --build", - "build": "echo ''", - "prebuild": "ts-node ./scripts/build.ts && yarn prettier", - "prettier": "prettier --write --loglevel warn ./src/lib", - "test": "jest --passWithNoTests" - }, - "author": "Medusa", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/medusajs/medusa", - "directory": "packages/generate/client-types" - }, - "bugs": { - "url": "https://github.com/medusajs/medusa/issues" - }, - "devDependencies": { - "@medusajs/medusa-oas-cli": "0.3.2", - "cross-env": "^7.0.3", - "execa": "^5.1.1", - "jest": "^27.4.7", - "prettier": "^2.7.1", - "ts-node": "^10.9.1", - "typescript": "^4.9.5" - } -} diff --git a/packages/generated/client-types/scripts/build.ts b/packages/generated/client-types/scripts/build.ts deleted file mode 100644 index 857c9ba7b4..0000000000 --- a/packages/generated/client-types/scripts/build.ts +++ /dev/null @@ -1,60 +0,0 @@ -import execa from "execa" -import os from "os" -import fs from "fs/promises" -import path from "path" -import { sep } from "path" - -const basePath = path.resolve(__dirname, `../`) - -async function run() { - const tmpDirPath = await getTmpDirectory() - await generateOASSources(tmpDirPath) - - const oasFilePath = path.resolve(tmpDirPath, `combined.oas.json`) - const outDirPath = path.resolve(basePath, "src/lib/") - await generateClientTypes(oasFilePath, outDirPath, true) -} - -const generateOASSources = async (outDir: string) => { - const params = ["oas", `--out-dir=${outDir}`, "--type=combined", "--local"] - const { all: logs } = await execa("medusa-oas", params, { - cwd: basePath, - all: true, - }) - console.log(logs) -} - -const generateClientTypes = async ( - srcFile: string, - outDir: string, - clean = false -) => { - const params = [ - "client", - `--src-file=${srcFile}`, - `--out-dir=${outDir}`, - "--type=combined", - "--component=types", - ] - if (clean) { - params.push("--clean") - } - - const { all: logs } = await execa("medusa-oas", params, { - cwd: basePath, - all: true, - }) - console.log(logs) -} - -const getTmpDirectory = async () => { - /** - * RUNNER_TEMP: GitHub action, the path to a temporary directory on the runner. - */ - const tmpDir = process.env["RUNNER_TEMP"] ?? os.tmpdir() - return await fs.mkdtemp(`${tmpDir}${sep}`) -} - -void (async () => { - await run() -})() diff --git a/packages/generated/client-types/scripts/tsconfig.json b/packages/generated/client-types/scripts/tsconfig.json deleted file mode 100644 index adedc2fafa..0000000000 --- a/packages/generated/client-types/scripts/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../tsconfig.json", - "include": [ - "./**/*" - ] -} diff --git a/packages/generated/client-types/src/index.ts b/packages/generated/client-types/src/index.ts deleted file mode 100644 index 56e3ef1d4b..0000000000 --- a/packages/generated/client-types/src/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./lib" -export { - Merge, - SetNonNullable, - SetRelation, - SetRequired, -} from "./lib/core/ModelUtils" diff --git a/packages/generated/client-types/src/lib/core/ModelUtils.ts b/packages/generated/client-types/src/lib/core/ModelUtils.ts deleted file mode 100644 index eccb43a060..0000000000 --- a/packages/generated/client-types/src/lib/core/ModelUtils.ts +++ /dev/null @@ -1,121 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -/** - * Typing utilities from https://github.com/sindresorhus/type-fest - */ - -/** - * private methods for exportable dependencies - */ -// https://github.com/sindresorhus/type-fest/blob/main/source/except.d.ts -type Filter = IsEqual extends true - ? never - : KeyType extends ExcludeType - ? never - : KeyType - -// https://github.com/sindresorhus/type-fest/blob/main/source/enforce-optional.d.ts -type RequiredFilter = undefined extends Type[Key] - ? Type[Key] extends undefined - ? Key - : never - : Key - -type OptionalFilter = undefined extends Type[Key] - ? Type[Key] extends undefined - ? never - : Key - : never - -// https://github.com/sindresorhus/type-fest/blob/main/source/merge.d.ts -type SimpleMerge = { - [Key in keyof Destination | keyof Source]: Key extends keyof Source - ? Source[Key] - : Key extends keyof Destination - ? Destination[Key] - : never -} - -/** - * optional exportable dependencies - */ -export type Simplify = { [KeyType in keyof T]: T[KeyType] } & {} - -export type IsEqual = (() => G extends A ? 1 : 2) extends < - G ->() => G extends B ? 1 : 2 - ? true - : false - -export type Except = { - [KeyType in keyof ObjectType as Filter< - KeyType, - KeysType - >]: ObjectType[KeyType] -} - -export type OmitIndexSignature = { - [KeyType in keyof ObjectType as {} extends Record - ? never - : KeyType]: ObjectType[KeyType] -} - -export type PickIndexSignature = { - [KeyType in keyof ObjectType as {} extends Record - ? KeyType - : never]: ObjectType[KeyType] -} - -export type EnforceOptional = Simplify< - { - [Key in keyof ObjectType as RequiredFilter< - ObjectType, - Key - >]: ObjectType[Key] - } & { - [Key in keyof ObjectType as OptionalFilter]?: Exclude< - ObjectType[Key], - undefined - > - } -> - -/** - * SetRequired - */ -export type SetRequired = Simplify< - // Pick just the keys that are optional from the base type. - Except & - // Pick the keys that should be required from the base type and make them required. - Required> -> - -/** - * SetNonNullable - */ -export type SetNonNullable< - BaseType, - Keys extends keyof BaseType = keyof BaseType -> = { - [Key in keyof BaseType]: Key extends Keys - ? NonNullable - : BaseType[Key] -} - -/** - * Merge - */ -export type Merge = EnforceOptional< - SimpleMerge, PickIndexSignature> & - SimpleMerge, OmitIndexSignature> -> - -/** - * SetRelation - * Alias combining SetRequire and SetNonNullable. - */ -export type SetRelation = SetRequired< - SetNonNullable, - Keys -> diff --git a/packages/generated/client-types/src/lib/index.ts b/packages/generated/client-types/src/lib/index.ts deleted file mode 100644 index 7a317e340b..0000000000 --- a/packages/generated/client-types/src/lib/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ - -export * from "./models" diff --git a/packages/generated/client-types/src/lib/models/Address.ts b/packages/generated/client-types/src/lib/models/Address.ts deleted file mode 100644 index 18e3d8b84f..0000000000 --- a/packages/generated/client-types/src/lib/models/Address.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Country } from "./Country" -import type { Customer } from "./Customer" - -/** - * An address is used across the Medusa backend within other schemas and object types. For example, a customer's billing and shipping addresses both use the Address entity. - */ -export interface Address { - /** - * ID of the address - */ - id: string - /** - * ID of the customer this address belongs to - */ - customer_id: string | null - /** - * Available if the relation `customer` is expanded. - */ - customer?: Customer | null - /** - * Company name - */ - company: string | null - /** - * First name - */ - first_name: string | null - /** - * Last name - */ - last_name: string | null - /** - * Address line 1 - */ - address_1: string | null - /** - * Address line 2 - */ - address_2: string | null - /** - * City - */ - city: string | null - /** - * The 2 character ISO code of the country in lower case - */ - country_code: string | null - /** - * A country object. - */ - country?: Country | null - /** - * Province - */ - province: string | null - /** - * Postal Code - */ - postal_code: string | null - /** - * Phone Number - */ - phone: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/AddressCreatePayload.ts b/packages/generated/client-types/src/lib/models/AddressCreatePayload.ts deleted file mode 100644 index ce956de05e..0000000000 --- a/packages/generated/client-types/src/lib/models/AddressCreatePayload.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Address fields used when creating an address. - */ -export interface AddressCreatePayload { - /** - * First name - */ - first_name: string - /** - * Last name - */ - last_name: string - /** - * Phone Number - */ - phone?: string - company?: string - /** - * Address line 1 - */ - address_1: string - /** - * Address line 2 - */ - address_2?: string - /** - * City - */ - city: string - /** - * The 2 character ISO code of the country in lower case - */ - country_code: string - /** - * Province - */ - province?: string - /** - * Postal Code - */ - postal_code: string - /** - * An optional key-value map with additional details - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AddressPayload.ts b/packages/generated/client-types/src/lib/models/AddressPayload.ts deleted file mode 100644 index 7f1e628e14..0000000000 --- a/packages/generated/client-types/src/lib/models/AddressPayload.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Address fields used when creating/updating an address. - */ -export interface AddressPayload { - /** - * First name - */ - first_name?: string - /** - * Last name - */ - last_name?: string - /** - * Phone Number - */ - phone?: string - /** - * Company - */ - company?: string - /** - * Address line 1 - */ - address_1?: string - /** - * Address line 2 - */ - address_2?: string - /** - * City - */ - city?: string - /** - * The 2 character ISO code of the country in lower case - */ - country_code?: string - /** - * Province - */ - province?: string - /** - * Postal Code - */ - postal_code?: string - /** - * An optional key-value map with additional details - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminAppsListRes.ts b/packages/generated/client-types/src/lib/models/AdminAppsListRes.ts deleted file mode 100644 index d89fcd9273..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminAppsListRes.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { OAuth } from "./OAuth" - -export interface AdminAppsListRes { - /** - * An array of app details. - */ - apps: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminAppsRes.ts b/packages/generated/client-types/src/lib/models/AdminAppsRes.ts deleted file mode 100644 index beef1fa087..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminAppsRes.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { OAuth } from "./OAuth" - -export interface AdminAppsRes { - /** - * App details. - */ - apps: OAuth -} diff --git a/packages/generated/client-types/src/lib/models/AdminAuthRes.ts b/packages/generated/client-types/src/lib/models/AdminAuthRes.ts deleted file mode 100644 index 83120b7489..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminAuthRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { User } from "./User" - -/** - * The user's details. - */ -export interface AdminAuthRes { - /** - * User details. - */ - user: User -} diff --git a/packages/generated/client-types/src/lib/models/AdminBatchJobListRes.ts b/packages/generated/client-types/src/lib/models/AdminBatchJobListRes.ts deleted file mode 100644 index cacc1bc2b5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminBatchJobListRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { BatchJob } from "./BatchJob" - -export interface AdminBatchJobListRes { - /** - * An array of batch job details. - */ - batch_jobs: Array - /** - * The total number of items available - */ - count: number - /** - * The number of batch jobs skipped when retrieving the batch jobs. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminBatchJobRes.ts b/packages/generated/client-types/src/lib/models/AdminBatchJobRes.ts deleted file mode 100644 index 088f192e19..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminBatchJobRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { BatchJob } from "./BatchJob" - -/** - * The batch job's details. - */ -export interface AdminBatchJobRes { - /** - * Batch job details. - */ - batch_job: BatchJob -} diff --git a/packages/generated/client-types/src/lib/models/AdminBearerAuthRes.ts b/packages/generated/client-types/src/lib/models/AdminBearerAuthRes.ts deleted file mode 100644 index e879ab7a57..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminBearerAuthRes.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The access token of the user, if they're authenticated successfully. - */ -export interface AdminBearerAuthRes { - /** - * Access token that can be used to send authenticated requests. - */ - access_token?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminCollectionsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminCollectionsDeleteRes.ts deleted file mode 100644 index e759cdd753..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCollectionsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminCollectionsDeleteRes { - /** - * The ID of the deleted Collection - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether the collection was deleted successfully or not. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminCollectionsListRes.ts b/packages/generated/client-types/src/lib/models/AdminCollectionsListRes.ts deleted file mode 100644 index e0c5956360..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCollectionsListRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductCollection } from "./ProductCollection" - -export interface AdminCollectionsListRes { - /** - * an array of collection details - */ - collections: Array - /** - * The total number of items available - */ - count: number - /** - * The number of product collections skipped when retrieving the product collections. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminCollectionsRes.ts b/packages/generated/client-types/src/lib/models/AdminCollectionsRes.ts deleted file mode 100644 index 7b8f5c1e52..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCollectionsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductCollection } from "./ProductCollection" - -/** - * The collection's details. - */ -export interface AdminCollectionsRes { - /** - * Product Collection details. - */ - collection: SetRelation -} diff --git a/packages/generated/client-types/src/lib/models/AdminCreateUserRequest.ts b/packages/generated/client-types/src/lib/models/AdminCreateUserRequest.ts deleted file mode 100644 index 452b65389d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCreateUserRequest.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminCreateUserRequest { - /** - * The User's email. - */ - email: string - /** - * The first name of the User. - */ - first_name?: string - /** - * The last name of the User. - */ - last_name?: string - /** - * The role assigned to the user. These roles don't provide any different privileges. - */ - role?: "admin" | "member" | "developer" - /** - * The User's password. - */ - password: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminCurrenciesListRes.ts b/packages/generated/client-types/src/lib/models/AdminCurrenciesListRes.ts deleted file mode 100644 index 55c5ee1c46..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCurrenciesListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Currency } from "./Currency" - -/** - * List of currencies with pagination fields. - */ -export interface AdminCurrenciesListRes { - /** - * An array of currency details. - */ - currencies: Array - /** - * The total number of items available - */ - count: number - /** - * The number of currencies skipped when retrieving the currencies. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminCurrenciesRes.ts b/packages/generated/client-types/src/lib/models/AdminCurrenciesRes.ts deleted file mode 100644 index 7360d1a6a3..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCurrenciesRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Currency } from "./Currency" - -/** - * A currency's details. - */ -export interface AdminCurrenciesRes { - /** - * Currency details. - */ - currency: Currency -} diff --git a/packages/generated/client-types/src/lib/models/AdminCustomerGroupsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminCustomerGroupsDeleteRes.ts deleted file mode 100644 index 8fabf7d2e7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCustomerGroupsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminCustomerGroupsDeleteRes { - /** - * The ID of the deleted customer group. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether the customer group was deleted successfully or not. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminCustomerGroupsListRes.ts b/packages/generated/client-types/src/lib/models/AdminCustomerGroupsListRes.ts deleted file mode 100644 index 3d36ee4284..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCustomerGroupsListRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { CustomerGroup } from "./CustomerGroup" - -export interface AdminCustomerGroupsListRes { - /** - * An array of customer group details. - */ - customer_groups: Array - /** - * The total number of items available - */ - count: number - /** - * The number of customer groups skipped when retrieving the customer groups. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminCustomerGroupsRes.ts b/packages/generated/client-types/src/lib/models/AdminCustomerGroupsRes.ts deleted file mode 100644 index 8ffca456d5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCustomerGroupsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { CustomerGroup } from "./CustomerGroup" - -/** - * The customer group's details. - */ -export interface AdminCustomerGroupsRes { - /** - * Customer group details. - */ - customer_group: CustomerGroup -} diff --git a/packages/generated/client-types/src/lib/models/AdminCustomersListRes.ts b/packages/generated/client-types/src/lib/models/AdminCustomersListRes.ts deleted file mode 100644 index 0b4adfb8a9..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCustomersListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Customer } from "./Customer" - -/** - * The list of customers with pagination fields. - */ -export interface AdminCustomersListRes { - /** - * An array of customer details. - */ - customers: Array - /** - * The total number of items available - */ - count: number - /** - * The number of customers skipped when retrieving the customers. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminCustomersRes.ts b/packages/generated/client-types/src/lib/models/AdminCustomersRes.ts deleted file mode 100644 index 948530183f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminCustomersRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Customer } from "./Customer" - -/** - * The customer's details. - */ -export interface AdminCustomersRes { - /** - * Customer details. - */ - customer: SetRelation -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteCustomerGroupsGroupCustomerBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteCustomerGroupsGroupCustomerBatchReq.ts deleted file mode 100644 index dcb21679a5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteCustomerGroupsGroupCustomerBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The customers to remove from the customer group. - */ -export interface AdminDeleteCustomerGroupsGroupCustomerBatchReq { - /** - * The ids of the customers to remove - */ - customer_ids: Array<{ - /** - * ID of the customer - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteDiscountsDiscountConditionsConditionBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteDiscountsDiscountConditionsConditionBatchReq.ts deleted file mode 100644 index 59f1123bfc..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteDiscountsDiscountConditionsConditionBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The resources to remove. - */ -export interface AdminDeleteDiscountsDiscountConditionsConditionBatchReq { - /** - * The resources to be removed from the discount condition - */ - resources: Array<{ - /** - * The id of the item - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteDiscountsDiscountConditionsConditionParams.ts b/packages/generated/client-types/src/lib/models/AdminDeleteDiscountsDiscountConditionsConditionParams.ts deleted file mode 100644 index dc7fa56b61..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteDiscountsDiscountConditionsConditionParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteDiscountsDiscountConditionsConditionParams { - /** - * Comma-separated relations that should be expanded in the returned discount. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned discount. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeletePriceListPricesPricesReq.ts b/packages/generated/client-types/src/lib/models/AdminDeletePriceListPricesPricesReq.ts deleted file mode 100644 index 15b75b8f8a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeletePriceListPricesPricesReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the prices to delete. - */ -export interface AdminDeletePriceListPricesPricesReq { - /** - * The IDs of the prices to delete. - */ - price_ids?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeletePriceListsPriceListProductsPricesBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminDeletePriceListsPriceListProductsPricesBatchReq.ts deleted file mode 100644 index feb4b5922e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeletePriceListsPriceListProductsPricesBatchReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products' prices to delete. - */ -export interface AdminDeletePriceListsPriceListProductsPricesBatchReq { - /** - * The IDs of the products to delete their associated prices. - */ - product_ids?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteProductCategoriesCategoryProductsBatchParams.ts b/packages/generated/client-types/src/lib/models/AdminDeleteProductCategoriesCategoryProductsBatchParams.ts deleted file mode 100644 index 06b1006a4e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteProductCategoriesCategoryProductsBatchParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteProductCategoriesCategoryProductsBatchParams { - /** - * Comma-separated relations that should be expanded in the returned product category. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned product category. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteProductCategoriesCategoryProductsBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteProductCategoriesCategoryProductsBatchReq.ts deleted file mode 100644 index b25e2c97d6..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteProductCategoriesCategoryProductsBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products to delete from the product category. - */ -export interface AdminDeleteProductCategoriesCategoryProductsBatchReq { - /** - * The IDs of the products to delete from the product category. - */ - product_ids: Array<{ - /** - * The ID of a product - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteProductsFromCollectionReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteProductsFromCollectionReq.ts deleted file mode 100644 index cd745671a1..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteProductsFromCollectionReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products to remove from the collection. - */ -export interface AdminDeleteProductsFromCollectionReq { - /** - * An array of Product IDs to remove from the Product Collection. - */ - product_ids: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteProductsFromCollectionRes.ts b/packages/generated/client-types/src/lib/models/AdminDeleteProductsFromCollectionRes.ts deleted file mode 100644 index 1c13d6c44a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteProductsFromCollectionRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Deletion operation details - */ -export interface AdminDeleteProductsFromCollectionRes { - /** - * The ID of the collection - */ - id: string - /** - * The type of object the removal was executed on - */ - object: string - /** - * The IDs of the products removed from the collection - */ - removed_products: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeletePublishableApiKeySalesChannelsBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminDeletePublishableApiKeySalesChannelsBatchReq.ts deleted file mode 100644 index d6ff4851bb..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeletePublishableApiKeySalesChannelsBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the sales channels to remove from the publishable API key. - */ -export interface AdminDeletePublishableApiKeySalesChannelsBatchReq { - /** - * The IDs of the sales channels to remove from the publishable API key - */ - sales_channel_ids: Array<{ - /** - * The ID of the sales channel - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteSalesChannelsChannelProductsBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteSalesChannelsChannelProductsBatchReq.ts deleted file mode 100644 index c0b0255a74..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteSalesChannelsChannelProductsBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products to delete from the sales channel. - */ -export interface AdminDeleteSalesChannelsChannelProductsBatchReq { - /** - * The IDs of the products to remove from the sales channel. - */ - product_ids: Array<{ - /** - * The ID of a product - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteSalesChannelsChannelStockLocationsReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteSalesChannelsChannelStockLocationsReq.ts deleted file mode 100644 index 76d43b745d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteSalesChannelsChannelStockLocationsReq.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteSalesChannelsChannelStockLocationsReq { - /** - * The ID of the stock location - */ - location_id: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteShippingProfileRes.ts b/packages/generated/client-types/src/lib/models/AdminDeleteShippingProfileRes.ts deleted file mode 100644 index 59a21eac18..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteShippingProfileRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteShippingProfileRes { - /** - * The ID of the deleted Shipping Profile. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductTypesParams.ts b/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductTypesParams.ts deleted file mode 100644 index 69ea01ed1e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductTypesParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteTaxRatesTaxRateProductTypesParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductTypesReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductTypesReq.ts deleted file mode 100644 index bd68673cea..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductTypesReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Product types to remove from the tax rates. - */ -export interface AdminDeleteTaxRatesTaxRateProductTypesReq { - /** - * The IDs of the product types to remove their association with this tax rate. - */ - product_types: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductsParams.ts b/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductsParams.ts deleted file mode 100644 index 49fb7867a2..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteTaxRatesTaxRateProductsParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductsReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductsReq.ts deleted file mode 100644 index 36e7bb0673..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateProductsReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products to remove their associated with the tax rate. - */ -export interface AdminDeleteTaxRatesTaxRateProductsReq { - /** - * The IDs of the products to remove their association with this tax rate. - */ - products: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateShippingOptionsParams.ts b/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateShippingOptionsParams.ts deleted file mode 100644 index cb78843a2c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateShippingOptionsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteTaxRatesTaxRateShippingOptionsParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateShippingOptionsReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateShippingOptionsReq.ts deleted file mode 100644 index 7b8c69b86a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteTaxRatesTaxRateShippingOptionsReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the shipping options to remove their associate with the tax rate. - */ -export interface AdminDeleteTaxRatesTaxRateShippingOptionsReq { - /** - * The IDs of the shipping options to remove their association with this tax rate. - */ - shipping_options: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteUploadsReq.ts b/packages/generated/client-types/src/lib/models/AdminDeleteUploadsReq.ts deleted file mode 100644 index 6a29a88847..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteUploadsReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the file to delete. - */ -export interface AdminDeleteUploadsReq { - /** - * key of the file to delete. This is obtained when you first uploaded the file, or by the file service if you used it directly. - */ - file_key: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteUploadsRes.ts b/packages/generated/client-types/src/lib/models/AdminDeleteUploadsRes.ts deleted file mode 100644 index 03964dd0a0..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteUploadsRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteUploadsRes { - /** - * The file key of the upload deleted - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminDeleteUserRes.ts b/packages/generated/client-types/src/lib/models/AdminDeleteUserRes.ts deleted file mode 100644 index 86546fd87c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDeleteUserRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDeleteUserRes { - /** - * The ID of the deleted user. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminDiscountConditionsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminDiscountConditionsDeleteRes.ts deleted file mode 100644 index 8b5755212e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDiscountConditionsDeleteRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Discount } from "./Discount" - -export interface AdminDiscountConditionsDeleteRes { - /** - * The ID of the deleted Discount Condition - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether the discount condition was deleted successfully. - */ - deleted: boolean - /** - * The Discount to which the condition used to belong to. - */ - discount: Discount -} diff --git a/packages/generated/client-types/src/lib/models/AdminDiscountConditionsRes.ts b/packages/generated/client-types/src/lib/models/AdminDiscountConditionsRes.ts deleted file mode 100644 index b863927a77..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDiscountConditionsRes.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { DiscountCondition } from "./DiscountCondition" - -export interface AdminDiscountConditionsRes { - /** - * Discount condition details. - */ - discount_condition: SetRelation -} diff --git a/packages/generated/client-types/src/lib/models/AdminDiscountsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminDiscountsDeleteRes.ts deleted file mode 100644 index 7e03d5fa8e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDiscountsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDiscountsDeleteRes { - /** - * The ID of the deleted Discount - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether the discount was deleted successfully. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminDiscountsListRes.ts b/packages/generated/client-types/src/lib/models/AdminDiscountsListRes.ts deleted file mode 100644 index 5f621a358a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDiscountsListRes.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Discount } from "./Discount" -import type { DiscountRule } from "./DiscountRule" - -/** - * The list of discounts with pagination fields. - */ -export interface AdminDiscountsListRes { - /** - * The list of discounts. - */ - discounts: Array< - Merge< - SetRelation, - { - rule: SetRelation - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of discounts skipped when retrieving the discounts. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminDiscountsRes.ts b/packages/generated/client-types/src/lib/models/AdminDiscountsRes.ts deleted file mode 100644 index b4aac3465a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDiscountsRes.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Discount } from "./Discount" -import type { DiscountRule } from "./DiscountRule" -import type { Region } from "./Region" - -/** - * The discount's details. - */ -export interface AdminDiscountsRes { - /** - * Discount details. - */ - discount: Merge< - SetRelation, - { - regions: Array< - SetRelation - > - rule: SetRelation - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminDraftOrdersDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminDraftOrdersDeleteRes.ts deleted file mode 100644 index d6fd836f64..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDraftOrdersDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminDraftOrdersDeleteRes { - /** - * The ID of the deleted Draft Order. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether the draft order was deleted successfully. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminDraftOrdersListRes.ts b/packages/generated/client-types/src/lib/models/AdminDraftOrdersListRes.ts deleted file mode 100644 index 6639603195..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDraftOrdersListRes.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { DraftOrder } from "./DraftOrder" -import type { LineItem } from "./LineItem" - -/** - * The list of draft orders with pagination fields. - */ -export interface AdminDraftOrdersListRes { - /** - * An array of draft order's details. - */ - draft_orders: Array< - Merge< - SetRelation, - { - cart: Merge< - SetRelation, - { - items: Array> - } - > - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of draft orders skipped when retrieving the draft orders. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminDraftOrdersRes.ts b/packages/generated/client-types/src/lib/models/AdminDraftOrdersRes.ts deleted file mode 100644 index 7e99a1668b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminDraftOrdersRes.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { Discount } from "./Discount" -import type { DraftOrder } from "./DraftOrder" -import type { LineItem } from "./LineItem" -import type { Product } from "./Product" -import type { ProductVariant } from "./ProductVariant" -import type { Region } from "./Region" -import type { ShippingMethod } from "./ShippingMethod" - -/** - * The list of draft orders. - */ -export interface AdminDraftOrdersRes { - /** - * Draft order's details. - */ - draft_order: Merge< - SetRelation, - { - cart: Merge< - SetRelation< - Cart, - | "items" - | "billing_address" - | "customer" - | "discounts" - | "payment" - | "payment_sessions" - | "region" - | "shipping_address" - | "shipping_methods" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "item_tax_total" - | "refundable_amount" - | "refunded_total" - | "shipping_tax_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - | "gift_cards" - >, - { - items: Array< - Merge< - SetRelation< - LineItem, - | "adjustments" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "tax_lines" - | "variant" - >, - { - variant: Merge< - SetRelation, - { - product: SetRelation - } - > - } - > - > - discounts: Array> - region: SetRelation< - Region, - "payment_providers" | "tax_rates" | "fulfillment_providers" - > - shipping_methods: Array< - SetRelation - > - } - > - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminExtendedStoresRes.ts b/packages/generated/client-types/src/lib/models/AdminExtendedStoresRes.ts deleted file mode 100644 index 3a881dc5ed..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminExtendedStoresRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ExtendedStoreDTO } from "./ExtendedStoreDTO" - -/** - * The store's details with additional details like payment and tax providers. - */ -export interface AdminExtendedStoresRes { - /** - * Store details. - */ - store: SetRelation -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetBatchParams.ts b/packages/generated/client-types/src/lib/models/AdminGetBatchParams.ts deleted file mode 100644 index 9650e54470..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetBatchParams.ts +++ /dev/null @@ -1,182 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetBatchParams { - /** - * Limit the number of batch jobs returned. - */ - limit?: number - /** - * The number of batch jobs to skip when retrieving the batch jobs. - */ - offset?: number - /** - * Filter by the batch ID - */ - id?: string | Array - /** - * Filter by the batch type - */ - type?: Array - /** - * Filter by a confirmation date range. - */ - confirmed_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a pre-processing date range. - */ - pre_processed_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a completion date range. - */ - completed_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a failure date range. - */ - failed_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a cancelation date range. - */ - canceled_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * A batch-job field to sort-order the retrieved batch jobs by. - */ - order?: string - /** - * Comma-separated relations that should be expanded in the returned batch jobs. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned batch jobs. - */ - fields?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetCollectionsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetCollectionsParams.ts deleted file mode 100644 index b20e3e68d7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetCollectionsParams.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetCollectionsParams { - /** - * The number of collections to return. - */ - limit?: number - /** - * The number of collections to skip when retrieving the collections. - */ - offset?: number - /** - * Filter collections by their title. - */ - title?: string - /** - * Filter collections by their handle. - */ - handle?: string - /** - * a term to search collections by their title or handle. - */ - q?: string - /** - * A field to sort-order the retrieved collections by. - */ - order?: string - /** - * Filter collections by a discount condition ID associated with them. - */ - discount_condition_id?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetCurrenciesParams.ts b/packages/generated/client-types/src/lib/models/AdminGetCurrenciesParams.ts deleted file mode 100644 index 5946d0dac7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetCurrenciesParams.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetCurrenciesParams { - /** - * filter by currency code. - */ - code?: string - /** - * filter currencies by whether they include taxes or not. - */ - includes_tax?: boolean - /** - * A field to sort order the retrieved currencies by. - */ - order?: string - /** - * Term used to search currencies' name and code. - */ - q?: string - /** - * The number of currencies to skip when retrieving the currencies. - */ - offset?: number - /** - * The number of currencies to return. - */ - limit?: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetCustomerGroupsGroupParams.ts b/packages/generated/client-types/src/lib/models/AdminGetCustomerGroupsGroupParams.ts deleted file mode 100644 index b4ef4933e9..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetCustomerGroupsGroupParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetCustomerGroupsGroupParams { - /** - * Comma-separated relations that should be expanded in the returned customer group. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned customer group. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetCustomerGroupsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetCustomerGroupsParams.ts deleted file mode 100644 index c38a4ed363..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetCustomerGroupsParams.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetCustomerGroupsParams { - /** - * term to search customer groups by name. - */ - q?: string - /** - * The number of customer groups to skip when retrieving the customer groups. - */ - offset?: number - /** - * A field to sort order the retrieved customer groups by. - */ - order?: string - /** - * Filter by discount condition ID. - */ - discount_condition_id?: string - /** - * Filter by the customer group ID - */ - id?: - | string - | Array - | { - /** - * filter by IDs less than this ID - */ - lt?: string - /** - * filter by IDs greater than this ID - */ - gt?: string - /** - * filter by IDs less than or equal to this ID - */ - lte?: string - /** - * filter by IDs greater than or equal to this ID - */ - gte?: string - } - /** - * Filter by the customer group name - */ - name?: Array - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * The number of customer groups to return. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned customer groups. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned customer groups. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetCustomersParams.ts b/packages/generated/client-types/src/lib/models/AdminGetCustomersParams.ts deleted file mode 100644 index 871953685c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetCustomersParams.ts +++ /dev/null @@ -1,81 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetCustomersParams { - /** - * The number of customers to return. - */ - limit?: number - /** - * The number of customers to skip when retrieving the customers. - */ - offset?: number - /** - * Comma-separated relations that should be expanded in the returned customers. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned customers. - */ - fields?: string - /** - * term to search customers' email, first_name, and last_name fields. - */ - q?: string - /** - * Filter customers by whether they have an account. - */ - has_account?: boolean - /** - * A field to sort-order the retrieved customers by. - */ - order?: string - /** - * Filter by customer group IDs. - */ - groups?: Array - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetDiscountParams.ts b/packages/generated/client-types/src/lib/models/AdminGetDiscountParams.ts deleted file mode 100644 index 7604d4eeb2..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetDiscountParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetDiscountParams { - /** - * Comma-separated relations that should be expanded in the returned discount. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned discount. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetDiscountsDiscountCodeParams.ts b/packages/generated/client-types/src/lib/models/AdminGetDiscountsDiscountCodeParams.ts deleted file mode 100644 index 1182abcc57..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetDiscountsDiscountCodeParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetDiscountsDiscountCodeParams { - /** - * Comma-separated relations that should be expanded in the returned discount. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned discount. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetDiscountsDiscountConditionsConditionParams.ts b/packages/generated/client-types/src/lib/models/AdminGetDiscountsDiscountConditionsConditionParams.ts deleted file mode 100644 index 0fc5dbc132..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetDiscountsDiscountConditionsConditionParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetDiscountsDiscountConditionsConditionParams { - /** - * Comma-separated relations that should be expanded in the returned discount condition. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned discount condition. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetDiscountsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetDiscountsParams.ts deleted file mode 100644 index 428a128704..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetDiscountsParams.ts +++ /dev/null @@ -1,90 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetDiscountsParams { - /** - * term to search discounts' code field. - */ - q?: string - /** - * Filter discounts by rule fields. - */ - rule?: { - /** - * Filter discounts by type. - */ - type?: "fixed" | "percentage" | "free_shipping" - /** - * Filter discounts by allocation type. - */ - allocation?: "total" | "item" - } - /** - * Filter discounts by whether they're dynamic or not. - */ - is_dynamic?: boolean - /** - * Filter discounts by whether they're disabled or not. - */ - is_disabled?: boolean - /** - * The number of discounts to return - */ - limit?: number - /** - * The number of discounts to skip when retrieving the discounts. - */ - offset?: number - /** - * Comma-separated relations that should be expanded in each returned discount. - */ - expand?: string - /** - * A discount field to sort-order the retrieved discounts by. - */ - order?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetDraftOrdersParams.ts b/packages/generated/client-types/src/lib/models/AdminGetDraftOrdersParams.ts deleted file mode 100644 index 4adee26a21..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetDraftOrdersParams.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetDraftOrdersParams { - /** - * The number of draft orders to skip when retrieving the draft orders. - */ - offset?: number - /** - * Limit the number of draft orders returned. - */ - limit?: number - /** - * a term to search draft orders' display IDs and emails in the draft order's cart - */ - q?: string - /** - * Field to sort retrieved draft orders by. - */ - order?: string - /** - * A comma-separated list of fields to expand. - */ - expand?: string - /** - * A comma-separated list of fields to include in the response. - */ - fields?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by status - */ - status?: Array<"open" | "completed"> -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetGiftCardsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetGiftCardsParams.ts deleted file mode 100644 index 1a6cd49cb5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetGiftCardsParams.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetGiftCardsParams { - /** - * The number of gift cards to skip when retrieving the gift cards. - */ - offset?: number - /** - * Limit the number of gift cards returned. - */ - limit?: number - /** - * a term to search gift cards' code or display ID - */ - q?: string - /** - * A gift card field to sort-order the retrieved gift cards by. - */ - order?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetGroupsGroupCustomersParams.ts b/packages/generated/client-types/src/lib/models/AdminGetGroupsGroupCustomersParams.ts deleted file mode 100644 index 196d4d8c55..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetGroupsGroupCustomersParams.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetGroupsGroupCustomersParams { - /** - * The number of customers to return. - */ - limit?: number - /** - * The number of customers to skip when retrieving the customers. - */ - offset?: number - /** - * Comma-separated relations that should be expanded in the returned customers. - */ - expand?: string - /** - * a term to search customers by email, first_name, and last_name. - */ - q?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsItemLocationLevelsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsItemLocationLevelsParams.ts deleted file mode 100644 index e7bd69675e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsItemLocationLevelsParams.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetInventoryItemsItemLocationLevelsParams { - /** - * Filter by location IDs. - */ - location_id?: Array - /** - * Comma-separated relations that should be expanded in the returned inventory levels. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned inventory levels. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsItemParams.ts b/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsItemParams.ts deleted file mode 100644 index 97265df4d5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsItemParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetInventoryItemsItemParams { - /** - * Comma-separated relations that should be expanded in the returned inventory item. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned inventory item. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsParams.ts deleted file mode 100644 index dd07c92c51..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetInventoryItemsParams.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetInventoryItemsParams { - /** - * The number of inventory items to skip when retrieving the inventory items. - */ - offset?: number - /** - * Limit the number of inventory items returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in each returned inventory item. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned inventory item. - */ - fields?: string - /** - * term to search inventory item's sku, title, and description. - */ - q?: string - /** - * Field to sort-order inventory items by. - */ - order?: string - /** - * Filter by location IDs. - */ - location_id?: Array - /** - * Filter by the inventory ID - */ - id?: string | Array - /** - * Filter by SKU - */ - sku?: string - /** - * Filter by origin country - */ - origin_country?: string - /** - * Filter by MID code - */ - mid_code?: string - /** - * Filter by material - */ - material?: string - /** - * Filter by HS Code - */ - hs_code?: string - /** - * Filter by weight - */ - weight?: string - /** - * Filter by length - */ - length?: string - /** - * Filter by height - */ - height?: string - /** - * Filter by width - */ - width?: string - /** - * Filter by whether the item requires shipping - */ - requires_shipping?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetNotesParams.ts b/packages/generated/client-types/src/lib/models/AdminGetNotesParams.ts deleted file mode 100644 index 04d3e03bc3..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetNotesParams.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetNotesParams { - /** - * Limit the number of notes returned. - */ - limit?: number - /** - * The number of notes to skip when retrieving the notes. - */ - offset?: number - /** - * Filter by resource ID - */ - resource_id?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetNotificationsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetNotificationsParams.ts deleted file mode 100644 index ffe77976a4..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetNotificationsParams.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetNotificationsParams { - /** - * The number of inventory items to skip when retrieving the inventory items. - */ - offset?: number - /** - * Limit the number of notifications returned. - */ - limit?: number - /** - * Comma-separated fields that should be included in each returned notification. - */ - fields?: string - /** - * Comma-separated relations that should be expanded in each returned notification. - */ - expand?: string - /** - * Filter by the name of the event that triggered sending this notification. - */ - event_name?: string - /** - * Filter by the resource type. - */ - resource_type?: string - /** - * Filter by the resource ID. - */ - resource_id?: string - /** - * Filter by the address that the Notification was sent to. This will usually be an email address, but it can also represent other addresses such as a chat bot user id. - */ - to?: string - /** - * A boolean indicating whether the result set should include resent notifications or not - */ - include_resends?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetOrdersOrderParams.ts b/packages/generated/client-types/src/lib/models/AdminGetOrdersOrderParams.ts deleted file mode 100644 index 4ff7a0f90e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetOrdersOrderParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetOrdersOrderParams { - /** - * Comma-separated relations that should be expanded in the returned order. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned order. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetOrdersParams.ts b/packages/generated/client-types/src/lib/models/AdminGetOrdersParams.ts deleted file mode 100644 index c83fdbe98a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetOrdersParams.ts +++ /dev/null @@ -1,162 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetOrdersParams { - /** - * term to search orders' shipping address, first name, email, and display ID - */ - q?: string - /** - * Filter by ID. - */ - id?: string - /** - * Filter by status - */ - status?: Array< - "pending" | "completed" | "archived" | "canceled" | "requires_action" - > - /** - * Filter by fulfillment status - */ - fulfillment_status?: Array< - | "not_fulfilled" - | "fulfilled" - | "partially_fulfilled" - | "shipped" - | "partially_shipped" - | "canceled" - | "returned" - | "partially_returned" - | "requires_action" - > - /** - * Filter by payment status - */ - payment_status?: Array< - | "captured" - | "awaiting" - | "not_paid" - | "refunded" - | "partially_refunded" - | "canceled" - | "requires_action" - > - /** - * Filter by display ID - */ - display_id?: string - /** - * Filter by cart ID - */ - cart_id?: string - /** - * Filter by customer ID - */ - customer_id?: string - /** - * Filter by email - */ - email?: string - /** - * Filter by region IDs. - */ - region_id?: string | Array - /** - * Filter by currency codes. - */ - currency_code?: string - /** - * Filter by tax rate. - */ - tax_rate?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a cancelation date range. - */ - canceled_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by Sales Channel IDs - */ - sales_channel_id?: Array - /** - * The number of orders to skip when retrieving the orders. - */ - offset?: number - /** - * Limit the number of orders returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned order. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned order. - */ - fields?: string - /** - * Field to sort retrieved orders by. - */ - order?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetPaymentCollectionsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetPaymentCollectionsParams.ts deleted file mode 100644 index 15a20c361a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetPaymentCollectionsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetPaymentCollectionsParams { - /** - * Comma-separated relations that should be expanded in the returned payment collection. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned payment collection. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetPriceListPaginationParams.ts b/packages/generated/client-types/src/lib/models/AdminGetPriceListPaginationParams.ts deleted file mode 100644 index 0cba82b4e8..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetPriceListPaginationParams.ts +++ /dev/null @@ -1,114 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetPriceListPaginationParams { - /** - * Limit the number of price lists returned. - */ - limit?: number - /** - * The number of price lists to skip when retrieving the price lists. - */ - offset?: number - /** - * Comma-separated relations that should be expanded in the returned price lists. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned price lists. - */ - fields?: string - /** - * A price-list field to sort-order the retrieved price lists by. - */ - order?: string - /** - * Filter by ID - */ - id?: string - /** - * term to search price lists' description, name, and customer group's name. - */ - q?: string - /** - * Filter by status. - */ - status?: Array<"active" | "draft"> - /** - * Filter by name - */ - name?: string - /** - * Filter by customer-group IDs. - */ - customer_groups?: Array - /** - * Filter by type. - */ - type?: Array<"sale" | "override"> - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetPriceListsPriceListProductsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetPriceListsPriceListProductsParams.ts deleted file mode 100644 index e704a95914..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetPriceListsPriceListProductsParams.ts +++ /dev/null @@ -1,130 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetPriceListsPriceListProductsParams { - /** - * term used to search products' title, description, product variant's title and sku, and product collection's title. - */ - q?: string - /** - * Filter by product IDs. - */ - id?: string | Array - /** - * Filter by product status - */ - status?: Array<"draft" | "proposed" | "published" | "rejected"> - /** - * Filter by product collection ID. Only products in the specified collections are retrieved. - */ - collection_id?: Array - /** - * Filter by tag IDs. Only products having the specified tags are retrieved. - */ - tags?: Array - /** - * Filter by title - */ - title?: string - /** - * Filter by description - */ - description?: string - /** - * Filter by handle - */ - handle?: string - /** - * A boolean value to filter by whether the product is a gift card or not. - */ - is_giftcard?: boolean - /** - * Filter product type. - */ - type?: string - /** - * A product field to sort-order the retrieved products by. - */ - order?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * The number of products to skip when retrieving the products. - */ - offset?: number - /** - * Limit the number of products returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned products. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned products. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetProductCategoriesParams.ts b/packages/generated/client-types/src/lib/models/AdminGetProductCategoriesParams.ts deleted file mode 100644 index 19e17727d4..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetProductCategoriesParams.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetProductCategoriesParams { - /** - * term to search product categories' names and handles. - */ - q?: string - /** - * Filter by handle. - */ - handle?: string - /** - * Filter by whether the category is internal or not. - */ - is_internal?: boolean - /** - * Filter by whether the category is active or not. - */ - is_active?: boolean - /** - * If set to `true`, all nested descendants of a category are included in the response. - */ - include_descendants_tree?: boolean - /** - * Filter by the ID of a parent category. - */ - parent_category_id?: string - /** - * The number of product categories to skip when retrieving the product categories. - */ - offset?: number - /** - * Limit the number of product categories returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned product categories. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned product categories. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetProductCategoryParams.ts b/packages/generated/client-types/src/lib/models/AdminGetProductCategoryParams.ts deleted file mode 100644 index f1eda6da87..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetProductCategoryParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetProductCategoryParams { - /** - * Comma-separated relations that should be expanded in the returned product category. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned product category. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetProductTagsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetProductTagsParams.ts deleted file mode 100644 index fb9add9d96..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetProductTagsParams.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetProductTagsParams { - /** - * Limit the number of product tags returned. - */ - limit?: number - /** - * The number of product tags to skip when retrieving the product tags. - */ - offset?: number - /** - * A product tag field to sort-order the retrieved product tags by. - */ - order?: string - /** - * Filter by the ID of a discount condition. Only product tags that this discount condition is applied to will be retrieved. - */ - discount_condition_id?: string - /** - * Filter by tag value. - */ - value?: Array - /** - * term to search product tags' values. - */ - q?: string - /** - * Filter by tag IDs. - */ - id?: Array - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetProductTypesParams.ts b/packages/generated/client-types/src/lib/models/AdminGetProductTypesParams.ts deleted file mode 100644 index 5d732a7622..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetProductTypesParams.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetProductTypesParams { - /** - * Limit the number of product types returned. - */ - limit?: number - /** - * The number of product types to skip when retrieving the product types. - */ - offset?: number - /** - * A product type field to sort-order the retrieved product types by. - */ - order?: string - /** - * Filter by the ID of a discount condition. Only product types that this discount condition is applied to will be retrieved. - */ - discount_condition_id?: string - /** - * Filter by value. - */ - value?: Array - /** - * Filter by product type IDs. - */ - id?: Array - /** - * term to search product types' values. - */ - q?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetProductsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetProductsParams.ts deleted file mode 100644 index e226243141..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetProductsParams.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetProductsParams { - /** - * term to search products' title, description, variants' title and sku, and collections' title. - */ - q?: string - /** - * Filter by the ID of a discount condition. Only products that this discount condition is applied to will be retrieved. - */ - discount_condition_id?: string - /** - * Filter by product IDs. - */ - id?: string | Array - /** - * Filter by status. - */ - status?: Array<"draft" | "proposed" | "published" | "rejected"> - /** - * Filter by product collection IDs. Only products that are associated with the specified collections will be retrieved. - */ - collection_id?: Array - /** - * Filter by product tag IDs. Only products that are associated with the specified tags will be retrieved. - */ - tags?: Array - /** - * Filter by IDs of price lists. Only products that these price lists are applied to will be retrieved. - */ - price_list_id?: Array - /** - * Filter by sales channel IDs. Only products that are available in the specified sales channels will be retrieved. - */ - sales_channel_id?: Array - /** - * Filter by product type IDs. Only products that are associated with the specified types will be retrieved. - */ - type_id?: Array - /** - * Filter by product category IDs. Only products that are associated with the specified categories will be retrieved. - */ - category_id?: Array - /** - * whether to include product category children when filtering by `category_id` - */ - include_category_children?: boolean - /** - * Filter by title. - */ - title?: string - /** - * Filter by description. - */ - description?: string - /** - * Filter by handle. - */ - handle?: string - /** - * Whether to retrieve gift cards or regular products. - */ - is_giftcard?: boolean - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * The number of products to skip when retrieving the products. - */ - offset?: number - /** - * Limit the number of products returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned products. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned products. - */ - fields?: string - /** - * A product field to sort-order the retrieved products by. - */ - order?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetProductsVariantsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetProductsVariantsParams.ts deleted file mode 100644 index 9a5223f2a7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetProductsVariantsParams.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetProductsVariantsParams { - /** - * IDs to filter product variants by. - */ - id?: string - /** - * Comma-separated fields that should be included in the returned product variants. - */ - fields?: string - /** - * Comma-separated relations that should be expanded in the returned product variants. - */ - expand?: string - /** - * The number of product variants to skip when retrieving the product variants. - */ - offset?: number - /** - * Limit the number of product variants returned. - */ - limit?: number - /** - * Search term to search product variants' title, sku, and products' title. - */ - q?: string - /** - * The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`. - */ - order?: string - /** - * Filter product variants by whether their inventory is managed or not. - */ - manage_inventory?: boolean - /** - * Filter product variants by whether they are allowed to be backordered or not. - */ - allow_backorder?: boolean - /** - * Filter by available inventory quantity - */ - inventory_quantity?: - | number - | { - /** - * filter by inventory quantity less than this number - */ - lt?: number - /** - * filter by inventory quantity greater than this number - */ - gt?: number - /** - * filter by inventory quantity less than or equal to this number - */ - lte?: number - /** - * filter by inventory quantity greater than or equal to this number - */ - gte?: number - } - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetRegionsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetRegionsParams.ts deleted file mode 100644 index 41d5e0389b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetRegionsParams.ts +++ /dev/null @@ -1,86 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetRegionsParams { - /** - * Term used to search regions' name. - */ - q?: string - /** - * A field to sort-order the retrieved regions by. - */ - order?: string - /** - * Limit the number of regions returned. - */ - limit?: number - /** - * The number of regions to skip when retrieving the regions. - */ - offset?: number - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetRegionsRegionFulfillmentOptionsRes.ts b/packages/generated/client-types/src/lib/models/AdminGetRegionsRegionFulfillmentOptionsRes.ts deleted file mode 100644 index 3ec74dd991..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetRegionsRegionFulfillmentOptionsRes.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The list of fulfillment options in a region. - */ -export interface AdminGetRegionsRegionFulfillmentOptionsRes { - /** - * Fulfillment providers details. - */ - fulfillment_options: Array<{ - /** - * ID of the fulfillment provider - */ - provider_id: string - /** - * fulfillment provider options - */ - options: Array> - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetReservationsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetReservationsParams.ts deleted file mode 100644 index ea08342c05..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetReservationsParams.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetReservationsParams { - /** - * Filter by location ID - */ - location_id?: Array - /** - * Filter by inventory item ID. - */ - inventory_item_id?: Array - /** - * Filter by line item ID. - */ - line_item_id?: Array - /** - * Filter by reservation quantity - */ - quantity?: { - /** - * filter by reservation quantity less than this number - */ - lt?: number - /** - * filter by reservation quantity greater than this number - */ - gt?: number - /** - * filter by reservation quantity less than or equal to this number - */ - lte?: number - /** - * filter by reservation quantity greater than or equal to this number - */ - gte?: number - } - /** - * Filter by description. - */ - description?: - | string - | { - /** - * filter by reservation description containing search string. - */ - contains?: string - /** - * filter by reservation description starting with search string. - */ - starts_with?: string - /** - * filter by reservation description ending with search string. - */ - ends_with?: string - } - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * The number of reservations to skip when retrieving the reservations. - */ - offset?: number - /** - * Limit the number of reservations returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned reservations. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned reservations. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetReturnsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetReturnsParams.ts deleted file mode 100644 index 5e1d091e0e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetReturnsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetReturnsParams { - /** - * Limit the number of Returns returned. - */ - limit?: number - /** - * The number of Returns to skip when retrieving the Returns. - */ - offset?: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetSalesChannelsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetSalesChannelsParams.ts deleted file mode 100644 index 7155957c3d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetSalesChannelsParams.ts +++ /dev/null @@ -1,106 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetSalesChannelsParams { - /** - * Filter by a sales channel ID. - */ - id?: string - /** - * Filter by name. - */ - name?: string - /** - * Filter by description. - */ - description?: string - /** - * term used to search sales channels' names and descriptions. - */ - q?: string - /** - * A sales-channel field to sort-order the retrieved sales channels by. - */ - order?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * The number of sales channels to skip when retrieving the sales channels. - */ - offset?: number - /** - * Limit the number of sales channels returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned sales channels. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned sales channels. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetShippingOptionsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetShippingOptionsParams.ts deleted file mode 100644 index e47b1727da..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetShippingOptionsParams.ts +++ /dev/null @@ -1,114 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetShippingOptionsParams { - /** - * Filter by name. - */ - name?: string - /** - * Filter by the ID of the region the shipping options belong to. - */ - region_id?: string - /** - * Filter by whether the shipping options are return shipping options. - */ - is_return?: boolean - /** - * Filter by whether the shipping options are available for admin users only. - */ - admin_only?: boolean - /** - * Term used to search shipping options' name. - */ - q?: string - /** - * A shipping option field to sort-order the retrieved shipping options by. - */ - order?: string - /** - * Filter by shipping option IDs. - */ - id?: string | Array - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * The number of users to skip when retrieving the shipping options. - */ - offset?: number - /** - * Limit the number of shipping options returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned shipping options. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned shipping options. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetStockLocationsLocationParams.ts b/packages/generated/client-types/src/lib/models/AdminGetStockLocationsLocationParams.ts deleted file mode 100644 index 30aa17f42e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetStockLocationsLocationParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetStockLocationsLocationParams { - /** - * Comma-separated relations that should be expanded in the returned stock location. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned stock location. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetStockLocationsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetStockLocationsParams.ts deleted file mode 100644 index d5045a765d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetStockLocationsParams.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetStockLocationsParams { - /** - * Filter by ID. - */ - id?: string - /** - * Filter by name. - */ - name?: string - /** - * A stock-location field to sort-order the retrieved stock locations by. - */ - order?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * The number of stock locations to skip when retrieving the stock locations. - */ - offset?: number - /** - * Limit the number of stock locations returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned stock locations. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned stock locations. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetSwapsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetSwapsParams.ts deleted file mode 100644 index be8aa9ecec..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetSwapsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetSwapsParams { - /** - * Limit the number of swaps returned. - */ - limit?: number - /** - * The number of swaps to skip when retrieving the swaps. - */ - offset?: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetTaxRatesParams.ts b/packages/generated/client-types/src/lib/models/AdminGetTaxRatesParams.ts deleted file mode 100644 index 236e615c33..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetTaxRatesParams.ts +++ /dev/null @@ -1,129 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetTaxRatesParams { - /** - * Filter by name. - */ - name?: string - /** - * Filter by Region IDs - */ - region_id?: string | Array - /** - * Filter by code. - */ - code?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by Rate - */ - rate?: - | number - | { - /** - * filter by rates less than this number - */ - lt?: number - /** - * filter by rates greater than this number - */ - gt?: number - /** - * filter by rates less than or equal to this number - */ - lte?: number - /** - * filter by rates greater than or equal to this number - */ - gte?: number - } - /** - * Term used to search tax rates by name. - */ - q?: string - /** - * A tax rate field to sort-order the retrieved tax rates by. - */ - order?: string - /** - * The number of tax rates to skip when retrieving the tax rates. - */ - offset?: number - /** - * Limit the number of tax rates returned. - */ - limit?: number - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetTaxRatesTaxRateParams.ts b/packages/generated/client-types/src/lib/models/AdminGetTaxRatesTaxRateParams.ts deleted file mode 100644 index 3d80642a14..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetTaxRatesTaxRateParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetTaxRatesTaxRateParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetUsersParams.ts b/packages/generated/client-types/src/lib/models/AdminGetUsersParams.ts deleted file mode 100644 index 4e9d9a0fcd..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetUsersParams.ts +++ /dev/null @@ -1,106 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetUsersParams { - /** - * Filter by email. - */ - email?: string - /** - * Filter by first name. - */ - first_name?: string - /** - * Filter by last name. - */ - last_name?: string - /** - * Term used to search users' first name, last name, and email. - */ - q?: string - /** - * A user field to sort-order the retrieved users by. - */ - order?: string - /** - * Filter by user IDs. - */ - id?: string | Array - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a deletion date range. - */ - deleted_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * The number of users to skip when retrieving the users. - */ - offset?: number - /** - * Limit the number of users returned. - */ - limit?: number - /** - * Comma-separated fields that should be included in the returned users. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetVariantParams.ts b/packages/generated/client-types/src/lib/models/AdminGetVariantParams.ts deleted file mode 100644 index 0e0ad74f93..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetVariantParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetVariantParams { - /** - * "Comma-separated relations that should be expanded in the returned product variant." - */ - expand?: string - /** - * "Comma-separated fields that should be included in the returned product variant." - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetVariantsParams.ts b/packages/generated/client-types/src/lib/models/AdminGetVariantsParams.ts deleted file mode 100644 index e9fd347492..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetVariantsParams.ts +++ /dev/null @@ -1,82 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGetVariantsParams { - /** - * Filter by product variant IDs. - */ - id?: string | Array - /** - * "Comma-separated relations that should be expanded in the returned product variants." - */ - expand?: string - /** - * "Comma-separated fields that should be included in the returned product variants." - */ - fields?: string - /** - * The number of product variants to skip when retrieving the product variants. - */ - offset?: number - /** - * Limit the number of product variants returned. - */ - limit?: number - /** - * The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`. - */ - order?: string - /** - * Filter product variants by whether their inventory is managed or not. - */ - manage_inventory?: boolean - /** - * Filter product variants by whether they are allowed to be backordered or not. - */ - allow_backorder?: boolean - /** - * The ID of the cart to use for the price selection context. - */ - cart_id?: string - /** - * The ID of the region to use for the price selection context. - */ - region_id?: string - /** - * The 3 character ISO currency code to use for the price selection context. - */ - currency_code?: string - /** - * The ID of the customer to use for the price selection context. - */ - customer_id?: string - /** - * Filter by title. - */ - title?: string | Array - /** - * Filter by available inventory quantity - */ - inventory_quantity?: - | number - | { - /** - * filter by inventory quantity less than this number - */ - lt?: number - /** - * filter by inventory quantity greater than this number - */ - gt?: number - /** - * filter by inventory quantity less than or equal to this number - */ - lte?: number - /** - * filter by inventory quantity greater than or equal to this number - */ - gte?: number - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminGetVariantsVariantInventoryRes.ts b/packages/generated/client-types/src/lib/models/AdminGetVariantsVariantInventoryRes.ts deleted file mode 100644 index f77c1a255f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGetVariantsVariantInventoryRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { VariantInventory } from "./VariantInventory" - -/** - * The variant's inventory details. - */ -export interface AdminGetVariantsVariantInventoryRes { - /** - * The product variant's inventory details. - */ - variant?: VariantInventory -} diff --git a/packages/generated/client-types/src/lib/models/AdminGiftCardsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminGiftCardsDeleteRes.ts deleted file mode 100644 index 1d9acb0cda..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGiftCardsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminGiftCardsDeleteRes { - /** - * The ID of the deleted Gift Card - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether the gift card was deleted successfully. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminGiftCardsListRes.ts b/packages/generated/client-types/src/lib/models/AdminGiftCardsListRes.ts deleted file mode 100644 index 08ee3d765d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGiftCardsListRes.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { GiftCard } from "./GiftCard" -import type { Region } from "./Region" - -/** - * The list of gift cards with pagination fields. - */ -export interface AdminGiftCardsListRes { - /** - * The list of gift cards. - */ - gift_cards: Array< - Merge< - SetRelation, - { - region: SetRelation< - Region, - "fulfillment_providers" | "payment_providers" - > - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of gift cards skipped when retrieving the gift cards. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminGiftCardsRes.ts b/packages/generated/client-types/src/lib/models/AdminGiftCardsRes.ts deleted file mode 100644 index 81257777a5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminGiftCardsRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { GiftCard } from "./GiftCard" -import type { Region } from "./Region" - -/** - * The gift card's details. - */ -export interface AdminGiftCardsRes { - /** - * A gift card's details. - */ - gift_card: Merge< - SetRelation, - { - region: SetRelation - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminInventoryItemsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminInventoryItemsDeleteRes.ts deleted file mode 100644 index c2e2a94ab6..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminInventoryItemsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminInventoryItemsDeleteRes { - /** - * The ID of the deleted Inventory Item. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the Inventory Item was deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminInventoryItemsListRes.ts b/packages/generated/client-types/src/lib/models/AdminInventoryItemsListRes.ts deleted file mode 100644 index 111730da1a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminInventoryItemsListRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { InventoryItemDTO } from "./InventoryItemDTO" - -export interface AdminInventoryItemsListRes { - /** - * an array of Inventory Item details - */ - inventory_items: Array - /** - * The total number of items available - */ - count: number - /** - * The number of inventory items skipped when retrieving the inventory items. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminInventoryItemsListWithVariantsAndLocationLevelsRes.ts b/packages/generated/client-types/src/lib/models/AdminInventoryItemsListWithVariantsAndLocationLevelsRes.ts deleted file mode 100644 index 26dbdd9fc3..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminInventoryItemsListWithVariantsAndLocationLevelsRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { DecoratedInventoryItemDTO } from "./DecoratedInventoryItemDTO" - -export interface AdminInventoryItemsListWithVariantsAndLocationLevelsRes { - /** - * an array of Inventory Item details - */ - inventory_items: Array - /** - * The total number of items available - */ - count: number - /** - * The number of inventory items skipped when retrieving the inventory items. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminInventoryItemsLocationLevelsRes.ts b/packages/generated/client-types/src/lib/models/AdminInventoryItemsLocationLevelsRes.ts deleted file mode 100644 index 63f401a08d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminInventoryItemsLocationLevelsRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { InventoryLevelDTO } from "./InventoryLevelDTO" - -/** - * Details of inventory items and their associated location levels. - */ -export interface AdminInventoryItemsLocationLevelsRes { - /** - * An inventory item's ID and associated location levels. - */ - inventory_item: { - /** - * The id of the location - */ - id: string - /** - * List of stock levels at a given location - */ - location_levels: Array - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminInventoryItemsRes.ts b/packages/generated/client-types/src/lib/models/AdminInventoryItemsRes.ts deleted file mode 100644 index 681f0f70c5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminInventoryItemsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { InventoryItemDTO } from "./InventoryItemDTO" - -/** - * The inventory item's details. - */ -export interface AdminInventoryItemsRes { - /** - * Inventory Item details - */ - inventory_item: InventoryItemDTO -} diff --git a/packages/generated/client-types/src/lib/models/AdminInviteDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminInviteDeleteRes.ts deleted file mode 100644 index 909da10c5e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminInviteDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminInviteDeleteRes { - /** - * The ID of the deleted Invite. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the invite was deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminListInvitesRes.ts b/packages/generated/client-types/src/lib/models/AdminListInvitesRes.ts deleted file mode 100644 index 3d7a5f2861..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminListInvitesRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Invite } from "./Invite" - -/** - * The list of invites. - */ -export interface AdminListInvitesRes { - /** - * An array of invites - */ - invites: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminNotesDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminNotesDeleteRes.ts deleted file mode 100644 index 0657f6cb32..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminNotesDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminNotesDeleteRes { - /** - * The ID of the deleted Note. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the Note was deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminNotesListRes.ts b/packages/generated/client-types/src/lib/models/AdminNotesListRes.ts deleted file mode 100644 index 7fc32a44a7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminNotesListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Note } from "./Note" - -/** - * The list of notes with pagination fields. - */ -export interface AdminNotesListRes { - /** - * An array of notes - */ - notes: Array - /** - * The total number of items available - */ - count: number - /** - * The number of notes skipped when retrieving the notes. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminNotesRes.ts b/packages/generated/client-types/src/lib/models/AdminNotesRes.ts deleted file mode 100644 index f72e5d1f48..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminNotesRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Note } from "./Note" - -/** - * The note's details. - */ -export interface AdminNotesRes { - /** - * Note details. - */ - note: Note -} diff --git a/packages/generated/client-types/src/lib/models/AdminNotificationsListRes.ts b/packages/generated/client-types/src/lib/models/AdminNotificationsListRes.ts deleted file mode 100644 index d4f8fe624b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminNotificationsListRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Notification } from "./Notification" - -export interface AdminNotificationsListRes { - /** - * an array of notifications - */ - notifications: Array> - /** - * The total number of notifications - */ - count?: number - /** - * The number of notifications skipped when retrieving the notifications. - */ - offset?: number - /** - * The number of notifications per page - */ - limit?: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminNotificationsRes.ts b/packages/generated/client-types/src/lib/models/AdminNotificationsRes.ts deleted file mode 100644 index 97f9474b77..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminNotificationsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Notification } from "./Notification" - -/** - * The notification's details. - */ -export interface AdminNotificationsRes { - /** - * Notification details - */ - notification: SetRelation -} diff --git a/packages/generated/client-types/src/lib/models/AdminOrderEditDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminOrderEditDeleteRes.ts deleted file mode 100644 index db17213ce7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminOrderEditDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminOrderEditDeleteRes { - /** - * The ID of the deleted Order Edit. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the Order Edit was deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminOrderEditItemChangeDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminOrderEditItemChangeDeleteRes.ts deleted file mode 100644 index faf396b903..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminOrderEditItemChangeDeleteRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of deleting order edit item changes. - */ -export interface AdminOrderEditItemChangeDeleteRes { - /** - * The ID of the deleted Order Edit Item Change. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the Order Edit Item Change was deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminOrderEditsListRes.ts b/packages/generated/client-types/src/lib/models/AdminOrderEditsListRes.ts deleted file mode 100644 index 41715a99d8..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminOrderEditsListRes.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { LineItem } from "./LineItem" -import type { OrderEdit } from "./OrderEdit" -import type { OrderItemChange } from "./OrderItemChange" - -/** - * The list of order edits with pagination fields. - */ -export interface AdminOrderEditsListRes { - /** - * An array of order edit details - */ - order_edits: Array< - Merge< - SetRelation< - OrderEdit, - | "changes" - | "items" - | "payment_collection" - | "difference_due" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - >, - { - changes: Array< - Merge< - SetRelation, - { - line_item: SetRelation - original_line_item: SetRelation - } - > - > - items: Array< - SetRelation< - LineItem, - | "adjustments" - | "tax_lines" - | "variant" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - > - > - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of order edits skipped when retrieving the order edits. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminOrderEditsRes.ts b/packages/generated/client-types/src/lib/models/AdminOrderEditsRes.ts deleted file mode 100644 index 1d4e52a532..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminOrderEditsRes.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { LineItem } from "./LineItem" -import type { OrderEdit } from "./OrderEdit" -import type { OrderItemChange } from "./OrderItemChange" - -/** - * The order edit details. - */ -export interface AdminOrderEditsRes { - /** - * Order edit details - */ - order_edit: Merge< - SetRelation< - OrderEdit, - | "changes" - | "items" - | "payment_collection" - | "difference_due" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - >, - { - changes: Array< - Merge< - SetRelation, - { - line_item: SetRelation - original_line_item: SetRelation - } - > - > - items: Array< - SetRelation< - LineItem, - | "adjustments" - | "tax_lines" - | "variant" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - > - > - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminOrdersListRes.ts b/packages/generated/client-types/src/lib/models/AdminOrdersListRes.ts deleted file mode 100644 index 352d856591..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminOrdersListRes.ts +++ /dev/null @@ -1,184 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimItem } from "./ClaimItem" -import type { ClaimOrder } from "./ClaimOrder" -import type { Discount } from "./Discount" -import type { Fulfillment } from "./Fulfillment" -import type { GiftCardTransaction } from "./GiftCardTransaction" -import type { LineItem } from "./LineItem" -import type { Order } from "./Order" -import type { Product } from "./Product" -import type { ProductVariant } from "./ProductVariant" -import type { Region } from "./Region" -import type { Return } from "./Return" -import type { ReturnItem } from "./ReturnItem" -import type { ShippingMethod } from "./ShippingMethod" -import type { Swap } from "./Swap" - -/** - * The list of orders with pagination fields. - */ -export interface AdminOrdersListRes { - /** - * An array of order details. - */ - orders: Array< - Merge< - SetRelation< - Order, - | "billing_address" - | "claims" - | "customer" - | "discounts" - | "fulfillments" - | "gift_card_transactions" - | "gift_cards" - | "items" - | "payments" - | "refunds" - | "region" - | "returns" - | "shipping_address" - | "shipping_methods" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "paid_total" - | "refundable_amount" - | "refunded_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - | "swaps" - >, - { - claims: Array< - Merge< - SetRelation< - ClaimOrder, - | "additional_items" - | "claim_items" - | "fulfillments" - | "return_order" - | "shipping_address" - | "shipping_methods" - >, - { - additional_items: Array< - SetRelation< - LineItem, - | "variant" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - > - > - claim_items: Array> - fulfillments: Array> - return_order: Merge< - SetRelation, - { - shipping_method: SetRelation - } - > - } - > - > - discounts: Array> - fulfillments: Array< - SetRelation - > - gift_card_transactions: Array< - SetRelation - > - items: Array< - Merge< - SetRelation< - LineItem, - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - | "variant" - >, - { - variant: Merge< - SetRelation, - { - product: SetRelation - } - > - } - > - > - region: SetRelation< - Region, - "fulfillment_providers" | "payment_providers" - > - returns: Array< - Merge< - SetRelation, - { - items: Array> - shipping_method: SetRelation - } - > - > - shipping_methods: Array< - SetRelation - > - swaps: Array< - Merge< - SetRelation, - { - additional_items: Array< - SetRelation< - LineItem, - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - > - > - } - > - > - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of orders skipped when retrieving the orders. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminOrdersOrderLineItemReservationReq.ts b/packages/generated/client-types/src/lib/models/AdminOrdersOrderLineItemReservationReq.ts deleted file mode 100644 index 151d62ef2f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminOrdersOrderLineItemReservationReq.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminOrdersOrderLineItemReservationReq { - /** - * The ID of the location of the reservation - */ - location_id: string - /** - * The quantity to reserve - */ - quantity?: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminOrdersRes.ts b/packages/generated/client-types/src/lib/models/AdminOrdersRes.ts deleted file mode 100644 index 26230b915b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminOrdersRes.ts +++ /dev/null @@ -1,165 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimItem } from "./ClaimItem" -import type { ClaimOrder } from "./ClaimOrder" -import type { Discount } from "./Discount" -import type { Fulfillment } from "./Fulfillment" -import type { GiftCardTransaction } from "./GiftCardTransaction" -import type { LineItem } from "./LineItem" -import type { Order } from "./Order" -import type { Product } from "./Product" -import type { ProductVariant } from "./ProductVariant" -import type { Region } from "./Region" -import type { Return } from "./Return" -import type { ReturnItem } from "./ReturnItem" -import type { ShippingMethod } from "./ShippingMethod" -import type { Swap } from "./Swap" - -/** - * The order's details. - */ -export interface AdminOrdersRes { - /** - * Order details. - */ - order: Merge< - SetRelation< - Order, - | "billing_address" - | "claims" - | "customer" - | "discounts" - | "fulfillments" - | "gift_card_transactions" - | "gift_cards" - | "items" - | "payments" - | "refunds" - | "region" - | "returns" - | "shipping_address" - | "shipping_methods" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "paid_total" - | "refundable_amount" - | "refunded_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - | "swaps" - >, - { - claims: Array< - Merge< - SetRelation< - ClaimOrder, - | "additional_items" - | "claim_items" - | "fulfillments" - | "return_order" - | "shipping_address" - | "shipping_methods" - >, - { - additional_items: Array< - SetRelation< - LineItem, - | "variant" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - > - > - claim_items: Array> - fulfillments: Array> - return_order: Merge< - SetRelation, - { - shipping_method: SetRelation - } - > - } - > - > - discounts: Array> - fulfillments: Array> - gift_card_transactions: Array< - SetRelation - > - items: Array< - Merge< - SetRelation< - LineItem, - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - | "variant" - >, - { - variant: Merge< - SetRelation, - { - product: SetRelation - } - > - } - > - > - region: SetRelation - returns: Array< - Merge< - SetRelation, - { - items: Array> - shipping_method: SetRelation - } - > - > - shipping_methods: Array< - SetRelation - > - swaps: Array< - Merge< - SetRelation, - { - additional_items: Array< - SetRelation< - LineItem, - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - > - > - } - > - > - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminPaymentCollectionDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminPaymentCollectionDeleteRes.ts deleted file mode 100644 index a2b3ee7c60..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPaymentCollectionDeleteRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of deleting a payment collection. - */ -export interface AdminPaymentCollectionDeleteRes { - /** - * The ID of the deleted Payment Collection. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the Payment Collection was deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPaymentCollectionsRes.ts b/packages/generated/client-types/src/lib/models/AdminPaymentCollectionsRes.ts deleted file mode 100644 index d86f4f74df..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPaymentCollectionsRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PaymentCollection } from "./PaymentCollection" -import type { Region } from "./Region" - -/** - * The payment collection's details. - */ -export interface AdminPaymentCollectionsRes { - /** - * Payment Collection details. - */ - payment_collection: Merge< - SetRelation, - { - region: SetRelation - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminPaymentProvidersList.ts b/packages/generated/client-types/src/lib/models/AdminPaymentProvidersList.ts deleted file mode 100644 index c51f5e58d6..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPaymentProvidersList.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PaymentProvider } from "./PaymentProvider" - -/** - * The list of payment providers in a store. - */ -export interface AdminPaymentProvidersList { - /** - * An array of payment providers details. - */ - payment_providers: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPaymentRes.ts b/packages/generated/client-types/src/lib/models/AdminPaymentRes.ts deleted file mode 100644 index 2cd69a5218..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPaymentRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Payment } from "./Payment" - -/** - * The payment's details. - */ -export interface AdminPaymentRes { - /** - * Payment details - */ - payment: Payment -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostAppsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostAppsReq.ts deleted file mode 100644 index 7b9592218b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostAppsReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostAppsReq { - /** - * Name of the application for to generate the token for. - */ - application_name: string - /** - * State of the application. - */ - state: string - /** - * The code for the generated token. - */ - code: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostAuthReq.ts b/packages/generated/client-types/src/lib/models/AdminPostAuthReq.ts deleted file mode 100644 index e1cb0e818c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostAuthReq.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The admin's credentials used to log in. - */ -export interface AdminPostAuthReq { - /** - * The user's email. - */ - email: string - /** - * The user's password. - */ - password: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostBatchesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostBatchesReq.ts deleted file mode 100644 index 51d4da190d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostBatchesReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the batch job to create. - */ -export interface AdminPostBatchesReq { - /** - * The type of batch job to start, which is defined by the `batchType` property of the associated batch job strategy. - */ - type: string - /** - * Additional infomration regarding the batch to be used for processing. - */ - context: Record - /** - * Set a batch job in dry_run mode, which would delay executing the batch job until it's confirmed. - */ - dry_run?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostCollectionsCollectionReq.ts b/packages/generated/client-types/src/lib/models/AdminPostCollectionsCollectionReq.ts deleted file mode 100644 index 0a6cf316aa..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostCollectionsCollectionReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The product collection's details to update. - */ -export interface AdminPostCollectionsCollectionReq { - /** - * The title of the collection. - */ - title?: string - /** - * An optional handle to be used in slugs. If none is provided, the kebab-case version of the title will be used. - */ - handle?: string - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostCollectionsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostCollectionsReq.ts deleted file mode 100644 index 605e5fc488..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostCollectionsReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The product collection's details. - */ -export interface AdminPostCollectionsReq { - /** - * The title of the collection. - */ - title: string - /** - * An optional handle to be used in slugs. If none is provided, the kebab-case version of the title will be used. - */ - handle?: string - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostCurrenciesCurrencyReq.ts b/packages/generated/client-types/src/lib/models/AdminPostCurrenciesCurrencyReq.ts deleted file mode 100644 index 5fb5b12847..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostCurrenciesCurrencyReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update in the currency - */ -export interface AdminPostCurrenciesCurrencyReq { - /** - * Tax included in prices of currency. - */ - includes_tax?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsGroupCustomersBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsGroupCustomersBatchReq.ts deleted file mode 100644 index 6057cf2b4e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsGroupCustomersBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The customers to add to the customer group. - */ -export interface AdminPostCustomerGroupsGroupCustomersBatchReq { - /** - * The ids of the customers to add - */ - customer_ids: Array<{ - /** - * ID of the customer - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsGroupReq.ts b/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsGroupReq.ts deleted file mode 100644 index d62e699f53..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsGroupReq.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update in the customer group. - */ -export interface AdminPostCustomerGroupsGroupReq { - /** - * Name of the customer group - */ - name?: string - /** - * Metadata of the customer group. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsReq.ts deleted file mode 100644 index 6c59b0eaa8..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostCustomerGroupsReq.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the customer group to create. - */ -export interface AdminPostCustomerGroupsReq { - /** - * Name of the customer group - */ - name: string - /** - * Metadata of the customer group. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostCustomersCustomerReq.ts b/packages/generated/client-types/src/lib/models/AdminPostCustomersCustomerReq.ts deleted file mode 100644 index f974739d0a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostCustomersCustomerReq.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the customer to update. - */ -export interface AdminPostCustomersCustomerReq { - /** - * The Customer's email. You can't update the email of a registered customer. - */ - email?: string - /** - * The Customer's first name. - */ - first_name?: string - /** - * The Customer's last name. - */ - last_name?: string - /** - * The Customer's phone number. - */ - phone?: string - /** - * The Customer's password. - */ - password?: string - /** - * A list of customer groups to which the customer belongs. - */ - groups?: Array<{ - /** - * The ID of a customer group - */ - id: string - }> - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostCustomersReq.ts b/packages/generated/client-types/src/lib/models/AdminPostCustomersReq.ts deleted file mode 100644 index dc62bb8e17..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostCustomersReq.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the customer to create. - */ -export interface AdminPostCustomersReq { - /** - * The customer's email. - */ - email: string - /** - * The customer's first name. - */ - first_name: string - /** - * The customer's last name. - */ - last_name: string - /** - * The customer's password. - */ - password: string - /** - * The customer's phone number. - */ - phone?: string - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditions.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditions.ts deleted file mode 100644 index c9cf5ef192..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditions.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostDiscountsDiscountConditions { - /** - * Operator of the condition. `in` indicates that discountable resources are within the specified resources. `not_in` indicates that discountable resources are everything but the specified resources. - */ - operator: "in" | "not_in" - /** - * list of product IDs if the condition's type is `products`. - */ - products?: Array - /** - * list of product type IDs if the condition's type is `product_types`. - */ - product_types?: Array - /** - * list of product collection IDs if the condition's type is `product_collections`. - */ - product_collections?: Array - /** - * list of product tag IDs if the condition's type is `product_tags`. - */ - product_tags?: Array - /** - * list of customer group IDs if the condition's type is `customer_groups`. - */ - customer_groups?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsCondition.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsCondition.ts deleted file mode 100644 index 405ec1e128..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsCondition.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostDiscountsDiscountConditionsCondition { - /** - * list of product IDs if the condition's type is `products`. - */ - products?: Array - /** - * list of product type IDs if the condition's type is `product_types`. - */ - product_types?: Array - /** - * list of product collection IDs if the condition's type is `product_collections`. - */ - product_collections?: Array - /** - * list of product tag IDs if the condition's type is `product_tags` - */ - product_tags?: Array - /** - * list of customer group IDs if the condition's type is `customer_groups`. - */ - customer_groups?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionBatchParams.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionBatchParams.ts deleted file mode 100644 index a5e948165c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionBatchParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostDiscountsDiscountConditionsConditionBatchParams { - /** - * Comma-separated relations that should be expanded in the returned discount. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned discount. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionBatchReq.ts deleted file mode 100644 index ee2422374b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the resources to add. - */ -export interface AdminPostDiscountsDiscountConditionsConditionBatchReq { - /** - * The resources to be added to the discount condition - */ - resources: Array<{ - /** - * The ID of the item - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionParams.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionParams.ts deleted file mode 100644 index 4a96d9df59..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsConditionParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostDiscountsDiscountConditionsConditionParams { - /** - * Comma-separated relations that should be expanded in the returned discount. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned discount. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsParams.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsParams.ts deleted file mode 100644 index 902e9ffd71..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountConditionsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostDiscountsDiscountConditionsParams { - /** - * Comma-separated relations that should be expanded in the returned discount. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned discount. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountDynamicCodesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountDynamicCodesReq.ts deleted file mode 100644 index 7672399869..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountDynamicCodesReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the dynamic discount to create. - */ -export interface AdminPostDiscountsDiscountDynamicCodesReq { - /** - * A unique code that will be used to redeem the Discount - */ - code: string - /** - * Maximum number of times the discount code can be used - */ - usage_limit?: number - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountParams.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountParams.ts deleted file mode 100644 index 3d4d6de533..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostDiscountsDiscountParams { - /** - * Comma-separated relations that should be expanded in the returned discount. - */ - expand?: string - /** - * Comma-separated fields that should be retrieved in the returned discount. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountReq.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountReq.ts deleted file mode 100644 index ea72274487..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsDiscountReq.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the discount to update. - */ -export interface AdminPostDiscountsDiscountReq { - /** - * A unique code that will be used to redeem the discount - */ - code?: string - /** - * The discount rule that defines how discounts are calculated - */ - rule?: { - /** - * The ID of the Rule - */ - id: string - /** - * A short description of the discount - */ - description?: string - /** - * The value that the discount represents. This will depend on the type of the discount. - */ - value?: number - /** - * The scope that the discount should apply to. `total` indicates that the discount should be applied on the cart total, and `item` indicates that the discount should be applied to each discountable item in the cart. - */ - allocation?: "total" | "item" - /** - * A set of conditions that can be used to limit when the discount can be used. Only one of `products`, `product_types`, `product_collections`, `product_tags`, and `customer_groups` should be provided based on the discount condition's type. - */ - conditions?: Array<{ - /** - * The ID of the condition - */ - id?: string - /** - * Operator of the condition. `in` indicates that discountable resources are within the specified resources. `not_in` indicates that discountable resources are everything but the specified resources. - */ - operator: "in" | "not_in" - /** - * list of product IDs if the condition's type is `products`. - */ - products?: Array - /** - * list of product type IDs if the condition's type is `product_types`. - */ - product_types?: Array - /** - * list of product collection IDs if the condition's type is `product_collections`. - */ - product_collections?: Array - /** - * list of product tag IDs if the condition's type is `product_tags`. - */ - product_tags?: Array - /** - * list of customer group IDs if the condition's type is `customer_groups`. - */ - customer_groups?: Array - }> - } - /** - * Whether the discount code is disabled on creation. If set to `true`, it will not be available for customers. - */ - is_disabled?: boolean - /** - * The date and time at which the discount should be available. - */ - starts_at?: string - /** - * The date and time at which the discount should no longer be available. - */ - ends_at?: string - /** - * The duration the discount runs between - */ - valid_duration?: string - /** - * Maximum number of times the discount can be used - */ - usage_limit?: number - /** - * A list of region IDs representing the Regions in which the Discount can be used. - */ - regions?: Array - /** - * An object containing metadata of the discount - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsParams.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsParams.ts deleted file mode 100644 index 538fd8b097..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostDiscountsParams { - /** - * Comma-separated relations that should be expanded in the returned discount. - */ - expand?: string - /** - * Comma-separated fields that should be retrieved in the returned discount. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDiscountsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostDiscountsReq.ts deleted file mode 100644 index e4df80ed3d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDiscountsReq.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the discount to create. - */ -export interface AdminPostDiscountsReq { - /** - * A unique code that will be used to redeem the discount - */ - code: string - /** - * Whether the discount should have multiple instances of itself, each with a different code. This can be useful for automatically generated discount codes that all have to follow a common set of rules. - */ - is_dynamic?: boolean - /** - * The discount rule that defines how discounts are calculated - */ - rule: { - /** - * A short description of the discount - */ - description?: string - /** - * The type of the discount, can be `fixed` for discounts that reduce the price by a fixed amount, `percentage` for percentage reductions or `free_shipping` for shipping vouchers. - */ - type: "fixed" | "percentage" | "free_shipping" - /** - * The value that the discount represents. This will depend on the type of the discount. - */ - value: number - /** - * The scope that the discount should apply to. `total` indicates that the discount should be applied on the cart total, and `item` indicates that the discount should be applied to each discountable item in the cart. - */ - allocation: "total" | "item" - /** - * A set of conditions that can be used to limit when the discount can be used. Only one of `products`, `product_types`, `product_collections`, `product_tags`, and `customer_groups` should be provided based on the discount condition's type. - */ - conditions?: Array<{ - /** - * Operator of the condition. `in` indicates that discountable resources are within the specified resources. `not_in` indicates that discountable resources are everything but the specified resources. - */ - operator: "in" | "not_in" - /** - * list of product IDs if the condition's type is `products`. - */ - products?: Array - /** - * list of product type IDs if the condition's type is `product_types`. - */ - product_types?: Array - /** - * list of product collection IDs if the condition's type is `product_collections`. - */ - product_collections?: Array - /** - * list of product tag IDs if the condition's type is `product_tags`. - */ - product_tags?: Array - /** - * list of customer group IDs if the condition's type is `customer_groups`. - */ - customer_groups?: Array - }> - } - /** - * Whether the discount code is disabled on creation. If set to `true`, it will not be available for customers. - */ - is_disabled?: boolean - /** - * The date and time at which the discount should be available. - */ - starts_at?: string - /** - * The date and time at which the discount should no longer be available. - */ - ends_at?: string - /** - * The duration the discount runs between - */ - valid_duration?: string - /** - * A list of region IDs representing the Regions in which the Discount can be used. - */ - regions: Array - /** - * Maximum number of times the discount can be used - */ - usage_limit?: number - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderLineItemsItemReq.ts b/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderLineItemsItemReq.ts deleted file mode 100644 index 34124d810c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderLineItemsItemReq.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the line item. - */ -export interface AdminPostDraftOrdersDraftOrderLineItemsItemReq { - /** - * The custom price of the line item. If a `variant_id` is supplied, the price provided here will override the variant's price. - */ - unit_price?: number - /** - * The title of the line item if `variant_id` is not provided. - */ - title?: string - /** - * The quantity of the line item. - */ - quantity?: number - /** - * The optional key-value map with additional details about the Line Item. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderLineItemsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderLineItemsReq.ts deleted file mode 100644 index cc260234d1..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderLineItemsReq.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the line item to create. - */ -export interface AdminPostDraftOrdersDraftOrderLineItemsReq { - /** - * The ID of the Product Variant associated with the line item. If the line item is custom, the `variant_id` should be omitted. - */ - variant_id?: string - /** - * The custom price of the line item. If a `variant_id` is supplied, the price provided here will override the variant's price. - */ - unit_price?: number - /** - * The title of the line item if `variant_id` is not provided. - */ - title?: string - /** - * The quantity of the line item. - */ - quantity: number - /** - * The optional key-value map with additional details about the Line Item. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderRegisterPaymentRes.ts b/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderRegisterPaymentRes.ts deleted file mode 100644 index 6f870836b7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderRegisterPaymentRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Order } from "./Order" - -/** - * The order's details. - */ -export interface AdminPostDraftOrdersDraftOrderRegisterPaymentRes { - /** - * Order's details. - */ - order: Order -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderReq.ts b/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderReq.ts deleted file mode 100644 index 87fcff3faf..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersDraftOrderReq.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { AddressPayload } from "./AddressPayload" - -/** - * The details of the draft order to update. - */ -export interface AdminPostDraftOrdersDraftOrderReq { - /** - * The ID of the Region to create the Draft Order in. - */ - region_id?: string - /** - * The 2 character ISO code for the Country. - */ - country_code?: string - /** - * An email to be used in the Draft Order. - */ - email?: string - /** - * The Address to be used for billing purposes. - */ - billing_address?: AddressPayload | string - /** - * The Address to be used for shipping purposes. - */ - shipping_address?: AddressPayload | string - /** - * An array of Discount codes to add to the Draft Order. - */ - discounts?: Array<{ - /** - * The code that a Discount is identifed by. - */ - code: string - }> - /** - * An optional flag passed to the resulting order that indicates whether the customer should receive notifications about order updates. - */ - no_notification_order?: boolean - /** - * The ID of the customer this draft order is associated with. - */ - customer_id?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersReq.ts b/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersReq.ts deleted file mode 100644 index f577a6f04c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostDraftOrdersReq.ts +++ /dev/null @@ -1,95 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { AddressPayload } from "./AddressPayload" - -/** - * The details of the draft order to create. - */ -export interface AdminPostDraftOrdersReq { - /** - * The status of the draft order. The draft order's default status is `open`. It's changed to `completed` when its payment is marked as paid. - */ - status?: "open" | "completed" - /** - * The email of the customer of the draft order - */ - email: string - /** - * The Address to be used for billing purposes. - */ - billing_address?: AddressPayload | string - /** - * The Address to be used for shipping purposes. - */ - shipping_address?: AddressPayload | string - /** - * The draft order's line items. - */ - items?: Array<{ - /** - * The ID of the Product Variant associated with the line item. If the line item is custom, the `variant_id` should be omitted. - */ - variant_id?: string - /** - * The custom price of the line item. If a `variant_id` is supplied, the price provided here will override the variant's price. - */ - unit_price?: number - /** - * The title of the line item if `variant_id` is not provided. - */ - title?: string - /** - * The quantity of the line item. - */ - quantity: number - /** - * The optional key-value map with additional details about the line item. - */ - metadata?: Record - }> - /** - * The ID of the region for the draft order - */ - region_id: string - /** - * The discounts to add to the draft order - */ - discounts?: Array<{ - /** - * The code of the discount to apply - */ - code: string - }> - /** - * The ID of the customer this draft order is associated with. - */ - customer_id?: string - /** - * An optional flag passed to the resulting order that indicates whether the customer should receive notifications about order updates. - */ - no_notification_order?: boolean - /** - * The shipping methods for the draft order - */ - shipping_methods: Array<{ - /** - * The ID of the shipping option in use - */ - option_id: string - /** - * The optional additional data needed for the shipping method - */ - data?: Record - /** - * The price of the shipping method. - */ - price?: number - }> - /** - * The optional key-value map with additional details about the Draft Order. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostGiftCardsGiftCardReq.ts b/packages/generated/client-types/src/lib/models/AdminPostGiftCardsGiftCardReq.ts deleted file mode 100644 index 8ad7da41d8..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostGiftCardsGiftCardReq.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the gift card. - */ -export interface AdminPostGiftCardsGiftCardReq { - /** - * The value (excluding VAT) that the Gift Card should represent. - */ - balance?: number - /** - * Whether the Gift Card is disabled on creation. If set to `true`, the gift card will not be available for customers. - */ - is_disabled?: boolean - /** - * The date and time at which the Gift Card should no longer be available. - */ - ends_at?: string - /** - * The ID of the Region in which the Gift Card can be used. - */ - region_id?: string - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostGiftCardsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostGiftCardsReq.ts deleted file mode 100644 index 9fde24029b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostGiftCardsReq.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the gift card to create. - */ -export interface AdminPostGiftCardsReq { - /** - * The value (excluding VAT) that the Gift Card should represent. - */ - value?: number - /** - * Whether the Gift Card is disabled on creation. If set to `true`, the gift card will not be available for customers. - */ - is_disabled?: boolean - /** - * The date and time at which the Gift Card should no longer be available. - */ - ends_at?: string - /** - * The ID of the Region in which the Gift Card can be used. - */ - region_id: string - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsInventoryItemParams.ts b/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsInventoryItemParams.ts deleted file mode 100644 index 2ded3d6c5b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsInventoryItemParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostInventoryItemsInventoryItemParams { - /** - * Comma-separated relations that should be expanded in the returned inventory level. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned inventory level. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsInventoryItemReq.ts b/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsInventoryItemReq.ts deleted file mode 100644 index ad246b3d2f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsInventoryItemReq.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The attributes to update in an inventory item. - */ -export interface AdminPostInventoryItemsInventoryItemReq { - /** - * The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - hs_code?: string - /** - * The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - origin_country?: string - /** - * The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - mid_code?: string - /** - * The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - material?: string - /** - * The weight of the Inventory Item. May be used in shipping rate calculations. - */ - weight?: number - /** - * The height of the Inventory Item. May be used in shipping rate calculations. - */ - height?: number - /** - * The width of the Inventory Item. May be used in shipping rate calculations. - */ - width?: number - /** - * The length of the Inventory Item. May be used in shipping rate calculations. - */ - length?: number - /** - * The inventory item's title. - */ - title?: string - /** - * The inventory item's description. - */ - description?: string - /** - * The inventory item's thumbnail. - */ - thumbnail?: string - /** - * Whether the item requires shipping. - */ - requires_shipping?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsLevelParams.ts b/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsLevelParams.ts deleted file mode 100644 index 2f9749ffe8..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsLevelParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostInventoryItemsItemLocationLevelsLevelParams { - /** - * Comma-separated relations that should be expanded in the returned location level. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned location level. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsLevelReq.ts b/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsLevelReq.ts deleted file mode 100644 index 25a623936f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsLevelReq.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostInventoryItemsItemLocationLevelsLevelReq { - /** - * the total stock quantity of an inventory item at the given location ID - */ - stocked_quantity?: number - /** - * the incoming stock quantity of an inventory item at the given location ID - */ - incoming_quantity?: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsParams.ts b/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsParams.ts deleted file mode 100644 index 6cdca2d190..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostInventoryItemsItemLocationLevelsParams { - /** - * Comma-separated relations that should be expanded in the returned inventory item. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned inventory item. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsReq.ts deleted file mode 100644 index 4889b3c77e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsItemLocationLevelsReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the location level to create. - */ -export interface AdminPostInventoryItemsItemLocationLevelsReq { - /** - * the ID of the stock location - */ - location_id: string - /** - * the stock quantity of the inventory item at this location - */ - stocked_quantity: number - /** - * the incoming stock quantity of the inventory item at this location - */ - incoming_quantity?: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsParams.ts b/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsParams.ts deleted file mode 100644 index c4377f6ac4..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostInventoryItemsParams { - /** - * Comma-separated relations that should be expanded in the returned inventory item. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned inventory item. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsReq.ts deleted file mode 100644 index a2ae904b96..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInventoryItemsReq.ts +++ /dev/null @@ -1,90 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the inventory item to create. - */ -export interface AdminPostInventoryItemsReq { - /** - * The ID of the variant to create the inventory item for. - */ - variant_id: string - /** - * The unique SKU of the associated Product Variant. - */ - sku?: string - /** - * The EAN number of the item. - */ - ean?: string - /** - * The UPC number of the item. - */ - upc?: string - /** - * A generic GTIN field for the Product Variant. - */ - barcode?: string - /** - * The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - hs_code?: string - /** - * The amount of stock kept of the associated Product Variant. - */ - inventory_quantity?: number - /** - * Whether the associated Product Variant can be purchased when out of stock. - */ - allow_backorder?: boolean - /** - * Whether Medusa should keep track of the inventory for the associated Product Variant. - */ - manage_inventory?: boolean - /** - * The weight of the Inventory Item. May be used in shipping rate calculations. - */ - weight?: number - /** - * The length of the Inventory Item. May be used in shipping rate calculations. - */ - length?: number - /** - * The height of the Inventory Item. May be used in shipping rate calculations. - */ - height?: number - /** - * The width of the Inventory Item. May be used in shipping rate calculations. - */ - width?: number - /** - * The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - origin_country?: string - /** - * The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - mid_code?: string - /** - * The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - material?: string - /** - * The inventory item's title. - */ - title?: string - /** - * The inventory item's description. - */ - description?: string - /** - * The inventory item's thumbnail. - */ - thumbnail?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInvitesInviteAcceptReq.ts b/packages/generated/client-types/src/lib/models/AdminPostInvitesInviteAcceptReq.ts deleted file mode 100644 index 6f9954c21d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInvitesInviteAcceptReq.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the invite to be accepted. - */ -export interface AdminPostInvitesInviteAcceptReq { - /** - * The token of the invite to accept. This is a unique token generated when the invite was created or resent. - */ - token: string - /** - * The details of the user to create. - */ - user: { - /** - * the first name of the User - */ - first_name: string - /** - * the last name of the User - */ - last_name: string - /** - * The password for the User - */ - password: string - } -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostInvitesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostInvitesReq.ts deleted file mode 100644 index 82b68ab695..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostInvitesReq.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostInvitesReq { - /** - * The email associated with the invite. Once the invite is accepted, the email will be associated with the created user. - */ - user: string - /** - * The role of the user to be created. This does not actually change the privileges of the user that is eventually created. - */ - role: "admin" | "member" | "developer" -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostNotesNoteReq.ts b/packages/generated/client-types/src/lib/models/AdminPostNotesNoteReq.ts deleted file mode 100644 index d32867586f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostNotesNoteReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the note. - */ -export interface AdminPostNotesNoteReq { - /** - * The description of the Note. - */ - value: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostNotesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostNotesReq.ts deleted file mode 100644 index 5e54577bec..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostNotesReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the note to be created. - */ -export interface AdminPostNotesReq { - /** - * The ID of the resource which the Note relates to. For example, an order ID. - */ - resource_id: string - /** - * The type of resource which the Note relates to. For example, `order`. - */ - resource_type: string - /** - * The content of the Note to create. - */ - value: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostNotificationsNotificationResendReq.ts b/packages/generated/client-types/src/lib/models/AdminPostNotificationsNotificationResendReq.ts deleted file mode 100644 index c1aaa4e65f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostNotificationsNotificationResendReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The resend details. - */ -export interface AdminPostNotificationsNotificationResendReq { - /** - * A new address or user identifier that the Notification should be sent to. If not provided, the previous `to` field of the notification will be used. - */ - to?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrderEditsEditLineItemsLineItemReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrderEditsEditLineItemsLineItemReq.ts deleted file mode 100644 index 2d750a3737..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrderEditsEditLineItemsLineItemReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to create or update of the line item change. - */ -export interface AdminPostOrderEditsEditLineItemsLineItemReq { - /** - * The quantity to update - */ - quantity: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrderEditsEditLineItemsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrderEditsEditLineItemsReq.ts deleted file mode 100644 index 7fb4124998..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrderEditsEditLineItemsReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the line item change to create. - */ -export interface AdminPostOrderEditsEditLineItemsReq { - /** - * The ID of the product variant associated with the item. - */ - variant_id: string - /** - * The quantity of the item. - */ - quantity: number - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrderEditsOrderEditReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrderEditsOrderEditReq.ts deleted file mode 100644 index e59ad7b3da..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrderEditsOrderEditReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the order edit. - */ -export interface AdminPostOrderEditsOrderEditReq { - /** - * An optional note to create or update in the order edit. - */ - internal_note?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrderEditsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrderEditsReq.ts deleted file mode 100644 index cfaae1c20c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrderEditsReq.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the order edit to create. - */ -export interface AdminPostOrderEditsReq { - /** - * The ID of the order to create the edit for. - */ - order_id: string - /** - * An optional note to associate with the order edit. - */ - internal_note?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimFulfillmentsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimFulfillmentsReq.ts deleted file mode 100644 index edefcd0e4e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimFulfillmentsReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostOrdersOrderClaimsClaimFulfillmentsReq { - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record - /** - * If set to `true`, no notification will be sent to the customer related to this Claim. - */ - no_notification?: boolean - /** - * The ID of the fulfillment's location. - */ - location_id?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimReq.ts deleted file mode 100644 index 1020824e90..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimReq.ts +++ /dev/null @@ -1,91 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostOrdersOrderClaimsClaimReq { - /** - * The Claim Items that the Claim will consist of. - */ - claim_items?: Array<{ - /** - * The ID of the Claim Item. - */ - id: string - /** - * The ID of the Line Item that will be claimed. - */ - item_id?: string - /** - * The number of items that will be returned - */ - quantity?: number - /** - * Short text describing the Claim Item in further detail. - */ - note?: string - /** - * The reason for the Claim - */ - reason?: "missing_item" | "wrong_item" | "production_failure" | "other" - /** - * A list o tags to add to the Claim Item - */ - tags: Array<{ - /** - * Tag ID - */ - id?: string - /** - * Tag value - */ - value?: string - }> - /** - * A list of image URL's that will be associated with the Claim - */ - images: Array<{ - /** - * Image ID - */ - id?: string - /** - * Image URL - */ - url?: string - }> - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record - }> - /** - * The Shipping Methods to send the additional Line Items with. - */ - shipping_methods?: Array<{ - /** - * The ID of an existing Shipping Method - */ - id?: string - /** - * The ID of the Shipping Option to create a Shipping Method from - */ - option_id?: string - /** - * The price to charge for the Shipping Method - */ - price?: number - /** - * An optional set of key-value pairs to hold additional information. - */ - data?: Record - }> - /** - * If set to true no notification will be send related to this Swap. - */ - no_notification?: boolean - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimShipmentsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimShipmentsReq.ts deleted file mode 100644 index 64b5371aaa..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsClaimShipmentsReq.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostOrdersOrderClaimsClaimShipmentsReq { - /** - * The ID of the Fulfillment. - */ - fulfillment_id: string - /** - * An array of tracking numbers for the shipment. - */ - tracking_numbers?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsReq.ts deleted file mode 100644 index 3df11c8a99..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderClaimsReq.ts +++ /dev/null @@ -1,112 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { AddressPayload } from "./AddressPayload" - -/** - * The details of the claim to be created. - */ -export interface AdminPostOrdersOrderClaimsReq { - /** - * The type of the Claim. This will determine how the Claim is treated: `replace` Claims will result in a Fulfillment with new items being created, while a `refund` Claim will refund the amount paid for the claimed items. - */ - type: "replace" | "refund" - /** - * The Claim Items that the Claim will consist of. - */ - claim_items: Array<{ - /** - * The ID of the Line Item that will be claimed. - */ - item_id: string - /** - * The number of items that will be returned - */ - quantity: number - /** - * Short text describing the Claim Item in further detail. - */ - note?: string - /** - * The reason for the Claim - */ - reason?: "missing_item" | "wrong_item" | "production_failure" | "other" - /** - * A list of tags to add to the Claim Item - */ - tags?: Array - /** - * A list of image URL's that will be associated with the Claim - */ - images?: any - }> - /** - * Optional details for the Return Shipping Method, if the items are to be sent back. Providing this field will result in a return being created and associated with the claim. - */ - return_shipping?: { - /** - * The ID of the Shipping Option to create the Shipping Method from. - */ - option_id?: string - /** - * The price to charge for the Shipping Method. - */ - price?: number - } - /** - * The new items to send to the Customer. This is only used if the claim's type is `replace`. - */ - additional_items?: Array<{ - /** - * The ID of the Product Variant. - */ - variant_id: string - /** - * The quantity of the Product Variant. - */ - quantity: number - }> - /** - * The Shipping Methods to send the additional Line Items with. This is only used if the claim's type is `replace`. - */ - shipping_methods?: Array<{ - /** - * The ID of an existing Shipping Method - */ - id?: string - /** - * The ID of the Shipping Option to create a Shipping Method from - */ - option_id?: string - /** - * The price to charge for the Shipping Method - */ - price?: number - /** - * An optional set of key-value pairs to hold additional information. - */ - data?: Record - }> - /** - * An optional shipping address to send the claimed items to. If not provided, the parent order's shipping address will be used. - */ - shipping_address?: AddressPayload - /** - * The amount to refund the customer. This is used when the claim's type is `refund`. - */ - refund_amount?: number - /** - * If set to true no notification will be send related to this Claim. - */ - no_notification?: boolean - /** - * The ID of the location used for the associated return. - */ - return_location_id?: string - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderFulfillmentsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderFulfillmentsReq.ts deleted file mode 100644 index 4f57f08123..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderFulfillmentsReq.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the fulfillment to be created. - */ -export interface AdminPostOrdersOrderFulfillmentsReq { - /** - * The Line Items to include in the Fulfillment. - */ - items: Array<{ - /** - * The ID of the Line Item to fulfill. - */ - item_id: string - /** - * The quantity of the Line Item to fulfill. - */ - quantity: number - }> - /** - * The ID of the location where the items will be fulfilled from. - */ - location_id?: string - /** - * If set to `true`, no notification will be sent to the customer related to this fulfillment. - */ - no_notification?: boolean - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderRefundsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderRefundsReq.ts deleted file mode 100644 index a0d5e02875..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderRefundsReq.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the order refund. - */ -export interface AdminPostOrdersOrderRefundsReq { - /** - * The amount to refund. It should be less than or equal the `refundable_amount` of the order. - */ - amount: number - /** - * The reason for the Refund. - */ - reason: string - /** - * A note with additional details about the Refund. - */ - note?: string - /** - * If set to `true`, no notification will be sent to the customer related to this Refund. - */ - no_notification?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderReq.ts deleted file mode 100644 index bd613f6441..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderReq.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { AddressPayload } from "./AddressPayload" -import type { Discount } from "./Discount" -import type { LineItem } from "./LineItem" - -/** - * The details to update of the order. - */ -export interface AdminPostOrdersOrderReq { - /** - * The email associated with the order - */ - email?: string - /** - * The order's billing address - */ - billing_address?: AddressPayload - /** - * The order's shipping address - */ - shipping_address?: AddressPayload - /** - * The line items of the order - */ - items?: Array - /** - * ID of the region that the order is associated with. - */ - region?: string - /** - * The discounts applied to the order - */ - discounts?: Array - /** - * The ID of the customer associated with the order. - */ - customer_id?: string - /** - * The payment method chosen for the order. - */ - payment_method?: { - /** - * The ID of the payment provider. - */ - provider_id?: string - /** - * Any data relevant for the given payment method. - */ - data?: Record - } - /** - * The Shipping Method used for shipping the order. - */ - shipping_method?: { - /** - * The ID of the shipping provider. - */ - provider_id?: string - /** - * The ID of the shipping profile. - */ - profile_id?: string - /** - * The price of the shipping. - */ - price?: number - /** - * Any data relevant to the specific shipping method. - */ - data?: Record - /** - * Items to ship - */ - items?: Array - } - /** - * If set to `true`, no notification will be sent to the customer related to this order. - */ - no_notification?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderReturnsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderReturnsReq.ts deleted file mode 100644 index a1dacf6c4c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderReturnsReq.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the requested return. - */ -export interface AdminPostOrdersOrderReturnsReq { - /** - * The line items that will be returned. - */ - items: Array<{ - /** - * The ID of the Line Item. - */ - item_id: string - /** - * The ID of the Return Reason to use. - */ - reason_id?: string - /** - * An optional note with information about the Return. - */ - note?: string - /** - * The quantity of the Line Item. - */ - quantity: number - }> - /** - * The Shipping Method to be used to handle the return shipment. - */ - return_shipping?: { - /** - * The ID of the Shipping Option to create the Shipping Method from. - */ - option_id?: string - /** - * The price to charge for the Shipping Method. - */ - price?: number - } - /** - * An optional note with information about the Return. - */ - note?: string - /** - * A flag to indicate if the Return should be registerd as received immediately. - */ - receive_now?: boolean - /** - * If set to `true`, no notification will be sent to the customer related to this Return. - */ - no_notification?: boolean - /** - * The amount to refund. - */ - refund?: number - /** - * The ID of the location used for the return. - */ - location_id?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderShipmentReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderShipmentReq.ts deleted file mode 100644 index 94a12a4dc8..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderShipmentReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the shipment to create. - */ -export interface AdminPostOrdersOrderShipmentReq { - /** - * The ID of the Fulfillment. - */ - fulfillment_id: string - /** - * The tracking numbers for the shipment. - */ - tracking_numbers?: Array - /** - * If set to true no notification will be send related to this Shipment. - */ - no_notification?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderShippingMethodsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderShippingMethodsReq.ts deleted file mode 100644 index be58d02efb..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderShippingMethodsReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The shipping method's details. - */ -export interface AdminPostOrdersOrderShippingMethodsReq { - /** - * The price (excluding VAT) that should be charged for the Shipping Method - */ - price: number - /** - * The ID of the Shipping Option to create the Shipping Method from. - */ - option_id: string - /** - * The data required for the Shipping Option to create a Shipping Method. This depends on the Fulfillment Provider. - */ - data?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsParams.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsParams.ts deleted file mode 100644 index 26d57f9aa9..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostOrdersOrderSwapsParams { - /** - * Comma-separated relations that should be expanded in the returned order. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned order. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsReq.ts deleted file mode 100644 index 104a14d1f9..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsReq.ts +++ /dev/null @@ -1,86 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the swap to create. - */ -export interface AdminPostOrdersOrderSwapsReq { - /** - * The Line Items to associate with the swap's return. - */ - return_items: Array<{ - /** - * The ID of the Line Item that will be returned. - */ - item_id: string - /** - * The number of items that will be returned - */ - quantity: number - /** - * The ID of the Return Reason to use. - */ - reason_id?: string - /** - * An optional note with information about the Return. - */ - note?: string - }> - /** - * The shipping method associated with the swap's return. - */ - return_shipping?: { - /** - * The ID of the Shipping Option to create the Shipping Method from. - */ - option_id: string - /** - * The price to charge for the Shipping Method. - */ - price?: number - } - /** - * The new items to send to the Customer. - */ - additional_items?: Array<{ - /** - * The ID of the Product Variant. - */ - variant_id: string - /** - * The quantity of the Product Variant. - */ - quantity: number - }> - /** - * The ID of the sales channel associated with the swap. - */ - sales_channel_id?: string - /** - * An array of custom shipping options to potentially create a Shipping Method from to send the additional items. - */ - custom_shipping_options?: Array<{ - /** - * The ID of the Shipping Option. - */ - option_id: string - /** - * The custom price of the Shipping Option. - */ - price: number - }> - /** - * If set to `true`, no notification will be sent to the customer related to this Swap. - */ - no_notification?: boolean - /** - * The ID of the location used for the associated return. - */ - return_location_id?: string - /** - * If set to `true`, swaps can be completed with items out of stock - */ - allow_backorder?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsSwapFulfillmentsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsSwapFulfillmentsReq.ts deleted file mode 100644 index 85db1d8917..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsSwapFulfillmentsReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostOrdersOrderSwapsSwapFulfillmentsReq { - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record - /** - * If set to `true`, no notification will be sent to the customer related to this swap. - */ - no_notification?: boolean - /** - * The ID of the fulfillment's location. - */ - location_id?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsSwapShipmentsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsSwapShipmentsReq.ts deleted file mode 100644 index b99649a149..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostOrdersOrderSwapsSwapShipmentsReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostOrdersOrderSwapsSwapShipmentsReq { - /** - * The ID of the Fulfillment. - */ - fulfillment_id: string - /** - * The tracking numbers for the shipment. - */ - tracking_numbers?: Array - /** - * If set to true no notification will be sent related to this Claim. - */ - no_notification?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostPaymentRefundsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostPaymentRefundsReq.ts deleted file mode 100644 index 32ca6bd3d1..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostPaymentRefundsReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the refund to create. - */ -export interface AdminPostPaymentRefundsReq { - /** - * The amount to refund. - */ - amount: number - /** - * The reason for the Refund. - */ - reason: string - /** - * A note with additional details about the Refund. - */ - note?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostPriceListPricesPricesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostPriceListPricesPricesReq.ts deleted file mode 100644 index e92b51fb9e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostPriceListPricesPricesReq.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the prices to add. - */ -export interface AdminPostPriceListPricesPricesReq { - /** - * The prices to update or add. - */ - prices?: Array<{ - /** - * The ID of the price. - */ - id?: string - /** - * The ID of the Region for which the price is used. This is only required if `currecny_code` is not provided. - */ - region_id?: string - /** - * The 3 character ISO currency code for which the price will be used. This is only required if `region_id` is not provided. - */ - currency_code?: string - /** - * The ID of the Variant for which the price is used. - */ - variant_id: string - /** - * The amount to charge for the Product Variant. - */ - amount: number - /** - * The minimum quantity for which the price will be used. - */ - min_quantity?: number - /** - * The maximum quantity for which the price will be used. - */ - max_quantity?: number - }> - /** - * If set to `true`, the prices will replace all existing prices associated with the Price List. - */ - override?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostPriceListsPriceListPriceListReq.ts b/packages/generated/client-types/src/lib/models/AdminPostPriceListsPriceListPriceListReq.ts deleted file mode 100644 index e3c5484895..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostPriceListsPriceListPriceListReq.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the payment collection. - */ -export interface AdminPostPriceListsPriceListPriceListReq { - /** - * The name of the Price List - */ - name?: string - /** - * The description of the Price List. - */ - description?: string - /** - * The date with timezone that the Price List starts being valid. - */ - starts_at?: string - /** - * The date with timezone that the Price List ends being valid. - */ - ends_at?: string - /** - * The type of the Price List. - */ - type?: "sale" | "override" - /** - * The status of the Price List. If the status is set to `draft`, the prices created in the price list will not be available of the customer. - */ - status?: "active" | "draft" - /** - * The prices of the Price List. - */ - prices?: Array<{ - /** - * The ID of the price. - */ - id?: string - /** - * The ID of the Region for which the price is used. This is only required if `currecny_code` is not provided. - */ - region_id?: string - /** - * The 3 character ISO currency code for which the price will be used. This is only required if `region_id` is not provided. - */ - currency_code?: string - /** - * The ID of the Variant for which the price is used. - */ - variant_id: string - /** - * The amount to charge for the Product Variant. - */ - amount: number - /** - * The minimum quantity for which the price will be used. - */ - min_quantity?: number - /** - * The maximum quantity for which the price will be used. - */ - max_quantity?: number - }> - /** - * An array of customer groups that the Price List applies to. - */ - customer_groups?: Array<{ - /** - * The ID of a customer group - */ - id: string - }> - /** - * Tax included in prices of price list - */ - includes_tax?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostPriceListsPriceListReq.ts b/packages/generated/client-types/src/lib/models/AdminPostPriceListsPriceListReq.ts deleted file mode 100644 index 34d6bd22b3..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostPriceListsPriceListReq.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the price list to create. - */ -export interface AdminPostPriceListsPriceListReq { - /** - * The name of the Price List. - */ - name: string - /** - * The description of the Price List. - */ - description: string - /** - * The date with timezone that the Price List starts being valid. - */ - starts_at?: string - /** - * The date with timezone that the Price List ends being valid. - */ - ends_at?: string - /** - * The type of the Price List. - */ - type: "sale" | "override" - /** - * The status of the Price List. If the status is set to `draft`, the prices created in the price list will not be available of the customer. - */ - status?: "active" | "draft" - /** - * The prices of the Price List. - */ - prices: Array<{ - /** - * The ID of the Region for which the price is used. This is only required if `currecny_code` is not provided. - */ - region_id?: string - /** - * The 3 character ISO currency code for which the price will be used. This is only required if `region_id` is not provided. - */ - currency_code?: string - /** - * The amount to charge for the Product Variant. - */ - amount: number - /** - * The ID of the Variant for which the price is used. - */ - variant_id: string - /** - * The minimum quantity for which the price will be used. - */ - min_quantity?: number - /** - * The maximum quantity for which the price will be used. - */ - max_quantity?: number - }> - /** - * An array of customer groups that the Price List applies to. - */ - customer_groups?: Array<{ - /** - * The ID of a customer group - */ - id: string - }> - /** - * Tax included in prices of price list - */ - includes_tax?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryParams.ts b/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryParams.ts deleted file mode 100644 index 3ef1efa353..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostProductCategoriesCategoryParams { - /** - * (Comma separated) Which fields should be expanded in each product category. - */ - expand?: string - /** - * (Comma separated) Which fields should be retrieved in each product category. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryProductsBatchParams.ts b/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryProductsBatchParams.ts deleted file mode 100644 index 29c097339c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryProductsBatchParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostProductCategoriesCategoryProductsBatchParams { - /** - * Comma-separated relations that should be expanded in the returned product category. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned product category. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryProductsBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryProductsBatchReq.ts deleted file mode 100644 index 5a307207a0..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryProductsBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products to add to the product category. - */ -export interface AdminPostProductCategoriesCategoryProductsBatchReq { - /** - * The IDs of the products to add to the product category - */ - product_ids: Array<{ - /** - * The ID of the product - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryReq.ts deleted file mode 100644 index 4e69f16d1b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesCategoryReq.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the product category. - */ -export interface AdminPostProductCategoriesCategoryReq { - /** - * The name to identify the Product Category by. - */ - name?: string - /** - * An optional text field to describe the Product Category by. - */ - description?: string - /** - * A handle to be used in slugs. - */ - handle?: string - /** - * A flag to make product category an internal category for admins - */ - is_internal?: boolean - /** - * A flag to make product category visible/hidden in the store front - */ - is_active?: boolean - /** - * The ID of the parent product category - */ - parent_category_id?: string - /** - * The rank of the category in the tree node (starting from 0) - */ - rank?: number - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesParams.ts b/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesParams.ts deleted file mode 100644 index 5a4b2bad21..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostProductCategoriesParams { - /** - * Comma-separated relations that should be expanded in the returned product category. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned product category. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesReq.ts deleted file mode 100644 index d7f0def78a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductCategoriesReq.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the product category to create. - */ -export interface AdminPostProductCategoriesReq { - /** - * The name of the product category - */ - name: string - /** - * The description of the product category. - */ - description?: string - /** - * The handle of the product category. If none is provided, the kebab-case version of the name will be used. This field can be used as a slug in URLs. - */ - handle?: string - /** - * If set to `true`, the product category will only be available to admins. - */ - is_internal?: boolean - /** - * If set to `false`, the product category will not be available in the storefront. - */ - is_active?: boolean - /** - * The ID of the parent product category - */ - parent_category_id?: string - /** - * An optional set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductsProductMetadataReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductsProductMetadataReq.ts deleted file mode 100644 index c654fd9f65..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductsProductMetadataReq.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostProductsProductMetadataReq { - /** - * The metadata key - */ - key: string - /** - * The metadata value - */ - value: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductsProductOptionsOption.ts b/packages/generated/client-types/src/lib/models/AdminPostProductsProductOptionsOption.ts deleted file mode 100644 index b83740dc98..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductsProductOptionsOption.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostProductsProductOptionsOption { - /** - * The title of the Product Option - */ - title: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductsProductOptionsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductsProductOptionsReq.ts deleted file mode 100644 index 2f8e755a96..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductsProductOptionsReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the product option to create. - */ -export interface AdminPostProductsProductOptionsReq { - /** - * The title the Product Option. - */ - title: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductsProductReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductsProductReq.ts deleted file mode 100644 index 204961ddf2..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductsProductReq.ts +++ /dev/null @@ -1,240 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the product. - */ -export interface AdminPostProductsProductReq { - /** - * The title of the Product - */ - title?: string - /** - * The subtitle of the Product - */ - subtitle?: string - /** - * The description of the Product. - */ - description?: string - /** - * A flag to indicate if discounts can be applied to the Line Items generated from this Product - */ - discountable?: boolean - /** - * An array of images of the Product. Each value in the array is a URL to the image. You can use the upload API Routes to upload the image and obtain a URL. - */ - images?: Array - /** - * The thumbnail to use for the Product. The value is a URL to the thumbnail. You can use the upload API Routes to upload the thumbnail and obtain a URL. - */ - thumbnail?: string - /** - * A unique handle to identify the Product by. If not provided, the kebab-case version of the product title will be used. This can be used as a slug in URLs. - */ - handle?: string - /** - * The status of the product. The product is shown to the customer only if its status is `published`. - */ - status?: "draft" | "proposed" | "published" | "rejected" - /** - * The Product Type to associate the Product with. - */ - type?: { - /** - * The ID of an existing Product Type. If not provided, a new product type will be created. - */ - id?: string - /** - * The value of the Product Type. - */ - value: string - } - /** - * The ID of the Product Collection the Product belongs to. - */ - collection_id?: string - /** - * Product Tags to associate the Product with. - */ - tags?: Array<{ - /** - * The ID of an existing Product Tag. If not provided, a new product tag will be created. - */ - id?: string - /** - * The value of the Tag. If the `id` is provided, the value of the existing tag will be updated. - */ - value: string - }> - /** - * Sales channels to associate the Product with. - */ - sales_channels?: Array<{ - /** - * The ID of an existing Sales channel. - */ - id: string - }> - /** - * Product categories to add the Product to. - */ - categories?: Array - /** - * An array of Product Variants to create with the Product. Each product variant must have a unique combination of Product Option values. - */ - variants?: Array<{ - /** - * The id of an existing product variant. If provided, the details of the product variant will be updated. If not, a new product variant will be created. - */ - id?: string - /** - * The title of the product variant. - */ - title?: string - /** - * The unique SKU of the product variant. - */ - sku?: string - /** - * The EAN number of the product variant. - */ - ean?: string - /** - * The UPC number of the product variant. - */ - upc?: string - /** - * A generic GTIN field of the product variant. - */ - barcode?: string - /** - * The Harmonized System code of the product variant. - */ - hs_code?: string - /** - * The amount of stock kept of the product variant. - */ - inventory_quantity?: number - /** - * Whether the product variant can be purchased when out of stock. - */ - allow_backorder?: boolean - /** - * Whether Medusa should keep track of the inventory of this product variant. - */ - manage_inventory?: boolean - /** - * The weight of the product variant. - */ - weight?: number - /** - * The length of the product variant. - */ - length?: number - /** - * The height of the product variant. - */ - height?: number - /** - * The width of the product variant. - */ - width?: number - /** - * The country of origin of the product variant. - */ - origin_country?: string - /** - * The Manufacturer Identification code of the product variant. - */ - mid_code?: string - /** - * The material composition of the product variant. - */ - material?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record - /** - * An array of product variant prices. A product variant can have different prices for each region or currency code. - */ - prices?: Array<{ - /** - * The ID of the Price. If provided, the existing price will be updated. Otherwise, a new price will be created. - */ - id?: string - /** - * The ID of the Region the price will be used in. This is only required if `currency_code` is not provided. - */ - region_id?: string - /** - * The 3 character ISO currency code the price will be used in. This is only required if `region_id` is not provided. - */ - currency_code?: string - /** - * The price amount. - */ - amount: number - /** - * The minimum quantity required to be added to the cart for the price to be used. - */ - min_quantity?: number - /** - * The maximum quantity required to be added to the cart for the price to be used. - */ - max_quantity?: number - }> - /** - * An array of Product Option values that the variant corresponds to. - */ - options?: Array<{ - /** - * The ID of the Option. - */ - option_id: string - /** - * The value of the Product Option. - */ - value: string - }> - }> - /** - * The weight of the Product. - */ - weight?: number - /** - * The length of the Product. - */ - length?: number - /** - * The height of the Product. - */ - height?: number - /** - * The width of the Product. - */ - width?: number - /** - * The Harmonized System code of the product variant. - */ - hs_code?: string - /** - * The country of origin of the Product. - */ - origin_country?: string - /** - * The Manufacturer Identification code of the Product. - */ - mid_code?: string - /** - * The material composition of the Product. - */ - material?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductsProductVariantsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductsProductVariantsReq.ts deleted file mode 100644 index 319441cfdd..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductsProductVariantsReq.ts +++ /dev/null @@ -1,116 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the product variant to create. - */ -export interface AdminPostProductsProductVariantsReq { - /** - * The title of the product variant. - */ - title: string - /** - * The unique SKU of the product variant. - */ - sku?: string - /** - * The EAN number of the product variant. - */ - ean?: string - /** - * The UPC number of the product variant. - */ - upc?: string - /** - * A generic GTIN field of the product variant. - */ - barcode?: string - /** - * The Harmonized System code of the product variant. - */ - hs_code?: string - /** - * The amount of stock kept of the product variant. - */ - inventory_quantity?: number - /** - * Whether the product variant can be purchased when out of stock. - */ - allow_backorder?: boolean - /** - * Whether Medusa should keep track of the inventory of this product variant. - */ - manage_inventory?: boolean - /** - * The wieght of the product variant. - */ - weight?: number - /** - * The length of the product variant. - */ - length?: number - /** - * The height of the product variant. - */ - height?: number - /** - * The width of the product variant. - */ - width?: number - /** - * The country of origin of the product variant. - */ - origin_country?: string - /** - * The Manufacturer Identification code of the product variant. - */ - mid_code?: string - /** - * The material composition of the product variant. - */ - material?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record - /** - * An array of product variant prices. A product variant can have different prices for each region or currency code. - */ - prices: Array<{ - /** - * The ID of the Region the price will be used in. This is only required if `currency_code` is not provided. - */ - region_id?: string - /** - * The 3 character ISO currency code the price will be used in. This is only required if `region_id` is not provided. - */ - currency_code?: string - /** - * The price amount. - */ - amount: number - /** - * The minimum quantity required to be added to the cart for the price to be used. - */ - min_quantity?: number - /** - * The maximum quantity required to be added to the cart for the price to be used. - */ - max_quantity?: number - }> - /** - * An array of Product Option values that the variant corresponds to. - */ - options: Array<{ - /** - * The ID of the Product Option. - */ - option_id: string - /** - * A value to give to the Product Option. - */ - value: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductsProductVariantsVariantReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductsProductVariantsVariantReq.ts deleted file mode 100644 index ae32cf1be0..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductsProductVariantsVariantReq.ts +++ /dev/null @@ -1,117 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostProductsProductVariantsVariantReq { - /** - * The title of the product variant. - */ - title?: string - /** - * The unique SKU of the product variant. - */ - sku?: string - /** - * The EAN number of the item. - */ - ean?: string - /** - * The UPC number of the item. - */ - upc?: string - /** - * A generic GTIN field of the product variant. - */ - barcode?: string - /** - * The Harmonized System code of the product variant. - */ - hs_code?: string - /** - * The amount of stock kept of the product variant. - */ - inventory_quantity?: number - /** - * Whether the product variant can be purchased when out of stock. - */ - allow_backorder?: boolean - /** - * Whether Medusa should keep track of the inventory of this product variant. - */ - manage_inventory?: boolean - /** - * The weight of the product variant. - */ - weight?: number - /** - * The length of the product variant. - */ - length?: number - /** - * The height of the product variant. - */ - height?: number - /** - * The width of the product variant. - */ - width?: number - /** - * The country of origin of the product variant. - */ - origin_country?: string - /** - * The Manufacturer Identification code of the product variant. - */ - mid_code?: string - /** - * The material composition of the product variant. - */ - material?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record - /** - * An array of product variant prices. A product variant can have different prices for each region or currency code. - */ - prices?: Array<{ - /** - * The ID of the price. If provided, the existing price will be updated. Otherwise, a new price will be created. - */ - id?: string - /** - * The ID of the Region the price will be used in. This is only required if `currency_code` is not provided. - */ - region_id?: string - /** - * The 3 character ISO currency code the price will be used in. This is only required if `region_id` is not provided. - */ - currency_code?: string - /** - * The price amount. - */ - amount: number - /** - * The minimum quantity required to be added to the cart for the price to be used. - */ - min_quantity?: number - /** - * The maximum quantity required to be added to the cart for the price to be used. - */ - max_quantity?: number - }> - /** - * An array of Product Option values that the variant corresponds to. - */ - options?: Array<{ - /** - * The ID of the Product Option. - */ - option_id: string - /** - * The value of the Product Option. - */ - value: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductsReq.ts deleted file mode 100644 index bf16d3eb5b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductsReq.ts +++ /dev/null @@ -1,246 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the product to create. - */ -export interface AdminPostProductsReq { - /** - * The title of the Product - */ - title: string - /** - * The subtitle of the Product - */ - subtitle?: string - /** - * The description of the Product. - */ - description?: string - /** - * A flag to indicate if the Product represents a Gift Card. Purchasing Products with this flag set to `true` will result in a Gift Card being created. - */ - is_giftcard?: boolean - /** - * A flag to indicate if discounts can be applied to the Line Items generated from this Product - */ - discountable?: boolean - /** - * An array of images of the Product. Each value in the array is a URL to the image. You can use the upload API Routes to upload the image and obtain a URL. - */ - images?: Array - /** - * The thumbnail to use for the Product. The value is a URL to the thumbnail. You can use the upload API Routes to upload the thumbnail and obtain a URL. - */ - thumbnail?: string - /** - * A unique handle to identify the Product by. If not provided, the kebab-case version of the product title will be used. This can be used as a slug in URLs. - */ - handle?: string - /** - * The status of the product. The product is shown to the customer only if its status is `published`. - */ - status?: "draft" | "proposed" | "published" | "rejected" - /** - * The Product Type to associate the Product with. - */ - type?: { - /** - * The ID of an existing Product Type. If not provided, a new product type will be created. - */ - id?: string - /** - * The value of the Product Type. - */ - value: string - } - /** - * The ID of the Product Collection the Product belongs to. - */ - collection_id?: string - /** - * Product Tags to associate the Product with. - */ - tags?: Array<{ - /** - * The ID of an existing Product Tag. If not provided, a new product tag will be created. - */ - id?: string - /** - * The value of the Tag. If the `id` is provided, the value of the existing tag will be updated. - */ - value: string - }> - /** - * Sales channels to associate the Product with. - */ - sales_channels?: Array<{ - /** - * The ID of an existing Sales channel. - */ - id: string - }> - /** - * Product categories to add the Product to. - */ - categories?: Array<{ - /** - * The ID of a Product Category. - */ - id: string - }> - /** - * The Options that the Product should have. A new product option will be created for every item in the array. - */ - options?: Array<{ - /** - * The title of the Product Option. - */ - title: string - }> - /** - * An array of Product Variants to create with the Product. Each product variant must have a unique combination of Product Option values. - */ - variants?: Array<{ - /** - * The title of the Product Variant. - */ - title: string - /** - * The unique SKU of the Product Variant. - */ - sku?: string - /** - * The EAN number of the item. - */ - ean?: string - /** - * The UPC number of the item. - */ - upc?: string - /** - * A generic GTIN field of the Product Variant. - */ - barcode?: string - /** - * The Harmonized System code of the Product Variant. - */ - hs_code?: string - /** - * The amount of stock kept of the Product Variant. - */ - inventory_quantity?: number - /** - * Whether the Product Variant can be purchased when out of stock. - */ - allow_backorder?: boolean - /** - * Whether Medusa should keep track of the inventory of this Product Variant. - */ - manage_inventory?: boolean - /** - * The wieght of the Product Variant. - */ - weight?: number - /** - * The length of the Product Variant. - */ - length?: number - /** - * The height of the Product Variant. - */ - height?: number - /** - * The width of the Product Variant. - */ - width?: number - /** - * The country of origin of the Product Variant. - */ - origin_country?: string - /** - * The Manufacturer Identification code of the Product Variant. - */ - mid_code?: string - /** - * The material composition of the Product Variant. - */ - material?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record - /** - * An array of product variant prices. A product variant can have different prices for each region or currency code. - */ - prices?: Array<{ - /** - * The ID of the Region the price will be used in. This is only required if `currency_code` is not provided. - */ - region_id?: string - /** - * The 3 character ISO currency code the price will be used in. This is only required if `region_id` is not provided. - */ - currency_code?: string - /** - * The price amount. - */ - amount: number - /** - * The minimum quantity required to be added to the cart for the price to be used. - */ - min_quantity?: number - /** - * The maximum quantity required to be added to the cart for the price to be used. - */ - max_quantity?: number - }> - /** - * An array of Product Option values that the variant corresponds to. The option values should be added into the array in the same index as in the `options` field of the product. - */ - options?: Array<{ - /** - * The value to give for the Product Option at the same index in the Product's `options` field. - */ - value: string - }> - }> - /** - * The weight of the Product. - */ - weight?: number - /** - * The length of the Product. - */ - length?: number - /** - * The height of the Product. - */ - height?: number - /** - * The width of the Product. - */ - width?: number - /** - * The Harmonized System code of the Product. - */ - hs_code?: string - /** - * The country of origin of the Product. - */ - origin_country?: string - /** - * The Manufacturer Identification code of the Product. - */ - mid_code?: string - /** - * The material composition of the Product. - */ - material?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostProductsToCollectionReq.ts b/packages/generated/client-types/src/lib/models/AdminPostProductsToCollectionReq.ts deleted file mode 100644 index 2827f562e5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostProductsToCollectionReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products to add to the collection. - */ -export interface AdminPostProductsToCollectionReq { - /** - * An array of Product IDs to add to the Product Collection. - */ - product_ids: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeySalesChannelsBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeySalesChannelsBatchReq.ts deleted file mode 100644 index 2ad2a47304..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeySalesChannelsBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the sales channels to add to the publishable API key. - */ -export interface AdminPostPublishableApiKeySalesChannelsBatchReq { - /** - * The IDs of the sales channels to add to the publishable API key - */ - sales_channel_ids: Array<{ - /** - * The ID of the sales channel - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeysPublishableApiKeyReq.ts b/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeysPublishableApiKeyReq.ts deleted file mode 100644 index c86d1de7a5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeysPublishableApiKeyReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the publishable API key. - */ -export interface AdminPostPublishableApiKeysPublishableApiKeyReq { - /** - * The title of the Publishable API Key. - */ - title?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeysReq.ts b/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeysReq.ts deleted file mode 100644 index 1e4997b3e8..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostPublishableApiKeysReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the publishable API key to create. - */ -export interface AdminPostPublishableApiKeysReq { - /** - * The title of the publishable API key - */ - title: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionCountriesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionCountriesReq.ts deleted file mode 100644 index f3b5e5ee81..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionCountriesReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the country to add to the region. - */ -export interface AdminPostRegionsRegionCountriesReq { - /** - * The 2 character ISO code for the Country. - */ - country_code: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionFulfillmentProvidersReq.ts b/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionFulfillmentProvidersReq.ts deleted file mode 100644 index 75be0dda72..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionFulfillmentProvidersReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the fulfillment provider to add to the region. - */ -export interface AdminPostRegionsRegionFulfillmentProvidersReq { - /** - * The ID of the Fulfillment Provider. - */ - provider_id: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionPaymentProvidersReq.ts b/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionPaymentProvidersReq.ts deleted file mode 100644 index 5bc3a5aab0..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionPaymentProvidersReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the payment provider to add to the region. - */ -export interface AdminPostRegionsRegionPaymentProvidersReq { - /** - * The ID of the Payment Provider. - */ - provider_id: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionReq.ts b/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionReq.ts deleted file mode 100644 index 05a5763567..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostRegionsRegionReq.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the regions. - */ -export interface AdminPostRegionsRegionReq { - /** - * The name of the Region - */ - name?: string - /** - * The 3 character ISO currency code to use in the Region. - */ - currency_code?: string - /** - * If set to `true`, the Medusa backend will automatically calculate taxes for carts in this region. If set to `false`, the taxes must be calculated manually. - */ - automatic_taxes?: boolean - /** - * If set to `true`, taxes will be applied on gift cards. - */ - gift_cards_taxable?: boolean - /** - * The ID of the tax provider to use. If none provided, the system tax provider is used. - */ - tax_provider_id?: string - /** - * The tax code of the Region. - */ - tax_code?: string - /** - * The tax rate to use in the Region. - */ - tax_rate?: number - /** - * Whether taxes are included in the prices of the region. - */ - includes_tax?: boolean - /** - * A list of Payment Provider IDs that can be used in the Region - */ - payment_providers?: Array - /** - * A list of Fulfillment Provider IDs that can be used in the Region - */ - fulfillment_providers?: Array - /** - * A list of countries' 2 ISO characters that should be included in the Region. - */ - countries?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostRegionsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostRegionsReq.ts deleted file mode 100644 index de1f0679d9..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostRegionsReq.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the region to create. - */ -export interface AdminPostRegionsReq { - /** - * The name of the Region - */ - name: string - /** - * The 3 character ISO currency code to use in the Region. - */ - currency_code: string - /** - * The tax code of the Region. - */ - tax_code?: string - /** - * The tax rate to use in the Region. - */ - tax_rate: number - /** - * A list of Payment Provider IDs that can be used in the Region - */ - payment_providers: Array - /** - * A list of Fulfillment Provider IDs that can be used in the Region - */ - fulfillment_providers: Array - /** - * A list of countries' 2 ISO characters that should be included in the Region. - */ - countries: Array - /** - * Whether taxes are included in the prices of the region. - */ - includes_tax?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostReservationsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostReservationsReq.ts deleted file mode 100644 index 6a7f2e9846..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostReservationsReq.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the reservation to create. - */ -export interface AdminPostReservationsReq { - /** - * The ID of the line item of the reservation. - */ - line_item_id?: string - /** - * The ID of the location of the reservation. - */ - location_id: string - /** - * The ID of the inventory item the reservation is associated with. - */ - inventory_item_id: string - /** - * The quantity to reserve. - */ - quantity: number - /** - * The reservation's description. - */ - description?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostReservationsReservationReq.ts b/packages/generated/client-types/src/lib/models/AdminPostReservationsReservationReq.ts deleted file mode 100644 index fbd6c18bb7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostReservationsReservationReq.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the reservation. - */ -export interface AdminPostReservationsReservationReq { - /** - * The ID of the location associated with the reservation. - */ - location_id?: string - /** - * The quantity to reserve. - */ - quantity?: number - /** - * The reservation's description. - */ - description?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostReturnReasonsReasonReq.ts b/packages/generated/client-types/src/lib/models/AdminPostReturnReasonsReasonReq.ts deleted file mode 100644 index 15161d2db2..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostReturnReasonsReasonReq.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the return reason. - */ -export interface AdminPostReturnReasonsReasonReq { - /** - * The label to display to the Customer. - */ - label?: string - /** - * A unique value of the return reason. - */ - value?: string - /** - * The description of the Reason. - */ - description?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostReturnReasonsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostReturnReasonsReq.ts deleted file mode 100644 index 799fdb89a4..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostReturnReasonsReq.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the return reason to create. - */ -export interface AdminPostReturnReasonsReq { - /** - * The label to display to the Customer. - */ - label: string - /** - * A unique value of the return reason. - */ - value: string - /** - * The ID of the parent return reason. - */ - parent_return_reason_id?: string - /** - * The description of the Reason. - */ - description?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostReturnsReturnReceiveReq.ts b/packages/generated/client-types/src/lib/models/AdminPostReturnsReturnReceiveReq.ts deleted file mode 100644 index a739dfa497..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostReturnsReturnReceiveReq.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the received return. - */ -export interface AdminPostReturnsReturnReceiveReq { - /** - * The Line Items that have been received. - */ - items: Array<{ - /** - * The ID of the Line Item. - */ - item_id: string - /** - * The quantity of the Line Item. - */ - quantity: number - }> - /** - * The amount to refund. - */ - refund?: number - /** - * The ID of the location to return items from. - */ - location_id?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsChannelProductsBatchReq.ts b/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsChannelProductsBatchReq.ts deleted file mode 100644 index 19680cd7b4..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsChannelProductsBatchReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products to add to the sales channel. - */ -export interface AdminPostSalesChannelsChannelProductsBatchReq { - /** - * The IDs of the products to add to the sales channel - */ - product_ids: Array<{ - /** - * The ID of the product - */ - id: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsChannelStockLocationsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsChannelStockLocationsReq.ts deleted file mode 100644 index be6e24062f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsChannelStockLocationsReq.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostSalesChannelsChannelStockLocationsReq { - /** - * The ID of the stock location - */ - location_id: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsReq.ts deleted file mode 100644 index 8b02425a2e..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the sales channel to create. - */ -export interface AdminPostSalesChannelsReq { - /** - * The name of the Sales Channel - */ - name: string - /** - * The description of the Sales Channel - */ - description?: string - /** - * Whether the Sales Channel is disabled. - */ - is_disabled?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsSalesChannelReq.ts b/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsSalesChannelReq.ts deleted file mode 100644 index f1e1c82b51..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostSalesChannelsSalesChannelReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the sales channel. - */ -export interface AdminPostSalesChannelsSalesChannelReq { - /** - * The name of the sales channel - */ - name?: string - /** - * The description of the sales channel. - */ - description?: string - /** - * Whether the Sales Channel is disabled. - */ - is_disabled?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostShippingOptionsOptionReq.ts b/packages/generated/client-types/src/lib/models/AdminPostShippingOptionsOptionReq.ts deleted file mode 100644 index f7059a957d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostShippingOptionsOptionReq.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the shipping option. - */ -export interface AdminPostShippingOptionsOptionReq { - /** - * The name of the Shipping Option - */ - name?: string - /** - * The amount to charge for the Shipping Option. If the `price_type` of the shipping option is `calculated`, this amount will not actually be used. - */ - amount?: number - /** - * If set to `true`, the shipping option can only be used when creating draft orders. - */ - admin_only?: boolean - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record - /** - * The requirements that must be satisfied for the Shipping Option to be available. - */ - requirements: Array<{ - /** - * The ID of an existing requirement. If an ID is passed, the existing requirement's details are updated. Otherwise, a new requirement is created. - */ - id?: string - /** - * The type of the requirement - */ - type: "max_subtotal" | "min_subtotal" - /** - * The amount to compare with. - */ - amount: number - }> - /** - * Tax included in prices of shipping option - */ - includes_tax?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostShippingOptionsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostShippingOptionsReq.ts deleted file mode 100644 index 696cc25791..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostShippingOptionsReq.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the shipping option to create. - */ -export interface AdminPostShippingOptionsReq { - /** - * The name of the Shipping Option - */ - name: string - /** - * The ID of the Region in which the Shipping Option will be available. - */ - region_id: string - /** - * The ID of the Fulfillment Provider that handles the Shipping Option. - */ - provider_id: string - /** - * The ID of the Shipping Profile to add the Shipping Option to. - */ - profile_id?: number - /** - * The data needed for the Fulfillment Provider to handle shipping with this Shipping Option. - */ - data: Record - /** - * The type of the Shipping Option price. `flat_rate` indicates fixed pricing, whereas `calculated` indicates that the price will be calculated each time by the fulfillment provider. - */ - price_type: "flat_rate" | "calculated" - /** - * The amount to charge for the Shipping Option. If the `price_type` is set to `calculated`, this amount will not actually be used. - */ - amount?: number - /** - * The requirements that must be satisfied for the Shipping Option to be available. - */ - requirements?: Array<{ - /** - * The type of the requirement - */ - type: "max_subtotal" | "min_subtotal" - /** - * The amount to compare with. - */ - amount: number - }> - /** - * Whether the Shipping Option can be used for returns or during checkout. - */ - is_return?: boolean - /** - * If set to `true`, the shipping option can only be used when creating draft orders. - */ - admin_only?: boolean - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record - /** - * Tax included in prices of shipping option - */ - includes_tax?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostShippingProfilesProfileReq.ts b/packages/generated/client-types/src/lib/models/AdminPostShippingProfilesProfileReq.ts deleted file mode 100644 index e8554bc30d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostShippingProfilesProfileReq.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The detail to update of the shipping profile. - */ -export interface AdminPostShippingProfilesProfileReq { - /** - * The name of the Shipping Profile - */ - name?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record - /** - * The type of the Shipping Profile - */ - type?: "default" | "gift_card" | "custom" - /** - * product IDs to associate with the Shipping Profile - */ - products?: any[] - /** - * Shipping option IDs to associate with the Shipping Profile - */ - shipping_options?: any[] -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostShippingProfilesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostShippingProfilesReq.ts deleted file mode 100644 index 2cc4d2eada..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostShippingProfilesReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the shipping profile to create. - */ -export interface AdminPostShippingProfilesReq { - /** - * The name of the Shipping Profile - */ - name: string - /** - * The type of the Shipping Profile - */ - type: "default" | "gift_card" | "custom" - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostStockLocationsLocationReq.ts b/packages/generated/client-types/src/lib/models/AdminPostStockLocationsLocationReq.ts deleted file mode 100644 index 8cf082fc28..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostStockLocationsLocationReq.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { StockLocationAddressInput } from "./StockLocationAddressInput" - -/** - * The details to update of the stock location. - */ -export interface AdminPostStockLocationsLocationReq { - /** - * the name of the stock location - */ - name?: string - /** - * the stock location address ID - */ - address_id?: string - /** - * An optional key-value map with additional details - */ - metadata?: Record - /** - * The data of an associated address to create or update. - */ - address?: StockLocationAddressInput -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostStockLocationsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostStockLocationsReq.ts deleted file mode 100644 index b8f7b1bee7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostStockLocationsReq.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { StockLocationAddressInput } from "./StockLocationAddressInput" - -/** - * The details of the stock location to create. - */ -export interface AdminPostStockLocationsReq { - /** - * the name of the stock location - */ - name: string - /** - * the ID of an existing stock location address to associate with the stock location. Only required if `address` is not provided. - */ - address_id?: string - /** - * An optional key-value map with additional details - */ - metadata?: Record - /** - * A new stock location address to create and associate with the stock location. Only required if `address_id` is not provided. - */ - address?: StockLocationAddressInput -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostStockLocationsReqAddress.ts b/packages/generated/client-types/src/lib/models/AdminPostStockLocationsReqAddress.ts deleted file mode 100644 index a2c4d07fc5..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostStockLocationsReqAddress.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostStockLocationsReqAddress { - /** - * Stock location address - */ - address_1: string - /** - * Stock location address' complement - */ - address_2?: string - /** - * Stock location address' company - */ - company?: string - /** - * Stock location address' city - */ - city?: string - /** - * The two character ISO code for the country. - */ - country_code: string - /** - * Stock location address' phone number - */ - phone?: string - /** - * Stock location address' postal code - */ - postal_code?: string - /** - * Stock location address' province - */ - province?: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostStoreReq.ts b/packages/generated/client-types/src/lib/models/AdminPostStoreReq.ts deleted file mode 100644 index a8c360064c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostStoreReq.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the store. - */ -export interface AdminPostStoreReq { - /** - * The name of the Store - */ - name?: string - /** - * A template for Swap links - use `{{cart_id}}` to insert the Swap Cart ID - */ - swap_link_template?: string - /** - * A template for payment links - use `{{cart_id}}` to insert the Cart ID - */ - payment_link_template?: string - /** - * A template for invite links - use `{{invite_token}}` to insert the invite token - */ - invite_link_template?: string - /** - * The default currency code of the Store. - */ - default_currency_code?: string - /** - * Array of available currencies in the store. Each currency is in 3 character ISO code format. - */ - currencies?: Array - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesParams.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesParams.ts deleted file mode 100644 index fa05e26829..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostTaxRatesParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesReq.ts deleted file mode 100644 index c5db7daf42..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesReq.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the tax rate to create. - */ -export interface AdminPostTaxRatesReq { - /** - * The code of the tax rate. - */ - code: string - /** - * The name of the tax rate. - */ - name: string - /** - * The ID of the Region that the tax rate belongs to. - */ - region_id: string - /** - * The numeric rate to charge. - */ - rate?: number - /** - * The IDs of the products associated with this tax rate. - */ - products?: Array - /** - * The IDs of the shipping options associated with this tax rate - */ - shipping_options?: Array - /** - * The IDs of the types of products associated with this tax rate - */ - product_types?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateParams.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateParams.ts deleted file mode 100644 index 803380a99f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostTaxRatesTaxRateParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductTypesParams.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductTypesParams.ts deleted file mode 100644 index 935ea8c109..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductTypesParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostTaxRatesTaxRateProductTypesParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductTypesReq.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductTypesReq.ts deleted file mode 100644 index c5ec87ad34..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductTypesReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The product types to add to the tax rate. - */ -export interface AdminPostTaxRatesTaxRateProductTypesReq { - /** - * The IDs of the types of products to associate with this tax rate - */ - product_types: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductsParams.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductsParams.ts deleted file mode 100644 index aab9ac4131..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostTaxRatesTaxRateProductsParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductsReq.ts deleted file mode 100644 index df7b5ed21d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateProductsReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the products to associat with the tax rate. - */ -export interface AdminPostTaxRatesTaxRateProductsReq { - /** - * The IDs of the products to associate with this tax rate - */ - products: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateReq.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateReq.ts deleted file mode 100644 index e659bc54c6..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateReq.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the tax rate. - */ -export interface AdminPostTaxRatesTaxRateReq { - /** - * The code of the tax rate. - */ - code?: string - /** - * The name of the tax rate. - */ - name?: string - /** - * The ID of the Region that the tax rate belongs to. - */ - region_id?: string - /** - * The numeric rate to charge. - */ - rate?: number - /** - * The IDs of the products associated with this tax rate - */ - products?: Array - /** - * The IDs of the shipping options associated with this tax rate - */ - shipping_options?: Array - /** - * The IDs of the types of product types associated with this tax rate - */ - product_types?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateShippingOptionsParams.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateShippingOptionsParams.ts deleted file mode 100644 index 5435785324..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateShippingOptionsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPostTaxRatesTaxRateShippingOptionsParams { - /** - * Comma-separated fields that should be included in the returned tax rate. - */ - fields?: Array - /** - * Comma-separated relations that should be expanded in the returned tax rate. - */ - expand?: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateShippingOptionsReq.ts b/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateShippingOptionsReq.ts deleted file mode 100644 index c8b776a628..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostTaxRatesTaxRateShippingOptionsReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the shipping options to associate with the tax rate. - */ -export interface AdminPostTaxRatesTaxRateShippingOptionsReq { - /** - * The IDs of the shipping options to associate with this tax rate - */ - shipping_options: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPostUploadsDownloadUrlReq.ts b/packages/generated/client-types/src/lib/models/AdminPostUploadsDownloadUrlReq.ts deleted file mode 100644 index fc8e8f94f1..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPostUploadsDownloadUrlReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the file to retrieve its download URL. - */ -export interface AdminPostUploadsDownloadUrlReq { - /** - * key of the file to obtain the download link for. This is obtained when you first uploaded the file, or by the file service if you used it directly. - */ - file_key: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminPriceListDeleteBatchRes.ts b/packages/generated/client-types/src/lib/models/AdminPriceListDeleteBatchRes.ts deleted file mode 100644 index 9a467dd476..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPriceListDeleteBatchRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of deleting a price list. - */ -export interface AdminPriceListDeleteBatchRes { - /** - * The IDs of the deleted prices. - */ - ids: Array - /** - * The type of the object that was deleted. A price is also named `money-amount`. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPriceListDeleteProductPricesRes.ts b/packages/generated/client-types/src/lib/models/AdminPriceListDeleteProductPricesRes.ts deleted file mode 100644 index 2549a47111..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPriceListDeleteProductPricesRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPriceListDeleteProductPricesRes { - /** - * The IDs of the deleted prices. - */ - ids: Array - /** - * The type of the object that was deleted. A price is also named `money-amount`. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPriceListDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminPriceListDeleteRes.ts deleted file mode 100644 index b76502e9dc..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPriceListDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPriceListDeleteRes { - /** - * The ID of the deleted Price List. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPriceListDeleteVariantPricesRes.ts b/packages/generated/client-types/src/lib/models/AdminPriceListDeleteVariantPricesRes.ts deleted file mode 100644 index f6d6715f66..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPriceListDeleteVariantPricesRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPriceListDeleteVariantPricesRes { - /** - * The IDs of the deleted prices. - */ - ids: Array - /** - * The type of the object that was deleted. A price is also named `money-amount`. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPriceListRes.ts b/packages/generated/client-types/src/lib/models/AdminPriceListRes.ts deleted file mode 100644 index cffb34a24b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPriceListRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PriceList } from "./PriceList" - -/** - * The price list's details. - */ -export interface AdminPriceListRes { - /** - * Price List details. - */ - price_list: SetRelation -} diff --git a/packages/generated/client-types/src/lib/models/AdminPriceListsListRes.ts b/packages/generated/client-types/src/lib/models/AdminPriceListsListRes.ts deleted file mode 100644 index d58868f7d7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPriceListsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PriceList } from "./PriceList" - -/** - * The list of price lists with pagination fields. - */ -export interface AdminPriceListsListRes { - /** - * An array of price lists details. - */ - price_lists: Array - /** - * The total number of items available - */ - count: number - /** - * The number of price lists skipped when retrieving the price lists. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminPriceListsProductsListRes.ts b/packages/generated/client-types/src/lib/models/AdminPriceListsProductsListRes.ts deleted file mode 100644 index a75086c8b4..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPriceListsProductsListRes.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Product } from "./Product" -import type { ProductVariant } from "./ProductVariant" - -/** - * The list of products with pagination fields. - */ -export interface AdminPriceListsProductsListRes { - /** - * An array of products details. - */ - products: Array< - Merge< - SetRelation< - Product, - | "categories" - | "collection" - | "images" - | "options" - | "tags" - | "type" - | "variants" - >, - { - variants: Array> - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of price lists skipped when retrieving the price lists. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductCategoriesCategoryDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminProductCategoriesCategoryDeleteRes.ts deleted file mode 100644 index 85b75e4d3d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductCategoriesCategoryDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminProductCategoriesCategoryDeleteRes { - /** - * The ID of the deleted product category - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductCategoriesCategoryRes.ts b/packages/generated/client-types/src/lib/models/AdminProductCategoriesCategoryRes.ts deleted file mode 100644 index c287969b01..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductCategoriesCategoryRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductCategory } from "./ProductCategory" - -/** - * The product category's details. - */ -export interface AdminProductCategoriesCategoryRes { - /** - * Product category details. - */ - product_category: SetRelation< - ProductCategory, - "category_children" | "parent_category" - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductCategoriesListRes.ts b/packages/generated/client-types/src/lib/models/AdminProductCategoriesListRes.ts deleted file mode 100644 index e5aa15f8fc..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductCategoriesListRes.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductCategory } from "./ProductCategory" - -/** - * The list of product categories with pagination fields. - */ -export interface AdminProductCategoriesListRes { - /** - * An array of product category details. - */ - product_categories: Array< - SetRelation - > - /** - * The total number of items available - */ - count: number - /** - * The number of product categories skipped when retrieving the product categories. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductTagsListRes.ts b/packages/generated/client-types/src/lib/models/AdminProductTagsListRes.ts deleted file mode 100644 index 720fe3d3da..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductTagsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductTag } from "./ProductTag" - -/** - * The list of product tags with pagination fields. - */ -export interface AdminProductTagsListRes { - /** - * An array of product tag details. - */ - product_tags: Array - /** - * The total number of items available - */ - count: number - /** - * The number of product tags skipped when retrieving the product tags. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductTypesListRes.ts b/packages/generated/client-types/src/lib/models/AdminProductTypesListRes.ts deleted file mode 100644 index 73efb0cec1..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductTypesListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductType } from "./ProductType" - -/** - * The list of product types with pagination fields. - */ -export interface AdminProductTypesListRes { - /** - * An array of product types details. - */ - product_types: Array - /** - * The total number of items available - */ - count: number - /** - * The number of product types skipped when retrieving the product types. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductsDeleteOptionRes.ts b/packages/generated/client-types/src/lib/models/AdminProductsDeleteOptionRes.ts deleted file mode 100644 index 3130418b79..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductsDeleteOptionRes.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedProduct } from "./PricedProduct" -import type { ProductVariant } from "./ProductVariant" - -/** - * The details of deleting a product's option. - */ -export interface AdminProductsDeleteOptionRes { - /** - * The ID of the deleted Product Option - */ - option_id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean - /** - * Product details. - */ - product: Merge< - SetRelation< - PricedProduct, - "collection" | "images" | "options" | "tags" | "type" | "variants" - >, - { - variants: Array> - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminProductsDeleteRes.ts deleted file mode 100644 index 18a55fa861..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductsDeleteRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of deleting a product. - */ -export interface AdminProductsDeleteRes { - /** - * The ID of the deleted Product. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductsDeleteVariantRes.ts b/packages/generated/client-types/src/lib/models/AdminProductsDeleteVariantRes.ts deleted file mode 100644 index 1b56db7d15..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductsDeleteVariantRes.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedProduct } from "./PricedProduct" -import type { ProductVariant } from "./ProductVariant" - -/** - * The details of deleting a product's variant. - */ -export interface AdminProductsDeleteVariantRes { - /** - * The ID of the deleted Product Variant. - */ - variant_id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean - /** - * Product details. - */ - product: Merge< - SetRelation< - PricedProduct, - "collection" | "images" | "options" | "tags" | "type" | "variants" - >, - { - variants: Array> - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductsListRes.ts b/packages/generated/client-types/src/lib/models/AdminProductsListRes.ts deleted file mode 100644 index e0970dd551..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductsListRes.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedProduct } from "./PricedProduct" -import type { ProductVariant } from "./ProductVariant" - -/** - * The list of products with pagination fields. - */ -export interface AdminProductsListRes { - /** - * An array of products details. - */ - products: Array< - Merge< - SetRelation< - PricedProduct, - "collection" | "images" | "options" | "tags" | "type" | "variants" - >, - { - variants: Array< - SetRelation - > - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of products skipped when retrieving the products. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductsListTagsRes.ts b/packages/generated/client-types/src/lib/models/AdminProductsListTagsRes.ts deleted file mode 100644 index 909901f4df..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductsListTagsRes.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The usage details of product tags. - */ -export interface AdminProductsListTagsRes { - /** - * An array of product tags details. - */ - tags: Array<{ - /** - * The ID of the tag. - */ - id: string - /** - * The number of products that use this tag. - */ - usage_count: string - /** - * The value of the tag. - */ - value: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductsListTypesRes.ts b/packages/generated/client-types/src/lib/models/AdminProductsListTypesRes.ts deleted file mode 100644 index f755281b97..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductsListTypesRes.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductType } from "./ProductType" - -export interface AdminProductsListTypesRes { - /** - * An array of product types details. - */ - types: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductsListVariantsRes.ts b/packages/generated/client-types/src/lib/models/AdminProductsListVariantsRes.ts deleted file mode 100644 index b6d86fb593..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductsListVariantsRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductVariant } from "./ProductVariant" - -export interface AdminProductsListVariantsRes { - /** - * An array of product variants details. - */ - variants: Array - /** - * The total number of items available - */ - count: number - /** - * The number of product variants skipped when retrieving the product variants. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminProductsRes.ts b/packages/generated/client-types/src/lib/models/AdminProductsRes.ts deleted file mode 100644 index 1dc05f1181..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminProductsRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedProduct } from "./PricedProduct" -import type { ProductVariant } from "./ProductVariant" - -/** - * The product's details. - */ -export interface AdminProductsRes { - /** - * Product details. - */ - product: Merge< - SetRelation< - PricedProduct, - "collection" | "images" | "options" | "tags" | "type" | "variants" - >, - { - variants: Array> - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminPublishableApiKeyDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminPublishableApiKeyDeleteRes.ts deleted file mode 100644 index 6d8f6257df..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPublishableApiKeyDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminPublishableApiKeyDeleteRes { - /** - * The ID of the deleted publishable API key. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether the publishable API key was deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysListRes.ts b/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysListRes.ts deleted file mode 100644 index 535bd69f89..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PublishableApiKey } from "./PublishableApiKey" - -/** - * The list of publishable API keys with pagination fields. - */ -export interface AdminPublishableApiKeysListRes { - /** - * An array of publishable API keys details. - */ - publishable_api_keys: Array - /** - * The total number of items available - */ - count: number - /** - * The number of publishable API keys skipped when retrieving the publishable API keys. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysListSalesChannelsRes.ts b/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysListSalesChannelsRes.ts deleted file mode 100644 index 66c1a49d72..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysListSalesChannelsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { SalesChannel } from "./SalesChannel" - -/** - * The list of sales channel. - */ -export interface AdminPublishableApiKeysListSalesChannelsRes { - /** - * An array of sales channels details. - */ - sales_channels: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysRes.ts b/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysRes.ts deleted file mode 100644 index 43e6c66cd2..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminPublishableApiKeysRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PublishableApiKey } from "./PublishableApiKey" - -/** - * The publishable API key's details. - */ -export interface AdminPublishableApiKeysRes { - /** - * Publishable API key details. - */ - publishable_api_key: PublishableApiKey -} diff --git a/packages/generated/client-types/src/lib/models/AdminRefundRes.ts b/packages/generated/client-types/src/lib/models/AdminRefundRes.ts deleted file mode 100644 index 7f42ba0759..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminRefundRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Refund } from "./Refund" - -/** - * The refund's details. - */ -export interface AdminRefundRes { - /** - * Refund details. - */ - refund: Refund -} diff --git a/packages/generated/client-types/src/lib/models/AdminRegionsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminRegionsDeleteRes.ts deleted file mode 100644 index 7c1a5e408c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminRegionsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminRegionsDeleteRes { - /** - * The ID of the deleted Region. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminRegionsListRes.ts b/packages/generated/client-types/src/lib/models/AdminRegionsListRes.ts deleted file mode 100644 index a79f78eaa2..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminRegionsListRes.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Region } from "./Region" - -/** - * The list of regions with pagination fields. - */ -export interface AdminRegionsListRes { - /** - * An array of regions details. - */ - regions: Array< - SetRelation< - Region, - "countries" | "fulfillment_providers" | "payment_providers" - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of regions skipped when retrieving the regions. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminRegionsRes.ts b/packages/generated/client-types/src/lib/models/AdminRegionsRes.ts deleted file mode 100644 index 368f8af860..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminRegionsRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Region } from "./Region" - -/** - * The region's details. - */ -export interface AdminRegionsRes { - /** - * Region details. - */ - region: SetRelation< - Region, - "countries" | "fulfillment_providers" | "payment_providers" - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminReservationsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminReservationsDeleteRes.ts deleted file mode 100644 index e72168f31f..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReservationsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminReservationsDeleteRes { - /** - * The ID of the deleted Reservation. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the Reservation was deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminReservationsListRes.ts b/packages/generated/client-types/src/lib/models/AdminReservationsListRes.ts deleted file mode 100644 index 0f2cc4fd7b..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReservationsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ExtendedReservationItem } from "./ExtendedReservationItem" - -/** - * The list of reservations with pagination fields. - */ -export interface AdminReservationsListRes { - /** - * An array of reservations details. - */ - reservations: Array - /** - * The total number of items available - */ - count: number - /** - * The number of reservations skipped when retrieving the reservations. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminReservationsRes.ts b/packages/generated/client-types/src/lib/models/AdminReservationsRes.ts deleted file mode 100644 index 7286bc603d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReservationsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ReservationItemDTO } from "./ReservationItemDTO" - -/** - * The reservation's details. - */ -export interface AdminReservationsRes { - /** - * Reservation details. - */ - reservation: ReservationItemDTO -} diff --git a/packages/generated/client-types/src/lib/models/AdminResetPasswordRequest.ts b/packages/generated/client-types/src/lib/models/AdminResetPasswordRequest.ts deleted file mode 100644 index 2493fe1706..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminResetPasswordRequest.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the password reset request. - */ -export interface AdminResetPasswordRequest { - /** - * The User's email. - */ - email?: string - /** - * The password-reset token generated when the password reset was requested. - */ - token: string - /** - * The User's new password. - */ - password: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminResetPasswordTokenRequest.ts b/packages/generated/client-types/src/lib/models/AdminResetPasswordTokenRequest.ts deleted file mode 100644 index 1cdfe63e7c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminResetPasswordTokenRequest.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the password reset token request. - */ -export interface AdminResetPasswordTokenRequest { - /** - * The User's email. - */ - email: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminReturnReasonsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminReturnReasonsDeleteRes.ts deleted file mode 100644 index c0d3705a0a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReturnReasonsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminReturnReasonsDeleteRes { - /** - * The ID of the deleted return reason - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminReturnReasonsListRes.ts b/packages/generated/client-types/src/lib/models/AdminReturnReasonsListRes.ts deleted file mode 100644 index 1636eaacbf..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReturnReasonsListRes.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ReturnReason } from "./ReturnReason" - -/** - * The list of return reasons. - */ -export interface AdminReturnReasonsListRes { - /** - * The list of return reasons. - */ - return_reasons: Array< - SetRelation - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminReturnReasonsRes.ts b/packages/generated/client-types/src/lib/models/AdminReturnReasonsRes.ts deleted file mode 100644 index d62aef3693..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReturnReasonsRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ReturnReason } from "./ReturnReason" - -/** - * The return reason's details. - */ -export interface AdminReturnReasonsRes { - /** - * The return reason's details. - */ - return_reason: SetRelation< - ReturnReason, - "parent_return_reason" | "return_reason_children" - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminReturnsCancelRes.ts b/packages/generated/client-types/src/lib/models/AdminReturnsCancelRes.ts deleted file mode 100644 index f527202b98..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReturnsCancelRes.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimItem } from "./ClaimItem" -import type { ClaimOrder } from "./ClaimOrder" -import type { Discount } from "./Discount" -import type { Fulfillment } from "./Fulfillment" -import type { LineItem } from "./LineItem" -import type { Order } from "./Order" -import type { Return } from "./Return" -import type { ReturnItem } from "./ReturnItem" -import type { ShippingMethod } from "./ShippingMethod" -import type { Swap } from "./Swap" - -/** - * The associated order's details. - */ -export interface AdminReturnsCancelRes { - /** - * Order details. - */ - order: Merge< - SetRelation< - Order, - | "billing_address" - | "claims" - | "customer" - | "discounts" - | "fulfillments" - | "gift_card_transactions" - | "gift_cards" - | "items" - | "payments" - | "refunds" - | "region" - | "returns" - | "shipping_address" - | "shipping_methods" - | "swaps" - >, - { - claims: Array< - Merge< - SetRelation< - ClaimOrder, - | "additional_items" - | "claim_items" - | "fulfillments" - | "return_order" - | "shipping_address" - | "shipping_methods" - >, - { - additional_items: Array> - claim_items: Array> - fulfillments: Array> - return_order: Merge< - SetRelation, - { - shipping_method: SetRelation - } - > - } - > - > - discounts: Array> - fulfillments: Array> - returns: Array< - Merge< - SetRelation, - { - items: Array> - shipping_method: SetRelation - } - > - > - swaps: Array< - Merge< - SetRelation< - Swap, - | "additional_items" - | "fulfillments" - | "payment" - | "return_order" - | "shipping_address" - | "shipping_methods" - >, - { - additional_items: Array> - fulfillments: Array> - return_order: Merge< - SetRelation, - { - shipping_method: SetRelation - } - > - shipping_methods: Array> - } - > - > - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminReturnsListRes.ts b/packages/generated/client-types/src/lib/models/AdminReturnsListRes.ts deleted file mode 100644 index d82b74a885..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReturnsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Return } from "./Return" - -/** - * The list of returns with pagination fields. - */ -export interface AdminReturnsListRes { - /** - * An array of returns details. - */ - returns: Array - /** - * The total number of items available - */ - count: number - /** - * The number of returns skipped when retrieving the returns. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminReturnsRes.ts b/packages/generated/client-types/src/lib/models/AdminReturnsRes.ts deleted file mode 100644 index c6f4749de3..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminReturnsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Return } from "./Return" - -/** - * The return's details. - */ -export interface AdminReturnsRes { - /** - * Return details. - */ - return: Return -} diff --git a/packages/generated/client-types/src/lib/models/AdminSalesChannelsDeleteLocationRes.ts b/packages/generated/client-types/src/lib/models/AdminSalesChannelsDeleteLocationRes.ts deleted file mode 100644 index 8d82d00a9a..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminSalesChannelsDeleteLocationRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminSalesChannelsDeleteLocationRes { - /** - * The ID of the removed stock location from a sales channel - */ - id: string - /** - * The type of the object that was removed. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminSalesChannelsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminSalesChannelsDeleteRes.ts deleted file mode 100644 index 0495df09e4..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminSalesChannelsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminSalesChannelsDeleteRes { - /** - * The ID of the deleted sales channel - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminSalesChannelsListRes.ts b/packages/generated/client-types/src/lib/models/AdminSalesChannelsListRes.ts deleted file mode 100644 index b4358494b8..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminSalesChannelsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { SalesChannel } from "./SalesChannel" - -/** - * The list of sales channels with pagination fields. - */ -export interface AdminSalesChannelsListRes { - /** - * An array of sales channels details. - */ - sales_channels: Array - /** - * The total number of items available - */ - count: number - /** - * The number of items skipped before the returned results - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminSalesChannelsRes.ts b/packages/generated/client-types/src/lib/models/AdminSalesChannelsRes.ts deleted file mode 100644 index a53880caad..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminSalesChannelsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { SalesChannel } from "./SalesChannel" - -/** - * The sales channel's details. - */ -export interface AdminSalesChannelsRes { - /** - * Sales Channel's details. - */ - sales_channel: SalesChannel -} diff --git a/packages/generated/client-types/src/lib/models/AdminShippingOptionsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminShippingOptionsDeleteRes.ts deleted file mode 100644 index f500f58a35..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminShippingOptionsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminShippingOptionsDeleteRes { - /** - * The ID of the deleted Shipping Option. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminShippingOptionsListRes.ts b/packages/generated/client-types/src/lib/models/AdminShippingOptionsListRes.ts deleted file mode 100644 index d79829c537..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminShippingOptionsListRes.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Region } from "./Region" -import type { ShippingOption } from "./ShippingOption" - -/** - * The list of shipping options with pagination fields. - */ -export interface AdminShippingOptionsListRes { - /** - * An array of shipping options details. - */ - shipping_options: Array< - Merge< - SetRelation, - { - region: SetRelation< - Region, - "fulfillment_providers" | "payment_providers" - > - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of shipping options skipped when retrieving the shipping options. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminShippingOptionsRes.ts b/packages/generated/client-types/src/lib/models/AdminShippingOptionsRes.ts deleted file mode 100644 index 81c6b25580..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminShippingOptionsRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Region } from "./Region" -import type { ShippingOption } from "./ShippingOption" - -/** - * The shipping option's details. - */ -export interface AdminShippingOptionsRes { - /** - * Shipping option details. - */ - shipping_option: Merge< - SetRelation, - { - region: SetRelation - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminShippingProfilesListRes.ts b/packages/generated/client-types/src/lib/models/AdminShippingProfilesListRes.ts deleted file mode 100644 index 095807c537..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminShippingProfilesListRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ShippingProfile } from "./ShippingProfile" - -/** - * The list of shipping profiles. - */ -export interface AdminShippingProfilesListRes { - /** - * An array of shipping profiles details. - */ - shipping_profiles: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminShippingProfilesRes.ts b/packages/generated/client-types/src/lib/models/AdminShippingProfilesRes.ts deleted file mode 100644 index 876270d250..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminShippingProfilesRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ShippingProfile } from "./ShippingProfile" - -/** - * The shipping profile's details. - */ -export interface AdminShippingProfilesRes { - /** - * Shipping profile details. - */ - shipping_profile: SetRelation< - ShippingProfile, - "products" | "shipping_options" - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminStockLocationsDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminStockLocationsDeleteRes.ts deleted file mode 100644 index 0d8aaf96d7..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminStockLocationsDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminStockLocationsDeleteRes { - /** - * The ID of the deleted Stock Location. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminStockLocationsListRes.ts b/packages/generated/client-types/src/lib/models/AdminStockLocationsListRes.ts deleted file mode 100644 index 903b36f000..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminStockLocationsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { StockLocationExpandedDTO } from "./StockLocationExpandedDTO" - -/** - * The list of stock locations with pagination fields. - */ -export interface AdminStockLocationsListRes { - /** - * The list of stock locations. - */ - stock_locations: Array - /** - * The total number of items available - */ - count: number - /** - * The number of stock locations skipped when retrieving the stock locations. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminStockLocationsRes.ts b/packages/generated/client-types/src/lib/models/AdminStockLocationsRes.ts deleted file mode 100644 index a686f0c606..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminStockLocationsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { StockLocationExpandedDTO } from "./StockLocationExpandedDTO" - -/** - * The stock location's details. - */ -export interface AdminStockLocationsRes { - /** - * Stock location details. - */ - stock_location: StockLocationExpandedDTO -} diff --git a/packages/generated/client-types/src/lib/models/AdminStoresRes.ts b/packages/generated/client-types/src/lib/models/AdminStoresRes.ts deleted file mode 100644 index 7d74991b49..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminStoresRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Store } from "./Store" - -/** - * The store's details. - */ -export interface AdminStoresRes { - /** - * Store details. - */ - store: Store -} diff --git a/packages/generated/client-types/src/lib/models/AdminSwapsListRes.ts b/packages/generated/client-types/src/lib/models/AdminSwapsListRes.ts deleted file mode 100644 index e044e44b46..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminSwapsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Swap } from "./Swap" - -/** - * The list of swaps with pagination fields. - */ -export interface AdminSwapsListRes { - /** - * An array of swaps details. - */ - swaps: Array - /** - * The total number of items available - */ - count: number - /** - * The number of swaps skipped when retrieving the swaps. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminSwapsRes.ts b/packages/generated/client-types/src/lib/models/AdminSwapsRes.ts deleted file mode 100644 index 6ef9e2f3b4..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminSwapsRes.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { Fulfillment } from "./Fulfillment" -import type { LineItem } from "./LineItem" -import type { ShippingMethod } from "./ShippingMethod" -import type { Swap } from "./Swap" - -/** - * The swap's details. - */ -export interface AdminSwapsRes { - /** - * Swap details. - */ - swap: Merge< - SetRelation< - Swap, - | "additional_items" - | "cart" - | "fulfillments" - | "order" - | "payment" - | "return_order" - | "shipping_address" - | "shipping_methods" - >, - { - additional_items: Array> - cart: Merge< - SetRelation, - { - items: Array> - } - > - fulfillments: Array> - shipping_methods: Array> - } - > -} diff --git a/packages/generated/client-types/src/lib/models/AdminTaxProvidersList.ts b/packages/generated/client-types/src/lib/models/AdminTaxProvidersList.ts deleted file mode 100644 index 68abd50f42..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminTaxProvidersList.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { TaxProvider } from "./TaxProvider" - -/** - * The list of tax providers in a store. - */ -export interface AdminTaxProvidersList { - /** - * An array of tax providers details. - */ - tax_providers: Array -} diff --git a/packages/generated/client-types/src/lib/models/AdminTaxRatesDeleteRes.ts b/packages/generated/client-types/src/lib/models/AdminTaxRatesDeleteRes.ts deleted file mode 100644 index ca166e3d56..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminTaxRatesDeleteRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminTaxRatesDeleteRes { - /** - * The ID of the deleted Shipping Option. - */ - id: string - /** - * The type of the object that was deleted. - */ - object: string - /** - * Whether or not the items were deleted. - */ - deleted: boolean -} diff --git a/packages/generated/client-types/src/lib/models/AdminTaxRatesListRes.ts b/packages/generated/client-types/src/lib/models/AdminTaxRatesListRes.ts deleted file mode 100644 index 4cb55f8b91..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminTaxRatesListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { TaxRate } from "./TaxRate" - -/** - * The list of tax rates with pagination fields. - */ -export interface AdminTaxRatesListRes { - /** - * An array of tax rate details. - */ - tax_rates: Array - /** - * The total number of items available - */ - count: number - /** - * The number of tax rates to skip when retrieving the tax rates. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminTaxRatesRes.ts b/packages/generated/client-types/src/lib/models/AdminTaxRatesRes.ts deleted file mode 100644 index 6b70fbb018..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminTaxRatesRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { TaxRate } from "./TaxRate" - -/** - * The tax rate's details. - */ -export interface AdminTaxRatesRes { - /** - * Tax rate details. - */ - tax_rate: TaxRate -} diff --git a/packages/generated/client-types/src/lib/models/AdminUpdatePaymentCollectionsReq.ts b/packages/generated/client-types/src/lib/models/AdminUpdatePaymentCollectionsReq.ts deleted file mode 100644 index ea265c210d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminUpdatePaymentCollectionsReq.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the payment collection. - */ -export interface AdminUpdatePaymentCollectionsReq { - /** - * A description to create or update the payment collection. - */ - description?: string - /** - * A set of key-value pairs to hold additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminUpdateUserRequest.ts b/packages/generated/client-types/src/lib/models/AdminUpdateUserRequest.ts deleted file mode 100644 index 0956ac2b50..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminUpdateUserRequest.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface AdminUpdateUserRequest { - /** - * The first name of the User. - */ - first_name?: string - /** - * The last name of the User. - */ - last_name?: string - /** - * The role assigned to the user. These roles don't provide any different privileges. - */ - role?: "admin" | "member" | "developer" - /** - * The API token of the User. - */ - api_token?: string - /** - * An optional set of key-value pairs with additional information. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/AdminUploadsDownloadUrlRes.ts b/packages/generated/client-types/src/lib/models/AdminUploadsDownloadUrlRes.ts deleted file mode 100644 index 30c97bd485..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminUploadsDownloadUrlRes.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The download URL details. - */ -export interface AdminUploadsDownloadUrlRes { - /** - * The Download URL of the file - */ - download_url: string -} diff --git a/packages/generated/client-types/src/lib/models/AdminUploadsRes.ts b/packages/generated/client-types/src/lib/models/AdminUploadsRes.ts deleted file mode 100644 index f33d20df5c..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminUploadsRes.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The list of uploaded files. - */ -export interface AdminUploadsRes { - /** - * Uploaded files details. - */ - uploads: Array<{ - /** - * The URL of the uploaded file. - */ - url: string - /** - * The key of the file that is identifiable by the file service. It can be used later to retrieve or manipulate the file. - */ - key: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/AdminUserRes.ts b/packages/generated/client-types/src/lib/models/AdminUserRes.ts deleted file mode 100644 index ea39d65e69..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminUserRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { User } from "./User" - -/** - * The user's details. - */ -export interface AdminUserRes { - /** - * User details. - */ - user: User -} diff --git a/packages/generated/client-types/src/lib/models/AdminUsersListRes.ts b/packages/generated/client-types/src/lib/models/AdminUsersListRes.ts deleted file mode 100644 index b1dca7d39d..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminUsersListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { User } from "./User" - -/** - * The list of users. - */ -export interface AdminUsersListRes { - /** - * An array of users details. - */ - users: Array - /** - * The total number of items available - */ - count: number - /** - * The number of users skipped when retrieving the users. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminVariantsListRes.ts b/packages/generated/client-types/src/lib/models/AdminVariantsListRes.ts deleted file mode 100644 index 34c72e2ee0..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminVariantsListRes.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedVariant } from "./PricedVariant" - -/** - * The list of variants with pagination fields. - */ -export interface AdminVariantsListRes { - /** - * An array of product variant details. - */ - variants: Array< - SetRelation - > - /** - * The total number of items available - */ - count: number - /** - * The number of product variants skipped when retrieving the product variants. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/AdminVariantsRes.ts b/packages/generated/client-types/src/lib/models/AdminVariantsRes.ts deleted file mode 100644 index 2b886a4e25..0000000000 --- a/packages/generated/client-types/src/lib/models/AdminVariantsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedVariant } from "./PricedVariant" - -/** - * The product variant's details. - */ -export interface AdminVariantsRes { - /** - * Product variant's details. - */ - variant: SetRelation -} diff --git a/packages/generated/client-types/src/lib/models/BatchJob.ts b/packages/generated/client-types/src/lib/models/BatchJob.ts deleted file mode 100644 index 1119b4a64e..0000000000 --- a/packages/generated/client-types/src/lib/models/BatchJob.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { User } from "./User" - -/** - * A Batch Job indicates an asynchronus task stored in the Medusa backend. Its status determines whether it has been executed or not. - */ -export interface BatchJob { - /** - * The unique identifier for the batch job. - */ - id: string - /** - * The type of batch job. - */ - type: "product-import" | "product-export" - /** - * The status of the batch job. - */ - status: - | "created" - | "pre_processed" - | "confirmed" - | "processing" - | "completed" - | "canceled" - | "failed" - /** - * The unique identifier of the user that created the batch job. - */ - created_by: string | null - /** - * The details of the user that created the batch job. - */ - created_by_user?: User | null - /** - * The context of the batch job, the type of the batch job determines what the context should contain. - */ - context: Record | null - /** - * Specify if the job must apply the modifications or not. - */ - dry_run: boolean - /** - * The result of the batch job. - */ - result: - | (Record & { - count?: number - advancement_count?: number - progress?: number - errors?: { - message?: string - code?: string | number - err?: any[] - } - stat_descriptors?: { - key?: string - name?: string - message?: string - } - file_key?: string - file_size?: number - }) - | null - /** - * The date from which the job has been pre-processed. - */ - pre_processed_at: string | null - /** - * The date the job is processing at. - */ - processing_at: string | null - /** - * The date when the confirmation has been done. - */ - confirmed_at: string | null - /** - * The date of the completion. - */ - completed_at: string | null - /** - * The date of the concellation. - */ - canceled_at: string | null - /** - * The date when the job failed. - */ - failed_at: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was last updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null -} diff --git a/packages/generated/client-types/src/lib/models/Cart.ts b/packages/generated/client-types/src/lib/models/Cart.ts deleted file mode 100644 index 4bf0c8efb2..0000000000 --- a/packages/generated/client-types/src/lib/models/Cart.ts +++ /dev/null @@ -1,189 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Address } from "./Address" -import type { Customer } from "./Customer" -import type { Discount } from "./Discount" -import type { GiftCard } from "./GiftCard" -import type { LineItem } from "./LineItem" -import type { Payment } from "./Payment" -import type { PaymentSession } from "./PaymentSession" -import type { Region } from "./Region" -import type { SalesChannel } from "./SalesChannel" -import type { ShippingMethod } from "./ShippingMethod" - -/** - * A cart represents a virtual shopping bag. It can be used to complete an order, a swap, or a claim. - */ -export interface Cart { - /** - * The cart's ID - */ - id: string - /** - * The email associated with the cart - */ - email: string | null - /** - * The billing address's ID - */ - billing_address_id: string | null - /** - * The details of the billing address associated with the cart. - */ - billing_address?: Address | null - /** - * The shipping address's ID - */ - shipping_address_id: string | null - /** - * The details of the shipping address associated with the cart. - */ - shipping_address?: Address | null - /** - * The line items added to the cart. - */ - items?: Array - /** - * The region's ID - */ - region_id: string - /** - * The details of the region associated with the cart. - */ - region?: Region | null - /** - * An array of details of all discounts applied to the cart. - */ - discounts?: Array - /** - * An array of details of all gift cards applied to the cart. - */ - gift_cards?: Array - /** - * The customer's ID - */ - customer_id: string | null - /** - * The details of the customer the cart belongs to. - */ - customer?: Customer | null - /** - * The details of the selected payment session in the cart. - */ - payment_session: PaymentSession | null - /** - * The details of all payment sessions created on the cart. - */ - payment_sessions?: Array - /** - * The payment's ID if available - */ - payment_id: string | null - /** - * The details of the payment associated with the cart. - */ - payment?: Payment | null - /** - * The details of the shipping methods added to the cart. - */ - shipping_methods?: Array - /** - * The cart's type. - */ - type: "default" | "swap" | "draft_order" | "payment_link" | "claim" - /** - * The date with timezone at which the cart was completed. - */ - completed_at: string | null - /** - * The date with timezone at which the payment was authorized. - */ - payment_authorized_at: string | null - /** - * Randomly generated key used to continue the completion of a cart in case of failure. - */ - idempotency_key: string | null - /** - * The context of the cart which can include info like IP or user agent. - */ - context: Record | null - /** - * The sales channel ID the cart is associated with. - */ - sales_channel_id?: string | null - /** - * The details of the sales channel associated with the cart. - */ - sales_channel?: SalesChannel | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null - /** - * The total of shipping - */ - shipping_total?: number - /** - * The total of discount rounded - */ - discount_total?: number - /** - * The total of discount - */ - raw_discount_total?: number - /** - * The total of items with taxes - */ - item_tax_total?: number - /** - * The total of shipping with taxes - */ - shipping_tax_total?: number - /** - * The total of tax - */ - tax_total?: number - /** - * The total amount refunded if the order associated with this cart is returned. - */ - refunded_total?: number - /** - * The total amount of the cart - */ - total?: number - /** - * The subtotal of the cart - */ - subtotal?: number - /** - * The amount that can be refunded - */ - refundable_amount?: number - /** - * The total of gift cards - */ - gift_card_total?: number - /** - * The total of gift cards with taxes - */ - gift_card_tax_total?: number - /** - * The associated sales channels. - */ - sales_channels?: Array | null -} diff --git a/packages/generated/client-types/src/lib/models/ClaimImage.ts b/packages/generated/client-types/src/lib/models/ClaimImage.ts deleted file mode 100644 index 7d9bf3da77..0000000000 --- a/packages/generated/client-types/src/lib/models/ClaimImage.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimItem } from "./ClaimItem" - -/** - * The details of an image attached to a claim. - */ -export interface ClaimImage { - /** - * The claim image's ID - */ - id: string - /** - * The ID of the claim item associated with the image - */ - claim_item_id: string - /** - * The details of the claim item this image is associated with. - */ - claim_item?: ClaimItem | null - /** - * The URL of the image - */ - url: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ClaimItem.ts b/packages/generated/client-types/src/lib/models/ClaimItem.ts deleted file mode 100644 index 1216b12597..0000000000 --- a/packages/generated/client-types/src/lib/models/ClaimItem.ts +++ /dev/null @@ -1,80 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimImage } from "./ClaimImage" -import type { ClaimOrder } from "./ClaimOrder" -import type { ClaimTag } from "./ClaimTag" -import type { LineItem } from "./LineItem" -import type { ProductVariant } from "./ProductVariant" - -/** - * A claim item is an item created as part of a claim. It references an item in the order that should be exchanged or refunded. - */ -export interface ClaimItem { - /** - * The claim item's ID - */ - id: string - /** - * The claim images that are attached to the claim item. - */ - images?: Array - /** - * The ID of the claim this item is associated with. - */ - claim_order_id: string - /** - * The details of the claim this item belongs to. - */ - claim_order?: ClaimOrder | null - /** - * The ID of the line item that the claim item refers to. - */ - item_id: string - /** - * The details of the line item in the original order that this claim item refers to. - */ - item?: LineItem | null - /** - * The ID of the product variant that is claimed. - */ - variant_id: string - /** - * The details of the product variant to potentially replace the item in the original order. - */ - variant?: ProductVariant | null - /** - * The reason for the claim - */ - reason: "missing_item" | "wrong_item" | "production_failure" | "other" - /** - * An optional note about the claim, for additional information - */ - note: string | null - /** - * The quantity of the item that is being claimed; must be less than or equal to the amount purchased in the original order. - */ - quantity: number - /** - * User defined tags for easy filtering and grouping. - */ - tags?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ClaimOrder.ts b/packages/generated/client-types/src/lib/models/ClaimOrder.ts deleted file mode 100644 index ae13d6d87c..0000000000 --- a/packages/generated/client-types/src/lib/models/ClaimOrder.ts +++ /dev/null @@ -1,111 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Address } from "./Address" -import type { ClaimItem } from "./ClaimItem" -import type { Fulfillment } from "./Fulfillment" -import type { LineItem } from "./LineItem" -import type { Order } from "./Order" -import type { Return } from "./Return" -import type { ShippingMethod } from "./ShippingMethod" - -/** - * A Claim represents a group of faulty or missing items. It consists of claim items that refer to items in the original order that should be replaced or refunded. It also includes details related to shipping and fulfillment. - */ -export interface ClaimOrder { - /** - * The claim's ID - */ - id: string - /** - * The claim's type - */ - type: "refund" | "replace" - /** - * The status of the claim's payment - */ - payment_status: "na" | "not_refunded" | "refunded" - /** - * The claim's fulfillment status - */ - fulfillment_status: - | "not_fulfilled" - | "partially_fulfilled" - | "fulfilled" - | "partially_shipped" - | "shipped" - | "partially_returned" - | "returned" - | "canceled" - | "requires_action" - /** - * The details of the items that should be replaced or refunded. - */ - claim_items?: Array - /** - * The details of the new items to be shipped when the claim's type is `replace` - */ - additional_items?: Array - /** - * The ID of the order that the claim comes from. - */ - order_id: string - /** - * The details of the order that this claim was created for. - */ - order?: Order | null - /** - * The details of the return associated with the claim if the claim's type is `replace`. - */ - return_order?: Return | null - /** - * The ID of the address that the new items should be shipped to - */ - shipping_address_id: string | null - /** - * The details of the address that new items should be shipped to. - */ - shipping_address?: Address | null - /** - * The details of the shipping methods that the claim order will be shipped with. - */ - shipping_methods?: Array - /** - * The fulfillments of the new items to be shipped - */ - fulfillments?: Array - /** - * The amount that will be refunded in conjunction with the claim - */ - refund_amount: number | null - /** - * The date with timezone at which the claim was canceled. - */ - canceled_at: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null - /** - * Flag for describing whether or not notifications related to this should be send. - */ - no_notification: boolean | null - /** - * Randomly generated key used to continue the completion of the cart associated with the claim in case of failure. - */ - idempotency_key: string | null -} diff --git a/packages/generated/client-types/src/lib/models/ClaimTag.ts b/packages/generated/client-types/src/lib/models/ClaimTag.ts deleted file mode 100644 index 5c868c9d12..0000000000 --- a/packages/generated/client-types/src/lib/models/ClaimTag.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Claim Tags are user defined tags that can be assigned to claim items for easy filtering and grouping. - */ -export interface ClaimTag { - /** - * The claim tag's ID - */ - id: string - /** - * The value that the claim tag holds - */ - value: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/Country.ts b/packages/generated/client-types/src/lib/models/Country.ts deleted file mode 100644 index c74d141a9f..0000000000 --- a/packages/generated/client-types/src/lib/models/Country.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Region } from "./Region" - -/** - * Country details - */ -export interface Country { - /** - * The country's ID - */ - id: string - /** - * The 2 character ISO code of the country in lower case - */ - iso_2: string - /** - * The 2 character ISO code of the country in lower case - */ - iso_3: string - /** - * The numerical ISO code for the country. - */ - num_code: string - /** - * The normalized country name in upper case. - */ - name: string - /** - * The country name appropriate for display. - */ - display_name: string - /** - * The region ID this country is associated with. - */ - region_id: string | null - /** - * The details of the region the country is associated with. - */ - region?: Region | null -} diff --git a/packages/generated/client-types/src/lib/models/CreateStockLocationInput.ts b/packages/generated/client-types/src/lib/models/CreateStockLocationInput.ts deleted file mode 100644 index 3de1e2b328..0000000000 --- a/packages/generated/client-types/src/lib/models/CreateStockLocationInput.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { StockLocationAddressInput } from "./StockLocationAddressInput" - -/** - * Represents the Input to create a Stock Location - */ -export interface CreateStockLocationInput { - /** - * The stock location name - */ - name: string - /** - * The Stock location address ID - */ - address_id?: string - /** - * Stock location address object - */ - address?: StockLocationAddressInput & Record - /** - * An optional key-value map with additional details - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/Currency.ts b/packages/generated/client-types/src/lib/models/Currency.ts deleted file mode 100644 index 2a68ebdb6b..0000000000 --- a/packages/generated/client-types/src/lib/models/Currency.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Currency - */ -export interface Currency { - /** - * The 3 character ISO code for the currency. - */ - code: string - /** - * The symbol used to indicate the currency. - */ - symbol: string - /** - * The native symbol used to indicate the currency. - */ - symbol_native: string - /** - * The written name of the currency - */ - name: string - /** - * Whether the currency prices include tax - */ - includes_tax?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/CustomShippingOption.ts b/packages/generated/client-types/src/lib/models/CustomShippingOption.ts deleted file mode 100644 index 0a85e8b6e7..0000000000 --- a/packages/generated/client-types/src/lib/models/CustomShippingOption.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { ShippingOption } from "./ShippingOption" - -/** - * Custom Shipping Options are overridden Shipping Options. Admins can attach a Custom Shipping Option to a cart in order to set a custom price for a particular Shipping Option. - */ -export interface CustomShippingOption { - /** - * The custom shipping option's ID - */ - id: string - /** - * The custom price set that will override the shipping option's original price - */ - price: number - /** - * The ID of the Shipping Option that the custom shipping option overrides - */ - shipping_option_id: string - /** - * The details of the overridden shipping options. - */ - shipping_option?: ShippingOption | null - /** - * The ID of the Cart that the custom shipping option is attached to - */ - cart_id: string | null - /** - * The details of the cart this shipping option belongs to. - */ - cart?: Cart | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/Customer.ts b/packages/generated/client-types/src/lib/models/Customer.ts deleted file mode 100644 index 72d9249f73..0000000000 --- a/packages/generated/client-types/src/lib/models/Customer.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Address } from "./Address" -import type { CustomerGroup } from "./CustomerGroup" -import type { Order } from "./Order" - -/** - * A customer can make purchases in your store and manage their profile. - */ -export interface Customer { - /** - * The customer's ID - */ - id: string - /** - * The customer's email - */ - email: string - /** - * The customer's first name - */ - first_name: string | null - /** - * The customer's last name - */ - last_name: string | null - /** - * The customer's billing address ID - */ - billing_address_id: string | null - /** - * The details of the billing address associated with the customer. - */ - billing_address?: Address | null - /** - * The details of the shipping addresses associated with the customer. - */ - shipping_addresses?: Array
- /** - * The customer's phone number - */ - phone: string | null - /** - * Whether the customer has an account or not - */ - has_account: boolean - /** - * The details of the orders this customer placed. - */ - orders?: Array - /** - * The customer groups the customer belongs to. - */ - groups?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/CustomerGroup.ts b/packages/generated/client-types/src/lib/models/CustomerGroup.ts deleted file mode 100644 index 195f05c3f8..0000000000 --- a/packages/generated/client-types/src/lib/models/CustomerGroup.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Customer } from "./Customer" -import type { PriceList } from "./PriceList" - -/** - * A customer group that can be used to organize customers into groups of similar traits. - */ -export interface CustomerGroup { - /** - * The customer group's ID - */ - id: string - /** - * The name of the customer group - */ - name: string - /** - * The details of the customers that belong to the customer group. - */ - customers?: Array - /** - * The price lists that are associated with the customer group. - */ - price_lists?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DecoratedInventoryItemDTO.ts b/packages/generated/client-types/src/lib/models/DecoratedInventoryItemDTO.ts deleted file mode 100644 index f1dcc26069..0000000000 --- a/packages/generated/client-types/src/lib/models/DecoratedInventoryItemDTO.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { InventoryItemDTO } from "./InventoryItemDTO" -import type { InventoryLevelDTO } from "./InventoryLevelDTO" -import type { ProductVariant } from "./ProductVariant" - -export type DecoratedInventoryItemDTO = InventoryItemDTO & { - /** - * An array of location level details - */ - location_levels?: Array - /** - * An array of product variant details - */ - variants?: Array - /** - * The total quantity of the item in stock across levels - */ - stocked_quantity: number - /** - * The total quantity of the item available across levels - */ - reserved_quantity: number -} diff --git a/packages/generated/client-types/src/lib/models/Discount.ts b/packages/generated/client-types/src/lib/models/Discount.ts deleted file mode 100644 index 013bc686cf..0000000000 --- a/packages/generated/client-types/src/lib/models/Discount.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { DiscountRule } from "./DiscountRule" -import type { Region } from "./Region" - -/** - * A discount can be applied to a cart for promotional purposes. - */ -export interface Discount { - /** - * The discount's ID - */ - id: string - /** - * A unique code for the discount - this will be used by the customer to apply the discount - */ - code: string - /** - * A flag to indicate if multiple instances of the discount can be generated. I.e. for newsletter discounts - */ - is_dynamic: boolean - /** - * The ID of the discount rule that defines how the discount will be applied to a cart. - */ - rule_id: string | null - /** - * The details of the discount rule that defines how the discount will be applied to a cart.. - */ - rule?: DiscountRule | null - /** - * Whether the Discount has been disabled. Disabled discounts cannot be applied to carts - */ - is_disabled: boolean - /** - * The Discount that the discount was created from. This will always be a dynamic discount - */ - parent_discount_id: string | null - /** - * The details of the parent discount that this discount was created from. - */ - parent_discount?: Discount | null - /** - * The time at which the discount can be used. - */ - starts_at: string - /** - * The time at which the discount can no longer be used. - */ - ends_at: string | null - /** - * Duration the discount runs between - */ - valid_duration: string | null - /** - * The details of the regions in which the Discount can be used. - */ - regions?: Array - /** - * The maximum number of times that a discount can be used. - */ - usage_limit: number | null - /** - * The number of times a discount has been used. - */ - usage_count: number - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DiscountCondition.ts b/packages/generated/client-types/src/lib/models/DiscountCondition.ts deleted file mode 100644 index 5e5c339a65..0000000000 --- a/packages/generated/client-types/src/lib/models/DiscountCondition.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { CustomerGroup } from "./CustomerGroup" -import type { DiscountRule } from "./DiscountRule" -import type { Product } from "./Product" -import type { ProductCollection } from "./ProductCollection" -import type { ProductTag } from "./ProductTag" -import type { ProductType } from "./ProductType" - -/** - * Holds rule conditions for when a discount is applicable - */ -export interface DiscountCondition { - /** - * The discount condition's ID - */ - id: string - /** - * The type of the condition. The type affects the available resources associated with the condition. For example, if the type is `products`, that means the `products` relation will hold the products associated with this condition and other relations will be empty. - */ - type: - | "products" - | "product_types" - | "product_collections" - | "product_tags" - | "customer_groups" - /** - * The operator of the condition. `in` indicates that discountable resources are within the specified resources. `not_in` indicates that discountable resources are everything but the specified resources. - */ - operator: "in" | "not_in" - /** - * The ID of the discount rule associated with the condition - */ - discount_rule_id: string - /** - * The details of the discount rule associated with the condition. - */ - discount_rule?: DiscountRule | null - /** - * products associated with this condition if `type` is `products`. - */ - products?: Array - /** - * Product types associated with this condition if `type` is `product_types`. - */ - product_types?: Array - /** - * Product tags associated with this condition if `type` is `product_tags`. - */ - product_tags?: Array - /** - * Product collections associated with this condition if `type` is `product_collections`. - */ - product_collections?: Array - /** - * Customer groups associated with this condition if `type` is `customer_groups`. - */ - customer_groups?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DiscountConditionCustomerGroup.ts b/packages/generated/client-types/src/lib/models/DiscountConditionCustomerGroup.ts deleted file mode 100644 index e54fc3c6f9..0000000000 --- a/packages/generated/client-types/src/lib/models/DiscountConditionCustomerGroup.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { CustomerGroup } from "./CustomerGroup" -import type { DiscountCondition } from "./DiscountCondition" - -/** - * Associates a discount condition with a customer group - */ -export interface DiscountConditionCustomerGroup { - /** - * The ID of the Product Tag - */ - customer_group_id: string - /** - * The ID of the Discount Condition - */ - condition_id: string - /** - * Available if the relation `customer_group` is expanded. - */ - customer_group?: CustomerGroup | null - /** - * Available if the relation `discount_condition` is expanded. - */ - discount_condition?: DiscountCondition | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DiscountConditionProduct.ts b/packages/generated/client-types/src/lib/models/DiscountConditionProduct.ts deleted file mode 100644 index d0ca1b0914..0000000000 --- a/packages/generated/client-types/src/lib/models/DiscountConditionProduct.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { DiscountCondition } from "./DiscountCondition" -import type { Product } from "./Product" - -/** - * This represents the association between a discount condition and a product - */ -export interface DiscountConditionProduct { - /** - * The ID of the Product Tag - */ - product_id: string - /** - * The ID of the Discount Condition - */ - condition_id: string - /** - * The details of the product. - */ - product?: Product | null - /** - * The details of the discount condition. - */ - discount_condition?: DiscountCondition | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DiscountConditionProductCollection.ts b/packages/generated/client-types/src/lib/models/DiscountConditionProductCollection.ts deleted file mode 100644 index 6b9a4e2c41..0000000000 --- a/packages/generated/client-types/src/lib/models/DiscountConditionProductCollection.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { DiscountCondition } from "./DiscountCondition" -import type { ProductCollection } from "./ProductCollection" - -/** - * This represents the association between a discount condition and a product collection - */ -export interface DiscountConditionProductCollection { - /** - * The ID of the Product Collection - */ - product_collection_id: string - /** - * The ID of the Discount Condition - */ - condition_id: string - /** - * The details of the product collection. - */ - product_collection?: ProductCollection | null - /** - * The details of the discount condition. - */ - discount_condition?: DiscountCondition | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DiscountConditionProductTag.ts b/packages/generated/client-types/src/lib/models/DiscountConditionProductTag.ts deleted file mode 100644 index 7aa312cc4b..0000000000 --- a/packages/generated/client-types/src/lib/models/DiscountConditionProductTag.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { DiscountCondition } from "./DiscountCondition" -import type { ProductTag } from "./ProductTag" - -/** - * This represents the association between a discount condition and a product tag - */ -export interface DiscountConditionProductTag { - /** - * The ID of the Product Tag - */ - product_tag_id: string - /** - * The ID of the Discount Condition - */ - condition_id: string - /** - * The details of the product tag. - */ - product_tag?: ProductTag | null - /** - * The details of the discount condition. - */ - discount_condition?: DiscountCondition | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DiscountConditionProductType.ts b/packages/generated/client-types/src/lib/models/DiscountConditionProductType.ts deleted file mode 100644 index 3355f66cd1..0000000000 --- a/packages/generated/client-types/src/lib/models/DiscountConditionProductType.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { DiscountCondition } from "./DiscountCondition" -import type { ProductType } from "./ProductType" - -/** - * This represents the association between a discount condition and a product type - */ -export interface DiscountConditionProductType { - /** - * The ID of the Product Tag - */ - product_type_id: string - /** - * The ID of the Discount Condition - */ - condition_id: string - /** - * The details of the product type. - */ - product_type?: ProductType | null - /** - * The details of the discount condition. - */ - discount_condition?: DiscountCondition | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DiscountRule.ts b/packages/generated/client-types/src/lib/models/DiscountRule.ts deleted file mode 100644 index a88d088e52..0000000000 --- a/packages/generated/client-types/src/lib/models/DiscountRule.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { DiscountCondition } from "./DiscountCondition" - -/** - * A discount rule defines how a Discount is calculated when applied to a Cart. - */ -export interface DiscountRule { - /** - * The discount rule's ID - */ - id: string - /** - * The type of the Discount, can be `fixed` for discounts that reduce the price by a fixed amount, `percentage` for percentage reductions or `free_shipping` for shipping vouchers. - */ - type: "fixed" | "percentage" | "free_shipping" - /** - * A short description of the discount - */ - description: string | null - /** - * The value that the discount represents; this will depend on the type of the discount - */ - value: number - /** - * The scope that the discount should apply to. - */ - allocation: "total" | "item" | null - /** - * The details of the discount conditions associated with the rule. They can be used to limit when the discount can be used. - */ - conditions?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/DraftOrder.ts b/packages/generated/client-types/src/lib/models/DraftOrder.ts deleted file mode 100644 index 2cf57959b9..0000000000 --- a/packages/generated/client-types/src/lib/models/DraftOrder.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { Order } from "./Order" - -/** - * A draft order is created by an admin without direct involvement of the customer. Once its payment is marked as captured, it is transformed into an order. - */ -export interface DraftOrder { - /** - * The draft order's ID - */ - id: string - /** - * The status of the draft order. It's changed to `completed` when it's transformed to an order. - */ - status: "open" | "completed" - /** - * The draft order's display ID - */ - display_id: string - /** - * The ID of the cart associated with the draft order. - */ - cart_id: string | null - /** - * The details of the cart associated with the draft order. - */ - cart?: Cart | null - /** - * The ID of the order created from the draft order when its payment is captured. - */ - order_id: string | null - /** - * The details of the order created from the draft order when its payment is captured. - */ - order?: Order | null - /** - * The date the draft order was canceled at. - */ - canceled_at: string | null - /** - * The date the draft order was completed at. - */ - completed_at: string | null - /** - * Whether to send the customer notifications regarding order updates. - */ - no_notification_order: boolean | null - /** - * Randomly generated key used to continue the completion of the cart associated with the draft order in case of failure. - */ - idempotency_key: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/Error.ts b/packages/generated/client-types/src/lib/models/Error.ts deleted file mode 100644 index 8da6b82c49..0000000000 --- a/packages/generated/client-types/src/lib/models/Error.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface Error { - /** - * A slug code to indicate the type of the error. - */ - code?: - | "invalid_state_error" - | "invalid_request_error" - | "api_error" - | "unknown_error" - /** - * Description of the error that occurred. - */ - message?: string - /** - * A slug indicating the type of the error. - */ - type?: - | "QueryRunnerAlreadyReleasedError" - | "TransactionAlreadyStartedError" - | "TransactionNotStartedError" - | "conflict" - | "unauthorized" - | "payment_authorization_error" - | "duplicate_error" - | "not_allowed" - | "invalid_data" - | "not_found" - | "database_error" - | "unexpected_state" - | "invalid_argument" - | "unknown_error" -} diff --git a/packages/generated/client-types/src/lib/models/ExtendedReservationItem.ts b/packages/generated/client-types/src/lib/models/ExtendedReservationItem.ts deleted file mode 100644 index cc48153907..0000000000 --- a/packages/generated/client-types/src/lib/models/ExtendedReservationItem.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { InventoryItemDTO } from "./InventoryItemDTO" -import type { LineItem } from "./LineItem" -import type { ReservationItemDTO } from "./ReservationItemDTO" - -export type ExtendedReservationItem = ReservationItemDTO & { - /** - * The line item associated with the reservation. - */ - line_item?: LineItem - /** - * The inventory item associated with the reservation. - */ - inventory_item?: InventoryItemDTO -} diff --git a/packages/generated/client-types/src/lib/models/ExtendedStoreDTO.ts b/packages/generated/client-types/src/lib/models/ExtendedStoreDTO.ts deleted file mode 100644 index 2348dbbdaf..0000000000 --- a/packages/generated/client-types/src/lib/models/ExtendedStoreDTO.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { FeatureFlagsResponse } from "./FeatureFlagsResponse" -import type { FulfillmentProvider } from "./FulfillmentProvider" -import type { ModulesResponse } from "./ModulesResponse" -import type { PaymentProvider } from "./PaymentProvider" -import type { Store } from "./Store" - -export type ExtendedStoreDTO = Store & { - /** - * The store's payment providers. - */ - payment_providers: PaymentProvider - /** - * The store's fulfillment providers. - */ - fulfillment_providers: FulfillmentProvider - /** - * The feature flags enabled in the store's backend. - */ - feature_flags: FeatureFlagsResponse - /** - * The modules installed in the store's backend. - */ - modules: ModulesResponse -} diff --git a/packages/generated/client-types/src/lib/models/FeatureFlagsResponse.ts b/packages/generated/client-types/src/lib/models/FeatureFlagsResponse.ts deleted file mode 100644 index 01b237cda6..0000000000 --- a/packages/generated/client-types/src/lib/models/FeatureFlagsResponse.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export type FeatureFlagsResponse = Array<{ - /** - * The key of the feature flag. - */ - key: string - /** - * The value of the feature flag. - */ - value: boolean -}> diff --git a/packages/generated/client-types/src/lib/models/Fulfillment.ts b/packages/generated/client-types/src/lib/models/Fulfillment.ts deleted file mode 100644 index 8d8bee6415..0000000000 --- a/packages/generated/client-types/src/lib/models/Fulfillment.ts +++ /dev/null @@ -1,102 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimOrder } from "./ClaimOrder" -import type { FulfillmentItem } from "./FulfillmentItem" -import type { FulfillmentProvider } from "./FulfillmentProvider" -import type { Order } from "./Order" -import type { Swap } from "./Swap" -import type { TrackingLink } from "./TrackingLink" - -/** - * A Fulfillment is created once an admin can prepare the purchased goods. Fulfillments will eventually be shipped and hold information about how to track shipments. Fulfillments are created through a fulfillment provider, which typically integrates a third-party shipping service. Fulfillments can be associated with orders, claims, swaps, and returns. - */ -export interface Fulfillment { - /** - * The fulfillment's ID - */ - id: string - /** - * The ID of the Claim that the Fulfillment belongs to. - */ - claim_order_id: string | null - /** - * The details of the claim that the fulfillment may belong to. - */ - claim_order?: ClaimOrder | null - /** - * The ID of the Swap that the Fulfillment belongs to. - */ - swap_id: string | null - /** - * The details of the swap that the fulfillment may belong to. - */ - swap?: Swap | null - /** - * The ID of the Order that the Fulfillment belongs to. - */ - order_id: string | null - /** - * The details of the order that the fulfillment may belong to. - */ - order?: Order | null - /** - * The ID of the Fulfillment Provider responsible for handling the fulfillment. - */ - provider_id: string - /** - * The details of the fulfillment provider responsible for handling the fulfillment. - */ - provider?: FulfillmentProvider | null - /** - * The ID of the stock location the fulfillment will be shipped from - */ - location_id: string | null - /** - * The Fulfillment Items in the Fulfillment. These hold information about how many of each Line Item has been fulfilled. - */ - items?: Array - /** - * The Tracking Links that can be used to track the status of the Fulfillment. These will usually be provided by the Fulfillment Provider. - */ - tracking_links?: Array - /** - * The tracking numbers that can be used to track the status of the fulfillment. - * @deprecated - */ - tracking_numbers: Array - /** - * This contains all the data necessary for the Fulfillment provider to handle the fulfillment. - */ - data: Record - /** - * The date with timezone at which the Fulfillment was shipped. - */ - shipped_at: string | null - /** - * Flag for describing whether or not notifications related to this should be sent. - */ - no_notification: boolean | null - /** - * The date with timezone at which the Fulfillment was canceled. - */ - canceled_at: string | null - /** - * Randomly generated key used to continue the completion of the fulfillment in case of failure. - */ - idempotency_key: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/FulfillmentItem.ts b/packages/generated/client-types/src/lib/models/FulfillmentItem.ts deleted file mode 100644 index 5cf71623a9..0000000000 --- a/packages/generated/client-types/src/lib/models/FulfillmentItem.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Fulfillment } from "./Fulfillment" -import type { LineItem } from "./LineItem" - -/** - * This represents the association between a Line Item and a Fulfillment. - */ -export interface FulfillmentItem { - /** - * The ID of the Fulfillment that the Fulfillment Item belongs to. - */ - fulfillment_id: string - /** - * The ID of the Line Item that the Fulfillment Item references. - */ - item_id: string - /** - * The details of the fulfillment. - */ - fulfillment?: Fulfillment | null - /** - * The details of the line item. - */ - item?: LineItem | null - /** - * The quantity of the Line Item that is included in the Fulfillment. - */ - quantity: number -} diff --git a/packages/generated/client-types/src/lib/models/FulfillmentProvider.ts b/packages/generated/client-types/src/lib/models/FulfillmentProvider.ts deleted file mode 100644 index 201a90d3c7..0000000000 --- a/packages/generated/client-types/src/lib/models/FulfillmentProvider.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A fulfillment provider represents a fulfillment service installed in the Medusa backend, either through a plugin or backend customizations. It holds the fulfillment service's installation status. - */ -export interface FulfillmentProvider { - /** - * The ID of the fulfillment provider as given by the fulfillment service. - */ - id: string - /** - * Whether the fulfillment service is installed in the current version. If a fulfillment service is no longer installed, the `is_installed` attribute is set to `false`. - */ - is_installed: boolean -} diff --git a/packages/generated/client-types/src/lib/models/GetOrderEditsOrderEditParams.ts b/packages/generated/client-types/src/lib/models/GetOrderEditsOrderEditParams.ts deleted file mode 100644 index d50d55ed01..0000000000 --- a/packages/generated/client-types/src/lib/models/GetOrderEditsOrderEditParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface GetOrderEditsOrderEditParams { - /** - * Comma-separated relations that should be expanded in each returned order edit. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned order edit. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/GetOrderEditsParams.ts b/packages/generated/client-types/src/lib/models/GetOrderEditsParams.ts deleted file mode 100644 index 4b5253901f..0000000000 --- a/packages/generated/client-types/src/lib/models/GetOrderEditsParams.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface GetOrderEditsParams { - /** - * term to search order edits' internal note. - */ - q?: string - /** - * Filter by order ID - */ - order_id?: string - /** - * Limit the number of order edits returned. - */ - limit?: number - /** - * The number of order edits to skip when retrieving the order edits. - */ - offset?: number - /** - * Comma-separated relations that should be expanded in each returned order edit. - */ - expand?: string - /** - * Comma-separated fields that should be included in each returned order edit. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/GetPaymentsParams.ts b/packages/generated/client-types/src/lib/models/GetPaymentsParams.ts deleted file mode 100644 index 9322808f85..0000000000 --- a/packages/generated/client-types/src/lib/models/GetPaymentsParams.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface GetPaymentsParams {} diff --git a/packages/generated/client-types/src/lib/models/GetPublishableApiKeySalesChannelsParams.ts b/packages/generated/client-types/src/lib/models/GetPublishableApiKeySalesChannelsParams.ts deleted file mode 100644 index 5586dafeb4..0000000000 --- a/packages/generated/client-types/src/lib/models/GetPublishableApiKeySalesChannelsParams.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface GetPublishableApiKeySalesChannelsParams { - /** - * query to search sales channels' names and descriptions. - */ - q?: string -} diff --git a/packages/generated/client-types/src/lib/models/GetPublishableApiKeysParams.ts b/packages/generated/client-types/src/lib/models/GetPublishableApiKeysParams.ts deleted file mode 100644 index 220061e4cc..0000000000 --- a/packages/generated/client-types/src/lib/models/GetPublishableApiKeysParams.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface GetPublishableApiKeysParams { - /** - * term to search publishable API keys' titles. - */ - q?: string - /** - * Limit the number of publishable API keys returned. - */ - limit?: number - /** - * The number of publishable API keys to skip when retrieving the publishable API keys. - */ - offset?: number - /** - * Comma-separated relations that should be expanded in the returned publishable API keys. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned publishable API keys. - */ - fields?: string - /** - * A field to sort-order the retrieved publishable API keys by. - */ - order?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a revocation date range. - */ - revoked_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/GiftCard.ts b/packages/generated/client-types/src/lib/models/GiftCard.ts deleted file mode 100644 index 82fd096920..0000000000 --- a/packages/generated/client-types/src/lib/models/GiftCard.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Order } from "./Order" -import type { Region } from "./Region" - -/** - * Gift Cards are redeemable and represent a value that can be used towards the payment of an Order. - */ -export interface GiftCard { - /** - * The gift card's ID - */ - id: string - /** - * The unique code that identifies the Gift Card. This is used by the Customer to redeem the value of the Gift Card. - */ - code: string - /** - * The value that the Gift Card represents. - */ - value: number - /** - * The remaining value on the Gift Card. - */ - balance: number - /** - * The ID of the region this gift card is available in. - */ - region_id: string - /** - * The details of the region this gift card is available in. - */ - region?: Region | null - /** - * The ID of the order that the gift card was purchased in. - */ - order_id: string | null - /** - * The details of the order that the gift card was purchased in. - */ - order?: Order | null - /** - * Whether the Gift Card has been disabled. Disabled Gift Cards cannot be applied to carts. - */ - is_disabled: boolean - /** - * The time at which the Gift Card can no longer be used. - */ - ends_at: string | null - /** - * The gift card's tax rate that will be applied on calculating totals - */ - tax_rate: number | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/GiftCardTransaction.ts b/packages/generated/client-types/src/lib/models/GiftCardTransaction.ts deleted file mode 100644 index d334e4a98c..0000000000 --- a/packages/generated/client-types/src/lib/models/GiftCardTransaction.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { GiftCard } from "./GiftCard" -import type { Order } from "./Order" - -/** - * Gift Card Transactions are created once a Customer uses a Gift Card to pay for their Order. - */ -export interface GiftCardTransaction { - /** - * The gift card transaction's ID - */ - id: string - /** - * The ID of the Gift Card that was used in the transaction. - */ - gift_card_id: string - /** - * The details of the gift card associated used in this transaction. - */ - gift_card?: GiftCard | null - /** - * The ID of the order that the gift card was used for payment. - */ - order_id: string - /** - * The details of the order that the gift card was used for payment. - */ - order?: Order | null - /** - * The amount that was used from the Gift Card. - */ - amount: number - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * Whether the transaction is taxable or not. - */ - is_taxable: boolean | null - /** - * The tax rate of the transaction - */ - tax_rate: number | null -} diff --git a/packages/generated/client-types/src/lib/models/IdempotencyKey.ts b/packages/generated/client-types/src/lib/models/IdempotencyKey.ts deleted file mode 100644 index e3886acf5a..0000000000 --- a/packages/generated/client-types/src/lib/models/IdempotencyKey.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Idempotency Key is used to continue a process in case of any failure that might occur. - */ -export interface IdempotencyKey { - /** - * The idempotency key's ID - */ - id: string - /** - * The unique randomly generated key used to determine the state of a process. - */ - idempotency_key: string - /** - * Date which the idempotency key was locked. - */ - created_at: string - /** - * Date which the idempotency key was locked. - */ - locked_at: string | null - /** - * The method of the request - */ - request_method: string | null - /** - * The parameters passed to the request - */ - request_params: Record | null - /** - * The request's path - */ - request_path: string | null - /** - * The response's code. - */ - response_code: string | null - /** - * The response's body - */ - response_body: Record | null - /** - * Where to continue from. - */ - recovery_point: string -} diff --git a/packages/generated/client-types/src/lib/models/Image.ts b/packages/generated/client-types/src/lib/models/Image.ts deleted file mode 100644 index 063e675c80..0000000000 --- a/packages/generated/client-types/src/lib/models/Image.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * An Image is used to store details about uploaded images. Images are uploaded by the File Service, and the URL is provided by the File Service. - */ -export interface Image { - /** - * The image's ID - */ - id: string - /** - * The URL at which the image file can be found. - */ - url: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/InventoryItemDTO.ts b/packages/generated/client-types/src/lib/models/InventoryItemDTO.ts deleted file mode 100644 index 96fa9a41f7..0000000000 --- a/packages/generated/client-types/src/lib/models/InventoryItemDTO.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface InventoryItemDTO { - /** - * The inventory item's ID. - */ - id?: string - /** - * The Stock Keeping Unit (SKU) code of the Inventory Item. - */ - sku: string - /** - * The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - hs_code?: string - /** - * The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - origin_country?: string - /** - * The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - mid_code?: string - /** - * Title of the inventory item - */ - title?: string - /** - * Description of the inventory item - */ - description?: string - /** - * Thumbnail for the inventory item - */ - thumbnail?: string - /** - * The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - material?: string - /** - * The weight of the Inventory Item. May be used in shipping rate calculations. - */ - weight?: number - /** - * The height of the Inventory Item. May be used in shipping rate calculations. - */ - height?: number - /** - * The width of the Inventory Item. May be used in shipping rate calculations. - */ - width?: number - /** - * The length of the Inventory Item. May be used in shipping rate calculations. - */ - length?: number - /** - * Whether the item requires shipping. - */ - requires_shipping?: boolean - /** - * An optional key-value map with additional details - */ - metadata?: Record - /** - * The date with timezone at which the resource was created. - */ - created_at?: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at?: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at?: string -} diff --git a/packages/generated/client-types/src/lib/models/InventoryLevelDTO.ts b/packages/generated/client-types/src/lib/models/InventoryLevelDTO.ts deleted file mode 100644 index 85801727db..0000000000 --- a/packages/generated/client-types/src/lib/models/InventoryLevelDTO.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface InventoryLevelDTO { - /** - * the item location ID - */ - location_id: string - /** - * the total stock quantity of an inventory item at the given location ID - */ - stocked_quantity: number - /** - * the reserved stock quantity of an inventory item at the given location ID - */ - reserved_quantity: number - /** - * the incoming stock quantity of an inventory item at the given location ID - */ - incoming_quantity: number - /** - * An optional key-value map with additional details - */ - metadata?: Record - /** - * The date with timezone at which the resource was created. - */ - created_at?: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at?: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at?: string -} diff --git a/packages/generated/client-types/src/lib/models/Invite.ts b/packages/generated/client-types/src/lib/models/Invite.ts deleted file mode 100644 index cc8cd085d5..0000000000 --- a/packages/generated/client-types/src/lib/models/Invite.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * An invite is created when an admin user invites a new user to join the store's team. Once the invite is accepted, it's deleted. - */ -export interface Invite { - /** - * The invite's ID - */ - id: string - /** - * The email of the user being invited. - */ - user_email: string - /** - * The user's role. These roles don't change the privileges of the user. - */ - role: "admin" | "member" | "developer" | null - /** - * Whether the invite was accepted or not. - */ - accepted: boolean - /** - * The token used to accept the invite. - */ - token: string - /** - * The date the invite expires at. - */ - expires_at: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/LineItem.ts b/packages/generated/client-types/src/lib/models/LineItem.ts deleted file mode 100644 index 6bf31421bf..0000000000 --- a/packages/generated/client-types/src/lib/models/LineItem.ts +++ /dev/null @@ -1,187 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { ClaimOrder } from "./ClaimOrder" -import type { LineItemAdjustment } from "./LineItemAdjustment" -import type { LineItemTaxLine } from "./LineItemTaxLine" -import type { Order } from "./Order" -import type { OrderEdit } from "./OrderEdit" -import type { ProductVariant } from "./ProductVariant" -import type { Swap } from "./Swap" - -/** - * Line Items are created when a product is added to a Cart. When Line Items are purchased they will get copied to the resulting order, swap, or claim, and can eventually be referenced in Fulfillments and Returns. Line items may also be used for order edits. - */ -export interface LineItem { - /** - * The line item's ID - */ - id: string - /** - * The ID of the cart that the line item may belongs to. - */ - cart_id: string | null - /** - * The details of the cart that the line item may belongs to. - */ - cart?: Cart | null - /** - * The ID of the order that the line item may belongs to. - */ - order_id: string | null - /** - * The details of the order that the line item may belongs to. - */ - order?: Order | null - /** - * The ID of the swap that the line item may belong to. - */ - swap_id: string | null - /** - * The details of the swap that the line item may belong to. - */ - swap?: Swap | null - /** - * The ID of the claim that the line item may belong to. - */ - claim_order_id: string | null - /** - * The details of the claim that the line item may belong to. - */ - claim_order?: ClaimOrder | null - /** - * The details of the item's tax lines. - */ - tax_lines?: Array - /** - * The details of the item's adjustments, which are available when a discount is applied on the item. - */ - adjustments?: Array - /** - * The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit. - */ - original_item_id: string | null - /** - * The ID of the order edit that the item may belong to. - */ - order_edit_id: string | null - /** - * The details of the order edit. - */ - order_edit?: OrderEdit | null - /** - * The title of the Line Item. - */ - title: string - /** - * A more detailed description of the contents of the Line Item. - */ - description: string | null - /** - * A URL string to a small image of the contents of the Line Item. - */ - thumbnail: string | null - /** - * Is the item being returned - */ - is_return: boolean - /** - * Flag to indicate if the Line Item is a Gift Card. - */ - is_giftcard: boolean - /** - * Flag to indicate if new Line Items with the same variant should be merged or added as an additional Line Item. - */ - should_merge: boolean - /** - * Flag to indicate if the Line Item should be included when doing discount calculations. - */ - allow_discounts: boolean - /** - * Flag to indicate if the Line Item has fulfillment associated with it. - */ - has_shipping: boolean | null - /** - * The price of one unit of the content in the Line Item. This should be in the currency defined by the Cart/Order/Swap/Claim that the Line Item belongs to. - */ - unit_price: number - /** - * The id of the Product Variant contained in the Line Item. - */ - variant_id: string | null - /** - * The details of the product variant that this item was created from. - */ - variant?: ProductVariant | null - /** - * The quantity of the content in the Line Item. - */ - quantity: number - /** - * The quantity of the Line Item that has been fulfilled. - */ - fulfilled_quantity: number | null - /** - * The quantity of the Line Item that has been returned. - */ - returned_quantity: number | null - /** - * The quantity of the Line Item that has been shipped. - */ - shipped_quantity: number | null - /** - * The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration. - */ - refundable?: number - /** - * The subtotal of the line item - */ - subtotal?: number - /** - * The total of tax of the line item - */ - tax_total?: number - /** - * The total amount of the line item - */ - total?: number - /** - * The original total amount of the line item - */ - original_total?: number - /** - * The original tax total amount of the line item - */ - original_tax_total?: number - /** - * The total of discount of the line item rounded - */ - discount_total?: number - /** - * The total of discount of the line item - */ - raw_discount_total?: number - /** - * The total of the gift card of the line item - */ - gift_card_total?: number - /** - * Indicates if the line item unit_price include tax - */ - includes_tax?: boolean - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/LineItemAdjustment.ts b/packages/generated/client-types/src/lib/models/LineItemAdjustment.ts deleted file mode 100644 index 38e4f25304..0000000000 --- a/packages/generated/client-types/src/lib/models/LineItemAdjustment.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Discount } from "./Discount" -import type { LineItem } from "./LineItem" - -/** - * A Line Item Adjustment includes details on discounts applied on a line item. - */ -export interface LineItemAdjustment { - /** - * The Line Item Adjustment's ID - */ - id: string - /** - * The ID of the line item - */ - item_id: string - /** - * The details of the line item. - */ - item?: LineItem | null - /** - * The line item's adjustment description - */ - description: string - /** - * The ID of the discount associated with the adjustment - */ - discount_id: string | null - /** - * The details of the discount associated with the adjustment. - */ - discount?: Discount | null - /** - * The adjustment amount - */ - amount: number - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/LineItemTaxLine.ts b/packages/generated/client-types/src/lib/models/LineItemTaxLine.ts deleted file mode 100644 index 3556706ebc..0000000000 --- a/packages/generated/client-types/src/lib/models/LineItemTaxLine.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { LineItem } from "./LineItem" - -/** - * A Line Item Tax Line represents the taxes applied on a line item. - */ -export interface LineItemTaxLine { - /** - * The line item tax line's ID - */ - id: string - /** - * A code to identify the tax type by - */ - code: string | null - /** - * A human friendly name for the tax - */ - name: string - /** - * The numeric rate to charge tax by - */ - rate: number - /** - * The ID of the line item - */ - item_id: string - /** - * The details of the line item. - */ - item?: LineItem | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ModulesResponse.ts b/packages/generated/client-types/src/lib/models/ModulesResponse.ts deleted file mode 100644 index 8668b686ef..0000000000 --- a/packages/generated/client-types/src/lib/models/ModulesResponse.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export type ModulesResponse = Array<{ - /** - * The key of the module. - */ - module: string - /** - * The resolution path of the module or false if module is not installed. - */ - resolution: string -}> diff --git a/packages/generated/client-types/src/lib/models/MoneyAmount.ts b/packages/generated/client-types/src/lib/models/MoneyAmount.ts deleted file mode 100644 index 0ce1a0194c..0000000000 --- a/packages/generated/client-types/src/lib/models/MoneyAmount.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Currency } from "./Currency" -import type { PriceList } from "./PriceList" -import type { ProductVariant } from "./ProductVariant" -import type { Region } from "./Region" - -/** - * A Money Amount represent a price amount, for example, a product variant's price or a price in a price list. Each Money Amount either has a Currency or Region associated with it to indicate the pricing in a given Currency or, for fully region-based pricing, the given price in a specific Region. If region-based pricing is used, the amount will be in the currency defined for the Region. - */ -export interface MoneyAmount { - /** - * The money amount's ID - */ - id: string - /** - * The 3 character currency code that the money amount may belong to. - */ - currency_code: string - /** - * The details of the currency that the money amount may belong to. - */ - currency?: Currency | null - /** - * The amount in the smallest currecny unit (e.g. cents 100 cents to charge $1) that the Product Variant will cost. - */ - amount: number - /** - * The minimum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities. - */ - min_quantity: number | null - /** - * The maximum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities. - */ - max_quantity: number | null - /** - * The ID of the price list that the money amount may belong to. - */ - price_list_id: string | null - /** - * The details of the price list that the money amount may belong to. - */ - price_list?: PriceList | null - /** - * The ID of the Product Variant contained in the Line Item. - */ - variant_id: string | null - /** - * The details of the product variant that the money amount may belong to. - */ - variant?: ProductVariant | null - /** - * The region's ID - */ - region_id: string | null - /** - * The details of the region that the money amount may belong to. - */ - region?: Region | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null -} diff --git a/packages/generated/client-types/src/lib/models/MultipleErrors.ts b/packages/generated/client-types/src/lib/models/MultipleErrors.ts deleted file mode 100644 index a2f2886aa1..0000000000 --- a/packages/generated/client-types/src/lib/models/MultipleErrors.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Error } from "./Error" - -export interface MultipleErrors { - /** - * Array of errors - */ - errors?: Array - message?: string -} diff --git a/packages/generated/client-types/src/lib/models/Note.ts b/packages/generated/client-types/src/lib/models/Note.ts deleted file mode 100644 index c575792ad2..0000000000 --- a/packages/generated/client-types/src/lib/models/Note.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { User } from "./User" - -/** - * A Note is an element that can be used in association with different resources to allow admin users to describe additional information. For example, they can be used to add additional information about orders. - */ -export interface Note { - /** - * The note's ID - */ - id: string - /** - * The type of resource that the Note refers to. - */ - resource_type: string - /** - * The ID of the resource that the Note refers to. - */ - resource_id: string - /** - * The contents of the note. - */ - value: string - /** - * The ID of the user that created the note. - */ - author_id: string | null - /** - * The details of the user that created the note. - */ - author?: User | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/Notification.ts b/packages/generated/client-types/src/lib/models/Notification.ts deleted file mode 100644 index f4f2581515..0000000000 --- a/packages/generated/client-types/src/lib/models/Notification.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Customer } from "./Customer" -import type { NotificationProvider } from "./NotificationProvider" - -/** - * A notification is an alert sent, typically to customers, using the installed Notification Provider as a reaction to internal events such as `order.placed`. Notifications can be resent. - */ -export interface Notification { - /** - * The notification's ID - */ - id: string - /** - * The name of the event that the notification was sent for. - */ - event_name: string | null - /** - * The type of resource that the Notification refers to. - */ - resource_type: string - /** - * The ID of the resource that the Notification refers to. - */ - resource_id: string - /** - * The ID of the customer that this notification was sent to. - */ - customer_id: string | null - /** - * The details of the customer that this notification was sent to. - */ - customer?: Customer | null - /** - * The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID. - */ - to: string - /** - * The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend. - */ - data: Record - /** - * The notification's parent ID - */ - parent_id: string | null - /** - * The details of the parent notification. - */ - parent_notification?: Notification | null - /** - * The details of all resends of the notification. - */ - resends?: Array - /** - * The ID of the notification provider used to send the notification. - */ - provider_id: string | null - /** - * The notification provider used to send the notification. - */ - provider?: NotificationProvider | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string -} diff --git a/packages/generated/client-types/src/lib/models/NotificationProvider.ts b/packages/generated/client-types/src/lib/models/NotificationProvider.ts deleted file mode 100644 index 250ef10508..0000000000 --- a/packages/generated/client-types/src/lib/models/NotificationProvider.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A notification provider represents a notification service installed in the Medusa backend, either through a plugin or backend customizations. It holds the notification service's installation status. - */ -export interface NotificationProvider { - /** - * The ID of the notification provider as given by the notification service. - */ - id: string - /** - * Whether the notification service is installed in the current version. If a notification service is no longer installed, the `is_installed` attribute is set to `false`. - */ - is_installed: boolean -} diff --git a/packages/generated/client-types/src/lib/models/OAuth.ts b/packages/generated/client-types/src/lib/models/OAuth.ts deleted file mode 100644 index 4c7a6fe0d9..0000000000 --- a/packages/generated/client-types/src/lib/models/OAuth.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * An Oauth app is typically created by a plugin to handle authentication to third-party services. - */ -export interface OAuth { - /** - * The app's ID - */ - id: string - /** - * The app's display name - */ - display_name: string - /** - * The app's name - */ - application_name: string - /** - * The URL to install the app - */ - install_url: string | null - /** - * The URL to uninstall the app - */ - uninstall_url: string | null - /** - * Any data necessary to the app. - */ - data: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/Order.ts b/packages/generated/client-types/src/lib/models/Order.ts deleted file mode 100644 index ea77259435..0000000000 --- a/packages/generated/client-types/src/lib/models/Order.ts +++ /dev/null @@ -1,274 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Address } from "./Address" -import type { Cart } from "./Cart" -import type { ClaimOrder } from "./ClaimOrder" -import type { Currency } from "./Currency" -import type { Customer } from "./Customer" -import type { Discount } from "./Discount" -import type { DraftOrder } from "./DraftOrder" -import type { Fulfillment } from "./Fulfillment" -import type { GiftCard } from "./GiftCard" -import type { GiftCardTransaction } from "./GiftCardTransaction" -import type { LineItem } from "./LineItem" -import type { OrderEdit } from "./OrderEdit" -import type { Payment } from "./Payment" -import type { Refund } from "./Refund" -import type { Region } from "./Region" -import type { Return } from "./Return" -import type { SalesChannel } from "./SalesChannel" -import type { ShippingMethod } from "./ShippingMethod" -import type { Swap } from "./Swap" - -/** - * An order is a purchase made by a customer. It holds details about payment and fulfillment of the order. An order may also be created from a draft order, which is created by an admin user. - */ -export interface Order { - /** - * The order's ID - */ - id: string - /** - * The order's status - */ - status: "pending" | "completed" | "archived" | "canceled" | "requires_action" - /** - * The order's fulfillment status - */ - fulfillment_status: - | "not_fulfilled" - | "partially_fulfilled" - | "fulfilled" - | "partially_shipped" - | "shipped" - | "partially_returned" - | "returned" - | "canceled" - | "requires_action" - /** - * The order's payment status - */ - payment_status: - | "not_paid" - | "awaiting" - | "captured" - | "partially_refunded" - | "refunded" - | "canceled" - | "requires_action" - /** - * The order's display ID - */ - display_id: number - /** - * The ID of the cart associated with the order - */ - cart_id: string | null - /** - * The details of the cart associated with the order. - */ - cart?: Cart | null - /** - * The ID of the customer associated with the order - */ - customer_id: string - /** - * The details of the customer associated with the order. - */ - customer?: Customer | null - /** - * The email associated with the order - */ - email: string - /** - * The ID of the billing address associated with the order - */ - billing_address_id: string | null - /** - * The details of the billing address associated with the order. - */ - billing_address?: Address | null - /** - * The ID of the shipping address associated with the order - */ - shipping_address_id: string | null - /** - * The details of the shipping address associated with the order. - */ - shipping_address?: Address | null - /** - * The ID of the region this order was created in. - */ - region_id: string - /** - * The details of the region this order was created in. - */ - region?: Region | null - /** - * The 3 character currency code that is used in the order - */ - currency_code: string - /** - * The details of the currency used in the order. - */ - currency?: Currency | null - /** - * The order's tax rate - */ - tax_rate: number | null - /** - * The details of the discounts applied on the order. - */ - discounts?: Array - /** - * The details of the gift card used in the order. - */ - gift_cards?: Array - /** - * The details of the shipping methods used in the order. - */ - shipping_methods?: Array - /** - * The details of the payments used in the order. - */ - payments?: Array - /** - * The details of the fulfillments created for the order. - */ - fulfillments?: Array - /** - * The details of the returns created for the order. - */ - returns?: Array - /** - * The details of the claims created for the order. - */ - claims?: Array - /** - * The details of the refunds created for the order. - */ - refunds?: Array - /** - * The details of the swaps created for the order. - */ - swaps?: Array - /** - * The ID of the draft order this order was created from. - */ - draft_order_id: string | null - /** - * The details of the draft order this order was created from. - */ - draft_order?: DraftOrder | null - /** - * The details of the line items that belong to the order. - */ - items?: Array - /** - * The details of the order edits done on the order. - */ - edits?: Array - /** - * The gift card transactions made in the order. - */ - gift_card_transactions?: Array - /** - * The date the order was canceled on. - */ - canceled_at: string | null - /** - * Flag for describing whether or not notifications related to this should be send. - */ - no_notification: boolean | null - /** - * Randomly generated key used to continue the processing of the order in case of failure. - */ - idempotency_key: string | null - /** - * The ID of an external order. - */ - external_id: string | null - /** - * The ID of the sales channel this order belongs to. - */ - sales_channel_id?: string | null - /** - * The details of the sales channel this order belongs to. - */ - sales_channel?: SalesChannel | null - /** - * The total of shipping - */ - shipping_total?: number | null - /** - * The tax total applied on shipping - */ - shipping_tax_total?: number - /** - * The total of discount - */ - raw_discount_total?: number - /** - * The total of discount rounded - */ - discount_total?: number - /** - * The total of tax - */ - tax_total?: number - /** - * The tax total applied on items - */ - item_tax_total?: number | null - /** - * The total amount refunded if the order is returned. - */ - refunded_total?: number - /** - * The total amount of the order - */ - total?: number - /** - * The subtotal of the order - */ - subtotal?: number - /** - * The total amount paid - */ - paid_total?: number - /** - * The amount that can be refunded - */ - refundable_amount?: number - /** - * The total of gift cards - */ - gift_card_total?: number - /** - * The total of gift cards with taxes - */ - gift_card_tax_total?: number - /** - * The details of the line items that are returnable as part of the order, swaps, or claims - */ - returnable_items?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null - /** - * The associated sales channels. - */ - sales_channels?: Array | null -} diff --git a/packages/generated/client-types/src/lib/models/OrderEdit.ts b/packages/generated/client-types/src/lib/models/OrderEdit.ts deleted file mode 100644 index 245b1c8588..0000000000 --- a/packages/generated/client-types/src/lib/models/OrderEdit.ts +++ /dev/null @@ -1,131 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { LineItem } from "./LineItem" -import type { Order } from "./Order" -import type { OrderItemChange } from "./OrderItemChange" -import type { PaymentCollection } from "./PaymentCollection" - -/** - * Order edit allows modifying items in an order, such as adding, updating, or deleting items from the original order. Once the order edit is confirmed, the changes are reflected on the original order. - */ -export interface OrderEdit { - /** - * The order edit's ID - */ - id: string - /** - * The ID of the order that is edited - */ - order_id: string - /** - * The details of the order that this order edit was created for. - */ - order?: Order | null - /** - * The details of all the changes on the original order's line items. - */ - changes?: Array - /** - * An optional note with additional details about the order edit. - */ - internal_note: string | null - /** - * The unique identifier of the user or customer who created the order edit. - */ - created_by: string - /** - * The unique identifier of the user or customer who requested the order edit. - */ - requested_by: string | null - /** - * The date with timezone at which the edit was requested. - */ - requested_at: string | null - /** - * The unique identifier of the user or customer who confirmed the order edit. - */ - confirmed_by: string | null - /** - * The date with timezone at which the edit was confirmed. - */ - confirmed_at: string | null - /** - * The unique identifier of the user or customer who declined the order edit. - */ - declined_by: string | null - /** - * The date with timezone at which the edit was declined. - */ - declined_at: string | null - /** - * An optional note why the order edit is declined. - */ - declined_reason: string | null - /** - * The unique identifier of the user or customer who cancelled the order edit. - */ - canceled_by: string | null - /** - * The date with timezone at which the edit was cancelled. - */ - canceled_at: string | null - /** - * The total of subtotal - */ - subtotal?: number - /** - * The total of discount - */ - discount_total?: number - /** - * The total of the shipping amount - */ - shipping_total?: number - /** - * The total of the gift card amount - */ - gift_card_total?: number - /** - * The total of the gift card tax amount - */ - gift_card_tax_total?: number - /** - * The total of tax - */ - tax_total?: number - /** - * The total amount of the edited order. - */ - total?: number - /** - * The difference between the total amount of the order and total amount of edited order. - */ - difference_due?: number - /** - * The status of the order edit. - */ - status: "confirmed" | "declined" | "requested" | "created" | "canceled" - /** - * The details of the cloned items from the original order with the new changes. Once the order edit is confirmed, these line items are associated with the original order. - */ - items?: Array - /** - * The ID of the payment collection - */ - payment_collection_id: string | null - /** - * The details of the payment collection used to authorize additional payment if necessary. - */ - payment_collection?: PaymentCollection | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string -} diff --git a/packages/generated/client-types/src/lib/models/OrderItemChange.ts b/packages/generated/client-types/src/lib/models/OrderItemChange.ts deleted file mode 100644 index 5062ec00b6..0000000000 --- a/packages/generated/client-types/src/lib/models/OrderItemChange.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { LineItem } from "./LineItem" -import type { OrderEdit } from "./OrderEdit" - -/** - * An order item change is a change made within an order edit to an order's items. These changes are not reflected on the original order until the order edit is confirmed. - */ -export interface OrderItemChange { - /** - * The order item change's ID - */ - id: string - /** - * The order item change's status - */ - type: "item_add" | "item_remove" | "item_update" - /** - * The ID of the order edit - */ - order_edit_id: string - /** - * The details of the order edit the item change is associated with. - */ - order_edit?: OrderEdit | null - /** - * The ID of the original line item in the order - */ - original_line_item_id: string | null - /** - * The details of the original line item this item change references. This is used if the item change updates or deletes the original item. - */ - original_line_item?: LineItem | null - /** - * The ID of the cloned line item. - */ - line_item_id: string | null - /** - * The details of the resulting line item after the item change. This line item is then used in the original order once the order edit is confirmed. - */ - line_item?: LineItem | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null -} diff --git a/packages/generated/client-types/src/lib/models/Payment.ts b/packages/generated/client-types/src/lib/models/Payment.ts deleted file mode 100644 index 3744dbeac0..0000000000 --- a/packages/generated/client-types/src/lib/models/Payment.ts +++ /dev/null @@ -1,91 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { Currency } from "./Currency" -import type { Order } from "./Order" -import type { Swap } from "./Swap" - -/** - * A payment is originally created from a payment session. Once a payment session is authorized, the payment is created to represent the authorized amount with a given payment method. Payments can be captured, canceled or refunded. Payments can be made towards orders, swaps, order edits, or other resources. - */ -export interface Payment { - /** - * The payment's ID - */ - id: string - /** - * The ID of the swap that this payment was potentially created for. - */ - swap_id: string | null - /** - * The details of the swap that this payment was potentially created for. - */ - swap?: Swap | null - /** - * The ID of the cart that the payment session was potentially created for. - */ - cart_id: string | null - /** - * The details of the cart that the payment session was potentially created for. - */ - cart?: Cart | null - /** - * The ID of the order that the payment session was potentially created for. - */ - order_id: string | null - /** - * The details of the order that the payment session was potentially created for. - */ - order?: Order | null - /** - * The amount that the Payment has been authorized for. - */ - amount: number - /** - * The 3 character ISO currency code of the payment. - */ - currency_code: string - /** - * The details of the currency of the payment. - */ - currency?: Currency | null - /** - * The amount of the original Payment amount that has been refunded back to the Customer. - */ - amount_refunded: number - /** - * The id of the Payment Provider that is responsible for the Payment - */ - provider_id: string - /** - * The data required for the Payment Provider to identify, modify and process the Payment. Typically this will be an object that holds an id to the external payment session, but can be an empty object if the Payment Provider doesn't hold any state. - */ - data: Record - /** - * The date with timezone at which the Payment was captured. - */ - captured_at: string | null - /** - * The date with timezone at which the Payment was canceled. - */ - canceled_at: string | null - /** - * Randomly generated key used to continue the completion of a payment in case of failure. - */ - idempotency_key: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/PaymentCollection.ts b/packages/generated/client-types/src/lib/models/PaymentCollection.ts deleted file mode 100644 index 8cb1536759..0000000000 --- a/packages/generated/client-types/src/lib/models/PaymentCollection.ts +++ /dev/null @@ -1,88 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Currency } from "./Currency" -import type { Payment } from "./Payment" -import type { PaymentSession } from "./PaymentSession" -import type { Region } from "./Region" - -/** - * A payment collection allows grouping and managing a list of payments at one. This can be helpful when making additional payment for order edits or integrating installment payments. - */ -export interface PaymentCollection { - /** - * The payment collection's ID - */ - id: string - /** - * The type of the payment collection - */ - type: "order_edit" - /** - * The type of the payment collection - */ - status: - | "not_paid" - | "awaiting" - | "authorized" - | "partially_authorized" - | "canceled" - /** - * Description of the payment collection - */ - description: string | null - /** - * Amount of the payment collection. - */ - amount: number - /** - * Authorized amount of the payment collection. - */ - authorized_amount: number | null - /** - * The ID of the region this payment collection is associated with. - */ - region_id: string - /** - * The details of the region this payment collection is associated with. - */ - region?: Region | null - /** - * The three character ISO code for the currency this payment collection is associated with. - */ - currency_code: string - /** - * The details of the currency this payment collection is associated with. - */ - currency?: Currency | null - /** - * The details of the payment sessions created as part of the payment collection. - */ - payment_sessions?: Array - /** - * The details of the payments created as part of the payment collection. - */ - payments?: Array - /** - * The ID of the user that created the payment collection. - */ - created_by: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/PaymentProvider.ts b/packages/generated/client-types/src/lib/models/PaymentProvider.ts deleted file mode 100644 index 561a4fb2b1..0000000000 --- a/packages/generated/client-types/src/lib/models/PaymentProvider.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A payment provider represents a payment service installed in the Medusa backend, either through a plugin or backend customizations. It holds the payment service's installation status. - */ -export interface PaymentProvider { - /** - * The ID of the payment provider as given by the payment service. - */ - id: string - /** - * Whether the payment service is installed in the current version. If a payment service is no longer installed, the `is_installed` attribute is set to `false`. - */ - is_installed: boolean -} diff --git a/packages/generated/client-types/src/lib/models/PaymentSession.ts b/packages/generated/client-types/src/lib/models/PaymentSession.ts deleted file mode 100644 index 239cccd404..0000000000 --- a/packages/generated/client-types/src/lib/models/PaymentSession.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" - -/** - * A Payment Session is created when a Customer initilizes the checkout flow, and can be used to hold the state of a payment flow. Each Payment Session is controlled by a Payment Provider, which is responsible for the communication with external payment services. Authorized Payment Sessions will eventually get promoted to Payments to indicate that they are authorized for payment processing such as capture or refund. Payment sessions can also be used as part of payment collections. - */ -export interface PaymentSession { - /** - * The payment session's ID - */ - id: string - /** - * The ID of the cart that the payment session was created for. - */ - cart_id: string | null - /** - * The details of the cart that the payment session was created for. - */ - cart?: Cart | null - /** - * The ID of the Payment Provider that is responsible for the Payment Session - */ - provider_id: string - /** - * A flag to indicate if the Payment Session has been selected as the method that will be used to complete the purchase. - */ - is_selected: boolean | null - /** - * A flag to indicate if a communication with the third party provider has been initiated. - */ - is_initiated: boolean - /** - * Indicates the status of the Payment Session. Will default to `pending`, and will eventually become `authorized`. Payment Sessions may have the status of `requires_more` to indicate that further actions are to be completed by the Customer. - */ - status: "authorized" | "pending" | "requires_more" | "error" | "canceled" - /** - * The data required for the Payment Provider to identify, modify and process the Payment Session. Typically this will be an object that holds an id to the external payment session, but can be an empty object if the Payment Provider doesn't hold any state. - */ - data: Record - /** - * Randomly generated key used to continue the completion of a cart in case of failure. - */ - idempotency_key: string | null - /** - * The amount that the Payment Session has been authorized for. - */ - amount: number | null - /** - * The date with timezone at which the Payment Session was authorized. - */ - payment_authorized_at: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string -} diff --git a/packages/generated/client-types/src/lib/models/PriceList.ts b/packages/generated/client-types/src/lib/models/PriceList.ts deleted file mode 100644 index f51dd88827..0000000000 --- a/packages/generated/client-types/src/lib/models/PriceList.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { CustomerGroup } from "./CustomerGroup" -import type { MoneyAmount } from "./MoneyAmount" - -/** - * A Price List represents a set of prices that override the default price for one or more product variants. - */ -export interface PriceList { - /** - * The price list's ID - */ - id: string - /** - * The price list's name - */ - name: string - /** - * The price list's description - */ - description: string - /** - * The type of Price List. This can be one of either `sale` or `override`. - */ - type: "sale" | "override" - /** - * The status of the Price List - */ - status: "active" | "draft" - /** - * The date with timezone that the Price List starts being valid. - */ - starts_at: string | null - /** - * The date with timezone that the Price List stops being valid. - */ - ends_at: string | null - /** - * The details of the customer groups that the Price List can apply to. - */ - customer_groups?: Array - /** - * The prices that belong to the price list, represented as a Money Amount. - */ - prices?: Array - /** - * Whether the price list prices include tax - */ - includes_tax?: boolean - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null -} diff --git a/packages/generated/client-types/src/lib/models/PricedProduct.ts b/packages/generated/client-types/src/lib/models/PricedProduct.ts deleted file mode 100644 index 4acde7c407..0000000000 --- a/packages/generated/client-types/src/lib/models/PricedProduct.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedVariant } from "./PricedVariant" -import type { Product } from "./Product" - -export type PricedProduct = Product & { - /** - * The product variants and their prices. - */ - variants?: Array -} diff --git a/packages/generated/client-types/src/lib/models/PricedShippingOption.ts b/packages/generated/client-types/src/lib/models/PricedShippingOption.ts deleted file mode 100644 index 0790aa8dae..0000000000 --- a/packages/generated/client-types/src/lib/models/PricedShippingOption.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ShippingOption } from "./ShippingOption" - -export type PricedShippingOption = ShippingOption & { - /** - * Price including taxes - */ - price_incl_tax?: number - /** - * An array of applied tax rates - */ - tax_rates?: Array<{ - /** - * The tax rate value - */ - rate?: number - /** - * The name of the tax rate - */ - name?: string - /** - * The code of the tax rate - */ - code?: string - }> - /** - * The taxes applied. - */ - tax_amount?: number -} diff --git a/packages/generated/client-types/src/lib/models/PricedVariant.ts b/packages/generated/client-types/src/lib/models/PricedVariant.ts deleted file mode 100644 index cc5010a5b8..0000000000 --- a/packages/generated/client-types/src/lib/models/PricedVariant.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductVariant } from "./ProductVariant" - -export type PricedVariant = ProductVariant & { - /** - * The original price of the variant without any discounted prices applied. - */ - original_price?: number - /** - * The calculated price of the variant. Can be a discounted price. - */ - calculated_price?: number - /** - * The original price of the variant including taxes. - */ - original_price_incl_tax?: number - /** - * The calculated price of the variant including taxes. - */ - calculated_price_incl_tax?: number - /** - * The taxes applied on the original price. - */ - original_tax?: number - /** - * The taxes applied on the calculated price. - */ - calculated_tax?: number - /** - * An array of applied tax rates - */ - tax_rates?: Array<{ - /** - * The tax rate value - */ - rate?: number - /** - * The name of the tax rate - */ - name?: string - /** - * The code of the tax rate - */ - code?: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/Product.ts b/packages/generated/client-types/src/lib/models/Product.ts deleted file mode 100644 index e65335b711..0000000000 --- a/packages/generated/client-types/src/lib/models/Product.ts +++ /dev/null @@ -1,160 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Image } from "./Image" -import type { ProductCategory } from "./ProductCategory" -import type { ProductCollection } from "./ProductCollection" -import type { ProductOption } from "./ProductOption" -import type { ProductTag } from "./ProductTag" -import type { ProductType } from "./ProductType" -import type { ProductVariant } from "./ProductVariant" -import type { SalesChannel } from "./SalesChannel" -import type { ShippingProfile } from "./ShippingProfile" - -/** - * A product is a saleable item that holds general information such as name or description. It must include at least one Product Variant, where each product variant defines different options to purchase the product with (for example, different sizes or colors). The prices and inventory of the product are defined on the variant level. - */ -export interface Product { - /** - * The product's ID - */ - id: string - /** - * A title that can be displayed for easy identification of the Product. - */ - title: string - /** - * An optional subtitle that can be used to further specify the Product. - */ - subtitle: string | null - /** - * A short description of the Product. - */ - description: string | null - /** - * A unique identifier for the Product (e.g. for slug structure). - */ - handle: string | null - /** - * Whether the Product represents a Gift Card. Products that represent Gift Cards will automatically generate a redeemable Gift Card code once they are purchased. - */ - is_giftcard: boolean - /** - * The status of the product - */ - status: "draft" | "proposed" | "published" | "rejected" - /** - * The details of the product's images. - */ - images?: Array - /** - * A URL to an image file that can be used to identify the Product. - */ - thumbnail: string | null - /** - * The details of the Product Options that are defined for the Product. The product's variants will have a unique combination of values of the product's options. - */ - options?: Array - /** - * The details of the Product Variants that belong to the Product. Each will have a unique combination of values of the product's options. - */ - variants?: Array - /** - * The details of the product categories that this product belongs to. - */ - categories?: Array - /** - * The ID of the shipping profile that the product belongs to. The shipping profile has a set of defined shipping options that can be used to fulfill the product. - */ - profile_id: string - /** - * The details of the shipping profile that the product belongs to. The shipping profile has a set of defined shipping options that can be used to fulfill the product. - */ - profile?: ShippingProfile | null - /** - * Available if the relation `profiles` is expanded. - */ - profiles?: Array | null - /** - * The weight of the Product Variant. May be used in shipping rate calculations. - */ - weight: number | null - /** - * The length of the Product Variant. May be used in shipping rate calculations. - */ - length: number | null - /** - * The height of the Product Variant. May be used in shipping rate calculations. - */ - height: number | null - /** - * The width of the Product Variant. May be used in shipping rate calculations. - */ - width: number | null - /** - * The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - hs_code: string | null - /** - * The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - origin_country: string | null - /** - * The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - mid_code: string | null - /** - * The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - material: string | null - /** - * The ID of the product collection that the product belongs to. - */ - collection_id: string | null - /** - * The details of the product collection that the product belongs to. - */ - collection?: ProductCollection | null - /** - * The ID of the product type that the product belongs to. - */ - type_id: string | null - /** - * The details of the product type that the product belongs to. - */ - type?: ProductType | null - /** - * The details of the product tags used in this product. - */ - tags?: Array - /** - * Whether the Product can be discounted. Discounts will not apply to Line Items of this Product when this flag is set to `false`. - */ - discountable: boolean - /** - * The external ID of the product - */ - external_id: string | null - /** - * The details of the sales channels this product is available in. - */ - sales_channels?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductCategory.ts b/packages/generated/client-types/src/lib/models/ProductCategory.ts deleted file mode 100644 index d6b0e6a33e..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductCategory.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Product } from "./Product" - -/** - * A product category can be used to categorize products into a hierarchy of categories. - */ -export interface ProductCategory { - /** - * The product category's ID - */ - id: string - /** - * The product category's name - */ - name: string - /** - * The product category's description. - */ - description?: string - /** - * A unique string that identifies the Product Category - can for example be used in slug structures. - */ - handle: string - /** - * A string for Materialized Paths - used for finding ancestors and descendents - */ - mpath: string | null - /** - * A flag to make product category an internal category for admins - */ - is_internal: boolean - /** - * A flag to make product category visible/hidden in the store front - */ - is_active: boolean - /** - * An integer that depicts the rank of category in a tree node - */ - rank?: number - /** - * The details of the category's children. - */ - category_children: Array - /** - * The ID of the parent category. - */ - parent_category_id: string | null - /** - * The details of the parent of this category. - */ - parent_category?: ProductCategory | null - /** - * The details of the products that belong to this category. - */ - products?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductCollection.ts b/packages/generated/client-types/src/lib/models/ProductCollection.ts deleted file mode 100644 index f16de6a271..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductCollection.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Product } from "./Product" - -/** - * A Product Collection allows grouping together products for promotional purposes. For example, an admin can create a Summer collection, add products to it, and showcase it on the storefront. - */ -export interface ProductCollection { - /** - * The product collection's ID - */ - id: string - /** - * The title that the Product Collection is identified by. - */ - title: string - /** - * A unique string that identifies the Product Collection - can for example be used in slug structures. - */ - handle: string | null - /** - * The details of the products that belong to this product collection. - */ - products?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductOption.ts b/packages/generated/client-types/src/lib/models/ProductOption.ts deleted file mode 100644 index fe91cadbc7..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductOption.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Product } from "./Product" -import type { ProductOptionValue } from "./ProductOptionValue" - -/** - * A Product Option defines properties that may vary between different variants of a Product. Common Product Options are "Size" and "Color". Admins are free to create any product options. - */ -export interface ProductOption { - /** - * The product option's ID - */ - id: string - /** - * The title that the Product Option is defined by (e.g. `Size`). - */ - title: string - /** - * The details of the values of the product option. - */ - values?: Array - /** - * The ID of the product that this product option belongs to. - */ - product_id: string - /** - * The details of the product that this product option belongs to. - */ - product?: Product | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductOptionValue.ts b/packages/generated/client-types/src/lib/models/ProductOptionValue.ts deleted file mode 100644 index 60c716cded..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductOptionValue.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductOption } from "./ProductOption" -import type { ProductVariant } from "./ProductVariant" - -/** - * An option value is one of the possible values of a Product Option. Product Variants specify a unique combination of product option values. - */ -export interface ProductOptionValue { - /** - * The product option value's ID - */ - id: string - /** - * The value that the Product Variant has defined for the specific Product Option (e.g. if the Product Option is "Size" this value could be `Small`, `Medium` or `Large`). - */ - value: string - /** - * The ID of the Product Option that the Product Option Value belongs to. - */ - option_id: string - /** - * The details of the product option that the Product Option Value belongs to. - */ - option?: ProductOption | null - /** - * The ID of the product variant that uses this product option value. - */ - variant_id: string - /** - * The details of the product variant that uses this product option value. - */ - variant?: ProductVariant | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductTag.ts b/packages/generated/client-types/src/lib/models/ProductTag.ts deleted file mode 100644 index 6b10bec703..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductTag.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A Product Tag can be added to Products for easy filtering and grouping. - */ -export interface ProductTag { - /** - * The product tag's ID - */ - id: string - /** - * The value that the Product Tag represents - */ - value: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductTaxRate.ts b/packages/generated/client-types/src/lib/models/ProductTaxRate.ts deleted file mode 100644 index 44b0e2391f..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductTaxRate.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Product } from "./Product" -import type { TaxRate } from "./TaxRate" - -/** - * This represents the association between a tax rate and a product to indicate that the product is taxed in a way different than the default. - */ -export interface ProductTaxRate { - /** - * The ID of the Product - */ - product_id: string - /** - * The details of the product. - */ - product?: Product | null - /** - * The ID of the Tax Rate - */ - rate_id: string - /** - * The details of the tax rate. - */ - tax_rate?: TaxRate | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductType.ts b/packages/generated/client-types/src/lib/models/ProductType.ts deleted file mode 100644 index 6edb3f51d9..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductType.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A Product Type can be added to Products for filtering and reporting purposes. - */ -export interface ProductType { - /** - * The product type's ID - */ - id: string - /** - * The value that the Product Type represents. - */ - value: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductTypeTaxRate.ts b/packages/generated/client-types/src/lib/models/ProductTypeTaxRate.ts deleted file mode 100644 index 82c174b72f..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductTypeTaxRate.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductType } from "./ProductType" -import type { TaxRate } from "./TaxRate" - -/** - * This represents the association between a tax rate and a product type to indicate that the product type is taxed in a different way than the default. - */ -export interface ProductTypeTaxRate { - /** - * The ID of the Product type - */ - product_type_id: string - /** - * The details of the product type. - */ - product_type?: ProductType | null - /** - * The id of the Tax Rate - */ - rate_id: string - /** - * The details of the tax rate. - */ - tax_rate?: TaxRate | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ProductVariant.ts b/packages/generated/client-types/src/lib/models/ProductVariant.ts deleted file mode 100644 index e8e78be5e1..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductVariant.ts +++ /dev/null @@ -1,134 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { MoneyAmount } from "./MoneyAmount" -import type { Product } from "./Product" -import type { ProductOptionValue } from "./ProductOptionValue" -import type { ProductVariantInventoryItem } from "./ProductVariantInventoryItem" - -/** - * A Product Variant represents a Product with a specific set of Product Option configurations. The maximum number of Product Variants that a Product can have is given by the number of available Product Option combinations. A product must at least have one product variant. - */ -export interface ProductVariant { - /** - * The product variant's ID - */ - id: string - /** - * A title that can be displayed for easy identification of the Product Variant. - */ - title: string - /** - * The ID of the product that the product variant belongs to. - */ - product_id: string - /** - * The details of the product that the product variant belongs to. - */ - product?: Product | null - /** - * The details of the prices of the Product Variant, each represented as a Money Amount. Each Money Amount represents a price in a given currency or a specific Region. - */ - prices?: Array - /** - * The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems. - */ - sku: string | null - /** - * A generic field for a GTIN number that can be used to identify the Product Variant. - */ - barcode: string | null - /** - * An EAN barcode number that can be used to identify the Product Variant. - */ - ean: string | null - /** - * A UPC barcode number that can be used to identify the Product Variant. - */ - upc: string | null - /** - * The ranking of this variant - */ - variant_rank?: number | null - /** - * The current quantity of the item that is stocked. - */ - inventory_quantity: number - /** - * Whether the Product Variant should be purchasable when `inventory_quantity` is 0. - */ - allow_backorder: boolean - /** - * Whether Medusa should manage inventory for the Product Variant. - */ - manage_inventory: boolean - /** - * The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - hs_code: string | null - /** - * The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - origin_country: string | null - /** - * The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - mid_code: string | null - /** - * The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers. - */ - material: string | null - /** - * The weight of the Product Variant. May be used in shipping rate calculations. - */ - weight: number | null - /** - * The length of the Product Variant. May be used in shipping rate calculations. - */ - length: number | null - /** - * The height of the Product Variant. May be used in shipping rate calculations. - */ - height: number | null - /** - * The width of the Product Variant. May be used in shipping rate calculations. - */ - width: number | null - /** - * The details of the product options that this product variant defines values for. - */ - options?: Array - /** - * The details inventory items of the product variant. - */ - inventory_items?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null - /** - * Only used with the inventory modules. - * A boolean value indicating whether the Product Variant is purchasable. - * A variant is purchasable if: - * - inventory is not managed - * - it has no inventory items - * - it is in stock - * - it is backorderable. - * - */ - purchasable?: boolean -} diff --git a/packages/generated/client-types/src/lib/models/ProductVariantInventoryItem.ts b/packages/generated/client-types/src/lib/models/ProductVariantInventoryItem.ts deleted file mode 100644 index d2d0753ac4..0000000000 --- a/packages/generated/client-types/src/lib/models/ProductVariantInventoryItem.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductVariant } from "./ProductVariant" - -/** - * A Product Variant Inventory Item links variants with inventory items and denotes the required quantity of the variant. - */ -export interface ProductVariantInventoryItem { - /** - * The product variant inventory item's ID - */ - id: string - /** - * The id of the inventory item - */ - inventory_item_id: string - /** - * The id of the variant. - */ - variant_id: string - /** - * The details of the product variant. - */ - variant?: ProductVariant | null - /** - * The quantity of an inventory item required for the variant. - */ - required_quantity: number - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null -} diff --git a/packages/generated/client-types/src/lib/models/PublishableApiKey.ts b/packages/generated/client-types/src/lib/models/PublishableApiKey.ts deleted file mode 100644 index 20fbac90b7..0000000000 --- a/packages/generated/client-types/src/lib/models/PublishableApiKey.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A Publishable API key defines scopes that resources are available in. Then, it can be used in request to infer the resources without having to directly pass them. For example, a publishable API key can be associated with one or more sales channels. Then, when the publishable API key is passed in the header of a request, it is inferred what sales channel is being used without having to pass the sales channel as a query or body parameter of the request. Publishable API keys can only be used with sales channels, at the moment. - */ -export interface PublishableApiKey { - /** - * The key's ID - */ - id: string - /** - * The unique identifier of the user that created the key. - */ - created_by: string | null - /** - * The unique identifier of the user that revoked the key. - */ - revoked_by: string | null - /** - * The date with timezone at which the key was revoked. - */ - revoked_at: string | null - /** - * The key's title. - */ - title: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string -} diff --git a/packages/generated/client-types/src/lib/models/PublishableApiKeySalesChannel.ts b/packages/generated/client-types/src/lib/models/PublishableApiKeySalesChannel.ts deleted file mode 100644 index f7684955ac..0000000000 --- a/packages/generated/client-types/src/lib/models/PublishableApiKeySalesChannel.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * This represents the association between the Publishable API keys and Sales Channels - */ -export interface PublishableApiKeySalesChannel { - /** - * The relation's ID - */ - id?: string - /** - * The sales channel's ID - */ - sales_channel_id: string - /** - * The publishable API key's ID - */ - publishable_key_id: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null -} diff --git a/packages/generated/client-types/src/lib/models/Refund.ts b/packages/generated/client-types/src/lib/models/Refund.ts deleted file mode 100644 index 6c47d01092..0000000000 --- a/packages/generated/client-types/src/lib/models/Refund.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Order } from "./Order" -import type { Payment } from "./Payment" - -/** - * A refund represents an amount of money transfered back to the customer for a given reason. Refunds may occur in relation to Returns, Swaps and Claims, but can also be initiated by an admin for an order. - */ -export interface Refund { - /** - * The refund's ID - */ - id: string - /** - * The ID of the order this refund was created for. - */ - order_id: string | null - /** - * The details of the order this refund was created for. - */ - order?: Order | null - /** - * The payment's ID, if available. - */ - payment_id: string | null - /** - * The details of the payment associated with the refund. - */ - payment?: Payment | null - /** - * The amount that has be refunded to the Customer. - */ - amount: number - /** - * An optional note explaining why the amount was refunded. - */ - note: string | null - /** - * The reason given for the Refund, will automatically be set when processed as part of a Swap, Claim or Return. - */ - reason: "discount" | "return" | "swap" | "claim" | "other" - /** - * Randomly generated key used to continue the completion of the refund in case of failure. - */ - idempotency_key: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/Region.ts b/packages/generated/client-types/src/lib/models/Region.ts deleted file mode 100644 index 1b6aa0d0cb..0000000000 --- a/packages/generated/client-types/src/lib/models/Region.ts +++ /dev/null @@ -1,93 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Country } from "./Country" -import type { Currency } from "./Currency" -import type { FulfillmentProvider } from "./FulfillmentProvider" -import type { PaymentProvider } from "./PaymentProvider" -import type { TaxProvider } from "./TaxProvider" -import type { TaxRate } from "./TaxRate" - -/** - * A region holds settings specific to a geographical location, including the currency, tax rates, and fulfillment and payment providers. A Region can consist of multiple countries to accomodate common shopping settings across countries. - */ -export interface Region { - /** - * The region's ID - */ - id: string - /** - * The name of the region as displayed to the customer. If the Region only has one country it is recommended to write the country name. - */ - name: string - /** - * The three character currency code used in the region. - */ - currency_code: string - /** - * The details of the currency used in the region. - */ - currency?: Currency | null - /** - * The tax rate that should be charged on purchases in the Region. - */ - tax_rate: number - /** - * The details of the tax rates used in the region, aside from the default rate. - */ - tax_rates?: Array - /** - * The tax code used on purchases in the Region. This may be used by other systems for accounting purposes. - */ - tax_code: string | null - /** - * Whether the gift cards are taxable or not in this region. - */ - gift_cards_taxable: boolean - /** - * Whether taxes should be automated in this region. - */ - automatic_taxes: boolean - /** - * The details of the countries included in this region. - */ - countries?: Array - /** - * The ID of the tax provider used in this region - */ - tax_provider_id: string | null - /** - * The details of the tax provider used in the region. - */ - tax_provider?: TaxProvider | null - /** - * The details of the payment providers that can be used to process payments in the region. - */ - payment_providers?: Array - /** - * The details of the fulfillment providers that can be used to fulfill items of orders and similar resources in the region. - */ - fulfillment_providers?: Array - /** - * Whether the prices for the region include tax - */ - includes_tax?: boolean - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ReservationItemDTO.ts b/packages/generated/client-types/src/lib/models/ReservationItemDTO.ts deleted file mode 100644 index 485baa0353..0000000000 --- a/packages/generated/client-types/src/lib/models/ReservationItemDTO.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Represents a reservation of an inventory item at a stock location - */ -export interface ReservationItemDTO { - /** - * The id of the reservation item - */ - id: string - /** - * The id of the location of the reservation - */ - location_id: string - /** - * The id of the inventory item the reservation relates to - */ - inventory_item_id: string - /** - * Description of the reservation item - */ - description?: string - /** - * UserId of user who created the reservation item - */ - created_by?: string - /** - * The id of the reservation item - */ - quantity: number - /** - * An optional key-value map with additional details - */ - metadata?: Record - /** - * The date with timezone at which the resource was created. - */ - created_at?: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at?: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at?: string -} diff --git a/packages/generated/client-types/src/lib/models/ResponseInventoryItem.ts b/packages/generated/client-types/src/lib/models/ResponseInventoryItem.ts deleted file mode 100644 index 78f7d2096b..0000000000 --- a/packages/generated/client-types/src/lib/models/ResponseInventoryItem.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { InventoryItemDTO } from "./InventoryItemDTO" - -export type ResponseInventoryItem = InventoryItemDTO & { - /** - * The inventory's location levels. - */ - location_levels?: Array< - InventoryItemDTO & { - /** - * The available quantity in the inventory location. - */ - available_quantity: number - } - > -} diff --git a/packages/generated/client-types/src/lib/models/Return.ts b/packages/generated/client-types/src/lib/models/Return.ts deleted file mode 100644 index cc631f65cf..0000000000 --- a/packages/generated/client-types/src/lib/models/Return.ts +++ /dev/null @@ -1,92 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimOrder } from "./ClaimOrder" -import type { Order } from "./Order" -import type { ReturnItem } from "./ReturnItem" -import type { ShippingMethod } from "./ShippingMethod" -import type { Swap } from "./Swap" - -/** - * A Return holds information about Line Items that a Customer wishes to send back, along with how the items will be returned. Returns can also be used as part of a Swap or a Claim. - */ -export interface Return { - /** - * The return's ID - */ - id: string - /** - * Status of the Return. - */ - status: "requested" | "received" | "requires_action" | "canceled" - /** - * The details of the items that the customer is returning. - */ - items?: Array - /** - * The ID of the swap that the return may belong to. - */ - swap_id: string | null - /** - * The details of the swap that the return may belong to. - */ - swap?: Swap | null - /** - * The ID of the claim that the return may belong to. - */ - claim_order_id: string | null - /** - * The details of the claim that the return may belong to. - */ - claim_order?: ClaimOrder | null - /** - * The ID of the order that the return was created for. - */ - order_id: string | null - /** - * The details of the order that the return was created for. - */ - order?: Order | null - /** - * The details of the Shipping Method that will be used to send the Return back. Can be null if the Customer will handle the return shipment themselves. - */ - shipping_method?: ShippingMethod | null - /** - * Data about the return shipment as provided by the Fulfilment Provider that handles the return shipment. - */ - shipping_data: Record | null - /** - * The ID of the stock location the return will be added back. - */ - location_id: string | null - /** - * The amount that should be refunded as a result of the return. - */ - refund_amount: number - /** - * When set to true, no notification will be sent related to this return. - */ - no_notification: boolean | null - /** - * Randomly generated key used to continue the completion of the return in case of failure. - */ - idempotency_key: string | null - /** - * The date with timezone at which the return was received. - */ - received_at: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ReturnItem.ts b/packages/generated/client-types/src/lib/models/ReturnItem.ts deleted file mode 100644 index d80846261b..0000000000 --- a/packages/generated/client-types/src/lib/models/ReturnItem.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { LineItem } from "./LineItem" -import type { Return } from "./Return" -import type { ReturnReason } from "./ReturnReason" - -/** - * A return item represents a line item in an order that is to be returned. It includes details related to the return and the reason behind it. - */ -export interface ReturnItem { - /** - * The ID of the Return that the Return Item belongs to. - */ - return_id: string - /** - * The ID of the Line Item that the Return Item references. - */ - item_id: string - /** - * Details of the Return that the Return Item belongs to. - */ - return_order?: Return | null - /** - * The details of the line item in the original order to be returned. - */ - item?: LineItem | null - /** - * The quantity of the Line Item to be returned. - */ - quantity: number - /** - * Whether the Return Item was requested initially or received unexpectedly in the warehouse. - */ - is_requested: boolean - /** - * The quantity that was originally requested to be returned. - */ - requested_quantity: number | null - /** - * The quantity that was received in the warehouse. - */ - received_quantity: number | null - /** - * The ID of the reason for returning the item. - */ - reason_id: string | null - /** - * The details of the reason for returning the item. - */ - reason?: ReturnReason | null - /** - * An optional note with additional details about the Return. - */ - note: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ReturnReason.ts b/packages/generated/client-types/src/lib/models/ReturnReason.ts deleted file mode 100644 index 53e2a2f3c7..0000000000 --- a/packages/generated/client-types/src/lib/models/ReturnReason.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A Return Reason is a value defined by an admin. It can be used on Return Items in order to indicate why a Line Item was returned. - */ -export interface ReturnReason { - /** - * The return reason's ID - */ - id: string - /** - * The value to identify the reason by. - */ - value: string - /** - * A text that can be displayed to the Customer as a reason. - */ - label: string - /** - * A description of the Reason. - */ - description: string | null - /** - * The ID of the parent reason. - */ - parent_return_reason_id: string | null - /** - * The details of the parent reason. - */ - parent_return_reason?: ReturnReason | null - /** - * The details of the child reasons. - */ - return_reason_children?: ReturnReason - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/SalesChannel.ts b/packages/generated/client-types/src/lib/models/SalesChannel.ts deleted file mode 100644 index ec6b11e78a..0000000000 --- a/packages/generated/client-types/src/lib/models/SalesChannel.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { Order } from "./Order" -import type { PublishableApiKey } from "./PublishableApiKey" -import type { SalesChannelLocation } from "./SalesChannelLocation" - -/** - * A Sales Channel is a method a business offers its products for purchase for the customers. For example, a Webshop can be a sales channel, and a mobile app can be another. - */ -export interface SalesChannel { - /** - * The sales channel's ID - */ - id: string - /** - * The name of the sales channel. - */ - name: string - /** - * The description of the sales channel. - */ - description: string | null - /** - * Specify if the sales channel is enabled or disabled. - */ - is_disabled: boolean - /** - * The details of the stock locations related to the sales channel. - */ - locations?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata?: Record | null - /** - * The associated carts. - */ - carts?: Array | null - /** - * The associated orders. - */ - orders?: Array | null - /** - * The associated publishable API keys. - */ - publishableKeys?: Array | null -} diff --git a/packages/generated/client-types/src/lib/models/SalesChannelLocation.ts b/packages/generated/client-types/src/lib/models/SalesChannelLocation.ts deleted file mode 100644 index 31fcbc8d2f..0000000000 --- a/packages/generated/client-types/src/lib/models/SalesChannelLocation.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { SalesChannel } from "./SalesChannel" - -/** - * This represents the association between a sales channel and a stock locations. - */ -export interface SalesChannelLocation { - /** - * The Sales Channel Stock Location's ID - */ - id: string - /** - * The ID of the Sales Channel - */ - sales_channel_id: string - /** - * The ID of the Location Stock. - */ - location_id: string - /** - * The details of the sales channel the location is associated with. - */ - sales_channel?: SalesChannel | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null -} diff --git a/packages/generated/client-types/src/lib/models/ShippingMethod.ts b/packages/generated/client-types/src/lib/models/ShippingMethod.ts deleted file mode 100644 index 265e41fa51..0000000000 --- a/packages/generated/client-types/src/lib/models/ShippingMethod.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { ClaimOrder } from "./ClaimOrder" -import type { Order } from "./Order" -import type { Return } from "./Return" -import type { ShippingMethodTaxLine } from "./ShippingMethodTaxLine" -import type { ShippingOption } from "./ShippingOption" -import type { Swap } from "./Swap" - -/** - * A Shipping Method represents a way in which an Order or Return can be shipped. Shipping Methods are created from a Shipping Option, but may contain additional details that can be necessary for the Fulfillment Provider to handle the shipment. If the shipping method is created for a return, it may be associated with a claim or a swap that the return is part of. - */ -export interface ShippingMethod { - /** - * The shipping method's ID - */ - id: string - /** - * The ID of the Shipping Option that the Shipping Method is built from. - */ - shipping_option_id: string - /** - * The ID of the order that the shipping method is used in. - */ - order_id: string | null - /** - * The details of the order that the shipping method is used in. - */ - order?: Order | null - /** - * The ID of the claim that the shipping method is used in. - */ - claim_order_id: string | null - /** - * The details of the claim that the shipping method is used in. - */ - claim_order?: ClaimOrder | null - /** - * The ID of the cart that the shipping method is used in. - */ - cart_id: string | null - /** - * The details of the cart that the shipping method is used in. - */ - cart?: Cart | null - /** - * The ID of the swap that the shipping method is used in. - */ - swap_id: string | null - /** - * The details of the swap that the shipping method is used in. - */ - swap?: Swap | null - /** - * The ID of the return that the shipping method is used in. - */ - return_id: string | null - /** - * The details of the return that the shipping method is used in. - */ - return_order?: Return | null - /** - * The details of the shipping option the method was created from. - */ - shipping_option?: ShippingOption | null - /** - * The details of the tax lines applied on the shipping method. - */ - tax_lines?: Array - /** - * The amount to charge for the Shipping Method. The currency of the price is defined by the Region that the Order that the Shipping Method belongs to is a part of. - */ - price: number - /** - * Additional data that the Fulfillment Provider needs to fulfill the shipment. This is used in combination with the Shipping Options data, and may contain information such as a drop point id. - */ - data: Record - /** - * Whether the shipping method price include tax - */ - includes_tax?: boolean - /** - * The subtotal of the shipping - */ - subtotal?: number - /** - * The total amount of the shipping - */ - total?: number - /** - * The total of tax - */ - tax_total?: number -} diff --git a/packages/generated/client-types/src/lib/models/ShippingMethodTaxLine.ts b/packages/generated/client-types/src/lib/models/ShippingMethodTaxLine.ts deleted file mode 100644 index ed44ec9f46..0000000000 --- a/packages/generated/client-types/src/lib/models/ShippingMethodTaxLine.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ShippingMethod } from "./ShippingMethod" - -/** - * A Shipping Method Tax Line represents the taxes applied on a shipping method in a cart. - */ -export interface ShippingMethodTaxLine { - /** - * The line item tax line's ID - */ - id: string - /** - * A code to identify the tax type by - */ - code: string | null - /** - * A human friendly name for the tax - */ - name: string - /** - * The numeric rate to charge tax by - */ - rate: number - /** - * The ID of the line item - */ - shipping_method_id: string - /** - * The details of the associated shipping method. - */ - shipping_method?: ShippingMethod | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ShippingOption.ts b/packages/generated/client-types/src/lib/models/ShippingOption.ts deleted file mode 100644 index 74dfa33db4..0000000000 --- a/packages/generated/client-types/src/lib/models/ShippingOption.ts +++ /dev/null @@ -1,91 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { FulfillmentProvider } from "./FulfillmentProvider" -import type { Region } from "./Region" -import type { ShippingOptionRequirement } from "./ShippingOptionRequirement" -import type { ShippingProfile } from "./ShippingProfile" - -/** - * A Shipping Option represents a way in which an Order or Return can be shipped. Shipping Options have an associated Fulfillment Provider that will be used when the fulfillment of an Order is initiated. Shipping Options themselves cannot be added to Carts, but serve as a template for Shipping Methods. This distinction makes it possible to customize individual Shipping Methods with additional information. - */ -export interface ShippingOption { - /** - * The shipping option's ID - */ - id: string - /** - * The name given to the Shipping Option - this may be displayed to the Customer. - */ - name: string - /** - * The ID of the region this shipping option can be used in. - */ - region_id: string - /** - * The details of the region this shipping option can be used in. - */ - region?: Region | null - /** - * The ID of the Shipping Profile that the shipping option belongs to. - */ - profile_id: string - /** - * The details of the shipping profile that the shipping option belongs to. - */ - profile?: ShippingProfile | null - /** - * The ID of the fulfillment provider that will be used to later to process the shipping method created from this shipping option and its fulfillments. - */ - provider_id: string - /** - * The details of the fulfillment provider that will be used to later to process the shipping method created from this shipping option and its fulfillments. - */ - provider?: FulfillmentProvider | null - /** - * The type of pricing calculation that is used when creatin Shipping Methods from the Shipping Option. Can be `flat_rate` for fixed prices or `calculated` if the Fulfillment Provider can provide price calulations. - */ - price_type: "flat_rate" | "calculated" - /** - * The amount to charge for shipping when the Shipping Option price type is `flat_rate`. - */ - amount: number | null - /** - * Flag to indicate if the Shipping Option can be used for Return shipments. - */ - is_return: boolean - /** - * Flag to indicate if the Shipping Option usage is restricted to admin users. - */ - admin_only: boolean - /** - * The details of the requirements that must be satisfied for the Shipping Option to be available for usage in a Cart. - */ - requirements?: Array - /** - * The data needed for the Fulfillment Provider to identify the Shipping Option. - */ - data: Record - /** - * Whether the shipping option price include tax - */ - includes_tax?: boolean - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ShippingOptionRequirement.ts b/packages/generated/client-types/src/lib/models/ShippingOptionRequirement.ts deleted file mode 100644 index 97d3182d4b..0000000000 --- a/packages/generated/client-types/src/lib/models/ShippingOptionRequirement.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ShippingOption } from "./ShippingOption" - -/** - * A shipping option requirement defines conditions that a Cart must satisfy for the Shipping Option to be available for usage in the Cart. - */ -export interface ShippingOptionRequirement { - /** - * The shipping option requirement's ID - */ - id: string - /** - * The ID of the shipping option that the requirements belong to. - */ - shipping_option_id: string - /** - * The details of the shipping option that the requirements belong to. - */ - shipping_option?: ShippingOption | null - /** - * The type of the requirement, this defines how the value will be compared to the Cart's total. `min_subtotal` requirements define the minimum subtotal that is needed for the Shipping Option to be available, while the `max_subtotal` defines the maximum subtotal that the Cart can have for the Shipping Option to be available. - */ - type: "min_subtotal" | "max_subtotal" - /** - * The amount to compare the Cart subtotal to. - */ - amount: number - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null -} diff --git a/packages/generated/client-types/src/lib/models/ShippingProfile.ts b/packages/generated/client-types/src/lib/models/ShippingProfile.ts deleted file mode 100644 index 15bb399b04..0000000000 --- a/packages/generated/client-types/src/lib/models/ShippingProfile.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Product } from "./Product" -import type { ShippingOption } from "./ShippingOption" - -/** - * A Shipping Profile has a set of defined Shipping Options that can be used to fulfill a given set of Products. For example, gift cards are shipped differently than physical products, so a shipping profile with the type `gift_card` groups together the shipping options that can only be used for gift cards. - */ -export interface ShippingProfile { - /** - * The shipping profile's ID - */ - id: string - /** - * The name given to the Shipping profile - this may be displayed to the Customer. - */ - name: string - /** - * The type of the Shipping Profile, may be `default`, `gift_card` or `custom`. - */ - type: "default" | "gift_card" | "custom" - /** - * The details of the products that the Shipping Profile defines Shipping Options for. Available if the relation `products` is expanded. - */ - products?: Array - /** - * The details of the shipping options that can be used to create shipping methods for the Products in the Shipping Profile. - */ - shipping_options?: Array - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/ShippingTaxRate.ts b/packages/generated/client-types/src/lib/models/ShippingTaxRate.ts deleted file mode 100644 index 792b0ac335..0000000000 --- a/packages/generated/client-types/src/lib/models/ShippingTaxRate.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ShippingOption } from "./ShippingOption" -import type { TaxRate } from "./TaxRate" - -/** - * This represents the tax rates applied on a shipping option. - */ -export interface ShippingTaxRate { - /** - * The ID of the shipping option. - */ - shipping_option_id: string - /** - * The details of the shipping option. - */ - shipping_option?: ShippingOption | null - /** - * The ID of the associated tax rate. - */ - rate_id: string - /** - * The details of the associated tax rate. - */ - tax_rate?: TaxRate | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/StagedJob.ts b/packages/generated/client-types/src/lib/models/StagedJob.ts deleted file mode 100644 index 328cbbb82c..0000000000 --- a/packages/generated/client-types/src/lib/models/StagedJob.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A staged job resource - */ -export interface StagedJob { - /** - * The staged job's ID - */ - id: string - /** - * The name of the event - */ - event_name: string - /** - * Data necessary for the job - */ - data: Record - /** - * The staged job's option - */ - option?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StockLocationAddressDTO.ts b/packages/generated/client-types/src/lib/models/StockLocationAddressDTO.ts deleted file mode 100644 index 8186e94a89..0000000000 --- a/packages/generated/client-types/src/lib/models/StockLocationAddressDTO.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Represents a Stock Location Address - */ -export interface StockLocationAddressDTO { - /** - * The stock location address' ID - */ - id?: string - /** - * Stock location address - */ - address_1: string - /** - * Stock location address' complement - */ - address_2?: string - /** - * Stock location company' name - */ - company?: string - /** - * Stock location address' city - */ - city?: string - /** - * Stock location address' country - */ - country_code: string - /** - * Stock location address' phone number - */ - phone?: string - /** - * Stock location address' postal code - */ - postal_code?: string - /** - * Stock location address' province - */ - province?: string - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at?: string - /** - * An optional key-value map with additional details - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StockLocationAddressInput.ts b/packages/generated/client-types/src/lib/models/StockLocationAddressInput.ts deleted file mode 100644 index 230174ea95..0000000000 --- a/packages/generated/client-types/src/lib/models/StockLocationAddressInput.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Represents a Stock Location Address Input - */ -export interface StockLocationAddressInput { - /** - * Stock location address - */ - address_1: string - /** - * Stock location address' complement - */ - address_2?: string - /** - * Stock location address' city - */ - city?: string - /** - * Stock location address' country - */ - country_code: string - /** - * Stock location address' phone number - */ - phone?: string - /** - * Stock location address' postal code - */ - postal_code?: string - /** - * Stock location address' province - */ - province?: string - /** - * An optional key-value map with additional details - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StockLocationDTO.ts b/packages/generated/client-types/src/lib/models/StockLocationDTO.ts deleted file mode 100644 index 41b3e7b91d..0000000000 --- a/packages/generated/client-types/src/lib/models/StockLocationDTO.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { StockLocationAddressDTO } from "./StockLocationAddressDTO" - -/** - * Represents a Stock Location - */ -export interface StockLocationDTO { - /** - * The stock location's ID - */ - id: string - /** - * Stock location address' ID - */ - address_id: string - /** - * The name of the stock location - */ - name: string - /** - * The Address of the Stock Location - */ - address?: StockLocationAddressDTO & Record - /** - * An optional key-value map with additional details - */ - metadata?: Record - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at?: string -} diff --git a/packages/generated/client-types/src/lib/models/StockLocationExpandedDTO.ts b/packages/generated/client-types/src/lib/models/StockLocationExpandedDTO.ts deleted file mode 100644 index 39a6ed0acc..0000000000 --- a/packages/generated/client-types/src/lib/models/StockLocationExpandedDTO.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { SalesChannel } from "./SalesChannel" -import type { StockLocationDTO } from "./StockLocationDTO" - -export type StockLocationExpandedDTO = StockLocationDTO & { - /** - * The associated sales channels. - */ - sales_channels?: SalesChannel -} diff --git a/packages/generated/client-types/src/lib/models/Store.ts b/packages/generated/client-types/src/lib/models/Store.ts deleted file mode 100644 index dc5522fb54..0000000000 --- a/packages/generated/client-types/src/lib/models/Store.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Currency } from "./Currency" -import type { SalesChannel } from "./SalesChannel" - -/** - * A store holds the main settings of the commerce shop. By default, only one store is created and used within the Medusa backend. It holds settings related to the name of the store, available currencies, and more. - */ -export interface Store { - /** - * The store's ID - */ - id: string - /** - * The name of the Store - this may be displayed to the Customer. - */ - name: string - /** - * The three character currency code that is the default of the store. - */ - default_currency_code: string - /** - * The details of the store's default currency. - */ - default_currency?: Currency | null - /** - * The details of the enabled currencies in the store. - */ - currencies?: Array - /** - * A template to generate Swap links from. Use {{cart_id}} to include the Swap's `cart_id` in the link. - */ - swap_link_template: string | null - /** - * A template to generate Payment links from. Use {{cart_id}} to include the payment's `cart_id` in the link. - */ - payment_link_template: string | null - /** - * A template to generate Invite links from - */ - invite_link_template: string | null - /** - * The location ID the store is associated with. - */ - default_location_id: string | null - /** - * The ID of the store's default sales channel. - */ - default_sales_channel_id?: string | null - /** - * The details of the store's default sales channel. - */ - default_sales_channel?: SalesChannel | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/StoreAuthRes.ts b/packages/generated/client-types/src/lib/models/StoreAuthRes.ts deleted file mode 100644 index 07f6ec593e..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreAuthRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Customer } from "./Customer" -import type { Order } from "./Order" - -/** - * The customer's details. - */ -export interface StoreAuthRes { - /** - * Customer's details. - */ - customer: Merge< - SetRelation, - { - orders: Array> - } - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreBearerAuthRes.ts b/packages/generated/client-types/src/lib/models/StoreBearerAuthRes.ts deleted file mode 100644 index 293ecdb598..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreBearerAuthRes.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The access token details. - */ -export interface StoreBearerAuthRes { - /** - * Access token that can be used to send authenticated requests. - */ - access_token?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreCartShippingOptionsListRes.ts b/packages/generated/client-types/src/lib/models/StoreCartShippingOptionsListRes.ts deleted file mode 100644 index 48f29a7d00..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCartShippingOptionsListRes.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedShippingOption } from "./PricedShippingOption" - -export interface StoreCartShippingOptionsListRes { - /** - * An array of shipping options details. - */ - shipping_options: Array< - SetRelation - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreCartsRes.ts b/packages/generated/client-types/src/lib/models/StoreCartsRes.ts deleted file mode 100644 index 2fbfde3b57..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCartsRes.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { Discount } from "./Discount" -import type { LineItem } from "./LineItem" -import type { Product } from "./Product" -import type { ProductVariant } from "./ProductVariant" -import type { Region } from "./Region" -import type { ShippingMethod } from "./ShippingMethod" - -/** - * The cart's details. - */ -export interface StoreCartsRes { - /** - * Cart details. - */ - cart: Merge< - SetRelation< - Cart, - | "billing_address" - | "discounts" - | "gift_cards" - | "items" - | "payment" - | "payment_sessions" - | "region" - | "shipping_address" - | "shipping_methods" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "item_tax_total" - | "refundable_amount" - | "refunded_total" - | "shipping_tax_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - >, - { - discounts: Array> - items: Array< - Merge< - SetRelation< - LineItem, - | "adjustments" - | "variant" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "tax_lines" - >, - { - variant: Merge< - SetRelation, - { - product: SetRelation - } - > - } - > - > - region: SetRelation< - Region, - | "countries" - | "payment_providers" - | "tax_rates" - | "fulfillment_providers" - > - shipping_methods: Array< - SetRelation - > - } - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreCollectionsListRes.ts b/packages/generated/client-types/src/lib/models/StoreCollectionsListRes.ts deleted file mode 100644 index acc2e6dd27..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCollectionsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductCollection } from "./ProductCollection" - -/** - * The list of product collections with pagination fields. - */ -export interface StoreCollectionsListRes { - /** - * An array of product collections details - */ - collections: Array - /** - * The total number of items available - */ - count: number - /** - * The number of product collections skipped when retrieving the product collections. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/StoreCollectionsRes.ts b/packages/generated/client-types/src/lib/models/StoreCollectionsRes.ts deleted file mode 100644 index 7a46c8bd7f..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCollectionsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductCollection } from "./ProductCollection" - -/** - * The details of the product collection. - */ -export interface StoreCollectionsRes { - /** - * Product collection details. - */ - collection: ProductCollection -} diff --git a/packages/generated/client-types/src/lib/models/StoreCompleteCartRes.ts b/packages/generated/client-types/src/lib/models/StoreCompleteCartRes.ts deleted file mode 100644 index 150344e0bf..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCompleteCartRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Cart } from "./Cart" -import type { Order } from "./Order" -import type { Swap } from "./Swap" - -/** - * If the cart is completed successfully, this will have the created order or the swap's details, based on the cart's type. Otherwise, it'll be the cart's details. - */ -export interface StoreCompleteCartRes { - /** - * The type of the data property. If the cart completion fails, type will be `cart` and the data object will be the cart's details. If the cart completion is successful and the cart is used for checkout, type will be `order` and the data object will be the order's details. If the cart completion is successful and the cart is used for swap creation, type will be `swap` and the data object will be the swap's details. - */ - type: "order" | "cart" | "swap" - /** - * The data of the result object. Its type depends on the type field. - */ - data: Order | Cart | Swap -} diff --git a/packages/generated/client-types/src/lib/models/StoreCustomersListOrdersRes.ts b/packages/generated/client-types/src/lib/models/StoreCustomersListOrdersRes.ts deleted file mode 100644 index ded411df06..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCustomersListOrdersRes.ts +++ /dev/null @@ -1,151 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimOrder } from "./ClaimOrder" -import type { Discount } from "./Discount" -import type { Fulfillment } from "./Fulfillment" -import type { GiftCardTransaction } from "./GiftCardTransaction" -import type { LineItem } from "./LineItem" -import type { Order } from "./Order" -import type { Product } from "./Product" -import type { ProductVariant } from "./ProductVariant" -import type { Region } from "./Region" -import type { ShippingMethod } from "./ShippingMethod" -import type { Swap } from "./Swap" - -/** - * The list of the customer's orders with pagination fields. - */ -export interface StoreCustomersListOrdersRes { - /** - * An array of orders details. - */ - orders: Array< - Merge< - SetRelation< - Order, - | "customer" - | "discounts" - | "fulfillments" - | "items" - | "payments" - | "region" - | "shipping_address" - | "shipping_methods" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "paid_total" - | "refundable_amount" - | "refunded_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - | "claims" - | "swaps" - | "gift_card_transactions" - | "gift_cards" - | "refunds" - >, - { - discounts: Array> - fulfillments: Array> - items: Array< - Merge< - SetRelation< - LineItem, - | "variant" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - >, - { - variant: Merge< - SetRelation, - { - product: SetRelation - } - > - } - > - > - region: SetRelation< - Region, - "fulfillment_providers" | "payment_providers" - > - shipping_methods: Array< - SetRelation - > - claims: Array< - Merge< - SetRelation, - { - additional_items: Array< - SetRelation< - LineItem, - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - > - > - } - > - > - swaps: Array< - Merge< - SetRelation, - { - additional_items: Array< - SetRelation< - LineItem, - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - > - > - } - > - > - gift_card_transactions: Array< - SetRelation - > - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of orders skipped when retrieving the orders. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/StoreCustomersListPaymentMethodsRes.ts b/packages/generated/client-types/src/lib/models/StoreCustomersListPaymentMethodsRes.ts deleted file mode 100644 index fd93d87caa..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCustomersListPaymentMethodsRes.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The payment method's details. - */ -export interface StoreCustomersListPaymentMethodsRes { - /** - * The details of the saved payment methods. - */ - payment_methods: Array<{ - /** - * The ID of the Payment Provider where the payment method is saved. - */ - provider_id: string - /** - * The data needed for the Payment Provider to use the saved payment method. - */ - data: Record - }> -} diff --git a/packages/generated/client-types/src/lib/models/StoreCustomersRes.ts b/packages/generated/client-types/src/lib/models/StoreCustomersRes.ts deleted file mode 100644 index dc79cdf47c..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCustomersRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Customer } from "./Customer" - -/** - * The customer's details. - */ -export interface StoreCustomersRes { - /** - * Customer details. - */ - customer: SetRelation -} diff --git a/packages/generated/client-types/src/lib/models/StoreCustomersResetPasswordRes.ts b/packages/generated/client-types/src/lib/models/StoreCustomersResetPasswordRes.ts deleted file mode 100644 index 37e4207232..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreCustomersResetPasswordRes.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Customer } from "./Customer" - -export interface StoreCustomersResetPasswordRes { - /** - * Customer details. - */ - customer: Customer -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetAuthEmailRes.ts b/packages/generated/client-types/src/lib/models/StoreGetAuthEmailRes.ts deleted file mode 100644 index 0a49cb568c..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetAuthEmailRes.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * Details on whether the email exists. - */ -export interface StoreGetAuthEmailRes { - /** - * Whether email exists or not. - */ - exists: boolean -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetCollectionsParams.ts b/packages/generated/client-types/src/lib/models/StoreGetCollectionsParams.ts deleted file mode 100644 index acb024effc..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetCollectionsParams.ts +++ /dev/null @@ -1,61 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetCollectionsParams { - /** - * The number of product collections to skip when retrieving the product collections. - */ - offset?: number - /** - * Limit the number of product collections returned. - */ - limit?: number - /** - * Filter by handles - */ - handle?: Array - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetCustomersCustomerOrdersParams.ts b/packages/generated/client-types/src/lib/models/StoreGetCustomersCustomerOrdersParams.ts deleted file mode 100644 index ef6efab7ed..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetCustomersCustomerOrdersParams.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetCustomersCustomerOrdersParams { - /** - * term to search orders' display ID, email, shipping address's first name, customer's first name, customer's last name, and customer's phone number. - */ - q?: string - /** - * Filter by ID. - */ - id?: string - /** - * Filter by status. - */ - status?: Array< - "pending" | "completed" | "archived" | "canceled" | "requires_action" - > - /** - * Fulfillment status to search for. - */ - fulfillment_status?: Array< - | "not_fulfilled" - | "partially_fulfilled" - | "fulfilled" - | "partially_shipped" - | "shipped" - | "partially_returned" - | "returned" - | "canceled" - | "requires_action" - > - /** - * Payment status to search for. - */ - payment_status?: Array< - | "not_paid" - | "awaiting" - | "captured" - | "partially_refunded" - | "refunded" - | "canceled" - | "requires_action" - > - /** - * Filter by display ID. - */ - display_id?: string - /** - * Filter by cart ID. - */ - cart_id?: string - /** - * Filter by email. - */ - email?: string - /** - * Filter by region ID. - */ - region_id?: string - /** - * Filter by the 3 character ISO currency code of the order. - */ - currency_code?: string - /** - * Filter by tax rate. - */ - tax_rate?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by a cancelation date range. - */ - canceled_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Limit the number of orders returned. - */ - limit?: number - /** - * The number of orders to skip when retrieving the orders. - */ - offset?: number - /** - * Comma-separated relations that should be expanded in the returned orders. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned orders. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetOrdersParams.ts b/packages/generated/client-types/src/lib/models/StoreGetOrdersParams.ts deleted file mode 100644 index bca8e1294b..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetOrdersParams.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetOrdersParams { - /** - * Filter by ID. - */ - display_id: number - /** - * Comma-separated fields that should be expanded in the returned order. - */ - fields?: string - /** - * Comma-separated relations that should be expanded in the returned order. - */ - expand?: string - /** - * Filter by email. - */ - email: string - /** - * Filter by the shipping address's postal code. - */ - shipping_address?: { - /** - * The postal code of the shipping address - */ - postal_code?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetPaymentCollectionsParams.ts b/packages/generated/client-types/src/lib/models/StoreGetPaymentCollectionsParams.ts deleted file mode 100644 index 1007108ffe..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetPaymentCollectionsParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetPaymentCollectionsParams { - /** - * Comma-separated fields that should be expanded in the returned payment collection. - */ - fields?: string - /** - * Comma-separated relations that should be expanded in the returned payment collection. - */ - expand?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesCategoryParams.ts b/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesCategoryParams.ts deleted file mode 100644 index 48df53c19b..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesCategoryParams.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetProductCategoriesCategoryParams { - /** - * Comma-separated fields that should be expanded in the returned product category. - */ - fields?: string - /** - * Comma-separated relations that should be expanded in the returned product category. - */ - expand?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesCategoryRes.ts b/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesCategoryRes.ts deleted file mode 100644 index 90f6738680..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesCategoryRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductCategory } from "./ProductCategory" - -/** - * The product category's details. - */ -export interface StoreGetProductCategoriesCategoryRes { - /** - * Product category details. - */ - product_category: SetRelation< - ProductCategory, - "category_children" | "parent_category" - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesParams.ts b/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesParams.ts deleted file mode 100644 index 406ee3bd14..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesParams.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetProductCategoriesParams { - /** - * term used to search product category's names and handles. - */ - q?: string - /** - * Filter by handle. - */ - handle?: string - /** - * Filter by the ID of a parent category. Only children of the provided parent category are retrieved. - */ - parent_category_id?: string - /** - * Whether all nested categories inside a category should be retrieved. - */ - include_descendants_tree?: boolean - /** - * The number of product categories to skip when retrieving the product categories. - */ - offset?: number - /** - * Limit the number of product categories returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned product categories. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned product categories. - */ - fields?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesRes.ts b/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesRes.ts deleted file mode 100644 index d34117a749..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetProductCategoriesRes.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductCategory } from "./ProductCategory" - -/** - * The list of product categories with pagination fields. - */ -export interface StoreGetProductCategoriesRes { - /** - * An array of product categories details. - */ - product_categories: Array< - SetRelation - > - /** - * The total number of items available - */ - count: number - /** - * The number of product categories skipped when retrieving the product categories. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetProductTagsParams.ts b/packages/generated/client-types/src/lib/models/StoreGetProductTagsParams.ts deleted file mode 100644 index 0cc061e242..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetProductTagsParams.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetProductTagsParams { - /** - * Limit the number of product tags returned. - */ - limit?: number - /** - * The number of product tags to skip when retrieving the product tags. - */ - offset?: number - /** - * A product-tag field to sort-order the retrieved product tags by. - */ - order?: string - /** - * Filter by the ID of a discount condition. When provided, only tags that the discount condition applies for will be retrieved. - */ - discount_condition_id?: string - /** - * Filter by tag values. - */ - value?: Array - /** - * Filter by IDs. - */ - id?: Array - /** - * term to search product tag's value. - */ - q?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetProductTypesParams.ts b/packages/generated/client-types/src/lib/models/StoreGetProductTypesParams.ts deleted file mode 100644 index 964a9e026d..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetProductTypesParams.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetProductTypesParams { - /** - * Limit the number of product types returned. - */ - limit?: number - /** - * The number of product types to skip when retrieving the product types. - */ - offset?: number - /** - * A product-type field to sort-order the retrieved product types by. - */ - order?: string - /** - * Filter by the ID of a discount condition. When provided, only types that the discount condition applies for will be retrieved. - */ - discount_condition_id?: string - /** - * Filter by type values. - */ - value?: Array - /** - * Filter by IDs. - */ - id?: Array - /** - * term to search product type's value. - */ - q?: string - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetProductsParams.ts b/packages/generated/client-types/src/lib/models/StoreGetProductsParams.ts deleted file mode 100644 index 5fd3db84a2..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetProductsParams.ts +++ /dev/null @@ -1,129 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetProductsParams { - /** - * term used to search products' title, description, variant's title, variant's sku, and collection's title. - */ - q?: string - /** - * Filter by IDs. - */ - id?: string | Array - /** - * Filter by sales channel IDs. When provided, only products available in the selected sales channels are retrieved. Alternatively, you can pass a publishable API key in the request header and this will have the same effect. - */ - sales_channel_id?: Array - /** - * Filter by product collection IDs. When provided, only products that belong to the specified product collections are retrieved. - */ - collection_id?: Array - /** - * Filter by product type IDs. When provided, only products that belong to the specified product types are retrieved. - */ - type_id?: Array - /** - * Filter by product tag IDs. When provided, only products that belong to the specified product tags are retrieved. - */ - tags?: Array - /** - * Filter by title. - */ - title?: string - /** - * Filter by description - */ - description?: string - /** - * Filter by handle. - */ - handle?: string - /** - * Whether to retrieve regular products or gift-card products. - */ - is_giftcard?: boolean - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by product category IDs. When provided, only products that belong to the specified product categories are retrieved. - */ - category_id?: Array - /** - * Whether to include child product categories when filtering using the `category_id` field. - */ - include_category_children?: boolean - /** - * The number of products to skip when retrieving the products. - */ - offset?: number - /** - * Limit the number of products returned. - */ - limit?: number - /** - * Comma-separated relations that should be expanded in the returned products. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned products. - */ - fields?: string - /** - * A product field to sort-order the retrieved products by. - */ - order?: string - /** - * The ID of the cart. This is useful for accurate pricing based on the cart's context. - */ - cart_id?: string - /** - * The ID of the region. This is useful for accurate pricing based on the selected region. - */ - region_id?: string - /** - * A 3 character ISO currency code. This is useful for accurate pricing based on the selected currency. - */ - currency_code?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetProductsProductParams.ts b/packages/generated/client-types/src/lib/models/StoreGetProductsProductParams.ts deleted file mode 100644 index 90bb2f4990..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetProductsProductParams.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetProductsProductParams { - /** - * The ID of the sales channel the customer is viewing the product from. - */ - sales_channel_id?: string - /** - * The ID of the cart. This is useful for accurate pricing based on the cart's context. - */ - cart_id?: string - /** - * The ID of the region. This is useful for accurate pricing based on the selected region. - */ - region_id?: string - /** - * Comma-separated relations that should be expanded in the returned product. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned product. - */ - fields?: string - /** - * A 3 character ISO currency code. This is useful for accurate pricing based on the selected currency. - */ - currency_code?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetRegionsParams.ts b/packages/generated/client-types/src/lib/models/StoreGetRegionsParams.ts deleted file mode 100644 index cc5eabf1c3..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetRegionsParams.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetRegionsParams { - /** - * The number of regions to skip when retrieving the regions. - */ - offset?: number - /** - * Limit the number of regions returned. - */ - limit?: number - /** - * Filter by a creation date range. - */ - created_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } - /** - * Filter by an update date range. - */ - updated_at?: { - /** - * filter by dates less than this date - */ - lt?: string - /** - * filter by dates greater than this date - */ - gt?: string - /** - * filter by dates less than or equal to this date - */ - lte?: string - /** - * filter by dates greater than or equal to this date - */ - gte?: string - } -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetShippingOptionsParams.ts b/packages/generated/client-types/src/lib/models/StoreGetShippingOptionsParams.ts deleted file mode 100644 index a95cd67fd0..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetShippingOptionsParams.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetShippingOptionsParams { - /** - * Whether return shipping options should be included. By default, all shipping options are returned. - */ - is_return?: boolean - /** - * "Comma-separated list of Product IDs to filter Shipping Options by. If provided, only shipping options that can be used with the provided products are retrieved." - */ - product_ids?: string - /** - * "The ID of the region that the shipping options belong to. If not provided, all shipping options are retrieved." - */ - region_id?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetVariantsParams.ts b/packages/generated/client-types/src/lib/models/StoreGetVariantsParams.ts deleted file mode 100644 index 9b9fc7c7f1..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetVariantsParams.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetVariantsParams { - /** - * Filter by a comma-separated list of IDs. If supplied, it overrides the `id` parameter. - */ - ids?: string - /** - * Filter by one or more IDs. If `ids` is supplied, it's overrides the value of this parameter. - */ - id?: string | Array - /** - * "Filter by sales channel IDs. When provided, only products available in the selected sales channels are retrieved. Alternatively, you can pass a publishable API key in the request header and this will have the same effect." - */ - sales_channel_id?: string - /** - * Comma-separated relations that should be expanded in the returned product variants. - */ - expand?: string - /** - * Comma-separated fields that should be included in the returned product variants. - */ - fields?: string - /** - * The number of products to skip when retrieving the product variants. - */ - offset?: number - /** - * Limit the number of product variants returned. - */ - limit?: number - /** - * The ID of the cart. This is useful for accurate pricing based on the cart's context. - */ - cart_id?: string - /** - * The ID of the region. This is useful for accurate pricing based on the selected region. - */ - region_id?: string - /** - * A 3 character ISO currency code. This is useful for accurate pricing based on the selected currency. - */ - currency_code?: string - /** - * Filter by title - */ - title?: string | Array - /** - * Filter by available inventory quantity - */ - inventory_quantity?: - | number - | { - /** - * Filter by inventory quantity less than this number - */ - lt?: number - /** - * Filter by inventory quantity greater than this number - */ - gt?: number - /** - * Filter by inventory quantity less than or equal to this number - */ - lte?: number - /** - * Filter by inventory quantity greater than or equal to this number - */ - gte?: number - } -} diff --git a/packages/generated/client-types/src/lib/models/StoreGetVariantsVariantParams.ts b/packages/generated/client-types/src/lib/models/StoreGetVariantsVariantParams.ts deleted file mode 100644 index 15b081b398..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGetVariantsVariantParams.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StoreGetVariantsVariantParams { - /** - * The ID of the sales channel the customer is viewing the product variant from. - */ - sales_channel_id?: string - /** - * The ID of the cart. This is useful for accurate pricing based on the cart's context. - */ - cart_id?: string - /** - * The ID of the region. This is useful for accurate pricing based on the selected region. - */ - region_id?: string - /** - * A 3 character ISO currency code. This is useful for accurate pricing based on the selected currency. - */ - currency_code?: string -} diff --git a/packages/generated/client-types/src/lib/models/StoreGiftCardsRes.ts b/packages/generated/client-types/src/lib/models/StoreGiftCardsRes.ts deleted file mode 100644 index 74cd25d646..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreGiftCardsRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { GiftCard } from "./GiftCard" - -/** - * The gift card's details. - */ -export interface StoreGiftCardsRes { - /** - * Gift card details. - */ - gift_card: GiftCard -} diff --git a/packages/generated/client-types/src/lib/models/StoreOrderEditsRes.ts b/packages/generated/client-types/src/lib/models/StoreOrderEditsRes.ts deleted file mode 100644 index a9d1b10f43..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreOrderEditsRes.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { LineItem } from "./LineItem" -import type { OrderEdit } from "./OrderEdit" -import type { OrderItemChange } from "./OrderItemChange" - -/** - * The order edit's details. - */ -export interface StoreOrderEditsRes { - /** - * Order edit details. - */ - order_edit: Merge< - SetRelation< - OrderEdit, - | "changes" - | "items" - | "payment_collection" - | "difference_due" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - >, - { - changes: Array< - Merge< - SetRelation, - { - line_item: SetRelation - original_line_item: SetRelation - } - > - > - items: Array< - SetRelation< - LineItem, - | "adjustments" - | "tax_lines" - | "variant" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - > - > - } - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreOrdersRes.ts b/packages/generated/client-types/src/lib/models/StoreOrdersRes.ts deleted file mode 100644 index ad419f1a6c..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreOrdersRes.ts +++ /dev/null @@ -1,134 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ClaimOrder } from "./ClaimOrder" -import type { Discount } from "./Discount" -import type { Fulfillment } from "./Fulfillment" -import type { GiftCardTransaction } from "./GiftCardTransaction" -import type { LineItem } from "./LineItem" -import type { Order } from "./Order" -import type { Product } from "./Product" -import type { ProductVariant } from "./ProductVariant" -import type { Region } from "./Region" -import type { ShippingMethod } from "./ShippingMethod" -import type { Swap } from "./Swap" - -/** - * The order's details. - */ -export interface StoreOrdersRes { - /** - * Order details. - */ - order: Merge< - SetRelation< - Order, - | "customer" - | "discounts" - | "fulfillments" - | "items" - | "payments" - | "region" - | "shipping_address" - | "shipping_methods" - | "discount_total" - | "gift_card_tax_total" - | "gift_card_total" - | "paid_total" - | "refundable_amount" - | "refunded_total" - | "shipping_total" - | "subtotal" - | "tax_total" - | "total" - | "claims" - | "swaps" - | "gift_card_transactions" - | "gift_cards" - | "refunds" - >, - { - discounts: Array> - fulfillments: Array> - items: Array< - Merge< - SetRelation< - LineItem, - | "variant" - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - >, - { - variant: Merge< - SetRelation, - { - product: SetRelation - } - > - } - > - > - region: SetRelation - shipping_methods: Array< - SetRelation - > - claims: Array< - Merge< - SetRelation, - { - additional_items: Array< - SetRelation< - LineItem, - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - > - > - } - > - > - swaps: Array< - Merge< - SetRelation, - { - additional_items: Array< - SetRelation< - LineItem, - | "discount_total" - | "gift_card_total" - | "original_tax_total" - | "original_total" - | "refundable" - | "subtotal" - | "tax_total" - | "total" - | "adjustments" - | "tax_lines" - > - > - } - > - > - gift_card_transactions: Array< - SetRelation - > - } - > -} diff --git a/packages/generated/client-types/src/lib/models/StorePaymentCollectionSessionsReq.ts b/packages/generated/client-types/src/lib/models/StorePaymentCollectionSessionsReq.ts deleted file mode 100644 index 23a7eb8c7b..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePaymentCollectionSessionsReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the payment session to manage. - */ -export interface StorePaymentCollectionSessionsReq { - /** - * The ID of the Payment Provider. - */ - provider_id: string -} diff --git a/packages/generated/client-types/src/lib/models/StorePaymentCollectionsRes.ts b/packages/generated/client-types/src/lib/models/StorePaymentCollectionsRes.ts deleted file mode 100644 index a17e4a5a4c..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePaymentCollectionsRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PaymentCollection } from "./PaymentCollection" -import type { Region } from "./Region" - -/** - * The payment collection's details. - */ -export interface StorePaymentCollectionsRes { - /** - * Payment collection's details. - */ - payment_collection: Merge< - SetRelation, - { - region: SetRelation - } - > -} diff --git a/packages/generated/client-types/src/lib/models/StorePaymentCollectionsSessionRes.ts b/packages/generated/client-types/src/lib/models/StorePaymentCollectionsSessionRes.ts deleted file mode 100644 index 22a813c152..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePaymentCollectionsSessionRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PaymentSession } from "./PaymentSession" - -/** - * The details of the payment session. - */ -export interface StorePaymentCollectionsSessionRes { - /** - * Payment session's details. - */ - payment_session: PaymentSession -} diff --git a/packages/generated/client-types/src/lib/models/StorePostAuthReq.ts b/packages/generated/client-types/src/lib/models/StorePostAuthReq.ts deleted file mode 100644 index 078dc07d79..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostAuthReq.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StorePostAuthReq { - /** - * The Customer's email. - */ - email: string - /** - * The Customer's password. - */ - password: string -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCartReq.ts b/packages/generated/client-types/src/lib/models/StorePostCartReq.ts deleted file mode 100644 index fa74aa03f8..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCartReq.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the cart to be created. - */ -export interface StorePostCartReq { - /** - * The ID of the Region to create the Cart in. Setting the cart's region can affect the pricing of the items in the cart as well as the used currency. If this parameter is not provided, the first region in the store is used by default. - */ - region_id?: string - /** - * The ID of the Sales channel to create the Cart in. The cart's sales channel affects which products can be added to the cart. If a product does not exist in the cart's sales channel, it cannot be added to the cart. If you add a publishable API key in the header of this request and specify a sales channel ID, the specified sales channel must be within the scope of the publishable API key's resources. If you add a publishable API key in the header of this request, you don't specify a sales channel ID, and the publishable API key is associated with one sales channel, that sales channel will be attached to the cart. If no sales channel is passed and no publishable API key header is passed or the publishable API key isn't associated with any sales channel, the cart will not be associated with any sales channel. - */ - sales_channel_id?: string - /** - * The two character ISO country code to create the Cart in. Setting this parameter will set the country code of the shipping address. - */ - country_code?: string - /** - * An array of product variants to generate line items from. - */ - items?: Array<{ - /** - * The ID of the Product Variant. - */ - variant_id: string - /** - * The quantity to add into the cart. - */ - quantity: number - }> - /** - * An object to provide context to the Cart. The `context` field is automatically populated with `ip` and `user_agent` - */ - context?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCartsCartLineItemsItemReq.ts b/packages/generated/client-types/src/lib/models/StorePostCartsCartLineItemsItemReq.ts deleted file mode 100644 index 4a6ed016a9..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCartsCartLineItemsItemReq.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details to update of the line item. - */ -export interface StorePostCartsCartLineItemsItemReq { - /** - * The quantity of the line item in the cart. - */ - quantity: number - /** - * An optional key-value map with additional details about the Line Item. If omitted, the metadata will remain unchanged." - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCartsCartLineItemsReq.ts b/packages/generated/client-types/src/lib/models/StorePostCartsCartLineItemsReq.ts deleted file mode 100644 index c5a64dbb2c..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCartsCartLineItemsReq.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the line item to create. - */ -export interface StorePostCartsCartLineItemsReq { - /** - * The id of the Product Variant to generate the Line Item from. - */ - variant_id: string - /** - * The quantity of the Product Variant to add to the Line Item. - */ - quantity: number - /** - * An optional key-value map with additional details about the Line Item. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCartsCartPaymentSessionReq.ts b/packages/generated/client-types/src/lib/models/StorePostCartsCartPaymentSessionReq.ts deleted file mode 100644 index 34eff65f0d..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCartsCartPaymentSessionReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the payment session to set. - */ -export interface StorePostCartsCartPaymentSessionReq { - /** - * The ID of the Payment Provider. - */ - provider_id: string -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCartsCartPaymentSessionUpdateReq.ts b/packages/generated/client-types/src/lib/models/StorePostCartsCartPaymentSessionUpdateReq.ts deleted file mode 100644 index 7cf318127e..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCartsCartPaymentSessionUpdateReq.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StorePostCartsCartPaymentSessionUpdateReq { - /** - * The data to update the payment session with. - */ - data: Record -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCartsCartReq.ts b/packages/generated/client-types/src/lib/models/StorePostCartsCartReq.ts deleted file mode 100644 index a4f2190ccb..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCartsCartReq.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { AddressPayload } from "./AddressPayload" - -/** - * The details to update of the cart. - */ -export interface StorePostCartsCartReq { - /** - * The ID of the Region to create the Cart in. Setting the cart's region can affect the pricing of the items in the cart as well as the used currency. - */ - region_id?: string - /** - * The 2 character ISO country code to create the Cart in. Setting this parameter will set the country code of the shipping address. - */ - country_code?: string - /** - * An email to be used on the Cart. - */ - email?: string - /** - * The ID of the Sales channel to create the Cart in. The cart's sales channel affects which products can be added to the cart. If a product does not exist in the cart's sales channel, it cannot be added to the cart. If you add a publishable API key in the header of this request and specify a sales channel ID, the specified sales channel must be within the scope of the publishable API key's resources. - */ - sales_channel_id?: string - /** - * The Address to be used for billing purposes. - */ - billing_address?: AddressPayload | string - /** - * The Address to be used for shipping purposes. - */ - shipping_address?: AddressPayload | string - /** - * An array of Gift Card codes to add to the Cart. - */ - gift_cards?: Array<{ - /** - * The code of a gift card. - */ - code: string - }> - /** - * An array of Discount codes to add to the Cart. - */ - discounts?: Array<{ - /** - * The code of the discount. - */ - code: string - }> - /** - * The ID of the Customer to associate the Cart with. - */ - customer_id?: string - /** - * An object to provide context to the Cart. The `context` field is automatically populated with `ip` and `user_agent` - */ - context?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCartsCartShippingMethodReq.ts b/packages/generated/client-types/src/lib/models/StorePostCartsCartShippingMethodReq.ts deleted file mode 100644 index 56d2731d3f..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCartsCartShippingMethodReq.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the shipping method to add to the cart. - */ -export interface StorePostCartsCartShippingMethodReq { - /** - * ID of the shipping option to create the method from. - */ - option_id: string - /** - * Used to hold any data that the shipping method may need to process the fulfillment of the order. This depends on the fulfillment provider you're using. - */ - data?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAcceptClaimReq.ts b/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAcceptClaimReq.ts deleted file mode 100644 index 1f484090df..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAcceptClaimReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details necessary to grant order access. - */ -export interface StorePostCustomersCustomerAcceptClaimReq { - /** - * The claim token generated by previous request to the Claim Order API Route. - */ - token: string -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAddressesAddressReq.ts b/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAddressesAddressReq.ts deleted file mode 100644 index 843bc616f7..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAddressesAddressReq.ts +++ /dev/null @@ -1,8 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { AddressPayload } from "./AddressPayload" - -export type StorePostCustomersCustomerAddressesAddressReq = AddressPayload diff --git a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAddressesReq.ts b/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAddressesReq.ts deleted file mode 100644 index 9e92136192..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerAddressesReq.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { AddressCreatePayload } from "./AddressCreatePayload" - -export interface StorePostCustomersCustomerAddressesReq { - /** - * The Address to add to the Customer's saved addresses. - */ - address: AddressCreatePayload -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerOrderClaimReq.ts b/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerOrderClaimReq.ts deleted file mode 100644 index 8af4b21bbd..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerOrderClaimReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the orders to claim. - */ -export interface StorePostCustomersCustomerOrderClaimReq { - /** - * The ID of the orders to claim - */ - order_ids: Array -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerPasswordTokenReq.ts b/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerPasswordTokenReq.ts deleted file mode 100644 index be2d931a2b..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerPasswordTokenReq.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StorePostCustomersCustomerPasswordTokenReq { - /** - * The customer's email. - */ - email: string -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerReq.ts b/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerReq.ts deleted file mode 100644 index 7077fd87c1..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCustomersCustomerReq.ts +++ /dev/null @@ -1,40 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { AddressPayload } from "./AddressPayload" - -/** - * The details to update of the customer. - */ -export interface StorePostCustomersCustomerReq { - /** - * The customer's first name. - */ - first_name?: string - /** - * The customer's last name. - */ - last_name?: string - /** - * The address to be used for billing purposes. - */ - billing_address?: AddressPayload | string - /** - * The customer's password. - */ - password?: string - /** - * The customer's phone number. - */ - phone?: string - /** - * The customer's email. - */ - email?: string - /** - * Additional custom data about the customer. - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCustomersReq.ts b/packages/generated/client-types/src/lib/models/StorePostCustomersReq.ts deleted file mode 100644 index 015ee9dc27..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCustomersReq.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the customer to create. - */ -export interface StorePostCustomersReq { - /** - * The customer's first name. - */ - first_name: string - /** - * The customer's last name. - */ - last_name: string - /** - * The customer's email. - */ - email: string - /** - * The customer's password. - */ - password: string - /** - * The customer's phone number. - */ - phone?: string -} diff --git a/packages/generated/client-types/src/lib/models/StorePostCustomersResetPasswordReq.ts b/packages/generated/client-types/src/lib/models/StorePostCustomersResetPasswordReq.ts deleted file mode 100644 index 92cf441061..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostCustomersResetPasswordReq.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StorePostCustomersResetPasswordReq { - /** - * The customer's email. - */ - email: string - /** - * The customer's password. - */ - password: string - /** - * The reset password token - */ - token: string -} diff --git a/packages/generated/client-types/src/lib/models/StorePostOrderEditsOrderEditDecline.ts b/packages/generated/client-types/src/lib/models/StorePostOrderEditsOrderEditDecline.ts deleted file mode 100644 index 078fcd90b4..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostOrderEditsOrderEditDecline.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the order edit's decline. - */ -export interface StorePostOrderEditsOrderEditDecline { - /** - * The reason for declining the Order Edit. - */ - declined_reason?: string -} diff --git a/packages/generated/client-types/src/lib/models/StorePostPaymentCollectionsBatchSessionsAuthorizeReq.ts b/packages/generated/client-types/src/lib/models/StorePostPaymentCollectionsBatchSessionsAuthorizeReq.ts deleted file mode 100644 index 8cc278f3ef..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostPaymentCollectionsBatchSessionsAuthorizeReq.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the payment sessions to authorize. - */ -export interface StorePostPaymentCollectionsBatchSessionsAuthorizeReq { - /** - * List of Payment Session IDs to authorize. - */ - session_ids: Array -} diff --git a/packages/generated/client-types/src/lib/models/StorePostPaymentCollectionsBatchSessionsReq.ts b/packages/generated/client-types/src/lib/models/StorePostPaymentCollectionsBatchSessionsReq.ts deleted file mode 100644 index c2d6ace23b..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostPaymentCollectionsBatchSessionsReq.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the payment sessions to manage. - */ -export interface StorePostPaymentCollectionsBatchSessionsReq { - /** - * Payment sessions related to the Payment Collection. Existing sessions that are not added in this array will be deleted. - */ - sessions: Array<{ - /** - * The ID of the Payment Provider. - */ - provider_id: string - /** - * The payment amount - */ - amount: number - /** - * The ID of the Payment Session to be updated. If no ID is provided, a new payment session is created. - */ - session_id?: string - }> -} diff --git a/packages/generated/client-types/src/lib/models/StorePostReturnsReq.ts b/packages/generated/client-types/src/lib/models/StorePostReturnsReq.ts deleted file mode 100644 index 339aa64c90..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostReturnsReq.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the return to create. - */ -export interface StorePostReturnsReq { - /** - * The ID of the Order to create the return for. - */ - order_id: string - /** - * The items to include in the return. - */ - items: Array<{ - /** - * The ID of the line item to return. - */ - item_id: string - /** - * The quantity to return. - */ - quantity: number - /** - * The ID of the return reason. Return reasons can be retrieved from the List Return Reasons API Route. - */ - reason_id?: string - /** - * A note to add to the item returned. - */ - note?: string - }> - /** - * The return shipping method used to return the items. If provided, a fulfillment is automatically created for the return. - */ - return_shipping?: { - /** - * The ID of the Shipping Option to create the Shipping Method from. - */ - option_id: string - } -} diff --git a/packages/generated/client-types/src/lib/models/StorePostSearchReq.ts b/packages/generated/client-types/src/lib/models/StorePostSearchReq.ts deleted file mode 100644 index 43a38a254b..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostSearchReq.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -export interface StorePostSearchReq { - /** - * The search query. - */ - q?: string - /** - * The number of products to skip when retrieving the products. - */ - offset?: number - /** - * Limit the number of products returned. - */ - limit?: number - /** - * Pass filters based on the search service. - */ - filter?: any -} diff --git a/packages/generated/client-types/src/lib/models/StorePostSearchRes.ts b/packages/generated/client-types/src/lib/models/StorePostSearchRes.ts deleted file mode 100644 index d0f0c60b18..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostSearchRes.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The list of search results. - */ -export type StorePostSearchRes = { - /** - * Array of search results. The format of the items depends on the search engine installed on the Medusa backend. - */ - hits: any[] -} & Record diff --git a/packages/generated/client-types/src/lib/models/StorePostSwapsReq.ts b/packages/generated/client-types/src/lib/models/StorePostSwapsReq.ts deleted file mode 100644 index 16e788ea23..0000000000 --- a/packages/generated/client-types/src/lib/models/StorePostSwapsReq.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * The details of the swap to create. - */ -export interface StorePostSwapsReq { - /** - * The ID of the Order to create the Swap for. - */ - order_id: string - /** - * The items to include in the Return. - */ - return_items: Array<{ - /** - * The ID of the order's line item to return. - */ - item_id: string - /** - * The quantity to return. - */ - quantity: number - /** - * The ID of the reason of this return. Return reasons can be retrieved from the List Return Reasons API Route. - */ - reason_id?: string - /** - * The note to add to the item being swapped. - */ - note?: string - }> - /** - * The ID of the Shipping Option to create the Shipping Method from. - */ - return_shipping_option?: string - /** - * The items to exchange the returned items with. - */ - additional_items: Array<{ - /** - * The ID of the Product Variant. - */ - variant_id: string - /** - * The quantity of the variant. - */ - quantity: number - }> -} diff --git a/packages/generated/client-types/src/lib/models/StoreProductTagsListRes.ts b/packages/generated/client-types/src/lib/models/StoreProductTagsListRes.ts deleted file mode 100644 index 83dc07cdeb..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreProductTagsListRes.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductTag } from "./ProductTag" - -/** - * The list of product tags with pagination fields. - */ -export interface StoreProductTagsListRes { - /** - * An array of product tags details. - */ - product_tags: Array - /** - * The total number of items available - */ - count: number - /** - * The number of product tags skipped when retrieving the product tags. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/StoreProductTypesListRes.ts b/packages/generated/client-types/src/lib/models/StoreProductTypesListRes.ts deleted file mode 100644 index bf31a43235..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreProductTypesListRes.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ProductType } from "./ProductType" - -export interface StoreProductTypesListRes { - /** - * An array of product types details. - */ - product_types: Array - /** - * The total number of items available - */ - count: number - /** - * The number of product types skipped when retrieving the product types. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/StoreProductsListRes.ts b/packages/generated/client-types/src/lib/models/StoreProductsListRes.ts deleted file mode 100644 index 5bcc694bea..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreProductsListRes.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedProduct } from "./PricedProduct" -import type { ProductOption } from "./ProductOption" -import type { ProductVariant } from "./ProductVariant" - -/** - * The list of products with pagination fields. - */ -export interface StoreProductsListRes { - /** - * An array of products details. - */ - products: Array< - Merge< - SetRelation< - PricedProduct, - "collection" | "images" | "options" | "tags" | "type" | "variants" - >, - { - options: Array> - variants: Array< - SetRelation - > - } - > - > - /** - * The total number of items available - */ - count: number - /** - * The number of products skipped when retrieving the products. - */ - offset: number - /** - * The number of items per page - */ - limit: number -} diff --git a/packages/generated/client-types/src/lib/models/StoreProductsRes.ts b/packages/generated/client-types/src/lib/models/StoreProductsRes.ts deleted file mode 100644 index 63e33759d0..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreProductsRes.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedProduct } from "./PricedProduct" -import type { ProductOption } from "./ProductOption" -import type { ProductVariant } from "./ProductVariant" - -export interface StoreProductsRes { - /** - * Product details. - */ - product: Merge< - SetRelation< - PricedProduct, - "collection" | "images" | "options" | "tags" | "type" | "variants" - >, - { - options: Array> - variants: Array< - SetRelation - > - } - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreRegionsListRes.ts b/packages/generated/client-types/src/lib/models/StoreRegionsListRes.ts deleted file mode 100644 index 245a42f772..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreRegionsListRes.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Region } from "./Region" - -/** - * The list of regions with pagination fields. - */ -export interface StoreRegionsListRes { - /** - * An array of regions details. - */ - regions: Array< - SetRelation< - Region, - "countries" | "payment_providers" | "fulfillment_providers" - > - > - /** - * The total number of items available - */ - count?: number - /** - * The number of regions skipped when retrieving the regions. - */ - offset?: number - /** - * The number of items per page - */ - limit?: number -} diff --git a/packages/generated/client-types/src/lib/models/StoreRegionsRes.ts b/packages/generated/client-types/src/lib/models/StoreRegionsRes.ts deleted file mode 100644 index 54ff688b3c..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreRegionsRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Region } from "./Region" - -/** - * The region's details. - */ -export interface StoreRegionsRes { - /** - * Region details. - */ - region: SetRelation< - Region, - "countries" | "payment_providers" | "fulfillment_providers" - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreReturnReasonsListRes.ts b/packages/generated/client-types/src/lib/models/StoreReturnReasonsListRes.ts deleted file mode 100644 index 5ca67a4916..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreReturnReasonsListRes.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ReturnReason } from "./ReturnReason" - -/** - * The list of return reasons. - */ -export interface StoreReturnReasonsListRes { - /** - * An array of return reasons details. - */ - return_reasons: Array< - SetRelation - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreReturnReasonsRes.ts b/packages/generated/client-types/src/lib/models/StoreReturnReasonsRes.ts deleted file mode 100644 index 277f7a26ad..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreReturnReasonsRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ReturnReason } from "./ReturnReason" - -/** - * The return reason's details. - */ -export interface StoreReturnReasonsRes { - /** - * Return reason details. - */ - return_reason: SetRelation< - ReturnReason, - "parent_return_reason" | "return_reason_children" - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreReturnsRes.ts b/packages/generated/client-types/src/lib/models/StoreReturnsRes.ts deleted file mode 100644 index 14867f07a3..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreReturnsRes.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Return } from "./Return" -import type { ReturnItem } from "./ReturnItem" - -/** - * The return's details. - */ -export interface StoreReturnsRes { - /** - * Return details. - */ - return: Merge< - SetRelation, - { - items: Array> - } - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreShippingOptionsListRes.ts b/packages/generated/client-types/src/lib/models/StoreShippingOptionsListRes.ts deleted file mode 100644 index 48934bfb06..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreShippingOptionsListRes.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedShippingOption } from "./PricedShippingOption" - -/** - * The list of shipping options. - */ -export interface StoreShippingOptionsListRes { - /** - * An array of shipping options details. - */ - shipping_options: Array> -} diff --git a/packages/generated/client-types/src/lib/models/StoreSwapsRes.ts b/packages/generated/client-types/src/lib/models/StoreSwapsRes.ts deleted file mode 100644 index e800556b65..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreSwapsRes.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Fulfillment } from "./Fulfillment" -import type { LineItem } from "./LineItem" -import type { Return } from "./Return" -import type { Swap } from "./Swap" - -/** - * The swap's details. - */ -export interface StoreSwapsRes { - /** - * Swap details. - */ - swap: Merge< - SetRelation< - Swap, - | "additional_items" - | "cart" - | "fulfillments" - | "order" - | "payment" - | "return_order" - | "shipping_address" - | "shipping_methods" - >, - { - additional_items: Array> - fulfillments: Array> - return_order: SetRelation - } - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreVariantsListRes.ts b/packages/generated/client-types/src/lib/models/StoreVariantsListRes.ts deleted file mode 100644 index 65e99145ea..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreVariantsListRes.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedVariant } from "./PricedVariant" - -/** - * The list of product variants. - */ -export interface StoreVariantsListRes { - /** - * An array of product variant descriptions. - */ - variants: Array< - SetRelation - > -} diff --git a/packages/generated/client-types/src/lib/models/StoreVariantsRes.ts b/packages/generated/client-types/src/lib/models/StoreVariantsRes.ts deleted file mode 100644 index dc6287fe5f..0000000000 --- a/packages/generated/client-types/src/lib/models/StoreVariantsRes.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { PricedVariant } from "./PricedVariant" - -/** - * The product variant's details. - */ -export interface StoreVariantsRes { - /** - * Product variant description. - */ - variant: SetRelation< - PricedVariant, - "prices" | "options" | "product" | "purchasable" - > -} diff --git a/packages/generated/client-types/src/lib/models/Swap.ts b/packages/generated/client-types/src/lib/models/Swap.ts deleted file mode 100644 index c2eb154c9f..0000000000 --- a/packages/generated/client-types/src/lib/models/Swap.ts +++ /dev/null @@ -1,130 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Address } from "./Address" -import type { Cart } from "./Cart" -import type { Fulfillment } from "./Fulfillment" -import type { LineItem } from "./LineItem" -import type { Order } from "./Order" -import type { Payment } from "./Payment" -import type { Return } from "./Return" -import type { ShippingMethod } from "./ShippingMethod" - -/** - * A swap can be created when a Customer wishes to exchange Products that they have purchased with different Products. It consists of a Return of previously purchased Products and a Fulfillment of new Products. It also includes information on any additional payment or refund required based on the difference between the exchanged products. - */ -export interface Swap { - /** - * The swap's ID - */ - id: string - /** - * The status of the Fulfillment of the Swap. - */ - fulfillment_status: - | "not_fulfilled" - | "fulfilled" - | "shipped" - | "partially_shipped" - | "canceled" - | "requires_action" - /** - * The status of the Payment of the Swap. The payment may either refer to the refund of an amount or the authorization of a new amount. - */ - payment_status: - | "not_paid" - | "awaiting" - | "captured" - | "confirmed" - | "canceled" - | "difference_refunded" - | "partially_refunded" - | "refunded" - | "requires_action" - /** - * The ID of the order that the swap belongs to. - */ - order_id: string - /** - * The details of the order that the swap belongs to. - */ - order?: Order | null - /** - * The details of the new products to send to the customer, represented as line items. - */ - additional_items?: Array - /** - * The details of the return that belongs to the swap, which holds the details on the items being returned. - */ - return_order?: Return | null - /** - * The details of the fulfillments that are used to send the new items to the customer. - */ - fulfillments?: Array - /** - * The details of the additional payment authorized by the customer when `difference_due` is positive. - */ - payment?: Payment | null - /** - * The difference amount between the order’s original total and the new total imposed by the swap. If its value is negative, a refund must be issues to the customer. If it's positive, additional payment must be authorized by the customer. Otherwise, no payment processing is required. - */ - difference_due: number | null - /** - * The Address to send the new Line Items to - in most cases this will be the same as the shipping address on the Order. - */ - shipping_address_id: string | null - /** - * The details of the shipping address that the new items should be sent to. - */ - shipping_address?: Address | null - /** - * The details of the shipping methods used to fulfill the additional items purchased. - */ - shipping_methods?: Array - /** - * The ID of the cart that the customer uses to complete the swap. - */ - cart_id: string | null - /** - * The details of the cart that the customer uses to complete the swap. - */ - cart?: Cart | null - /** - * The date with timezone at which the Swap was confirmed by the Customer. - */ - confirmed_at: string | null - /** - * The date with timezone at which the Swap was canceled. - */ - canceled_at: string | null - /** - * If set to true, no notification will be sent related to this swap - */ - no_notification: boolean | null - /** - * If true, swaps can be completed with items out of stock - */ - allow_backorder: boolean - /** - * Randomly generated key used to continue the completion of the swap in case of failure. - */ - idempotency_key: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/TaxLine.ts b/packages/generated/client-types/src/lib/models/TaxLine.ts deleted file mode 100644 index 8fd51f6c8b..0000000000 --- a/packages/generated/client-types/src/lib/models/TaxLine.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A tax line represents the taxes amount applied to a line item. - */ -export interface TaxLine { - /** - * The tax line's ID - */ - id: string - /** - * A code to identify the tax type by - */ - code: string | null - /** - * A human friendly name for the tax - */ - name: string - /** - * The numeric rate to charge tax by - */ - rate: number - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/TaxProvider.ts b/packages/generated/client-types/src/lib/models/TaxProvider.ts deleted file mode 100644 index 3c53bbf0ce..0000000000 --- a/packages/generated/client-types/src/lib/models/TaxProvider.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A tax provider represents a tax service installed in the Medusa backend, either through a plugin or backend customizations. It holds the tax service's installation status. - */ -export interface TaxProvider { - /** - * The ID of the tax provider as given by the tax service. - */ - id: string - /** - * Whether the tax service is installed in the current version. If a tax service is no longer installed, the `is_installed` attribute is set to `false`. - */ - is_installed: boolean -} diff --git a/packages/generated/client-types/src/lib/models/TaxRate.ts b/packages/generated/client-types/src/lib/models/TaxRate.ts deleted file mode 100644 index b04640f40a..0000000000 --- a/packages/generated/client-types/src/lib/models/TaxRate.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Product } from "./Product" -import type { ProductType } from "./ProductType" -import type { Region } from "./Region" -import type { ShippingOption } from "./ShippingOption" - -/** - * A Tax Rate can be used to define a custom rate to charge on specified products, product types, and shipping options within a given region. - */ -export interface TaxRate { - /** - * The tax rate's ID - */ - id: string - /** - * The numeric rate to charge - */ - rate: number | null - /** - * A code to identify the tax type by - */ - code: string | null - /** - * A human friendly name for the tax - */ - name: string - /** - * The ID of the region that the rate belongs to. - */ - region_id: string - /** - * The details of the region that the rate belongs to. - */ - region?: Region | null - /** - * The details of the products that belong to this tax rate. - */ - products?: Array - /** - * The details of the product types that belong to this tax rate. - */ - product_types?: Array - /** - * The details of the shipping options that belong to this tax rate. - */ - shipping_options?: Array - /** - * The count of products - */ - product_count?: number - /** - * The count of product types - */ - product_type_count?: number - /** - * The count of shipping options - */ - shipping_option_count?: number - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/TrackingLink.ts b/packages/generated/client-types/src/lib/models/TrackingLink.ts deleted file mode 100644 index ca9b84eaba..0000000000 --- a/packages/generated/client-types/src/lib/models/TrackingLink.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { Fulfillment } from "./Fulfillment" - -/** - * A tracking link holds information about tracking numbers for a Fulfillment. Tracking Links can optionally contain a URL that can be visited to see the status of the shipment. Typically, the tracking link is provided from the third-party service integrated through the used fulfillment provider. - */ -export interface TrackingLink { - /** - * The tracking link's ID - */ - id: string - /** - * The URL at which the status of the shipment can be tracked. - */ - url: string | null - /** - * The tracking number given by the shipping carrier. - */ - tracking_number: string - /** - * The ID of the fulfillment that the tracking link belongs to. - */ - fulfillment_id: string - /** - * The details of the fulfillment that the tracking link belongs to. - */ - fulfillment?: Fulfillment | null - /** - * Randomly generated key used to continue the completion of a process in case of failure. - */ - idempotency_key: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/UpdateStockLocationInput.ts b/packages/generated/client-types/src/lib/models/UpdateStockLocationInput.ts deleted file mode 100644 index dca10c5726..0000000000 --- a/packages/generated/client-types/src/lib/models/UpdateStockLocationInput.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { StockLocationAddressInput } from "./StockLocationAddressInput" - -/** - * Represents the Input to update a Stock Location - */ -export interface UpdateStockLocationInput { - /** - * The stock location name - */ - name?: string - /** - * The Stock location address ID - */ - address_id?: string - /** - * Stock location address object - */ - address?: StockLocationAddressInput & Record - /** - * An optional key-value map with additional details - */ - metadata?: Record -} diff --git a/packages/generated/client-types/src/lib/models/User.ts b/packages/generated/client-types/src/lib/models/User.ts deleted file mode 100644 index 6f9d9ec830..0000000000 --- a/packages/generated/client-types/src/lib/models/User.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -/** - * A User is an administrator who can manage store settings and data. - */ -export interface User { - /** - * The user's ID - */ - id: string - /** - * The user's role. These roles don't provide any different privileges. - */ - role: "admin" | "member" | "developer" - /** - * The email of the User - */ - email: string - /** - * The first name of the User - */ - first_name: string | null - /** - * The last name of the User - */ - last_name: string | null - /** - * An API token associated with the user. - */ - api_token: string | null - /** - * The date with timezone at which the resource was created. - */ - created_at: string - /** - * The date with timezone at which the resource was updated. - */ - updated_at: string - /** - * The date with timezone at which the resource was deleted. - */ - deleted_at: string | null - /** - * An optional key-value map with additional details - */ - metadata: Record | null -} diff --git a/packages/generated/client-types/src/lib/models/VariantInventory.ts b/packages/generated/client-types/src/lib/models/VariantInventory.ts deleted file mode 100644 index 22dfa305cf..0000000000 --- a/packages/generated/client-types/src/lib/models/VariantInventory.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -import { SetRelation, Merge } from "../core/ModelUtils" - -import type { ResponseInventoryItem } from "./ResponseInventoryItem" - -export interface VariantInventory { - /** - * the ID of the variant - */ - id: string - /** - * The inventory details. - */ - inventory: ResponseInventoryItem - /** - * Details about the variant's inventory availability in sales channels. - */ - sales_channel_availability: Array<{ - /** - * Sales channel's name - */ - channel_name: string - /** - * Sales channel's ID - */ - channel_id: string - /** - * Available quantity in the sales channel - */ - available_quantity: number - }> -} diff --git a/packages/generated/client-types/src/lib/models/index.ts b/packages/generated/client-types/src/lib/models/index.ts deleted file mode 100644 index af37b1c8e8..0000000000 --- a/packages/generated/client-types/src/lib/models/index.ts +++ /dev/null @@ -1,478 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ -export type { Address } from "./Address" -export type { AddressCreatePayload } from "./AddressCreatePayload" -export type { AddressPayload } from "./AddressPayload" -export type { AdminAppsListRes } from "./AdminAppsListRes" -export type { AdminAppsRes } from "./AdminAppsRes" -export type { AdminAuthRes } from "./AdminAuthRes" -export type { AdminBatchJobListRes } from "./AdminBatchJobListRes" -export type { AdminBatchJobRes } from "./AdminBatchJobRes" -export type { AdminBearerAuthRes } from "./AdminBearerAuthRes" -export type { AdminCollectionsDeleteRes } from "./AdminCollectionsDeleteRes" -export type { AdminCollectionsListRes } from "./AdminCollectionsListRes" -export type { AdminCollectionsRes } from "./AdminCollectionsRes" -export type { AdminCreateUserRequest } from "./AdminCreateUserRequest" -export type { AdminCurrenciesListRes } from "./AdminCurrenciesListRes" -export type { AdminCurrenciesRes } from "./AdminCurrenciesRes" -export type { AdminCustomerGroupsDeleteRes } from "./AdminCustomerGroupsDeleteRes" -export type { AdminCustomerGroupsListRes } from "./AdminCustomerGroupsListRes" -export type { AdminCustomerGroupsRes } from "./AdminCustomerGroupsRes" -export type { AdminCustomersListRes } from "./AdminCustomersListRes" -export type { AdminCustomersRes } from "./AdminCustomersRes" -export type { AdminDeleteCustomerGroupsGroupCustomerBatchReq } from "./AdminDeleteCustomerGroupsGroupCustomerBatchReq" -export type { AdminDeleteDiscountsDiscountConditionsConditionBatchReq } from "./AdminDeleteDiscountsDiscountConditionsConditionBatchReq" -export type { AdminDeleteDiscountsDiscountConditionsConditionParams } from "./AdminDeleteDiscountsDiscountConditionsConditionParams" -export type { AdminDeletePriceListPricesPricesReq } from "./AdminDeletePriceListPricesPricesReq" -export type { AdminDeletePriceListsPriceListProductsPricesBatchReq } from "./AdminDeletePriceListsPriceListProductsPricesBatchReq" -export type { AdminDeleteProductCategoriesCategoryProductsBatchParams } from "./AdminDeleteProductCategoriesCategoryProductsBatchParams" -export type { AdminDeleteProductCategoriesCategoryProductsBatchReq } from "./AdminDeleteProductCategoriesCategoryProductsBatchReq" -export type { AdminDeleteProductsFromCollectionReq } from "./AdminDeleteProductsFromCollectionReq" -export type { AdminDeleteProductsFromCollectionRes } from "./AdminDeleteProductsFromCollectionRes" -export type { AdminDeletePublishableApiKeySalesChannelsBatchReq } from "./AdminDeletePublishableApiKeySalesChannelsBatchReq" -export type { AdminDeleteSalesChannelsChannelProductsBatchReq } from "./AdminDeleteSalesChannelsChannelProductsBatchReq" -export type { AdminDeleteSalesChannelsChannelStockLocationsReq } from "./AdminDeleteSalesChannelsChannelStockLocationsReq" -export type { AdminDeleteShippingProfileRes } from "./AdminDeleteShippingProfileRes" -export type { AdminDeleteTaxRatesTaxRateProductsParams } from "./AdminDeleteTaxRatesTaxRateProductsParams" -export type { AdminDeleteTaxRatesTaxRateProductsReq } from "./AdminDeleteTaxRatesTaxRateProductsReq" -export type { AdminDeleteTaxRatesTaxRateProductTypesParams } from "./AdminDeleteTaxRatesTaxRateProductTypesParams" -export type { AdminDeleteTaxRatesTaxRateProductTypesReq } from "./AdminDeleteTaxRatesTaxRateProductTypesReq" -export type { AdminDeleteTaxRatesTaxRateShippingOptionsParams } from "./AdminDeleteTaxRatesTaxRateShippingOptionsParams" -export type { AdminDeleteTaxRatesTaxRateShippingOptionsReq } from "./AdminDeleteTaxRatesTaxRateShippingOptionsReq" -export type { AdminDeleteUploadsReq } from "./AdminDeleteUploadsReq" -export type { AdminDeleteUploadsRes } from "./AdminDeleteUploadsRes" -export type { AdminDeleteUserRes } from "./AdminDeleteUserRes" -export type { AdminDiscountConditionsDeleteRes } from "./AdminDiscountConditionsDeleteRes" -export type { AdminDiscountConditionsRes } from "./AdminDiscountConditionsRes" -export type { AdminDiscountsDeleteRes } from "./AdminDiscountsDeleteRes" -export type { AdminDiscountsListRes } from "./AdminDiscountsListRes" -export type { AdminDiscountsRes } from "./AdminDiscountsRes" -export type { AdminDraftOrdersDeleteRes } from "./AdminDraftOrdersDeleteRes" -export type { AdminDraftOrdersListRes } from "./AdminDraftOrdersListRes" -export type { AdminDraftOrdersRes } from "./AdminDraftOrdersRes" -export type { AdminExtendedStoresRes } from "./AdminExtendedStoresRes" -export type { AdminGetBatchParams } from "./AdminGetBatchParams" -export type { AdminGetCollectionsParams } from "./AdminGetCollectionsParams" -export type { AdminGetCurrenciesParams } from "./AdminGetCurrenciesParams" -export type { AdminGetCustomerGroupsGroupParams } from "./AdminGetCustomerGroupsGroupParams" -export type { AdminGetCustomerGroupsParams } from "./AdminGetCustomerGroupsParams" -export type { AdminGetCustomersParams } from "./AdminGetCustomersParams" -export type { AdminGetDiscountParams } from "./AdminGetDiscountParams" -export type { AdminGetDiscountsDiscountCodeParams } from "./AdminGetDiscountsDiscountCodeParams" -export type { AdminGetDiscountsDiscountConditionsConditionParams } from "./AdminGetDiscountsDiscountConditionsConditionParams" -export type { AdminGetDiscountsParams } from "./AdminGetDiscountsParams" -export type { AdminGetDraftOrdersParams } from "./AdminGetDraftOrdersParams" -export type { AdminGetGiftCardsParams } from "./AdminGetGiftCardsParams" -export type { AdminGetGroupsGroupCustomersParams } from "./AdminGetGroupsGroupCustomersParams" -export type { AdminGetInventoryItemsItemLocationLevelsParams } from "./AdminGetInventoryItemsItemLocationLevelsParams" -export type { AdminGetInventoryItemsItemParams } from "./AdminGetInventoryItemsItemParams" -export type { AdminGetInventoryItemsParams } from "./AdminGetInventoryItemsParams" -export type { AdminGetNotesParams } from "./AdminGetNotesParams" -export type { AdminGetNotificationsParams } from "./AdminGetNotificationsParams" -export type { AdminGetOrdersOrderParams } from "./AdminGetOrdersOrderParams" -export type { AdminGetOrdersParams } from "./AdminGetOrdersParams" -export type { AdminGetPaymentCollectionsParams } from "./AdminGetPaymentCollectionsParams" -export type { AdminGetPriceListPaginationParams } from "./AdminGetPriceListPaginationParams" -export type { AdminGetPriceListsPriceListProductsParams } from "./AdminGetPriceListsPriceListProductsParams" -export type { AdminGetProductCategoriesParams } from "./AdminGetProductCategoriesParams" -export type { AdminGetProductCategoryParams } from "./AdminGetProductCategoryParams" -export type { AdminGetProductsParams } from "./AdminGetProductsParams" -export type { AdminGetProductsVariantsParams } from "./AdminGetProductsVariantsParams" -export type { AdminGetProductTagsParams } from "./AdminGetProductTagsParams" -export type { AdminGetProductTypesParams } from "./AdminGetProductTypesParams" -export type { AdminGetRegionsParams } from "./AdminGetRegionsParams" -export type { AdminGetRegionsRegionFulfillmentOptionsRes } from "./AdminGetRegionsRegionFulfillmentOptionsRes" -export type { AdminGetReservationsParams } from "./AdminGetReservationsParams" -export type { AdminGetReturnsParams } from "./AdminGetReturnsParams" -export type { AdminGetSalesChannelsParams } from "./AdminGetSalesChannelsParams" -export type { AdminGetShippingOptionsParams } from "./AdminGetShippingOptionsParams" -export type { AdminGetStockLocationsLocationParams } from "./AdminGetStockLocationsLocationParams" -export type { AdminGetStockLocationsParams } from "./AdminGetStockLocationsParams" -export type { AdminGetSwapsParams } from "./AdminGetSwapsParams" -export type { AdminGetTaxRatesParams } from "./AdminGetTaxRatesParams" -export type { AdminGetTaxRatesTaxRateParams } from "./AdminGetTaxRatesTaxRateParams" -export type { AdminGetUsersParams } from "./AdminGetUsersParams" -export type { AdminGetVariantParams } from "./AdminGetVariantParams" -export type { AdminGetVariantsParams } from "./AdminGetVariantsParams" -export type { AdminGetVariantsVariantInventoryRes } from "./AdminGetVariantsVariantInventoryRes" -export type { AdminGiftCardsDeleteRes } from "./AdminGiftCardsDeleteRes" -export type { AdminGiftCardsListRes } from "./AdminGiftCardsListRes" -export type { AdminGiftCardsRes } from "./AdminGiftCardsRes" -export type { AdminInventoryItemsDeleteRes } from "./AdminInventoryItemsDeleteRes" -export type { AdminInventoryItemsListRes } from "./AdminInventoryItemsListRes" -export type { AdminInventoryItemsListWithVariantsAndLocationLevelsRes } from "./AdminInventoryItemsListWithVariantsAndLocationLevelsRes" -export type { AdminInventoryItemsLocationLevelsRes } from "./AdminInventoryItemsLocationLevelsRes" -export type { AdminInventoryItemsRes } from "./AdminInventoryItemsRes" -export type { AdminInviteDeleteRes } from "./AdminInviteDeleteRes" -export type { AdminListInvitesRes } from "./AdminListInvitesRes" -export type { AdminNotesDeleteRes } from "./AdminNotesDeleteRes" -export type { AdminNotesListRes } from "./AdminNotesListRes" -export type { AdminNotesRes } from "./AdminNotesRes" -export type { AdminNotificationsListRes } from "./AdminNotificationsListRes" -export type { AdminNotificationsRes } from "./AdminNotificationsRes" -export type { AdminOrderEditDeleteRes } from "./AdminOrderEditDeleteRes" -export type { AdminOrderEditItemChangeDeleteRes } from "./AdminOrderEditItemChangeDeleteRes" -export type { AdminOrderEditsListRes } from "./AdminOrderEditsListRes" -export type { AdminOrderEditsRes } from "./AdminOrderEditsRes" -export type { AdminOrdersListRes } from "./AdminOrdersListRes" -export type { AdminOrdersOrderLineItemReservationReq } from "./AdminOrdersOrderLineItemReservationReq" -export type { AdminOrdersRes } from "./AdminOrdersRes" -export type { AdminPaymentCollectionDeleteRes } from "./AdminPaymentCollectionDeleteRes" -export type { AdminPaymentCollectionsRes } from "./AdminPaymentCollectionsRes" -export type { AdminPaymentProvidersList } from "./AdminPaymentProvidersList" -export type { AdminPaymentRes } from "./AdminPaymentRes" -export type { AdminPostAppsReq } from "./AdminPostAppsReq" -export type { AdminPostAuthReq } from "./AdminPostAuthReq" -export type { AdminPostBatchesReq } from "./AdminPostBatchesReq" -export type { AdminPostCollectionsCollectionReq } from "./AdminPostCollectionsCollectionReq" -export type { AdminPostCollectionsReq } from "./AdminPostCollectionsReq" -export type { AdminPostCurrenciesCurrencyReq } from "./AdminPostCurrenciesCurrencyReq" -export type { AdminPostCustomerGroupsGroupCustomersBatchReq } from "./AdminPostCustomerGroupsGroupCustomersBatchReq" -export type { AdminPostCustomerGroupsGroupReq } from "./AdminPostCustomerGroupsGroupReq" -export type { AdminPostCustomerGroupsReq } from "./AdminPostCustomerGroupsReq" -export type { AdminPostCustomersCustomerReq } from "./AdminPostCustomersCustomerReq" -export type { AdminPostCustomersReq } from "./AdminPostCustomersReq" -export type { AdminPostDiscountsDiscountConditions } from "./AdminPostDiscountsDiscountConditions" -export type { AdminPostDiscountsDiscountConditionsCondition } from "./AdminPostDiscountsDiscountConditionsCondition" -export type { AdminPostDiscountsDiscountConditionsConditionBatchParams } from "./AdminPostDiscountsDiscountConditionsConditionBatchParams" -export type { AdminPostDiscountsDiscountConditionsConditionBatchReq } from "./AdminPostDiscountsDiscountConditionsConditionBatchReq" -export type { AdminPostDiscountsDiscountConditionsConditionParams } from "./AdminPostDiscountsDiscountConditionsConditionParams" -export type { AdminPostDiscountsDiscountConditionsParams } from "./AdminPostDiscountsDiscountConditionsParams" -export type { AdminPostDiscountsDiscountDynamicCodesReq } from "./AdminPostDiscountsDiscountDynamicCodesReq" -export type { AdminPostDiscountsDiscountParams } from "./AdminPostDiscountsDiscountParams" -export type { AdminPostDiscountsDiscountReq } from "./AdminPostDiscountsDiscountReq" -export type { AdminPostDiscountsParams } from "./AdminPostDiscountsParams" -export type { AdminPostDiscountsReq } from "./AdminPostDiscountsReq" -export type { AdminPostDraftOrdersDraftOrderLineItemsItemReq } from "./AdminPostDraftOrdersDraftOrderLineItemsItemReq" -export type { AdminPostDraftOrdersDraftOrderLineItemsReq } from "./AdminPostDraftOrdersDraftOrderLineItemsReq" -export type { AdminPostDraftOrdersDraftOrderRegisterPaymentRes } from "./AdminPostDraftOrdersDraftOrderRegisterPaymentRes" -export type { AdminPostDraftOrdersDraftOrderReq } from "./AdminPostDraftOrdersDraftOrderReq" -export type { AdminPostDraftOrdersReq } from "./AdminPostDraftOrdersReq" -export type { AdminPostGiftCardsGiftCardReq } from "./AdminPostGiftCardsGiftCardReq" -export type { AdminPostGiftCardsReq } from "./AdminPostGiftCardsReq" -export type { AdminPostInventoryItemsInventoryItemParams } from "./AdminPostInventoryItemsInventoryItemParams" -export type { AdminPostInventoryItemsInventoryItemReq } from "./AdminPostInventoryItemsInventoryItemReq" -export type { AdminPostInventoryItemsItemLocationLevelsLevelParams } from "./AdminPostInventoryItemsItemLocationLevelsLevelParams" -export type { AdminPostInventoryItemsItemLocationLevelsLevelReq } from "./AdminPostInventoryItemsItemLocationLevelsLevelReq" -export type { AdminPostInventoryItemsItemLocationLevelsParams } from "./AdminPostInventoryItemsItemLocationLevelsParams" -export type { AdminPostInventoryItemsItemLocationLevelsReq } from "./AdminPostInventoryItemsItemLocationLevelsReq" -export type { AdminPostInventoryItemsParams } from "./AdminPostInventoryItemsParams" -export type { AdminPostInventoryItemsReq } from "./AdminPostInventoryItemsReq" -export type { AdminPostInvitesInviteAcceptReq } from "./AdminPostInvitesInviteAcceptReq" -export type { AdminPostInvitesReq } from "./AdminPostInvitesReq" -export type { AdminPostNotesNoteReq } from "./AdminPostNotesNoteReq" -export type { AdminPostNotesReq } from "./AdminPostNotesReq" -export type { AdminPostNotificationsNotificationResendReq } from "./AdminPostNotificationsNotificationResendReq" -export type { AdminPostOrderEditsEditLineItemsLineItemReq } from "./AdminPostOrderEditsEditLineItemsLineItemReq" -export type { AdminPostOrderEditsEditLineItemsReq } from "./AdminPostOrderEditsEditLineItemsReq" -export type { AdminPostOrderEditsOrderEditReq } from "./AdminPostOrderEditsOrderEditReq" -export type { AdminPostOrderEditsReq } from "./AdminPostOrderEditsReq" -export type { AdminPostOrdersOrderClaimsClaimFulfillmentsReq } from "./AdminPostOrdersOrderClaimsClaimFulfillmentsReq" -export type { AdminPostOrdersOrderClaimsClaimReq } from "./AdminPostOrdersOrderClaimsClaimReq" -export type { AdminPostOrdersOrderClaimsClaimShipmentsReq } from "./AdminPostOrdersOrderClaimsClaimShipmentsReq" -export type { AdminPostOrdersOrderClaimsReq } from "./AdminPostOrdersOrderClaimsReq" -export type { AdminPostOrdersOrderFulfillmentsReq } from "./AdminPostOrdersOrderFulfillmentsReq" -export type { AdminPostOrdersOrderRefundsReq } from "./AdminPostOrdersOrderRefundsReq" -export type { AdminPostOrdersOrderReq } from "./AdminPostOrdersOrderReq" -export type { AdminPostOrdersOrderReturnsReq } from "./AdminPostOrdersOrderReturnsReq" -export type { AdminPostOrdersOrderShipmentReq } from "./AdminPostOrdersOrderShipmentReq" -export type { AdminPostOrdersOrderShippingMethodsReq } from "./AdminPostOrdersOrderShippingMethodsReq" -export type { AdminPostOrdersOrderSwapsParams } from "./AdminPostOrdersOrderSwapsParams" -export type { AdminPostOrdersOrderSwapsReq } from "./AdminPostOrdersOrderSwapsReq" -export type { AdminPostOrdersOrderSwapsSwapFulfillmentsReq } from "./AdminPostOrdersOrderSwapsSwapFulfillmentsReq" -export type { AdminPostOrdersOrderSwapsSwapShipmentsReq } from "./AdminPostOrdersOrderSwapsSwapShipmentsReq" -export type { AdminPostPaymentRefundsReq } from "./AdminPostPaymentRefundsReq" -export type { AdminPostPriceListPricesPricesReq } from "./AdminPostPriceListPricesPricesReq" -export type { AdminPostPriceListsPriceListPriceListReq } from "./AdminPostPriceListsPriceListPriceListReq" -export type { AdminPostPriceListsPriceListReq } from "./AdminPostPriceListsPriceListReq" -export type { AdminPostProductCategoriesCategoryParams } from "./AdminPostProductCategoriesCategoryParams" -export type { AdminPostProductCategoriesCategoryProductsBatchParams } from "./AdminPostProductCategoriesCategoryProductsBatchParams" -export type { AdminPostProductCategoriesCategoryProductsBatchReq } from "./AdminPostProductCategoriesCategoryProductsBatchReq" -export type { AdminPostProductCategoriesCategoryReq } from "./AdminPostProductCategoriesCategoryReq" -export type { AdminPostProductCategoriesParams } from "./AdminPostProductCategoriesParams" -export type { AdminPostProductCategoriesReq } from "./AdminPostProductCategoriesReq" -export type { AdminPostProductsProductMetadataReq } from "./AdminPostProductsProductMetadataReq" -export type { AdminPostProductsProductOptionsOption } from "./AdminPostProductsProductOptionsOption" -export type { AdminPostProductsProductOptionsReq } from "./AdminPostProductsProductOptionsReq" -export type { AdminPostProductsProductReq } from "./AdminPostProductsProductReq" -export type { AdminPostProductsProductVariantsReq } from "./AdminPostProductsProductVariantsReq" -export type { AdminPostProductsProductVariantsVariantReq } from "./AdminPostProductsProductVariantsVariantReq" -export type { AdminPostProductsReq } from "./AdminPostProductsReq" -export type { AdminPostProductsToCollectionReq } from "./AdminPostProductsToCollectionReq" -export type { AdminPostPublishableApiKeySalesChannelsBatchReq } from "./AdminPostPublishableApiKeySalesChannelsBatchReq" -export type { AdminPostPublishableApiKeysPublishableApiKeyReq } from "./AdminPostPublishableApiKeysPublishableApiKeyReq" -export type { AdminPostPublishableApiKeysReq } from "./AdminPostPublishableApiKeysReq" -export type { AdminPostRegionsRegionCountriesReq } from "./AdminPostRegionsRegionCountriesReq" -export type { AdminPostRegionsRegionFulfillmentProvidersReq } from "./AdminPostRegionsRegionFulfillmentProvidersReq" -export type { AdminPostRegionsRegionPaymentProvidersReq } from "./AdminPostRegionsRegionPaymentProvidersReq" -export type { AdminPostRegionsRegionReq } from "./AdminPostRegionsRegionReq" -export type { AdminPostRegionsReq } from "./AdminPostRegionsReq" -export type { AdminPostReservationsReq } from "./AdminPostReservationsReq" -export type { AdminPostReservationsReservationReq } from "./AdminPostReservationsReservationReq" -export type { AdminPostReturnReasonsReasonReq } from "./AdminPostReturnReasonsReasonReq" -export type { AdminPostReturnReasonsReq } from "./AdminPostReturnReasonsReq" -export type { AdminPostReturnsReturnReceiveReq } from "./AdminPostReturnsReturnReceiveReq" -export type { AdminPostSalesChannelsChannelProductsBatchReq } from "./AdminPostSalesChannelsChannelProductsBatchReq" -export type { AdminPostSalesChannelsChannelStockLocationsReq } from "./AdminPostSalesChannelsChannelStockLocationsReq" -export type { AdminPostSalesChannelsReq } from "./AdminPostSalesChannelsReq" -export type { AdminPostSalesChannelsSalesChannelReq } from "./AdminPostSalesChannelsSalesChannelReq" -export type { AdminPostShippingOptionsOptionReq } from "./AdminPostShippingOptionsOptionReq" -export type { AdminPostShippingOptionsReq } from "./AdminPostShippingOptionsReq" -export type { AdminPostShippingProfilesProfileReq } from "./AdminPostShippingProfilesProfileReq" -export type { AdminPostShippingProfilesReq } from "./AdminPostShippingProfilesReq" -export type { AdminPostStockLocationsLocationReq } from "./AdminPostStockLocationsLocationReq" -export type { AdminPostStockLocationsReq } from "./AdminPostStockLocationsReq" -export type { AdminPostStockLocationsReqAddress } from "./AdminPostStockLocationsReqAddress" -export type { AdminPostStoreReq } from "./AdminPostStoreReq" -export type { AdminPostTaxRatesParams } from "./AdminPostTaxRatesParams" -export type { AdminPostTaxRatesReq } from "./AdminPostTaxRatesReq" -export type { AdminPostTaxRatesTaxRateParams } from "./AdminPostTaxRatesTaxRateParams" -export type { AdminPostTaxRatesTaxRateProductsParams } from "./AdminPostTaxRatesTaxRateProductsParams" -export type { AdminPostTaxRatesTaxRateProductsReq } from "./AdminPostTaxRatesTaxRateProductsReq" -export type { AdminPostTaxRatesTaxRateProductTypesParams } from "./AdminPostTaxRatesTaxRateProductTypesParams" -export type { AdminPostTaxRatesTaxRateProductTypesReq } from "./AdminPostTaxRatesTaxRateProductTypesReq" -export type { AdminPostTaxRatesTaxRateReq } from "./AdminPostTaxRatesTaxRateReq" -export type { AdminPostTaxRatesTaxRateShippingOptionsParams } from "./AdminPostTaxRatesTaxRateShippingOptionsParams" -export type { AdminPostTaxRatesTaxRateShippingOptionsReq } from "./AdminPostTaxRatesTaxRateShippingOptionsReq" -export type { AdminPostUploadsDownloadUrlReq } from "./AdminPostUploadsDownloadUrlReq" -export type { AdminPriceListDeleteBatchRes } from "./AdminPriceListDeleteBatchRes" -export type { AdminPriceListDeleteProductPricesRes } from "./AdminPriceListDeleteProductPricesRes" -export type { AdminPriceListDeleteRes } from "./AdminPriceListDeleteRes" -export type { AdminPriceListDeleteVariantPricesRes } from "./AdminPriceListDeleteVariantPricesRes" -export type { AdminPriceListRes } from "./AdminPriceListRes" -export type { AdminPriceListsListRes } from "./AdminPriceListsListRes" -export type { AdminPriceListsProductsListRes } from "./AdminPriceListsProductsListRes" -export type { AdminProductCategoriesCategoryDeleteRes } from "./AdminProductCategoriesCategoryDeleteRes" -export type { AdminProductCategoriesCategoryRes } from "./AdminProductCategoriesCategoryRes" -export type { AdminProductCategoriesListRes } from "./AdminProductCategoriesListRes" -export type { AdminProductsDeleteOptionRes } from "./AdminProductsDeleteOptionRes" -export type { AdminProductsDeleteRes } from "./AdminProductsDeleteRes" -export type { AdminProductsDeleteVariantRes } from "./AdminProductsDeleteVariantRes" -export type { AdminProductsListRes } from "./AdminProductsListRes" -export type { AdminProductsListTagsRes } from "./AdminProductsListTagsRes" -export type { AdminProductsListTypesRes } from "./AdminProductsListTypesRes" -export type { AdminProductsListVariantsRes } from "./AdminProductsListVariantsRes" -export type { AdminProductsRes } from "./AdminProductsRes" -export type { AdminProductTagsListRes } from "./AdminProductTagsListRes" -export type { AdminProductTypesListRes } from "./AdminProductTypesListRes" -export type { AdminPublishableApiKeyDeleteRes } from "./AdminPublishableApiKeyDeleteRes" -export type { AdminPublishableApiKeysListRes } from "./AdminPublishableApiKeysListRes" -export type { AdminPublishableApiKeysListSalesChannelsRes } from "./AdminPublishableApiKeysListSalesChannelsRes" -export type { AdminPublishableApiKeysRes } from "./AdminPublishableApiKeysRes" -export type { AdminRefundRes } from "./AdminRefundRes" -export type { AdminRegionsDeleteRes } from "./AdminRegionsDeleteRes" -export type { AdminRegionsListRes } from "./AdminRegionsListRes" -export type { AdminRegionsRes } from "./AdminRegionsRes" -export type { AdminReservationsDeleteRes } from "./AdminReservationsDeleteRes" -export type { AdminReservationsListRes } from "./AdminReservationsListRes" -export type { AdminReservationsRes } from "./AdminReservationsRes" -export type { AdminResetPasswordRequest } from "./AdminResetPasswordRequest" -export type { AdminResetPasswordTokenRequest } from "./AdminResetPasswordTokenRequest" -export type { AdminReturnReasonsDeleteRes } from "./AdminReturnReasonsDeleteRes" -export type { AdminReturnReasonsListRes } from "./AdminReturnReasonsListRes" -export type { AdminReturnReasonsRes } from "./AdminReturnReasonsRes" -export type { AdminReturnsCancelRes } from "./AdminReturnsCancelRes" -export type { AdminReturnsListRes } from "./AdminReturnsListRes" -export type { AdminReturnsRes } from "./AdminReturnsRes" -export type { AdminSalesChannelsDeleteLocationRes } from "./AdminSalesChannelsDeleteLocationRes" -export type { AdminSalesChannelsDeleteRes } from "./AdminSalesChannelsDeleteRes" -export type { AdminSalesChannelsListRes } from "./AdminSalesChannelsListRes" -export type { AdminSalesChannelsRes } from "./AdminSalesChannelsRes" -export type { AdminShippingOptionsDeleteRes } from "./AdminShippingOptionsDeleteRes" -export type { AdminShippingOptionsListRes } from "./AdminShippingOptionsListRes" -export type { AdminShippingOptionsRes } from "./AdminShippingOptionsRes" -export type { AdminShippingProfilesListRes } from "./AdminShippingProfilesListRes" -export type { AdminShippingProfilesRes } from "./AdminShippingProfilesRes" -export type { AdminStockLocationsDeleteRes } from "./AdminStockLocationsDeleteRes" -export type { AdminStockLocationsListRes } from "./AdminStockLocationsListRes" -export type { AdminStockLocationsRes } from "./AdminStockLocationsRes" -export type { AdminStoresRes } from "./AdminStoresRes" -export type { AdminSwapsListRes } from "./AdminSwapsListRes" -export type { AdminSwapsRes } from "./AdminSwapsRes" -export type { AdminTaxProvidersList } from "./AdminTaxProvidersList" -export type { AdminTaxRatesDeleteRes } from "./AdminTaxRatesDeleteRes" -export type { AdminTaxRatesListRes } from "./AdminTaxRatesListRes" -export type { AdminTaxRatesRes } from "./AdminTaxRatesRes" -export type { AdminUpdatePaymentCollectionsReq } from "./AdminUpdatePaymentCollectionsReq" -export type { AdminUpdateUserRequest } from "./AdminUpdateUserRequest" -export type { AdminUploadsDownloadUrlRes } from "./AdminUploadsDownloadUrlRes" -export type { AdminUploadsRes } from "./AdminUploadsRes" -export type { AdminUserRes } from "./AdminUserRes" -export type { AdminUsersListRes } from "./AdminUsersListRes" -export type { AdminVariantsListRes } from "./AdminVariantsListRes" -export type { AdminVariantsRes } from "./AdminVariantsRes" -export type { BatchJob } from "./BatchJob" -export type { Cart } from "./Cart" -export type { ClaimImage } from "./ClaimImage" -export type { ClaimItem } from "./ClaimItem" -export type { ClaimOrder } from "./ClaimOrder" -export type { ClaimTag } from "./ClaimTag" -export type { Country } from "./Country" -export type { CreateStockLocationInput } from "./CreateStockLocationInput" -export type { Currency } from "./Currency" -export type { Customer } from "./Customer" -export type { CustomerGroup } from "./CustomerGroup" -export type { CustomShippingOption } from "./CustomShippingOption" -export type { DecoratedInventoryItemDTO } from "./DecoratedInventoryItemDTO" -export type { Discount } from "./Discount" -export type { DiscountCondition } from "./DiscountCondition" -export type { DiscountConditionCustomerGroup } from "./DiscountConditionCustomerGroup" -export type { DiscountConditionProduct } from "./DiscountConditionProduct" -export type { DiscountConditionProductCollection } from "./DiscountConditionProductCollection" -export type { DiscountConditionProductTag } from "./DiscountConditionProductTag" -export type { DiscountConditionProductType } from "./DiscountConditionProductType" -export type { DiscountRule } from "./DiscountRule" -export type { DraftOrder } from "./DraftOrder" -export type { Error } from "./Error" -export type { ExtendedReservationItem } from "./ExtendedReservationItem" -export type { ExtendedStoreDTO } from "./ExtendedStoreDTO" -export type { FeatureFlagsResponse } from "./FeatureFlagsResponse" -export type { Fulfillment } from "./Fulfillment" -export type { FulfillmentItem } from "./FulfillmentItem" -export type { FulfillmentProvider } from "./FulfillmentProvider" -export type { GetOrderEditsOrderEditParams } from "./GetOrderEditsOrderEditParams" -export type { GetOrderEditsParams } from "./GetOrderEditsParams" -export type { GetPaymentsParams } from "./GetPaymentsParams" -export type { GetPublishableApiKeySalesChannelsParams } from "./GetPublishableApiKeySalesChannelsParams" -export type { GetPublishableApiKeysParams } from "./GetPublishableApiKeysParams" -export type { GiftCard } from "./GiftCard" -export type { GiftCardTransaction } from "./GiftCardTransaction" -export type { IdempotencyKey } from "./IdempotencyKey" -export type { Image } from "./Image" -export type { InventoryItemDTO } from "./InventoryItemDTO" -export type { InventoryLevelDTO } from "./InventoryLevelDTO" -export type { Invite } from "./Invite" -export type { LineItem } from "./LineItem" -export type { LineItemAdjustment } from "./LineItemAdjustment" -export type { LineItemTaxLine } from "./LineItemTaxLine" -export type { ModulesResponse } from "./ModulesResponse" -export type { MoneyAmount } from "./MoneyAmount" -export type { MultipleErrors } from "./MultipleErrors" -export type { Note } from "./Note" -export type { Notification } from "./Notification" -export type { NotificationProvider } from "./NotificationProvider" -export type { OAuth } from "./OAuth" -export type { Order } from "./Order" -export type { OrderEdit } from "./OrderEdit" -export type { OrderItemChange } from "./OrderItemChange" -export type { Payment } from "./Payment" -export type { PaymentCollection } from "./PaymentCollection" -export type { PaymentProvider } from "./PaymentProvider" -export type { PaymentSession } from "./PaymentSession" -export type { PricedProduct } from "./PricedProduct" -export type { PricedShippingOption } from "./PricedShippingOption" -export type { PricedVariant } from "./PricedVariant" -export type { PriceList } from "./PriceList" -export type { Product } from "./Product" -export type { ProductCategory } from "./ProductCategory" -export type { ProductCollection } from "./ProductCollection" -export type { ProductOption } from "./ProductOption" -export type { ProductOptionValue } from "./ProductOptionValue" -export type { ProductTag } from "./ProductTag" -export type { ProductTaxRate } from "./ProductTaxRate" -export type { ProductType } from "./ProductType" -export type { ProductTypeTaxRate } from "./ProductTypeTaxRate" -export type { ProductVariant } from "./ProductVariant" -export type { ProductVariantInventoryItem } from "./ProductVariantInventoryItem" -export type { PublishableApiKey } from "./PublishableApiKey" -export type { PublishableApiKeySalesChannel } from "./PublishableApiKeySalesChannel" -export type { Refund } from "./Refund" -export type { Region } from "./Region" -export type { ReservationItemDTO } from "./ReservationItemDTO" -export type { ResponseInventoryItem } from "./ResponseInventoryItem" -export type { Return } from "./Return" -export type { ReturnItem } from "./ReturnItem" -export type { ReturnReason } from "./ReturnReason" -export type { SalesChannel } from "./SalesChannel" -export type { SalesChannelLocation } from "./SalesChannelLocation" -export type { ShippingMethod } from "./ShippingMethod" -export type { ShippingMethodTaxLine } from "./ShippingMethodTaxLine" -export type { ShippingOption } from "./ShippingOption" -export type { ShippingOptionRequirement } from "./ShippingOptionRequirement" -export type { ShippingProfile } from "./ShippingProfile" -export type { ShippingTaxRate } from "./ShippingTaxRate" -export type { StagedJob } from "./StagedJob" -export type { StockLocationAddressDTO } from "./StockLocationAddressDTO" -export type { StockLocationAddressInput } from "./StockLocationAddressInput" -export type { StockLocationDTO } from "./StockLocationDTO" -export type { StockLocationExpandedDTO } from "./StockLocationExpandedDTO" -export type { Store } from "./Store" -export type { StoreAuthRes } from "./StoreAuthRes" -export type { StoreBearerAuthRes } from "./StoreBearerAuthRes" -export type { StoreCartShippingOptionsListRes } from "./StoreCartShippingOptionsListRes" -export type { StoreCartsRes } from "./StoreCartsRes" -export type { StoreCollectionsListRes } from "./StoreCollectionsListRes" -export type { StoreCollectionsRes } from "./StoreCollectionsRes" -export type { StoreCompleteCartRes } from "./StoreCompleteCartRes" -export type { StoreCustomersListOrdersRes } from "./StoreCustomersListOrdersRes" -export type { StoreCustomersListPaymentMethodsRes } from "./StoreCustomersListPaymentMethodsRes" -export type { StoreCustomersRes } from "./StoreCustomersRes" -export type { StoreCustomersResetPasswordRes } from "./StoreCustomersResetPasswordRes" -export type { StoreGetAuthEmailRes } from "./StoreGetAuthEmailRes" -export type { StoreGetCollectionsParams } from "./StoreGetCollectionsParams" -export type { StoreGetCustomersCustomerOrdersParams } from "./StoreGetCustomersCustomerOrdersParams" -export type { StoreGetOrdersParams } from "./StoreGetOrdersParams" -export type { StoreGetPaymentCollectionsParams } from "./StoreGetPaymentCollectionsParams" -export type { StoreGetProductCategoriesCategoryParams } from "./StoreGetProductCategoriesCategoryParams" -export type { StoreGetProductCategoriesCategoryRes } from "./StoreGetProductCategoriesCategoryRes" -export type { StoreGetProductCategoriesParams } from "./StoreGetProductCategoriesParams" -export type { StoreGetProductCategoriesRes } from "./StoreGetProductCategoriesRes" -export type { StoreGetProductsParams } from "./StoreGetProductsParams" -export type { StoreGetProductsProductParams } from "./StoreGetProductsProductParams" -export type { StoreGetProductTagsParams } from "./StoreGetProductTagsParams" -export type { StoreGetProductTypesParams } from "./StoreGetProductTypesParams" -export type { StoreGetRegionsParams } from "./StoreGetRegionsParams" -export type { StoreGetShippingOptionsParams } from "./StoreGetShippingOptionsParams" -export type { StoreGetVariantsParams } from "./StoreGetVariantsParams" -export type { StoreGetVariantsVariantParams } from "./StoreGetVariantsVariantParams" -export type { StoreGiftCardsRes } from "./StoreGiftCardsRes" -export type { StoreOrderEditsRes } from "./StoreOrderEditsRes" -export type { StoreOrdersRes } from "./StoreOrdersRes" -export type { StorePaymentCollectionSessionsReq } from "./StorePaymentCollectionSessionsReq" -export type { StorePaymentCollectionsRes } from "./StorePaymentCollectionsRes" -export type { StorePaymentCollectionsSessionRes } from "./StorePaymentCollectionsSessionRes" -export type { StorePostAuthReq } from "./StorePostAuthReq" -export type { StorePostCartReq } from "./StorePostCartReq" -export type { StorePostCartsCartLineItemsItemReq } from "./StorePostCartsCartLineItemsItemReq" -export type { StorePostCartsCartLineItemsReq } from "./StorePostCartsCartLineItemsReq" -export type { StorePostCartsCartPaymentSessionReq } from "./StorePostCartsCartPaymentSessionReq" -export type { StorePostCartsCartPaymentSessionUpdateReq } from "./StorePostCartsCartPaymentSessionUpdateReq" -export type { StorePostCartsCartReq } from "./StorePostCartsCartReq" -export type { StorePostCartsCartShippingMethodReq } from "./StorePostCartsCartShippingMethodReq" -export type { StorePostCustomersCustomerAcceptClaimReq } from "./StorePostCustomersCustomerAcceptClaimReq" -export type { StorePostCustomersCustomerAddressesAddressReq } from "./StorePostCustomersCustomerAddressesAddressReq" -export type { StorePostCustomersCustomerAddressesReq } from "./StorePostCustomersCustomerAddressesReq" -export type { StorePostCustomersCustomerOrderClaimReq } from "./StorePostCustomersCustomerOrderClaimReq" -export type { StorePostCustomersCustomerPasswordTokenReq } from "./StorePostCustomersCustomerPasswordTokenReq" -export type { StorePostCustomersCustomerReq } from "./StorePostCustomersCustomerReq" -export type { StorePostCustomersReq } from "./StorePostCustomersReq" -export type { StorePostCustomersResetPasswordReq } from "./StorePostCustomersResetPasswordReq" -export type { StorePostOrderEditsOrderEditDecline } from "./StorePostOrderEditsOrderEditDecline" -export type { StorePostPaymentCollectionsBatchSessionsAuthorizeReq } from "./StorePostPaymentCollectionsBatchSessionsAuthorizeReq" -export type { StorePostPaymentCollectionsBatchSessionsReq } from "./StorePostPaymentCollectionsBatchSessionsReq" -export type { StorePostReturnsReq } from "./StorePostReturnsReq" -export type { StorePostSearchReq } from "./StorePostSearchReq" -export type { StorePostSearchRes } from "./StorePostSearchRes" -export type { StorePostSwapsReq } from "./StorePostSwapsReq" -export type { StoreProductsListRes } from "./StoreProductsListRes" -export type { StoreProductsRes } from "./StoreProductsRes" -export type { StoreProductTagsListRes } from "./StoreProductTagsListRes" -export type { StoreProductTypesListRes } from "./StoreProductTypesListRes" -export type { StoreRegionsListRes } from "./StoreRegionsListRes" -export type { StoreRegionsRes } from "./StoreRegionsRes" -export type { StoreReturnReasonsListRes } from "./StoreReturnReasonsListRes" -export type { StoreReturnReasonsRes } from "./StoreReturnReasonsRes" -export type { StoreReturnsRes } from "./StoreReturnsRes" -export type { StoreShippingOptionsListRes } from "./StoreShippingOptionsListRes" -export type { StoreSwapsRes } from "./StoreSwapsRes" -export type { StoreVariantsListRes } from "./StoreVariantsListRes" -export type { StoreVariantsRes } from "./StoreVariantsRes" -export type { Swap } from "./Swap" -export type { TaxLine } from "./TaxLine" -export type { TaxProvider } from "./TaxProvider" -export type { TaxRate } from "./TaxRate" -export type { TrackingLink } from "./TrackingLink" -export type { UpdateStockLocationInput } from "./UpdateStockLocationInput" -export type { User } from "./User" -export type { VariantInventory } from "./VariantInventory" diff --git a/packages/generated/client-types/tsconfig.json b/packages/generated/client-types/tsconfig.json deleted file mode 100644 index c80a9a4470..0000000000 --- a/packages/generated/client-types/tsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "compilerOptions": { - "lib": ["es2020"], - "target": "ES2020", - "outDir": "./dist", - "esModuleInterop": true, - "declaration": true, - "module": "commonjs", - "moduleResolution": "node", - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "sourceMap": true, - "noImplicitReturns": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "noImplicitThis": true, - "allowJs": true, - "skipLibCheck": true, - "jsx": "react-jsx", - "emitDeclarationOnly": true - }, - "include": ["src"], - "exclude": ["node_modules", "**/tests/*"], - "ts-node": { - "transpileOnly": true - } -} diff --git a/packages/modules/product/integration-tests/__tests__/services/product-variant/index.ts b/packages/modules/product/integration-tests/__tests__/services/product-variant/index.ts index 5a5f0609b5..63af29c56c 100644 --- a/packages/modules/product/integration-tests/__tests__/services/product-variant/index.ts +++ b/packages/modules/product/integration-tests/__tests__/services/product-variant/index.ts @@ -1,8 +1,10 @@ -import { ProductOption } from "@medusajs/client-types" -import { ProductTypes } from "@medusajs/types" +import { + InternalModuleService, + IProductModuleService, + ProductTypes, +} from "@medusajs/types" import { Collection } from "@mikro-orm/core" -import { Product, ProductTag, ProductVariant } from "@models" -import { ProductVariantService } from "@services" +import { Product, ProductOption, ProductTag, ProductVariant } from "@models" import { createOptions, createProductAndTags, @@ -13,7 +15,6 @@ import { buildProductVariantOnlyData } from "../../../__fixtures__/variant/data/ import { Modules } from "@medusajs/modules-sdk" import { moduleIntegrationTestRunner, SuiteOptions } from "medusa-test-utils" -import { IProductModuleService } from "@medusajs/types" jest.setTimeout(30000) @@ -28,7 +29,7 @@ moduleIntegrationTestRunner({ let variantTwo: ProductVariant let productOne: Product const productVariantTestOne = "test-1" - let service: ProductVariantService + let service: InternalModuleService beforeEach(() => { service = medusaApp.modules["productService"].productVariantService_ diff --git a/yarn.lock b/yarn.lock index b53256403d..26a5047fb5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -946,7 +946,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.7, @babel/core@npm:^7.14.3, @babel/core@npm:^7.18.9, @babel/core@npm:^7.20.12, @babel/core@npm:^7.21.3, @babel/core@npm:^7.23.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.23.5, @babel/core@npm:^7.23.9, @babel/core@npm:^7.7.2, @babel/core@npm:^7.7.5, @babel/core@npm:^7.8.0": +"@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.7, @babel/core@npm:^7.14.3, @babel/core@npm:^7.18.9, @babel/core@npm:^7.20.12, @babel/core@npm:^7.21.3, @babel/core@npm:^7.23.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.23.5, @babel/core@npm:^7.23.9, @babel/core@npm:^7.7.5": version: 7.24.5 resolution: "@babel/core@npm:7.24.5" dependencies: @@ -2807,7 +2807,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.14.2, @babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.24.5, @babel/traverse@npm:^7.7.2": +"@babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.14.2, @babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.24.5": version: 7.24.5 resolution: "@babel/traverse@npm:7.24.5" dependencies: @@ -4028,20 +4028,6 @@ __metadata: languageName: node linkType: hard -"@jest/console@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/console@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - "@types/node": "*" - chalk: ^4.0.0 - jest-message-util: ^27.5.1 - jest-util: ^27.5.1 - slash: ^3.0.0 - checksum: 6cb46d721698aaeb0d57ace967f7a36bbefc20719d420ea8bf8ec8adf9994cb1ec11a93bbd9b1514c12a19b5dd99dcbbd1d3e22fd8bea8e41e845055b03ac18d - languageName: node - linkType: hard - "@jest/console@npm:^29.7.0": version: 29.7.0 resolution: "@jest/console@npm:29.7.0" @@ -4128,47 +4114,6 @@ __metadata: languageName: node linkType: hard -"@jest/core@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/core@npm:27.5.1" - dependencies: - "@jest/console": ^27.5.1 - "@jest/reporters": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - ansi-escapes: ^4.2.1 - chalk: ^4.0.0 - emittery: ^0.8.1 - exit: ^0.1.2 - graceful-fs: ^4.2.9 - jest-changed-files: ^27.5.1 - jest-config: ^27.5.1 - jest-haste-map: ^27.5.1 - jest-message-util: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-resolve-dependencies: ^27.5.1 - jest-runner: ^27.5.1 - jest-runtime: ^27.5.1 - jest-snapshot: ^27.5.1 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 - jest-watcher: ^27.5.1 - micromatch: ^4.0.4 - rimraf: ^3.0.0 - slash: ^3.0.0 - strip-ansi: ^6.0.0 - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - checksum: 8c858fe99cec9eabde8c894d4313171b923e1d4b8f66884b1fa1b7a0123db9f94b797f77d888a2b57d4832e7e46cd67aa1e2f227f1544643478de021c4b84db2 - languageName: node - linkType: hard - "@jest/core@npm:^29.7.0": version: 29.7.0 resolution: "@jest/core@npm:29.7.0" @@ -4242,18 +4187,6 @@ __metadata: languageName: node linkType: hard -"@jest/environment@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/environment@npm:27.5.1" - dependencies: - "@jest/fake-timers": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - jest-mock: ^27.5.1 - checksum: 50e40b4f0a351a83f21af03c5cffd9f061729aee8f73131dbb32b39838c575a89d313e946ded91c08e16cf58ff470d74d6b3a48f664cec5c70a946aff45310b3 - languageName: node - linkType: hard - "@jest/environment@npm:^29.7.0": version: 29.7.0 resolution: "@jest/environment@npm:29.7.0" @@ -4312,20 +4245,6 @@ __metadata: languageName: node linkType: hard -"@jest/fake-timers@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/fake-timers@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - "@sinonjs/fake-timers": ^8.0.1 - "@types/node": "*" - jest-message-util: ^27.5.1 - jest-mock: ^27.5.1 - jest-util: ^27.5.1 - checksum: df6113d11f572219ac61d3946b6cc1aaa8632e3afed9ff959bdb46e122e7cc5b5a16451a88d5fca7cc8daa66333adde3cf70d96c936f3d8406276f6e6e2cbacd - languageName: node - linkType: hard - "@jest/fake-timers@npm:^29.7.0": version: 29.7.0 resolution: "@jest/fake-timers@npm:29.7.0" @@ -4362,17 +4281,6 @@ __metadata: languageName: node linkType: hard -"@jest/globals@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/globals@npm:27.5.1" - dependencies: - "@jest/environment": ^27.5.1 - "@jest/types": ^27.5.1 - expect: ^27.5.1 - checksum: b7309297f13b02bf748782772ab2054bbd11f10eb13e9b4660b33acb8c2c4bc7ee07aa1175045feb27ce3a6916b2d3982a3c5350ea1f9c2c3852334942077471 - languageName: node - linkType: hard - "@jest/globals@npm:^29.7.0": version: 29.7.0 resolution: "@jest/globals@npm:29.7.0" @@ -4457,44 +4365,6 @@ __metadata: languageName: node linkType: hard -"@jest/reporters@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/reporters@npm:27.5.1" - dependencies: - "@bcoe/v8-coverage": ^0.2.3 - "@jest/console": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - chalk: ^4.0.0 - collect-v8-coverage: ^1.0.0 - exit: ^0.1.2 - glob: ^7.1.2 - graceful-fs: ^4.2.9 - istanbul-lib-coverage: ^3.0.0 - istanbul-lib-instrument: ^5.1.0 - istanbul-lib-report: ^3.0.0 - istanbul-lib-source-maps: ^4.0.0 - istanbul-reports: ^3.1.3 - jest-haste-map: ^27.5.1 - jest-resolve: ^27.5.1 - jest-util: ^27.5.1 - jest-worker: ^27.5.1 - slash: ^3.0.0 - source-map: ^0.6.0 - string-length: ^4.0.1 - terminal-link: ^2.0.0 - v8-to-istanbul: ^8.1.0 - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - checksum: fd66b17ca8af0464759d12525cfd84ae87403132da61f18ee76a2f07ecd64427797f7ad6e56d338ffa9f956cce153444edf1e5775093e9be2903aaf4d0e049bc - languageName: node - linkType: hard - "@jest/reporters@npm:^29.7.0": version: 29.7.0 resolution: "@jest/reporters@npm:29.7.0" @@ -4563,17 +4433,6 @@ __metadata: languageName: node linkType: hard -"@jest/source-map@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/source-map@npm:27.5.1" - dependencies: - callsites: ^3.0.0 - graceful-fs: ^4.2.9 - source-map: ^0.6.0 - checksum: 7d9937675ba4cb2f27635b13be0f86588d18cf3b2d5442e818e702ea87afa5048c5f8892c749857fd7dd884fd6e14f799851ec9af61940813a690c6d5a70979e - languageName: node - linkType: hard - "@jest/source-map@npm:^29.6.3": version: 29.6.3 resolution: "@jest/source-map@npm:29.6.3" @@ -4609,18 +4468,6 @@ __metadata: languageName: node linkType: hard -"@jest/test-result@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/test-result@npm:27.5.1" - dependencies: - "@jest/console": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/istanbul-lib-coverage": ^2.0.0 - collect-v8-coverage: ^1.0.0 - checksum: 4fb8cbefda8f645c57e2fc0d0df169b0bf5f6cb456b42dc09f5138595b736e800d8d83e3fd36a47fd801a2359988c841792d7fc46784bec908c88b39b6581749 - languageName: node - linkType: hard - "@jest/test-result@npm:^29.7.0": version: 29.7.0 resolution: "@jest/test-result@npm:29.7.0" @@ -4659,18 +4506,6 @@ __metadata: languageName: node linkType: hard -"@jest/test-sequencer@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/test-sequencer@npm:27.5.1" - dependencies: - "@jest/test-result": ^27.5.1 - graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 - jest-runtime: ^27.5.1 - checksum: f43ecfc5b4c736c7f6e8521c13ef7b447ad29f96732675776be69b2631eb76019793a02ad58e69baf7ffbce1cc8d5b62ca30294091c4ad3acbdce6c12b73d049 - languageName: node - linkType: hard - "@jest/test-sequencer@npm:^29.7.0": version: 29.7.0 resolution: "@jest/test-sequencer@npm:29.7.0" @@ -4730,29 +4565,6 @@ __metadata: languageName: node linkType: hard -"@jest/transform@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/transform@npm:27.5.1" - dependencies: - "@babel/core": ^7.1.0 - "@jest/types": ^27.5.1 - babel-plugin-istanbul: ^6.1.1 - chalk: ^4.0.0 - convert-source-map: ^1.4.0 - fast-json-stable-stringify: ^2.0.0 - graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-util: ^27.5.1 - micromatch: ^4.0.4 - pirates: ^4.0.4 - slash: ^3.0.0 - source-map: ^0.6.1 - write-file-atomic: ^3.0.0 - checksum: 2d1819dad9621a562a1ff6eceefeb5ae0900063c50e982b9f08e48d7328a0c343520ba27ce291cb72c113d4f441ef4a95285b9d4ef6604cffd53740e951c99b6 - languageName: node - linkType: hard - "@jest/transform@npm:^29.3.1, @jest/transform@npm:^29.7.0": version: 29.7.0 resolution: "@jest/transform@npm:29.7.0" @@ -5120,20 +4932,6 @@ __metadata: languageName: unknown linkType: soft -"@medusajs/client-types@workspace:packages/generated/client-types": - version: 0.0.0-use.local - resolution: "@medusajs/client-types@workspace:packages/generated/client-types" - dependencies: - "@medusajs/medusa-oas-cli": 0.3.2 - cross-env: ^7.0.3 - execa: ^5.1.1 - jest: ^27.4.7 - prettier: ^2.7.1 - ts-node: ^10.9.1 - typescript: ^4.9.5 - languageName: unknown - linkType: soft - "@medusajs/core-flows@^0.0.9, @medusajs/core-flows@workspace:packages/core/core-flows": version: 0.0.0-use.local resolution: "@medusajs/core-flows@workspace:packages/core/core-flows" @@ -8968,15 +8766,6 @@ __metadata: languageName: node linkType: hard -"@sinonjs/fake-timers@npm:^8.0.1": - version: 8.1.0 - resolution: "@sinonjs/fake-timers@npm:8.1.0" - dependencies: - "@sinonjs/commons": ^1.7.0 - checksum: d6b795f9ddaf044daf184c151555ca557ccd23636f2ee3d2f76a9d128329f81fc1aac412f6f67239ab92cb9390aad9955b71df93cf4bd442c68b1f341e381ab6 - languageName: node - linkType: hard - "@smithy/abort-controller@npm:^2.2.0": version: 2.2.0 resolution: "@smithy/abort-controller@npm:2.2.0" @@ -11483,7 +11272,7 @@ __metadata: languageName: node linkType: hard -"@types/prettier@npm:^2.0.0, @types/prettier@npm:^2.1.5": +"@types/prettier@npm:^2.0.0": version: 2.7.3 resolution: "@types/prettier@npm:2.7.3" checksum: 0960b5c1115bb25e979009d0b44c42cf3d792accf24085e4bfce15aef5794ea042e04e70c2139a2c3387f781f18c89b5706f000ddb089e9a4a2ccb7536a2c5f0 @@ -13134,24 +12923,6 @@ __metadata: languageName: node linkType: hard -"babel-jest@npm:^27.5.1": - version: 27.5.1 - resolution: "babel-jest@npm:27.5.1" - dependencies: - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/babel__core": ^7.1.14 - babel-plugin-istanbul: ^6.1.1 - babel-preset-jest: ^27.5.1 - chalk: ^4.0.0 - graceful-fs: ^4.2.9 - slash: ^3.0.0 - peerDependencies: - "@babel/core": ^7.8.0 - checksum: 3ec8fdabba150431e430ab98d31ba62a1e0bc0fb2fd8d9236cb7dffda740de99c0b04f24da54ff0b5814dce9f81ff0c35a61add53c0734775996a11a7ba38318 - languageName: node - linkType: hard - "babel-jest@npm:^29.7.0": version: 29.7.0 resolution: "babel-jest@npm:29.7.0" @@ -13205,18 +12976,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-jest-hoist@npm:^27.5.1": - version: 27.5.1 - resolution: "babel-plugin-jest-hoist@npm:27.5.1" - dependencies: - "@babel/template": ^7.3.3 - "@babel/types": ^7.3.3 - "@types/babel__core": ^7.0.0 - "@types/babel__traverse": ^7.0.6 - checksum: 2f08ebde32d9d2bffff75524bda44812995b3fcab6cbf259e1db52561b6c8d829f4688db77ef277054a362c9a61826e121a2a4853b0bf93d077ebb3b69685f8e - languageName: node - linkType: hard - "babel-plugin-jest-hoist@npm:^29.6.3": version: 29.6.3 resolution: "babel-plugin-jest-hoist@npm:29.6.3" @@ -13370,18 +13129,6 @@ __metadata: languageName: node linkType: hard -"babel-preset-jest@npm:^27.5.1": - version: 27.5.1 - resolution: "babel-preset-jest@npm:27.5.1" - dependencies: - babel-plugin-jest-hoist: ^27.5.1 - babel-preset-current-node-syntax: ^1.0.0 - peerDependencies: - "@babel/core": ^7.0.0 - checksum: fc2f7fd03d8cddb36e0a07a94f1bb1826f7d7dae1f3519ed170c7a5e56c863aecbdb3fd2b034674a53210088478f000318b06415bad511bcf203c5729e5dd079 - languageName: node - linkType: hard - "babel-preset-jest@npm:^29.6.3": version: 29.6.3 resolution: "babel-preset-jest@npm:29.6.3" @@ -15798,13 +15545,6 @@ __metadata: languageName: node linkType: hard -"dedent@npm:^0.7.0": - version: 0.7.0 - resolution: "dedent@npm:0.7.0" - checksum: 7c3aa00ddfe3e5fcd477958e156156a5137e3bb6ff1493ca05edff4decf29a90a057974cc77e75951f8eb801c1816cb45aea1f52d628cdd000b82b36ab839d1b - languageName: node - linkType: hard - "dedent@npm:^1.0.0": version: 1.5.3 resolution: "dedent@npm:1.5.3" @@ -16457,13 +16197,6 @@ __metadata: languageName: node linkType: hard -"emittery@npm:^0.8.1": - version: 0.8.1 - resolution: "emittery@npm:0.8.1" - checksum: 1302868b6e258909964339f28569b97658d75c1030271024ac2f50f84957eab6a6a04278861a9c1d47131b9dfb50f25a5d017750d1c99cd86763e19a93b838bf - languageName: node - linkType: hard - "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -17602,18 +17335,6 @@ __metadata: languageName: node linkType: hard -"expect@npm:^27.5.1": - version: 27.5.1 - resolution: "expect@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - jest-get-type: ^27.5.1 - jest-matcher-utils: ^27.5.1 - jest-message-util: ^27.5.1 - checksum: 020e237c7191a584bc25a98181c3969cdd62fa1c044e4d81d5968e24075f39bc2349fcee48de82431033823b525e7cf5ac410b253b3115392f1026cb27258811 - languageName: node - linkType: hard - "expect@npm:^29.0.0, expect@npm:^29.7.0": version: 29.7.0 resolution: "expect@npm:29.7.0" @@ -20607,7 +20328,7 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-instrument@npm:^5.0.4, istanbul-lib-instrument@npm:^5.1.0": +"istanbul-lib-instrument@npm:^5.0.4": version: 5.2.1 resolution: "istanbul-lib-instrument@npm:5.2.1" dependencies: @@ -20744,17 +20465,6 @@ __metadata: languageName: node linkType: hard -"jest-changed-files@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-changed-files@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - execa: ^5.0.0 - throat: ^6.0.1 - checksum: ee2e663da669a1f8a1452626c71b9691a34cc6789bbf6cb04ef4430a63301db806039e93dd5c9cc6c0caa3d3f250ff18ed51e058fc3533a71f73e24f41b5d1bd - languageName: node - linkType: hard - "jest-changed-files@npm:^29.7.0": version: 29.7.0 resolution: "jest-changed-files@npm:29.7.0" @@ -20766,33 +20476,6 @@ __metadata: languageName: node linkType: hard -"jest-circus@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-circus@npm:27.5.1" - dependencies: - "@jest/environment": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - chalk: ^4.0.0 - co: ^4.6.0 - dedent: ^0.7.0 - expect: ^27.5.1 - is-generator-fn: ^2.0.0 - jest-each: ^27.5.1 - jest-matcher-utils: ^27.5.1 - jest-message-util: ^27.5.1 - jest-runtime: ^27.5.1 - jest-snapshot: ^27.5.1 - jest-util: ^27.5.1 - pretty-format: ^27.5.1 - slash: ^3.0.0 - stack-utils: ^2.0.3 - throat: ^6.0.1 - checksum: 195b88ff6c74a1ad0f2386bea25700e884f32e05be9211bc197b960e7553a952ab38aff9aafb057c6a92eaa85bde2804e01244278a477b80a99e11f890ee15d9 - languageName: node - linkType: hard - "jest-circus@npm:^29.7.0": version: 29.7.0 resolution: "jest-circus@npm:29.7.0" @@ -20868,33 +20551,6 @@ __metadata: languageName: node linkType: hard -"jest-cli@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-cli@npm:27.5.1" - dependencies: - "@jest/core": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/types": ^27.5.1 - chalk: ^4.0.0 - exit: ^0.1.2 - graceful-fs: ^4.2.9 - import-local: ^3.0.2 - jest-config: ^27.5.1 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 - prompts: ^2.0.1 - yargs: ^16.2.0 - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - bin: - jest: bin/jest.js - checksum: 45abaafbe1a01ea4c48953c85d42c961b6e33ef5847e10642713cde97761611b0af56d5a0dcb82abf19c500c6e9b680222a7f953b437e5760ba584521b74f9ea - languageName: node - linkType: hard - "jest-cli@npm:^29.7.0": version: 29.7.0 resolution: "jest-cli@npm:29.7.0" @@ -20979,43 +20635,6 @@ __metadata: languageName: node linkType: hard -"jest-config@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-config@npm:27.5.1" - dependencies: - "@babel/core": ^7.8.0 - "@jest/test-sequencer": ^27.5.1 - "@jest/types": ^27.5.1 - babel-jest: ^27.5.1 - chalk: ^4.0.0 - ci-info: ^3.2.0 - deepmerge: ^4.2.2 - glob: ^7.1.1 - graceful-fs: ^4.2.9 - jest-circus: ^27.5.1 - jest-environment-jsdom: ^27.5.1 - jest-environment-node: ^27.5.1 - jest-get-type: ^27.5.1 - jest-jasmine2: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-runner: ^27.5.1 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 - micromatch: ^4.0.4 - parse-json: ^5.2.0 - pretty-format: ^27.5.1 - slash: ^3.0.0 - strip-json-comments: ^3.1.1 - peerDependencies: - ts-node: ">=9.0.0" - peerDependenciesMeta: - ts-node: - optional: true - checksum: 28867b165f0e25b711a2ade5f261a1b1606b476704ff68a50688eaf3b9c853f69542645cc7e0dab38079ed74e3acc99e38628faf736c1739e44fc869c62c6051 - languageName: node - linkType: hard - "jest-config@npm:^29.7.0": version: 29.7.0 resolution: "jest-config@npm:29.7.0" @@ -21120,15 +20739,6 @@ __metadata: languageName: node linkType: hard -"jest-docblock@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-docblock@npm:27.5.1" - dependencies: - detect-newline: ^3.0.0 - checksum: 0ce3661a9152497b3a766996eda42edeab51f676fa57ec414a0168fef2a9b1784d056879281c22bca2875c9e63d41327cac0749a8c6e205330e13fcfe0e40316 - languageName: node - linkType: hard - "jest-docblock@npm:^29.7.0": version: 29.7.0 resolution: "jest-docblock@npm:29.7.0" @@ -21164,19 +20774,6 @@ __metadata: languageName: node linkType: hard -"jest-each@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-each@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - chalk: ^4.0.0 - jest-get-type: ^27.5.1 - jest-util: ^27.5.1 - pretty-format: ^27.5.1 - checksum: e382f677e69c15aa906ec0ae2d3d944aa948ce338b2bbcb480b76c16eb12cc2141d78edda48c510363e3b2c507cc2140569c3a163c64ffa34e14cc6a8b37fb81 - languageName: node - linkType: hard - "jest-each@npm:^29.7.0": version: 29.7.0 resolution: "jest-each@npm:29.7.0" @@ -21219,21 +20816,6 @@ __metadata: languageName: node linkType: hard -"jest-environment-jsdom@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-environment-jsdom@npm:27.5.1" - dependencies: - "@jest/environment": ^27.5.1 - "@jest/fake-timers": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - jest-mock: ^27.5.1 - jest-util: ^27.5.1 - jsdom: ^16.6.0 - checksum: ea759ffa43e96d773983a4172c32c1a3774907723564a30a001c8a85d22d9ed82f6c45329a514152744e8916379c1c4cf9e527297ecfa1e8a4cc4888141b38fd - languageName: node - linkType: hard - "jest-environment-jsdom@npm:^29.7.0": version: 29.7.0 resolution: "jest-environment-jsdom@npm:29.7.0" @@ -21283,20 +20865,6 @@ __metadata: languageName: node linkType: hard -"jest-environment-node@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-environment-node@npm:27.5.1" - dependencies: - "@jest/environment": ^27.5.1 - "@jest/fake-timers": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - jest-mock: ^27.5.1 - jest-util: ^27.5.1 - checksum: 3bbc31545436c6bb4a18841241e62036382a7261b9bb8cdc2823ec942a8a3053f98219b3ec2a4a7920bfba347602c16dd16767d9fece915134aee2e30091165c - languageName: node - linkType: hard - "jest-environment-node@npm:^29.7.0": version: 29.7.0 resolution: "jest-environment-node@npm:29.7.0" @@ -21388,30 +20956,6 @@ __metadata: languageName: node linkType: hard -"jest-haste-map@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-haste-map@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - "@types/graceful-fs": ^4.1.2 - "@types/node": "*" - anymatch: ^3.0.3 - fb-watchman: ^2.0.0 - fsevents: ^2.3.2 - graceful-fs: ^4.2.9 - jest-regex-util: ^27.5.1 - jest-serializer: ^27.5.1 - jest-util: ^27.5.1 - jest-worker: ^27.5.1 - micromatch: ^4.0.4 - walker: ^1.0.7 - dependenciesMeta: - fsevents: - optional: true - checksum: 831ae476fddc6babe64ea3e7f91b4ccee0371c03ec88af5a615023711866abdd496b51344f47c4d02b6b47b433367ca41e9e42d79527b39afec767e8be9e8a63 - languageName: node - linkType: hard - "jest-haste-map@npm:^29.7.0": version: 29.7.0 resolution: "jest-haste-map@npm:29.7.0" @@ -21486,31 +21030,6 @@ __metadata: languageName: node linkType: hard -"jest-jasmine2@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-jasmine2@npm:27.5.1" - dependencies: - "@jest/environment": ^27.5.1 - "@jest/source-map": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - chalk: ^4.0.0 - co: ^4.6.0 - expect: ^27.5.1 - is-generator-fn: ^2.0.0 - jest-each: ^27.5.1 - jest-matcher-utils: ^27.5.1 - jest-message-util: ^27.5.1 - jest-runtime: ^27.5.1 - jest-snapshot: ^27.5.1 - jest-util: ^27.5.1 - pretty-format: ^27.5.1 - throat: ^6.0.1 - checksum: 028172d5d65abf7e8da89c30894112efdd18007a934f30b89e3f35def3764824a9680917996d5e551caa2087589a372a2539777d5554fa3bae6c7e36afec6d4c - languageName: node - linkType: hard - "jest-leak-detector@npm:^25.5.0": version: 25.5.0 resolution: "jest-leak-detector@npm:25.5.0" @@ -21531,16 +21050,6 @@ __metadata: languageName: node linkType: hard -"jest-leak-detector@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-leak-detector@npm:27.5.1" - dependencies: - jest-get-type: ^27.5.1 - pretty-format: ^27.5.1 - checksum: 33ec88ab7d76931ae0a03b18186234114e42a4e9fae748f8a197f7f85b884c2e92ea692c06704b8a469ac26b9c6411a7a1bbc8d34580ed56672a7f6be2681aee - languageName: node - linkType: hard - "jest-leak-detector@npm:^29.7.0": version: 29.7.0 resolution: "jest-leak-detector@npm:29.7.0" @@ -21575,7 +21084,7 @@ __metadata: languageName: node linkType: hard -"jest-matcher-utils@npm:^27.0.0, jest-matcher-utils@npm:^27.5.1": +"jest-matcher-utils@npm:^27.0.0": version: 27.5.1 resolution: "jest-matcher-utils@npm:27.5.1" dependencies: @@ -21632,23 +21141,6 @@ __metadata: languageName: node linkType: hard -"jest-message-util@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-message-util@npm:27.5.1" - dependencies: - "@babel/code-frame": ^7.12.13 - "@jest/types": ^27.5.1 - "@types/stack-utils": ^2.0.0 - chalk: ^4.0.0 - graceful-fs: ^4.2.9 - micromatch: ^4.0.4 - pretty-format: ^27.5.1 - slash: ^3.0.0 - stack-utils: ^2.0.3 - checksum: 447c99061006949bd0c5ac3fcf4dfad11e763712ada1b3df1c1f276d1d4f55b3f7a8bee27591cd1fe23b56220830b2a74f321925d345374d1b7cf9cd536f19b5 - languageName: node - linkType: hard - "jest-message-util@npm:^29.7.0": version: 29.7.0 resolution: "jest-message-util@npm:29.7.0" @@ -21685,7 +21177,7 @@ __metadata: languageName: node linkType: hard -"jest-mock@npm:^27.0.6, jest-mock@npm:^27.5.1": +"jest-mock@npm:^27.0.6": version: 27.5.1 resolution: "jest-mock@npm:27.5.1" dependencies: @@ -21732,13 +21224,6 @@ __metadata: languageName: node linkType: hard -"jest-regex-util@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-regex-util@npm:27.5.1" - checksum: f9790d417b667b38155c4bbd58f2afc0ad9f774381e5358776df02df3f29564069d4773c7ba050db6826bad8a4cc7ef82c3b4c65bfa508e419fdd063a9682c42 - languageName: node - linkType: hard - "jest-regex-util@npm:^29.6.3": version: 29.6.3 resolution: "jest-regex-util@npm:29.6.3" @@ -21768,17 +21253,6 @@ __metadata: languageName: node linkType: hard -"jest-resolve-dependencies@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-resolve-dependencies@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - jest-regex-util: ^27.5.1 - jest-snapshot: ^27.5.1 - checksum: 06ba847f9386b0c198bb033a2041fac141dec443ae3c60acdc3426c1844aa4c942770f8f272a1f54686979894e389bc7774d4123bb3a0fbfabe02b7deef9ef62 - languageName: node - linkType: hard - "jest-resolve-dependencies@npm:^29.7.0": version: 29.7.0 resolution: "jest-resolve-dependencies@npm:29.7.0" @@ -21822,24 +21296,6 @@ __metadata: languageName: node linkType: hard -"jest-resolve@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-resolve@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - chalk: ^4.0.0 - graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 - jest-pnp-resolver: ^1.2.2 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 - resolve: ^1.20.0 - resolve.exports: ^1.1.0 - slash: ^3.0.0 - checksum: 5f9577e424346881964683f22472bd12bd9cfd70e49cb1800ccd31f2e88b0985ed353ca5cc7fb02de9093be2c733ab32de526c99a1192455ddb167afe916efd1 - languageName: node - linkType: hard - "jest-resolve@npm:^29.7.0": version: 29.7.0 resolution: "jest-resolve@npm:29.7.0" @@ -21912,35 +21368,6 @@ __metadata: languageName: node linkType: hard -"jest-runner@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-runner@npm:27.5.1" - dependencies: - "@jest/console": ^27.5.1 - "@jest/environment": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - chalk: ^4.0.0 - emittery: ^0.8.1 - graceful-fs: ^4.2.9 - jest-docblock: ^27.5.1 - jest-environment-jsdom: ^27.5.1 - jest-environment-node: ^27.5.1 - jest-haste-map: ^27.5.1 - jest-leak-detector: ^27.5.1 - jest-message-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-runtime: ^27.5.1 - jest-util: ^27.5.1 - jest-worker: ^27.5.1 - source-map-support: ^0.5.6 - throat: ^6.0.1 - checksum: b79962003c641eaabe4fa8855ee2127009c48f929dfca67f7fbdbc3fe84ea827964d5cbfcfd791405448011014172ea8c4faffe3669a148824ef4fac37838fe8 - languageName: node - linkType: hard - "jest-runner@npm:^29.7.0": version: 29.7.0 resolution: "jest-runner@npm:29.7.0" @@ -22043,36 +21470,6 @@ __metadata: languageName: node linkType: hard -"jest-runtime@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-runtime@npm:27.5.1" - dependencies: - "@jest/environment": ^27.5.1 - "@jest/fake-timers": ^27.5.1 - "@jest/globals": ^27.5.1 - "@jest/source-map": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 - chalk: ^4.0.0 - cjs-module-lexer: ^1.0.0 - collect-v8-coverage: ^1.0.0 - execa: ^5.0.0 - glob: ^7.1.3 - graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 - jest-message-util: ^27.5.1 - jest-mock: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-snapshot: ^27.5.1 - jest-util: ^27.5.1 - slash: ^3.0.0 - strip-bom: ^4.0.0 - checksum: 22ec24f4b928bdbdb7415ae7470ef523a6379812b8d0500d4d2f2124107d3af2c8fb99842352e320e79a47508a017dd5ab4b713270ad04ba9144c1961672ce29 - languageName: node - linkType: hard - "jest-runtime@npm:^29.7.0": version: 29.7.0 resolution: "jest-runtime@npm:29.7.0" @@ -22122,16 +21519,6 @@ __metadata: languageName: node linkType: hard -"jest-serializer@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-serializer@npm:27.5.1" - dependencies: - "@types/node": "*" - graceful-fs: ^4.2.9 - checksum: 7a2b634a5a044b3ccf912a17032338309c90b50831a2e500f963b25e9a4ce9b550a1af1fb64f7c9a271ed6a1f951fca37bd0d61a0b286aefe197812193b0d825 - languageName: node - linkType: hard - "jest-snapshot@npm:^25.5.1": version: 25.5.1 resolution: "jest-snapshot@npm:25.5.1" @@ -22179,36 +21566,6 @@ __metadata: languageName: node linkType: hard -"jest-snapshot@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-snapshot@npm:27.5.1" - dependencies: - "@babel/core": ^7.7.2 - "@babel/generator": ^7.7.2 - "@babel/plugin-syntax-typescript": ^7.7.2 - "@babel/traverse": ^7.7.2 - "@babel/types": ^7.0.0 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/babel__traverse": ^7.0.4 - "@types/prettier": ^2.1.5 - babel-preset-current-node-syntax: ^1.0.0 - chalk: ^4.0.0 - expect: ^27.5.1 - graceful-fs: ^4.2.9 - jest-diff: ^27.5.1 - jest-get-type: ^27.5.1 - jest-haste-map: ^27.5.1 - jest-matcher-utils: ^27.5.1 - jest-message-util: ^27.5.1 - jest-util: ^27.5.1 - natural-compare: ^1.4.0 - pretty-format: ^27.5.1 - semver: ^7.3.2 - checksum: 819ed445a749065efdfb7c3a5befb9331e550930acdcb8cbe49d5e64a1f05451a91094550aae6840e17afeeefc3660f205f2a7ba780fa0d0ebfa5dcfb1345f15 - languageName: node - linkType: hard - "jest-snapshot@npm:^29.7.0": version: 29.7.0 resolution: "jest-snapshot@npm:29.7.0" @@ -22264,20 +21621,6 @@ __metadata: languageName: node linkType: hard -"jest-util@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-util@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - "@types/node": "*" - chalk: ^4.0.0 - ci-info: ^3.2.0 - graceful-fs: ^4.2.9 - picomatch: ^2.2.3 - checksum: 0f60cd2a2e09a6646ccd4ff489f1970282c0694724104979e897bd5164f91204726f5408572bf5e759d09e59d5c4e4dc65a643d2b630e06a10402bba07bf2a2e - languageName: node - linkType: hard - "jest-util@npm:^29.0.0, jest-util@npm:^29.7.0": version: 29.7.0 resolution: "jest-util@npm:29.7.0" @@ -22320,20 +21663,6 @@ __metadata: languageName: node linkType: hard -"jest-validate@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-validate@npm:27.5.1" - dependencies: - "@jest/types": ^27.5.1 - camelcase: ^6.2.0 - chalk: ^4.0.0 - jest-get-type: ^27.5.1 - leven: ^3.1.0 - pretty-format: ^27.5.1 - checksum: ac5aa45b3ce798e450eda33764fa6d8c75f8794f92005e596928a78847b6013c5a6198ca2c2b4097a9315befb3868d12a52fbe7e6945cc85f81cb824d87c5c59 - languageName: node - linkType: hard - "jest-validate@npm:^29.7.0": version: 29.7.0 resolution: "jest-validate@npm:29.7.0" @@ -22377,21 +21706,6 @@ __metadata: languageName: node linkType: hard -"jest-watcher@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-watcher@npm:27.5.1" - dependencies: - "@jest/test-result": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - ansi-escapes: ^4.2.1 - chalk: ^4.0.0 - jest-util: ^27.5.1 - string-length: ^4.0.1 - checksum: e42f5e38bc4da56bde6ccec4b13b7646460a3d6b567934e0ca96d72c2ce837223ffbb84a2f8428197da4323870c03f00969237f9b40f83a3072111a8cd66cc4b - languageName: node - linkType: hard - "jest-watcher@npm:^29.7.0": version: 29.7.0 resolution: "jest-watcher@npm:29.7.0" @@ -22429,17 +21743,6 @@ __metadata: languageName: node linkType: hard -"jest-worker@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-worker@npm:27.5.1" - dependencies: - "@types/node": "*" - merge-stream: ^2.0.0 - supports-color: ^8.0.0 - checksum: 8c4737ffd03887b3c6768e4cc3ca0269c0336c1e4b1b120943958ddb035ed2a0fc6acab6dc99631720a3720af4e708ff84fb45382ad1e83c27946adf3623969b - languageName: node - linkType: hard - "jest-worker@npm:^29.7.0": version: 29.7.0 resolution: "jest-worker@npm:29.7.0" @@ -22478,24 +21781,6 @@ __metadata: languageName: node linkType: hard -"jest@npm:^27.4.7": - version: 27.5.1 - resolution: "jest@npm:27.5.1" - dependencies: - "@jest/core": ^27.5.1 - import-local: ^3.0.2 - jest-cli: ^27.5.1 - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - bin: - jest: bin/jest.js - checksum: c013d07e911e423612756bc42d376e578b8721d847db38d94344f9cdf8fdaa0241b0a5c2fe1aad7b7758d415e0b9517c1098312f0d03760f123958d5b6cf5597 - languageName: node - linkType: hard - "jest@npm:^29.1.0, jest@npm:^29.6.3": version: 29.7.0 resolution: "jest@npm:29.7.0" @@ -22676,7 +21961,7 @@ __metadata: languageName: node linkType: hard -"jsdom@npm:^16.4.0, jsdom@npm:^16.6.0": +"jsdom@npm:^16.4.0": version: 16.7.0 resolution: "jsdom@npm:16.7.0" dependencies: @@ -28495,13 +27780,6 @@ __metadata: languageName: node linkType: hard -"resolve.exports@npm:^1.1.0": - version: 1.1.1 - resolution: "resolve.exports@npm:1.1.1" - checksum: 902ac0c643d03385b2719f3aed8c289e9d4b2dd42c993de946de5b882bc18b74fad07d672d29f71a63c251be107f6d0d343e2390ca224c04ba9a8b8e35d1653a - languageName: node - linkType: hard - "resolve.exports@npm:^2.0.0": version: 2.0.2 resolution: "resolve.exports@npm:2.0.2" @@ -30998,13 +30276,6 @@ __metadata: languageName: node linkType: hard -"throat@npm:^6.0.1": - version: 6.0.2 - resolution: "throat@npm:6.0.2" - checksum: 45caf1ce86a895f71fcb9bd3de67e1df6f73a519e780765dd0cf63ca8363de08ad207cfb714bc650ee9ddeef89971517b5f3a64087fcffce2bda034697af7c18 - languageName: node - linkType: hard - "through2@npm:^2.0.3": version: 2.0.5 resolution: "through2@npm:2.0.5" @@ -32584,17 +31855,6 @@ __metadata: languageName: node linkType: hard -"v8-to-istanbul@npm:^8.1.0": - version: 8.1.1 - resolution: "v8-to-istanbul@npm:8.1.1" - dependencies: - "@types/istanbul-lib-coverage": ^2.0.1 - convert-source-map: ^1.6.0 - source-map: ^0.7.3 - checksum: c3c99c4aa1ffffb098cc85c0c13c21871e6cbb9a83537d4e0650aa61589c347b2add787ceac68b8ea7fa1b7f446e9059d8e374cd7e7ab13b170a6caf8ad29c30 - languageName: node - linkType: hard - "v8-to-istanbul@npm:^9.0.1, v8-to-istanbul@npm:^9.1.0": version: 9.2.0 resolution: "v8-to-istanbul@npm:9.2.0" @@ -33572,7 +32832,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^16.0.0, yargs@npm:^16.2.0": +"yargs@npm:^16.0.0": version: 16.2.0 resolution: "yargs@npm:16.2.0" dependencies: