@servicelabsco/slabs-access-manager 0.1.322 → 0.1.324

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 (106) hide show
  1. package/dist/access/controllers/gst.mapping.controller.d.ts +18 -0
  2. package/dist/access/controllers/gst.mapping.controller.js +118 -0
  3. package/dist/access/controllers/gst.mapping.controller.js.map +1 -0
  4. package/dist/access/controllers/index.d.ts +1 -0
  5. package/dist/access/controllers/index.js +1 -0
  6. package/dist/access/controllers/index.js.map +1 -1
  7. package/dist/access/dtos/add.gst.mapping.dto.d.ts +9 -0
  8. package/dist/access/dtos/add.gst.mapping.dto.js +54 -0
  9. package/dist/access/dtos/add.gst.mapping.dto.js.map +1 -0
  10. package/dist/access/dtos/gst.mapping.attributes.dto.d.ts +3 -0
  11. package/dist/access/dtos/gst.mapping.attributes.dto.js +8 -0
  12. package/dist/access/dtos/gst.mapping.attributes.dto.js.map +1 -0
  13. package/dist/access/dtos/gst.mapping.find.dto.d.ts +8 -0
  14. package/dist/access/dtos/gst.mapping.find.dto.js +49 -0
  15. package/dist/access/dtos/gst.mapping.find.dto.js.map +1 -0
  16. package/dist/access/dtos/gst.mapping.list.filter.dto.d.ts +8 -0
  17. package/dist/access/dtos/gst.mapping.list.filter.dto.js +49 -0
  18. package/dist/access/dtos/gst.mapping.list.filter.dto.js.map +1 -0
  19. package/dist/access/dtos/index.d.ts +4 -0
  20. package/dist/access/dtos/index.js +4 -0
  21. package/dist/access/dtos/index.js.map +1 -1
  22. package/dist/access/entities/gst.mapping.entity.d.ts +12 -0
  23. package/dist/access/entities/gst.mapping.entity.js +54 -0
  24. package/dist/access/entities/gst.mapping.entity.js.map +1 -0
  25. package/dist/access/entities/index.d.ts +1 -0
  26. package/dist/access/entities/index.js +1 -0
  27. package/dist/access/entities/index.js.map +1 -1
  28. package/dist/access/es6.classes.d.ts +13 -6
  29. package/dist/access/es6.classes.js +20 -0
  30. package/dist/access/es6.classes.js.map +1 -1
  31. package/dist/access/jobs/gst.mapping.job.d.ts +7 -0
  32. package/dist/access/jobs/gst.mapping.job.js +29 -0
  33. package/dist/access/jobs/gst.mapping.job.js.map +1 -0
  34. package/dist/access/jobs/index.d.ts +1 -0
  35. package/dist/access/jobs/index.js +1 -0
  36. package/dist/access/jobs/index.js.map +1 -1
  37. package/dist/access/libraries/index.d.ts +2 -0
  38. package/dist/access/libraries/index.js +2 -0
  39. package/dist/access/libraries/index.js.map +1 -1
  40. package/dist/access/libraries/process.gst.mapping.data.d.ts +12 -0
  41. package/dist/access/libraries/process.gst.mapping.data.js +36 -0
  42. package/dist/access/libraries/process.gst.mapping.data.js.map +1 -0
  43. package/dist/access/libraries/process.gst.mapping.list.d.ts +18 -0
  44. package/dist/access/libraries/process.gst.mapping.list.js +50 -0
  45. package/dist/access/libraries/process.gst.mapping.list.js.map +1 -0
  46. package/dist/access/services/es6.jobs.service.d.ts +3 -1
  47. package/dist/access/services/es6.jobs.service.js +5 -1
  48. package/dist/access/services/es6.jobs.service.js.map +1 -1
  49. package/dist/access/subscribers/gst.mapping.subscriber.d.ts +10 -0
  50. package/dist/access/subscribers/gst.mapping.subscriber.js +34 -0
  51. package/dist/access/subscribers/gst.mapping.subscriber.js.map +1 -0
  52. package/dist/access/subscribers/index.d.ts +1 -0
  53. package/dist/access/subscribers/index.js +1 -0
  54. package/dist/access/subscribers/index.js.map +1 -1
  55. package/dist/accessUtility/controllers/gst.state.controller.d.ts +8 -0
  56. package/dist/accessUtility/controllers/gst.state.controller.js +59 -0
  57. package/dist/accessUtility/controllers/gst.state.controller.js.map +1 -0
  58. package/dist/accessUtility/controllers/index.d.ts +1 -0
  59. package/dist/accessUtility/controllers/index.js +1 -0
  60. package/dist/accessUtility/controllers/index.js.map +1 -1
  61. package/dist/accessUtility/dtos/gst.state.attributes.dto.d.ts +3 -0
  62. package/dist/accessUtility/dtos/gst.state.attributes.dto.js +8 -0
  63. package/dist/accessUtility/dtos/gst.state.attributes.dto.js.map +1 -0
  64. package/dist/accessUtility/dtos/index.d.ts +1 -0
  65. package/dist/accessUtility/dtos/index.js +1 -0
  66. package/dist/accessUtility/dtos/index.js.map +1 -1
  67. package/dist/accessUtility/entities/gst.state.entity.d.ts +9 -0
  68. package/dist/accessUtility/entities/gst.state.entity.js +42 -0
  69. package/dist/accessUtility/entities/gst.state.entity.js.map +1 -0
  70. package/dist/accessUtility/entities/index.d.ts +1 -0
  71. package/dist/accessUtility/entities/index.js +1 -0
  72. package/dist/accessUtility/entities/index.js.map +1 -1
  73. package/dist/accessUtility/es6.classes.d.ts +10 -5
  74. package/dist/accessUtility/es6.classes.js +19 -2
  75. package/dist/accessUtility/es6.classes.js.map +1 -1
  76. package/dist/accessUtility/jobs/gst.state.job.d.ts +7 -0
  77. package/dist/accessUtility/jobs/gst.state.job.js +29 -0
  78. package/dist/accessUtility/jobs/gst.state.job.js.map +1 -0
  79. package/dist/accessUtility/jobs/index.d.ts +1 -0
  80. package/dist/accessUtility/jobs/index.js +1 -0
  81. package/dist/accessUtility/jobs/index.js.map +1 -1
  82. package/dist/accessUtility/services/es6.jobs.service.d.ts +3 -1
  83. package/dist/accessUtility/services/es6.jobs.service.js +5 -1
  84. package/dist/accessUtility/services/es6.jobs.service.js.map +1 -1
  85. package/dist/accessUtility/services/es6.service.d.ts +8 -0
  86. package/dist/accessUtility/services/es6.service.js +37 -0
  87. package/dist/accessUtility/services/es6.service.js.map +1 -0
  88. package/dist/accessUtility/services/file.upload.service.d.ts +5 -2
  89. package/dist/accessUtility/services/file.upload.service.js +20 -2
  90. package/dist/accessUtility/services/file.upload.service.js.map +1 -1
  91. package/dist/accessUtility/subscribers/gst.state.subscriber.d.ts +10 -0
  92. package/dist/accessUtility/subscribers/gst.state.subscriber.js +34 -0
  93. package/dist/accessUtility/subscribers/gst.state.subscriber.js.map +1 -0
  94. package/dist/accessUtility/subscribers/index.d.ts +1 -0
  95. package/dist/accessUtility/subscribers/index.js +1 -0
  96. package/dist/accessUtility/subscribers/index.js.map +1 -1
  97. package/dist/app.controller.d.ts +3 -1
  98. package/dist/app.controller.js +8 -3
  99. package/dist/app.controller.js.map +1 -1
  100. package/dist/config/entity.constants.d.ts +4 -0
  101. package/dist/config/entity.constants.js +4 -0
  102. package/dist/config/entity.constants.js.map +1 -1
  103. package/dist/migrations/1765256334063-CreateGstMappingTable.d.ts +5 -0
  104. package/dist/migrations/1765256334063-CreateGstMappingTable.js +22 -0
  105. package/dist/migrations/1765256334063-CreateGstMappingTable.js.map +1 -0
  106. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ import { SqlService } from '@servicelabsco/nestjs-utility-services';
