@devx-commerce/plugin-gati 0.0.34-beta.3 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/.medusa/server/development/erp-order-payload-example.js +76 -0
  2. package/.medusa/server/src/api/admin/middlewares.js +2 -6
  3. package/.medusa/server/src/api/erp/webhook/config.js +6 -32
  4. package/.medusa/server/src/api/middlewares.js +1 -3
  5. package/.medusa/server/src/api/store/middleware.js +1 -3
  6. package/.medusa/server/src/modules/erp/service.js +1 -59
  7. package/.medusa/server/src/modules/extended-product/models/extended-product.js +9 -89
  8. package/.medusa/server/src/modules/extended-variant/models/extended-variant.js +12 -145
  9. package/.medusa/server/src/modules/raw-master/models/raw-master.js +1 -2
  10. package/.medusa/server/src/modules/shape-master/models/shape-master.js +1 -2
  11. package/.medusa/server/src/modules/shipping-info-master/models/shipping-info-master.js +2 -2
  12. package/.medusa/server/src/subscribers/cutomer-updated.js +2 -1
  13. package/.medusa/server/src/subscribers/party-master.js +2 -2
  14. package/.medusa/server/src/workflows/create-or-update-product-options/steps/create-update-product-options.js +2 -39
  15. package/.medusa/server/src/workflows/helpers/product-helper.js +111 -425
  16. package/.medusa/server/src/workflows/inward-master/helper/index.js +39 -88
  17. package/.medusa/server/src/workflows/party-master/steps/delete-party.js +7 -4
  18. package/.medusa/server/src/workflows/party-master/steps/fetch-party-master.js +2 -1
  19. package/.medusa/server/src/workflows/party-master/workflows/create-or-update-party-master.js +49 -1
  20. package/.medusa/server/src/workflows/party-master/workflows/index.js +1 -2
  21. package/.medusa/server/src/workflows/party-style-master/steps/update-product-options-after-deletion.js +189 -307
  22. package/.medusa/server/src/workflows/party-style-master/workflows/create-or-update-party-style-master.js +4 -120
  23. package/.medusa/server/src/workflows/raw-master/steps/delete-raw.js +11 -9
  24. package/.medusa/server/src/workflows/shape-master/steps/delete-shape.js +9 -9
  25. package/package.json +1 -1
  26. package/.medusa/server/src/api/admin/masters/[master]/[id]/route.js +0 -121
  27. package/.medusa/server/src/api/admin/masters/[master]/route.js +0 -33
  28. package/.medusa/server/src/api/admin/masters/middlewares.js +0 -35
  29. package/.medusa/server/src/api/admin/masters/query-config.js +0 -14
  30. package/.medusa/server/src/api/admin/masters/search-middleware.js +0 -16
  31. package/.medusa/server/src/api/admin/masters/utils.js +0 -108
  32. package/.medusa/server/src/api/admin/masters/validators.js +0 -28
  33. package/.medusa/server/src/api/admin/variant-options/sync/route.js +0 -313
  34. package/.medusa/server/src/api/pos/gold-rate/middleware.js +0 -13
  35. package/.medusa/server/src/api/pos/gold-rate/route.js +0 -96
  36. package/.medusa/server/src/api/pos/middleware.js +0 -13
  37. package/.medusa/server/src/api/store/gold-rate/current/route.js +0 -70
  38. package/.medusa/server/src/api/store/gold-rate/historical/route.js +0 -108
  39. package/.medusa/server/src/api/store/gold-rate/middleware.js +0 -19
  40. package/.medusa/server/src/api/store/gold-rate/validators.js +0 -37
  41. package/.medusa/server/src/jobs/process-variant-option-sync.js +0 -521
  42. package/.medusa/server/src/modules/category-group-master/migrations/Migration20251031061116.js +0 -14
  43. package/.medusa/server/src/modules/category-group-master/migrations/Migration20251104045912.js +0 -14
  44. package/.medusa/server/src/modules/category-master/migrations/Migration20251031061327.js +0 -14
  45. package/.medusa/server/src/modules/category-master/migrations/Migration20251104045755.js +0 -14
  46. package/.medusa/server/src/modules/collection-group-master/migrations/Migration20251031061432.js +0 -14
  47. package/.medusa/server/src/modules/collection-group-master/migrations/Migration20251104050102.js +0 -14
  48. package/.medusa/server/src/modules/collection-master/migrations/Migration20251031060941.js +0 -14
  49. package/.medusa/server/src/modules/collection-master/migrations/Migration20251104050012.js +0 -14
  50. package/.medusa/server/src/modules/discount-master/migrations/Migration20251031061523.js +0 -14
  51. package/.medusa/server/src/modules/discount-master/migrations/Migration20251104050153.js +0 -14
  52. package/.medusa/server/src/modules/extended-product/migrations/Migration20251103182726.js +0 -14
  53. package/.medusa/server/src/modules/extended-product/migrations/Migration20251119062526.js +0 -16
  54. package/.medusa/server/src/modules/extended-product/migrations/Migration20251202055742.js +0 -14
  55. package/.medusa/server/src/modules/extended-product/migrations/Migration20251202064200.js +0 -16
  56. package/.medusa/server/src/modules/extended-variant/migrations/Migration20251119063328.js +0 -20
  57. package/.medusa/server/src/modules/extended-variant/migrations/Migration20251120045708.js +0 -14
  58. package/.medusa/server/src/modules/extended-variant/migrations/Migration20251120051832.js +0 -14
  59. package/.medusa/server/src/modules/extended-variant/migrations/Migration20251120052514.js +0 -14
  60. package/.medusa/server/src/modules/extended-variant/migrations/Migration20251202055952.js +0 -14
  61. package/.medusa/server/src/modules/item-size-master/index.js +0 -13
  62. package/.medusa/server/src/modules/item-size-master/migrations/Migration20251031111036.js +0 -17
  63. package/.medusa/server/src/modules/item-size-master/models/item-size-master.js +0 -14
  64. package/.medusa/server/src/modules/item-size-master/service.js +0 -10
  65. package/.medusa/server/src/modules/party-master/migrations/Migration20251031061657.js +0 -14
  66. package/.medusa/server/src/modules/party-master/migrations/Migration20251104050242.js +0 -14
  67. package/.medusa/server/src/modules/promocode-master/migrations/Migration20251031061829.js +0 -14
  68. package/.medusa/server/src/modules/promocode-master/migrations/Migration20251104050332.js +0 -14
  69. package/.medusa/server/src/modules/quality-master/index.js +0 -13
  70. package/.medusa/server/src/modules/quality-master/migrations/Migration20251031095211.js +0 -16
  71. package/.medusa/server/src/modules/quality-master/migrations/Migration20251105045114.js +0 -14
  72. package/.medusa/server/src/modules/quality-master/models/quality-master.js +0 -17
  73. package/.medusa/server/src/modules/quality-master/service.js +0 -10
  74. package/.medusa/server/src/modules/raw-master/migrations/Migration20251031061912.js +0 -14
  75. package/.medusa/server/src/modules/shape-master/migrations/Migration20251031062019.js +0 -14
  76. package/.medusa/server/src/modules/shipping-info-master/migrations/Migration20251031062128.js +0 -14
  77. package/.medusa/server/src/modules/shipping-info-master/migrations/Migration20251104050501.js +0 -14
  78. package/.medusa/server/src/modules/shipping-info-master/migrations/Migration20251203083315.js +0 -16
  79. package/.medusa/server/src/modules/sub-category-master/migrations/Migration20251031062303.js +0 -14
  80. package/.medusa/server/src/modules/sub-category-master/migrations/Migration20251104050743.js +0 -14
  81. package/.medusa/server/src/modules/tone-master/index.js +0 -13
  82. package/.medusa/server/src/modules/tone-master/migrations/Migration20251031104320.js +0 -16
  83. package/.medusa/server/src/modules/tone-master/models/tone-master.js +0 -15
  84. package/.medusa/server/src/modules/tone-master/service.js +0 -10
  85. package/.medusa/server/src/modules/variant-option-sync-queue/index.js +0 -13
  86. package/.medusa/server/src/modules/variant-option-sync-queue/migrations/Migration20251101082220.js +0 -19
  87. package/.medusa/server/src/modules/variant-option-sync-queue/migrations/Migration20251103123857.js +0 -16
  88. package/.medusa/server/src/modules/variant-option-sync-queue/models/variant-option-sync-queue.js +0 -23
  89. package/.medusa/server/src/modules/variant-option-sync-queue/service.js +0 -49
  90. package/.medusa/server/src/utils/build-redis-key.js +0 -30
  91. package/.medusa/server/src/workflows/helpers/update-variant-option-metadata.js +0 -105
  92. package/.medusa/server/src/workflows/helpers/variant-helper.js +0 -212
  93. package/.medusa/server/src/workflows/item-size-master/create-or-update-item-size-master.js +0 -51
  94. package/.medusa/server/src/workflows/item-size-master/index.js +0 -15
  95. package/.medusa/server/src/workflows/item-size-master/steps/create-item-size.js +0 -21
  96. package/.medusa/server/src/workflows/item-size-master/steps/delete-item-size.js +0 -23
  97. package/.medusa/server/src/workflows/item-size-master/steps/fetch-item-size-master.js +0 -55
  98. package/.medusa/server/src/workflows/item-size-master/steps/update-item-size.js +0 -36
  99. package/.medusa/server/src/workflows/party-master/workflows/delete-party-master.js +0 -60
  100. package/.medusa/server/src/workflows/party-style-master/steps/update-product-options-after-variant-update.js +0 -367
  101. package/.medusa/server/src/workflows/quality-master/create-or-update-quality-master.js +0 -58
  102. package/.medusa/server/src/workflows/quality-master/index.js +0 -30
  103. package/.medusa/server/src/workflows/quality-master/steps/create-quality.js +0 -22
  104. package/.medusa/server/src/workflows/quality-master/steps/delete-quality.js +0 -20
  105. package/.medusa/server/src/workflows/quality-master/steps/fetch-quality-master.js +0 -54
  106. package/.medusa/server/src/workflows/quality-master/steps/update-quality.js +0 -37
  107. package/.medusa/server/src/workflows/raw-master/create-or-update-raw-master.js +0 -58
  108. package/.medusa/server/src/workflows/shape-master/create-or-update-shape-master.js +0 -53
  109. package/.medusa/server/src/workflows/tone-master/create-or-update-tone-master.js +0 -52
  110. package/.medusa/server/src/workflows/tone-master/index.js +0 -30
  111. package/.medusa/server/src/workflows/tone-master/steps/create-tone.js +0 -22
  112. package/.medusa/server/src/workflows/tone-master/steps/delete-tone.js +0 -20
  113. package/.medusa/server/src/workflows/tone-master/steps/fetch-tone-master.js +0 -54
  114. package/.medusa/server/src/workflows/tone-master/steps/update-tone.js +0 -37
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251104050102 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251104050102 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "collection_group_master" drop column if exists "title";`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "collection_group_master" add column if not exists "title" text null;`);
11
- }
12
- }
13
- exports.Migration20251104050102 = Migration20251104050102;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMDQwNTAxMDIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9jb2xsZWN0aW9uLWdyb3VwLW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUxMTA0MDUwMTAyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyxnRkFBZ0YsQ0FBQyxDQUFDO0lBQ2hHLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLDZGQUE2RixDQUFDLENBQUM7SUFDN0csQ0FBQztDQUVGO0FBVkQsMERBVUMifQ==
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031060941 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031060941 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "collection_master" add column if not exists "title" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "collection_master" drop column if exists "title";`);
11
- }
12
- }
13
- exports.Migration20251031060941 = Migration20251031060941;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzEwNjA5NDEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9jb2xsZWN0aW9uLW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUxMDMxMDYwOTQxLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyx1RkFBdUYsQ0FBQyxDQUFDO0lBQ3ZHLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLDBFQUEwRSxDQUFDLENBQUM7SUFDMUYsQ0FBQztDQUVGO0FBVkQsMERBVUMifQ==
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251104050012 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251104050012 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "collection_master" drop column if exists "title";`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "collection_master" add column if not exists "title" text null;`);
11
- }
12
- }
13
- exports.Migration20251104050012 = Migration20251104050012;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMDQwNTAwMTIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9jb2xsZWN0aW9uLW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUxMTA0MDUwMDEyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQywwRUFBMEUsQ0FBQyxDQUFDO0lBQzFGLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLHVGQUF1RixDQUFDLENBQUM7SUFDdkcsQ0FBQztDQUVGO0FBVkQsMERBVUMifQ==
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031061523 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031061523 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "discount_master" add column if not exists "title" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "discount_master" drop column if exists "title";`);
11
- }
12
- }
13
- exports.Migration20251031061523 = Migration20251031061523;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzEwNjE1MjMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9kaXNjb3VudC1tYXN0ZXIvbWlncmF0aW9ucy9NaWdyYXRpb24yMDI1MTAzMTA2MTUyMy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzREFBa0Q7QUFFbEQsTUFBYSx1QkFBd0IsU0FBUSxzQkFBUztJQUUzQyxLQUFLLENBQUMsRUFBRTtRQUNmLElBQUksQ0FBQyxNQUFNLENBQUMscUZBQXFGLENBQUMsQ0FBQztJQUNyRyxDQUFDO0lBRVEsS0FBSyxDQUFDLElBQUk7UUFDakIsSUFBSSxDQUFDLE1BQU0sQ0FBQyx3RUFBd0UsQ0FBQyxDQUFDO0lBQ3hGLENBQUM7Q0FFRjtBQVZELDBEQVVDIn0=
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251104050153 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251104050153 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "discount_master" drop column if exists "title";`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "discount_master" add column if not exists "title" text null;`);
11
- }
12
- }
13
- exports.Migration20251104050153 = Migration20251104050153;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMDQwNTAxNTMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9kaXNjb3VudC1tYXN0ZXIvbWlncmF0aW9ucy9NaWdyYXRpb24yMDI1MTEwNDA1MDE1My50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzREFBa0Q7QUFFbEQsTUFBYSx1QkFBd0IsU0FBUSxzQkFBUztJQUUzQyxLQUFLLENBQUMsRUFBRTtRQUNmLElBQUksQ0FBQyxNQUFNLENBQUMsd0VBQXdFLENBQUMsQ0FBQztJQUN4RixDQUFDO0lBRVEsS0FBSyxDQUFDLElBQUk7UUFDakIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxxRkFBcUYsQ0FBQyxDQUFDO0lBQ3JHLENBQUM7Q0FFRjtBQVZELDBEQVVDIn0=
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251103182726 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251103182726 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "extended_product" add column if not exists "parent_style_code" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "extended_product" drop column if exists "parent_style_code";`);
11
- }
12
- }
13
- exports.Migration20251103182726 = Migration20251103182726;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMDMxODI3MjYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC1wcm9kdWN0L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTExMDMxODI3MjYudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLGtHQUFrRyxDQUFDLENBQUM7SUFDbEgsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMscUZBQXFGLENBQUMsQ0FBQztJQUNyRyxDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251119062526 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251119062526 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "extended_product" add column if not exists "discount_markup_cost" text null, add column if not exists "making_cost_on" text null, add column if not exists "metal_calculation_cost_on" text null, add column if not exists "gold_loss_cost_formula" text null, add column if not exists "labour_cost_formula" text null, add column if not exists "cost_margin_per" real null, add column if not exists "cost_margin_is_fix" boolean null, add column if not exists "actual_cost_margin_amt" real null, add column if not exists "cost_margin_amt" real null, add column if not exists "cost_discount_per" real null, add column if not exists "cost_discount_is_fix" boolean null, add column if not exists "actual_cost_discount_amt" real null, add column if not exists "cost_discount_amt" real null, add column if not exists "actual_cost" real null, add column if not exists "making_on" text null, add column if not exists "metal_calculation_on" text null, add column if not exists "gold_loss_formula" text null, add column if not exists "labour_formula" text null, add column if not exists "margin_per" real null, add column if not exists "margin_is_fix" boolean null, add column if not exists "actual_margin_amt" real null, add column if not exists "margin_amt" real null, add column if not exists "discount_per" real null, add column if not exists "discount_is_fix" boolean null, add column if not exists "actual_discount_amt" real null, add column if not exists "discount_amt" real null, add column if not exists "actual_mrp" real null, add column if not exists "stamping_instruction" text null, add column if not exists "design_production_instruction" text null, add column if not exists "customer_production_instruction" text null, add column if not exists "style_history" text null, add column if not exists "design_by" text null, add column if not exists "re_order_qty" integer null, add column if not exists "master_qty" integer null, add column if not exists "hsn_id" text null;`);
8
- this.addSql(`alter table if exists "style_details_line" add column if not exists "original_cost_rate" real null, add column if not exists "actual_cost_amount" real null, add column if not exists "dis_markup_cost_per" real null, add column if not exists "dis_markup_cost_on" boolean null, add column if not exists "dis_markup_cost_amt" real null, add column if not exists "final_cost_amt" real null, add column if not exists "original_hand_cost_rate" real null, add column if not exists "actual_hand_cost_amount" real null, add column if not exists "hand_dis_markup_cost_per" real null, add column if not exists "hand_dis_markup_cost_on" boolean null, add column if not exists "original_set_cost_rate" real null, add column if not exists "actual_set_cost_amount" real null, add column if not exists "set_dis_markup_cost_per" real null, add column if not exists "set_dis_markup_cost_on" boolean null, add column if not exists "actual_loss_cost_amt" real null, add column if not exists "metal_loss_per_calc_cost_on" integer null, add column if not exists "original_cpf_cost_rate" real null, add column if not exists "actual_cpf_cost_amt" real null, add column if not exists "cpf_dis_markup_cost_per" real null, add column if not exists "original_cpf_cost_amt" real null, add column if not exists "cpf_amt_dis_markup_cost_per" real null, add column if not exists "original_rate" real null, add column if not exists "actual_amount" real null, add column if not exists "dis_markup_on" boolean null, add column if not exists "dis_markup_per" real null, add column if not exists "dis_markup_amt" real null, add column if not exists "final_amt" real null, add column if not exists "original_hand_rate" real null, add column if not exists "actual_hand_amount" real null, add column if not exists "hand_dis_markup_per" real null, add column if not exists "hand_dis_markup_on" boolean null, add column if not exists "original_set_rate" real null, add column if not exists "actual_set_amount" real null, add column if not exists "set_dis_markup_per" real null, add column if not exists "set_dis_markup_on" boolean null, add column if not exists "actual_loss_amt" real null, add column if not exists "metal_loss_per_calc_on" boolean null, add column if not exists "original_cpf_rate" real null, add column if not exists "actual_cpf_amt" real null, add column if not exists "cpf_dis_markup_per" real null, add column if not exists "original_cpf_amt" real null, add column if not exists "cpf_amt_dis_markup_per" real null;`);
9
- }
10
- async down() {
11
- this.addSql(`alter table if exists "extended_product" drop column if exists "discount_markup_cost", drop column if exists "making_cost_on", drop column if exists "metal_calculation_cost_on", drop column if exists "gold_loss_cost_formula", drop column if exists "labour_cost_formula", drop column if exists "cost_margin_per", drop column if exists "cost_margin_is_fix", drop column if exists "actual_cost_margin_amt", drop column if exists "cost_margin_amt", drop column if exists "cost_discount_per", drop column if exists "cost_discount_is_fix", drop column if exists "actual_cost_discount_amt", drop column if exists "cost_discount_amt", drop column if exists "actual_cost", drop column if exists "making_on", drop column if exists "metal_calculation_on", drop column if exists "gold_loss_formula", drop column if exists "labour_formula", drop column if exists "margin_per", drop column if exists "margin_is_fix", drop column if exists "actual_margin_amt", drop column if exists "margin_amt", drop column if exists "discount_per", drop column if exists "discount_is_fix", drop column if exists "actual_discount_amt", drop column if exists "discount_amt", drop column if exists "actual_mrp", drop column if exists "stamping_instruction", drop column if exists "design_production_instruction", drop column if exists "customer_production_instruction", drop column if exists "style_history", drop column if exists "design_by", drop column if exists "re_order_qty", drop column if exists "master_qty", drop column if exists "hsn_id";`);
12
- this.addSql(`alter table if exists "style_details_line" drop column if exists "original_cost_rate", drop column if exists "actual_cost_amount", drop column if exists "dis_markup_cost_per", drop column if exists "dis_markup_cost_on", drop column if exists "dis_markup_cost_amt", drop column if exists "final_cost_amt", drop column if exists "original_hand_cost_rate", drop column if exists "actual_hand_cost_amount", drop column if exists "hand_dis_markup_cost_per", drop column if exists "hand_dis_markup_cost_on", drop column if exists "original_set_cost_rate", drop column if exists "actual_set_cost_amount", drop column if exists "set_dis_markup_cost_per", drop column if exists "set_dis_markup_cost_on", drop column if exists "actual_loss_cost_amt", drop column if exists "metal_loss_per_calc_cost_on", drop column if exists "original_cpf_cost_rate", drop column if exists "actual_cpf_cost_amt", drop column if exists "cpf_dis_markup_cost_per", drop column if exists "original_cpf_cost_amt", drop column if exists "cpf_amt_dis_markup_cost_per", drop column if exists "original_rate", drop column if exists "actual_amount", drop column if exists "dis_markup_on", drop column if exists "dis_markup_per", drop column if exists "dis_markup_amt", drop column if exists "final_amt", drop column if exists "original_hand_rate", drop column if exists "actual_hand_amount", drop column if exists "hand_dis_markup_per", drop column if exists "hand_dis_markup_on", drop column if exists "original_set_rate", drop column if exists "actual_set_amount", drop column if exists "set_dis_markup_per", drop column if exists "set_dis_markup_on", drop column if exists "actual_loss_amt", drop column if exists "metal_loss_per_calc_on", drop column if exists "original_cpf_rate", drop column if exists "actual_cpf_amt", drop column if exists "cpf_dis_markup_per", drop column if exists "original_cpf_amt", drop column if exists "cpf_amt_dis_markup_per";`);
13
- }
14
- }
15
- exports.Migration20251119062526 = Migration20251119062526;
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMTkwNjI1MjYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC1wcm9kdWN0L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTExMTkwNjI1MjYudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLHc4REFBdzhELENBQUMsQ0FBQztRQUV0OUQsSUFBSSxDQUFDLE1BQU0sQ0FBQywrN0VBQSs3RSxDQUFDLENBQUM7SUFDLzhFLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLCsrQ0FBKytDLENBQUMsQ0FBQztRQUU3L0MsSUFBSSxDQUFDLE1BQU0sQ0FBQyxxNERBQXE0RCxDQUFDLENBQUM7SUFDcjVELENBQUM7Q0FFRjtBQWRELDBEQWNDIn0=
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251202055742 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251202055742 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "style_details_line" add column if not exists "dis_markup_description" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "style_details_line" drop column if exists "dis_markup_description";`);
11
- }
12
- }
13
- exports.Migration20251202055742 = Migration20251202055742;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEyMDIwNTU3NDIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC1wcm9kdWN0L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTEyMDIwNTU3NDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLHlHQUF5RyxDQUFDLENBQUM7SUFDekgsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsNEZBQTRGLENBQUMsQ0FBQztJQUM1RyxDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251202064200 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251202064200 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "extended_product" add column if not exists "dis_markup_description" text null;`);
8
- this.addSql(`alter table if exists "style_details_line" drop column if exists "dis_markup_description";`);
9
- }
10
- async down() {
11
- this.addSql(`alter table if exists "extended_product" drop column if exists "dis_markup_description";`);
12
- this.addSql(`alter table if exists "style_details_line" add column if not exists "dis_markup_description" text null;`);
13
- }
14
- }
15
- exports.Migration20251202064200 = Migration20251202064200;
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEyMDIwNjQyMDAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC1wcm9kdWN0L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTEyMDIwNjQyMDAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLHVHQUF1RyxDQUFDLENBQUM7UUFFckgsSUFBSSxDQUFDLE1BQU0sQ0FBQyw0RkFBNEYsQ0FBQyxDQUFDO0lBQzVHLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLDBGQUEwRixDQUFDLENBQUM7UUFFeEcsSUFBSSxDQUFDLE1BQU0sQ0FBQyx5R0FBeUcsQ0FBQyxDQUFDO0lBQ3pILENBQUM7Q0FFRjtBQWRELDBEQWNDIn0=
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251119063328 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251119063328 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "extended_variant" add column if not exists "discount_markup_cost" text null, add column if not exists "making_cost_on" text null, add column if not exists "metal_calculation_cost_on" text null, add column if not exists "gold_loss_cost_formula" text null, add column if not exists "labour_cost_formula" text null, add column if not exists "cost_margin_per" real null, add column if not exists "cost_margin_is_fix" boolean null, add column if not exists "actual_cost_margin_amt" real null, add column if not exists "cost_margin_amt" real null, add column if not exists "cost_discount_per" real null, add column if not exists "cost_discount_is_fix" boolean null, add column if not exists "actual_cost_discount_amt" real null, add column if not exists "cost_discount_amt" real null, add column if not exists "actual_cost" real null, add column if not exists "making_on" text null, add column if not exists "metal_calculation_on" text null, add column if not exists "gold_loss_formula" text null, add column if not exists "labour_formula" text null, add column if not exists "margin_per" real null, add column if not exists "margin_is_fix" boolean null, add column if not exists "actual_margin_amt" real null, add column if not exists "margin_amt" real null, add column if not exists "discount_per" real null, add column if not exists "discount_is_fix" boolean null, add column if not exists "actual_discount_amt" real null, add column if not exists "discount_amt" real null, add column if not exists "actual_mrp" real null, add column if not exists "stamping_instruction" text null, add column if not exists "design_production_instruction" text null, add column if not exists "customer_production_instruction" text null, add column if not exists "style_history" text null, add column if not exists "design_by" text null, add column if not exists "master_qty" integer null, add column if not exists "hsn_id" text null;`);
8
- this.addSql(`alter table if exists "inward_master" add column if not exists "discount_markup_cost" text null, add column if not exists "actual_cost_margin_amt" real null, add column if not exists "actual_cost_discount_amt" real null, add column if not exists "actual_cost" real null, add column if not exists "actual_margin_amt" real null, add column if not exists "actual_discount_amt" real null, add column if not exists "actual_mrp" real null;`);
9
- this.addSql(`alter table if exists "inward_details_line" add column if not exists "original_cost_rate" real null, add column if not exists "actual_cost_amount" real null, add column if not exists "dis_markup_cost_per" real null, add column if not exists "dis_markup_cost_on" boolean null, add column if not exists "dis_markup_cost_amt" real null, add column if not exists "final_cost_amt" real null, add column if not exists "original_hand_cost_rate" real null, add column if not exists "actual_hand_cost_amount" real null, add column if not exists "hand_dis_markup_cost_per" real null, add column if not exists "hand_dis_markup_cost_on" boolean null, add column if not exists "original_set_cost_rate" real null, add column if not exists "actual_set_cost_amount" real null, add column if not exists "set_dis_markup_cost_per" real null, add column if not exists "set_dis_markup_cost_on" boolean null, add column if not exists "actual_loss_cost_amt" real null, add column if not exists "metal_loss_per_calc_cost_on" integer null, add column if not exists "original_cpf_cost_rate" real null, add column if not exists "actual_cpf_cost_amt" real null, add column if not exists "cpf_dis_markup_cost_per" real null, add column if not exists "original_cpf_cost_amt" real null, add column if not exists "cpf_amt_dis_markup_cost_per" real null, add column if not exists "original_rate" real null, add column if not exists "actual_amount" real null, add column if not exists "dis_markup_per" real null, add column if not exists "dis_markup_on" boolean null, add column if not exists "dis_markup_amt" real null, add column if not exists "final_amt" real null, add column if not exists "original_hand_rate" real null, add column if not exists "actual_hand_amount" real null, add column if not exists "hand_dis_markup_per" real null, add column if not exists "hand_dis_markup_on" boolean null, add column if not exists "original_set_rate" real null, add column if not exists "actual_set_amount" real null, add column if not exists "set_dis_markup_per" real null, add column if not exists "set_dis_markup_on" boolean null, add column if not exists "actual_loss_amt" real null, add column if not exists "metal_loss_per_calc_on" integer null, add column if not exists "original_cpf_rate" real null, add column if not exists "actual_cpf_amt" real null, add column if not exists "cpf_dis_markup_per" real null, add column if not exists "original_cpf_amt" real null, add column if not exists "cpf_amt_dis_markup_per" real null;`);
10
- this.addSql(`alter table if exists "party_style_details_line" add column if not exists "original_cost_rate" real null, add column if not exists "actual_cost_amount" real null, add column if not exists "dis_markup_cost_per" real null, add column if not exists "dis_markup_cost_on" boolean null, add column if not exists "dis_markup_cost_amt" real null, add column if not exists "final_cost_amt" real null, add column if not exists "original_hand_cost_rate" real null, add column if not exists "actual_hand_cost_amount" real null, add column if not exists "hand_dis_markup_cost_per" real null, add column if not exists "hand_dis_markup_cost_on" boolean null, add column if not exists "original_set_cost_rate" real null, add column if not exists "actual_set_cost_amount" real null, add column if not exists "set_dis_markup_cost_per" real null, add column if not exists "set_dis_markup_cost_on" boolean null, add column if not exists "actual_loss_cost_amt" real null, add column if not exists "metal_loss_per_calc_cost_on" integer null, add column if not exists "original_cpf_cost_rate" real null, add column if not exists "actual_cpf_cost_amt" real null, add column if not exists "cpf_dis_markup_cost_per" real null, add column if not exists "original_cpf_cost_amt" real null, add column if not exists "cpf_amt_dis_markup_cost_per" real null, add column if not exists "original_rate" real null, add column if not exists "actual_amount" real null, add column if not exists "dis_markup_per" real null, add column if not exists "dis_markup_on" boolean null, add column if not exists "dis_markup_amt" real null, add column if not exists "final_amt" real null, add column if not exists "original_hand_rate" real null, add column if not exists "actual_hand_amount" real null, add column if not exists "hand_dis_markup_per" real null, add column if not exists "hand_dis_markup_on" boolean null, add column if not exists "original_set_rate" real null, add column if not exists "actual_set_amount" real null, add column if not exists "set_dis_markup_per" real null, add column if not exists "set_dis_markup_on" boolean null, add column if not exists "actual_loss_amt" real null, add column if not exists "metal_loss_per_calc_on" integer null, add column if not exists "original_cpf_rate" real null, add column if not exists "actual_cpf_amt" real null, add column if not exists "cpf_dis_markup_per" real null, add column if not exists "original_cpf_amt" real null, add column if not exists "cpf_amt_dis_markup_per" real null;`);
11
- }
12
- async down() {
13
- this.addSql(`alter table if exists "extended_variant" drop column if exists "discount_markup_cost", drop column if exists "making_cost_on", drop column if exists "metal_calculation_cost_on", drop column if exists "gold_loss_cost_formula", drop column if exists "labour_cost_formula", drop column if exists "cost_margin_per", drop column if exists "cost_margin_is_fix", drop column if exists "actual_cost_margin_amt", drop column if exists "cost_margin_amt", drop column if exists "cost_discount_per", drop column if exists "cost_discount_is_fix", drop column if exists "actual_cost_discount_amt", drop column if exists "cost_discount_amt", drop column if exists "actual_cost", drop column if exists "making_on", drop column if exists "metal_calculation_on", drop column if exists "gold_loss_formula", drop column if exists "labour_formula", drop column if exists "margin_per", drop column if exists "margin_is_fix", drop column if exists "actual_margin_amt", drop column if exists "margin_amt", drop column if exists "discount_per", drop column if exists "discount_is_fix", drop column if exists "actual_discount_amt", drop column if exists "discount_amt", drop column if exists "actual_mrp", drop column if exists "stamping_instruction", drop column if exists "design_production_instruction", drop column if exists "customer_production_instruction", drop column if exists "style_history", drop column if exists "design_by", drop column if exists "master_qty", drop column if exists "hsn_id";`);
14
- this.addSql(`alter table if exists "inward_master" drop column if exists "discount_markup_cost", drop column if exists "actual_cost_margin_amt", drop column if exists "actual_cost_discount_amt", drop column if exists "actual_cost", drop column if exists "actual_margin_amt", drop column if exists "actual_discount_amt", drop column if exists "actual_mrp";`);
15
- this.addSql(`alter table if exists "inward_details_line" drop column if exists "original_cost_rate", drop column if exists "actual_cost_amount", drop column if exists "dis_markup_cost_per", drop column if exists "dis_markup_cost_on", drop column if exists "dis_markup_cost_amt", drop column if exists "final_cost_amt", drop column if exists "original_hand_cost_rate", drop column if exists "actual_hand_cost_amount", drop column if exists "hand_dis_markup_cost_per", drop column if exists "hand_dis_markup_cost_on", drop column if exists "original_set_cost_rate", drop column if exists "actual_set_cost_amount", drop column if exists "set_dis_markup_cost_per", drop column if exists "set_dis_markup_cost_on", drop column if exists "actual_loss_cost_amt", drop column if exists "metal_loss_per_calc_cost_on", drop column if exists "original_cpf_cost_rate", drop column if exists "actual_cpf_cost_amt", drop column if exists "cpf_dis_markup_cost_per", drop column if exists "original_cpf_cost_amt", drop column if exists "cpf_amt_dis_markup_cost_per", drop column if exists "original_rate", drop column if exists "actual_amount", drop column if exists "dis_markup_per", drop column if exists "dis_markup_on", drop column if exists "dis_markup_amt", drop column if exists "final_amt", drop column if exists "original_hand_rate", drop column if exists "actual_hand_amount", drop column if exists "hand_dis_markup_per", drop column if exists "hand_dis_markup_on", drop column if exists "original_set_rate", drop column if exists "actual_set_amount", drop column if exists "set_dis_markup_per", drop column if exists "set_dis_markup_on", drop column if exists "actual_loss_amt", drop column if exists "metal_loss_per_calc_on", drop column if exists "original_cpf_rate", drop column if exists "actual_cpf_amt", drop column if exists "cpf_dis_markup_per", drop column if exists "original_cpf_amt", drop column if exists "cpf_amt_dis_markup_per";`);
16
- this.addSql(`alter table if exists "party_style_details_line" drop column if exists "original_cost_rate", drop column if exists "actual_cost_amount", drop column if exists "dis_markup_cost_per", drop column if exists "dis_markup_cost_on", drop column if exists "dis_markup_cost_amt", drop column if exists "final_cost_amt", drop column if exists "original_hand_cost_rate", drop column if exists "actual_hand_cost_amount", drop column if exists "hand_dis_markup_cost_per", drop column if exists "hand_dis_markup_cost_on", drop column if exists "original_set_cost_rate", drop column if exists "actual_set_cost_amount", drop column if exists "set_dis_markup_cost_per", drop column if exists "set_dis_markup_cost_on", drop column if exists "actual_loss_cost_amt", drop column if exists "metal_loss_per_calc_cost_on", drop column if exists "original_cpf_cost_rate", drop column if exists "actual_cpf_cost_amt", drop column if exists "cpf_dis_markup_cost_per", drop column if exists "original_cpf_cost_amt", drop column if exists "cpf_amt_dis_markup_cost_per", drop column if exists "original_rate", drop column if exists "actual_amount", drop column if exists "dis_markup_per", drop column if exists "dis_markup_on", drop column if exists "dis_markup_amt", drop column if exists "final_amt", drop column if exists "original_hand_rate", drop column if exists "actual_hand_amount", drop column if exists "hand_dis_markup_per", drop column if exists "hand_dis_markup_on", drop column if exists "original_set_rate", drop column if exists "actual_set_amount", drop column if exists "set_dis_markup_per", drop column if exists "set_dis_markup_on", drop column if exists "actual_loss_amt", drop column if exists "metal_loss_per_calc_on", drop column if exists "original_cpf_rate", drop column if exists "actual_cpf_amt", drop column if exists "cpf_dis_markup_per", drop column if exists "original_cpf_amt", drop column if exists "cpf_amt_dis_markup_per";`);
17
- }
18
- }
19
- exports.Migration20251119063328 = Migration20251119063328;
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMTkwNjMzMjguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC12YXJpYW50L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTExMTkwNjMzMjgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLGs1REFBazVELENBQUMsQ0FBQztRQUVoNkQsSUFBSSxDQUFDLE1BQU0sQ0FBQyxtYkFBbWIsQ0FBQyxDQUFDO1FBRWpjLElBQUksQ0FBQyxNQUFNLENBQUMsZzhFQUFnOEUsQ0FBQyxDQUFDO1FBRTk4RSxJQUFJLENBQUMsTUFBTSxDQUFDLHE4RUFBcThFLENBQUMsQ0FBQztJQUNyOUUsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMseThDQUF5OEMsQ0FBQyxDQUFDO1FBRXY5QyxJQUFJLENBQUMsTUFBTSxDQUFDLHdWQUF3VixDQUFDLENBQUM7UUFFdFcsSUFBSSxDQUFDLE1BQU0sQ0FBQyxzNERBQXM0RCxDQUFDLENBQUM7UUFFcDVELElBQUksQ0FBQyxNQUFNLENBQUMsMjREQUEyNEQsQ0FBQyxDQUFDO0lBQzM1RCxDQUFDO0NBRUY7QUF0QkQsMERBc0JDIn0=
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251120045708 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251120045708 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "extended_variant" add column if not exists "actual_metal_total_amount" real null, add column if not exists "actual_diamond_total_amount" real null, add column if not exists "actual_stone_total_amount" real null, add column if not exists "actual_cpf_total_amount" real null, add column if not exists "actual_total_amount" real null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "extended_variant" drop column if exists "actual_metal_total_amount", drop column if exists "actual_diamond_total_amount", drop column if exists "actual_stone_total_amount", drop column if exists "actual_cpf_total_amount", drop column if exists "actual_total_amount";`);
11
- }
12
- }
13
- exports.Migration20251120045708 = Migration20251120045708;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMjAwNDU3MDguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC12YXJpYW50L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTExMjAwNDU3MDgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLG9XQUFvVyxDQUFDLENBQUM7SUFDcFgsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsbVNBQW1TLENBQUMsQ0FBQztJQUNuVCxDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251120051832 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251120051832 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "extended_variant" add column if not exists "diamond_dis_markup_value" real null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "extended_variant" drop column if exists "diamond_dis_markup_value";`);
11
- }
12
- }
13
- exports.Migration20251120051832 = Migration20251120051832;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMjAwNTE4MzIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC12YXJpYW50L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTExMjAwNTE4MzIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLHlHQUF5RyxDQUFDLENBQUM7SUFDekgsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsNEZBQTRGLENBQUMsQ0FBQztJQUM1RyxDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251120052514 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251120052514 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "extended_variant" add column if not exists "diamond_dis_markup_type" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "extended_variant" drop column if exists "diamond_dis_markup_type";`);
11
- }
12
- }
13
- exports.Migration20251120052514 = Migration20251120052514;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMjAwNTI1MTQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC12YXJpYW50L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTExMjAwNTI1MTQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLHdHQUF3RyxDQUFDLENBQUM7SUFDeEgsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsMkZBQTJGLENBQUMsQ0FBQztJQUMzRyxDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251202055952 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251202055952 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "extended_variant" add column if not exists "dis_markup_description" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "extended_variant" drop column if exists "dis_markup_description";`);
11
- }
12
- }
13
- exports.Migration20251202055952 = Migration20251202055952;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEyMDIwNTU5NTIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9leHRlbmRlZC12YXJpYW50L21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTEyMDIwNTU5NTIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLHVHQUF1RyxDQUFDLENBQUM7SUFDdkgsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsMEZBQTBGLENBQUMsQ0FBQztJQUMxRyxDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ITEM_SIZE_MASTER_MODULE = void 0;
7
- const utils_1 = require("@medusajs/framework/utils");
8
- const service_1 = __importDefault(require("./service"));
9
- exports.ITEM_SIZE_MASTER_MODULE = "item_size_master";
10
- exports.default = (0, utils_1.Module)(exports.ITEM_SIZE_MASTER_MODULE, {
11
- service: service_1.default,
12
- });
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9pdGVtLXNpemUtbWFzdGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHFEQUFtRDtBQUNuRCx3REFBOEM7QUFFakMsUUFBQSx1QkFBdUIsR0FBRyxrQkFBa0IsQ0FBQztBQUUxRCxrQkFBZSxJQUFBLGNBQU0sRUFBQywrQkFBdUIsRUFBRTtJQUM3QyxPQUFPLEVBQUUsaUJBQXFCO0NBQy9CLENBQUMsQ0FBQyJ9
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031111036 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031111036 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`create table if not exists "item_size_master" ("id" text not null, "title" text null, "item_size_id" integer not null, "item_size_code" text not null, "item_size_name" text not null, "item_size_alias_name" text not null, "grp_nos" text[] not null default '{}', "created_at" timestamptz not null default now(), "updated_at" timestamptz not null default now(), "deleted_at" timestamptz null, constraint "item_size_master_pkey" primary key ("id"));`);
8
- this.addSql(`CREATE INDEX IF NOT EXISTS "IDX_item_size_master_item_size_id" ON "item_size_master" (item_size_id) WHERE deleted_at IS NULL;`);
9
- this.addSql(`CREATE INDEX IF NOT EXISTS "IDX_item_size_master_item_size_code" ON "item_size_master" (item_size_code) WHERE deleted_at IS NULL;`);
10
- this.addSql(`CREATE INDEX IF NOT EXISTS "IDX_item_size_master_deleted_at" ON "item_size_master" (deleted_at) WHERE deleted_at IS NULL;`);
11
- }
12
- async down() {
13
- this.addSql(`drop table if exists "item_size_master" cascade;`);
14
- }
15
- }
16
- exports.Migration20251031111036 = Migration20251031111036;
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzExMTEwMzYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9pdGVtLXNpemUtbWFzdGVyL21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTEwMzExMTEwMzYudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLCtiQUErYixDQUFDLENBQUM7UUFDN2MsSUFBSSxDQUFDLE1BQU0sQ0FBQywrSEFBK0gsQ0FBQyxDQUFDO1FBQzdJLElBQUksQ0FBQyxNQUFNLENBQUMsbUlBQW1JLENBQUMsQ0FBQztRQUNqSixJQUFJLENBQUMsTUFBTSxDQUFDLDJIQUEySCxDQUFDLENBQUM7SUFDM0ksQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsa0RBQWtELENBQUMsQ0FBQztJQUNsRSxDQUFDO0NBRUY7QUFiRCwwREFhQyJ9
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ItemSizeMaster = void 0;
4
- const utils_1 = require("@medusajs/framework/utils");
5
- exports.ItemSizeMaster = utils_1.model.define("item_size_master", {
6
- id: utils_1.model.id().primaryKey(),
7
- title: utils_1.model.text().nullable(),
8
- item_size_id: utils_1.model.number().index(),
9
- item_size_code: utils_1.model.text().index(),
10
- item_size_name: utils_1.model.text(),
11
- item_size_alias_name: utils_1.model.text(),
12
- grp_nos: utils_1.model.array().default([]),
13
- });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXRlbS1zaXplLW1hc3Rlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2l0ZW0tc2l6ZS1tYXN0ZXIvbW9kZWxzL2l0ZW0tc2l6ZS1tYXN0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscURBQWtEO0FBRXJDLFFBQUEsY0FBYyxHQUFHLGFBQUssQ0FBQyxNQUFNLENBQUMsa0JBQWtCLEVBQUU7SUFDN0QsRUFBRSxFQUFFLGFBQUssQ0FBQyxFQUFFLEVBQUUsQ0FBQyxVQUFVLEVBQUU7SUFDM0IsS0FBSyxFQUFFLGFBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDOUIsWUFBWSxFQUFFLGFBQUssQ0FBQyxNQUFNLEVBQUUsQ0FBQyxLQUFLLEVBQUU7SUFDcEMsY0FBYyxFQUFFLGFBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQyxLQUFLLEVBQUU7SUFDcEMsY0FBYyxFQUFFLGFBQUssQ0FBQyxJQUFJLEVBQUU7SUFDNUIsb0JBQW9CLEVBQUUsYUFBSyxDQUFDLElBQUksRUFBRTtJQUNsQyxPQUFPLEVBQUUsYUFBSyxDQUFDLEtBQUssRUFBRSxDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUM7Q0FDbkMsQ0FBQyxDQUFDIn0=
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const utils_1 = require("@medusajs/framework/utils");
4
- const item_size_master_1 = require("./models/item-size-master");
5
- class ItemSizeMasterService extends (0, utils_1.MedusaService)({
6
- ItemSizeMaster: item_size_master_1.ItemSizeMaster,
7
- }) {
8
- }
9
- exports.default = ItemSizeMasterService;
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL2l0ZW0tc2l6ZS1tYXN0ZXIvc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHFEQUEwRDtBQUMxRCxnRUFBMkQ7QUFFM0QsTUFBTSxxQkFBc0IsU0FBUSxJQUFBLHFCQUFhLEVBQUM7SUFDaEQsY0FBYyxFQUFkLGlDQUFjO0NBQ2YsQ0FBQztDQUFHO0FBRUwsa0JBQWUscUJBQXFCLENBQUMifQ==
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031061657 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031061657 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "party_master" add column if not exists "title" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "party_master" drop column if exists "title";`);
11
- }
12
- }
13
- exports.Migration20251031061657 = Migration20251031061657;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzEwNjE2NTcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9wYXJ0eS1tYXN0ZXIvbWlncmF0aW9ucy9NaWdyYXRpb24yMDI1MTAzMTA2MTY1Ny50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzREFBa0Q7QUFFbEQsTUFBYSx1QkFBd0IsU0FBUSxzQkFBUztJQUUzQyxLQUFLLENBQUMsRUFBRTtRQUNmLElBQUksQ0FBQyxNQUFNLENBQUMsa0ZBQWtGLENBQUMsQ0FBQztJQUNsRyxDQUFDO0lBRVEsS0FBSyxDQUFDLElBQUk7UUFDakIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxxRUFBcUUsQ0FBQyxDQUFDO0lBQ3JGLENBQUM7Q0FFRjtBQVZELDBEQVVDIn0=
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251104050242 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251104050242 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "party_master" drop column if exists "title";`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "party_master" add column if not exists "title" text null;`);
11
- }
12
- }
13
- exports.Migration20251104050242 = Migration20251104050242;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMDQwNTAyNDIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9wYXJ0eS1tYXN0ZXIvbWlncmF0aW9ucy9NaWdyYXRpb24yMDI1MTEwNDA1MDI0Mi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzREFBa0Q7QUFFbEQsTUFBYSx1QkFBd0IsU0FBUSxzQkFBUztJQUUzQyxLQUFLLENBQUMsRUFBRTtRQUNmLElBQUksQ0FBQyxNQUFNLENBQUMscUVBQXFFLENBQUMsQ0FBQztJQUNyRixDQUFDO0lBRVEsS0FBSyxDQUFDLElBQUk7UUFDakIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxrRkFBa0YsQ0FBQyxDQUFDO0lBQ2xHLENBQUM7Q0FFRjtBQVZELDBEQVVDIn0=
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031061829 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031061829 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "promocode_master" add column if not exists "title" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "promocode_master" drop column if exists "title";`);
11
- }
12
- }
13
- exports.Migration20251031061829 = Migration20251031061829;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzEwNjE4MjkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9wcm9tb2NvZGUtbWFzdGVyL21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTEwMzEwNjE4MjkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLHNGQUFzRixDQUFDLENBQUM7SUFDdEcsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMseUVBQXlFLENBQUMsQ0FBQztJQUN6RixDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251104050332 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251104050332 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "promocode_master" drop column if exists "title";`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "promocode_master" add column if not exists "title" text null;`);
11
- }
12
- }
13
- exports.Migration20251104050332 = Migration20251104050332;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMDQwNTAzMzIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9wcm9tb2NvZGUtbWFzdGVyL21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTExMDQwNTAzMzIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLHlFQUF5RSxDQUFDLENBQUM7SUFDekYsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsc0ZBQXNGLENBQUMsQ0FBQztJQUN0RyxDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.QUALITY_MASTER_MODULE = void 0;
7
- const utils_1 = require("@medusajs/framework/utils");
8
- const service_1 = __importDefault(require("./service"));
9
- exports.QUALITY_MASTER_MODULE = "quality_master";
10
- exports.default = (0, utils_1.Module)(exports.QUALITY_MASTER_MODULE, {
11
- service: service_1.default,
12
- });
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9xdWFsaXR5LW1hc3Rlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxxREFBbUQ7QUFDbkQsd0RBQTZDO0FBRWhDLFFBQUEscUJBQXFCLEdBQUcsZ0JBQWdCLENBQUM7QUFFdEQsa0JBQWUsSUFBQSxjQUFNLEVBQUMsNkJBQXFCLEVBQUU7SUFDM0MsT0FBTyxFQUFFLGlCQUFvQjtDQUM5QixDQUFDLENBQUMifQ==
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031095211 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031095211 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`create table if not exists "quality_master" ("id" text not null, "title" text null, "qly_no" integer not null, "qly_for" text not null, "qly_code" text not null, "qly_name" text not null, "qly_alias_name" text not null, "is_block_for_use" boolean not null, "created_at" timestamptz not null default now(), "updated_at" timestamptz not null default now(), "deleted_at" timestamptz null, constraint "quality_master_pkey" primary key ("id"));`);
8
- this.addSql(`CREATE INDEX IF NOT EXISTS "IDX_quality_master_qly_code" ON "quality_master" (qly_code) WHERE deleted_at IS NULL;`);
9
- this.addSql(`CREATE INDEX IF NOT EXISTS "IDX_quality_master_deleted_at" ON "quality_master" (deleted_at) WHERE deleted_at IS NULL;`);
10
- }
11
- async down() {
12
- this.addSql(`drop table if exists "quality_master" cascade;`);
13
- }
14
- }
15
- exports.Migration20251031095211 = Migration20251031095211;
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzEwOTUyMTEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9xdWFsaXR5LW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUxMDMxMDk1MjExLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyx5YkFBeWIsQ0FBQyxDQUFDO1FBQ3ZjLElBQUksQ0FBQyxNQUFNLENBQUMsbUhBQW1ILENBQUMsQ0FBQztRQUNqSSxJQUFJLENBQUMsTUFBTSxDQUFDLHVIQUF1SCxDQUFDLENBQUM7SUFDdkksQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsZ0RBQWdELENBQUMsQ0FBQztJQUNoRSxDQUFDO0NBRUY7QUFaRCwwREFZQyJ9
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251105045114 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251105045114 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "quality_master" add column if not exists "qly_clarity" real null, add column if not exists "qly_mfg_clarity" real null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "quality_master" drop column if exists "qly_clarity", drop column if exists "qly_mfg_clarity";`);
11
- }
12
- }
13
- exports.Migration20251105045114 = Migration20251105045114;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMDUwNDUxMTQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9xdWFsaXR5LW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUxMTA1MDQ1MTE0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyxnSkFBZ0osQ0FBQyxDQUFDO0lBQ2hLLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLHNIQUFzSCxDQUFDLENBQUM7SUFDdEksQ0FBQztDQUVGO0FBVkQsMERBVUMifQ==
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QualityMaster = void 0;
4
- const utils_1 = require("@medusajs/framework/utils");
5
- exports.QualityMaster = utils_1.model.define("quality_master", {
6
- id: utils_1.model.id().primaryKey(),
7
- title: utils_1.model.text().nullable(),
8
- qly_no: utils_1.model.number(),
9
- qly_for: utils_1.model.text(),
10
- qly_code: utils_1.model.text().index(),
11
- qly_name: utils_1.model.text(),
12
- qly_alias_name: utils_1.model.text(),
13
- qly_clarity: utils_1.model.float().nullable(),
14
- qly_mfg_clarity: utils_1.model.float().nullable(),
15
- is_block_for_use: utils_1.model.boolean(),
16
- });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbGl0eS1tYXN0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9xdWFsaXR5LW1hc3Rlci9tb2RlbHMvcXVhbGl0eS1tYXN0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscURBQWtEO0FBRXJDLFFBQUEsYUFBYSxHQUFHLGFBQUssQ0FBQyxNQUFNLENBQUMsZ0JBQWdCLEVBQUU7SUFDMUQsRUFBRSxFQUFFLGFBQUssQ0FBQyxFQUFFLEVBQUUsQ0FBQyxVQUFVLEVBQUU7SUFDM0IsS0FBSyxFQUFFLGFBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDOUIsTUFBTSxFQUFFLGFBQUssQ0FBQyxNQUFNLEVBQUU7SUFDdEIsT0FBTyxFQUFFLGFBQUssQ0FBQyxJQUFJLEVBQUU7SUFDckIsUUFBUSxFQUFFLGFBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQyxLQUFLLEVBQUU7SUFDOUIsUUFBUSxFQUFFLGFBQUssQ0FBQyxJQUFJLEVBQUU7SUFDdEIsY0FBYyxFQUFFLGFBQUssQ0FBQyxJQUFJLEVBQUU7SUFDNUIsV0FBVyxFQUFFLGFBQUssQ0FBQyxLQUFLLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDckMsZUFBZSxFQUFFLGFBQUssQ0FBQyxLQUFLLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDekMsZ0JBQWdCLEVBQUUsYUFBSyxDQUFDLE9BQU8sRUFBRTtDQUNsQyxDQUFDLENBQUMifQ==
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const utils_1 = require("@medusajs/framework/utils");
4
- const quality_master_1 = require("./models/quality-master");
5
- class QualityMasterService extends (0, utils_1.MedusaService)({
6
- QualityMaster: quality_master_1.QualityMaster,
7
- }) {
8
- }
9
- exports.default = QualityMasterService;
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9tb2R1bGVzL3F1YWxpdHktbWFzdGVyL3NlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxxREFBMEQ7QUFDMUQsNERBQXdEO0FBRXhELE1BQU0sb0JBQXFCLFNBQVEsSUFBQSxxQkFBYSxFQUFDO0lBQy9DLGFBQWEsRUFBYiw4QkFBYTtDQUNkLENBQUM7Q0FBRztBQUVMLGtCQUFlLG9CQUFvQixDQUFDIn0=
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031061912 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031061912 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "raw_master" add column if not exists "title" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "raw_master" drop column if exists "title";`);
11
- }
12
- }
13
- exports.Migration20251031061912 = Migration20251031061912;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzEwNjE5MTIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9yYXctbWFzdGVyL21pZ3JhdGlvbnMvTWlncmF0aW9uMjAyNTEwMzEwNjE5MTIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsc0RBQWtEO0FBRWxELE1BQWEsdUJBQXdCLFNBQVEsc0JBQVM7SUFFM0MsS0FBSyxDQUFDLEVBQUU7UUFDZixJQUFJLENBQUMsTUFBTSxDQUFDLGdGQUFnRixDQUFDLENBQUM7SUFDaEcsQ0FBQztJQUVRLEtBQUssQ0FBQyxJQUFJO1FBQ2pCLElBQUksQ0FBQyxNQUFNLENBQUMsbUVBQW1FLENBQUMsQ0FBQztJQUNuRixDQUFDO0NBRUY7QUFWRCwwREFVQyJ9
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031062019 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031062019 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "shape_master" add column if not exists "title" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "shape_master" drop column if exists "title";`);
11
- }
12
- }
13
- exports.Migration20251031062019 = Migration20251031062019;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzEwNjIwMTkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9zaGFwZS1tYXN0ZXIvbWlncmF0aW9ucy9NaWdyYXRpb24yMDI1MTAzMTA2MjAxOS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxzREFBa0Q7QUFFbEQsTUFBYSx1QkFBd0IsU0FBUSxzQkFBUztJQUUzQyxLQUFLLENBQUMsRUFBRTtRQUNmLElBQUksQ0FBQyxNQUFNLENBQUMsa0ZBQWtGLENBQUMsQ0FBQztJQUNsRyxDQUFDO0lBRVEsS0FBSyxDQUFDLElBQUk7UUFDakIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxxRUFBcUUsQ0FBQyxDQUFDO0lBQ3JGLENBQUM7Q0FFRjtBQVZELDBEQVVDIn0=
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251031062128 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251031062128 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "shipping_info_master" add column if not exists "title" text null;`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "shipping_info_master" drop column if exists "title";`);
11
- }
12
- }
13
- exports.Migration20251031062128 = Migration20251031062128;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEwMzEwNjIxMjguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9zaGlwcGluZy1pbmZvLW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUxMDMxMDYyMTI4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQywwRkFBMEYsQ0FBQyxDQUFDO0lBQzFHLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLDZFQUE2RSxDQUFDLENBQUM7SUFDN0YsQ0FBQztDQUVGO0FBVkQsMERBVUMifQ==
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251104050501 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251104050501 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "shipping_info_master" drop column if exists "title";`);
8
- }
9
- async down() {
10
- this.addSql(`alter table if exists "shipping_info_master" add column if not exists "title" text null;`);
11
- }
12
- }
13
- exports.Migration20251104050501 = Migration20251104050501;
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTExMDQwNTA1MDEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9zaGlwcGluZy1pbmZvLW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUxMTA0MDUwNTAxLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyw2RUFBNkUsQ0FBQyxDQUFDO0lBQzdGLENBQUM7SUFFUSxLQUFLLENBQUMsSUFBSTtRQUNqQixJQUFJLENBQUMsTUFBTSxDQUFDLDBGQUEwRixDQUFDLENBQUM7SUFDMUcsQ0FBQztDQUVGO0FBVkQsMERBVUMifQ==
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Migration20251203083315 = void 0;
4
- const migrations_1 = require("@mikro-orm/migrations");
5
- class Migration20251203083315 extends migrations_1.Migration {
6
- async up() {
7
- this.addSql(`alter table if exists "shipping_info_master" alter column "mapping_id" type text using ("mapping_id"::text);`);
8
- this.addSql(`alter table if exists "shipping_info_master" alter column "mapping_id" drop not null;`);
9
- }
10
- async down() {
11
- this.addSql(`alter table if exists "shipping_info_master" alter column "mapping_id" type text using ("mapping_id"::text);`);
12
- this.addSql(`alter table if exists "shipping_info_master" alter column "mapping_id" set not null;`);
13
- }
14
- }
15
- exports.Migration20251203083315 = Migration20251203083315;
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWlncmF0aW9uMjAyNTEyMDMwODMzMTUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9kdWxlcy9zaGlwcGluZy1pbmZvLW1hc3Rlci9taWdyYXRpb25zL01pZ3JhdGlvbjIwMjUxMjAzMDgzMzE1LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHNEQUFrRDtBQUVsRCxNQUFhLHVCQUF3QixTQUFRLHNCQUFTO0lBRTNDLEtBQUssQ0FBQyxFQUFFO1FBQ2YsSUFBSSxDQUFDLE1BQU0sQ0FBQyw4R0FBOEcsQ0FBQyxDQUFDO1FBQzVILElBQUksQ0FBQyxNQUFNLENBQUMsdUZBQXVGLENBQUMsQ0FBQztJQUN2RyxDQUFDO0lBRVEsS0FBSyxDQUFDLElBQUk7UUFDakIsSUFBSSxDQUFDLE1BQU0sQ0FBQyw4R0FBOEcsQ0FBQyxDQUFDO1FBQzVILElBQUksQ0FBQyxNQUFNLENBQUMsc0ZBQXNGLENBQUMsQ0FBQztJQUN0RyxDQUFDO0NBRUY7QUFaRCwwREFZQyJ9