@purpleschool/multisite 0.0.21 → 0.0.23

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 (133) hide show
  1. package/api/controller/http/index.ts +3 -0
  2. package/api/controller/http/sitemap.ts +5 -0
  3. package/api/controller/http/user-to-product.ts +7 -0
  4. package/api/controller/http/user-to-subscription.ts +8 -0
  5. package/api/routes.ts +21 -0
  6. package/build/api/controller/http/index.d.ts +3 -0
  7. package/build/api/controller/http/index.d.ts.map +1 -1
  8. package/build/api/controller/http/index.js +3 -0
  9. package/build/api/controller/http/sitemap.d.ts +5 -0
  10. package/build/api/controller/http/sitemap.d.ts.map +1 -0
  11. package/build/api/controller/http/sitemap.js +7 -0
  12. package/build/api/controller/http/user-to-product.d.ts +7 -0
  13. package/build/api/controller/http/user-to-product.d.ts.map +1 -0
  14. package/build/api/controller/http/user-to-product.js +9 -0
  15. package/build/api/controller/http/user-to-subscription.d.ts +8 -0
  16. package/build/api/controller/http/user-to-subscription.d.ts.map +1 -0
  17. package/build/api/controller/http/user-to-subscription.js +10 -0
  18. package/build/api/routes.d.ts +14 -0
  19. package/build/api/routes.d.ts.map +1 -1
  20. package/build/api/routes.js +14 -0
  21. package/build/commands/image-editor/execute-image-editor.command.d.ts +4 -4
  22. package/build/commands/image-editor/retry-image-editor-job.command.d.ts +4 -4
  23. package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +4 -4
  24. package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +4 -4
  25. package/build/commands/image-generation/execute-image-generation.command.d.ts +4 -4
  26. package/build/commands/image-generation/retry-image-generation-job.command.d.ts +4 -4
  27. package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +4 -4
  28. package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +4 -4
  29. package/build/commands/index.d.ts +2 -0
  30. package/build/commands/index.d.ts.map +1 -1
  31. package/build/commands/index.js +2 -0
  32. package/build/commands/page/create-page.command.d.ts +4 -4
  33. package/build/commands/page/find-page-by-alias.command.d.ts +12 -12
  34. package/build/commands/page/find-page-by-criteria.command.d.ts +4 -4
  35. package/build/commands/page/find-page.command.d.ts +8 -8
  36. package/build/commands/page/update-page.command.d.ts +4 -4
  37. package/build/commands/payment/cloud-payments.command.d.ts +2 -2
  38. package/build/commands/stt/execute-stt.command.d.ts +12 -12
  39. package/build/commands/stt/retry-stt-job.command.d.ts +12 -12
  40. package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +12 -12
  41. package/build/commands/stt/update-stt-job-title.command.d.ts +12 -12
  42. package/build/commands/tts/execute-tts.command.d.ts +12 -12
  43. package/build/commands/tts/retry-tts-job.command.d.ts +12 -12
  44. package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +12 -12
  45. package/build/commands/tts/update-tts-job-title.command.d.ts +12 -12
  46. package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
  47. package/build/commands/user-to-product/delete-user-to-product.command.d.ts +20 -0
  48. package/build/commands/user-to-product/delete-user-to-product.command.d.ts.map +1 -0
  49. package/build/commands/user-to-product/delete-user-to-product.command.js +13 -0
  50. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +75 -0
  51. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts.map +1 -0
  52. package/build/commands/user-to-product/get-user-to-product-by-uuid.command.js +14 -0
  53. package/build/commands/user-to-product/index.d.ts +4 -0
  54. package/build/commands/user-to-product/index.d.ts.map +1 -0
  55. package/build/commands/user-to-product/index.js +19 -0
  56. package/build/commands/user-to-product/update-user-to-product.command.d.ts +93 -0
  57. package/build/commands/user-to-product/update-user-to-product.command.d.ts.map +1 -0
  58. package/build/commands/user-to-product/update-user-to-product.command.js +21 -0
  59. package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts +14 -0
  60. package/build/commands/user-to-subscription/admin-cancel-subscription.command.d.ts.map +1 -0
  61. package/build/commands/user-to-subscription/admin-cancel-subscription.command.js +11 -0
  62. package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts +20 -0
  63. package/build/commands/user-to-subscription/delete-user-to-subscription.command.d.ts.map +1 -0
  64. package/build/commands/user-to-subscription/delete-user-to-subscription.command.js +13 -0
  65. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +115 -0
  66. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts.map +1 -0
  67. package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.js +14 -0
  68. package/build/commands/user-to-subscription/index.d.ts +5 -0
  69. package/build/commands/user-to-subscription/index.d.ts.map +1 -0
  70. package/build/commands/user-to-subscription/index.js +20 -0
  71. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +157 -0
  72. package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts.map +1 -0
  73. package/build/commands/user-to-subscription/update-user-to-subscription.command.js +29 -0
  74. package/build/constants/errors/errors.d.ts +60 -0
  75. package/build/constants/errors/errors.d.ts.map +1 -1
  76. package/build/constants/errors/errors.js +62 -0
  77. package/build/models/image-editor/image-editor-config.schema.d.ts +10 -10
  78. package/build/models/image-editor/image-editor-job.schema.d.ts +2 -2
  79. package/build/models/image-editor/image-editor-model.schema.d.ts +2 -2
  80. package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +4 -4
  81. package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +2 -2
  82. package/build/models/image-generation/image-generation-config.schema.d.ts +6 -6
  83. package/build/models/image-generation/image-generation-job.schema.d.ts +2 -2
  84. package/build/models/image-generation/image-generation-model.schema.d.ts +2 -2
  85. package/build/models/image-generation/image-generation-vendor.schema.d.ts +4 -4
  86. package/build/models/index.d.ts +2 -0
  87. package/build/models/index.d.ts.map +1 -1
  88. package/build/models/index.js +2 -0
  89. package/build/models/page.schema.d.ts +4 -4
  90. package/build/models/stt/stt-config.schema.d.ts +8 -8
  91. package/build/models/stt/stt-job.schema.d.ts +6 -6
  92. package/build/models/stt/stt-model.schema.d.ts +4 -4
  93. package/build/models/tts/tts-config.schema.d.ts +8 -8
  94. package/build/models/tts/tts-job.schema.d.ts +6 -6
  95. package/build/models/tts/tts-model.schema.d.ts +4 -4
  96. package/build/models/user-to-product.schema.d.ts +37 -0
  97. package/build/models/user-to-product.schema.d.ts.map +1 -0
  98. package/build/models/user-to-product.schema.js +17 -0
  99. package/build/models/user-to-subscription.schema.d.ts +61 -0
  100. package/build/models/user-to-subscription.schema.d.ts.map +1 -0
  101. package/build/models/user-to-subscription.schema.js +25 -0
  102. package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +4 -4
  103. package/build/queries/image-editor/get-image-editor-config.command.d.ts +14 -14
  104. package/build/queries/image-editor/get-image-editor-job.command.d.ts +4 -4
  105. package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +4 -4
  106. package/build/queries/image-generation/get-image-generation-config.command.d.ts +8 -8
  107. package/build/queries/image-generation/get-image-generation-job.command.d.ts +4 -4
  108. package/build/queries/payment/get-payment-history.command.d.ts +6 -6
  109. package/build/queries/stt/find-stt-jobs.command.d.ts +12 -12
  110. package/build/queries/stt/get-stt-config.command.d.ts +12 -12
  111. package/build/queries/stt/get-stt-job.command.d.ts +12 -12
  112. package/build/queries/subscription/get-subscriptions-summary.command.d.ts +16 -16
  113. package/build/queries/tts/find-tts-jobs.command.d.ts +12 -12
  114. package/build/queries/tts/get-tts-config.command.d.ts +12 -12
  115. package/build/queries/tts/get-tts-job.command.d.ts +12 -12
  116. package/build/queries/user/get-my-products.command.d.ts +8 -8
  117. package/build/queries/user/get-my-subscriptions.command.d.ts +12 -12
  118. package/build/queries/user/get-user-payments.command.d.ts +18 -18
  119. package/commands/index.ts +2 -0
  120. package/commands/user-to-product/delete-user-to-product.command.ts +13 -0
  121. package/commands/user-to-product/get-user-to-product-by-uuid.command.ts +14 -0
  122. package/commands/user-to-product/index.ts +3 -0
  123. package/commands/user-to-product/update-user-to-product.command.ts +23 -0
  124. package/commands/user-to-subscription/admin-cancel-subscription.command.ts +11 -0
  125. package/commands/user-to-subscription/delete-user-to-subscription.command.ts +13 -0
  126. package/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.ts +14 -0
  127. package/commands/user-to-subscription/index.ts +4 -0
  128. package/commands/user-to-subscription/update-user-to-subscription.command.ts +31 -0
  129. package/constants/errors/errors.ts +64 -0
  130. package/models/index.ts +2 -0
  131. package/models/user-to-product.schema.ts +15 -0
  132. package/models/user-to-subscription.schema.ts +23 -0
  133. package/package.json +1 -1
