@fiado/type-kit 3.540.0 → 3.541.0
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.
- package/_test_/unit/rules/populationDtos.test.ts +58 -0
- package/_test_/unit/rules/populationMove.test.ts +31 -0
- package/bin/rewardsEligibility/constants/SegmentLimits.d.ts +1 -5
- package/bin/rewardsEligibility/constants/SegmentLimits.js +15 -6
- package/bin/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.d.ts +1 -8
- package/bin/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.js +14 -37
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.d.ts +1 -18
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.js +14 -68
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.d.ts +1 -11
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.js +14 -43
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.d.ts +1 -9
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.js +14 -41
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentParam.d.ts +1 -10
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentParam.js +15 -5
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.d.ts +1 -10
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.js +15 -8
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.d.ts +1 -12
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.js +15 -7
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.d.ts +1 -5
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.js +15 -4
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.d.ts +1 -5
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.js +14 -28
- package/bin/rewardsEligibility/enums/SegmentAggregateFnEnum.d.ts +1 -5
- package/bin/rewardsEligibility/enums/SegmentAggregateFnEnum.js +15 -7
- package/bin/rewardsEligibility/enums/SegmentConditionKindEnum.d.ts +1 -4
- package/bin/rewardsEligibility/enums/SegmentConditionKindEnum.js +15 -6
- package/bin/rewardsEligibility/enums/SegmentMatchEnum.d.ts +1 -4
- package/bin/rewardsEligibility/enums/SegmentMatchEnum.js +15 -6
- package/bin/rewardsEligibility/enums/SegmentOperatorEnum.d.ts +1 -16
- package/bin/rewardsEligibility/enums/SegmentOperatorEnum.js +15 -18
- package/bin/rewardsEligibility/enums/SegmentParamSourceEnum.d.ts +1 -5
- package/bin/rewardsEligibility/enums/SegmentParamSourceEnum.js +15 -7
- package/bin/rewardsEligibility/enums/SegmentParamTypeEnum.d.ts +1 -7
- package/bin/rewardsEligibility/enums/SegmentParamTypeEnum.js +15 -9
- package/bin/rules/constants/SegmentLimits.d.ts +5 -0
- package/bin/rules/constants/SegmentLimits.js +8 -0
- package/bin/rules/dtos/population/PopulationCompileRequest.d.ts +6 -0
- package/bin/rules/dtos/population/PopulationCompileRequest.js +32 -0
- package/bin/rules/dtos/population/PopulationCompileResponse.d.ts +9 -0
- package/bin/rules/dtos/population/PopulationCompileResponse.js +6 -0
- package/bin/rules/dtos/population/PopulationExecutionPageResponse.d.ts +10 -0
- package/bin/rules/dtos/population/PopulationExecutionPageResponse.js +7 -0
- package/bin/rules/dtos/population/PopulationExecutionRequest.d.ts +10 -0
- package/bin/rules/dtos/population/PopulationExecutionRequest.js +59 -0
- package/bin/rules/dtos/population/PopulationExecutionResponse.d.ts +5 -0
- package/bin/rules/dtos/population/PopulationExecutionResponse.js +6 -0
- package/bin/rules/dtos/population/PopulationSegmentDefinition.d.ts +8 -0
- package/bin/rules/dtos/population/PopulationSegmentDefinition.js +40 -0
- package/bin/rules/dtos/population/PopulationTestRequest.d.ts +7 -0
- package/bin/rules/dtos/population/PopulationTestRequest.js +38 -0
- package/bin/rules/dtos/population/PopulationTestResponse.d.ts +26 -0
- package/bin/rules/dtos/population/PopulationTestResponse.js +13 -0
- package/bin/rules/dtos/population/SegmentAggregateCondition.d.ts +18 -0
- package/bin/rules/dtos/population/SegmentAggregateCondition.js +71 -0
- package/bin/rules/dtos/population/SegmentColumnCondition.d.ts +11 -0
- package/bin/rules/dtos/population/SegmentColumnCondition.js +46 -0
- package/bin/rules/dtos/population/SegmentGroup.d.ts +9 -0
- package/bin/rules/dtos/population/SegmentGroup.js +44 -0
- package/bin/rules/dtos/population/SegmentParam.d.ts +10 -0
- package/bin/rules/dtos/population/SegmentParam.js +7 -0
- package/bin/rules/dtos/population/SegmentSchemaResponse.d.ts +10 -0
- package/bin/rules/dtos/population/SegmentSchemaResponse.js +10 -0
- package/bin/rules/dtos/population/SegmentTableSchemaResponse.d.ts +12 -0
- package/bin/rules/dtos/population/SegmentTableSchemaResponse.js +9 -0
- package/bin/rules/dtos/population/SegmentUsedColumn.d.ts +5 -0
- package/bin/rules/dtos/population/SegmentUsedColumn.js +6 -0
- package/bin/rules/dtos/population/SegmentWindow.d.ts +5 -0
- package/bin/rules/dtos/population/SegmentWindow.js +31 -0
- package/bin/rules/enums/PopulationErrorCodeEnum.d.ts +12 -0
- package/bin/rules/enums/PopulationErrorCodeEnum.js +16 -0
- package/bin/rules/enums/PopulationExecutionStatusEnum.d.ts +6 -0
- package/bin/rules/enums/PopulationExecutionStatusEnum.js +10 -0
- package/bin/rules/enums/PopulationTestStatusEnum.d.ts +5 -0
- package/bin/rules/enums/PopulationTestStatusEnum.js +9 -0
- package/bin/rules/enums/SegmentAggregateFnEnum.d.ts +5 -0
- package/bin/rules/enums/SegmentAggregateFnEnum.js +9 -0
- package/bin/rules/enums/SegmentConditionKindEnum.d.ts +4 -0
- package/bin/rules/enums/SegmentConditionKindEnum.js +8 -0
- package/bin/rules/enums/SegmentMatchEnum.d.ts +4 -0
- package/bin/rules/enums/SegmentMatchEnum.js +8 -0
- package/bin/rules/enums/SegmentOperatorEnum.d.ts +16 -0
- package/bin/rules/enums/SegmentOperatorEnum.js +20 -0
- package/bin/rules/enums/SegmentParamSourceEnum.d.ts +5 -0
- package/bin/rules/enums/SegmentParamSourceEnum.js +9 -0
- package/bin/rules/enums/SegmentParamTypeEnum.d.ts +7 -0
- package/bin/rules/enums/SegmentParamTypeEnum.js +11 -0
- package/bin/rules/index.d.ts +26 -0
- package/bin/rules/index.js +28 -0
- package/package.json +1 -1
- package/src/rewardsEligibility/constants/SegmentLimits.ts +1 -5
- package/src/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.ts +1 -12
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.ts +1 -22
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.ts +1 -15
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.ts +1 -27
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentParam.ts +1 -11
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.ts +1 -11
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.ts +1 -14
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.ts +1 -5
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.ts +1 -9
- package/src/rewardsEligibility/enums/SegmentAggregateFnEnum.ts +1 -5
- package/src/rewardsEligibility/enums/SegmentConditionKindEnum.ts +1 -4
- package/src/rewardsEligibility/enums/SegmentMatchEnum.ts +1 -4
- package/src/rewardsEligibility/enums/SegmentOperatorEnum.ts +1 -16
- package/src/rewardsEligibility/enums/SegmentParamSourceEnum.ts +1 -5
- package/src/rewardsEligibility/enums/SegmentParamTypeEnum.ts +1 -7
- package/src/rules/constants/SegmentLimits.ts +5 -0
- package/src/rules/dtos/population/PopulationCompileRequest.ts +9 -0
- package/src/rules/dtos/population/PopulationCompileResponse.ts +10 -0
- package/src/rules/dtos/population/PopulationExecutionPageResponse.ts +11 -0
- package/src/rules/dtos/population/PopulationExecutionRequest.ts +13 -0
- package/src/rules/dtos/population/PopulationExecutionResponse.ts +6 -0
- package/src/rules/dtos/population/PopulationSegmentDefinition.ts +12 -0
- package/src/rules/dtos/population/PopulationTestRequest.ts +10 -0
- package/src/rules/dtos/population/PopulationTestResponse.ts +29 -0
- package/src/rules/dtos/population/SegmentAggregateCondition.ts +22 -0
- package/src/rules/dtos/population/SegmentColumnCondition.ts +15 -0
- package/src/rules/dtos/population/SegmentGroup.ts +27 -0
- package/src/rules/dtos/population/SegmentParam.ts +11 -0
- package/src/rules/dtos/population/SegmentSchemaResponse.ts +11 -0
- package/src/rules/dtos/population/SegmentTableSchemaResponse.ts +14 -0
- package/src/rules/dtos/population/SegmentUsedColumn.ts +5 -0
- package/src/rules/dtos/population/SegmentWindow.ts +9 -0
- package/src/rules/enums/PopulationErrorCodeEnum.ts +12 -0
- package/src/rules/enums/PopulationExecutionStatusEnum.ts +6 -0
- package/src/rules/enums/PopulationTestStatusEnum.ts +5 -0
- package/src/rules/enums/SegmentAggregateFnEnum.ts +5 -0
- package/src/rules/enums/SegmentConditionKindEnum.ts +4 -0
- package/src/rules/enums/SegmentMatchEnum.ts +4 -0
- package/src/rules/enums/SegmentOperatorEnum.ts +16 -0
- package/src/rules/enums/SegmentParamSourceEnum.ts +5 -0
- package/src/rules/enums/SegmentParamTypeEnum.ts +7 -0
- package/src/rules/index.ts +30 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
import { plainToInstance } from 'class-transformer';
|
|
3
|
+
import { validate } from 'class-validator';
|
|
4
|
+
import * as Rules from '../../../src/rules';
|
|
5
|
+
|
|
6
|
+
const definition = {
|
|
7
|
+
baseTable: 'remittanceusers', match: 'ALL',
|
|
8
|
+
groups: [{ match: 'ALL', conditions: [
|
|
9
|
+
{ kind: 'COLUMN', table: 'remittanceusers', column: 'status', op: 'EQUALS', value: 'ACTIVE' },
|
|
10
|
+
] }],
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const validExecution = {
|
|
14
|
+
definition,
|
|
15
|
+
referenceAt: '2026-10-16T10:00:00Z',
|
|
16
|
+
idempotencyKey: 'k'.repeat(32),
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const errorsOf = async (cls: new () => object, plain: object): Promise<number> =>
|
|
20
|
+
(await validate(plainToInstance(cls, plain, { excludeExtraneousValues: true }))).length;
|
|
21
|
+
|
|
22
|
+
describe('population DTOs', () => {
|
|
23
|
+
it('request de ejecucion valido -> 0 errores', async () => {
|
|
24
|
+
expect(await errorsOf(Rules.PopulationExecutionRequest, validExecution)).toBe(0);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
it('idempotencyKey de 31 caracteres -> error', async () => {
|
|
28
|
+
expect(await errorsOf(Rules.PopulationExecutionRequest, { ...validExecution, idempotencyKey: 'k'.repeat(31) })).toBeGreaterThan(0);
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
it('referenceAt "ayer" -> error', async () => {
|
|
32
|
+
expect(await errorsOf(Rules.PopulationExecutionRequest, { ...validExecution, referenceAt: 'ayer' })).toBeGreaterThan(0);
|
|
33
|
+
expect(await errorsOf(Rules.PopulationTestRequest, { definition, referenceAt: 'ayer' })).toBeGreaterThan(0);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
it('afterDirectoryId vacio -> error', async () => {
|
|
37
|
+
expect(await errorsOf(Rules.PopulationExecutionRequest, { ...validExecution, afterDirectoryId: '' })).toBeGreaterThan(0);
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
it('definition ausente -> error', async () => {
|
|
41
|
+
expect(await errorsOf(Rules.PopulationCompileRequest, { consumer: 'x' })).toBeGreaterThan(0);
|
|
42
|
+
expect(await errorsOf(Rules.PopulationTestRequest, {})).toBeGreaterThan(0);
|
|
43
|
+
expect(await errorsOf(Rules.PopulationExecutionRequest, { ...validExecution, definition: undefined })).toBeGreaterThan(0);
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
it('compile y test validos -> 0 errores', async () => {
|
|
47
|
+
expect(await errorsOf(Rules.PopulationCompileRequest, { definition })).toBe(0);
|
|
48
|
+
expect(await errorsOf(Rules.PopulationTestRequest, { definition, referenceAt: '2026-10-16T10:00:00Z' })).toBe(0);
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
it('enums: codigos de error coinciden con SegmentErrorCodeEnum y valor = nombre', async () => {
|
|
52
|
+
const codes = Object.keys(Rules.PopulationErrorCodeEnum);
|
|
53
|
+
expect(codes).toHaveLength(9);
|
|
54
|
+
codes.forEach((k) => expect(Rules.PopulationErrorCodeEnum[k as keyof typeof Rules.PopulationErrorCodeEnum]).toBe(k));
|
|
55
|
+
expect(Object.keys(Rules.PopulationTestStatusEnum)).toEqual(['RUNNING', 'PASSED', 'FAILED']);
|
|
56
|
+
expect(Object.keys(Rules.PopulationExecutionStatusEnum)).toEqual(['RUNNING', 'SUCCEEDED', 'FAILED', 'CANCELLED']);
|
|
57
|
+
});
|
|
58
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
import { plainToInstance } from 'class-transformer';
|
|
3
|
+
import { validate } from 'class-validator';
|
|
4
|
+
import * as Rules from '../../../src/rules';
|
|
5
|
+
import * as RewardsEligibility from '../../../src/rewardsEligibility';
|
|
6
|
+
|
|
7
|
+
const validDefinition = {
|
|
8
|
+
baseTable: 'remittanceusers', match: 'ALL',
|
|
9
|
+
groups: [{ match: 'ALL', conditions: [
|
|
10
|
+
{ kind: 'COLUMN', table: 'remittanceusers', column: 'status', op: 'EQUALS', value: 'ACTIVE' },
|
|
11
|
+
{ kind: 'AGGREGATE', table: 'remittancetransactions', fn: 'SUM', column: 'amountusd', op: 'GT', value: 100,
|
|
12
|
+
window: { dateColumn: 'createdat', days: 30 },
|
|
13
|
+
filters: [{ kind: 'COLUMN', table: 'remittancetransactions', column: 'status', op: 'EQUALS', value: 'PAYABLE' }] },
|
|
14
|
+
] }],
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
describe('population move rewardsEligibility -> rules', () => {
|
|
18
|
+
it('re-export preserva identidad de clases y enums', () => {
|
|
19
|
+
expect(Rules.PopulationSegmentDefinition).toBe(RewardsEligibility.PopulationSegmentDefinition);
|
|
20
|
+
expect(Rules.SegmentGroup).toBe(RewardsEligibility.SegmentGroup);
|
|
21
|
+
expect(Rules.SegmentOperatorEnum).toBe(RewardsEligibility.SegmentOperatorEnum);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it('plainToInstance discrimina por kind y valida sin errores', async () => {
|
|
25
|
+
const instance = plainToInstance(Rules.PopulationSegmentDefinition, validDefinition, { excludeExtraneousValues: true });
|
|
26
|
+
const [column, aggregate] = instance.groups[0].conditions;
|
|
27
|
+
expect(column).toBeInstanceOf(Rules.SegmentColumnCondition);
|
|
28
|
+
expect(aggregate).toBeInstanceOf(Rules.SegmentAggregateCondition);
|
|
29
|
+
expect(await validate(instance)).toHaveLength(0);
|
|
30
|
+
});
|
|
31
|
+
});
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SEGMENT_IDENTIFIER_PATTERN: RegExp;
|
|
3
|
-
export declare const SEGMENT_MAX_DAYS = 365;
|
|
4
|
-
export declare const SEGMENT_MAX_PARAMS = 40;
|
|
5
|
-
export declare const SEGMENT_MAX_AGGREGATES = 8;
|
|
1
|
+
export * from '../../rules/constants/SegmentLimits';
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
/** Identificador SQL permitido para tabla/columna (A§4.3 paso 1): minusculas, digitos y guion bajo; nunca texto libre. */
|
|
5
|
-
exports.SEGMENT_IDENTIFIER_PATTERN = /^[a-z_][a-z0-9_]*$/;
|
|
6
|
-
exports.SEGMENT_MAX_DAYS = 365;
|
|
7
|
-
exports.SEGMENT_MAX_PARAMS = 40;
|
|
8
|
-
exports.SEGMENT_MAX_AGGREGATES = 8;
|
|
17
|
+
__exportStar(require("../../rules/constants/SegmentLimits"), exports);
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { SegmentGroup } from './SegmentGroup';
|
|
3
|
-
/** El constructor tal cual (A§4.1): tabla ancla (una fila -> un directoryid), TODAS/ALGUNA global y grupos con su propio TODAS/ALGUNA. */
|
|
4
|
-
export declare class PopulationSegmentDefinition {
|
|
5
|
-
baseTable: string;
|
|
6
|
-
match: SegmentMatchEnum;
|
|
7
|
-
groups: SegmentGroup[];
|
|
8
|
-
}
|
|
1
|
+
export * from '../../../../rules/dtos/population/PopulationSegmentDefinition';
|
|
@@ -1,40 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
10
15
|
};
|
|
11
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const SegmentLimits_1 = require("../../../constants/SegmentLimits");
|
|
16
|
-
const SegmentMatchEnum_1 = require("../../../enums/SegmentMatchEnum");
|
|
17
|
-
const SegmentGroup_1 = require("./SegmentGroup");
|
|
18
|
-
/** El constructor tal cual (A§4.1): tabla ancla (una fila -> un directoryid), TODAS/ALGUNA global y grupos con su propio TODAS/ALGUNA. */
|
|
19
|
-
class PopulationSegmentDefinition {
|
|
20
|
-
}
|
|
21
|
-
exports.PopulationSegmentDefinition = PopulationSegmentDefinition;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
(0, class_validator_1.Matches)(SegmentLimits_1.SEGMENT_IDENTIFIER_PATTERN),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], PopulationSegmentDefinition.prototype, "baseTable", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
(0, class_validator_1.IsEnum)(SegmentMatchEnum_1.SegmentMatchEnum),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], PopulationSegmentDefinition.prototype, "match", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
(0, class_validator_1.IsArray)(),
|
|
35
|
-
(0, class_validator_1.ArrayMinSize)(1),
|
|
36
|
-
(0, class_validator_1.ArrayMaxSize)(10),
|
|
37
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
38
|
-
(0, class_transformer_1.Type)(() => SegmentGroup_1.SegmentGroup),
|
|
39
|
-
__metadata("design:type", Array)
|
|
40
|
-
], PopulationSegmentDefinition.prototype, "groups", void 0);
|
|
17
|
+
__exportStar(require("../../../../rules/dtos/population/PopulationSegmentDefinition"), exports);
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { SegmentConditionKindEnum } from '../../../enums/SegmentConditionKindEnum';
|
|
3
|
-
import { SegmentOperatorEnum } from '../../../enums/SegmentOperatorEnum';
|
|
4
|
-
import { SegmentColumnCondition } from './SegmentColumnCondition';
|
|
5
|
-
import { SegmentWindow } from './SegmentWindow';
|
|
6
|
-
/** (b) Agregado con ventana relativa sobre una tabla relacionada (existe / cuenta / suma). `filters` elige QUE cuenta (estados, moneda...). */
|
|
7
|
-
export declare class SegmentAggregateCondition {
|
|
8
|
-
kind: SegmentConditionKindEnum.AGGREGATE;
|
|
9
|
-
table: string;
|
|
10
|
-
fn: SegmentAggregateFnEnum;
|
|
11
|
-
/** Solo SUM. */
|
|
12
|
-
column?: string;
|
|
13
|
-
/** COUNT y SUM; EXISTS no lleva. */
|
|
14
|
-
op?: SegmentOperatorEnum;
|
|
15
|
-
value?: number;
|
|
16
|
-
window: SegmentWindow;
|
|
17
|
-
filters: SegmentColumnCondition[];
|
|
18
|
-
}
|
|
1
|
+
export * from '../../../../rules/dtos/population/SegmentAggregateCondition';
|
|
@@ -1,71 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
10
15
|
};
|
|
11
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const SegmentLimits_1 = require("../../../constants/SegmentLimits");
|
|
16
|
-
const SegmentAggregateFnEnum_1 = require("../../../enums/SegmentAggregateFnEnum");
|
|
17
|
-
const SegmentConditionKindEnum_1 = require("../../../enums/SegmentConditionKindEnum");
|
|
18
|
-
const SegmentOperatorEnum_1 = require("../../../enums/SegmentOperatorEnum");
|
|
19
|
-
const SegmentColumnCondition_1 = require("./SegmentColumnCondition");
|
|
20
|
-
const SegmentWindow_1 = require("./SegmentWindow");
|
|
21
|
-
/** (b) Agregado con ventana relativa sobre una tabla relacionada (existe / cuenta / suma). `filters` elige QUE cuenta (estados, moneda...). */
|
|
22
|
-
class SegmentAggregateCondition {
|
|
23
|
-
}
|
|
24
|
-
exports.SegmentAggregateCondition = SegmentAggregateCondition;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_transformer_1.Expose)(),
|
|
27
|
-
(0, class_validator_1.Equals)(SegmentConditionKindEnum_1.SegmentConditionKindEnum.AGGREGATE),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], SegmentAggregateCondition.prototype, "kind", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_transformer_1.Expose)(),
|
|
32
|
-
(0, class_validator_1.Matches)(SegmentLimits_1.SEGMENT_IDENTIFIER_PATTERN),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], SegmentAggregateCondition.prototype, "table", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_transformer_1.Expose)(),
|
|
37
|
-
(0, class_validator_1.IsEnum)(SegmentAggregateFnEnum_1.SegmentAggregateFnEnum),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], SegmentAggregateCondition.prototype, "fn", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
(0, class_validator_1.Matches)(SegmentLimits_1.SEGMENT_IDENTIFIER_PATTERN),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], SegmentAggregateCondition.prototype, "column", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, class_transformer_1.Expose)(),
|
|
48
|
-
(0, class_validator_1.IsOptional)(),
|
|
49
|
-
(0, class_validator_1.IsEnum)(SegmentOperatorEnum_1.SegmentOperatorEnum),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], SegmentAggregateCondition.prototype, "op", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, class_transformer_1.Expose)(),
|
|
54
|
-
(0, class_validator_1.IsOptional)(),
|
|
55
|
-
(0, class_validator_1.IsNumber)(),
|
|
56
|
-
__metadata("design:type", Number)
|
|
57
|
-
], SegmentAggregateCondition.prototype, "value", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
(0, class_validator_1.ValidateNested)(),
|
|
61
|
-
(0, class_transformer_1.Type)(() => SegmentWindow_1.SegmentWindow),
|
|
62
|
-
__metadata("design:type", SegmentWindow_1.SegmentWindow)
|
|
63
|
-
], SegmentAggregateCondition.prototype, "window", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, class_transformer_1.Expose)(),
|
|
66
|
-
(0, class_validator_1.IsArray)(),
|
|
67
|
-
(0, class_validator_1.ArrayMaxSize)(10),
|
|
68
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
69
|
-
(0, class_transformer_1.Type)(() => SegmentColumnCondition_1.SegmentColumnCondition),
|
|
70
|
-
__metadata("design:type", Array)
|
|
71
|
-
], SegmentAggregateCondition.prototype, "filters", void 0);
|
|
17
|
+
__exportStar(require("../../../../rules/dtos/population/SegmentAggregateCondition"), exports);
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { SegmentConditionKindEnum } from '../../../enums/SegmentConditionKindEnum';
|
|
3
|
-
import { SegmentOperatorEnum } from '../../../enums/SegmentOperatorEnum';
|
|
4
|
-
/** (a) Columna de una tabla unida por `directoryid`. El tipo de `value` (escalar, lista o `{days}`) lo valida el compilador contra el tipo de Glue. */
|
|
5
|
-
export declare class SegmentColumnCondition {
|
|
6
|
-
kind: SegmentConditionKindEnum.COLUMN;
|
|
7
|
-
table: string;
|
|
8
|
-
column: string;
|
|
9
|
-
op: SegmentOperatorEnum;
|
|
10
|
-
value?: JsonValue;
|
|
11
|
-
}
|
|
1
|
+
export * from '../../../../rules/dtos/population/SegmentColumnCondition';
|
|
@@ -1,46 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
10
15
|
};
|
|
11
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const SegmentLimits_1 = require("../../../constants/SegmentLimits");
|
|
16
|
-
const SegmentConditionKindEnum_1 = require("../../../enums/SegmentConditionKindEnum");
|
|
17
|
-
const SegmentOperatorEnum_1 = require("../../../enums/SegmentOperatorEnum");
|
|
18
|
-
/** (a) Columna de una tabla unida por `directoryid`. El tipo de `value` (escalar, lista o `{days}`) lo valida el compilador contra el tipo de Glue. */
|
|
19
|
-
class SegmentColumnCondition {
|
|
20
|
-
}
|
|
21
|
-
exports.SegmentColumnCondition = SegmentColumnCondition;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
(0, class_validator_1.Equals)(SegmentConditionKindEnum_1.SegmentConditionKindEnum.COLUMN),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], SegmentColumnCondition.prototype, "kind", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
(0, class_validator_1.Matches)(SegmentLimits_1.SEGMENT_IDENTIFIER_PATTERN),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], SegmentColumnCondition.prototype, "table", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_transformer_1.Expose)(),
|
|
34
|
-
(0, class_validator_1.Matches)(SegmentLimits_1.SEGMENT_IDENTIFIER_PATTERN),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], SegmentColumnCondition.prototype, "column", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_transformer_1.Expose)(),
|
|
39
|
-
(0, class_validator_1.IsEnum)(SegmentOperatorEnum_1.SegmentOperatorEnum),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], SegmentColumnCondition.prototype, "op", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_transformer_1.Expose)(),
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], SegmentColumnCondition.prototype, "value", void 0);
|
|
17
|
+
__exportStar(require("../../../../rules/dtos/population/SegmentColumnCondition"), exports);
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { SegmentAggregateCondition } from './SegmentAggregateCondition';
|
|
3
|
-
import { SegmentColumnCondition } from './SegmentColumnCondition';
|
|
4
|
-
export type SegmentCondition = SegmentColumnCondition | SegmentAggregateCondition;
|
|
5
|
-
export declare class SegmentGroup {
|
|
6
|
-
match: SegmentMatchEnum;
|
|
7
|
-
/** `kind` decide la clase; un `kind` desconocido NO se instancia y la validacion lo rechaza (el objeto queda sin `@Equals` valido). */
|
|
8
|
-
conditions: SegmentCondition[];
|
|
9
|
-
}
|
|
1
|
+
export * from '../../../../rules/dtos/population/SegmentGroup';
|
|
@@ -1,44 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
10
15
|
};
|
|
11
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const SegmentConditionKindEnum_1 = require("../../../enums/SegmentConditionKindEnum");
|
|
16
|
-
const SegmentMatchEnum_1 = require("../../../enums/SegmentMatchEnum");
|
|
17
|
-
const SegmentAggregateCondition_1 = require("./SegmentAggregateCondition");
|
|
18
|
-
const SegmentColumnCondition_1 = require("./SegmentColumnCondition");
|
|
19
|
-
class SegmentGroup {
|
|
20
|
-
}
|
|
21
|
-
exports.SegmentGroup = SegmentGroup;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
(0, class_validator_1.IsEnum)(SegmentMatchEnum_1.SegmentMatchEnum),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], SegmentGroup.prototype, "match", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
(0, class_validator_1.IsArray)(),
|
|
30
|
-
(0, class_validator_1.ArrayMinSize)(1),
|
|
31
|
-
(0, class_validator_1.ArrayMaxSize)(20),
|
|
32
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
33
|
-
(0, class_transformer_1.Type)(() => Object, {
|
|
34
|
-
keepDiscriminatorProperty: true,
|
|
35
|
-
discriminator: {
|
|
36
|
-
property: 'kind',
|
|
37
|
-
subTypes: [
|
|
38
|
-
{ value: SegmentColumnCondition_1.SegmentColumnCondition, name: SegmentConditionKindEnum_1.SegmentConditionKindEnum.COLUMN },
|
|
39
|
-
{ value: SegmentAggregateCondition_1.SegmentAggregateCondition, name: SegmentConditionKindEnum_1.SegmentConditionKindEnum.AGGREGATE },
|
|
40
|
-
],
|
|
41
|
-
},
|
|
42
|
-
}),
|
|
43
|
-
__metadata("design:type", Array)
|
|
44
|
-
], SegmentGroup.prototype, "conditions", void 0);
|
|
17
|
+
__exportStar(require("../../../../rules/dtos/population/SegmentGroup"), exports);
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { SegmentParamTypeEnum } from '../../../enums/SegmentParamTypeEnum';
|
|
3
|
-
/** Un `?` del SQL, en orden. LITERAL lleva `value` como texto canonico; REFERENCE_AT_MINUS_DAYS lleva `days`. */
|
|
4
|
-
export declare class SegmentParam {
|
|
5
|
-
name: string;
|
|
6
|
-
type: SegmentParamTypeEnum;
|
|
7
|
-
source: SegmentParamSourceEnum;
|
|
8
|
-
value?: string;
|
|
9
|
-
days?: number;
|
|
10
|
-
}
|
|
1
|
+
export * from '../../../../rules/dtos/population/SegmentParam';
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
/** Un `?` del SQL, en orden. LITERAL lleva `value` como texto canonico; REFERENCE_AT_MINUS_DAYS lleva `days`. */
|
|
5
|
-
class SegmentParam {
|
|
6
|
-
}
|
|
7
|
-
exports.SegmentParam = SegmentParam;
|
|
17
|
+
__exportStar(require("../../../../rules/dtos/population/SegmentParam"), exports);
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
table: string;
|
|
3
|
-
joinKey: string;
|
|
4
|
-
columnCount: number;
|
|
5
|
-
}
|
|
6
|
-
/** `available: false` = ambiente sin datalake accesible: el constructor muestra "no disponible". */
|
|
7
|
-
export declare class SegmentSchemaResponse {
|
|
8
|
-
available: boolean;
|
|
9
|
-
tables: SegmentSchemaTableResponse[];
|
|
10
|
-
}
|
|
1
|
+
export * from '../../../../rules/dtos/population/SegmentSchemaResponse';
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
class SegmentSchemaTableResponse {
|
|
5
|
-
}
|
|
6
|
-
exports.SegmentSchemaTableResponse = SegmentSchemaTableResponse;
|
|
7
|
-
/** `available: false` = ambiente sin datalake accesible: el constructor muestra "no disponible". */
|
|
8
|
-
class SegmentSchemaResponse {
|
|
9
|
-
}
|
|
10
|
-
exports.SegmentSchemaResponse = SegmentSchemaResponse;
|
|
17
|
+
__exportStar(require("../../../../rules/dtos/population/SegmentSchemaResponse"), exports);
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare class SegmentColumnSchemaResponse {
|
|
3
|
-
name: string;
|
|
4
|
-
type: string;
|
|
5
|
-
isDate: boolean;
|
|
6
|
-
operators: SegmentOperatorEnum[];
|
|
7
|
-
}
|
|
8
|
-
export declare class SegmentTableSchemaResponse {
|
|
9
|
-
table: string;
|
|
10
|
-
joinKey: string;
|
|
11
|
-
columns: SegmentColumnSchemaResponse[];
|
|
12
|
-
}
|
|
1
|
+
export * from '../../../../rules/dtos/population/SegmentTableSchemaResponse';
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
class SegmentColumnSchemaResponse {
|
|
5
|
-
}
|
|
6
|
-
exports.SegmentColumnSchemaResponse = SegmentColumnSchemaResponse;
|
|
7
|
-
class SegmentTableSchemaResponse {
|
|
8
|
-
}
|
|
9
|
-
exports.SegmentTableSchemaResponse = SegmentTableSchemaResponse;
|
|
17
|
+
__exportStar(require("../../../../rules/dtos/population/SegmentTableSchemaResponse"), exports);
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
class SegmentUsedColumn {
|
|
5
|
-
}
|
|
6
|
-
exports.SegmentUsedColumn = SegmentUsedColumn;
|
|
17
|
+
__exportStar(require("../../../../rules/dtos/population/SegmentUsedColumn"), exports);
|