From 3844b371e15af5258429d7c53aa51b2977891640 Mon Sep 17 00:00:00 2001 From: rajrdk Date: Mon, 19 May 2025 16:37:43 +0530 Subject: [PATCH 1/4] refactor(customer): structured models into single directory --- .changeset/khaki-corners-thank.md | 5 +++++ standalone/src/customer-group.ts | 2 +- standalone/src/customer.ts | 2 +- standalone/src/customers-search-list-my-view.ts | 2 +- .../src/models/{ => customer}/customer-group/builder.spec.ts | 0 .../src/models/{ => customer}/customer-group/builder.ts | 0 .../customer-group/customer-group-draft/builder.spec.ts | 0 .../customer-group/customer-group-draft/builder.ts | 0 .../customer-group/customer-group-draft/generator.ts | 0 .../customer-group/customer-group-draft/index.ts | 0 .../customer-group/customer-group-draft/presets/index.ts | 0 .../presets/sample-data-fashion/employee.spec.ts | 0 .../presets/sample-data-fashion/employee.ts | 0 .../presets/sample-data-fashion/index.ts | 0 .../presets/sample-data-fashion/luxe.spec.ts | 0 .../customer-group-draft/presets/sample-data-fashion/luxe.ts | 0 .../presets/sample-data-fashion/vip.spec.ts | 0 .../customer-group-draft/presets/sample-data-fashion/vip.ts | 0 .../customer-group/customer-group-draft/transformers.ts | 0 .../src/models/{ => customer}/customer-group/generator.ts | 0 standalone/src/models/{ => customer}/customer-group/index.ts | 0 .../models/{ => customer}/customer-group/presets/index.ts | 0 .../src/models/{ => customer}/customer-group/transformers.ts | 0 standalone/src/models/{ => customer}/customer-group/types.ts | 0 .../src/models/customer/{ => customer}/builder.spec.ts | 0 standalone/src/models/customer/{ => customer}/builder.ts | 0 standalone/src/models/customer/{ => customer}/constants.ts | 0 .../customer/{ => customer}/customer-draft/builder.spec.ts | 0 .../models/customer/{ => customer}/customer-draft/builder.ts | 0 .../customer/{ => customer}/customer-draft/generator.ts | 0 .../models/customer/{ => customer}/customer-draft/index.ts | 0 .../customer-draft/presets/change-history-data/index.ts | 0 .../change-history-data/us-based-with-no-state.spec.ts | 0 .../presets/change-history-data/us-based-with-no-state.ts | 0 .../presets/change-history-data/with-no-dob.spec.ts | 0 .../presets/change-history-data/with-no-dob.ts | 0 .../{ => customer}/customer-draft/presets/empty.spec.ts | 0 .../customer/{ => customer}/customer-draft/presets/empty.ts | 0 .../customer/{ => customer}/customer-draft/presets/index.ts | 0 .../presets/sample-data-b2b/amelia-jones.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/amelia-jones.ts | 2 +- .../customer-draft/presets/sample-data-b2b/ava-brown.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/ava-brown.ts | 2 +- .../presets/sample-data-b2b/camille-lefevre.spec.ts | 0 .../presets/sample-data-b2b/camille-lefevre.ts | 2 +- .../presets/sample-data-b2b/carlos-garcia.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/carlos-garcia.ts | 2 +- .../presets/sample-data-b2b/emma-johnson.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/emma-johnson.ts | 2 +- .../customer-draft/presets/sample-data-b2b/index.ts | 0 .../presets/sample-data-b2b/james-smith.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/james-smith.ts | 2 +- .../presets/sample-data-b2b/lucas-dubois.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/lucas-dubois.ts | 2 +- .../presets/sample-data-b2b/lukas-schmidt.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/lukas-schmidt.ts | 2 +- .../presets/sample-data-b2b/michael-williams.spec.ts | 0 .../presets/sample-data-b2b/michael-williams.ts | 2 +- .../presets/sample-data-b2b/oliver-smith.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/oliver-smith.ts | 2 +- .../presets/sample-data-b2b/olivia-newton.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/olivia-newton.ts | 2 +- .../presets/sample-data-b2b/sofia-lopez.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/sofia-lopez.ts | 2 +- .../presets/sample-data-b2b/sophie-mueller.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/sophie-mueller.ts | 2 +- .../presets/sample-data-b2b/william-davis.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/william-davis.ts | 2 +- .../presets/sample-data-b2b/william-taylor.spec.ts | 0 .../customer-draft/presets/sample-data-b2b/william-taylor.ts | 2 +- .../presets/sample-data-b2c-lifestyle/index.ts | 0 .../presets/sample-data-b2c-lifestyle/jennifer-jones.spec.ts | 0 .../presets/sample-data-b2c-lifestyle/jennifer-jones.ts | 2 +- .../sample-data-b2c-lifestyle/jennifer-robinson.spec.ts | 0 .../presets/sample-data-b2c-lifestyle/jennifer-robinson.ts | 2 +- .../sample-data-b2c-lifestyle/jennifer-schmidt.spec.ts | 0 .../presets/sample-data-b2c-lifestyle/jennifer-schmidt.ts | 2 +- .../sample-data-b2c-lifestyle/sebastian-franklin.spec.ts | 0 .../presets/sample-data-b2c-lifestyle/sebastian-franklin.ts | 2 +- .../sample-data-b2c-lifestyle/sebastian-muller.spec.ts | 0 .../presets/sample-data-b2c-lifestyle/sebastian-muller.ts | 2 +- .../sample-data-b2c-lifestyle/sebastian-smith.spec.ts | 0 .../presets/sample-data-b2c-lifestyle/sebastian-smith.ts | 2 +- .../customer-draft/presets/sample-data-fashion/index.ts | 0 .../presets/sample-data-fashion/sample-australia.spec.ts | 0 .../presets/sample-data-fashion/sample-australia.ts | 2 +- .../presets/sample-data-fashion/sample-germany.spec.ts | 0 .../presets/sample-data-fashion/sample-germany.ts | 2 +- .../presets/sample-data-fashion/sample-usa.spec.ts | 0 .../customer-draft/presets/sample-data-fashion/sample-usa.ts | 2 +- .../customer/{ => customer}/customer-draft/transformers.ts | 0 standalone/src/models/customer/{ => customer}/generator.ts | 0 standalone/src/models/customer/{ => customer}/index.ts | 0 .../src/models/customer/{ => customer}/presets/index.ts | 0 .../src/models/customer/{ => customer}/transformers.ts | 0 standalone/src/models/customer/{ => customer}/types.ts | 0 .../customers-search-list-my-view/builder.spec.ts | 0 .../{ => customer}/customers-search-list-my-view/builder.ts | 0 .../customers-search-list-my-view/generator.ts | 0 .../{ => customer}/customers-search-list-my-view/index.ts | 0 .../customers-search-list-my-view/presets/index.ts | 0 .../customers-search-list-my-view/transformers.ts | 0 .../{ => customer}/customers-search-list-my-view/types.ts | 0 103 files changed, 32 insertions(+), 27 deletions(-) create mode 100644 .changeset/khaki-corners-thank.md rename standalone/src/models/{ => customer}/customer-group/builder.spec.ts (100%) rename standalone/src/models/{ => customer}/customer-group/builder.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/builder.spec.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/builder.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/generator.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/index.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/presets/index.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/presets/sample-data-fashion/employee.spec.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/presets/sample-data-fashion/employee.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/presets/sample-data-fashion/index.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.spec.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/presets/sample-data-fashion/vip.spec.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/presets/sample-data-fashion/vip.ts (100%) rename standalone/src/models/{ => customer}/customer-group/customer-group-draft/transformers.ts (100%) rename standalone/src/models/{ => customer}/customer-group/generator.ts (100%) rename standalone/src/models/{ => customer}/customer-group/index.ts (100%) rename standalone/src/models/{ => customer}/customer-group/presets/index.ts (100%) rename standalone/src/models/{ => customer}/customer-group/transformers.ts (100%) rename standalone/src/models/{ => customer}/customer-group/types.ts (100%) rename standalone/src/models/customer/{ => customer}/builder.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/builder.ts (100%) rename standalone/src/models/customer/{ => customer}/constants.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/builder.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/builder.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/generator.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/index.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/change-history-data/index.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/change-history-data/us-based-with-no-state.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/change-history-data/us-based-with-no-state.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/change-history-data/with-no-dob.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/change-history-data/with-no-dob.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/empty.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/empty.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/index.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/amelia-jones.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/amelia-jones.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/ava-brown.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/ava-brown.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/camille-lefevre.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/camille-lefevre.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/carlos-garcia.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/carlos-garcia.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/emma-johnson.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/emma-johnson.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/index.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/james-smith.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/james-smith.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/lucas-dubois.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/lucas-dubois.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/lukas-schmidt.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/lukas-schmidt.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/michael-williams.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/michael-williams.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/oliver-smith.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/oliver-smith.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/olivia-newton.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/olivia-newton.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/sofia-lopez.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/sofia-lopez.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/sophie-mueller.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/sophie-mueller.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/william-davis.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/william-davis.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/william-taylor.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2b/william-taylor.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/index.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.ts (92%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.ts (92%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.ts (92%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.ts (92%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-fashion/index.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-fashion/sample-australia.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-fashion/sample-australia.ts (92%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-fashion/sample-germany.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-fashion/sample-germany.ts (91%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-fashion/sample-usa.spec.ts (100%) rename standalone/src/models/customer/{ => customer}/customer-draft/presets/sample-data-fashion/sample-usa.ts (92%) rename standalone/src/models/customer/{ => customer}/customer-draft/transformers.ts (100%) rename standalone/src/models/customer/{ => customer}/generator.ts (100%) rename standalone/src/models/customer/{ => customer}/index.ts (100%) rename standalone/src/models/customer/{ => customer}/presets/index.ts (100%) rename standalone/src/models/customer/{ => customer}/transformers.ts (100%) rename standalone/src/models/customer/{ => customer}/types.ts (100%) rename standalone/src/models/{ => customer}/customers-search-list-my-view/builder.spec.ts (100%) rename standalone/src/models/{ => customer}/customers-search-list-my-view/builder.ts (100%) rename standalone/src/models/{ => customer}/customers-search-list-my-view/generator.ts (100%) rename standalone/src/models/{ => customer}/customers-search-list-my-view/index.ts (100%) rename standalone/src/models/{ => customer}/customers-search-list-my-view/presets/index.ts (100%) rename standalone/src/models/{ => customer}/customers-search-list-my-view/transformers.ts (100%) rename standalone/src/models/{ => customer}/customers-search-list-my-view/types.ts (100%) diff --git a/.changeset/khaki-corners-thank.md b/.changeset/khaki-corners-thank.md new file mode 100644 index 0000000000..e75ff70cd8 --- /dev/null +++ b/.changeset/khaki-corners-thank.md @@ -0,0 +1,5 @@ +--- +'@commercetools/composable-commerce-test-data': patch +--- + +Moved `Customer`, `Customer Group` and `Customers search list my view` models directories within the repository structure to improve readability. diff --git a/standalone/src/customer-group.ts b/standalone/src/customer-group.ts index 636fcab7b7..d0dca5ebd9 100644 --- a/standalone/src/customer-group.ts +++ b/standalone/src/customer-group.ts @@ -1 +1 @@ -export * from './models/customer-group'; +export * from './models/customer/customer-group'; diff --git a/standalone/src/customer.ts b/standalone/src/customer.ts index 43423f7e6f..11a2de0ab2 100644 --- a/standalone/src/customer.ts +++ b/standalone/src/customer.ts @@ -1 +1 @@ -export * from './models/customer'; +export * from './models/customer/customer'; diff --git a/standalone/src/customers-search-list-my-view.ts b/standalone/src/customers-search-list-my-view.ts index cf0bac2a0b..5fd6d01a64 100644 --- a/standalone/src/customers-search-list-my-view.ts +++ b/standalone/src/customers-search-list-my-view.ts @@ -1 +1 @@ -export * from './models/customers-search-list-my-view'; +export * from './models/customer/customers-search-list-my-view'; diff --git a/standalone/src/models/customer-group/builder.spec.ts b/standalone/src/models/customer/customer-group/builder.spec.ts similarity index 100% rename from standalone/src/models/customer-group/builder.spec.ts rename to standalone/src/models/customer/customer-group/builder.spec.ts diff --git a/standalone/src/models/customer-group/builder.ts b/standalone/src/models/customer/customer-group/builder.ts similarity index 100% rename from standalone/src/models/customer-group/builder.ts rename to standalone/src/models/customer/customer-group/builder.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/builder.spec.ts b/standalone/src/models/customer/customer-group/customer-group-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/builder.spec.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/builder.spec.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/builder.ts b/standalone/src/models/customer/customer-group/customer-group-draft/builder.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/builder.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/builder.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/generator.ts b/standalone/src/models/customer/customer-group/customer-group-draft/generator.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/generator.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/generator.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/index.ts b/standalone/src/models/customer/customer-group/customer-group-draft/index.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/index.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/index.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/presets/index.ts b/standalone/src/models/customer/customer-group/customer-group-draft/presets/index.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/presets/index.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/presets/index.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/employee.spec.ts b/standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/employee.spec.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/employee.spec.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/employee.spec.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/employee.ts b/standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/employee.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/employee.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/employee.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/index.ts b/standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/index.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/index.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/index.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.spec.ts b/standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.spec.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.spec.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.spec.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.ts b/standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/luxe.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/vip.spec.ts b/standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/vip.spec.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/vip.spec.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/vip.spec.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/vip.ts b/standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/vip.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/presets/sample-data-fashion/vip.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/presets/sample-data-fashion/vip.ts diff --git a/standalone/src/models/customer-group/customer-group-draft/transformers.ts b/standalone/src/models/customer/customer-group/customer-group-draft/transformers.ts similarity index 100% rename from standalone/src/models/customer-group/customer-group-draft/transformers.ts rename to standalone/src/models/customer/customer-group/customer-group-draft/transformers.ts diff --git a/standalone/src/models/customer-group/generator.ts b/standalone/src/models/customer/customer-group/generator.ts similarity index 100% rename from standalone/src/models/customer-group/generator.ts rename to standalone/src/models/customer/customer-group/generator.ts diff --git a/standalone/src/models/customer-group/index.ts b/standalone/src/models/customer/customer-group/index.ts similarity index 100% rename from standalone/src/models/customer-group/index.ts rename to standalone/src/models/customer/customer-group/index.ts diff --git a/standalone/src/models/customer-group/presets/index.ts b/standalone/src/models/customer/customer-group/presets/index.ts similarity index 100% rename from standalone/src/models/customer-group/presets/index.ts rename to standalone/src/models/customer/customer-group/presets/index.ts diff --git a/standalone/src/models/customer-group/transformers.ts b/standalone/src/models/customer/customer-group/transformers.ts similarity index 100% rename from standalone/src/models/customer-group/transformers.ts rename to standalone/src/models/customer/customer-group/transformers.ts diff --git a/standalone/src/models/customer-group/types.ts b/standalone/src/models/customer/customer-group/types.ts similarity index 100% rename from standalone/src/models/customer-group/types.ts rename to standalone/src/models/customer/customer-group/types.ts diff --git a/standalone/src/models/customer/builder.spec.ts b/standalone/src/models/customer/customer/builder.spec.ts similarity index 100% rename from standalone/src/models/customer/builder.spec.ts rename to standalone/src/models/customer/customer/builder.spec.ts diff --git a/standalone/src/models/customer/builder.ts b/standalone/src/models/customer/customer/builder.ts similarity index 100% rename from standalone/src/models/customer/builder.ts rename to standalone/src/models/customer/customer/builder.ts diff --git a/standalone/src/models/customer/constants.ts b/standalone/src/models/customer/customer/constants.ts similarity index 100% rename from standalone/src/models/customer/constants.ts rename to standalone/src/models/customer/customer/constants.ts diff --git a/standalone/src/models/customer/customer-draft/builder.spec.ts b/standalone/src/models/customer/customer/customer-draft/builder.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/builder.spec.ts rename to standalone/src/models/customer/customer/customer-draft/builder.spec.ts diff --git a/standalone/src/models/customer/customer-draft/builder.ts b/standalone/src/models/customer/customer/customer-draft/builder.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/builder.ts rename to standalone/src/models/customer/customer/customer-draft/builder.ts diff --git a/standalone/src/models/customer/customer-draft/generator.ts b/standalone/src/models/customer/customer/customer-draft/generator.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/generator.ts rename to standalone/src/models/customer/customer/customer-draft/generator.ts diff --git a/standalone/src/models/customer/customer-draft/index.ts b/standalone/src/models/customer/customer/customer-draft/index.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/index.ts rename to standalone/src/models/customer/customer/customer-draft/index.ts diff --git a/standalone/src/models/customer/customer-draft/presets/change-history-data/index.ts b/standalone/src/models/customer/customer/customer-draft/presets/change-history-data/index.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/change-history-data/index.ts rename to standalone/src/models/customer/customer/customer-draft/presets/change-history-data/index.ts diff --git a/standalone/src/models/customer/customer-draft/presets/change-history-data/us-based-with-no-state.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/change-history-data/us-based-with-no-state.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/change-history-data/us-based-with-no-state.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/change-history-data/us-based-with-no-state.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/change-history-data/us-based-with-no-state.ts b/standalone/src/models/customer/customer/customer-draft/presets/change-history-data/us-based-with-no-state.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/change-history-data/us-based-with-no-state.ts rename to standalone/src/models/customer/customer/customer-draft/presets/change-history-data/us-based-with-no-state.ts diff --git a/standalone/src/models/customer/customer-draft/presets/change-history-data/with-no-dob.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/change-history-data/with-no-dob.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/change-history-data/with-no-dob.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/change-history-data/with-no-dob.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/change-history-data/with-no-dob.ts b/standalone/src/models/customer/customer/customer-draft/presets/change-history-data/with-no-dob.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/change-history-data/with-no-dob.ts rename to standalone/src/models/customer/customer/customer-draft/presets/change-history-data/with-no-dob.ts diff --git a/standalone/src/models/customer/customer-draft/presets/empty.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/empty.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/empty.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/empty.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/empty.ts b/standalone/src/models/customer/customer/customer-draft/presets/empty.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/empty.ts rename to standalone/src/models/customer/customer/customer-draft/presets/empty.ts diff --git a/standalone/src/models/customer/customer-draft/presets/index.ts b/standalone/src/models/customer/customer/customer-draft/presets/index.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/index.ts rename to standalone/src/models/customer/customer/customer-draft/presets/index.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/amelia-jones.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/amelia-jones.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/amelia-jones.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/amelia-jones.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/amelia-jones.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/amelia-jones.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/amelia-jones.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/amelia-jones.ts index 3a878866dd..dc6ca6e8e4 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/amelia-jones.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/amelia-jones.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/ava-brown.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/ava-brown.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/ava-brown.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/ava-brown.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/ava-brown.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/ava-brown.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/ava-brown.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/ava-brown.ts index bf1c25310d..c476f32835 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/ava-brown.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/ava-brown.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.ts index 0ffc221c69..49b3d0c153 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/camille-lefevre.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.ts index dc92c4e7eb..0f71768cf2 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/carlos-garcia.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/emma-johnson.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/emma-johnson.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/emma-johnson.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/emma-johnson.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/emma-johnson.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/emma-johnson.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/emma-johnson.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/emma-johnson.ts index d49fd1bdcd..6fd6336c6e 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/emma-johnson.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/emma-johnson.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/index.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/index.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/index.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/index.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/james-smith.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/james-smith.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/james-smith.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/james-smith.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/james-smith.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/james-smith.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/james-smith.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/james-smith.ts index 37fb2d695f..b94a66a590 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/james-smith.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/james-smith.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.ts index e4db634eb2..6bce6451f8 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lucas-dubois.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.ts index f3bbda504a..c9db82aa89 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/lukas-schmidt.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/michael-williams.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/michael-williams.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/michael-williams.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/michael-williams.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/michael-williams.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/michael-williams.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/michael-williams.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/michael-williams.ts index afba3952ab..7510dd739c 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/michael-williams.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/michael-williams.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/oliver-smith.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/oliver-smith.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/oliver-smith.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/oliver-smith.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/oliver-smith.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/oliver-smith.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/oliver-smith.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/oliver-smith.ts index 6589d9c61a..effb2dfd38 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/oliver-smith.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/oliver-smith.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/olivia-newton.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/olivia-newton.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/olivia-newton.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/olivia-newton.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/olivia-newton.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/olivia-newton.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/olivia-newton.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/olivia-newton.ts index 03423c8157..dd3166caff 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/olivia-newton.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/olivia-newton.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.ts index b7023be7ef..1a5e97aa23 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sofia-lopez.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.ts index 9c48b6875f..7006130f6c 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/sophie-mueller.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-davis.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-davis.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-davis.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-davis.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-davis.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-davis.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-davis.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-davis.ts index 3c3148ea7b..c1aa1461ec 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-davis.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-davis.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-taylor.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-taylor.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-taylor.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-taylor.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-taylor.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-taylor.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-taylor.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-taylor.ts index 227baea591..4c0b4a6567 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2b/william-taylor.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2b/william-taylor.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/index.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/index.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/index.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/index.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.ts index 891ae405e9..bf8868ea46 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-jones.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.ts similarity index 92% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.ts index 9c5479eaa8..4bc1ea804e 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-robinson.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.ts similarity index 92% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.ts index 2e789affde..8a0e0fa471 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/jennifer-schmidt.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.ts similarity index 92% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.ts index a63f681f6e..bc3f4369ab 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-franklin.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.ts similarity index 92% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.ts index 478faf23f9..81f3d472c5 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-muller.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.ts index 586914a8f6..f19a341186 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-b2c-lifestyle/sebastian-smith.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/index.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/index.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-fashion/index.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/index.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-australia.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-australia.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts similarity index 92% rename from standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts index 3f1938dc7b..284fac0e7c 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts @@ -1,4 +1,4 @@ -import { AddressDraft, KeyReferenceDraft } from '../../../../commons'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; import { CustomerGroupDraft, type TCustomerGroupDraft, diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-germany.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-germany.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-germany.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-germany.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-germany.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-germany.ts similarity index 91% rename from standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-germany.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-germany.ts index f4703cffec..ea1be66610 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-germany.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-germany.ts @@ -1,4 +1,4 @@ -import { AddressDraft } from '../../../../commons'; +import { AddressDraft } from '@/models/commons'; import { authenticationMode } from '../../../constants'; import { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-usa.spec.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.spec.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-usa.spec.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.spec.ts diff --git a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts similarity index 92% rename from standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts rename to standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts index 5ba51500ef..4fed94a18e 100644 --- a/standalone/src/models/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts @@ -1,4 +1,4 @@ -import { AddressDraft, KeyReferenceDraft } from '../../../../commons'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; import { CustomerGroupDraft, type TCustomerGroupDraft, diff --git a/standalone/src/models/customer/customer-draft/transformers.ts b/standalone/src/models/customer/customer/customer-draft/transformers.ts similarity index 100% rename from standalone/src/models/customer/customer-draft/transformers.ts rename to standalone/src/models/customer/customer/customer-draft/transformers.ts diff --git a/standalone/src/models/customer/generator.ts b/standalone/src/models/customer/customer/generator.ts similarity index 100% rename from standalone/src/models/customer/generator.ts rename to standalone/src/models/customer/customer/generator.ts diff --git a/standalone/src/models/customer/index.ts b/standalone/src/models/customer/customer/index.ts similarity index 100% rename from standalone/src/models/customer/index.ts rename to standalone/src/models/customer/customer/index.ts diff --git a/standalone/src/models/customer/presets/index.ts b/standalone/src/models/customer/customer/presets/index.ts similarity index 100% rename from standalone/src/models/customer/presets/index.ts rename to standalone/src/models/customer/customer/presets/index.ts diff --git a/standalone/src/models/customer/transformers.ts b/standalone/src/models/customer/customer/transformers.ts similarity index 100% rename from standalone/src/models/customer/transformers.ts rename to standalone/src/models/customer/customer/transformers.ts diff --git a/standalone/src/models/customer/types.ts b/standalone/src/models/customer/customer/types.ts similarity index 100% rename from standalone/src/models/customer/types.ts rename to standalone/src/models/customer/customer/types.ts diff --git a/standalone/src/models/customers-search-list-my-view/builder.spec.ts b/standalone/src/models/customer/customers-search-list-my-view/builder.spec.ts similarity index 100% rename from standalone/src/models/customers-search-list-my-view/builder.spec.ts rename to standalone/src/models/customer/customers-search-list-my-view/builder.spec.ts diff --git a/standalone/src/models/customers-search-list-my-view/builder.ts b/standalone/src/models/customer/customers-search-list-my-view/builder.ts similarity index 100% rename from standalone/src/models/customers-search-list-my-view/builder.ts rename to standalone/src/models/customer/customers-search-list-my-view/builder.ts diff --git a/standalone/src/models/customers-search-list-my-view/generator.ts b/standalone/src/models/customer/customers-search-list-my-view/generator.ts similarity index 100% rename from standalone/src/models/customers-search-list-my-view/generator.ts rename to standalone/src/models/customer/customers-search-list-my-view/generator.ts diff --git a/standalone/src/models/customers-search-list-my-view/index.ts b/standalone/src/models/customer/customers-search-list-my-view/index.ts similarity index 100% rename from standalone/src/models/customers-search-list-my-view/index.ts rename to standalone/src/models/customer/customers-search-list-my-view/index.ts diff --git a/standalone/src/models/customers-search-list-my-view/presets/index.ts b/standalone/src/models/customer/customers-search-list-my-view/presets/index.ts similarity index 100% rename from standalone/src/models/customers-search-list-my-view/presets/index.ts rename to standalone/src/models/customer/customers-search-list-my-view/presets/index.ts diff --git a/standalone/src/models/customers-search-list-my-view/transformers.ts b/standalone/src/models/customer/customers-search-list-my-view/transformers.ts similarity index 100% rename from standalone/src/models/customers-search-list-my-view/transformers.ts rename to standalone/src/models/customer/customers-search-list-my-view/transformers.ts diff --git a/standalone/src/models/customers-search-list-my-view/types.ts b/standalone/src/models/customer/customers-search-list-my-view/types.ts similarity index 100% rename from standalone/src/models/customers-search-list-my-view/types.ts rename to standalone/src/models/customer/customers-search-list-my-view/types.ts From e95afab721a0a20be6e823ff990c25d4f0ecac6d Mon Sep 17 00:00:00 2001 From: rajrdk Date: Mon, 19 May 2025 16:46:18 +0530 Subject: [PATCH 2/4] fix: import customer and customergroup path in other models --- standalone/src/models/cart/cart/cart/builders.spec.ts | 2 +- standalone/src/models/cart/cart/cart/fields-config.ts | 2 +- standalone/src/models/payment/payment/generator.ts | 2 +- standalone/src/models/quote-request/generator.ts | 4 ++-- standalone/src/models/quote/generator.ts | 4 ++-- standalone/src/models/staged-quote/generator.ts | 2 +- standalone/src/models/standalone-price/generator.ts | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/standalone/src/models/cart/cart/cart/builders.spec.ts b/standalone/src/models/cart/cart/cart/builders.spec.ts index f2384708ae..2a09781efb 100644 --- a/standalone/src/models/cart/cart/cart/builders.spec.ts +++ b/standalone/src/models/cart/cart/cart/builders.spec.ts @@ -1,7 +1,7 @@ import type { TBuilder } from '@/core'; import { Company } from '@/models/business-unit'; import { KeyReference, Reference } from '@/models/commons'; -import { CustomerGroup } from '@/models/customer-group'; +import { CustomerGroup } from '@/models/customer/customer-group'; import { CustomFieldBooleanType } from '@/models/type'; import { LineItem } from '../line-item'; import { cartState } from './constants'; diff --git a/standalone/src/models/cart/cart/cart/fields-config.ts b/standalone/src/models/cart/cart/cart/fields-config.ts index e8bb88110c..f7544aa3d7 100644 --- a/standalone/src/models/cart/cart/cart/fields-config.ts +++ b/standalone/src/models/cart/cart/cart/fields-config.ts @@ -8,7 +8,7 @@ import { KeyReference, Reference, } from '@/models/commons'; -import { CustomerGroup } from '@/models/customer-group'; +import { CustomerGroup } from '@/models/customer/customer-group'; import { Store } from '@/models/store'; import { createRelatedDates } from '@/utils'; import { LineItem } from '../index'; diff --git a/standalone/src/models/payment/payment/generator.ts b/standalone/src/models/payment/payment/generator.ts index 99050f635b..1f9ce9435f 100644 --- a/standalone/src/models/payment/payment/generator.ts +++ b/standalone/src/models/payment/payment/generator.ts @@ -1,6 +1,6 @@ import { fake, Generator, sequence } from '@/core'; import { CentPrecisionMoney } from '@/models/commons'; -import { Customer } from '@/models/customer'; +import { Customer } from '@/models/customer/customer'; import { createRelatedDates } from '@/utils'; import * as PaymentMethodInfo from '../payment-method-info'; import * as PaymentStatus from '../payment-status'; diff --git a/standalone/src/models/quote-request/generator.ts b/standalone/src/models/quote-request/generator.ts index 672b4be143..86afefc78f 100644 --- a/standalone/src/models/quote-request/generator.ts +++ b/standalone/src/models/quote-request/generator.ts @@ -7,8 +7,8 @@ import { Address, Reference, } from '@/models/commons'; -import { Customer } from '@/models/customer'; -import { CustomerGroup } from '@/models/customer-group'; +import { Customer } from '@/models/customer/customer'; +import { CustomerGroup } from '@/models/customer/customer-group'; import { Store } from '@/models/store'; import { createRelatedDates } from '@/utils'; import { diff --git a/standalone/src/models/quote/generator.ts b/standalone/src/models/quote/generator.ts index da728998a2..097d2e72d5 100644 --- a/standalone/src/models/quote/generator.ts +++ b/standalone/src/models/quote/generator.ts @@ -2,8 +2,8 @@ import { sequence, fake, Generator, oneOf } from '@/core'; import { Company } from '@/models/business-unit'; import { LineItem } from '@/models/cart/cart'; import { CentPrecisionMoney, ClientLogging, Address } from '@/models/commons'; -import { Customer } from '@/models/customer'; -import { CustomerGroup } from '@/models/customer-group'; +import { Customer } from '@/models/customer/customer'; +import { CustomerGroup } from '@/models/customer/customer-group'; import { QuoteRequest } from '@/models/quote-request'; import { StagedQuote } from '@/models/staged-quote'; import { Store } from '@/models/store'; diff --git a/standalone/src/models/staged-quote/generator.ts b/standalone/src/models/staged-quote/generator.ts index 7960360ad8..5b4663de5d 100644 --- a/standalone/src/models/staged-quote/generator.ts +++ b/standalone/src/models/staged-quote/generator.ts @@ -2,7 +2,7 @@ import { sequence, fake, Generator, oneOf } from '@/core'; import { Company } from '@/models/business-unit'; import { Cart } from '@/models/cart/cart'; import { ClientLogging } from '@/models/commons'; -import { Customer } from '@/models/customer'; +import { Customer } from '@/models/customer/customer'; import { QuoteRequest } from '@/models/quote-request'; import { createRelatedDates } from '@/utils'; import { STAGED_QUOTE_STATE } from './constants'; diff --git a/standalone/src/models/standalone-price/generator.ts b/standalone/src/models/standalone-price/generator.ts index 43e9156697..b6a63953e9 100644 --- a/standalone/src/models/standalone-price/generator.ts +++ b/standalone/src/models/standalone-price/generator.ts @@ -1,7 +1,7 @@ import { Generator, fake, sequence } from '@/core'; import { Channel } from '@/models/channel'; import { ClientLogging, PriceTier, CentPrecisionMoney } from '@/models/commons'; -import { CustomerGroup } from '@/models/customer-group'; +import { CustomerGroup } from '@/models/customer/customer-group'; import { createRelatedDates } from '@/utils'; import { TStandalonePrice } from './types'; From 5e22f486cdea712db995d8df004dd820f7910bc3 Mon Sep 17 00:00:00 2001 From: rajrdk Date: Mon, 19 May 2025 17:15:14 +0530 Subject: [PATCH 3/4] chore: import customer to use alias --- .../associate-draft/presets/sample-data-b2b/amelia-jones.ts | 4 ++-- .../associate-draft/presets/sample-data-b2b/ava-brown.ts | 4 ++-- .../presets/sample-data-b2b/camille-lefevre.ts | 4 ++-- .../presets/sample-data-b2b/carlos-garcia.ts | 4 ++-- .../associate-draft/presets/sample-data-b2b/emma-johnson.ts | 4 ++-- .../associate-draft/presets/sample-data-b2b/james-smith.ts | 4 ++-- .../associate-draft/presets/sample-data-b2b/lucas-dubois.ts | 4 ++-- .../presets/sample-data-b2b/lukas-schmidt.ts | 4 ++-- .../presets/sample-data-b2b/michael-williams.ts | 4 ++-- .../associate-draft/presets/sample-data-b2b/oliver-smith.ts | 4 ++-- .../presets/sample-data-b2b/olivia-newton.ts | 4 ++-- .../associate-draft/presets/sample-data-b2b/sofia-lopez.ts | 4 ++-- .../presets/sample-data-b2b/sophie-mueller.ts | 4 ++-- .../presets/sample-data-b2b/william-davis.ts | 4 ++-- .../presets/sample-data-b2b/william-taylor.ts | 4 ++-- .../presets/sample-data-fashion/employee-sale.ts | 6 +++--- .../presets/sample-data-fashion/luxe-spend.ts | 6 +++--- .../eagle-heavy-lift-technologies-inc-us-cart-1.ts | 2 +- .../eagle-heavy-lift-technologies-inc-us-cart-2.ts | 2 +- .../liberty-crane-solutions-llc-us-cart-1.ts | 4 ++-- .../liberty-crane-solutions-llc-us-cart-2.ts | 4 ++-- .../sample-data-b2b/lifttech-solutions-ltd-cart-1.ts | 4 ++-- .../sample-data-b2b/lifttech-solutions-ltd-cart-2.ts | 4 ++-- .../sample-data-b2b/lifttech-solutions-ltd-de-cart-1.ts | 4 ++-- .../sample-data-b2b/lifttech-solutions-ltd-de-cart-2.ts | 4 ++-- .../sample-data-b2b/lifttech-solutions-ltd-es-cart-1.ts | 4 ++-- .../sample-data-b2b/lifttech-solutions-ltd-es-cart-2.ts | 4 ++-- .../sample-data-b2b/lifttech-solutions-ltd-fr-cart-1.ts | 4 ++-- .../sample-data-b2b/lifttech-solutions-ltd-fr-cart-2.ts | 4 ++-- .../presets/sample-data-b2c-lifestyle/jennifer-jones-01.ts | 4 ++-- .../sample-data-b2c-lifestyle/jennifer-schmidt-01.ts | 2 +- .../sample-data-b2c-lifestyle/sebastian-franklin-01.ts | 2 +- .../sample-data-b2c-lifestyle/sebastian-mueller-01.ts | 2 +- .../presets/sample-data-b2c-lifestyle/sebastian-smith-01.ts | 2 +- .../presets/sample-data-fashion/sample-australia-01.ts | 2 +- .../presets/sample-data-fashion/sample-australia-02.ts | 2 +- .../presets/sample-data-fashion/sample-germany-01.ts | 2 +- .../presets/sample-data-fashion/sample-germany-02.ts | 2 +- .../cart-draft/presets/sample-data-fashion/sample-usa-01.ts | 2 +- .../presets/sample-data-fashion/sample-australia.ts | 2 +- .../presets/sample-data-fashion/sample-usa.ts | 2 +- standalone/src/models/order/generator.ts | 2 +- ...y-crane-solutions-llc-us-from-quote-payment-1-payment.ts | 2 +- .../liberty-crane-solutions-llc-us-payment-2-payment.ts | 2 +- ...ifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts | 2 +- .../lifttech-solutions-ltd-fr-payment-2-payment.ts | 2 +- .../sample-data-b2c-lifestyle/jennifer-jones-payment.ts | 2 +- .../sample-data-b2c-lifestyle/sebastian-mueller-payment.ts | 2 +- .../presets/sample-data-fashion/payment-aus1.ts | 2 +- .../presets/sample-data-fashion/payment-aus2.ts | 2 +- .../presets/sample-data-fashion/payment-usa.ts | 2 +- 51 files changed, 81 insertions(+), 81 deletions(-) diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/amelia-jones.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/amelia-jones.ts index 77ab212218..74477dcb1a 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/amelia-jones.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/amelia-jones.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/ava-brown.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/ava-brown.ts index 7133a52105..3a0f4fde50 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/ava-brown.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/ava-brown.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/camille-lefevre.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/camille-lefevre.ts index b73614a8df..8fc8f06c17 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/camille-lefevre.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/camille-lefevre.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/carlos-garcia.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/carlos-garcia.ts index ef856a1897..bff8ad014c 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/carlos-garcia.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/carlos-garcia.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/emma-johnson.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/emma-johnson.ts index 26397f0235..fccb52aa3b 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/emma-johnson.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/emma-johnson.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/james-smith.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/james-smith.ts index cfeea2b54f..1e77ae61af 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/james-smith.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/james-smith.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/lucas-dubois.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/lucas-dubois.ts index 4b7090e69a..ee0c11d79b 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/lucas-dubois.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/lucas-dubois.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/lukas-schmidt.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/lukas-schmidt.ts index 191cbba4ab..b371a1a900 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/lukas-schmidt.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/lukas-schmidt.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/michael-williams.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/michael-williams.ts index e1a8b54fac..483c6e4760 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/michael-williams.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/michael-williams.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/oliver-smith.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/oliver-smith.ts index cc1b57e3a8..d9cbb235be 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/oliver-smith.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/oliver-smith.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/olivia-newton.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/olivia-newton.ts index 5478d4a6ea..12c20fdccd 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/olivia-newton.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/olivia-newton.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/sofia-lopez.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/sofia-lopez.ts index 928e497d99..9857e76517 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/sofia-lopez.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/sofia-lopez.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/sophie-mueller.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/sophie-mueller.ts index a5fb34b892..61b88a079f 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/sophie-mueller.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/sophie-mueller.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/william-davis.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/william-davis.ts index 14176799b8..cfbb5990e5 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/william-davis.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/william-davis.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/william-taylor.ts b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/william-taylor.ts index 8e2f6283f7..ed86fdd31b 100644 --- a/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/william-taylor.ts +++ b/standalone/src/models/business-unit/associate/associate-draft/presets/sample-data-b2b/william-taylor.ts @@ -2,8 +2,8 @@ import { AssociateRoleDraft, type TAssociateRoleDraft, } from '../../../../../associate-role'; -import { KeyReferenceDraft } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { AssociateRoleAssignmentDraft } from '../../../../associate-role-assignment'; import { associateRoleInheritanceMode } from '../../../../associate-role-assignment/constants'; import { type TAssociateDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/cart/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 index 78824debeb..889b0f74c2 100644 --- a/standalone/src/models/cart/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,12 +1,12 @@ -import { LocalizedStringDraft } from '../../../../../../commons'; +import { LocalizedStringDraft } from '@/models/commons'; import { CustomerGroupDraft, TCustomerGroupDraft, -} from '../../../../../../customer-group'; +} from '@/models/customer/customer-group'; import { CartDiscountLineItemsTargetDraft, CartDiscountValueRelativeDraft, -} from '../../../../index'; +} from '@/models/cart/cart-discount'; import { stackingMode } from '../../../constants'; import type { TCartDiscountDraftBuilder } from '../../../types'; import * as CartDiscountDraft from '../../index'; diff --git a/standalone/src/models/cart/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 index 532741ba25..72a1761886 100644 --- a/standalone/src/models/cart/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,12 +1,12 @@ -import { LocalizedStringDraft, MoneyDraft } from '../../../../../../commons'; +import { LocalizedStringDraft, MoneyDraft } from '@/models/commons'; import { CustomerGroupDraft, TCustomerGroupDraft, -} from '../../../../../../customer-group'; +} from '@/models/customer/customer-group'; import { CartDiscountLineItemsTargetDraft, CartDiscountValueAbsoluteDraft, -} from '../../../../index'; +} from '@/models/cart/cart-discount'; import { stackingMode } from '../../../constants'; import type { TCartDiscountDraftBuilder } from '../../../types'; import * as CartDiscountDraft from '../../index'; diff --git a/standalone/src/models/cart/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 index c6a1615b7e..a3ecd2f39d 100644 --- a/standalone/src/models/cart/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 @@ -2,7 +2,7 @@ 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 { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index c06f09c699..a60c525220 100644 --- a/standalone/src/models/cart/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 @@ -2,7 +2,7 @@ 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 { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index d96db4b20d..dd5034fa1c 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index f5cf0bfe39..0e060319de 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index cb2264183b..e56894c009 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index 6c7d629709..d237b4a08f 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index ea9fad7351..1dc036863a 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index 93d2ec6241..e3a52bde22 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index b937e4e8df..4a0b7a1be6 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index e049aaa058..3bd679c95b 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index 98158c7bc0..57ec978633 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index 3af3b29ac8..dffe210497 100644 --- a/standalone/src/models/cart/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 @@ -7,8 +7,8 @@ import { ChannelDraftRest, type TChannelDraftRest, } from '../../../../../../channel'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index f7158c3efb..eaa05a511a 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; -import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index 02e9673f64..6bd90dc879 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index c07fe64a66..4012b6d08b 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index 8716968437..28cae3a4c5 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index fde51d8581..dcfa556fbb 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index e8d25c6b7a..ee8220f23d 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index aa4739bce7..b169a3ad03 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { DiscountCodeDraft, type TDiscountCodeDraft, diff --git a/standalone/src/models/cart/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 index 049403e6cd..a9769b6148 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/cart/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 index 3ac5e69ae1..d658b2b340 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { DiscountCodeDraft, type TDiscountCodeDraft, diff --git a/standalone/src/models/cart/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 index ad450ba39b..090eac9c94 100644 --- a/standalone/src/models/cart/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,6 +1,6 @@ import type { TBuilder } from '../../../../../../../core'; import { AddressDraft, KeyReferenceDraft } from '../../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { ProductVariantDraft, type TProductVariantDraft, diff --git a/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts index 284fac0e7c..4bd80807c5 100644 --- a/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-australia.ts @@ -2,7 +2,7 @@ import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; import { CustomerGroupDraft, type TCustomerGroupDraft, -} from '../../../../customer-group'; +} from '@/models/customer/customer-group'; import { authenticationMode } from '../../../constants'; import { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts index 4fed94a18e..cd99f5970d 100644 --- a/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts +++ b/standalone/src/models/customer/customer/customer-draft/presets/sample-data-fashion/sample-usa.ts @@ -2,7 +2,7 @@ import { AddressDraft, KeyReferenceDraft } from '@/models/commons'; import { CustomerGroupDraft, type TCustomerGroupDraft, -} from '../../../../customer-group'; +} from '@/models/customer/customer-group'; import { authenticationMode } from '../../../constants'; import type { TCustomerDraftBuilder } from '../../../types'; import * as CustomerDraft from '../../index'; diff --git a/standalone/src/models/order/generator.ts b/standalone/src/models/order/generator.ts index dd05472b43..797329b95d 100644 --- a/standalone/src/models/order/generator.ts +++ b/standalone/src/models/order/generator.ts @@ -2,7 +2,7 @@ import { Generator, fake, oneOf, sequence } from '@/core'; 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 * as CustomerGroup from '@/models/customer/customer-group'; import { createRelatedDates } from '@/utils'; import { inventoryMode, diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-from-quote-payment-1-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-from-quote-payment-1-payment.ts index da25184a35..a1d1330468 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-from-quote-payment-1-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-from-quote-payment-1-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@models/customer/customer'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; import { TPaymentDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-payment-2-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-payment-2-payment.ts index 48f5083153..78ec00c329 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-payment-2-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-payment-2-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@models/customer/customer'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; import { TPaymentDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts index d9d9cae4a0..b5ed47aa6e 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@models/customer/customer'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; import { TPaymentDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-payment-2-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-payment-2-payment.ts index cdb792eba7..2ca993b86c 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-payment-2-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-payment-2-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@models/customer/customer'; import { OrderFromCartDraft, OrderFromQuoteDraft, diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-payment.ts index a7b1862c2c..a833f3cee4 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2c-lifestyle/jennifer-jones-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { OrderFromCartDraft, TOrderFromCartDraft } from '../../../../../order'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-payment.ts index 85ce176164..e1d450fcf7 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2c-lifestyle/sebastian-mueller-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { OrderFromCartDraft, TOrderFromCartDraft } from '../../../../../order'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-aus1.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-aus1.ts index 9d1c3ae528..d1d8f7b0b2 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-aus1.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-aus1.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { OrderFromCartDraft, TOrderFromCartDraft } from '../../../../../order'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-aus2.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-aus2.ts index 49c2def94f..31fedd55dc 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-aus2.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-aus2.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { OrderFromCartDraft, TOrderFromCartDraft } from '../../../../../order'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-usa.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-usa.ts index dbd46e7b39..93eb9163bf 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-usa.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-fashion/payment-usa.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '../../../../../customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { OrderFromCartDraft, TOrderFromCartDraft } from '../../../../../order'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; From 238f659427285f712fccf8041489d2dc041d0417 Mon Sep 17 00:00:00 2001 From: rajrdk Date: Mon, 19 May 2025 19:11:55 +0530 Subject: [PATCH 4/4] fix: update alias --- standalone/src/models/order/types.ts | 2 +- ...berty-crane-solutions-llc-us-from-quote-payment-1-payment.ts | 2 +- .../liberty-crane-solutions-llc-us-payment-2-payment.ts | 2 +- .../lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts | 2 +- .../lifttech-solutions-ltd-fr-payment-2-payment.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/standalone/src/models/order/types.ts b/standalone/src/models/order/types.ts index ed8ec28d2b..77d9a67c9f 100644 --- a/standalone/src/models/order/types.ts +++ b/standalone/src/models/order/types.ts @@ -12,7 +12,7 @@ import { } from '@commercetools/platform-sdk'; import type { TBuilder } from '@/core'; import { TReferenceGraphql } from '@/models/commons'; -import type { TCustomer } from '@/models/customer'; +import type { TCustomer } from '@/models/customer/customer'; export type TOrder = Omit< Order, diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-from-quote-payment-1-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-from-quote-payment-1-payment.ts index a1d1330468..6b22839900 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-from-quote-payment-1-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-from-quote-payment-1-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '@models/customer/customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; import { TPaymentDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-payment-2-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-payment-2-payment.ts index 78ec00c329..c160eb6783 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-payment-2-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/liberty-crane-solutions-llc-us-payment-2-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '@models/customer/customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; import { TPaymentDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts index b5ed47aa6e..3cfaf7e985 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-from-quote-payment-1-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '@models/customer/customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { PaymentMethodInfoDraft } from '../../../../payment-method-info'; import { PaymentStatusDraft } from '../../../../payment-status'; import { TPaymentDraftBuilder } from '../../../types'; diff --git a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-payment-2-payment.ts b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-payment-2-payment.ts index 2ca993b86c..89e52b93a7 100644 --- a/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-payment-2-payment.ts +++ b/standalone/src/models/payment/payment/payment-draft/presets/sample-data-b2b/lifttech-solutions-ltd-fr-payment-2-payment.ts @@ -3,7 +3,7 @@ import { KeyReferenceDraft, MoneyDraft, } from '../../../../../commons'; -import { CustomerDraft, type TCustomerDraft } from '@models/customer/customer'; +import { CustomerDraft, type TCustomerDraft } from '@/models/customer/customer'; import { OrderFromCartDraft, OrderFromQuoteDraft,