@@ -2,6 +2,8 @@ export * from './auth';
2
2
  export * from './user';
3
3
  export * from './product';
4
4
  export * from './subscription';
5
+ export * from './user-to-product';
6
+ export * from './user-to-subscription';
5
7
  export * from './payment';
6
8
  export * from './cloud-payments';
7
9
  export * from './transaction';
@@ -16,3 +18,4 @@ export * from './page';
16
18
  export * from './page-question';
17
19
  export * from './stt';
18
20
  export * from './tts';
21
+ export * from './sitemap';
@@ -0,0 +1,5 @@
1
+ export const SITEMAP_CONTROLLER = 'sitemap' as const;
2
+
3
+ export const SITEMAP_ROUTES = {
4
+ XML: 'xml',
5
+ } as const;
@@ -0,0 +1,7 @@
1
+ export const USER_TO_PRODUCT_CONTROLLER = 'user-to-product' as const;
2
+
3
+ export const USER_TO_PRODUCT_ROUTES = {
4
+ FIND_BY_UUID: (uuid: string) => `${uuid}`,
5
+ UPDATE: (uuid: string) => `${uuid}`,
6
+ DELETE: (uuid: string) => `${uuid}`,
7
+ } as const;
@@ -0,0 +1,8 @@
1
+ export const USER_TO_SUBSCRIPTION_CONTROLLER = 'user-to-subscription' as const;
2
+
3
+ export const USER_TO_SUBSCRIPTION_ROUTES = {
4
+ FIND_BY_UUID: (uuid: string) => `${uuid}`,
5
+ UPDATE: (uuid: string) => `${uuid}`,
6
+ DELETE: (uuid: string) => `${uuid}`,
7
+ CANCEL: (uuid: string) => `${uuid}/cancel`,
8
+ } as const;
package/api/routes.ts CHANGED
@@ -6,6 +6,9 @@ export const REST_API = {
6
6
  HEALTH: {
7
7
  PING: `${ROOT}/${CONTROLLERS.HEALTH_ROUTES.PING}`,
8
8
  },
9
+ SITEMAP: {
10
+ XML: `${ROOT}/${CONTROLLERS.SITEMAP_CONTROLLER}/${CONTROLLERS.SITEMAP_ROUTES.XML}`,
11
+ },
9
12
  AUTH: {
10
13
  REGISTER: `${ROOT}/${CONTROLLERS.AUTH_CONTROLLER}/${CONTROLLERS.AUTH_ROUTES.REGISTER}`,
11
14
  LOGIN: `${ROOT}/${CONTROLLERS.AUTH_CONTROLLER}/${CONTROLLERS.AUTH_ROUTES.LOGIN}`,
@@ -78,6 +81,24 @@ export const REST_API = {
78
81
  HISTORY: `${ROOT}/${CONTROLLERS.PAYMENT_CONTROLLER}/${CONTROLLERS.PAYMENT_ROUTES.HISTORY}`,
79
82
  REFUND: `${ROOT}/${CONTROLLERS.PAYMENT_CONTROLLER}/${CONTROLLERS.PAYMENT_ROUTES.REFUND}`,
80
83
  },
84
+ USER_TO_PRODUCT: {
85
+ FIND_BY_UUID: (uuid: string) =>
86
+ `${ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.FIND_BY_UUID(uuid)}`,
87
+ UPDATE: (uuid: string) =>
88
+ `${ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.UPDATE(uuid)}`,
89
+ DELETE: (uuid: string) =>
90
+ `${ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.DELETE(uuid)}`,
91
+ },
92
+ USER_TO_SUBSCRIPTION: {
93
+ FIND_BY_UUID: (uuid: string) =>
94
+ `${ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.FIND_BY_UUID(uuid)}`,
95
+ UPDATE: (uuid: string) =>
96
+ `${ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.UPDATE(uuid)}`,
97
+ DELETE: (uuid: string) =>
98
+ `${ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.DELETE(uuid)}`,
99
+ CANCEL: (uuid: string) =>
100
+ `${ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.CANCEL(uuid)}`,
101
+ },
81
102
  CLOUD_PAYMENTS: {
82
103
  CALLBACK: (type: string) =>
83
104
  `${ROOT}/${CONTROLLERS.CLOUD_PAYMENTS_CONTROLLER}/${CONTROLLERS.CLOUD_PAYMENTS_ROUTES.CALLBACK}/${type}`,
@@ -2,6 +2,8 @@ export * from './auth';
2
2
  export * from './user';
3
3
  export * from './product';
4
4
  export * from './subscription';
5
+ export * from './user-to-product';
6
+ export * from './user-to-subscription';
5
7
  export * from './payment';
6
8
  export * from './cloud-payments';
7
9
  export * from './transaction';
@@ -16,4 +18,5 @@ export * from './page';
16
18
  export * from './page-question';
17
19
  export * from './stt';
18
20
  export * from './tts';
21
+ export * from './sitemap';
19
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC"}
@@ -18,6 +18,8 @@ __exportStar(require("./auth"), exports);
18
18
  __exportStar(require("./user"), exports);
19
19
  __exportStar(require("./product"), exports);
20
20
  __exportStar(require("./subscription"), exports);
21
+ __exportStar(require("./user-to-product"), exports);
22
+ __exportStar(require("./user-to-subscription"), exports);
21
23
  __exportStar(require("./payment"), exports);
22
24
  __exportStar(require("./cloud-payments"), exports);
23
25
  __exportStar(require("./transaction"), exports);
@@ -32,3 +34,4 @@ __exportStar(require("./page"), exports);
32
34
  __exportStar(require("./page-question"), exports);
33
35
  __exportStar(require("./stt"), exports);
34
36
  __exportStar(require("./tts"), exports);
37
+ __exportStar(require("./sitemap"), exports);
@@ -0,0 +1,5 @@
1
+ export declare const SITEMAP_CONTROLLER: "sitemap";
2
+ export declare const SITEMAP_ROUTES: {
3
+ readonly XML: "xml";
4
+ };
5
+ //# sourceMappingURL=sitemap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sitemap.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/sitemap.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAC;AAErD,eAAO,MAAM,cAAc;;CAEjB,CAAC"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SITEMAP_ROUTES = exports.SITEMAP_CONTROLLER = void 0;
4
+ exports.SITEMAP_CONTROLLER = 'sitemap';
5
+ exports.SITEMAP_ROUTES = {
6
+ XML: 'xml',
7
+ };
@@ -0,0 +1,7 @@
1
+ export declare const USER_TO_PRODUCT_CONTROLLER: "user-to-product";
2
+ export declare const USER_TO_PRODUCT_ROUTES: {
3
+ readonly FIND_BY_UUID: (uuid: string) => string;
4
+ readonly UPDATE: (uuid: string) => string;
5
+ readonly DELETE: (uuid: string) => string;
6
+ };
7
+ //# sourceMappingURL=user-to-product.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-to-product.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/user-to-product.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AAErE,eAAO,MAAM,sBAAsB;kCACV,MAAM;4BACZ,MAAM;4BACN,MAAM;CACf,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.USER_TO_PRODUCT_ROUTES = exports.USER_TO_PRODUCT_CONTROLLER = void 0;
4
+ exports.USER_TO_PRODUCT_CONTROLLER = 'user-to-product';
5
+ exports.USER_TO_PRODUCT_ROUTES = {
6
+ FIND_BY_UUID: (uuid) => `${uuid}`,
7
+ UPDATE: (uuid) => `${uuid}`,
8
+ DELETE: (uuid) => `${uuid}`,
9
+ };
@@ -0,0 +1,8 @@
1
+ export declare const USER_TO_SUBSCRIPTION_CONTROLLER: "user-to-subscription";
2
+ export declare const USER_TO_SUBSCRIPTION_ROUTES: {
3
+ readonly FIND_BY_UUID: (uuid: string) => string;
4
+ readonly UPDATE: (uuid: string) => string;
5
+ readonly DELETE: (uuid: string) => string;
6
+ readonly CANCEL: (uuid: string) => string;
7
+ };
8
+ //# sourceMappingURL=user-to-subscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-to-subscription.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/user-to-subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,EAAG,sBAA+B,CAAC;AAE/E,eAAO,MAAM,2BAA2B;kCACf,MAAM;4BACZ,MAAM;4BACN,MAAM;4BACN,MAAM;CACf,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.USER_TO_SUBSCRIPTION_ROUTES = exports.USER_TO_SUBSCRIPTION_CONTROLLER = void 0;
4
+ exports.USER_TO_SUBSCRIPTION_CONTROLLER = 'user-to-subscription';
5
+ exports.USER_TO_SUBSCRIPTION_ROUTES = {
6
+ FIND_BY_UUID: (uuid) => `${uuid}`,
7
+ UPDATE: (uuid) => `${uuid}`,
8
+ DELETE: (uuid) => `${uuid}`,
9
+ CANCEL: (uuid) => `${uuid}/cancel`,
10
+ };
@@ -3,6 +3,9 @@ export declare const REST_API: {
3
3
  readonly HEALTH: {
4
4
  readonly PING: "/api/ping";
5
5
  };
6
+ readonly SITEMAP: {
7
+ readonly XML: "/api/sitemap/xml";
8
+ };
6
9
  readonly AUTH: {
7
10
  readonly REGISTER: "/api/auth/register";
8
11
  readonly LOGIN: "/api/auth/login";
@@ -60,6 +63,17 @@ export declare const REST_API: {
60
63
  readonly HISTORY: "/api/payments/history";
61
64
  readonly REFUND: "/api/payments/refund";
62
65
  };
66
+ readonly USER_TO_PRODUCT: {
67
+ readonly FIND_BY_UUID: (uuid: string) => string;
68
+ readonly UPDATE: (uuid: string) => string;
69
+ readonly DELETE: (uuid: string) => string;
70
+ };
71
+ readonly USER_TO_SUBSCRIPTION: {
72
+ readonly FIND_BY_UUID: (uuid: string) => string;
73
+ readonly UPDATE: (uuid: string) => string;
74
+ readonly DELETE: (uuid: string) => string;
75
+ readonly CANCEL: (uuid: string) => string;
76
+ };
63
77
  readonly CLOUD_PAYMENTS: {
64
78
  readonly CALLBACK: (type: string) => string;
65
79
  };
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;sCA0BQ,MAAM;qCAEP,MAAM;2CAEA,MAAM;sCAEX,MAAM;sCAEN,MAAM;;;;kCAKV,MAAM;;;;6BAKX,MAAM;;gCAGH,MAAM;gCAEN,MAAM;;;;kCAKJ,MAAM;;;;6BAKX,MAAM;;;gCAIH,MAAM;iCAEL,MAAM;gCAEP,MAAM;gCAEN,MAAM;;;;;;;kCAQJ,MAAM;;;;;;iCAOP,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;;iCAQJ,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;iCASL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;;;;iCAYL,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;;6BAQR,MAAM;;;;;6BAKN,MAAM;;;;;;;;sCAQG,MAAM;wCAEJ,MAAM;;gCAGd,MAAM;gCAEN,MAAM;iDAEW,MAAM;;;;sCAKjB,MAAM;;gCAGZ,MAAM;gCAEN,MAAM;;CAGnB,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCA6BQ,MAAM;qCAEP,MAAM;2CAEA,MAAM;sCAEX,MAAM;sCAEN,MAAM;;;;kCAKV,MAAM;;;;6BAKX,MAAM;;gCAGH,MAAM;gCAEN,MAAM;;;;kCAKJ,MAAM;;;;6BAKX,MAAM;;;gCAIH,MAAM;iCAEL,MAAM;gCAEP,MAAM;gCAEN,MAAM;;;;;;;sCAQA,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;sCAIA,MAAM;gCAEZ,MAAM;gCAEN,MAAM;gCAEN,MAAM;;;kCAIJ,MAAM;;;;;;iCAOP,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;;iCAQJ,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;iCASL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;;;;iCAYL,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;iCAOJ,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;+BAGP,MAAM;;;;;;;6BAQR,MAAM;;;;;6BAKN,MAAM;;;;;;;;sCAQG,MAAM;wCAEJ,MAAM;;gCAGd,MAAM;gCAEN,MAAM;iDAEW,MAAM;;;;sCAKjB,MAAM;;gCAGZ,MAAM;gCAEN,MAAM;;CAGnB,CAAC"}
@@ -40,6 +40,9 @@ exports.REST_API = {
40
40
  HEALTH: {
41
41
  PING: `${exports.ROOT}/${CONTROLLERS.HEALTH_ROUTES.PING}`,
42
42
  },
43
+ SITEMAP: {
44
+ XML: `${exports.ROOT}/${CONTROLLERS.SITEMAP_CONTROLLER}/${CONTROLLERS.SITEMAP_ROUTES.XML}`,
45
+ },
43
46
  AUTH: {
44
47
  REGISTER: `${exports.ROOT}/${CONTROLLERS.AUTH_CONTROLLER}/${CONTROLLERS.AUTH_ROUTES.REGISTER}`,
45
48
  LOGIN: `${exports.ROOT}/${CONTROLLERS.AUTH_CONTROLLER}/${CONTROLLERS.AUTH_ROUTES.LOGIN}`,
@@ -97,6 +100,17 @@ exports.REST_API = {
97
100
  HISTORY: `${exports.ROOT}/${CONTROLLERS.PAYMENT_CONTROLLER}/${CONTROLLERS.PAYMENT_ROUTES.HISTORY}`,
98
101
  REFUND: `${exports.ROOT}/${CONTROLLERS.PAYMENT_CONTROLLER}/${CONTROLLERS.PAYMENT_ROUTES.REFUND}`,
99
102
  },
103
+ USER_TO_PRODUCT: {
104
+ FIND_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.FIND_BY_UUID(uuid)}`,
105
+ UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.UPDATE(uuid)}`,
106
+ DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_PRODUCT_CONTROLLER}/${CONTROLLERS.USER_TO_PRODUCT_ROUTES.DELETE(uuid)}`,
107
+ },
108
+ USER_TO_SUBSCRIPTION: {
109
+ FIND_BY_UUID: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.FIND_BY_UUID(uuid)}`,
110
+ UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.UPDATE(uuid)}`,
111
+ DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.DELETE(uuid)}`,
112
+ CANCEL: (uuid) => `${exports.ROOT}/${CONTROLLERS.USER_TO_SUBSCRIPTION_CONTROLLER}/${CONTROLLERS.USER_TO_SUBSCRIPTION_ROUTES.CANCEL(uuid)}`,
113
+ },
100
114
  CLOUD_PAYMENTS: {
101
115
  CALLBACK: (type) => `${exports.ROOT}/${CONTROLLERS.CLOUD_PAYMENTS_CONTROLLER}/${CONTROLLERS.CLOUD_PAYMENTS_ROUTES.CALLBACK}/${type}`,
102
116
  },
@@ -135,9 +135,9 @@ export declare namespace ExecuteImageEditorCommand {
135
135
  systemPromptId?: string | undefined;
136
136
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
137
137
  };
138
- title: string;
139
138
  createdAt: string | Date;
140
139
  updatedAt: string | Date;
140
+ title: string;
141
141
  error: string | null;
142
142
  modelId: string;
143
143
  prompt: string;
@@ -172,9 +172,9 @@ export declare namespace ExecuteImageEditorCommand {
172
172
  systemPromptId?: string | undefined;
173
173
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
174
174
  };
175
- title: string;
176
175
  createdAt: string | Date;
177
176
  updatedAt: string | Date;
177
+ title: string;
178
178
  error: string | null;
179
179
  modelId: string;
180
180
  prompt: string;
@@ -211,9 +211,9 @@ export declare namespace ExecuteImageEditorCommand {
211
211
  systemPromptId?: string | undefined;
212
212
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
213
213
  };
214
- title: string;
215
214
  createdAt: string | Date;
216
215
  updatedAt: string | Date;
216
+ title: string;
217
217
  error: string | null;
218
218
  modelId: string;
219
219
  prompt: string;
@@ -250,9 +250,9 @@ export declare namespace ExecuteImageEditorCommand {
250
250
  systemPromptId?: string | undefined;
251
251
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
252
252
  };
253
- title: string;
254
253
  createdAt: string | Date;
255
254
  updatedAt: string | Date;
255
+ title: string;
256
256
  error: string | null;
257
257
  modelId: string;
258
258
  prompt: string;
@@ -135,9 +135,9 @@ export declare namespace RetryImageEditorJobCommand {
135
135
  systemPromptId?: string | undefined;
136
136
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
137
137
  };
138
- title: string;
139
138
  createdAt: string | Date;
140
139
  updatedAt: string | Date;
140
+ title: string;
141
141
  error: string | null;
142
142
  modelId: string;
143
143
  prompt: string;
@@ -172,9 +172,9 @@ export declare namespace RetryImageEditorJobCommand {
172
172
  systemPromptId?: string | undefined;
173
173
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
174
174
  };
175
- title: string;
176
175
  createdAt: string | Date;
177
176
  updatedAt: string | Date;
177
+ title: string;
178
178
  error: string | null;
179
179
  modelId: string;
180
180
  prompt: string;
@@ -211,9 +211,9 @@ export declare namespace RetryImageEditorJobCommand {
211
211
  systemPromptId?: string | undefined;
212
212
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
213
213
  };
214
- title: string;
215
214
  createdAt: string | Date;
216
215
  updatedAt: string | Date;
216
+ title: string;
217
217
  error: string | null;
218
218
  modelId: string;
219
219
  prompt: string;
@@ -250,9 +250,9 @@ export declare namespace RetryImageEditorJobCommand {
250
250
  systemPromptId?: string | undefined;
251
251
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
252
252
  };
253
- title: string;
254
253
  createdAt: string | Date;
255
254
  updatedAt: string | Date;
255
+ title: string;
256
256
  error: string | null;
257
257
  modelId: string;
258
258
  prompt: string;
@@ -113,9 +113,9 @@ export declare namespace SetReactionToImageEditorJobCommand {
113
113
  systemPromptId?: string | undefined;
114
114
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
115
115
  };
116
- title: string;
117
116
  createdAt: string | Date;
118
117
  updatedAt: string | Date;
118
+ title: string;
119
119
  error: string | null;
120
120
  modelId: string;
121
121
  prompt: string;
@@ -150,9 +150,9 @@ export declare namespace SetReactionToImageEditorJobCommand {
150
150
  systemPromptId?: string | undefined;
151
151
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
152
152
  };
153
- title: string;
154
153
  createdAt: string | Date;
155
154
  updatedAt: string | Date;
155
+ title: string;
156
156
  error: string | null;
157
157
  modelId: string;
158
158
  prompt: string;
@@ -189,9 +189,9 @@ export declare namespace SetReactionToImageEditorJobCommand {
189
189
  systemPromptId?: string | undefined;
190
190
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
191
191
  };
192
- title: string;
193
192
  createdAt: string | Date;
194
193
  updatedAt: string | Date;
194
+ title: string;
195
195
  error: string | null;
196
196
  modelId: string;
197
197
  prompt: string;
@@ -228,9 +228,9 @@ export declare namespace SetReactionToImageEditorJobCommand {
228
228
  systemPromptId?: string | undefined;
229
229
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
230
230
  };
231
- title: string;
232
231
  createdAt: string | Date;
233
232
  updatedAt: string | Date;
233
+ title: string;
234
234
  error: string | null;
235
235
  modelId: string;
236
236
  prompt: string;
@@ -109,9 +109,9 @@ export declare namespace UpdateImageEditorJobTitleCommand {
109
109
  systemPromptId?: string | undefined;
110
110
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
111
111
  };
112
- title: string;
113
112
  createdAt: string | Date;
114
113
  updatedAt: string | Date;
114
+ title: string;
115
115
  error: string | null;
116
116
  modelId: string;
117
117
  prompt: string;
@@ -146,9 +146,9 @@ export declare namespace UpdateImageEditorJobTitleCommand {
146
146
  systemPromptId?: string | undefined;
147
147
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
148
148
  };
149
- title: string;
150
149
  createdAt: string | Date;
151
150
  updatedAt: string | Date;
151
+ title: string;
152
152
  error: string | null;
153
153
  modelId: string;
154
154
  prompt: string;
@@ -185,9 +185,9 @@ export declare namespace UpdateImageEditorJobTitleCommand {
185
185
  systemPromptId?: string | undefined;
186
186
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
187
187
  };
188
- title: string;
189
188
  createdAt: string | Date;
190
189
  updatedAt: string | Date;
190
+ title: string;
191
191
  error: string | null;
192
192
  modelId: string;
193
193
  prompt: string;
@@ -224,9 +224,9 @@ export declare namespace UpdateImageEditorJobTitleCommand {
224
224
  systemPromptId?: string | undefined;
225
225
  userHasActiveSubscriptionOrProduct?: boolean | undefined;
226
226
  };
227
- title: string;
228
227
  createdAt: string | Date;
229
228
  updatedAt: string | Date;
229
+ title: string;
230
230
  error: string | null;
231
231
  modelId: string;
232
232
  prompt: string;
@@ -171,11 +171,11 @@ export declare namespace ExecuteImageGenerationCommand {
171
171
  origin: import("../..").JOB_REQUEST_ORIGIN;
172
172
  isDeleted: boolean;
173
173
  internalError: string | null;
174
+ userId?: string | null | undefined;
174
175
  createdAt?: string | Date | undefined;
175
176
  updatedAt?: string | Date | undefined;
176
177
  error?: string | null | undefined;
177
178
  presetId?: string | null | undefined;
178
- userId?: string | null | undefined;
179
179
  unregisteredUserId?: string | null | undefined;
180
180
  tokenReservationId?: string | null | undefined;
181
181
  completedAt?: string | Date | null | undefined;
@@ -213,11 +213,11 @@ export declare namespace ExecuteImageGenerationCommand {
213
213
  origin: import("../..").JOB_REQUEST_ORIGIN;
214
214
  isDeleted: boolean;
215
215
  internalError: string | null;
216
+ userId?: string | null | undefined;
216
217
  createdAt?: string | Date | undefined;
217
218
  updatedAt?: string | Date | undefined;
218
219
  error?: string | null | undefined;
219
220
  presetId?: string | null | undefined;
220
- userId?: string | null | undefined;
221
221
  unregisteredUserId?: string | null | undefined;
222
222
  tokenReservationId?: string | null | undefined;
223
223
  completedAt?: string | Date | null | undefined;
@@ -257,11 +257,11 @@ export declare namespace ExecuteImageGenerationCommand {
257
257
  origin: import("../..").JOB_REQUEST_ORIGIN;
258
258
  isDeleted: boolean;
259
259
  internalError: string | null;
260
+ userId?: string | null | undefined;
260
261
  createdAt?: string | Date | undefined;
261
262
  updatedAt?: string | Date | undefined;
262
263
  error?: string | null | undefined;
263
264
  presetId?: string | null | undefined;
264
- userId?: string | null | undefined;
265
265
  unregisteredUserId?: string | null | undefined;
266
266
  tokenReservationId?: string | null | undefined;
267
267
  completedAt?: string | Date | null | undefined;
@@ -301,11 +301,11 @@ export declare namespace ExecuteImageGenerationCommand {
301
301
  origin: import("../..").JOB_REQUEST_ORIGIN;
302
302
  isDeleted: boolean;
303
303
  internalError: string | null;
304
+ userId?: string | null | undefined;
304
305
  createdAt?: string | Date | undefined;
305
306
  updatedAt?: string | Date | undefined;
306
307
  error?: string | null | undefined;
307
308
  presetId?: string | null | undefined;
308
- userId?: string | null | undefined;
309
309
  unregisteredUserId?: string | null | undefined;
310
310
  tokenReservationId?: string | null | undefined;
311
311
  completedAt?: string | Date | null | undefined;
@@ -171,11 +171,11 @@ export declare namespace RetryImageGenerationJobCommand {
171
171
  origin: import("../..").JOB_REQUEST_ORIGIN;
172
172
  isDeleted: boolean;
173
173
  internalError: string | null;
174
+ userId?: string | null | undefined;
174
175
  createdAt?: string | Date | undefined;
175
176
  updatedAt?: string | Date | undefined;
176
177
  error?: string | null | undefined;
177
178
  presetId?: string | null | undefined;
178
- userId?: string | null | undefined;
179
179
  unregisteredUserId?: string | null | undefined;
180
180
  tokenReservationId?: string | null | undefined;
181
181
  completedAt?: string | Date | null | undefined;
@@ -213,11 +213,11 @@ export declare namespace RetryImageGenerationJobCommand {
213
213
  origin: import("../..").JOB_REQUEST_ORIGIN;
214
214
  isDeleted: boolean;
215
215
  internalError: string | null;
216
+ userId?: string | null | undefined;
216
217
  createdAt?: string | Date | undefined;
217
218
  updatedAt?: string | Date | undefined;
218
219
  error?: string | null | undefined;
219
220
  presetId?: string | null | undefined;
220
- userId?: string | null | undefined;
221
221
  unregisteredUserId?: string | null | undefined;
222
222
  tokenReservationId?: string | null | undefined;
223
223
  completedAt?: string | Date | null | undefined;
@@ -257,11 +257,11 @@ export declare namespace RetryImageGenerationJobCommand {
257
257
  origin: import("../..").JOB_REQUEST_ORIGIN;
258
258
  isDeleted: boolean;
259
259
  internalError: string | null;
260
+ userId?: string | null | undefined;
260
261
  createdAt?: string | Date | undefined;
261
262
  updatedAt?: string | Date | undefined;
262
263
  error?: string | null | undefined;
263
264
  presetId?: string | null | undefined;
264
- userId?: string | null | undefined;
265
265
  unregisteredUserId?: string | null | undefined;
266
266
  tokenReservationId?: string | null | undefined;
267
267
  completedAt?: string | Date | null | undefined;
@@ -301,11 +301,11 @@ export declare namespace RetryImageGenerationJobCommand {
301
301
  origin: import("../..").JOB_REQUEST_ORIGIN;
302
302
  isDeleted: boolean;
303
303
  internalError: string | null;
304
+ userId?: string | null | undefined;
304
305
  createdAt?: string | Date | undefined;
305
306
  updatedAt?: string | Date | undefined;
306
307
  error?: string | null | undefined;
307
308
  presetId?: string | null | undefined;
308
- userId?: string | null | undefined;
309
309
  unregisteredUserId?: string | null | undefined;
310
310
  tokenReservationId?: string | null | undefined;
311
311
  completedAt?: string | Date | null | undefined;
@@ -147,11 +147,11 @@ export declare namespace SetReactionToImageGenerationJobCommand {
147
147
  origin: import("../..").JOB_REQUEST_ORIGIN;
148
148
  isDeleted: boolean;
149
149
  internalError: string | null;
150
+ userId?: string | null | undefined;
150
151
  createdAt?: string | Date | undefined;
151
152
  updatedAt?: string | Date | undefined;
152
153
  error?: string | null | undefined;
153
154
  presetId?: string | null | undefined;
154
- userId?: string | null | undefined;
155
155
  unregisteredUserId?: string | null | undefined;
156
156
  tokenReservationId?: string | null | undefined;
157
157
  completedAt?: string | Date | null | undefined;
@@ -189,11 +189,11 @@ export declare namespace SetReactionToImageGenerationJobCommand {
189
189
  origin: import("../..").JOB_REQUEST_ORIGIN;
190
190
  isDeleted: boolean;
191
191
  internalError: string | null;
192
+ userId?: string | null | undefined;
192
193
  createdAt?: string | Date | undefined;
193
194
  updatedAt?: string | Date | undefined;
194
195
  error?: string | null | undefined;
195
196
  presetId?: string | null | undefined;
196
- userId?: string | null | undefined;
197
197
  unregisteredUserId?: string | null | undefined;
198
198
  tokenReservationId?: string | null | undefined;
199
199
  completedAt?: string | Date | null | undefined;
@@ -233,11 +233,11 @@ export declare namespace SetReactionToImageGenerationJobCommand {
233
233
  origin: import("../..").JOB_REQUEST_ORIGIN;
234
234
  isDeleted: boolean;
235
235
  internalError: string | null;
236
+ userId?: string | null | undefined;
236
237
  createdAt?: string | Date | undefined;
237
238
  updatedAt?: string | Date | undefined;
238
239
  error?: string | null | undefined;
239
240
  presetId?: string | null | undefined;
240
- userId?: string | null | undefined;
241
241
  unregisteredUserId?: string | null | undefined;
242
242
  tokenReservationId?: string | null | undefined;
243
243
  completedAt?: string | Date | null | undefined;
@@ -277,11 +277,11 @@ export declare namespace SetReactionToImageGenerationJobCommand {
277
277
  origin: import("../..").JOB_REQUEST_ORIGIN;
278
278
  isDeleted: boolean;
279
279
  internalError: string | null;
280
+ userId?: string | null | undefined;
280
281
  createdAt?: string | Date | undefined;
281
282
  updatedAt?: string | Date | undefined;
282
283
  error?: string | null | undefined;
283
284
  presetId?: string | null | undefined;
284
- userId?: string | null | undefined;
285
285
  unregisteredUserId?: string | null | undefined;
286
286
  tokenReservationId?: string | null | undefined;
287
287
  completedAt?: string | Date | null | undefined;
@@ -137,11 +137,11 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
137
137
  origin: import("../..").JOB_REQUEST_ORIGIN;
138
138
  isDeleted: boolean;
139
139
  internalError: string | null;
140
+ userId?: string | null | undefined;
140
141
  createdAt?: string | Date | undefined;
141
142
  updatedAt?: string | Date | undefined;
142
143
  error?: string | null | undefined;
143
144
  presetId?: string | null | undefined;
144
- userId?: string | null | undefined;
145
145
  unregisteredUserId?: string | null | undefined;
146
146
  tokenReservationId?: string | null | undefined;
147
147
  completedAt?: string | Date | null | undefined;
@@ -179,11 +179,11 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
179
179
  origin: import("../..").JOB_REQUEST_ORIGIN;
180
180
  isDeleted: boolean;
181
181
  internalError: string | null;
182
+ userId?: string | null | undefined;
182
183
  createdAt?: string | Date | undefined;
183
184
  updatedAt?: string | Date | undefined;
184
185
  error?: string | null | undefined;
185
186
  presetId?: string | null | undefined;
186
- userId?: string | null | undefined;
187
187
  unregisteredUserId?: string | null | undefined;
188
188
  tokenReservationId?: string | null | undefined;
189
189
  completedAt?: string | Date | null | undefined;
@@ -223,11 +223,11 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
223
223
  origin: import("../..").JOB_REQUEST_ORIGIN;
224
224
  isDeleted: boolean;
225
225
  internalError: string | null;
226
+ userId?: string | null | undefined;
226
227
  createdAt?: string | Date | undefined;
227
228
  updatedAt?: string | Date | undefined;
228
229
  error?: string | null | undefined;
229
230
  presetId?: string | null | undefined;
230
- userId?: string | null | undefined;
231
231
  unregisteredUserId?: string | null | undefined;
232
232
  tokenReservationId?: string | null | undefined;
233
233
  completedAt?: string | Date | null | undefined;
@@ -267,11 +267,11 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
267
267
  origin: import("../..").JOB_REQUEST_ORIGIN;
268
268
  isDeleted: boolean;
269
269
  internalError: string | null;
270
+ userId?: string | null | undefined;
270
271
  createdAt?: string | Date | undefined;
271
272
  updatedAt?: string | Date | undefined;
272
273
  error?: string | null | undefined;
273
274
  presetId?: string | null | undefined;
274
- userId?: string | null | undefined;
275
275
  unregisteredUserId?: string | null | undefined;
276
276
  tokenReservationId?: string | null | undefined;
277
277
  completedAt?: string | Date | null | undefined;
@@ -1,6 +1,8 @@
1
1
  export * from './auth';
2
2
  export * from './product';
3
3
  export * from './subscription';
4
+ export * from './user-to-product';
5
+ export * from './user-to-subscription';
4
6
  export * from './payment';
5
7
  export * from './transaction';
6
8
  export * from './image-generation';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}