@sales-planner/shared 0.9.2 → 0.10.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.
Files changed (51) hide show
  1. package/dist/dto/api-keys.js +2 -1
  2. package/dist/dto/brands.js +2 -1
  3. package/dist/dto/index.d.ts +10 -10
  4. package/dist/dto/index.d.ts.map +1 -1
  5. package/dist/dto/index.js +26 -10
  6. package/dist/dto/marketplaces.js +2 -1
  7. package/dist/dto/roles.js +2 -1
  8. package/dist/dto/sales-history.d.ts +2 -2
  9. package/dist/dto/sales-history.d.ts.map +1 -1
  10. package/dist/dto/sales-history.js +2 -1
  11. package/dist/dto/shops.js +2 -1
  12. package/dist/dto/skus.js +2 -1
  13. package/dist/dto/tenants.js +2 -1
  14. package/dist/dto/user-roles.js +2 -1
  15. package/dist/dto/users.js +2 -1
  16. package/dist/entities/api-keys.js +2 -1
  17. package/dist/entities/base.js +2 -1
  18. package/dist/entities/brands.d.ts +1 -1
  19. package/dist/entities/brands.d.ts.map +1 -1
  20. package/dist/entities/brands.js +2 -1
  21. package/dist/entities/index.d.ts +10 -10
  22. package/dist/entities/index.d.ts.map +1 -1
  23. package/dist/entities/index.js +26 -10
  24. package/dist/entities/marketplaces.js +2 -1
  25. package/dist/entities/roles.js +2 -1
  26. package/dist/entities/sales-history.js +2 -1
  27. package/dist/entities/shops.js +2 -1
  28. package/dist/entities/skus.d.ts +1 -1
  29. package/dist/entities/skus.d.ts.map +1 -1
  30. package/dist/entities/skus.js +2 -1
  31. package/dist/entities/tenants.js +2 -1
  32. package/dist/entities/users.js +2 -1
  33. package/dist/index.d.ts +5 -5
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +21 -5
  36. package/dist/metadata.js +4 -1
  37. package/dist/query.js +2 -1
  38. package/dist/responses/export.d.ts +2 -2
  39. package/dist/responses/export.d.ts.map +1 -1
  40. package/dist/responses/export.js +2 -1
  41. package/dist/responses/import.js +2 -1
  42. package/dist/responses/index.d.ts +4 -4
  43. package/dist/responses/index.d.ts.map +1 -1
  44. package/dist/responses/index.js +20 -4
  45. package/dist/responses/tenants.d.ts +1 -1
  46. package/dist/responses/tenants.d.ts.map +1 -1
  47. package/dist/responses/tenants.js +2 -1
  48. package/dist/responses/users.d.ts +1 -1
  49. package/dist/responses/users.d.ts.map +1 -1
  50. package/dist/responses/users.js +2 -1
  51. package/package.json +1 -2
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,14 +7,14 @@
7
7
  * - UpdateXDto: Update fields
8
8
  * - UpdateXRequest: HTTP update request (typically same as DTO)
9
9
  */
10
- export * from './users.js';
11
- export * from './tenants.js';
12
- export * from './shops.js';
13
- export * from './skus.js';
14
- export * from './brands.js';
15
- export * from './sales-history.js';
16
- export * from './marketplaces.js';
17
- export * from './api-keys.js';
18
- export * from './roles.js';
19
- export * from './user-roles.js';
10
+ export * from './users';
11
+ export * from './tenants';
12
+ export * from './shops';
13
+ export * from './skus';
14
+ export * from './brands';
15
+ export * from './sales-history';
16
+ export * from './marketplaces';
17
+ export * from './api-keys';
18
+ export * from './roles';
19
+ export * from './user-roles';
20
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dto/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
package/dist/dto/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /**
2
3
  * Data Transfer Objects for create/update operations
3
4
  *
@@ -7,13 +8,28 @@
7
8
  * - UpdateXDto: Update fields
8
9
  * - UpdateXRequest: HTTP update request (typically same as DTO)
9
10
  */
