adamo-types 1.2.119-sit → 1.2.120-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.
@@ -1,19 +1,2 @@
1
- export declare const DigitelStatusDic: {
2
- Certification: string;
3
- Signed: string;
4
- Failed: string;
5
- Created: string;
6
- CreatedWithErrors: string;
7
- Launched: string;
8
- 'Sms sent': string;
9
- 'Contract document viewed': string;
10
- 'Contract accepted': string;
11
- 'Contract documents signed': string;
12
- 'Pin validation expired': string;
13
- Error: string;
14
- Success: string;
15
- Expired: string;
16
- Canceled: string;
17
- Rejected: string;
18
- completed: string;
19
- };
1
+ import { SaleProcessStatusType } from '../zoho/constants';
2
+ export declare const DigitelStatusDic: Record<string, SaleProcessStatusType>;
@@ -1,22 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DigitelStatusDic = void 0;
4
+ const constants_1 = require("../zoho/constants");
4
5
  exports.DigitelStatusDic = {
5
- Certification: 'digitel-certification',
6
- Signed: 'digitel-signed',
7
- Failed: 'digitel-failed',
8
- Created: 'digitel-created',
9
- CreatedWithErrors: 'digitel-created-with-errors',
10
- Launched: 'digitel-launched',
11
- 'Sms sent': 'digitel-msg-sent',
12
- 'Contract document viewed': 'digitel-document-viewed',
13
- 'Contract accepted': 'digitel-pin-requested',
14
- 'Contract documents signed': 'digitel-documents-signed',
15
- 'Pin validation expired': 'digitel-pin-expired',
16
- Error: 'digitel-error',
17
- Success: 'digitel-success',
18
- Expired: 'digitel-expired',
19
- Canceled: 'digitel-canceled',
20
- Rejected: 'digitel-rejected',
21
- completed: 'completed'
6
+ Certification: constants_1.SaleProcessStatusType.DIGITEL_CERTIFICATION,
7
+ Signed: constants_1.SaleProcessStatusType.DIGITEL_SIGNED,
8
+ Failed: constants_1.SaleProcessStatusType.DIGITEL_FAILED,
9
+ Created: constants_1.SaleProcessStatusType.DIGITEL_CREATED,
10
+ CreatedWithErrors: constants_1.SaleProcessStatusType.DIGITEL_CREATED_WITH_ERRORS,
11
+ Launched: constants_1.SaleProcessStatusType.DIGITEL_LAUNCHED,
12
+ 'Sms sent': constants_1.SaleProcessStatusType.DIGITEL_SMS_SENT,
13
+ 'Contract document viewed': constants_1.SaleProcessStatusType.DIGITEL_DOCUMENT_VIEWED,
14
+ 'Contract accepted': constants_1.SaleProcessStatusType.DIGITEL_PIN_REQUESTED,
15
+ 'Contract documents signed': constants_1.SaleProcessStatusType.DIGITEL_DOCUMENTS_SIGNED,
16
+ 'Pin validation expired': constants_1.SaleProcessStatusType.DIGITEL_PIN_EXPIRED,
17
+ Error: constants_1.SaleProcessStatusType.DIGITEL_ERROR,
18
+ Success: constants_1.SaleProcessStatusType.DIGITEL_SUCCESS,
19
+ Expired: constants_1.SaleProcessStatusType.DIGITEL_EXPIRED,
20
+ Canceled: constants_1.SaleProcessStatusType.DIGITEL_CANCELLED,
21
+ Rejected: constants_1.SaleProcessStatusType.DIGITEL_REJECTED,
22
+ completed: constants_1.SaleProcessStatusType.COMPLETED
22
23
  };
@@ -52,7 +52,7 @@ export declare class ApprovalDto {
52
52
  saleProcessIbanValidationId?: string;
53
53
  data?: ApprovalDataDto[];
54
54
  validationData?: ApprovalValidationDataDto[];
55
- validations: string[];
55
+ validations: SaleProcessApprovalValidatorKeys[];
56
56
  owner: string;
57
57
  channel: string;
58
58
  apartmentId: string;
@@ -154,7 +154,7 @@ class ApprovalBillingDto {
154
154
  exports.ApprovalBillingDto = ApprovalBillingDto;
155
155
  class ApprovalDto {
156
156
  static _OPENAPI_METADATA_FACTORY() {
157
- return { id: { required: true, type: () => Number }, saleProcessId: { required: true, type: () => Number }, saleProcessIbanValidationId: { required: false, type: () => String }, data: { required: false, type: () => [require("./approval.entity").ApprovalDataDto] }, validationData: { required: false, type: () => [require("./approval.entity").ApprovalValidationDataDto] }, validations: { required: true, type: () => [String] }, owner: { required: true, type: () => String }, channel: { required: true, type: () => String }, apartmentId: { required: true, type: () => String }, customer: { required: true, type: () => require("./approval.entity").ApprovalCustomerDto }, billing: { required: true, type: () => require("./approval.entity").ApprovalBillingDto }, shoppingCartId: { required: false, type: () => String }, shoppingCartPhones: { required: false, type: () => [String] }, created: { required: true, type: () => require("../common/common.entity").AuditFieldsDto }, updated: { required: false, type: () => require("../common/common.entity").AuditFieldsDto }, approved: { required: false, type: () => require("../common/common.entity").AuditFieldsWithValueDto } };
157
+ return { id: { required: true, type: () => Number }, saleProcessId: { required: true, type: () => Number }, saleProcessIbanValidationId: { required: false, type: () => String }, data: { required: false, type: () => [require("./approval.entity").ApprovalDataDto] }, validationData: { required: false, type: () => [require("./approval.entity").ApprovalValidationDataDto] }, validations: { required: true, enum: require("../constants/sys03.constants").SaleProcessApprovalValidatorKeys, isArray: true }, owner: { required: true, type: () => String }, channel: { required: true, type: () => String }, apartmentId: { required: true, type: () => String }, customer: { required: true, type: () => require("./approval.entity").ApprovalCustomerDto }, billing: { required: true, type: () => require("./approval.entity").ApprovalBillingDto }, shoppingCartId: { required: false, type: () => String }, shoppingCartPhones: { required: false, type: () => [String] }, created: { required: true, type: () => require("../common/common.entity").AuditFieldsDto }, updated: { required: false, type: () => require("../common/common.entity").AuditFieldsDto }, approved: { required: false, type: () => require("../common/common.entity").AuditFieldsWithValueDto } };
158
158
  }
159
159
  }
160
160
  exports.ApprovalDto = ApprovalDto;