2
+ import { GstMappingFindDto } from '../dtos/gst.mapping.find.dto';
3
+ import { GstMappingListFilterDto } from '../dtos/gst.mapping.list.filter.dto';
4
+ import { GstMappingEntity } from '../entities/gst.mapping.entity';
5
+ import { BusinessParamDto } from '../dtos/business.param.dto';
6
+ import { ListingService } from '../services/listing.service';
7
+ import { AccessBusinessService } from '../services/access.business.service';
8
+ import { AddGstMappingDto } from '../dtos/add.gst.mapping.dto';
9
+ export declare class GstMappingController {
10
+ private readonly accessBusinessService;
11
+ private readonly sqlService;
12
+ private readonly listingService;
13
+ constructor(accessBusinessService: AccessBusinessService, sqlService: SqlService, listingService: ListingService);
14
+ search(body: GstMappingListFilterDto): Promise<import("..").ListResponseDto>;
15
+ find(body: GstMappingFindDto): Promise<any>;
16
+ show(params: BusinessParamDto): Promise<GstMappingEntity>;
17
+ set(body: AddGstMappingDto): Promise<GstMappingEntity>;
18
+ }
@@ -0,0 +1,118 @@
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
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GstMappingController = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
18
+ const gst_mapping_find_dto_1 = require("../dtos/gst.mapping.find.dto");
19
+ const gst_mapping_list_filter_dto_1 = require("../dtos/gst.mapping.list.filter.dto");
20
+ const gst_mapping_entity_1 = require("../entities/gst.mapping.entity");
21
+ const process_gst_mapping_data_1 = require("../libraries/process.gst.mapping.data");
22
+ const process_gst_mapping_list_1 = require("../libraries/process.gst.mapping.list");
23
+ const business_param_dto_1 = require("../dtos/business.param.dto");
24
+ const process_db_find_1 = require("../libraries/process.db.find");
25
+ const listing_service_1 = require("../services/listing.service");
26
+ const access_business_service_1 = require("../services/access.business.service");
27
+ const add_gst_mapping_dto_1 = require("../dtos/add.gst.mapping.dto");
28
+ let GstMappingController = class GstMappingController {
29
+ constructor(accessBusinessService, sqlService, listingService) {
30
+ this.accessBusinessService = accessBusinessService;
31
+ this.sqlService = sqlService;
32
+ this.listingService = listingService;
33
+ }
34
+ async search(body) {
35
+ const business = await this.accessBusinessService.validateAccess();
36
+ return new process_gst_mapping_list_1.ProcessGstMappingList(business, this.listingService).process(body);
37
+ }
38
+ async find(body) {
39
+ const business = await this.accessBusinessService.validateAccess();
40
+ const inputFilter = typeof body?.is_input === 'undefined' ? '' : `and a.is_input = ${body.is_input}`;
41
+ const rcmFilter = typeof body?.is_rcm === 'undefined' ? '' : `and a.is_rcm = ${body.is_rcm}`;
42
+ const gstStateFilter = body?.gst_state_id ? `and a.gst_state_id = ${body.gst_state_id}` : '';
43
+ const billingFilter = body?.billing_id ? `and a.billing_id = ${body.billing_id}` : '';
44
+ const typeFilter = body?.type_id ? `and a.type_id = ${body.type_id}` : '';
45
+ const config = {
46
+ tableName: 'utl_gst_mappings a left join utl_gst_states b on a.gst_state_id = b.id left join sys_lookup_values c on a.type_id = c.id left join act_billing_accounts d on a.billing_id = d.id',
47
+ primaryCondition: `a.deleted_at is null and a.business_id = ${business.id} ${inputFilter} ${rcmFilter} ${gstStateFilter} ${typeFilter} ${billingFilter}`,
48
+ searchCompareKeys: ['b.name', 'c.value', 'a.code'],
49
+ columns: [
50
+ 'a.id',
51
+ 'a.business_id',
52
+ 'a.gst_state_id',
53
+ 'a.billing_id',
54
+ 'a.type_id',
55
+ 'a.is_rcm',
56
+ 'a.is_input',
57
+ 'a.code',
58
+ 'b.name state_name',
59
+ 'c.value type',
60
+ 'd.name billing',
61
+ 'd.gstin billing_gstin',
62
+ ],
63
+ order: `a.id asc`,
64
+ idsCompareKey: 'a.id',
65
+ ...body,
66
+ };
67
+ return new process_db_find_1.ProcessDbFind(this.sqlService).process(config);
68
+ }
69
+ async show(params) {
70
+ const business = await this.accessBusinessService.validateAccess();
71
+ const record = await gst_mapping_entity_1.GstMappingEntity.first(params.id, {
72
+ relations: ['type', 'gst_state', 'billing'],
73
+ });
74
+ if (record?.business_id !== business.id)
75
+ throw new nestjs_utility_services_1.AccessException();
76
+ return record;
77
+ }
78
+ async set(body) {
79
+ const business = await this.accessBusinessService.validateAccess();
80
+ return new process_gst_mapping_data_1.ProcessGstMappingData(business).process(body);
81
+ }
82
+ };
83
+ exports.GstMappingController = GstMappingController;
84
+ __decorate([
85
+ (0, common_1.Post)('search'),
86
+ __param(0, (0, common_1.Body)()),
87
+ __metadata("design:type", Function),
88
+ __metadata("design:paramtypes", [gst_mapping_list_filter_dto_1.GstMappingListFilterDto]),
89
+ __metadata("design:returntype", Promise)
90
+ ], GstMappingController.prototype, "search", null);
91
+ __decorate([
92
+ (0, common_1.Post)('find'),
93
+ __param(0, (0, common_1.Body)()),
94
+ __metadata("design:type", Function),
95
+ __metadata("design:paramtypes", [gst_mapping_find_dto_1.GstMappingFindDto]),
96
+ __metadata("design:returntype", Promise)
97
+ ], GstMappingController.prototype, "find", null);
98
+ __decorate([
99
+ (0, common_1.Get)(':id'),
100
+ __param(0, (0, common_1.Param)()),
101
+ __metadata("design:type", Function),
102
+ __metadata("design:paramtypes", [business_param_dto_1.BusinessParamDto]),
103
+ __metadata("design:returntype", Promise)
104
+ ], GstMappingController.prototype, "show", null);
105
+ __decorate([
106
+ (0, common_1.Post)(),
107
+ __param(0, (0, common_1.Body)()),
108
+ __metadata("design:type", Function),
109
+ __metadata("design:paramtypes", [add_gst_mapping_dto_1.AddGstMappingDto]),
110
+ __metadata("design:returntype", Promise)
111
+ ], GstMappingController.prototype, "set", null);
112
+ exports.GstMappingController = GstMappingController = __decorate([
113
+ (0, common_1.Controller)('api/b/gst-mappings'),
114
+ __metadata("design:paramtypes", [access_business_service_1.AccessBusinessService,
115
+ nestjs_utility_services_1.SqlService,
116
+ listing_service_1.ListingService])
117
+ ], GstMappingController);
118
+ //# sourceMappingURL=gst.mapping.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gst.mapping.controller.js","sourceRoot":"","sources":["../../../src/access/controllers/gst.mapping.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAoE;AACpE,oFAAqF;AACrF,uEAAiE;AACjE,qFAA8E;AAC9E,uEAAkE;AAClE,oFAA8E;AAC9E,oFAA8E;AAC9E,mEAA8D;AAE9D,kEAA6D;AAC7D,iEAA6D;AAC7D,iFAA4E;AAC5E,qEAA+D;AAGxD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,YACqB,qBAA4C,EAC5C,UAAsB,EACtB,cAA8B;QAF9B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,eAAU,GAAV,UAAU,CAAY;QACtB,mBAA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,GAAE,CAAA;;qCAAO,wCAAiB;;gDAkCzC;AAGK;IADL,IAAA,YAAG,EAAC,KAAK,CAAC;IACC,WAAA,IAAA,cAAK,GAAE,CAAA;;qCAAS,qCAAgB;;gDAS3C;AAGK;IADL,IAAA,aAAI,GAAE;IACI,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sCAAgB;;+CAIvC;+BApEQ,oBAAoB;IADhC,IAAA,mBAAU,EAAC,oBAAoB,CAAC;qCAGe,+CAAqB;QAChC,oCAAU;QACN,gCAAc;GAJ1C,oBAAoB,CAqEhC"}
@@ -25,6 +25,7 @@ export * from './email.rule.controller';
25
25
  export * from './fcm.token.controller';