10
- export * from './users.js';
11
- export * from './tenants.js';
12
- export * from './shops.js';
13
- export * from './skus.js';
14
- export * from './brands.js';
15
- export * from './sales-history.js';
16
- export * from './marketplaces.js';
17
- export * from './api-keys.js';
18
- export * from './roles.js';
19
- export * from './user-roles.js';
11
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ var desc = Object.getOwnPropertyDescriptor(m, k);
14
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
15
+ desc = { enumerable: true, get: function() { return m[k]; } };
16
+ }
17
+ Object.defineProperty(o, k2, desc);
18
+ }) : (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ o[k2] = m[k];
21
+ }));
22
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
23
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ __exportStar(require("./users"), exports);
27
+ __exportStar(require("./tenants"), exports);
28
+ __exportStar(require("./shops"), exports);
29
+ __exportStar(require("./skus"), exports);
30
+ __exportStar(require("./brands"), exports);
31
+ __exportStar(require("./sales-history"), exports);
32
+ __exportStar(require("./marketplaces"), exports);
33
+ __exportStar(require("./api-keys"), exports);
34
+ __exportStar(require("./roles"), exports);
35
+ __exportStar(require("./user-roles"), exports);
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/dto/roles.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,9 +17,9 @@ export interface UpdateSalesHistoryDto {
17
17
  }
18
18
  export type UpdateSalesHistoryRequest = UpdateSalesHistoryDto;
19
19
  export interface ImportSalesHistoryItem {
20
- sku_code: string;
20
+ marketplace: string;
21
21
  period: string;
22
+ sku: string;
22
23
  quantity: number;
23
- marketplace: string;
24
24
  }
25
25
  //# sourceMappingURL=sales-history.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sales-history.d.ts","sourceRoot":"","sources":["../../src/dto/sales-history.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB;AACD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AAE9D,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"sales-history.d.ts","sourceRoot":"","sources":["../../src/dto/sales-history.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB;AACD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AAE9D,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/dto/shops.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/dto/skus.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/dto/users.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import type { ShopScopedEntity } from './base.js';
1
+ import type { ShopScopedEntity } from './base';
2
2
  export interface Brand extends ShopScopedEntity {
3
3
  }
4
4
  //# sourceMappingURL=brands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/entities/brands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAElD,MAAM,WAAW,KAAM,SAAQ,gBAAgB;CAAG"}
1
+ {"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/entities/brands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE/C,MAAM,WAAW,KAAM,SAAQ,gBAAgB;CAAG"}
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * Core database entities
3
3
  */
4
- export * from './base.js';
5
- export * from './users.js';
6
- export * from './tenants.js';
7
- export * from './shops.js';
8
- export * from './skus.js';
9
- export * from './brands.js';
10
- export * from './marketplaces.js';
11
- export * from './sales-history.js';
12
- export * from './roles.js';
13
- export * from './api-keys.js';
4
+ export * from './base';
5
+ export * from './users';
6
+ export * from './tenants';
7
+ export * from './shops';
8
+ export * from './skus';
9
+ export * from './brands';
10
+ export * from './marketplaces';
11
+ export * from './sales-history';
12
+ export * from './roles';
13
+ export * from './api-keys';
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
@@ -1,13 +1,29 @@
1
+ "use strict";
1
2
  /**
2
3
  * Core database entities
3
4
  */
4
- export * from './base.js';
5
- export * from './users.js';
6
- export * from './tenants.js';
7
- export * from './shops.js';
8
- export * from './skus.js';
9
- export * from './brands.js';
10
- export * from './marketplaces.js';
11
- export * from './sales-history.js';
12
- export * from './roles.js';
13
- export * from './api-keys.js';
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./base"), exports);
21
+ __exportStar(require("./users"), exports);
22
+ __exportStar(require("./tenants"), exports);
23
+ __exportStar(require("./shops"), exports);
24
+ __exportStar(require("./skus"), exports);
25
+ __exportStar(require("./brands"), exports);
26
+ __exportStar(require("./marketplaces"), exports);
27
+ __exportStar(require("./sales-history"), exports);
28
+ __exportStar(require("./roles"), exports);
29
+ __exportStar(require("./api-keys"), exports);
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import type { ShopScopedEntity } from './base.js';
1
+ import type { ShopScopedEntity } from './base';
2
2
  export interface Sku extends ShopScopedEntity {
3
3
  }
4
4
  //# sourceMappingURL=skus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../src/entities/skus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAElD,MAAM,WAAW,GAAI,SAAQ,gBAAgB;CAAG"}
