@hosterai/types 0.0.25 → 0.0.27

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 (162) hide show
  1. package/README.md +49 -8
  2. package/dist/dtos/addon-field.dto.d.ts +7 -0
  3. package/dist/dtos/addon-field.dto.js +11 -0
  4. package/dist/dtos/attachment.dto.js +17 -0
  5. package/dist/dtos/attribute-field.dto.d.ts +19 -0
  6. package/dist/dtos/attribute-field.dto.js +64 -0
  7. package/dist/dtos/base-response.dto.js +11 -0
  8. package/dist/dtos/client-data.dto.js +82 -0
  9. package/dist/dtos/company-data.dto.js +97 -0
  10. package/dist/dtos/country.dto.d.ts +7 -0
  11. package/dist/dtos/country.dto.js +21 -0
  12. package/dist/dtos/error-response.dto.js +15 -0
  13. package/dist/dtos/field.dto.d.ts +8 -13
  14. package/dist/dtos/field.dto.js +22 -47
  15. package/dist/dtos/info.dto.d.ts +0 -5
  16. package/dist/dtos/info.dto.js +0 -19
  17. package/dist/dtos/invoice/invoice-info.dto.d.ts +15 -0
  18. package/dist/dtos/invoice/invoice-info.dto.js +42 -0
  19. package/dist/dtos/invoice/invoice-item-data.dto.d.ts +10 -0
  20. package/dist/dtos/invoice/invoice-item-data.dto.js +34 -0
  21. package/dist/dtos/invoice/requests/credit-note-request.dto.d.ts +9 -0
  22. package/dist/dtos/invoice/requests/credit-note-request.dto.js +32 -0
  23. package/dist/dtos/invoice/requests/invoice-request.dto.d.ts +9 -0
  24. package/dist/dtos/invoice/requests/invoice-request.dto.js +32 -0
  25. package/dist/dtos/invoice/requests/proforma-invoice-request.dto.d.ts +24 -0
  26. package/dist/dtos/invoice/requests/proforma-invoice-request.dto.js +104 -0
  27. package/dist/dtos/invoice/requests/tax-details-request.dto.d.ts +31 -0
  28. package/dist/dtos/invoice/requests/tax-details-request.dto.js +84 -0
  29. package/dist/dtos/invoice/responses/credit-note-response.dto.d.ts +7 -0
  30. package/dist/dtos/invoice/responses/credit-note-response.dto.js +11 -0
  31. package/dist/dtos/invoice/responses/invoice-response.dto.d.ts +7 -0
  32. package/dist/dtos/invoice/responses/invoice-response.dto.js +11 -0
  33. package/dist/dtos/invoice/responses/proforma-invoice-response.dto.d.ts +12 -0
  34. package/dist/dtos/invoice/responses/proforma-invoice-response.dto.js +52 -0
  35. package/dist/dtos/invoice/responses/tax-details-response.dto.d.ts +20 -0
  36. package/dist/dtos/invoice/responses/tax-details-response.dto.js +56 -0
  37. package/dist/dtos/invoice/tin-validation-details.dto.d.ts +51 -0
  38. package/dist/dtos/invoice/tin-validation-details.dto.js +165 -0
  39. package/dist/dtos/invoice/transaction-data.dto.d.ts +14 -0
  40. package/dist/dtos/invoice/transaction-data.dto.js +64 -0
  41. package/dist/dtos/invoice-contact-data.dto.d.ts +43 -0
  42. package/dist/dtos/invoice-contact-data.dto.js +222 -0
  43. package/dist/dtos/item-data.dto.d.ts +44 -0
  44. package/dist/dtos/item-data.dto.js +131 -0
  45. package/dist/dtos/jwt.dto.js +27 -0
  46. package/dist/dtos/multilang-text.dto.js +12 -0
  47. package/dist/dtos/notification/receiver/receiver-email.dto.js +19 -0
  48. package/dist/dtos/notification/receiver/receiver-sms.dto.js +7 -0
  49. package/dist/dtos/notification/requests/notification-send-request.dto.d.ts +18 -0
  50. package/dist/dtos/notification/requests/notification-send-request.dto.js +90 -0
  51. package/dist/dtos/notification/responses/notification-send-response.dto.d.ts +9 -0
  52. package/dist/dtos/notification/responses/notification-send-response.dto.js +32 -0
  53. package/dist/dtos/notification/sender/sender-email.dto.js +26 -0
  54. package/dist/dtos/notification/sender/sender-push.dto.js +36 -0
  55. package/dist/dtos/notification/sender/sender-sms.dto.js +11 -0
  56. package/dist/dtos/product/product-info.dto.d.ts +8 -3
  57. package/dist/dtos/product/product-info.dto.js +25 -5
  58. package/dist/dtos/product/product-item-data.dto.d.ts +7 -28
  59. package/dist/dtos/product/product-item-data.dto.js +14 -23
  60. package/dist/dtos/product/requests/product-create-request.dto.js +11 -0
  61. package/dist/dtos/product/requests/product-delete-request.dto.js +11 -0
  62. package/dist/dtos/product/requests/product-downgradable-request.dto.js +11 -0
  63. package/dist/dtos/product/requests/product-downgrade-request.dto.js +16 -0
  64. package/dist/dtos/product/requests/product-renew-request.dto.js +11 -0
  65. package/dist/dtos/product/requests/product-suspend-request.dto.js +11 -0
  66. package/dist/dtos/product/requests/product-unsuspend-request.dto.js +11 -0
  67. package/dist/dtos/product/requests/product-upgradable-request.dto.js +11 -0
  68. package/dist/dtos/product/requests/product-upgrade-request.dto.js +16 -0
  69. package/dist/dtos/product/responses/product-create-response.dto.js +37 -0
  70. package/dist/dtos/product/responses/product-delete-response.dto.js +37 -0
  71. package/dist/dtos/product/responses/product-downgradable-response.dto.js +37 -0
  72. package/dist/dtos/product/responses/product-downgrade-response.dto.js +37 -0
  73. package/dist/dtos/product/responses/product-info-response.dto.js +23 -0
  74. package/dist/dtos/product/responses/product-renew-response.dto.js +37 -0
  75. package/dist/dtos/product/responses/product-suspend-response.dto.js +37 -0
  76. package/dist/dtos/product/responses/product-unsuspend-response.dto.js +37 -0
  77. package/dist/dtos/product/responses/product-upgradable-response.dto.js +37 -0
  78. package/dist/dtos/product/responses/product-upgrade-response.dto.js +37 -0
  79. package/dist/dtos/requests/validate-attributes-request.dto.js +12 -0
  80. package/dist/dtos/response-data.dto.js +19 -0
  81. package/dist/dtos/responses/validate-attributes-response.dto.js +25 -0
  82. package/dist/dtos/settings.dto.d.ts +18 -0
  83. package/dist/dtos/settings.dto.js +19 -2
  84. package/dist/dtos/setup-status-response.dto.js +20 -0
  85. package/dist/dtos/success-response.dto.d.ts +0 -4
  86. package/dist/dtos/success-response.dto.js +0 -14
  87. package/dist/enums/invoice/invoice-item-actions.enum.d.ts +8 -0
  88. package/dist/enums/invoice/invoice-item-actions.enum.js +12 -0
  89. package/dist/enums/invoice/invoice-types.enum.d.ts +5 -0
  90. package/dist/enums/invoice/invoice-types.enum.js +9 -0
  91. package/dist/enums/item-actions.enum.d.ts +11 -0
  92. package/dist/enums/item-actions.enum.js +16 -0
  93. package/dist/index.d.ts +36 -5
  94. package/dist/index.js +37 -7
  95. package/dist/openapi/schemas/components.schemas.d.ts +152 -49
  96. package/dist/openapi/schemas/components.schemas.js +191 -89
  97. package/dist/validators/addon-field-validator.d.ts +9 -0
  98. package/dist/validators/addon-field-validator.js +14 -0
  99. package/dist/validators/addon-field-validator.spec.d.ts +1 -0
  100. package/dist/validators/addon-field-validator.spec.js +38 -0
  101. package/dist/validators/attachment-validator.d.ts +8 -0
  102. package/dist/validators/attachment-validator.js +17 -0
  103. package/dist/validators/attachment-validator.spec.d.ts +1 -0
  104. package/dist/validators/attachment-validator.spec.js +58 -0
  105. package/dist/validators/attribute-field-validator.d.ts +8 -0
  106. package/dist/validators/attribute-field-validator.js +17 -0
  107. package/dist/validators/attribute-field-validator.spec.d.ts +1 -0
  108. package/dist/validators/attribute-field-validator.spec.js +84 -0
  109. package/dist/validators/country-validator.d.ts +8 -0
  110. package/dist/validators/country-validator.js +17 -0
  111. package/dist/validators/country-validator.spec.d.ts +1 -0
  112. package/dist/validators/country-validator.spec.js +58 -0
  113. package/dist/validators/field-validator.spec.js +1 -29
  114. package/dist/validators/info-validator.d.ts +8 -0
  115. package/dist/validators/info-validator.js +17 -0
  116. package/dist/validators/info-validator.spec.d.ts +1 -0
  117. package/dist/validators/info-validator.spec.js +85 -0
  118. package/dist/validators/invoice-contact-data-validator.d.ts +8 -0
  119. package/dist/validators/invoice-contact-data-validator.js +17 -0
  120. package/dist/validators/invoice-contact-data-validator.spec.d.ts +1 -0
  121. package/dist/validators/invoice-contact-data-validator.spec.js +88 -0
  122. package/dist/validators/invoice-info-validator.d.ts +8 -0
  123. package/dist/validators/invoice-info-validator.js +17 -0
  124. package/dist/validators/invoice-info-validator.spec.d.ts +1 -0
  125. package/dist/validators/invoice-info-validator.spec.js +81 -0
  126. package/dist/validators/invoice-item-data-validator.d.ts +8 -0
  127. package/dist/validators/invoice-item-data-validator.js +17 -0
  128. package/dist/validators/invoice-item-data-validator.spec.d.ts +1 -0
  129. package/dist/validators/invoice-item-data-validator.spec.js +45 -0
  130. package/dist/validators/item-data-validator.d.ts +8 -0
  131. package/dist/validators/item-data-validator.js +17 -0
  132. package/dist/validators/item-data-validator.spec.d.ts +1 -0
  133. package/dist/validators/item-data-validator.spec.js +79 -0
  134. package/dist/validators/notification-info-validator.spec.js +6 -6
  135. package/dist/validators/notification-request-validator.js +2 -2
  136. package/dist/validators/product-create-request-validator.js +1 -1
  137. package/dist/validators/product-delete-request-validator.js +1 -1
  138. package/dist/validators/product-downgradable-request-validator.js +1 -1
  139. package/dist/validators/product-downgrade-request-validator.js +1 -1
  140. package/dist/validators/product-info-validator.spec.js +20 -28
  141. package/dist/validators/product-item-data-validator.d.ts +8 -0
  142. package/dist/validators/product-item-data-validator.js +17 -0
  143. package/dist/validators/product-item-data-validator.spec.d.ts +1 -0
  144. package/dist/validators/product-item-data-validator.spec.js +60 -0
  145. package/dist/validators/product-renew-request-validator.js +1 -1
  146. package/dist/validators/product-suspend-request-validator.js +1 -1
  147. package/dist/validators/product-unsuspend-request-validator.js +1 -1
  148. package/dist/validators/product-upgradable-request-validator.js +1 -1
  149. package/dist/validators/product-upgrade-request-validator.js +1 -1
  150. package/dist/validators/tab-validator.d.ts +8 -0
  151. package/dist/validators/tab-validator.js +17 -0
  152. package/dist/validators/tab-validator.spec.d.ts +1 -0
  153. package/dist/validators/tab-validator.spec.js +49 -0
  154. package/dist/validators/tin-validation-details-validator.d.ts +8 -0
  155. package/dist/validators/tin-validation-details-validator.js +17 -0
  156. package/dist/validators/tin-validation-details-validator.spec.d.ts +1 -0
  157. package/dist/validators/tin-validation-details-validator.spec.js +77 -0
  158. package/dist/validators/transaction-data-validator.d.ts +8 -0
  159. package/dist/validators/transaction-data-validator.js +17 -0
  160. package/dist/validators/transaction-data-validator.spec.d.ts +1 -0
  161. package/dist/validators/transaction-data-validator.spec.js +62 -0
  162. package/package.json +1 -1
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ProductUpgradeRequestDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
14
15
  const class_transformer_1 = require("class-transformer");