26
26
  export * from './group.member.controller';
27
27
  export * from './group.role.controller';
28
+ export * from './gst.mapping.controller';
28
29
  export * from './listing.controller';
29
30
  export * from './listing.preference.controller';
30
31
  export * from './scheduled.report.controller';
@@ -41,6 +41,7 @@ __exportStar(require("./email.rule.controller"), exports);
41
41
  __exportStar(require("./fcm.token.controller"), exports);
42
42
  __exportStar(require("./group.member.controller"), exports);
43
43
  __exportStar(require("./group.role.controller"), exports);
44
+ __exportStar(require("./gst.mapping.controller"), exports);
44
45
  __exportStar(require("./listing.controller"), exports);
45
46
  __exportStar(require("./listing.preference.controller"), exports);
46
47
  __exportStar(require("./scheduled.report.controller"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,wEAAsD;AAAA,8DAA4C;AAAA,wFAAsE;AAAA,mEAAiD;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,mEAAiD;AAAA,qFAAmE;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,+DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,wEAAsD;AAAA,8DAA4C;AAAA,wFAAsE;AAAA,mEAAiD;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,mEAAiD;AAAA,qFAAmE;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,iEAA+C;AAAA,mEAAiD;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,8DAA4C;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,yDAAuC;AAAA,4DAA0C;AAAA,0DAAwC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,qEAAmD;AAAA,mDAAiC;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,+DAA4C"}
@@ -0,0 +1,9 @@
1
+ import { IdPayloadDto } from '../../accessUtility/dtos/id.payload.dto';
2
+ export declare class AddGstMappingDto extends IdPayloadDto {
3
+ billing_id?: number;
4
+ type_id: number;
5
+ is_rcm: boolean;
6
+ is_input: boolean;
7
+ code: string;
8
+ gst_state_id?: number;
9
+ }
@@ -0,0 +1,54 @@
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
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AddGstMappingDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const id_payload_dto_1 = require("../../accessUtility/dtos/id.payload.dto");
16
+ class AddGstMappingDto extends id_payload_dto_1.IdPayloadDto {
17
+ }
18
+ exports.AddGstMappingDto = AddGstMappingDto;
19
+ __decorate([
20
+ (0, class_transformer_1.Expose)(),
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ (0, class_validator_1.IsNumber)(),
23
+ __metadata("design:type", Number)
24
+ ], AddGstMappingDto.prototype, "billing_id", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ (0, class_validator_1.IsNotEmpty)(),
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], AddGstMappingDto.prototype, "type_id", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ (0, class_validator_1.IsNotEmpty)(),
34
+ (0, class_validator_1.IsBoolean)(),
35
+ __metadata("design:type", Boolean)
36
+ ], AddGstMappingDto.prototype, "is_rcm", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ (0, class_validator_1.IsNotEmpty)(),
40
+ (0, class_validator_1.IsBoolean)(),
41
+ __metadata("design:type", Boolean)
42
+ ], AddGstMappingDto.prototype, "is_input", void 0);
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ (0, class_validator_1.IsNotEmpty)(),
46
+ __metadata("design:type", String)
47
+ ], AddGstMappingDto.prototype, "code", void 0);
48
+ __decorate([
49
+ (0, class_transformer_1.Expose)(),
50
+ (0, class_validator_1.IsNotEmpty)(),
51
+ (0, class_validator_1.IsNumber)(),
52
+ __metadata("design:type", Number)
53
+ ], AddGstMappingDto.prototype, "gst_state_id", void 0);
54
+ //# sourceMappingURL=add.gst.mapping.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add.gst.mapping.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/add.gst.mapping.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAAkE;AAClE,4EAAuE;AAEvE,MAAa,gBAAiB,SAAQ,6BAAY;CA6BjD;AA7BD,4CA6BC;AAzBG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK;AAKhB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;gDACI;AAKhB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;kDACM;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;8CACA;AAKb;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACW"}
@@ -0,0 +1,3 @@
1
+ import { CommonAttributesDto } from '@servicelabsco/nestjs-utility-services';
2
+ export declare class GstMappingAttributesDto extends CommonAttributesDto {
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GstMappingAttributesDto = void 0;
4
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
5
+ class GstMappingAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
6
+ }
7
+ exports.GstMappingAttributesDto = GstMappingAttributesDto;
8
+ //# sourceMappingURL=gst.mapping.attributes.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gst.mapping.attributes.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/gst.mapping.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAE7E,MAAa,uBAAwB,SAAQ,6CAAmB;CAAG;AAAnE,0DAAmE"}
@@ -0,0 +1,8 @@
1
+ import { DbFindDto } from './db.find.dto';
2
+ export declare class GstMappingFindDto extends DbFindDto {
3
+ is_input?: boolean;
4
+ is_rcm?: boolean;
5
+ gst_state_id?: number;
6
+ type_id?: number;
7
+ billing_id?: number;
8
+ }
@@ -0,0 +1,49 @@
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
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GstMappingFindDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const db_find_dto_1 = require("./db.find.dto");
16
+ class GstMappingFindDto extends db_find_dto_1.DbFindDto {
17
+ }
18
+ exports.GstMappingFindDto = GstMappingFindDto;
19
+ __decorate([
20
+ (0, class_transformer_1.Expose)(),
21
+ (0, class_validator_1.IsOptional)(),
22
+ (0, class_validator_1.IsBoolean)(),
23
+ __metadata("design:type", Boolean)
24
+ ], GstMappingFindDto.prototype, "is_input", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsBoolean)(),
29
+ __metadata("design:type", Boolean)
30
+ ], GstMappingFindDto.prototype, "is_rcm", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsNumber)(),
35
+ __metadata("design:type", Number)
36
+ ], GstMappingFindDto.prototype, "gst_state_id", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsNumber)(),
41
+ __metadata("design:type", Number)
42
+ ], GstMappingFindDto.prototype, "type_id", void 0);
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ (0, class_validator_1.IsOptional)(),
46
+ (0, class_validator_1.IsNumber)(),
47
+ __metadata("design:type", Number)
48
+ ], GstMappingFindDto.prototype, "billing_id", void 0);
49
+ //# sourceMappingURL=gst.mapping.find.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gst.mapping.find.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/gst.mapping.find.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA0E;AAC1E,+CAA0C;AAE1C,MAAa,iBAAkB,SAAQ,uBAAS;CAyB/C;AAzBD,8CAyBC;AArBG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;mDACO;AAKnB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;iDACK;AAKjB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACW;AAKtB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACM;AAKjB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACS"}
@@ -0,0 +1,8 @@
1
+ import { CommonListFilterDto } from './common.list.filter.dto';
2
+ export declare class GstMappingListFilterDto extends CommonListFilterDto {
3
+ billing_id?: number;
4
+ gst_state_id?: number;
5
+ type_id?: number;
6
+ is_rcm?: boolean;
7
+ is_input?: boolean;
8
+ }
@@ -0,0 +1,49 @@
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
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GstMappingListFilterDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const common_list_filter_dto_1 = require("./common.list.filter.dto");
16
+ class GstMappingListFilterDto extends common_list_filter_dto_1.CommonListFilterDto {
17
+ }
18
+ exports.GstMappingListFilterDto = GstMappingListFilterDto;
19
+ __decorate([
20
+ (0, class_transformer_1.Expose)(),
21
+ (0, class_validator_1.IsOptional)(),
22
+ (0, class_validator_1.IsNumber)(),
23
+ __metadata("design:type", Number)
24
+ ], GstMappingListFilterDto.prototype, "billing_id", void 0);
25
+ __decorate([
26
+ (0, class_transformer_1.Expose)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], GstMappingListFilterDto.prototype, "gst_state_id", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Expose)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsNumber)(),
35
+ __metadata("design:type", Number)
36
+ ], GstMappingListFilterDto.prototype, "type_id", void 0);
37
+ __decorate([
38
+ (0, class_transformer_1.Expose)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsBoolean)(),
41
+ __metadata("design:type", Boolean)
42
+ ], GstMappingListFilterDto.prototype, "is_rcm", void 0);
43
+ __decorate([
44
+ (0, class_transformer_1.Expose)(),
45
+ (0, class_validator_1.IsOptional)(),
46
+ (0, class_validator_1.IsBoolean)(),
47
+ __metadata("design:type", Boolean)
48
+ ], GstMappingListFilterDto.prototype, "is_input", void 0);
49
+ //# sourceMappingURL=gst.mapping.list.filter.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gst.mapping.list.filter.dto.js","sourceRoot":"","sources":["../../../src/access/dtos/gst.mapping.list.filter.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA0E;AAC1E,qEAA+D;AAE/D,MAAa,uBAAwB,SAAQ,4CAAmB;CAyB/D;AAzBD,0DAyBC;AArBG;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS;AAKpB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACW;AAKtB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACM;AAKjB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uDACK;AAKjB;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACO"}
@@ -14,6 +14,7 @@ export * from './add.dashboard.component.dto';
14
14
  export * from './add.dashboard.component.properties.dto';
