diff --git a/.changeset/wicked-shoes-shake.md b/.changeset/wicked-shoes-shake.md new file mode 100644 index 0000000000..8357568ae2 --- /dev/null +++ b/.changeset/wicked-shoes-shake.md @@ -0,0 +1,5 @@ +--- +'@commercetools/composable-commerce-test-data': patch +--- + +We've moved the `Cart` and `CartDiscount` models directories within the repository for better readability. This does not imply any change from the consumers side. diff --git a/standalone/src/cart-discount.ts b/standalone/src/cart-discount.ts index 34b5e674a4..8c3a9ceb8e 100644 --- a/standalone/src/cart-discount.ts +++ b/standalone/src/cart-discount.ts @@ -1 +1 @@ -export * from './models/cart-discount'; +export * from './models/cart/cart-discount'; diff --git a/standalone/src/cart.ts b/standalone/src/cart.ts index 3fbb8ff9b6..592bd26d69 100644 --- a/standalone/src/cart.ts +++ b/standalone/src/cart.ts @@ -1 +1 @@ -export * from './models/cart'; +export * from './models/cart/cart'; diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/builders.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/builders.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/builders.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/builders.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/builders.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/builders.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/builders.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/builders.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/builders.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/builders.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/builders.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/builders.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/fields-config.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/fields-config.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/fields-config.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/cart-discount-custom-line-items-target-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/fields-config.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/fields-config.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/fields-config.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/types.ts similarity index 87% rename from standalone/src/models/cart-discount/cart-discount-custom-line-items-target/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/types.ts index d13a6c0479..49aa3c447a 100644 --- a/standalone/src/models/cart-discount/cart-discount-custom-line-items-target/types.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount-custom-line-items-target/types.ts @@ -1,5 +1,5 @@ import { CartDiscountCustomLineItemsTarget } from '@commercetools/platform-sdk'; -import { TCtpCustomLineItemsTarget } from '../../../graphql-types'; +import { TCtpCustomLineItemsTarget } from '@/graphql-types'; export type TCartDiscountCustomLineItemsTargetRest = CartDiscountCustomLineItemsTarget; diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/cart-discount-line-items-target-draft/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-line-items-target/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-line-items-target/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-line-items-target/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-line-items-target/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/builders.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/builders.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/builders.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/builders.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/builders.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/builders.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/builders.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/builders.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/builders.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/builders.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/builders.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/builders.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/fields-config.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/fields-config.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/fields-config.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/cart-discount-multi-buy-custom-line-items-target-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/constants.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/constants.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/constants.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/constants.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/fields-config.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/fields-config.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/fields-config.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-custom-line-items-target/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-custom-line-items-target/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/empty.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/empty.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/empty.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/empty.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/empty.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/empty.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/empty.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/empty.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/cart-discount-multi-buy-line-items-target-draft/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/constants.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/constants.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/constants.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/constants.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-multi-buy-line-items-target/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-multi-buy-line-items-target/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/builders.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/builders.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/builders.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/builders.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/builders.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/builders.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/fields-config.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/fields-config.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/fields-config.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/builders.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/builders.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/builders.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/builders.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/builders.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/builders.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/fields-config.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/fields-config.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/fields-config.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/src/cart-discount-pattern-target-draft/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-pattern-target/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-pattern-target/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-pattern-target/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-pattern-target/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/cart-discount-shipping-cost-target-draft/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-shipping-cost-target/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-shipping-cost-target/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-shipping-cost-target/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/builders.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/builders.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/builders.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/builders.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/builders.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/builders.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/builders.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/builders.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/builders.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/builders.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/builders.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/builders.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/fields-config.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/fields-config.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/fields-config.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/cart-discount-total-price-target-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/fields-config.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/fields-config.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/fields-config.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-total-price-target/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-total-price-target/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-total-price-target/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-total-price-target/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/cart-discount-value-absolute-draft/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/constants.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/constants.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/constants.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/constants.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-absolute/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-absolute/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-absolute/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-absolute/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/cart-discount-value-fixed-draft/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-fixed/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-fixed/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-fixed/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-fixed/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/empty.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/empty.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/empty.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/empty.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/empty.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/empty.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/empty.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/empty.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/cart-discount-value-gift-line-item-draft/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-gift-line-item/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-gift-line-item/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-gift-line-item/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/cart-discount-value-relative-draft/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount-value-relative/types.ts b/standalone/src/models/cart/cart-discount/cart-discount-value-relative/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount-value-relative/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount-value-relative/types.ts diff --git a/standalone/src/models/cart-discount/cart-discount/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/builder.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/builder.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/builder.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/builder.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/builder.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/builder.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/builder.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/index.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/empty.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/empty.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/empty.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/empty.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/empty.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/empty.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/empty.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/empty.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.ts similarity index 97% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.ts index b8b674cabf..8d47ee62ba 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/free-ship-50000-gbp.ts @@ -1,4 +1,4 @@ -import { LocalizedStringDraft } from '../../../../../commons'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { CartDiscountShippingCostTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/index.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.ts similarity index 97% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.ts index 895a66e030..675510f314 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2b/tower-cranes-bogo.ts @@ -1,5 +1,5 @@ -import { CategoryDraft, type TCategoryDraft } from '../../../../../category'; -import { LocalizedStringDraft } from '../../../../../commons'; +import { CategoryDraft, type TCategoryDraft } from '../../../../../../category'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { CartDiscountMultiBuyLineItemsTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.ts similarity index 94% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.ts index ee0669b65b..ce6eb4508e 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/free-shipping.ts @@ -1,4 +1,4 @@ -import { LocalizedStringDraft } from '../../../../../commons'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { CartDiscountShippingCostTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.ts similarity index 93% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.ts index 524c0f3f07..686ef28c02 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/furniture-bogo.ts @@ -1,8 +1,8 @@ -import { LocalizedStringDraft } from '../../../../../commons'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { ProductTypeDraft, TProductTypeDraft, -} from '../../../../../product-type'; +} from '../../../../../../product-type'; import { CartDiscountMultiBuyLineItemsTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/index.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-b2c-lifestyle/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.ts similarity index 90% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.ts index 9e75f13d90..78824debeb 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/employee-sale.ts @@ -1,8 +1,8 @@ -import { LocalizedStringDraft } from '../../../../../commons'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { CustomerGroupDraft, TCustomerGroupDraft, -} from '../../../../../customer-group'; +} from '../../../../../../customer-group'; import { CartDiscountLineItemsTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.ts similarity index 93% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.ts index fc8f73c8f4..b6ecd2323d 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/free-shipping.ts @@ -1,4 +1,4 @@ -import { LocalizedStringDraft } from '../../../../../commons'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { CartDiscountShippingCostTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/index.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.ts similarity index 96% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.ts index 1b1fd5d326..532741ba25 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/luxe-spend.ts @@ -1,8 +1,8 @@ -import { LocalizedStringDraft, MoneyDraft } from '../../../../../commons'; +import { LocalizedStringDraft, MoneyDraft } from '../../../../../../commons'; import { CustomerGroupDraft, TCustomerGroupDraft, -} from '../../../../../customer-group'; +} from '../../../../../../customer-group'; import { CartDiscountLineItemsTargetDraft, CartDiscountValueAbsoluteDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.ts similarity index 89% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.ts index 4aed44f2e3..4d646f7d39 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/percent-off-womens-wear.ts @@ -1,5 +1,5 @@ -import { CategoryDraft, TCategoryDraft } from '../../../../../category'; -import { LocalizedStringDraft } from '../../../../../commons'; +import { CategoryDraft, TCategoryDraft } from '../../../../../../category'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { CartDiscountLineItemsTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.ts similarity index 92% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.ts index 003d851a2e..19a4f5a184 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/shirts-bogo.ts @@ -1,8 +1,8 @@ -import { LocalizedStringDraft } from '../../../../../commons'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { ProductTypeDraft, TProductTypeDraft, -} from '../../../../../product-type'; +} from '../../../../../../product-type'; import { CartDiscountMultiBuyLineItemsTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.ts similarity index 98% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.ts index 3a407ee6d8..3c6dcbb6f5 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/skinny-fixed.ts @@ -1,4 +1,4 @@ -import { MoneyDraft, LocalizedStringDraft } from '../../../../../commons'; +import { MoneyDraft, LocalizedStringDraft } from '../../../../../../commons'; import { CartDiscountLineItemsTargetDraft, CartDiscountValueFixedDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.ts similarity index 93% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.ts index 338c5c65f8..9bf8f5afef 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/spend-save-ten-percent.ts @@ -1,4 +1,4 @@ -import { LocalizedStringDraft } from '../../../../../commons'; +import { LocalizedStringDraft } from '../../../../../../commons'; import { CartDiscountLineItemsTargetDraft, CartDiscountValueRelativeDraft, diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.spec.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.spec.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.spec.ts diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.ts similarity index 97% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.ts index 8cee590e9d..f9b26a9d7a 100644 --- a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.ts +++ b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/presets/sample-data-fashion/summer-flips.ts @@ -1,7 +1,7 @@ import { LocalizedStringDraft, KeyReferenceDraft, -} from '../../../../../commons'; +} from '../../../../../../commons'; import { CartDiscountValueGiftLineItemDraft } from '../../../../index'; import { stackingMode } from '../../../constants'; import type { TCartDiscountDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/cart-discount/cart-discount/cart-discount-draft/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/cart-discount-draft/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount/cart-discount-draft/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount/constants.ts b/standalone/src/models/cart/cart-discount/cart-discount/constants.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/constants.ts rename to standalone/src/models/cart/cart-discount/cart-discount/constants.ts diff --git a/standalone/src/models/cart-discount/cart-discount/generator.ts b/standalone/src/models/cart/cart-discount/cart-discount/generator.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/generator.ts rename to standalone/src/models/cart/cart-discount/cart-discount/generator.ts diff --git a/standalone/src/models/cart-discount/cart-discount/index.ts b/standalone/src/models/cart/cart-discount/cart-discount/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount/presets/index.ts b/standalone/src/models/cart/cart-discount/cart-discount/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/presets/index.ts rename to standalone/src/models/cart/cart-discount/cart-discount/presets/index.ts diff --git a/standalone/src/models/cart-discount/cart-discount/transformers.ts b/standalone/src/models/cart/cart-discount/cart-discount/transformers.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/transformers.ts rename to standalone/src/models/cart/cart-discount/cart-discount/transformers.ts diff --git a/standalone/src/models/cart-discount/cart-discount/types.ts b/standalone/src/models/cart/cart-discount/cart-discount/types.ts similarity index 100% rename from standalone/src/models/cart-discount/cart-discount/types.ts rename to standalone/src/models/cart/cart-discount/cart-discount/types.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/builders.spec.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/builders.spec.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/builders.spec.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/builders.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/builders.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/builders.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/fields-config.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/fields-config.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/fields-config.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/index.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/index.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/index.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/index.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/presets/index.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/presets/index.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/presets/index.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/builders.spec.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/builders.spec.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/builders.spec.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/builders.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/builders.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/builders.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/fields-config.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/fields-config.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/fields-config.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/index.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/index.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/index.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/types.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/types.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/types.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/src/count-on-custom-line-item-units-draft/types.ts diff --git a/standalone/src/models/cart-discount/count-on-custom-line-item-units/types.ts b/standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/types.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-custom-line-item-units/types.ts rename to standalone/src/models/cart/cart-discount/count-on-custom-line-item-units/types.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/builders.spec.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/builders.spec.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/builders.spec.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/builders.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/builders.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/builders.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/fields-config.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/fields-config.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/fields-config.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/index.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/index.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/index.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/index.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/presets/index.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/presets/index.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/presets/index.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/builders.spec.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/builders.spec.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/builders.spec.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/builders.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/builders.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/builders.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/builders.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/fields-config.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/fields-config.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/fields-config.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/index.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/index.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/index.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/index.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/presets/index.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/presets/index.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/presets/index.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/types.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/types.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/types.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/src/count-on-line-item-units-draft/types.ts diff --git a/standalone/src/models/cart-discount/count-on-line-item-units/types.ts b/standalone/src/models/cart/cart-discount/count-on-line-item-units/types.ts similarity index 100% rename from standalone/src/models/cart-discount/count-on-line-item-units/types.ts rename to standalone/src/models/cart/cart-discount/count-on-line-item-units/types.ts diff --git a/standalone/src/models/cart-discount/index.ts b/standalone/src/models/cart/cart-discount/index.ts similarity index 100% rename from standalone/src/models/cart-discount/index.ts rename to standalone/src/models/cart/cart-discount/index.ts diff --git a/standalone/src/models/cart/cart/builders.spec.ts b/standalone/src/models/cart/cart/cart/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/builders.spec.ts rename to standalone/src/models/cart/cart/cart/builders.spec.ts diff --git a/standalone/src/models/cart/cart/builders.ts b/standalone/src/models/cart/cart/cart/builders.ts similarity index 100% rename from standalone/src/models/cart/cart/builders.ts rename to standalone/src/models/cart/cart/cart/builders.ts diff --git a/standalone/src/models/cart/cart/cart-draft/builders.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/builders.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/builders.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/builders.ts b/standalone/src/models/cart/cart/cart/cart-draft/builders.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/builders.ts rename to standalone/src/models/cart/cart/cart/cart-draft/builders.ts diff --git a/standalone/src/models/cart/cart/cart-draft/fields-config.ts b/standalone/src/models/cart/cart/cart/cart-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/fields-config.ts rename to standalone/src/models/cart/cart/cart/cart-draft/fields-config.ts diff --git a/standalone/src/models/cart/cart/cart-draft/index.ts b/standalone/src/models/cart/cart/cart/cart-draft/index.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/index.ts rename to standalone/src/models/cart/cart/cart/cart-draft/index.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/change-history-data/index.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/change-history-data/index.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/change-history-data/index.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/change-history-data/index.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/change-history-data/with-custom-line-item.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/change-history-data/with-custom-line-item.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/change-history-data/with-custom-line-item.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/change-history-data/with-custom-line-item.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/change-history-data/with-custom-line-item.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/change-history-data/with-custom-line-item.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/change-history-data/with-custom-line-item.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/change-history-data/with-custom-line-item.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/empty.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/empty.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/empty.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/empty.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/empty.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/empty.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/empty.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/empty.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/index.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/index.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/index.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.ts similarity index 87% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.ts index e3abd0f7ed..c6a1615b7e 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-1.ts @@ -1,20 +1,17 @@ -import type { TBuilder } from '../../../../../../core'; -import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit'; -import { - ChannelDraftRest, - type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { TBuilder } from '@/core'; +import { CompanyDraft, type TCompanyDraft } from '@/models/business-unit'; +import { ChannelDraftRest, type TChannelDraftRest } from '@/models/channel'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '@/models/product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '@/models/shipping-method'; +import { StoreDraft, type TStoreDraft } from '@/models/store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts similarity index 87% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts index fe7718c6c9..c06f09c699 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts @@ -1,20 +1,17 @@ -import type { TBuilder } from '../../../../../../core'; -import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit'; -import { - ChannelDraftRest, - type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '@/core'; +import { CompanyDraft, type TCompanyDraft } from '@/models/business-unit'; +import { ChannelDraftRest, type TChannelDraftRest } from '@/models/channel'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '@/models/product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '@/models/shipping-method'; +import { StoreDraft, type TStoreDraft } from '@/models/store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/index.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/index.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/index.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/index.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.ts similarity index 91% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.ts index 9b20920fab..d96db4b20d 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-1.ts @@ -1,20 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; -import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit'; +import type { TBuilder } from '../../../../../../../core'; +import { + CompanyDraft, + type TCompanyDraft, +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts similarity index 91% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts index d56f5af1e9..f5cf0bfe39 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts @@ -1,20 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; -import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit'; +import type { TBuilder } from '../../../../../../../core'; +import { + CompanyDraft, + type TCompanyDraft, +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.ts similarity index 91% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.ts index e9f9f6da0c..cb2264183b 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-1.ts @@ -1,20 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; -import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit'; +import type { TBuilder } from '../../../../../../../core'; +import { + CompanyDraft, + type TCompanyDraft, +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts similarity index 91% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts index c805315933..6c7d629709 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts @@ -1,20 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; -import { CompanyDraft, type TCompanyDraft } from '../../../../../business-unit'; +import type { TBuilder } from '../../../../../../../core'; +import { + CompanyDraft, + type TCompanyDraft, +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.ts similarity index 92% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.ts index 270534e4f0..ea9fad7351 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-1.ts @@ -1,23 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; +import type { TBuilder } from '../../../../../../../core'; import { DivisionDraft, type TDivisionDraft, -} from '../../../../../business-unit'; +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts similarity index 92% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts index 6a06c3b015..93d2ec6241 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts @@ -1,23 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; +import type { TBuilder } from '../../../../../../../core'; import { DivisionDraft, type TDivisionDraft, -} from '../../../../../business-unit'; +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.ts similarity index 92% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.ts index b6cebffaa2..b937e4e8df 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-1.ts @@ -1,23 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; +import type { TBuilder } from '../../../../../../../core'; import { DivisionDraft, type TDivisionDraft, -} from '../../../../../business-unit'; +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts similarity index 92% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts index f667bcd546..e049aaa058 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts @@ -1,23 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; +import type { TBuilder } from '../../../../../../../core'; import { DivisionDraft, type TDivisionDraft, -} from '../../../../../business-unit'; +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.ts similarity index 92% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.ts index ae48c533ca..98158c7bc0 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.ts @@ -1,23 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; +import type { TBuilder } from '../../../../../../../core'; import { DivisionDraft, type TDivisionDraft, -} from '../../../../../business-unit'; +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts similarity index 92% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts index b6a48eed9c..3af3b29ac8 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts @@ -1,23 +1,23 @@ -import type { TBuilder } from '../../../../../../core'; +import type { TBuilder } from '../../../../../../../core'; import { DivisionDraft, type TDivisionDraft, -} from '../../../../../business-unit'; +} from '../../../../../../business-unit'; import { ChannelDraftRest, type TChannelDraftRest, -} from '../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +} from '../../../../../../channel'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/index.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/index.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/index.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/index.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.ts similarity index 91% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.ts index e5692e29a5..f7158c3efb 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-01.ts @@ -1,15 +1,15 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.ts similarity index 91% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.ts index 4792ceca7d..02e9673f64 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-01.ts @@ -1,15 +1,15 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.ts similarity index 90% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.ts index 3a4690fea0..c07fe64a66 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-01.ts @@ -1,15 +1,15 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.ts similarity index 90% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.ts index c74787fdb0..8716968437 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-01.ts @@ -1,15 +1,15 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.ts similarity index 92% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.ts index c4a22f62bc..fde51d8581 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-01.ts @@ -1,15 +1,15 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/index.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/index.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/index.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/index.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.ts similarity index 89% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.ts index db9261e9cd..e8d25c6b7a 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-01.ts @@ -1,15 +1,15 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.ts similarity index 90% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.ts index 3db802d6f4..aa4739bce7 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-australia-02.ts @@ -1,18 +1,18 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { DiscountCodeDraft, type TDiscountCodeDraft, -} from '../../../../../discount-code'; +} from '../../../../../../discount-code'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; +} from '../../../../../../shipping-method'; import { LineItemDraft } from '../../../../index'; import { origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.ts similarity index 89% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.ts index 382534cee9..049403e6cd 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-01.ts @@ -1,15 +1,15 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.ts similarity index 90% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.ts index d1c2adbb65..3ac5e69ae1 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-germany-02.ts @@ -1,18 +1,18 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { DiscountCodeDraft, type TDiscountCodeDraft, -} from '../../../../../discount-code'; +} from '../../../../../../discount-code'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; +} from '../../../../../../shipping-method'; import { LineItemDraft } from '../../../../index'; import { inventoryMode, origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.spec.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.spec.ts similarity index 100% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.spec.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.spec.ts diff --git a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.ts b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.ts similarity index 90% rename from standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.ts rename to standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.ts index e532290198..ad450ba39b 100644 --- a/standalone/src/models/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.ts +++ b/standalone/src/models/cart/cart/cart/cart-draft/presets/sample-data-fashion/sample-usa-01.ts @@ -1,15 +1,15 @@ -import type { TBuilder } from '../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import type { TBuilder } from '../../../../../../../core'; +import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; +import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; import { ProductVariantDraft, type TProductVariantDraft, -} from '../../../../../product'; +} from '../../../../../../product'; import { ShippingMethodDraft, type TShippingMethodDraft, -} from '../../../../../shipping-method'; -import { StoreDraft, type TStoreDraft } from '../../../../../store'; +} from '../../../../../../shipping-method'; +import { StoreDraft, type TStoreDraft } from '../../../../../../store'; import { LineItemDraft } from '../../../../index'; import { origin } from '../../../constants'; import type { diff --git a/standalone/src/models/cart/cart/constants.ts b/standalone/src/models/cart/cart/cart/constants.ts similarity index 100% rename from standalone/src/models/cart/cart/constants.ts rename to standalone/src/models/cart/cart/cart/constants.ts diff --git a/standalone/src/models/cart/cart/fields-config.ts b/standalone/src/models/cart/cart/cart/fields-config.ts similarity index 98% rename from standalone/src/models/cart/cart/fields-config.ts rename to standalone/src/models/cart/cart/cart/fields-config.ts index 5d57d606b7..e8bb88110c 100644 --- a/standalone/src/models/cart/cart/fields-config.ts +++ b/standalone/src/models/cart/cart/cart/fields-config.ts @@ -1,6 +1,6 @@ import { fake, oneOf, type TModelFieldsConfig, sequence } from '@/core'; import { Company } from '@/models/business-unit'; -import { CartDiscount } from '@/models/cart-discount'; +import { CartDiscount } from '@/models/cart/cart-discount'; import { Address, CentPrecisionMoney, diff --git a/standalone/src/models/cart/cart/cart/index.ts b/standalone/src/models/cart/cart/cart/index.ts new file mode 100644 index 0000000000..a323d86749 --- /dev/null +++ b/standalone/src/models/cart/cart/cart/index.ts @@ -0,0 +1,30 @@ +import { + RestModelBuilder, + GraphqlModelBuilder, + CompatCartModelBuilder, +} from './builders'; +import * as constants from './constants'; +import * as modelPresets from './presets'; +export * as constants from './constants'; + +export const CartRest = { + random: RestModelBuilder, + presets: modelPresets.default, +}; + +export const CartGraphql = { + random: GraphqlModelBuilder, + presets: modelPresets.default, +}; + +/** + * @deprecated Use `CartRest` or `CartGraphql` exported models instead of `Cart`. + */ +export const Cart = { + random: CompatCartModelBuilder, + presets: modelPresets.default, + /** + * @deprecated Import `constants` directly from this package root instead of accessing them via the `Cart` model. + */ + constants, +}; diff --git a/standalone/src/models/cart/cart/presets/index.ts b/standalone/src/models/cart/cart/cart/presets/index.ts similarity index 100% rename from standalone/src/models/cart/cart/presets/index.ts rename to standalone/src/models/cart/cart/cart/presets/index.ts diff --git a/standalone/src/models/cart/cart/types.ts b/standalone/src/models/cart/cart/cart/types.ts similarity index 100% rename from standalone/src/models/cart/cart/types.ts rename to standalone/src/models/cart/cart/cart/types.ts diff --git a/standalone/src/models/cart/custom-line-item/builders.spec.ts b/standalone/src/models/cart/cart/custom-line-item/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/builders.spec.ts rename to standalone/src/models/cart/cart/custom-line-item/builders.spec.ts diff --git a/standalone/src/models/cart/custom-line-item/builders.ts b/standalone/src/models/cart/cart/custom-line-item/builders.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/builders.ts rename to standalone/src/models/cart/cart/custom-line-item/builders.ts diff --git a/standalone/src/models/cart/custom-line-item/custom-line-item-draft/builders.spec.ts b/standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/custom-line-item-draft/builders.spec.ts rename to standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/builders.spec.ts diff --git a/standalone/src/models/cart/custom-line-item/custom-line-item-draft/builders.ts b/standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/builders.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/custom-line-item-draft/builders.ts rename to standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/builders.ts diff --git a/standalone/src/models/cart/custom-line-item/custom-line-item-draft/field-config.ts b/standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/field-config.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/custom-line-item-draft/field-config.ts rename to standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/field-config.ts diff --git a/standalone/src/models/cart/custom-line-item/custom-line-item-draft/index.ts b/standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/index.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/custom-line-item-draft/index.ts rename to standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/index.ts diff --git a/standalone/src/models/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/index.ts b/standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/index.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/index.ts rename to standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/index.ts diff --git a/standalone/src/models/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/with-usd-currency-code.spec.ts b/standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/with-usd-currency-code.spec.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/with-usd-currency-code.spec.ts rename to standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/with-usd-currency-code.spec.ts diff --git a/standalone/src/models/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/with-usd-currency-code.ts b/standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/with-usd-currency-code.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/with-usd-currency-code.ts rename to standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/presets/change-history-data/with-usd-currency-code.ts diff --git a/standalone/src/models/cart/custom-line-item/custom-line-item-draft/presets/index.ts b/standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/custom-line-item-draft/presets/index.ts rename to standalone/src/models/cart/cart/custom-line-item/custom-line-item-draft/presets/index.ts diff --git a/standalone/src/models/cart/custom-line-item/field-config.ts b/standalone/src/models/cart/cart/custom-line-item/field-config.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/field-config.ts rename to standalone/src/models/cart/cart/custom-line-item/field-config.ts diff --git a/standalone/src/models/cart/custom-line-item/index.ts b/standalone/src/models/cart/cart/custom-line-item/index.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/index.ts rename to standalone/src/models/cart/cart/custom-line-item/index.ts diff --git a/standalone/src/models/cart/custom-line-item/presets/index.ts b/standalone/src/models/cart/cart/custom-line-item/presets/index.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/presets/index.ts rename to standalone/src/models/cart/cart/custom-line-item/presets/index.ts diff --git a/standalone/src/models/cart/custom-line-item/types.ts b/standalone/src/models/cart/cart/custom-line-item/types.ts similarity index 100% rename from standalone/src/models/cart/custom-line-item/types.ts rename to standalone/src/models/cart/cart/custom-line-item/types.ts diff --git a/standalone/src/models/cart/direct-discount/builders.spec.ts b/standalone/src/models/cart/cart/direct-discount/builders.spec.ts similarity index 94% rename from standalone/src/models/cart/direct-discount/builders.spec.ts rename to standalone/src/models/cart/cart/direct-discount/builders.spec.ts index 61b508c9b1..5bad3dd0b1 100644 --- a/standalone/src/models/cart/direct-discount/builders.spec.ts +++ b/standalone/src/models/cart/cart/direct-discount/builders.spec.ts @@ -1,4 +1,4 @@ -import { CartDiscountLineItemsTarget } from '@/models/cart-discount'; +import { CartDiscountLineItemsTarget } from '@/models/cart/cart-discount'; import { DirectDiscountRest, DirectDiscountGraphql } from './index'; describe('DirectDiscount Builder', () => { diff --git a/standalone/src/models/cart/direct-discount/builders.ts b/standalone/src/models/cart/cart/direct-discount/builders.ts similarity index 100% rename from standalone/src/models/cart/direct-discount/builders.ts rename to standalone/src/models/cart/cart/direct-discount/builders.ts diff --git a/standalone/src/models/cart/direct-discount/direct-discount-draft/builders.spec.ts b/standalone/src/models/cart/cart/direct-discount/direct-discount-draft/builders.spec.ts similarity index 94% rename from standalone/src/models/cart/direct-discount/direct-discount-draft/builders.spec.ts rename to standalone/src/models/cart/cart/direct-discount/direct-discount-draft/builders.spec.ts index 648a57102f..b29e3bb4ce 100644 --- a/standalone/src/models/cart/direct-discount/direct-discount-draft/builders.spec.ts +++ b/standalone/src/models/cart/cart/direct-discount/direct-discount-draft/builders.spec.ts @@ -1,4 +1,4 @@ -import { CartDiscountLineItemsTargetDraft } from '@/models/cart-discount'; +import { CartDiscountLineItemsTargetDraft } from '@/models/cart/cart-discount'; import { DirectDiscountDraftRest, DirectDiscountDraftGraphql } from './index'; describe('DirectDiscountDraft Builder', () => { diff --git a/standalone/src/models/cart/direct-discount/direct-discount-draft/builders.ts b/standalone/src/models/cart/cart/direct-discount/direct-discount-draft/builders.ts similarity index 100% rename from standalone/src/models/cart/direct-discount/direct-discount-draft/builders.ts rename to standalone/src/models/cart/cart/direct-discount/direct-discount-draft/builders.ts diff --git a/standalone/src/models/cart/direct-discount/direct-discount-draft/fields-config.ts b/standalone/src/models/cart/cart/direct-discount/direct-discount-draft/fields-config.ts similarity index 87% rename from standalone/src/models/cart/direct-discount/direct-discount-draft/fields-config.ts rename to standalone/src/models/cart/cart/direct-discount/direct-discount-draft/fields-config.ts index a8cd9491ea..bc994083a2 100644 --- a/standalone/src/models/cart/direct-discount/direct-discount-draft/fields-config.ts +++ b/standalone/src/models/cart/cart/direct-discount/direct-discount-draft/fields-config.ts @@ -1,5 +1,5 @@ import { fake, type TModelFieldsConfig } from '@/core'; -import { CartDiscountValueRelativeDraft } from '@/models/cart-discount'; +import { CartDiscountValueRelativeDraft } from '@/models/cart/cart-discount'; import type { TDirectDiscountDraftGraphql, TDirectDiscountDraftRest, diff --git a/standalone/src/models/cart/direct-discount/direct-discount-draft/index.ts b/standalone/src/models/cart/cart/direct-discount/direct-discount-draft/index.ts similarity index 100% rename from standalone/src/models/cart/direct-discount/direct-discount-draft/index.ts rename to standalone/src/models/cart/cart/direct-discount/direct-discount-draft/index.ts diff --git a/standalone/src/models/cart/direct-discount/direct-discount-draft/presets/index.ts b/standalone/src/models/cart/cart/direct-discount/direct-discount-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart/direct-discount/direct-discount-draft/presets/index.ts rename to standalone/src/models/cart/cart/direct-discount/direct-discount-draft/presets/index.ts diff --git a/standalone/src/models/cart/direct-discount/fields-config.ts b/standalone/src/models/cart/cart/direct-discount/fields-config.ts similarity index 88% rename from standalone/src/models/cart/direct-discount/fields-config.ts rename to standalone/src/models/cart/cart/direct-discount/fields-config.ts index 80b9ff5d38..2425aba3c8 100644 --- a/standalone/src/models/cart/direct-discount/fields-config.ts +++ b/standalone/src/models/cart/cart/direct-discount/fields-config.ts @@ -1,5 +1,5 @@ import { fake, type TModelFieldsConfig } from '@/core'; -import { CartDiscountValueRelative } from '@/models/cart-discount'; +import { CartDiscountValueRelative } from '@/models/cart/cart-discount'; import type { TDirectDiscountGraphql, TDirectDiscountRest } from './types'; const commonFieldsConfig = { diff --git a/standalone/src/models/cart/direct-discount/index.ts b/standalone/src/models/cart/cart/direct-discount/index.ts similarity index 100% rename from standalone/src/models/cart/direct-discount/index.ts rename to standalone/src/models/cart/cart/direct-discount/index.ts diff --git a/standalone/src/models/cart/direct-discount/presets/index.ts b/standalone/src/models/cart/cart/direct-discount/presets/index.ts similarity index 100% rename from standalone/src/models/cart/direct-discount/presets/index.ts rename to standalone/src/models/cart/cart/direct-discount/presets/index.ts diff --git a/standalone/src/models/cart/direct-discount/types.ts b/standalone/src/models/cart/cart/direct-discount/types.ts similarity index 100% rename from standalone/src/models/cart/direct-discount/types.ts rename to standalone/src/models/cart/cart/direct-discount/types.ts diff --git a/standalone/src/models/cart/discount-on-total-price/builders.spec.ts b/standalone/src/models/cart/cart/discount-on-total-price/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/discount-on-total-price/builders.spec.ts rename to standalone/src/models/cart/cart/discount-on-total-price/builders.spec.ts diff --git a/standalone/src/models/cart/discount-on-total-price/builders.ts b/standalone/src/models/cart/cart/discount-on-total-price/builders.ts similarity index 92% rename from standalone/src/models/cart/discount-on-total-price/builders.ts rename to standalone/src/models/cart/cart/discount-on-total-price/builders.ts index bdade32185..58cc9b014a 100644 --- a/standalone/src/models/cart/discount-on-total-price/builders.ts +++ b/standalone/src/models/cart/cart/discount-on-total-price/builders.ts @@ -1,4 +1,4 @@ -import { createSpecializedBuilder } from '../../../core'; +import { createSpecializedBuilder } from '@/core'; import { restFieldsConfig, graphqlFieldsConfig } from './fields-config'; import type { TCreateDiscountOnTotalPriceBuilder, diff --git a/standalone/src/models/cart/discount-on-total-price/fields-config.ts b/standalone/src/models/cart/cart/discount-on-total-price/fields-config.ts similarity index 89% rename from standalone/src/models/cart/discount-on-total-price/fields-config.ts rename to standalone/src/models/cart/cart/discount-on-total-price/fields-config.ts index 55d353a3f5..acc6cbdcd9 100644 --- a/standalone/src/models/cart/discount-on-total-price/fields-config.ts +++ b/standalone/src/models/cart/cart/discount-on-total-price/fields-config.ts @@ -1,5 +1,5 @@ -import { fake, type TModelFieldsConfig } from '../../../core'; -import { Money } from '../../commons'; +import { fake, type TModelFieldsConfig } from '@/core'; +import { Money } from '@/models/commons'; import { DiscountedTotalPricePortionRest, DiscountedTotalPricePortionGraphql, diff --git a/standalone/src/models/cart/discount-on-total-price/index.ts b/standalone/src/models/cart/cart/discount-on-total-price/index.ts similarity index 100% rename from standalone/src/models/cart/discount-on-total-price/index.ts rename to standalone/src/models/cart/cart/discount-on-total-price/index.ts diff --git a/standalone/src/models/cart/discount-on-total-price/presets/index.ts b/standalone/src/models/cart/cart/discount-on-total-price/presets/index.ts similarity index 100% rename from standalone/src/models/cart/discount-on-total-price/presets/index.ts rename to standalone/src/models/cart/cart/discount-on-total-price/presets/index.ts diff --git a/standalone/src/models/cart/discount-on-total-price/types.ts b/standalone/src/models/cart/cart/discount-on-total-price/types.ts similarity index 75% rename from standalone/src/models/cart/discount-on-total-price/types.ts rename to standalone/src/models/cart/cart/discount-on-total-price/types.ts index eaa7410ad2..f86997a001 100644 --- a/standalone/src/models/cart/discount-on-total-price/types.ts +++ b/standalone/src/models/cart/cart/discount-on-total-price/types.ts @@ -1,6 +1,6 @@ import { DiscountOnTotalPrice } from '@commercetools/platform-sdk'; -import type { TBuilder } from '../../../core'; -import { TCtpDiscountOnTotalPrice } from '../../../graphql-types'; +import type { TBuilder } from '@/core'; +import { TCtpDiscountOnTotalPrice } from '@/graphql-types'; export type TDiscountOnTotalPriceRest = DiscountOnTotalPrice; export type TDiscountOnTotalPriceGraphql = TCtpDiscountOnTotalPrice; diff --git a/standalone/src/models/cart/discounted-line-item-portion/builders.spec.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/builders.spec.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/builders.spec.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/builders.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/builders.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/builders.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/builders.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/builders.spec.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/builders.spec.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/builders.spec.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/builders.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/builders.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/builders.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/builders.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/fields-config.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/fields-config.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/fields-config.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/index.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/index.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/index.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/presets/index.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/discounted-line-item-portion-draft/presets/index.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/discounted-line-item-portion-draft/presets/index.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/fields-config.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/fields-config.ts similarity index 94% rename from standalone/src/models/cart/discounted-line-item-portion/fields-config.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/fields-config.ts index 14dd82f8dc..a6b0a9349c 100644 --- a/standalone/src/models/cart/discounted-line-item-portion/fields-config.ts +++ b/standalone/src/models/cart/cart/discounted-line-item-portion/fields-config.ts @@ -1,5 +1,5 @@ import { fake, type TModelFieldsConfig } from '@/core'; -import { CartDiscount } from '@/models/cart-discount'; +import { CartDiscount } from '@/models/cart/cart-discount'; import { Money, ReferenceGraphql, ReferenceRest } from '@/models/commons'; import type { TDiscountedLineItemPortionGraphql, diff --git a/standalone/src/models/cart/discounted-line-item-portion/index.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/index.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/index.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/presets/index.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/presets/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/presets/index.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/presets/index.ts diff --git a/standalone/src/models/cart/discounted-line-item-portion/types.ts b/standalone/src/models/cart/cart/discounted-line-item-portion/types.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-portion/types.ts rename to standalone/src/models/cart/cart/discounted-line-item-portion/types.ts diff --git a/standalone/src/models/cart/discounted-line-item-price-for-quantity/builders.spec.ts b/standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price-for-quantity/builders.spec.ts rename to standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/builders.spec.ts diff --git a/standalone/src/models/cart/discounted-line-item-price-for-quantity/builders.ts b/standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/builders.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price-for-quantity/builders.ts rename to standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/builders.ts diff --git a/standalone/src/models/cart/discounted-line-item-price-for-quantity/fields-config.ts b/standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/fields-config.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price-for-quantity/fields-config.ts rename to standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/fields-config.ts diff --git a/standalone/src/models/cart/discounted-line-item-price-for-quantity/index.ts b/standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price-for-quantity/index.ts rename to standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/index.ts diff --git a/standalone/src/models/cart/discounted-line-item-price-for-quantity/presets/index.ts b/standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/presets/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price-for-quantity/presets/index.ts rename to standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/presets/index.ts diff --git a/standalone/src/models/cart/discounted-line-item-price-for-quantity/types.ts b/standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/types.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price-for-quantity/types.ts rename to standalone/src/models/cart/cart/discounted-line-item-price-for-quantity/types.ts diff --git a/standalone/src/models/cart/discounted-line-item-price/builders.spec.ts b/standalone/src/models/cart/cart/discounted-line-item-price/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price/builders.spec.ts rename to standalone/src/models/cart/cart/discounted-line-item-price/builders.spec.ts diff --git a/standalone/src/models/cart/discounted-line-item-price/builders.ts b/standalone/src/models/cart/cart/discounted-line-item-price/builders.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price/builders.ts rename to standalone/src/models/cart/cart/discounted-line-item-price/builders.ts diff --git a/standalone/src/models/cart/discounted-line-item-price/fields-config.ts b/standalone/src/models/cart/cart/discounted-line-item-price/fields-config.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price/fields-config.ts rename to standalone/src/models/cart/cart/discounted-line-item-price/fields-config.ts diff --git a/standalone/src/models/cart/discounted-line-item-price/index.ts b/standalone/src/models/cart/cart/discounted-line-item-price/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price/index.ts rename to standalone/src/models/cart/cart/discounted-line-item-price/index.ts diff --git a/standalone/src/models/cart/discounted-line-item-price/presets/index.ts b/standalone/src/models/cart/cart/discounted-line-item-price/presets/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price/presets/index.ts rename to standalone/src/models/cart/cart/discounted-line-item-price/presets/index.ts diff --git a/standalone/src/models/cart/discounted-line-item-price/types.ts b/standalone/src/models/cart/cart/discounted-line-item-price/types.ts similarity index 100% rename from standalone/src/models/cart/discounted-line-item-price/types.ts rename to standalone/src/models/cart/cart/discounted-line-item-price/types.ts diff --git a/standalone/src/models/cart/discounted-total-price-portion/builders.spec.ts b/standalone/src/models/cart/cart/discounted-total-price-portion/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/discounted-total-price-portion/builders.spec.ts rename to standalone/src/models/cart/cart/discounted-total-price-portion/builders.spec.ts diff --git a/standalone/src/models/cart/discounted-total-price-portion/builders.ts b/standalone/src/models/cart/cart/discounted-total-price-portion/builders.ts similarity index 93% rename from standalone/src/models/cart/discounted-total-price-portion/builders.ts rename to standalone/src/models/cart/cart/discounted-total-price-portion/builders.ts index 13a60a7e48..4e85a226f0 100644 --- a/standalone/src/models/cart/discounted-total-price-portion/builders.ts +++ b/standalone/src/models/cart/cart/discounted-total-price-portion/builders.ts @@ -1,4 +1,4 @@ -import { createSpecializedBuilder } from '../../../core'; +import { createSpecializedBuilder } from '@/core'; import { restFieldsConfig, graphqlFieldsConfig } from './fields-config'; import type { TCreateDiscountedTotalPricePortionBuilder, diff --git a/standalone/src/models/cart/discounted-total-price-portion/fields-config.ts b/standalone/src/models/cart/cart/discounted-total-price-portion/fields-config.ts similarity index 82% rename from standalone/src/models/cart/discounted-total-price-portion/fields-config.ts rename to standalone/src/models/cart/cart/discounted-total-price-portion/fields-config.ts index 607c2ec5aa..09084a9da9 100644 --- a/standalone/src/models/cart/discounted-total-price-portion/fields-config.ts +++ b/standalone/src/models/cart/cart/discounted-total-price-portion/fields-config.ts @@ -1,6 +1,6 @@ -import { fake, type TModelFieldsConfig } from '../../../core'; -import { CartDiscount } from '../../cart-discount'; -import { Money, ReferenceGraphql, ReferenceRest } from '../../commons'; +import { fake, type TModelFieldsConfig } from '@/core'; +import { CartDiscount } from '@/models/cart/cart-discount'; +import { Money, ReferenceGraphql, ReferenceRest } from '@/models/commons'; import type { TDiscountedTotalPricePortionGraphql, TDiscountedTotalPricePortionRest, diff --git a/standalone/src/models/cart/discounted-total-price-portion/index.ts b/standalone/src/models/cart/cart/discounted-total-price-portion/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-total-price-portion/index.ts rename to standalone/src/models/cart/cart/discounted-total-price-portion/index.ts diff --git a/standalone/src/models/cart/discounted-total-price-portion/presets/index.ts b/standalone/src/models/cart/cart/discounted-total-price-portion/presets/index.ts similarity index 100% rename from standalone/src/models/cart/discounted-total-price-portion/presets/index.ts rename to standalone/src/models/cart/cart/discounted-total-price-portion/presets/index.ts diff --git a/standalone/src/models/cart/discounted-total-price-portion/types.ts b/standalone/src/models/cart/cart/discounted-total-price-portion/types.ts similarity index 77% rename from standalone/src/models/cart/discounted-total-price-portion/types.ts rename to standalone/src/models/cart/cart/discounted-total-price-portion/types.ts index cf4203834a..1e80dcf768 100644 --- a/standalone/src/models/cart/discounted-total-price-portion/types.ts +++ b/standalone/src/models/cart/cart/discounted-total-price-portion/types.ts @@ -1,6 +1,6 @@ import { DiscountedTotalPricePortion } from '@commercetools/platform-sdk'; -import type { TBuilder } from '../../../core'; -import { TCtpDiscountedTotalPricePortion } from '../../../graphql-types'; +import type { TBuilder } from '@/core'; +import type { TCtpDiscountedTotalPricePortion } from '@/graphql-types'; export type TDiscountedTotalPricePortionRest = DiscountedTotalPricePortion; export type TDiscountedTotalPricePortionGraphql = diff --git a/standalone/src/models/cart/cart/index.ts b/standalone/src/models/cart/cart/index.ts index a323d86749..c5734298ae 100644 --- a/standalone/src/models/cart/cart/index.ts +++ b/standalone/src/models/cart/cart/index.ts @@ -1,30 +1,24 @@ -import { - RestModelBuilder, - GraphqlModelBuilder, - CompatCartModelBuilder, -} from './builders'; -import * as constants from './constants'; -import * as modelPresets from './presets'; -export * as constants from './constants'; +// Export types +export * from './custom-line-item/types'; +export * from './cart/types'; +export * from './line-item/types'; +export * from './discount-on-total-price/types'; +export * from './discounted-total-price-portion/types'; -export const CartRest = { - random: RestModelBuilder, - presets: modelPresets.default, -}; - -export const CartGraphql = { - random: GraphqlModelBuilder, - presets: modelPresets.default, -}; - -/** - * @deprecated Use `CartRest` or `CartGraphql` exported models instead of `Cart`. - */ -export const Cart = { - random: CompatCartModelBuilder, - presets: modelPresets.default, - /** - * @deprecated Import `constants` directly from this package root instead of accessing them via the `Cart` model. - */ - constants, -}; +// Export models +export * from './cart'; +export * from './cart/cart-draft'; +export * from './custom-line-item'; +export * from './custom-line-item/custom-line-item-draft'; +export * from './direct-discount'; +export * from './discount-on-total-price'; +export * from './discounted-total-price-portion'; +export * from './discounted-line-item-portion'; +export * from './discounted-line-item-price'; +export * from './discounted-line-item-price-for-quantity'; +export * from './line-item'; +export * from './line-item/line-item-draft'; +export * from './taxed-price'; +export * from './shipping-info'; +export * from './tax-portion'; +export * from './taxed-item-price'; diff --git a/standalone/src/models/cart/line-item/builders.spec.ts b/standalone/src/models/cart/cart/line-item/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/line-item/builders.spec.ts rename to standalone/src/models/cart/cart/line-item/builders.spec.ts diff --git a/standalone/src/models/cart/line-item/builders.ts b/standalone/src/models/cart/cart/line-item/builders.ts similarity index 100% rename from standalone/src/models/cart/line-item/builders.ts rename to standalone/src/models/cart/cart/line-item/builders.ts diff --git a/standalone/src/models/cart/line-item/constants.ts b/standalone/src/models/cart/cart/line-item/constants.ts similarity index 100% rename from standalone/src/models/cart/line-item/constants.ts rename to standalone/src/models/cart/cart/line-item/constants.ts diff --git a/standalone/src/models/cart/line-item/field-config.ts b/standalone/src/models/cart/cart/line-item/field-config.ts similarity index 100% rename from standalone/src/models/cart/line-item/field-config.ts rename to standalone/src/models/cart/cart/line-item/field-config.ts diff --git a/standalone/src/models/cart/line-item/index.ts b/standalone/src/models/cart/cart/line-item/index.ts similarity index 100% rename from standalone/src/models/cart/line-item/index.ts rename to standalone/src/models/cart/cart/line-item/index.ts diff --git a/standalone/src/models/cart/line-item/line-item-draft/builders.spec.ts b/standalone/src/models/cart/cart/line-item/line-item-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/line-item/line-item-draft/builders.spec.ts rename to standalone/src/models/cart/cart/line-item/line-item-draft/builders.spec.ts diff --git a/standalone/src/models/cart/line-item/line-item-draft/builders.ts b/standalone/src/models/cart/cart/line-item/line-item-draft/builders.ts similarity index 100% rename from standalone/src/models/cart/line-item/line-item-draft/builders.ts rename to standalone/src/models/cart/cart/line-item/line-item-draft/builders.ts diff --git a/standalone/src/models/cart/line-item/line-item-draft/field-config.ts b/standalone/src/models/cart/cart/line-item/line-item-draft/field-config.ts similarity index 100% rename from standalone/src/models/cart/line-item/line-item-draft/field-config.ts rename to standalone/src/models/cart/cart/line-item/line-item-draft/field-config.ts diff --git a/standalone/src/models/cart/line-item/line-item-draft/index.ts b/standalone/src/models/cart/cart/line-item/line-item-draft/index.ts similarity index 100% rename from standalone/src/models/cart/line-item/line-item-draft/index.ts rename to standalone/src/models/cart/cart/line-item/line-item-draft/index.ts diff --git a/standalone/src/models/cart/line-item/line-item-draft/presets/empty.spec.ts b/standalone/src/models/cart/cart/line-item/line-item-draft/presets/empty.spec.ts similarity index 100% rename from standalone/src/models/cart/line-item/line-item-draft/presets/empty.spec.ts rename to standalone/src/models/cart/cart/line-item/line-item-draft/presets/empty.spec.ts diff --git a/standalone/src/models/cart/line-item/line-item-draft/presets/empty.ts b/standalone/src/models/cart/cart/line-item/line-item-draft/presets/empty.ts similarity index 100% rename from standalone/src/models/cart/line-item/line-item-draft/presets/empty.ts rename to standalone/src/models/cart/cart/line-item/line-item-draft/presets/empty.ts diff --git a/standalone/src/models/cart/line-item/line-item-draft/presets/index.ts b/standalone/src/models/cart/cart/line-item/line-item-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart/line-item/line-item-draft/presets/index.ts rename to standalone/src/models/cart/cart/line-item/line-item-draft/presets/index.ts diff --git a/standalone/src/models/cart/line-item/presets/index.ts b/standalone/src/models/cart/cart/line-item/presets/index.ts similarity index 100% rename from standalone/src/models/cart/line-item/presets/index.ts rename to standalone/src/models/cart/cart/line-item/presets/index.ts diff --git a/standalone/src/models/cart/line-item/types.ts b/standalone/src/models/cart/cart/line-item/types.ts similarity index 100% rename from standalone/src/models/cart/line-item/types.ts rename to standalone/src/models/cart/cart/line-item/types.ts diff --git a/standalone/src/models/cart/shipping-info/builders.spec.ts b/standalone/src/models/cart/cart/shipping-info/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/shipping-info/builders.spec.ts rename to standalone/src/models/cart/cart/shipping-info/builders.spec.ts diff --git a/standalone/src/models/cart/shipping-info/builders.ts b/standalone/src/models/cart/cart/shipping-info/builders.ts similarity index 100% rename from standalone/src/models/cart/shipping-info/builders.ts rename to standalone/src/models/cart/cart/shipping-info/builders.ts diff --git a/standalone/src/models/cart/shipping-info/fields-config.ts b/standalone/src/models/cart/cart/shipping-info/fields-config.ts similarity index 100% rename from standalone/src/models/cart/shipping-info/fields-config.ts rename to standalone/src/models/cart/cart/shipping-info/fields-config.ts diff --git a/standalone/src/models/cart/shipping-info/index.ts b/standalone/src/models/cart/cart/shipping-info/index.ts similarity index 100% rename from standalone/src/models/cart/shipping-info/index.ts rename to standalone/src/models/cart/cart/shipping-info/index.ts diff --git a/standalone/src/models/cart/shipping-info/presets/index.ts b/standalone/src/models/cart/cart/shipping-info/presets/index.ts similarity index 100% rename from standalone/src/models/cart/shipping-info/presets/index.ts rename to standalone/src/models/cart/cart/shipping-info/presets/index.ts diff --git a/standalone/src/models/cart/shipping-info/presets/with-all-fields/with-all-fields-presets.spec.ts b/standalone/src/models/cart/cart/shipping-info/presets/with-all-fields/with-all-fields-presets.spec.ts similarity index 100% rename from standalone/src/models/cart/shipping-info/presets/with-all-fields/with-all-fields-presets.spec.ts rename to standalone/src/models/cart/cart/shipping-info/presets/with-all-fields/with-all-fields-presets.spec.ts diff --git a/standalone/src/models/cart/shipping-info/presets/with-all-fields/with-all-fields-presets.ts b/standalone/src/models/cart/cart/shipping-info/presets/with-all-fields/with-all-fields-presets.ts similarity index 100% rename from standalone/src/models/cart/shipping-info/presets/with-all-fields/with-all-fields-presets.ts rename to standalone/src/models/cart/cart/shipping-info/presets/with-all-fields/with-all-fields-presets.ts diff --git a/standalone/src/models/cart/shipping-info/types.ts b/standalone/src/models/cart/cart/shipping-info/types.ts similarity index 100% rename from standalone/src/models/cart/shipping-info/types.ts rename to standalone/src/models/cart/cart/shipping-info/types.ts diff --git a/standalone/src/models/cart/tax-portion/builders.spec.ts b/standalone/src/models/cart/cart/tax-portion/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/builders.spec.ts rename to standalone/src/models/cart/cart/tax-portion/builders.spec.ts diff --git a/standalone/src/models/cart/tax-portion/builders.ts b/standalone/src/models/cart/cart/tax-portion/builders.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/builders.ts rename to standalone/src/models/cart/cart/tax-portion/builders.ts diff --git a/standalone/src/models/cart/tax-portion/fields-config.ts b/standalone/src/models/cart/cart/tax-portion/fields-config.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/fields-config.ts rename to standalone/src/models/cart/cart/tax-portion/fields-config.ts diff --git a/standalone/src/models/cart/tax-portion/index.ts b/standalone/src/models/cart/cart/tax-portion/index.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/index.ts rename to standalone/src/models/cart/cart/tax-portion/index.ts diff --git a/standalone/src/models/cart/tax-portion/presets/index.ts b/standalone/src/models/cart/cart/tax-portion/presets/index.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/presets/index.ts rename to standalone/src/models/cart/cart/tax-portion/presets/index.ts diff --git a/standalone/src/models/cart/tax-portion/tax-portion-draft/builders.spec.ts b/standalone/src/models/cart/cart/tax-portion/tax-portion-draft/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/tax-portion-draft/builders.spec.ts rename to standalone/src/models/cart/cart/tax-portion/tax-portion-draft/builders.spec.ts diff --git a/standalone/src/models/cart/tax-portion/tax-portion-draft/builders.ts b/standalone/src/models/cart/cart/tax-portion/tax-portion-draft/builders.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/tax-portion-draft/builders.ts rename to standalone/src/models/cart/cart/tax-portion/tax-portion-draft/builders.ts diff --git a/standalone/src/models/cart/tax-portion/tax-portion-draft/fields-config.ts b/standalone/src/models/cart/cart/tax-portion/tax-portion-draft/fields-config.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/tax-portion-draft/fields-config.ts rename to standalone/src/models/cart/cart/tax-portion/tax-portion-draft/fields-config.ts diff --git a/standalone/src/models/cart/tax-portion/tax-portion-draft/index.ts b/standalone/src/models/cart/cart/tax-portion/tax-portion-draft/index.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/tax-portion-draft/index.ts rename to standalone/src/models/cart/cart/tax-portion/tax-portion-draft/index.ts diff --git a/standalone/src/models/cart/tax-portion/tax-portion-draft/presets/index.ts b/standalone/src/models/cart/cart/tax-portion/tax-portion-draft/presets/index.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/tax-portion-draft/presets/index.ts rename to standalone/src/models/cart/cart/tax-portion/tax-portion-draft/presets/index.ts diff --git a/standalone/src/models/cart/tax-portion/types.ts b/standalone/src/models/cart/cart/tax-portion/types.ts similarity index 100% rename from standalone/src/models/cart/tax-portion/types.ts rename to standalone/src/models/cart/cart/tax-portion/types.ts diff --git a/standalone/src/models/cart/taxed-item-price/builders.spec.ts b/standalone/src/models/cart/cart/taxed-item-price/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/taxed-item-price/builders.spec.ts rename to standalone/src/models/cart/cart/taxed-item-price/builders.spec.ts diff --git a/standalone/src/models/cart/taxed-item-price/builders.ts b/standalone/src/models/cart/cart/taxed-item-price/builders.ts similarity index 100% rename from standalone/src/models/cart/taxed-item-price/builders.ts rename to standalone/src/models/cart/cart/taxed-item-price/builders.ts diff --git a/standalone/src/models/cart/taxed-item-price/fields-config.ts b/standalone/src/models/cart/cart/taxed-item-price/fields-config.ts similarity index 100% rename from standalone/src/models/cart/taxed-item-price/fields-config.ts rename to standalone/src/models/cart/cart/taxed-item-price/fields-config.ts diff --git a/standalone/src/models/cart/taxed-item-price/index.ts b/standalone/src/models/cart/cart/taxed-item-price/index.ts similarity index 100% rename from standalone/src/models/cart/taxed-item-price/index.ts rename to standalone/src/models/cart/cart/taxed-item-price/index.ts diff --git a/standalone/src/models/cart/taxed-item-price/presets/index.ts b/standalone/src/models/cart/cart/taxed-item-price/presets/index.ts similarity index 100% rename from standalone/src/models/cart/taxed-item-price/presets/index.ts rename to standalone/src/models/cart/cart/taxed-item-price/presets/index.ts diff --git a/standalone/src/models/cart/taxed-item-price/presets/with-all-fields/with-all-fields-presets.spec.ts b/standalone/src/models/cart/cart/taxed-item-price/presets/with-all-fields/with-all-fields-presets.spec.ts similarity index 100% rename from standalone/src/models/cart/taxed-item-price/presets/with-all-fields/with-all-fields-presets.spec.ts rename to standalone/src/models/cart/cart/taxed-item-price/presets/with-all-fields/with-all-fields-presets.spec.ts diff --git a/standalone/src/models/cart/taxed-item-price/presets/with-all-fields/with-all-fields-presets.ts b/standalone/src/models/cart/cart/taxed-item-price/presets/with-all-fields/with-all-fields-presets.ts similarity index 100% rename from standalone/src/models/cart/taxed-item-price/presets/with-all-fields/with-all-fields-presets.ts rename to standalone/src/models/cart/cart/taxed-item-price/presets/with-all-fields/with-all-fields-presets.ts diff --git a/standalone/src/models/cart/taxed-item-price/types.ts b/standalone/src/models/cart/cart/taxed-item-price/types.ts similarity index 100% rename from standalone/src/models/cart/taxed-item-price/types.ts rename to standalone/src/models/cart/cart/taxed-item-price/types.ts diff --git a/standalone/src/models/cart/taxed-price/builders.spec.ts b/standalone/src/models/cart/cart/taxed-price/builders.spec.ts similarity index 100% rename from standalone/src/models/cart/taxed-price/builders.spec.ts rename to standalone/src/models/cart/cart/taxed-price/builders.spec.ts diff --git a/standalone/src/models/cart/taxed-price/builders.ts b/standalone/src/models/cart/cart/taxed-price/builders.ts similarity index 100% rename from standalone/src/models/cart/taxed-price/builders.ts rename to standalone/src/models/cart/cart/taxed-price/builders.ts diff --git a/standalone/src/models/cart/taxed-price/fields-config.ts b/standalone/src/models/cart/cart/taxed-price/fields-config.ts similarity index 100% rename from standalone/src/models/cart/taxed-price/fields-config.ts rename to standalone/src/models/cart/cart/taxed-price/fields-config.ts diff --git a/standalone/src/models/cart/taxed-price/index.ts b/standalone/src/models/cart/cart/taxed-price/index.ts similarity index 100% rename from standalone/src/models/cart/taxed-price/index.ts rename to standalone/src/models/cart/cart/taxed-price/index.ts diff --git a/standalone/src/models/cart/taxed-price/presets/index.ts b/standalone/src/models/cart/cart/taxed-price/presets/index.ts similarity index 100% rename from standalone/src/models/cart/taxed-price/presets/index.ts rename to standalone/src/models/cart/cart/taxed-price/presets/index.ts diff --git a/standalone/src/models/cart/taxed-price/types.ts b/standalone/src/models/cart/cart/taxed-price/types.ts similarity index 100% rename from standalone/src/models/cart/taxed-price/types.ts rename to standalone/src/models/cart/cart/taxed-price/types.ts diff --git a/standalone/src/models/cart/index.ts b/standalone/src/models/cart/index.ts deleted file mode 100644 index c5734298ae..0000000000 --- a/standalone/src/models/cart/index.ts +++ /dev/null @@ -1,24 +0,0 @@ -// Export types -export * from './custom-line-item/types'; -export * from './cart/types'; -export * from './line-item/types'; -export * from './discount-on-total-price/types'; -export * from './discounted-total-price-portion/types'; - -// Export models -export * from './cart'; -export * from './cart/cart-draft'; -export * from './custom-line-item'; -export * from './custom-line-item/custom-line-item-draft'; -export * from './direct-discount'; -export * from './discount-on-total-price'; -export * from './discounted-total-price-portion'; -export * from './discounted-line-item-portion'; -export * from './discounted-line-item-price'; -export * from './discounted-line-item-price-for-quantity'; -export * from './line-item'; -export * from './line-item/line-item-draft'; -export * from './taxed-price'; -export * from './shipping-info'; -export * from './tax-portion'; -export * from './taxed-item-price'; diff --git a/standalone/src/models/commons/discounted-line-item-portion/fields-config.ts b/standalone/src/models/commons/discounted-line-item-portion/fields-config.ts index be16bb2680..e205e36306 100644 --- a/standalone/src/models/commons/discounted-line-item-portion/fields-config.ts +++ b/standalone/src/models/commons/discounted-line-item-portion/fields-config.ts @@ -1,4 +1,4 @@ -// import { CartDiscount } from '@/models/cart-discount'; +// import { CartDiscount } from '@/models/cart/cart-discount'; import { fake, type TModelFieldsConfig } from '@/core'; import { Money, Reference, TReferenceGraphql } from '../index'; import type { diff --git a/standalone/src/models/order/generator.ts b/standalone/src/models/order/generator.ts index 5336554699..dd05472b43 100644 --- a/standalone/src/models/order/generator.ts +++ b/standalone/src/models/order/generator.ts @@ -1,6 +1,6 @@ import { Generator, fake, oneOf, sequence } from '@/core'; -import { Cart, LineItem } from '@/models/cart'; -import { CartDiscount } from '@/models/cart-discount'; +import { Cart, LineItem } from '@/models/cart/cart'; +import { CartDiscount } from '@/models/cart/cart-discount'; import { CentPrecisionMoney, ClientLogging, Address } from '@/models/commons'; import * as CustomerGroup from '@/models/customer-group'; import { createRelatedDates } from '@/utils'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts index b6e42f5577..24a5c73140 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-cart-2.ts @@ -1,5 +1,4 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts index 88692643a3..3d2c0d0026 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-cart-2.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts index 71b090b765..ef236f8ebd 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-cart-2.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts index 0c81e8b801..f90783754a 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts index 4c81739ab7..ddb1452714 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts index 7ed87ced6c..59d2458571 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-cart-01.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-cart-01.ts index 67fe67bf19..6d66c64f1d 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-cart-01.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-cart-01.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-cart-01.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-cart-01.ts index 55e8ba20f9..9c76ed915c 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-cart-01.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt-cart-01.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-cart-01.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-cart-01.ts index cbafee06ef..0dd58ea434 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-cart-01.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin-cart-01.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-cart-01.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-cart-01.ts index d00ac52233..8e54b30b31 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-cart-01.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-cart-01.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-cart-01.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-cart-01.ts index d6bef29c22..fe48cc456a 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-cart-01.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-b2c-lifestyle/sebastian-smith-cart-01.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-australia-cart-01.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-australia-cart-01.ts index 73acf93b53..7f8ef03fba 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-australia-cart-01.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-australia-cart-01.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-australia-cart-02.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-australia-cart-02.ts index bbc213ba20..c8614b6b73 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-australia-cart-02.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-australia-cart-02.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-germany-cart-01.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-germany-cart-01.ts index 999923228b..12f9b3d0e6 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-germany-cart-01.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-germany-cart-01.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-germany-cart-02.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-germany-cart-02.ts index 4aac736b89..4a19203be4 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-germany-cart-02.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-germany-cart-02.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-usa-cart-01.ts b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-usa-cart-01.ts index f0baf1ad24..38d8dc079c 100644 --- a/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-usa-cart-01.ts +++ b/standalone/src/models/order/order-from-cart-draft/presets/sample-data-fashion/sample-usa-cart-01.ts @@ -1,5 +1,5 @@ -import { CartDraft } from '../../../../cart'; -import type { TCartDraft } from '../../../../cart'; +import { CartDraft } from '../../../../../cart'; +import type { TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { constants } from '../../../index'; import { TOrderFromCartDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/quote-request/generator.ts b/standalone/src/models/quote-request/generator.ts index 269fb80e35..672b4be143 100644 --- a/standalone/src/models/quote-request/generator.ts +++ b/standalone/src/models/quote-request/generator.ts @@ -1,6 +1,6 @@ import { sequence, fake, Generator, oneOf } from '@/core'; import { Company } from '@/models/business-unit'; -import { LineItem } from '@/models/cart'; +import { LineItem } from '@/models/cart/cart'; import { CentPrecisionMoney, ClientLogging, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1-2.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1-2.ts index 89e585b23d..494418c71a 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1-2.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1-2.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1-3.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1-3.ts index 5412e31a09..85d303fb51 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1-3.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1-3.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1.ts index a3269ce0a1..ceddfe2325 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/eagle-heavy-lift-technologies-inc-us-quote-request-1.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1-2.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1-2.ts index a50f66bf20..1487645398 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1-2.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1-2.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1-3.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1-3.ts index ecb3173000..3b3bd8a2d6 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1-3.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1-3.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1.ts index 9edd64324d..d1b674ec64 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-quote-request-1.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1-2.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1-2.ts index 1fdc82e908..907f3552fa 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1-2.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1-2.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1-3.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1-3.ts index 78562f72c9..1c77dd5b1d 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1-3.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1-3.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1.ts index 101640fa60..9c9fc10a73 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-de-quote-request-1.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1-2.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1-2.ts index 4b06f4b520..1b51fe7249 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1-2.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1-2.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1-3.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1-3.ts index dcfd7e49a6..eef47d2df7 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1-3.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1-3.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1.ts index 322a7b8201..852f245d13 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-es-quote-request-1.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1-2.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1-2.ts index 8b7e2c833c..44da75c9b4 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1-2.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1-2.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1-3.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1-3.ts index 37d929a04a..06a82ff692 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1-3.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1-3.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1.ts index b2e72709a5..0a438f2f3e 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-quote-request-1.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1-2.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1-2.ts index 4342163ef9..e3d09416fc 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1-2.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1-2.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1-3.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1-3.ts index 252d83c1b9..ba8830a063 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1-3.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1-3.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1.ts b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1.ts index c716f53ddf..437abafa42 100644 --- a/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1.ts +++ b/standalone/src/models/quote-request/quote-request-draft/presets/sample-data-b2b/lifttech-solutions-ltd-quote-request-1.ts @@ -1,4 +1,4 @@ -import { CartDraft, type TCartDraft } from '../../../../cart'; +import { CartDraft, type TCartDraft } from '../../../../../cart'; import { KeyReferenceDraft } from '../../../../commons'; import { QuoteRequestDraft, diff --git a/standalone/src/models/quote/generator.ts b/standalone/src/models/quote/generator.ts index 68ad108824..da728998a2 100644 --- a/standalone/src/models/quote/generator.ts +++ b/standalone/src/models/quote/generator.ts @@ -1,6 +1,6 @@ import { sequence, fake, Generator, oneOf } from '@/core'; import { Company } from '@/models/business-unit'; -import { LineItem } from '@/models/cart'; +import { LineItem } from '@/models/cart/cart'; import { CentPrecisionMoney, ClientLogging, Address } from '@/models/commons'; import { Customer } from '@/models/customer'; import { CustomerGroup } from '@/models/customer-group'; diff --git a/standalone/src/models/staged-quote/generator.ts b/standalone/src/models/staged-quote/generator.ts index c42a18e9f2..7960360ad8 100644 --- a/standalone/src/models/staged-quote/generator.ts +++ b/standalone/src/models/staged-quote/generator.ts @@ -1,6 +1,6 @@ import { sequence, fake, Generator, oneOf } from '@/core'; import { Company } from '@/models/business-unit'; -import { Cart } from '@/models/cart'; +import { Cart } from '@/models/cart/cart'; import { ClientLogging } from '@/models/commons'; import { Customer } from '@/models/customer'; import { QuoteRequest } from '@/models/quote-request';