@porulle/core 0.43.0 → 0.45.0

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.
@@ -112,7 +112,7 @@ export declare const listEntitiesRoute: {
112
112
  tableName: "sellable_entities";
113
113
  dataType: "string";
114
114
  columnType: "PgText";
115
- data: "draft" | "active" | "archived" | "discontinued";
115
+ data: "active" | "draft" | "archived" | "discontinued";
116
116
  driverParam: string;
117
117
  notNull: true;
118
118
  hasDefault: true;
@@ -460,7 +460,7 @@ export declare const getEntityRoute: {
460
460
  tableName: "sellable_entities";
461
461
  dataType: "string";
462
462
  columnType: "PgText";
463
- data: "draft" | "active" | "archived" | "discontinued";
463
+ data: "active" | "draft" | "archived" | "discontinued";
464
464
  driverParam: string;
465
465
  notNull: true;
466
466
  hasDefault: true;
@@ -798,7 +798,7 @@ export declare const getEntityAttributesRoute: {
798
798
  tableName: "sellable_entities";
799
799
  dataType: "string";
800
800
  columnType: "PgText";
801
- data: "draft" | "active" | "archived" | "discontinued";
801
+ data: "active" | "draft" | "archived" | "discontinued";
802
802
  driverParam: string;
803
803
  notNull: true;
804
804
  hasDefault: true;
@@ -1055,8 +1055,8 @@ export declare const listFieldOwnershipRoute: {
1055
1055
  storeId: z.ZodNullable<z.ZodString>;
1056
1056
  fieldPath: z.ZodString;
1057
1057
  owner: z.ZodEnum<{
1058
- platform: "platform";
1059
1058
  store: "store";
1059
+ platform: "platform";
1060
1060
  shared: "shared";
1061
1061
  }>;
1062
1062
  updatedAt: z.ZodString;
@@ -1085,8 +1085,8 @@ export declare const setFieldOwnershipRoute: {
1085
1085
  schema: z.ZodObject<{
1086
1086
  fieldPath: z.ZodString;
1087
1087
  owner: z.ZodEnum<{
1088
- platform: "platform";
1089
1088
  store: "store";
1089
+ platform: "platform";
1090
1090
  shared: "shared";
1091
1091
  }>;
1092
1092
  storeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1320,7 +1320,7 @@ export declare const listCategoriesRoute: {
1320
1320
  tableName: "sellable_entities";
1321
1321
  dataType: "string";
1322
1322
  columnType: "PgText";
1323
- data: "draft" | "active" | "archived" | "discontinued";
1323
+ data: "active" | "draft" | "archived" | "discontinued";
1324
1324
  driverParam: string;
1325
1325
  notNull: true;
1326
1326
  hasDefault: true;
@@ -1552,7 +1552,7 @@ export declare const listBrandsRoute: {
1552
1552
  tableName: "sellable_entities";
1553
1553
  dataType: "string";
1554
1554
  columnType: "PgText";
1555
- data: "draft" | "active" | "archived" | "discontinued";
1555
+ data: "active" | "draft" | "archived" | "discontinued";
1556
1556
  driverParam: string;
1557
1557
  notNull: true;
1558
1558
  hasDefault: true;
@@ -2526,7 +2526,7 @@ export declare const publishEntityRoute: {
2526
2526
  tableName: "sellable_entities";
2527
2527
  dataType: "string";
2528
2528
  columnType: "PgText";
2529
- data: "draft" | "active" | "archived" | "discontinued";
2529
+ data: "active" | "draft" | "archived" | "discontinued";
2530
2530
  driverParam: string;
2531
2531
  notNull: true;
2532
2532
  hasDefault: true;
@@ -2863,7 +2863,7 @@ export declare const archiveEntityRoute: {
2863
2863
  tableName: "sellable_entities";
2864
2864
  dataType: "string";
2865
2865
  columnType: "PgText";
2866
- data: "draft" | "active" | "archived" | "discontinued";
2866
+ data: "active" | "draft" | "archived" | "discontinued";
2867
2867
  driverParam: string;
2868
2868
  notNull: true;
2869
2869
  hasDefault: true;
@@ -3200,7 +3200,7 @@ export declare const discontinueEntityRoute: {
3200
3200
  tableName: "sellable_entities";
3201
3201
  dataType: "string";
3202
3202
  columnType: "PgText";
3203
- data: "draft" | "active" | "archived" | "discontinued";
3203
+ data: "active" | "draft" | "archived" | "discontinued";
3204
3204
  driverParam: string;
3205
3205
  notNull: true;
3206
3206
  hasDefault: true;
@@ -3816,7 +3816,7 @@ export declare const createEntityRoute: {
3816
3816
  tableName: "sellable_entities";
3817
3817
  dataType: "string";
3818
3818
  columnType: "PgText";
3819
- data: "draft" | "active" | "archived" | "discontinued";
3819
+ data: "active" | "draft" | "archived" | "discontinued";
3820
3820
  driverParam: string;
3821
3821
  notNull: true;
3822
3822
  hasDefault: true;
@@ -4168,7 +4168,7 @@ export declare const updateEntityRoute: {
4168
4168
  tableName: "sellable_entities";
4169
4169
  dataType: "string";
4170
4170
  columnType: "PgText";
4171
- data: "draft" | "active" | "archived" | "discontinued";
4171
+ data: "active" | "draft" | "archived" | "discontinued";
4172
4172
  driverParam: string;
4173
4173
  notNull: true;
4174
4174
  hasDefault: true;
@@ -4645,7 +4645,7 @@ export declare const approveCustomFieldRoute: {
4645
4645
  tableName: "sellable_entities";
4646
4646
  dataType: "string";
4647
4647
  columnType: "PgText";
4648
- data: "draft" | "active" | "archived" | "discontinued";
4648
+ data: "active" | "draft" | "archived" | "discontinued";
4649
4649
  driverParam: string;
4650
4650
  notNull: true;
4651
4651
  hasDefault: true;
@@ -4986,7 +4986,7 @@ export declare const rejectCustomFieldRoute: {
4986
4986
  tableName: "sellable_entities";
4987
4987
  dataType: "string";
4988
4988
  columnType: "PgText";
4989
- data: "draft" | "active" | "archived" | "discontinued";
4989
+ data: "active" | "draft" | "archived" | "discontinued";
4990
4990
  driverParam: string;
4991
4991
  notNull: true;
4992
4992
  hasDefault: true;
@@ -5333,7 +5333,7 @@ export declare const createCategoryRoute: {
5333
5333
  tableName: "sellable_entities";
5334
5334
  dataType: "string";
5335
5335
  columnType: "PgText";
5336
- data: "draft" | "active" | "archived" | "discontinued";
5336
+ data: "active" | "draft" | "archived" | "discontinued";
5337
5337
  driverParam: string;
5338
5338
  notNull: true;
5339
5339
  hasDefault: true;
@@ -5683,7 +5683,7 @@ export declare const updateCategoryRoute: {
5683
5683
  tableName: "sellable_entities";
5684
5684
  dataType: "string";
5685
5685
  columnType: "PgText";
5686
- data: "draft" | "active" | "archived" | "discontinued";
5686
+ data: "active" | "draft" | "archived" | "discontinued";
5687
5687
  driverParam: string;
5688
5688
  notNull: true;
5689
5689
  hasDefault: true;
@@ -6020,7 +6020,7 @@ export declare const archiveCategoryRoute: {
6020
6020
  tableName: "sellable_entities";
6021
6021
  dataType: "string";
6022
6022
  columnType: "PgText";
6023
- data: "draft" | "active" | "archived" | "discontinued";
6023
+ data: "active" | "draft" | "archived" | "discontinued";
6024
6024
  driverParam: string;
6025
6025
  notNull: true;
6026
6026
  hasDefault: true;
@@ -6357,7 +6357,7 @@ export declare const restoreCategoryRoute: {
6357
6357
  tableName: "sellable_entities";
6358
6358
  dataType: "string";
6359
6359
  columnType: "PgText";
6360
- data: "draft" | "active" | "archived" | "discontinued";
6360
+ data: "active" | "draft" | "archived" | "discontinued";
6361
6361
  driverParam: string;
6362
6362
  notNull: true;
6363
6363
  hasDefault: true;
@@ -6703,7 +6703,7 @@ export declare const createBrandRoute: {
6703
6703
  tableName: "sellable_entities";
6704
6704
  dataType: "string";
6705
6705
  columnType: "PgText";
6706
- data: "draft" | "active" | "archived" | "discontinued";
6706
+ data: "active" | "draft" | "archived" | "discontinued";
6707
6707
  driverParam: string;
6708
6708
  notNull: true;
6709
6709
  hasDefault: true;
@@ -7052,7 +7052,7 @@ export declare const updateBrandRoute: {
7052
7052
  tableName: "sellable_entities";
7053
7053
  dataType: "string";
7054
7054
  columnType: "PgText";
7055
- data: "draft" | "active" | "archived" | "discontinued";
7055
+ data: "active" | "draft" | "archived" | "discontinued";
7056
7056
  driverParam: string;
7057
7057
  notNull: true;
7058
7058
  hasDefault: true;
@@ -7400,7 +7400,7 @@ export declare const createOptionTypeRoute: {
7400
7400
  tableName: "sellable_entities";
7401
7401
  dataType: "string";
7402
7402
  columnType: "PgText";
7403
- data: "draft" | "active" | "archived" | "discontinued";
7403
+ data: "active" | "draft" | "archived" | "discontinued";
7404
7404
  driverParam: string;
7405
7405
  notNull: true;
7406
7406
  hasDefault: true;
@@ -7747,7 +7747,7 @@ export declare const createOptionValueRoute: {
7747
7747
  tableName: "sellable_entities";
7748
7748
  dataType: "string";
7749
7749
  columnType: "PgText";
7750
- data: "draft" | "active" | "archived" | "discontinued";
7750
+ data: "active" | "draft" | "archived" | "discontinued";
7751
7751
  driverParam: string;
7752
7752
  notNull: true;
7753
7753
  hasDefault: true;
@@ -8098,7 +8098,7 @@ export declare const createVariantRoute: {
8098
8098
  tableName: "sellable_entities";
8099
8099
  dataType: "string";
8100
8100
  columnType: "PgText";
8101
- data: "draft" | "active" | "archived" | "discontinued";
8101
+ data: "active" | "draft" | "archived" | "discontinued";
8102
8102
  driverParam: string;
8103
8103
  notNull: true;
8104
8104
  hasDefault: true;
@@ -8454,7 +8454,7 @@ export declare const generateVariantsRoute: {
8454
8454
  tableName: "sellable_entities";
8455
8455
  dataType: "string";
8456
8456
  columnType: "PgText";
8457
- data: "draft" | "active" | "archived" | "discontinued";
8457
+ data: "active" | "draft" | "archived" | "discontinued";
8458
8458
  driverParam: string;
8459
8459
  notNull: true;
8460
8460
  hasDefault: true;
@@ -8815,7 +8815,7 @@ export declare const quickVariantRoute: {
8815
8815
  tableName: "sellable_entities";
8816
8816
  dataType: "string";
8817
8817
  columnType: "PgText";
8818
- data: "draft" | "active" | "archived" | "discontinued";
8818
+ data: "active" | "draft" | "archived" | "discontinued";
8819
8819
  driverParam: string;
8820
8820
  notNull: true;
8821
8821
  hasDefault: true;
@@ -9037,7 +9037,7 @@ export declare const quickVariantRoute: {
9037
9037
  tableName: "sellable_entities";
9038
9038
  dataType: "string";
9039
9039
  columnType: "PgText";
9040
- data: "draft" | "active" | "archived" | "discontinued";
9040
+ data: "active" | "draft" | "archived" | "discontinued";
9041
9041
  driverParam: string;
9042
9042
  notNull: true;
9043
9043
  hasDefault: true;
@@ -9388,7 +9388,7 @@ export declare const bulkVariantsRoute: {
9388
9388
  tableName: "sellable_entities";
9389
9389
  dataType: "string";
9390
9390
  columnType: "PgText";
9391
- data: "draft" | "active" | "archived" | "discontinued";
9391
+ data: "active" | "draft" | "archived" | "discontinued";
9392
9392
  driverParam: string;
9393
9393
  notNull: true;
9394
9394
  hasDefault: true;
@@ -3,11 +3,11 @@ export declare const AttachMediaBodySchema: z.ZodObject<{
3
3
  mediaAssetId: z.ZodString;
4
4
  entityId: z.ZodString;
5
5
  role: z.ZodEnum<{
6
+ document: "document";
7
+ video: "video";
6
8
  primary: "primary";
7
9
  gallery: "gallery";
8
10
  thumbnail: "thumbnail";
9
- video: "video";
10
- document: "document";
11
11
  }>;
12
12
  variantId: z.ZodOptional<z.ZodString>;
13
13
  sortOrder: z.ZodOptional<z.ZodNumber>;
@@ -274,11 +274,11 @@ export declare const attachMediaRoute: {
274
274
  mediaAssetId: z.ZodString;
275
275
  entityId: z.ZodString;
276
276
  role: z.ZodEnum<{
277
+ document: "document";
278
+ video: "video";
277
279
  primary: "primary";
278
280
  gallery: "gallery";
279
281
  thumbnail: "thumbnail";
280
- video: "video";
281
- document: "document";
282
282
  }>;
283
283
  variantId: z.ZodOptional<z.ZodString>;
284
284
  sortOrder: z.ZodOptional<z.ZodNumber>;
@@ -75,8 +75,8 @@ export declare const listPromotionsRoute: {
75
75
  request: {
76
76
  query: z.ZodObject<{
77
77
  status: z.ZodOptional<z.ZodEnum<{
78
- active: "active";
79
78
  scheduled: "scheduled";
79
+ active: "active";
80
80
  expired: "expired";
81
81
  inactive: "inactive";
82
82
  }>>;
@@ -2018,7 +2018,7 @@ export declare const CatalogEntitySchema: import("drizzle-zod").BuildSchema<"sel
2018
2018
  tableName: "sellable_entities";
2019
2019
  dataType: "string";
2020
2020
  columnType: "PgText";
2021
- data: "draft" | "active" | "archived" | "discontinued";
2021
+ data: "active" | "draft" | "archived" | "discontinued";
2022
2022
  driverParam: string;
2023
2023
  notNull: true;
2024
2024
  hasDefault: true;
@@ -2248,7 +2248,7 @@ export declare const JobSchema: import("drizzle-zod").BuildSchema<"select", {
2248
2248
  tableName: "commerce_jobs";
2249
2249
  dataType: "string";
2250
2250
  columnType: "PgText";
2251
- data: "pending" | "processing" | "succeeded" | "failed" | "cancelled";
2251
+ data: "failed" | "cancelled" | "pending" | "processing" | "succeeded";
2252
2252
  driverParam: string;
2253
2253
  notNull: true;
2254
2254
  hasDefault: true;
@@ -3843,7 +3843,7 @@ export declare const CatalogEntityResponse: z.ZodObject<{
3843
3843
  tableName: "sellable_entities";
3844
3844
  dataType: "string";
3845
3845
  columnType: "PgText";
3846
- data: "draft" | "active" | "archived" | "discontinued";
3846
+ data: "active" | "draft" | "archived" | "discontinued";
3847
3847
  driverParam: string;
3848
3848
  notNull: true;
3849
3849
  hasDefault: true;
@@ -4058,7 +4058,7 @@ export declare const CatalogEntityListResponse: z.ZodObject<{
4058
4058
  tableName: "sellable_entities";
4059
4059
  dataType: "string";
4060
4060
  columnType: "PgText";
4061
- data: "draft" | "active" | "archived" | "discontinued";
4061
+ data: "active" | "draft" | "archived" | "discontinued";
4062
4062
  driverParam: string;
4063
4063
  notNull: true;
4064
4064
  hasDefault: true;
@@ -4298,7 +4298,7 @@ export declare const JobListResponse: z.ZodObject<{
4298
4298
  tableName: "commerce_jobs";
4299
4299
  dataType: "string";
4300
4300
  columnType: "PgText";
4301
- data: "pending" | "processing" | "succeeded" | "failed" | "cancelled";
4301
+ data: "failed" | "cancelled" | "pending" | "processing" | "succeeded";
4302
4302
  driverParam: string;
4303
4303
  notNull: true;
4304
4304
  hasDefault: true;
@@ -113,7 +113,7 @@ export declare const searchRoute: {
113
113
  tableName: "sellable_entities";
114
114
  dataType: "string";
115
115
  columnType: "PgText";
116
- data: "draft" | "active" | "archived" | "discontinued";
116
+ data: "active" | "draft" | "archived" | "discontinued";
117
117
  driverParam: string;
118
118
  notNull: true;
119
119
  hasDefault: true;
@@ -109,7 +109,7 @@ export declare const commerceJobs: import("drizzle-orm/pg-core").PgTableWithColu
109
109
  tableName: "commerce_jobs";
110
110
  dataType: "string";
111
111
  columnType: "PgText";
112
- data: "pending" | "processing" | "succeeded" | "failed" | "cancelled";
112
+ data: "failed" | "cancelled" | "pending" | "processing" | "succeeded";
113
113
  driverParam: string;
114
114
  notNull: true;
115
115
  hasDefault: true;
@@ -92,7 +92,7 @@ export declare const sellableEntities: import("drizzle-orm/pg-core").PgTableWith
92
92
  tableName: "sellable_entities";
93
93
  dataType: "string";
94
94
  columnType: "PgText";
95
- data: "draft" | "active" | "archived" | "discontinued";
95
+ data: "active" | "draft" | "archived" | "discontinued";
96
96
  driverParam: string;
97
97
  notNull: true;
98
98
  hasDefault: true;
@@ -431,7 +431,7 @@ export declare const sellableCustomFields: import("drizzle-orm/pg-core").PgTable
431
431
  tableName: "sellable_custom_fields";
432
432
  dataType: "string";
433
433
  columnType: "PgText";
434
- data: "number" | "boolean" | "json" | "date" | "text" | "relation" | "select";
434
+ data: "number" | "boolean" | "text" | "json" | "date" | "relation" | "select";
435
435
  driverParam: string;
436
436
  notNull: true;
437
437
  hasDefault: false;
@@ -763,7 +763,7 @@ export declare const entityFieldDefinitions: import("drizzle-orm/pg-core").PgTab
763
763
  tableName: "entity_field_definitions";
764
764
  dataType: "string";
765
765
  columnType: "PgText";
766
- data: "number" | "boolean" | "json" | "date" | "text" | "relation" | "select";
766
+ data: "number" | "boolean" | "text" | "json" | "date" | "relation" | "select";
767
767
  driverParam: string;
768
768
  notNull: true;
769
769
  hasDefault: false;
@@ -1494,7 +1494,7 @@ export declare const sellableEntityRevisions: import("drizzle-orm/pg-core").PgTa
1494
1494
  tableName: "sellable_entity_revisions";
1495
1495
  dataType: "string";
1496
1496
  columnType: "PgEnumColumn";
1497
- data: "import" | "enrichment" | "create" | "update" | "push" | "restore";
1497
+ data: "push" | "import" | "enrichment" | "create" | "update" | "restore";
1498
1498
  driverParam: string;
1499
1499
  notNull: true;
1500
1500
  hasDefault: false;
@@ -2129,7 +2129,7 @@ export declare const catalogFieldOwnership: import("drizzle-orm/pg-core").PgTabl
2129
2129
  tableName: "catalog_field_ownership";
2130
2130
  dataType: "string";
2131
2131
  columnType: "PgEnumColumn";
2132
- data: "platform" | "store" | "shared";
2132
+ data: "store" | "platform" | "shared";
2133
2133
  driverParam: string;
2134
2134
  notNull: true;
2135
2135
  hasDefault: false;
@@ -484,7 +484,7 @@ export declare const inventoryMovements: import("drizzle-orm/pg-core").PgTableWi
484
484
  tableName: "inventory_movements";
485
485
  dataType: "string";
486
486
  columnType: "PgText";
487
- data: "receipt" | "sale" | "return" | "adjustment" | "transfer" | "reservation" | "release" | "fulfillment";
487
+ data: "return" | "receipt" | "sale" | "adjustment" | "transfer" | "reservation" | "release" | "fulfillment";
488
488
  driverParam: string;
489
489
  notNull: true;
490
490
  hasDefault: false;
@@ -307,7 +307,7 @@ export declare const mediaModule: import("../../kernel/module/define.js").AppMod
307
307
  tableName: "entity_media";
308
308
  dataType: "string";
309
309
  columnType: "PgText";
310
- data: "primary" | "gallery" | "thumbnail" | "video" | "document";
310
+ data: "document" | "video" | "primary" | "gallery" | "thumbnail";
311
311
  driverParam: string;
312
312
  notNull: true;
313
313
  hasDefault: false;
@@ -307,7 +307,7 @@ export declare const entityMedia: import("drizzle-orm/pg-core").PgTableWithColum
307
307
  tableName: "entity_media";
308
308
  dataType: "string";
309
309
  columnType: "PgText";
310
- data: "primary" | "gallery" | "thumbnail" | "video" | "document";
310
+ data: "document" | "video" | "primary" | "gallery" | "thumbnail";
311
311
  driverParam: string;
312
312
  notNull: true;
313
313
  hasDefault: false;
@@ -895,7 +895,7 @@ export declare const KERNEL_ALL_MODULES: {
895
895
  tableName: "entity_media";
896
896
  dataType: "string";
897
897
  columnType: "PgText";
898
- data: "primary" | "gallery" | "thumbnail" | "video" | "document";
898
+ data: "document" | "video" | "primary" | "gallery" | "thumbnail";
899
899
  driverParam: string;
900
900
  notNull: true;
901
901
  hasDefault: false;