15
15
  export * from './add.email.rule.dto';
16
16
  export * from './add.group.member.dto';
17
+ export * from './add.gst.mapping.dto';
17
18
  export * from './add.integration.preference.dto';
18
19
  export * from './add.listing.preference.dto';
19
20
  export * from './add.notification.channel.preference.dto';
@@ -104,6 +105,9 @@ export * from './group.member.attributes.dto';
104
105
  export * from './group.member.list.filter.dto';
105
106
  export * from './group.role.attributes.dto';
106
107
  export * from './group.role.list.filter.dto';
108
+ export * from './gst.mapping.attributes.dto';
109
+ export * from './gst.mapping.find.dto';
110
+ export * from './gst.mapping.list.filter.dto';
107
111
  export * from './list.preference.attributes.dto';
108
112
  export * from './list.response.dto';
109
113
  export * from './list.response.format.dto';
@@ -30,6 +30,7 @@ __exportStar(require("./add.dashboard.component.dto"), exports);
30
30
  __exportStar(require("./add.dashboard.component.properties.dto"), exports);
31
31
  __exportStar(require("./add.email.rule.dto"), exports);
32
32
  __exportStar(require("./add.group.member.dto"), exports);
33
+ __exportStar(require("./add.gst.mapping.dto"), exports);
33
34
  __exportStar(require("./add.integration.preference.dto"), exports);
