adamo-types 2.1.47-sit → 2.1.48-sit

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.
@@ -9,15 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SaleProcessSaleDto = exports.SaleProcessSaleIbanValidationDto = exports.SaleProcessCacheJobRetryDto = exports.CreateSaleProcessApprovalDto = exports.CreateApprovalDataIbanValidationRejectedDto = exports.CreateApprovalDataIbanValidationRejectedBillingDto = exports.CreateApprovalDataBaseDto = exports.SaleProcessFiltersQueryDto = exports.SaleProcessFiltersDto = exports.CreateSaleProcessDto = void 0;
12
+ exports.SaleProcessSaleDto = exports.SaleProcessSaleIbanValidationDto = exports.SaleProcessCacheJobRetryDto = exports.SaleProcessFiltersQueryDto = exports.SaleProcessFiltersDto = exports.CreateSaleProcessDto = void 0;
13
13
  const openapi = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const class_transformer_1 = require("class-transformer");
16
- const constants_1 = require("../constants");
17
16
  const _validators_1 = require("../../validators/index");
18
17
  const common_entity_1 = require("../../common/common.entity");
19
- const constants_2 = require("../../common/constants");
20
- const identification_entity_1 = require("./identification.entity");
18
+ const constants_1 = require("../../common/constants");
21
19
  class CreateSaleProcessDto {
22
20
  name;
23
21
  phone;
@@ -129,7 +127,7 @@ __decorate([
129
127
  __metadata("design:type", String)
130
128
  ], SaleProcessFiltersQueryDto.prototype, "dateTo", void 0);
131
129
  __decorate([
132
- (0, class_validator_1.IsEnum)(constants_2.CustomerType),
130
+ (0, class_validator_1.IsEnum)(constants_1.CustomerType),
133
131
  (0, class_validator_1.IsOptional)(),
134
132
  __metadata("design:type", String)
135
133
  ], SaleProcessFiltersQueryDto.prototype, "customerType", void 0);
@@ -147,78 +145,6 @@ __decorate([
147
145
  (0, class_validator_1.IsOptional)(),
148
146
  __metadata("design:type", String)
149
147
  ], SaleProcessFiltersQueryDto.prototype, "identificationNumber", void 0);
150
- class CreateApprovalDataBaseDto {
151
- validation;
152
- static _OPENAPI_METADATA_FACTORY() {
153
- return { validation: { required: true, enum: require("../constants/sys03.constants").SaleProcessApprovalValidation } };
154
- }
155
- }
156
- exports.CreateApprovalDataBaseDto = CreateApprovalDataBaseDto;
157
- __decorate([
158
- (0, class_validator_1.IsEnum)(constants_1.SaleProcessApprovalValidation),
159
- (0, class_transformer_1.Expose)(),
160
- __metadata("design:type", String)
161
- ], CreateApprovalDataBaseDto.prototype, "validation", void 0);
162
- class CreateApprovalDataIbanValidationRejectedBillingDto {
163
- firstName;
164
- lastName;
165
- identification;
166
- static _OPENAPI_METADATA_FACTORY() {
167
- return { firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, identification: { required: true, type: () => require("./identification.entity").SaleProcessIndividualIdentificationDto } };
168
- }
169
- }
170
- exports.CreateApprovalDataIbanValidationRejectedBillingDto = CreateApprovalDataIbanValidationRejectedBillingDto;
171
- __decorate([
172
- (0, class_validator_1.IsString)(),
173
- (0, class_validator_1.IsNotEmpty)(),
174
- (0, _validators_1.IsNotBlank)(),
175
- (0, class_transformer_1.Expose)(),
176
- __metadata("design:type", String)
177
- ], CreateApprovalDataIbanValidationRejectedBillingDto.prototype, "firstName", void 0);
178
- __decorate([
179
- (0, class_validator_1.IsString)(),
180
- (0, class_validator_1.IsNotEmpty)(),
181
- (0, _validators_1.IsNotBlank)(),
182
- (0, class_transformer_1.Expose)(),
183
- __metadata("design:type", String)
184
- ], CreateApprovalDataIbanValidationRejectedBillingDto.prototype, "lastName", void 0);
185
- __decorate([
186
- (0, class_validator_1.IsDefined)(),
187
- (0, class_validator_1.ValidateNested)(),
188
- (0, class_transformer_1.Type)(() => identification_entity_1.SaleProcessIndividualIdentificationDto),
189
- (0, class_transformer_1.Expose)(),
190
- __metadata("design:type", identification_entity_1.SaleProcessIndividualIdentificationDto)
191
- ], CreateApprovalDataIbanValidationRejectedBillingDto.prototype, "identification", void 0);
192
- class CreateApprovalDataIbanValidationRejectedDto extends CreateApprovalDataBaseDto {
193
- billing;
194
- static _OPENAPI_METADATA_FACTORY() {
195
- return { billing: { required: true, type: () => require("./sale-process.entity").CreateApprovalDataIbanValidationRejectedBillingDto } };
196
- }
197
- }
198
- exports.CreateApprovalDataIbanValidationRejectedDto = CreateApprovalDataIbanValidationRejectedDto;
199
- __decorate([
200
- (0, class_validator_1.IsDefined)(),
201
- (0, class_validator_1.ValidateNested)(),
202
- (0, class_transformer_1.Type)(() => CreateApprovalDataIbanValidationRejectedBillingDto),
203
- (0, class_transformer_1.Expose)(),
204
- __metadata("design:type", CreateApprovalDataIbanValidationRejectedBillingDto)
205
- ], CreateApprovalDataIbanValidationRejectedDto.prototype, "billing", void 0);
206
- class CreateSaleProcessApprovalDto {
207
- data;
208
- static _OPENAPI_METADATA_FACTORY() {
209
- return { data: { required: true, type: () => [require("./sale-process.entity").CreateApprovalDataBaseDto], minItems: 1 } };
210
- }
211
- }
212
- exports.CreateSaleProcessApprovalDto = CreateSaleProcessApprovalDto;
213
- __decorate([
214
- (0, class_validator_1.IsDefined)(),
215
- (0, class_validator_1.IsArray)(),
216
- (0, class_validator_1.ArrayMinSize)(1),
217
- (0, class_validator_1.ValidateNested)({ each: true }),
218
- (0, class_transformer_1.Type)(() => CreateApprovalDataBaseDto),
219
- (0, class_transformer_1.Expose)(),
220
- __metadata("design:type", Array)
221
- ], CreateSaleProcessApprovalDto.prototype, "data", void 0);
222
148
  class SaleProcessCacheJobRetryDto {
223
149
  retries;
224
150
  firstRetryDate;