15
16
  const product_item_data_dto_1 = require("../product-item-data.dto");
16
17
  const client_data_dto_1 = require("../../client-data.dto");
@@ -26,6 +27,11 @@ __decorate([
26
27
  (0, class_validator_1.IsObject)(),
27
28
  (0, class_validator_1.ValidateNested)(),
28
29
  (0, class_transformer_1.Type)(() => client_data_dto_1.ClientDataDto),
30
+ (0, class_validator_jsonschema_1.JSONSchema)({
31
+ title: 'Client Data',
32
+ description: 'The client\'s data for the request.',
33
+ $ref: '#/components/schemas/ClientDataDto',
34
+ }),
29
35
  __metadata("design:type", client_data_dto_1.ClientDataDto)
30
36
  ], ProductUpgradeRequestDto.prototype, "clientData", void 0);
31
37
  __decorate([
@@ -33,6 +39,11 @@ __decorate([
33
39
  (0, class_validator_1.IsObject)(),
34
40
  (0, class_validator_1.ValidateNested)(),
35
41
  (0, class_transformer_1.Type)(() => product_item_data_dto_1.ProductItemDataDto),
42
+ (0, class_validator_jsonschema_1.JSONSchema)({
43
+ title: 'Item Data',
44
+ description: 'The data of the product item to be upgraded.',
45
+ $ref: '#/components/schemas/ProductItemDataDto',
46
+ }),
36
47
  __metadata("design:type", product_item_data_dto_1.ProductItemDataDto)
37
48
  ], ProductUpgradeRequestDto.prototype, "itemData", void 0);
38
49
  __decorate([
@@ -40,5 +51,10 @@ __decorate([
40
51
  (0, class_validator_1.IsObject)(),
41
52
  (0, class_validator_1.ValidateNested)(),
42
53
  (0, class_transformer_1.Type)(() => product_item_data_dto_1.ProductItemDataDto),
54
+ (0, class_validator_jsonschema_1.JSONSchema)({
55
+ title: 'Previous Item Data',
56
+ description: 'The data of the product item before the upgrade.',
57
+ $ref: '#/components/schemas/ProductItemDataDto',
58
+ }),
43
59
  __metadata("design:type", product_item_data_dto_1.ProductItemDataDto)
44
60
  ], ProductUpgradeRequestDto.prototype, "previousItemData", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductCreateResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response after attempting to create a product.
7
18
  * It confirms the status of the creation operation.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductCreateResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductCreateResponseDto = ProductCreateResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating the outcome of the creation.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductCreateResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item that was created.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductCreateResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the creation response.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductCreateResponseDto.prototype, "data", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductDeleteResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response after attempting to delete a product.
7
18
  * It confirms the status of the deletion operation.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductDeleteResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductDeleteResponseDto = ProductDeleteResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating the outcome of the deletion.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductDeleteResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item that was deleted.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductDeleteResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the deletion response.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductDeleteResponseDto.prototype, "data", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductDowngradableResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response for a product Downgradable check.
7
18
  * It indicates whether a product item is Downgradable and may contain additional data.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductDowngradableResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductDowngradableResponseDto = ProductDowngradableResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating success or failure.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductDowngradableResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item being checked.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductDowngradableResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the downgradable check.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductDowngradableResponseDto.prototype, "data", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductDowngradeResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response after attempting to downgrade a product.
7
18
  * It confirms the status of the downgrade operation.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductDowngradeResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductDowngradeResponseDto = ProductDowngradeResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating the outcome of the downgrade.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductDowngradeResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item that was downgraded.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductDowngradeResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the downgrade response.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductDowngradeResponseDto.prototype, "data", void 0);
@@ -1,7 +1,20 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductInfoResponseDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
4
16
  const base_response_dto_1 = require("../../base-response.dto");
17
+ const product_info_dto_1 = require("../product-info.dto");
5
18
  /**
6
19
  * Represents the response containing product information.
7
20
  * This DTO extends the `BaseResponse` and includes the detailed product information.
@@ -9,3 +22,13 @@ const base_response_dto_1 = require("../../base-response.dto");
9
22
  class ProductInfoResponseDto extends base_response_dto_1.BaseResponse {
10
23
  }
11
24
  exports.ProductInfoResponseDto = ProductInfoResponseDto;
25
+ __decorate([
26
+ (0, class_validator_1.ValidateNested)(),
27
+ (0, class_transformer_1.Type)(() => product_info_dto_1.ProductInfoDto),
28
+ (0, class_validator_jsonschema_1.JSONSchema)({
29
+ title: 'Info',
30
+ description: 'The detailed information of the product.',
31
+ type: 'object',
32
+ }),
33
+ __metadata("design:type", product_info_dto_1.ProductInfoDto)
34
+ ], ProductInfoResponseDto.prototype, "info", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductRenewResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response after attempting to renew a product.
7
18
  * It confirms the status of the renewal operation.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductRenewResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductRenewResponseDto = ProductRenewResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating the outcome of the renewal.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductRenewResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item that was renewed.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductRenewResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the renewal response.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductRenewResponseDto.prototype, "data", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductSuspendResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response after attempting to suspend a product.
7
18
  * It confirms the status of the suspend operation.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductSuspendResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductSuspendResponseDto = ProductSuspendResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating the outcome of the suspend operation.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductSuspendResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item that was suspended.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductSuspendResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the suspend response.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductSuspendResponseDto.prototype, "data", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductUnsuspendResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response after attempting to unsuspend a product.
7
18
  * It confirms the status of the unsuspend operation.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductUnsuspendResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductUnsuspendResponseDto = ProductUnsuspendResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating the outcome of the unsuspend operation.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductUnsuspendResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item that was unsuspended.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductUnsuspendResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the unsuspend response.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductUnsuspendResponseDto.prototype, "data", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductUpgradableResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response for a product upgradable check.
7
18
  * It indicates whether a product item is upgradable and may contain additional data.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductUpgradableResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductUpgradableResponseDto = ProductUpgradableResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating success or failure.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductUpgradableResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item being checked.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductUpgradableResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the upgradable check.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductUpgradableResponseDto.prototype, "data", void 0);
@@ -1,7 +1,18 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ProductUpgradeResponseDto = void 0;
13
+ const response_status_enum_1 = require("../../../enums/response-status.enum");
4
14
  const base_response_dto_1 = require("../../base-response.dto");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
5
16
  /**
6
17
  * Represents the response after attempting to upgrade a product.
7
18
  * It confirms the status of the upgrade operation.
@@ -9,3 +20,29 @@ const base_response_dto_1 = require("../../base-response.dto");
9
20
  class ProductUpgradeResponseDto extends base_response_dto_1.BaseResponse {
10
21
  }
11
22
  exports.ProductUpgradeResponseDto = ProductUpgradeResponseDto;
23
+ __decorate([
24
+ (0, class_validator_jsonschema_1.JSONSchema)({
25
+ title: 'Status',
26
+ description: 'The status of the response, indicating the outcome of the upgrade.',
27
+ type: 'string',
28
+ enum: Object.values(response_status_enum_1.ResponseStatusEnum),
29
+ }),
30
+ __metadata("design:type", String)
31
+ ], ProductUpgradeResponseDto.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_jsonschema_1.JSONSchema)({
34
+ title: 'Item ID',
35
+ description: 'The unique identifier of the product item that was upgraded.',
36
+ type: 'string',
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], ProductUpgradeResponseDto.prototype, "itemId", void 0);
40
+ __decorate([
41
+ (0, class_validator_jsonschema_1.JSONSchema)({
42
+ title: 'Data',
43
+ description: 'Optional data associated with the upgrade response.',
44
+ type: 'object',
45
+ additionalProperties: true,
46
+ }),
47
+ __metadata("design:type", Object)
48
+ ], ProductUpgradeResponseDto.prototype, "data", void 0);
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ValidateAttributesRequestDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
14
15
  /**
15
16
  * Represents a request to validate attributes.
16
17
  * This DTO is used when a client needs to check the validity of a set of attribute values
@@ -22,10 +23,21 @@ exports.ValidateAttributesRequestDto = ValidateAttributesRequestDto;
22
23
  __decorate([
23
24
  (0, class_validator_1.IsDefined)(),
24
25
  (0, class_validator_1.IsString)(),
26
+ (0, class_validator_jsonschema_1.JSONSchema)({
27
+ title: 'Triggered By Key',
28
+ description: 'The key of the attribute that triggered the validation.',
29
+ type: 'string',
30
+ }),
25
31
  __metadata("design:type", String)
26
32
  ], ValidateAttributesRequestDto.prototype, "triggeredByKey", void 0);
27
33
  __decorate([
28
34
  (0, class_validator_1.IsDefined)(),
29
35
  (0, class_validator_1.IsObject)(),
36
+ (0, class_validator_jsonschema_1.JSONSchema)({
37
+ title: 'Attribute Values',
38
+ description: 'A record of attribute values to be validated.',
39
+ type: 'object',
40
+ additionalProperties: true,
41
+ }),
30
42
  __metadata("design:type", Object)
31
43
  ], ValidateAttributesRequestDto.prototype, "attributeValues", void 0);
@@ -1,6 +1,16 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ResponseDataDto = void 0;
13
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
4
14
  /**
5
15
  * DTO for response data.
6
16
  * Used to return a generic data object in API responses.
@@ -8,3 +18,12 @@ exports.ResponseDataDto = void 0;
8
18
  class ResponseDataDto {
9
19
  }
10
20
  exports.ResponseDataDto = ResponseDataDto;
21
+ __decorate([
22
+ (0, class_validator_jsonschema_1.JSONSchema)({
23
+ title: 'Data',
24
+ description: 'A record of key-value pairs representing the response data.',
25
+ type: 'object',
26
+ additionalProperties: true,
27
+ }),
28
+ __metadata("design:type", Object)
29
+ ], ResponseDataDto.prototype, "data", void 0);
@@ -1,7 +1,20 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ValidateAttributesResponseDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const class_validator_jsonschema_1 = require("class-validator-jsonschema");
4
16
  const base_response_dto_1 = require("../base-response.dto");
17
+ const field_dto_1 = require("../field.dto");
5
18
  /**
6
19
  * Represents the response from validating product attributes.
7
20
  * Contains the list of attributes that have been validated.
@@ -9,3 +22,15 @@ const base_response_dto_1 = require("../base-response.dto");
9
22
  class ValidateAttributesResponseDto extends base_response_dto_1.BaseResponse {
10
23
  }
11
24
  exports.ValidateAttributesResponseDto = ValidateAttributesResponseDto;
25
+ __decorate([
26
+ (0, class_validator_1.IsArray)(),
27
+ (0, class_validator_1.ValidateNested)({ each: true }),
28
+ (0, class_transformer_1.Type)(() => field_dto_1.FieldDto),
29
+ (0, class_validator_jsonschema_1.JSONSchema)({
30
+ title: 'Validated Attributes',
31
+ description: 'An array of field DTOs representing the validated attributes.',
32
+ type: 'array',
33
+ items: { $ref: '#/components/schemas/FieldDto' },
34
+ }),
35
+ __metadata("design:type", Array)
36
+ ], ValidateAttributesResponseDto.prototype, "validatedAttributes", void 0);
@@ -1,14 +1,32 @@
1
1
  import { TabDto } from './tab.dto';
2
+ /**
3
+ * Base settings properties shared by all settings variants.
4
+ */
2
5
  export declare class SettingsDto {
6
+ /** Label of the settings page */
3
7
  label: string;
8
+ /** Icon of the settings page */
4
9
  icon: string;
10
+ /** Description of the settings page */
5
11
  description: string;
6
12
  }
13
+ /**
14
+ * Settings configuration with a direct URL.
15
+ * Used when the settings page is a single URL without tabs.
16
+ */
7
17
  export declare class SettingsWithUrlDto extends SettingsDto {
18
+ /** URL to the settings page */
8
19
  url: string;
20
+ /** Explicitly prevents tabs from being added to this variant */
9
21
  tabs?: never;
10
22
  }
23
+ /**
24
+ * Settings configuration with multiple tabs.
25
+ * Used when the settings page has multiple sections organized as tabs.
26
+ */
11
27
  export declare class SettingsWithTabsDto extends SettingsDto {
28
+ /** List of tabs for the settings page */
12
29
  tabs: [TabDto, ...TabDto[]];
30
+ /** Explicitly prevents URL from being added to this variant */
13
31
  url?: never;
14
32
  }