34
35
  __exportStar(require("./add.listing.preference.dto"), exports);
35
36
  __exportStar(require("./add.notification.channel.preference.dto"), exports);
@@ -120,6 +121,9 @@ __exportStar(require("./group.member.attributes.dto"), exports);
120
121
  __exportStar(require("./group.member.list.filter.dto"), exports);
121
122
  __exportStar(require("./group.role.attributes.dto"), exports);
122
123
  __exportStar(require("./group.role.list.filter.dto"), exports);
124
+ __exportStar(require("./gst.mapping.attributes.dto"), exports);
125
+ __exportStar(require("./gst.mapping.find.dto"), exports);
126
+ __exportStar(require("./gst.mapping.list.filter.dto"), exports);
123
127
  __exportStar(require("./list.preference.attributes.dto"), exports);
124
128
  __exportStar(require("./list.response.dto"), exports);
125
129
  __exportStar(require("./list.response.format.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAAA,mEAAiD;AAAA,wDAAsC;AAAA,qEAAmD;AAAA,gEAA8C;AAAA,4DAA0C;AAAA,gEAA8C;AAAA,kFAAgE;AAAA,wDAAsC;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,yDAAuC;AAAA,gEAA8C;AAAA,2EAAyD;AAAA,uDAAqC;AAAA,yDAAuC;AAAA,mEAAiD;AAAA,+DAA6C;AAAA,4EAA0D;AAAA,iDAA+B;AAAA,6DAA2C;AAAA,sDAAoC;AAAA,gDAA8B;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,oDAAkC;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,6DAA2C;AAAA,2EAAyD;AAAA,qEAAmD;AAAA,gEAA8C;AAAA,4EAA0D;AAAA,uFAAqE;AAAA,iFAA+D;AAAA,qFAAmE;AAAA,kEAAgD;AAAA,mEAAiD;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,6FAA2E;AAAA,uDAAqC;AAAA,uEAAqD;AAAA,qEAAmD;AAAA,mEAAiD;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,uEAAqD;AAAA,wEAAsD;AAAA,yFAAuE;AAAA,0FAAwE;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,sFAAoE;AAAA,8DAA4C;AAAA,+DAA6C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,iEAA+C;AAAA,6DAA2C;AAAA,uEAAqD;AAAA,oDAAkC;AAAA,0DAAwC;AAAA,gDAA8B;AAAA,wDAAsC;AAAA,mEAAiD;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,mDAAiC;AAAA,oEAAkD;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A4C;AAAA,kEAAgD;AAAA,8DAA4C;AAAA,iEAA+C;AAAA,yEAAuD;AAAA,sDAAoC;AAAA,oDAAkC;AAAA,sDAAoC;AAAA,6DAA2C;AAAA,kEAAgD;AAAA,wDAAsC;AAAA,wEAAsD;AAAA,qEAAmD;AAAA,sEAAoD;AAAA,mEAAiD;AAAA,6DAA2C;AAAA,wEAAsD;AAAA,iEAA+C;AAAA,+DAA6C;AAAA,gEAA8C;AAAA,gEAA8C;AAAA,oEAAkD;AAAA,iEAA+C;AAAA,qEAAmD;AAAA,+EAA4D"}
@@ -0,0 +1,12 @@
1
+ import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
2
+ import { GstMappingAttributesDto } from '../dtos/gst.mapping.attributes.dto';
3
+ export declare class GstMappingEntity extends CommonEntity {
4
+ business_id: number;
5
+ billing_id: number;
6
+ gst_state_id: number;
7
+ type_id: number;
8
+ is_rcm: boolean;
9
+ is_input: boolean;
10
+ code: string;
11
+ attributes: GstMappingAttributesDto;
12
+ }
@@ -0,0 +1,54 @@
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
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GstMappingEntity = void 0;
13
+ const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
14
+ const typeorm_1 = require("typeorm");
15
+ const gst_mapping_attributes_dto_1 = require("../dtos/gst.mapping.attributes.dto");
16
+ let GstMappingEntity = class GstMappingEntity extends nestjs_utility_services_1.CommonEntity {
17
+ };
18
+ exports.GstMappingEntity = GstMappingEntity;
19
+ __decorate([
20
+ (0, typeorm_1.Column)(),
21
+ __metadata("design:type", Number)
22
+ ], GstMappingEntity.prototype, "business_id", void 0);
23
+ __decorate([
24
+ (0, typeorm_1.Column)(),
25
+ __metadata("design:type", Number)
26
+ ], GstMappingEntity.prototype, "billing_id", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)(),
29
+ __metadata("design:type", Number)
30
+ ], GstMappingEntity.prototype, "gst_state_id", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)(),
33
+ __metadata("design:type", Number)
34
+ ], GstMappingEntity.prototype, "type_id", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)(),
37
+ __metadata("design:type", Boolean)
38
+ ], GstMappingEntity.prototype, "is_rcm", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)(),
41
+ __metadata("design:type", Boolean)
42
+ ], GstMappingEntity.prototype, "is_input", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)(),
45
+ __metadata("design:type", String)
46
+ ], GstMappingEntity.prototype, "code", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)('json'),
49
+ __metadata("design:type", gst_mapping_attributes_dto_1.GstMappingAttributesDto)
50
+ ], GstMappingEntity.prototype, "attributes", void 0);
51
+ exports.GstMappingEntity = GstMappingEntity = __decorate([
52
+ (0, typeorm_1.Entity)('utl_gst_mappings')
53
+ ], GstMappingEntity);
54
+ //# sourceMappingURL=gst.mapping.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gst.mapping.entity.js","sourceRoot":"","sources":["../../../src/access/entities/gst.mapping.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAyF;AACzF,qCAAgE;AAChE,mFAA6E;AAStE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,sCAAY;CA0BjD,CAAA;AA1BY,4CAAgB;AAEzB;IADC,IAAA,gBAAM,GAAE;;qDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;oDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;sDACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;iDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;gDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;kDACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;8CACI;AAGb;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,oDAAuB;oDAAC;2BAvB3B,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,gBAAgB,CA0B5B"}
@@ -48,6 +48,7 @@ export * from './gchat.webhook.entity';
48
48
  export * from './gchat.webhook.message.entity';
49
49
  export * from './group.member.entity';
50
50
  export * from './group.role.entity';
51
+ export * from './gst.mapping.entity';
51
52
  export * from './list.preference.entity';
52
53
  export * from './listing.column.entity';
53
54
  export * from './listing.page.entity';
@@ -64,6 +64,7 @@ __exportStar(require("./gchat.webhook.entity"), exports);
64
64
  __exportStar(require("./gchat.webhook.message.entity"), exports);
65
65
  __exportStar(require("./group.member.entity"), exports);
66
66
  __exportStar(require("./group.role.entity"), exports);
67
+ __exportStar(require("./gst.mapping.entity"), exports);
67
68
  __exportStar(require("./list.preference.entity"), exports);
68
69
  __exportStar(require("./listing.column.entity"), exports);
69
70
  __exportStar(require("./listing.page.entity"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/access/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,2DAAyC;AAAA,uDAAqC;AAAA,2DAAyC;AAAA,+EAA6D;AAAA,oEAAkD;AAAA,6EAA2D;AAAA,wEAAsD;AAAA,0DAAwC;AAAA,4DAA0C;AAAA,+DAA6C;AAAA,yDAAuC;AAAA,+DAA6C;AAA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