1
+ {"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../src/entities/skus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE/C,MAAM,WAAW,GAAI,SAAQ,gBAAgB;CAAG"}
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './entities/index.js';
2
- export * from './dto/index.js';
3
- export * from './responses/index.js';
4
- export * from './query.js';
5
- export * from './metadata.js';
1
+ export * from './entities/index';
2
+ export * from './dto/index';
3
+ export * from './responses/index';
4
+ export * from './query';
5
+ export * from './metadata';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,qBAAqB,CAAC;AAGpC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,sBAAsB,CAAC;AAGrC,cAAc,YAAY,CAAC;AAG3B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AAGjC,cAAc,aAAa,CAAC;AAG5B,cAAc,mBAAmB,CAAC;AAGlC,cAAc,SAAS,CAAC;AAGxB,cAAc,YAAY,CAAC"}
package/dist/index.js CHANGED
@@ -1,10 +1,26 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
1
17
  // Entities
2
- export * from './entities/index.js';
18
+ __exportStar(require("./entities/index"), exports);
3
19
  // DTOs
4
- export * from './dto/index.js';
20
+ __exportStar(require("./dto/index"), exports);
5
21
  // Response types
6
- export * from './responses/index.js';
22
+ __exportStar(require("./responses/index"), exports);
7
23
  // Query types
8
- export * from './query.js';
24
+ __exportStar(require("./query"), exports);
9
25
  // Metadata
10
- export * from './metadata.js';
26
+ __exportStar(require("./metadata"), exports);
package/dist/metadata.js CHANGED
@@ -1,4 +1,7 @@
1
- export const ENTITIES_METADATA = {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ENTITIES_METADATA = void 0;
4
+ exports.ENTITIES_METADATA = {
2
5
  brands: {
3
6
  name: 'Brands',
4
7
  description: 'Product brands managed by your shop',
package/dist/query.js CHANGED
@@ -1,4 +1,5 @@
1
+ "use strict";
1
2
  /**
2
3
  * Query parameter types
3
4
  */
4
- export {};
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -11,9 +11,9 @@ export interface MarketplaceExportItem {
11
11
  title: string;
12
12
  }
13
13
  export interface SalesHistoryExportItem {
14
- sku_code: string;
14
+ marketplace: string;
15
15
  period: string;
16
+ sku: string;
16
17
  quantity: number;
17
- marketplace: string;
18
18
  }
19
19
  //# sourceMappingURL=export.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/responses/export.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/responses/export.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * API response types
3
3
  */
4
- export * from './users.js';
5
- export * from './tenants.js';
6
- export * from './import.js';
7
- export * from './export.js';
4
+ export * from './users';
5
+ export * from './tenants';
6
+ export * from './import';
7
+ export * from './export';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/responses/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/responses/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
@@ -1,7 +1,23 @@
1
+ "use strict";
1
2
  /**
2
3
  * API response types
3
4
  */
4
- export * from './users.js';
5
- export * from './tenants.js';
6
- export * from './import.js';
7
- export * from './export.js';
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./users"), exports);
21
+ __exportStar(require("./tenants"), exports);
22
+ __exportStar(require("./import"), exports);
23
+ __exportStar(require("./export"), exports);
@@ -1,4 +1,4 @@
1
- import type { Tenant } from '../entities/tenants.js';
1
+ import type { Tenant } from '../entities/tenants';
2
2
  export interface TenantWithShopAndApiKey {
3
3
  tenant: Tenant;
4
4
  shop: {
@@ -1 +1 @@
1
- {"version":3,"file":"tenants.d.ts","sourceRoot":"","sources":["../../src/responses/tenants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"tenants.d.ts","sourceRoot":"","sources":["../../src/responses/tenants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import type { User } from '../entities/users.js';
1
+ import type { User } from '../entities/users';
2
2
  export interface UserRole {
3
3
  id: number;
4
4
  role_name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/responses/users.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAEjD,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI;IACnD,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,OAAO,EAAE,UAAU,EAAE,CAAC;CACvB"}
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/responses/users.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI;IACnD,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,OAAO,EAAE,UAAU,EAAE,CAAC;CACvB"}
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sales-planner/shared",
3
- "version": "0.9.2",
3
+ "version": "0.10.0",
4
4
  "description": "Shared types and DTOs for Sales Planner API",
5
5
  "author": "Damir Manapov",
6
6
  "license": "MIT",
@@ -9,7 +9,6 @@
9
9
  "api-client",
10
10
  "typescript"
11
11
  ],
12
- "type": "module",
13
12
  "main": "./dist/index.js",
14
13
  "types": "./dist/index.d.ts",
15
14
  "exports": {