@fiado/type-kit 3.528.0 → 3.530.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/emailVerification/dtos/EmailSetTrustedRequest.test.ts +16 -0
- package/_test_/unit/retailWizard/emailOtpRequests.test.ts +53 -0
- package/_test_/unit/retailWizard/wizardSessionEmail.test.ts +22 -0
- package/_test_/unit/rewardsEligibility/backofficeBarrel.test.ts +6 -0
- package/_test_/unit/rewardsEligibility/runDtos.test.ts +2 -2
- package/_test_/unit/rewardsEligibility/segmentBackofficeDtos.test.ts +29 -0
- package/_test_/unit/rewardsEligibility/segmentDefinitionDto.test.ts +46 -0
- package/_test_/unit/rewardsEligibility/segmentEnums.test.ts +43 -0
- package/_test_/unit/rewardsEligibility/segmentMessagesAndRunDtos.test.ts +52 -0
- package/bin/emailVerification/dtos/EmailSetTrustedRequest.d.ts +2 -0
- package/bin/emailVerification/dtos/EmailSetTrustedRequest.js +6 -0
- package/bin/retailWizard/dtos/WizardSession.d.ts +10 -0
- package/bin/retailWizard/dtos/requests/SendEmailOtpRequest.d.ts +6 -0
- package/bin/retailWizard/dtos/requests/SendEmailOtpRequest.js +29 -0
- package/bin/retailWizard/dtos/requests/VerifyEmailOtpRequest.d.ts +4 -0
- package/bin/retailWizard/dtos/requests/VerifyEmailOtpRequest.js +24 -0
- package/bin/retailWizard/enums/EmailStateEnum.d.ts +9 -0
- package/bin/retailWizard/enums/EmailStateEnum.js +13 -0
- package/bin/retailWizard/index.d.ts +3 -0
- package/bin/retailWizard/index.js +3 -0
- package/bin/rewardsEligibility/constants/BackofficeLimits.d.ts +2 -0
- package/bin/rewardsEligibility/constants/BackofficeLimits.js +3 -1
- package/bin/rewardsEligibility/constants/SegmentLimits.d.ts +5 -0
- package/bin/rewardsEligibility/constants/SegmentLimits.js +8 -0
- package/bin/rewardsEligibility/dtos/backoffice/CreateRunRequest.js +4 -2
- package/bin/rewardsEligibility/dtos/backoffice/EvaluationRequest.d.ts +4 -0
- package/bin/rewardsEligibility/dtos/backoffice/EvaluationRequest.js +14 -0
- package/bin/rewardsEligibility/dtos/backoffice/EvaluationResponse.d.ts +2 -0
- package/bin/rewardsEligibility/dtos/backoffice/PopulationRunRequest.d.ts +1 -3
- package/bin/rewardsEligibility/dtos/backoffice/PopulationRunRequest.js +1 -18
- package/bin/rewardsEligibility/dtos/backoffice/RunPopulationProgress.d.ts +9 -0
- package/bin/rewardsEligibility/dtos/backoffice/RunPopulationProgress.js +7 -0
- package/bin/rewardsEligibility/dtos/backoffice/RunResponse.d.ts +19 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.d.ts +8 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.js +40 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/PrivateSegmentResponse.d.ts +11 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/PrivateSegmentResponse.js +7 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.d.ts +18 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.js +71 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.d.ts +11 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.js +46 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionPageResponse.d.ts +8 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionPageResponse.js +6 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionRequest.d.ts +6 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionRequest.js +31 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionResponse.d.ts +7 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionResponse.js +6 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.d.ts +9 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.js +44 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentLastTest.d.ts +8 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentLastTest.js +6 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentListResponse.d.ts +9 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentListResponse.js +10 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentParam.d.ts +10 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentParam.js +7 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentSaveRequest.d.ts +13 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentSaveRequest.js +58 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.d.ts +10 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.js +10 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentStatusRequest.d.ts +6 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentStatusRequest.js +31 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.d.ts +12 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.js +9 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTestRequest.d.ts +4 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTestRequest.js +25 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTestResponse.d.ts +26 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentTestResponse.js +12 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentUsedByResponse.d.ts +21 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentUsedByResponse.js +12 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.d.ts +5 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.js +6 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentVersionListResponse.d.ts +4 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentVersionListResponse.js +6 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentVersionResponse.d.ts +24 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentVersionResponse.js +6 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentVersionSummaryResponse.d.ts +12 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentVersionSummaryResponse.js +7 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.d.ts +5 -0
- package/bin/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.js +31 -0
- package/bin/rewardsEligibility/dtos/messages/EvaluateBatchMessage.d.ts +14 -0
- package/bin/rewardsEligibility/dtos/messages/EvaluateBatchMessage.js +61 -0
- package/bin/rewardsEligibility/dtos/messages/GrantBatchMessage.d.ts +8 -0
- package/bin/rewardsEligibility/dtos/messages/GrantBatchMessage.js +42 -0
- package/bin/rewardsEligibility/dtos/messages/PopulationPageMessage.d.ts +6 -0
- package/bin/rewardsEligibility/dtos/messages/PopulationPageMessage.js +30 -0
- package/bin/rewardsEligibility/dtos/messages/ReleaseTrancheMessage.d.ts +6 -0
- package/bin/rewardsEligibility/dtos/messages/ReleaseTrancheMessage.js +30 -0
- package/bin/rewardsEligibility/enums/EligibilityMessageTypeEnum.d.ts +6 -0
- package/bin/rewardsEligibility/enums/EligibilityMessageTypeEnum.js +11 -0
- package/bin/rewardsEligibility/enums/SegmentAggregateFnEnum.d.ts +5 -0
- package/bin/rewardsEligibility/enums/SegmentAggregateFnEnum.js +9 -0
- package/bin/rewardsEligibility/enums/SegmentConditionKindEnum.d.ts +4 -0
- package/bin/rewardsEligibility/enums/SegmentConditionKindEnum.js +8 -0
- package/bin/rewardsEligibility/enums/SegmentErrorCodeEnum.d.ts +16 -0
- package/bin/rewardsEligibility/enums/SegmentErrorCodeEnum.js +20 -0
- package/bin/rewardsEligibility/enums/SegmentMatchEnum.d.ts +4 -0
- package/bin/rewardsEligibility/enums/SegmentMatchEnum.js +8 -0
- package/bin/rewardsEligibility/enums/SegmentOperatorEnum.d.ts +16 -0
- package/bin/rewardsEligibility/enums/SegmentOperatorEnum.js +20 -0
- package/bin/rewardsEligibility/enums/SegmentParamSourceEnum.d.ts +5 -0
- package/bin/rewardsEligibility/enums/SegmentParamSourceEnum.js +9 -0
- package/bin/rewardsEligibility/enums/SegmentParamTypeEnum.d.ts +7 -0
- package/bin/rewardsEligibility/enums/SegmentParamTypeEnum.js +11 -0
- package/bin/rewardsEligibility/enums/SegmentStatusEnum.d.ts +5 -0
- package/bin/rewardsEligibility/enums/SegmentStatusEnum.js +9 -0
- package/bin/rewardsEligibility/enums/SegmentTestStatusEnum.d.ts +5 -0
- package/bin/rewardsEligibility/enums/SegmentTestStatusEnum.js +9 -0
- package/bin/rewardsEligibility/index.d.ts +39 -0
- package/bin/rewardsEligibility/index.js +43 -0
- package/package.json +1 -1
- package/src/emailVerification/dtos/EmailSetTrustedRequest.ts +7 -1
- package/src/retailWizard/dtos/WizardSession.ts +10 -0
- package/src/retailWizard/dtos/requests/SendEmailOtpRequest.ts +14 -0
- package/src/retailWizard/dtos/requests/VerifyEmailOtpRequest.ts +10 -0
- package/src/retailWizard/enums/EmailStateEnum.ts +9 -0
- package/src/retailWizard/index.ts +3 -0
- package/src/rewardsEligibility/constants/BackofficeLimits.ts +2 -0
- package/src/rewardsEligibility/constants/SegmentLimits.ts +5 -0
- package/src/rewardsEligibility/dtos/backoffice/CreateRunRequest.ts +3 -2
- package/src/rewardsEligibility/dtos/backoffice/EvaluationRequest.ts +16 -2
- package/src/rewardsEligibility/dtos/backoffice/EvaluationResponse.ts +2 -0
- package/src/rewardsEligibility/dtos/backoffice/PopulationRunRequest.ts +2 -11
- package/src/rewardsEligibility/dtos/backoffice/RunPopulationProgress.ts +9 -0
- package/src/rewardsEligibility/dtos/backoffice/RunResponse.ts +12 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/PopulationSegmentDefinition.ts +12 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/PrivateSegmentResponse.ts +12 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentAggregateCondition.ts +22 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentColumnCondition.ts +15 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionPageResponse.ts +8 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionRequest.ts +17 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentExecutionResponse.ts +7 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentGroup.ts +27 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentLastTest.ts +8 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentListResponse.ts +11 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentParam.ts +11 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentSaveRequest.ts +16 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentSchemaResponse.ts +11 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentStatusRequest.ts +9 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentTableSchemaResponse.ts +14 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentTestRequest.ts +7 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentTestResponse.ts +29 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentUsedByResponse.ts +24 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentUsedColumn.ts +5 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentVersionListResponse.ts +5 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentVersionResponse.ts +25 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentVersionSummaryResponse.ts +13 -0
- package/src/rewardsEligibility/dtos/backoffice/segments/SegmentWindow.ts +9 -0
- package/src/rewardsEligibility/dtos/messages/EvaluateBatchMessage.ts +42 -0
- package/src/rewardsEligibility/dtos/messages/GrantBatchMessage.ts +25 -0
- package/src/rewardsEligibility/dtos/messages/PopulationPageMessage.ts +15 -0
- package/src/rewardsEligibility/dtos/messages/ReleaseTrancheMessage.ts +15 -0
- package/src/rewardsEligibility/enums/EligibilityMessageTypeEnum.ts +7 -0
- package/src/rewardsEligibility/enums/SegmentAggregateFnEnum.ts +5 -0
- package/src/rewardsEligibility/enums/SegmentConditionKindEnum.ts +4 -0
- package/src/rewardsEligibility/enums/SegmentErrorCodeEnum.ts +16 -0
- package/src/rewardsEligibility/enums/SegmentMatchEnum.ts +4 -0
- package/src/rewardsEligibility/enums/SegmentOperatorEnum.ts +16 -0
- package/src/rewardsEligibility/enums/SegmentParamSourceEnum.ts +5 -0
- package/src/rewardsEligibility/enums/SegmentParamTypeEnum.ts +7 -0
- package/src/rewardsEligibility/enums/SegmentStatusEnum.ts +5 -0
- package/src/rewardsEligibility/enums/SegmentTestStatusEnum.ts +5 -0
- package/src/rewardsEligibility/index.ts +47 -0
|
@@ -0,0 +1,25 @@
|
|
|
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.SegmentTestRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const PopulationSegmentDefinition_1 = require("./PopulationSegmentDefinition");
|
|
16
|
+
class SegmentTestRequest {
|
|
17
|
+
}
|
|
18
|
+
exports.SegmentTestRequest = SegmentTestRequest;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsDefined)(),
|
|
22
|
+
(0, class_validator_1.ValidateNested)(),
|
|
23
|
+
(0, class_transformer_1.Type)(() => PopulationSegmentDefinition_1.PopulationSegmentDefinition),
|
|
24
|
+
__metadata("design:type", PopulationSegmentDefinition_1.PopulationSegmentDefinition)
|
|
25
|
+
], SegmentTestRequest.prototype, "definition", void 0);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SegmentErrorCodeEnum } from '../../../enums/SegmentErrorCodeEnum';
|
|
2
|
+
import { SegmentTestStatusEnum } from '../../../enums/SegmentTestStatusEnum';
|
|
3
|
+
import { SegmentParam } from './SegmentParam';
|
|
4
|
+
export declare class SegmentTestResultResponse {
|
|
5
|
+
count: number;
|
|
6
|
+
/** Ids parciales (`a41f...09c2`), hasta 20. */
|
|
7
|
+
sampleIds: string[];
|
|
8
|
+
bytesScanned: number;
|
|
9
|
+
durationMs: number;
|
|
10
|
+
}
|
|
11
|
+
export declare class SegmentTestErrorResponse {
|
|
12
|
+
code: SegmentErrorCodeEnum;
|
|
13
|
+
message: string;
|
|
14
|
+
}
|
|
15
|
+
export declare class SegmentTestResponse {
|
|
16
|
+
testId: string;
|
|
17
|
+
status: SegmentTestStatusEnum;
|
|
18
|
+
referenceAt: string;
|
|
19
|
+
/** Resumen en lenguaje normal generado de forma determinista (sin IA). */
|
|
20
|
+
humanSummary: string;
|
|
21
|
+
/** SQL de solo lectura + params separados (la UI no deja editarlos). */
|
|
22
|
+
sql: string;
|
|
23
|
+
params: SegmentParam[];
|
|
24
|
+
result?: SegmentTestResultResponse;
|
|
25
|
+
errors?: SegmentTestErrorResponse[];
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentTestResponse = exports.SegmentTestErrorResponse = exports.SegmentTestResultResponse = void 0;
|
|
4
|
+
class SegmentTestResultResponse {
|
|
5
|
+
}
|
|
6
|
+
exports.SegmentTestResultResponse = SegmentTestResultResponse;
|
|
7
|
+
class SegmentTestErrorResponse {
|
|
8
|
+
}
|
|
9
|
+
exports.SegmentTestErrorResponse = SegmentTestErrorResponse;
|
|
10
|
+
class SegmentTestResponse {
|
|
11
|
+
}
|
|
12
|
+
exports.SegmentTestResponse = SegmentTestResponse;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EvaluationStatusEnum } from '../../../enums/EvaluationStatusEnum';
|
|
2
|
+
import { RunStatusEnum } from '../../../enums/RunStatusEnum';
|
|
3
|
+
import { TriggerTypeEnum } from '../../../enums/TriggerTypeEnum';
|
|
4
|
+
export declare class SegmentUsedByEvaluation {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
campaignId: string;
|
|
8
|
+
status: EvaluationStatusEnum;
|
|
9
|
+
triggers: TriggerTypeEnum[];
|
|
10
|
+
}
|
|
11
|
+
export declare class SegmentUsedByRun {
|
|
12
|
+
runId: string;
|
|
13
|
+
evaluationId: string;
|
|
14
|
+
segmentVersion: number;
|
|
15
|
+
status: RunStatusEnum;
|
|
16
|
+
createdAt: number;
|
|
17
|
+
}
|
|
18
|
+
export declare class SegmentUsedByResponse {
|
|
19
|
+
evaluations: SegmentUsedByEvaluation[];
|
|
20
|
+
runs: SegmentUsedByRun[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentUsedByResponse = exports.SegmentUsedByRun = exports.SegmentUsedByEvaluation = void 0;
|
|
4
|
+
class SegmentUsedByEvaluation {
|
|
5
|
+
}
|
|
6
|
+
exports.SegmentUsedByEvaluation = SegmentUsedByEvaluation;
|
|
7
|
+
class SegmentUsedByRun {
|
|
8
|
+
}
|
|
9
|
+
exports.SegmentUsedByRun = SegmentUsedByRun;
|
|
10
|
+
class SegmentUsedByResponse {
|
|
11
|
+
}
|
|
12
|
+
exports.SegmentUsedByResponse = SegmentUsedByResponse;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SegmentStatusEnum } from '../../../enums/SegmentStatusEnum';
|
|
2
|
+
import { PopulationSegmentDefinition } from './PopulationSegmentDefinition';
|
|
3
|
+
import { SegmentLastTest } from './SegmentLastTest';
|
|
4
|
+
import { SegmentParam } from './SegmentParam';
|
|
5
|
+
import { SegmentUsedColumn } from './SegmentUsedColumn';
|
|
6
|
+
export declare class SegmentVersionResponse {
|
|
7
|
+
segmentId: string;
|
|
8
|
+
version: number;
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
owner: string;
|
|
12
|
+
status: SegmentStatusEnum;
|
|
13
|
+
definition: PopulationSegmentDefinition;
|
|
14
|
+
definitionHash: string;
|
|
15
|
+
sql: string;
|
|
16
|
+
params: SegmentParam[];
|
|
17
|
+
usedColumns: SegmentUsedColumn[];
|
|
18
|
+
humanSummary: string;
|
|
19
|
+
lastTest?: SegmentLastTest;
|
|
20
|
+
createdBy: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
updatedBy: string;
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SegmentStatusEnum } from '../../../enums/SegmentStatusEnum';
|
|
2
|
+
import { SegmentLastTest } from './SegmentLastTest';
|
|
3
|
+
/** Igual que SegmentVersionResponse sin definition/sql/params/usedColumns/humanSummary. */
|
|
4
|
+
export declare class SegmentVersionSummaryResponse {
|
|
5
|
+
segmentId: string;
|
|
6
|
+
version: number;
|
|
7
|
+
status: SegmentStatusEnum;
|
|
8
|
+
lastTest?: SegmentLastTest;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentVersionSummaryResponse = void 0;
|
|
4
|
+
/** Igual que SegmentVersionResponse sin definition/sql/params/usedColumns/humanSummary. */
|
|
5
|
+
class SegmentVersionSummaryResponse {
|
|
6
|
+
}
|
|
7
|
+
exports.SegmentVersionSummaryResponse = SegmentVersionSummaryResponse;
|
|
@@ -0,0 +1,31 @@
|
|
|
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.SegmentWindow = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const SegmentLimits_1 = require("../../../constants/SegmentLimits");
|
|
16
|
+
/** Ventana relativa [referenceAt - days, referenceAt) sobre una columna de fecha (A§4.1). */
|
|
17
|
+
class SegmentWindow {
|
|
18
|
+
}
|
|
19
|
+
exports.SegmentWindow = SegmentWindow;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, class_validator_1.Matches)(SegmentLimits_1.SEGMENT_IDENTIFIER_PATTERN),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], SegmentWindow.prototype, "dateColumn", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_validator_1.IsInt)(),
|
|
28
|
+
(0, class_validator_1.Min)(1),
|
|
29
|
+
(0, class_validator_1.Max)(SegmentLimits_1.SEGMENT_MAX_DAYS),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], SegmentWindow.prototype, "days", void 0);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DynamicFormValue } from '../../../dynamicForm/types/DynamicFormValue';
|
|
2
|
+
import { EligibilityMessageTypeEnum } from '../../enums/EligibilityMessageTypeEnum';
|
|
3
|
+
/** Un sujeto del lote. No lleva hechos precargados: la evaluacion siempre es en vivo. */
|
|
4
|
+
export declare class EvaluateBatchSubject {
|
|
5
|
+
subjectKey: string;
|
|
6
|
+
inputs: Record<string, DynamicFormValue>;
|
|
7
|
+
}
|
|
8
|
+
/** Lote de hasta 100 sujetos a evaluar en una corrida masiva. */
|
|
9
|
+
export declare class EvaluateBatchMessage {
|
|
10
|
+
messageType: EligibilityMessageTypeEnum.EVALUATE_BATCH;
|
|
11
|
+
runId: string;
|
|
12
|
+
batchId: string;
|
|
13
|
+
subjects: EvaluateBatchSubject[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.EvaluateBatchMessage = exports.EvaluateBatchSubject = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const IsDynamicFormValues_1 = require("../../../dynamicForm/validators/IsDynamicFormValues");
|
|
16
|
+
const EligibilityMessageTypeEnum_1 = require("../../enums/EligibilityMessageTypeEnum");
|
|
17
|
+
/** Un sujeto del lote. No lleva hechos precargados: la evaluacion siempre es en vivo. */
|
|
18
|
+
class EvaluateBatchSubject {
|
|
19
|
+
}
|
|
20
|
+
exports.EvaluateBatchSubject = EvaluateBatchSubject;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], EvaluateBatchSubject.prototype, "subjectKey", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
(0, class_validator_1.Validate)(IsDynamicFormValues_1.IsDynamicFormValues),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], EvaluateBatchSubject.prototype, "inputs", void 0);
|
|
32
|
+
/** Lote de hasta 100 sujetos a evaluar en una corrida masiva. */
|
|
33
|
+
class EvaluateBatchMessage {
|
|
34
|
+
}
|
|
35
|
+
exports.EvaluateBatchMessage = EvaluateBatchMessage;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
(0, class_validator_1.Equals)(EligibilityMessageTypeEnum_1.EligibilityMessageTypeEnum.EVALUATE_BATCH),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], EvaluateBatchMessage.prototype, "messageType", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], EvaluateBatchMessage.prototype, "runId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], EvaluateBatchMessage.prototype, "batchId", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
(0, class_validator_1.IsArray)(),
|
|
56
|
+
(0, class_validator_1.ArrayMinSize)(1),
|
|
57
|
+
(0, class_validator_1.ArrayMaxSize)(100),
|
|
58
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
59
|
+
(0, class_transformer_1.Type)(() => EvaluateBatchSubject),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], EvaluateBatchMessage.prototype, "subjects", void 0);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EligibilityMessageTypeEnum } from '../../enums/EligibilityMessageTypeEnum';
|
|
2
|
+
/** Publica las entregas (grants) de una parte de un lote de la corrida masiva. */
|
|
3
|
+
export declare class GrantBatchMessage {
|
|
4
|
+
messageType: EligibilityMessageTypeEnum.GRANT_BATCH;
|
|
5
|
+
runId: string;
|
|
6
|
+
batchId: string;
|
|
7
|
+
part: number;
|
|
8
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.GrantBatchMessage = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const EligibilityMessageTypeEnum_1 = require("../../enums/EligibilityMessageTypeEnum");
|
|
16
|
+
/** Publica las entregas (grants) de una parte de un lote de la corrida masiva. */
|
|
17
|
+
class GrantBatchMessage {
|
|
18
|
+
}
|
|
19
|
+
exports.GrantBatchMessage = GrantBatchMessage;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, class_validator_1.Equals)(EligibilityMessageTypeEnum_1.EligibilityMessageTypeEnum.GRANT_BATCH),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], GrantBatchMessage.prototype, "messageType", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], GrantBatchMessage.prototype, "runId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], GrantBatchMessage.prototype, "batchId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
(0, class_validator_1.IsInt)(),
|
|
40
|
+
(0, class_validator_1.Min)(0),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], GrantBatchMessage.prototype, "part", void 0);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EligibilityMessageTypeEnum } from '../../enums/EligibilityMessageTypeEnum';
|
|
2
|
+
/** Pide la siguiente pagina de ids del segmento de una corrida masiva. */
|
|
3
|
+
export declare class PopulationPageMessage {
|
|
4
|
+
messageType: EligibilityMessageTypeEnum.POPULATION_PAGE;
|
|
5
|
+
runId: string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.PopulationPageMessage = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const EligibilityMessageTypeEnum_1 = require("../../enums/EligibilityMessageTypeEnum");
|
|
16
|
+
/** Pide la siguiente pagina de ids del segmento de una corrida masiva. */
|
|
17
|
+
class PopulationPageMessage {
|
|
18
|
+
}
|
|
19
|
+
exports.PopulationPageMessage = PopulationPageMessage;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, class_validator_1.Equals)(EligibilityMessageTypeEnum_1.EligibilityMessageTypeEnum.POPULATION_PAGE),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], PopulationPageMessage.prototype, "messageType", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], PopulationPageMessage.prototype, "runId", void 0);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EligibilityMessageTypeEnum } from '../../enums/EligibilityMessageTypeEnum';
|
|
2
|
+
/** Libera el tramo `seq` de la publicacion por tramos (RELEASER). */
|
|
3
|
+
export declare class ReleaseTrancheMessage {
|
|
4
|
+
messageType: EligibilityMessageTypeEnum.RELEASE_TRANCHE;
|
|
5
|
+
seq: number;
|
|
6
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.ReleaseTrancheMessage = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const EligibilityMessageTypeEnum_1 = require("../../enums/EligibilityMessageTypeEnum");
|
|
16
|
+
/** Libera el tramo `seq` de la publicacion por tramos (RELEASER). */
|
|
17
|
+
class ReleaseTrancheMessage {
|
|
18
|
+
}
|
|
19
|
+
exports.ReleaseTrancheMessage = ReleaseTrancheMessage;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
(0, class_validator_1.Equals)(EligibilityMessageTypeEnum_1.EligibilityMessageTypeEnum.RELEASE_TRANCHE),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ReleaseTrancheMessage.prototype, "messageType", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_validator_1.IsInt)(),
|
|
28
|
+
(0, class_validator_1.Min)(0),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], ReleaseTrancheMessage.prototype, "seq", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EligibilityMessageTypeEnum = void 0;
|
|
4
|
+
// GRANT_FAILED sigue en RewardsMessageTypeEnum del dominio rewards.
|
|
5
|
+
var EligibilityMessageTypeEnum;
|
|
6
|
+
(function (EligibilityMessageTypeEnum) {
|
|
7
|
+
EligibilityMessageTypeEnum["POPULATION_PAGE"] = "POPULATION_PAGE";
|
|
8
|
+
EligibilityMessageTypeEnum["EVALUATE_BATCH"] = "EVALUATE_BATCH";
|
|
9
|
+
EligibilityMessageTypeEnum["GRANT_BATCH"] = "GRANT_BATCH";
|
|
10
|
+
EligibilityMessageTypeEnum["RELEASE_TRANCHE"] = "RELEASE_TRANCHE";
|
|
11
|
+
})(EligibilityMessageTypeEnum || (exports.EligibilityMessageTypeEnum = EligibilityMessageTypeEnum = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentAggregateFnEnum = void 0;
|
|
4
|
+
var SegmentAggregateFnEnum;
|
|
5
|
+
(function (SegmentAggregateFnEnum) {
|
|
6
|
+
SegmentAggregateFnEnum["EXISTS"] = "EXISTS";
|
|
7
|
+
SegmentAggregateFnEnum["COUNT"] = "COUNT";
|
|
8
|
+
SegmentAggregateFnEnum["SUM"] = "SUM";
|
|
9
|
+
})(SegmentAggregateFnEnum || (exports.SegmentAggregateFnEnum = SegmentAggregateFnEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentConditionKindEnum = void 0;
|
|
4
|
+
var SegmentConditionKindEnum;
|
|
5
|
+
(function (SegmentConditionKindEnum) {
|
|
6
|
+
SegmentConditionKindEnum["COLUMN"] = "COLUMN";
|
|
7
|
+
SegmentConditionKindEnum["AGGREGATE"] = "AGGREGATE";
|
|
8
|
+
})(SegmentConditionKindEnum || (exports.SegmentConditionKindEnum = SegmentConditionKindEnum = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum SegmentErrorCodeEnum {
|
|
2
|
+
SEGMENT_NOT_FOUND = "SEGMENT_NOT_FOUND",
|
|
3
|
+
SEGMENT_INVALID = "SEGMENT_INVALID",
|
|
4
|
+
SEGMENT_TEST_REQUIRED = "SEGMENT_TEST_REQUIRED",
|
|
5
|
+
SEGMENT_IN_USE = "SEGMENT_IN_USE",
|
|
6
|
+
SEGMENT_NOT_ACTIVE = "SEGMENT_NOT_ACTIVE",
|
|
7
|
+
SEGMENT_BLOCKED_COLUMN = "SEGMENT_BLOCKED_COLUMN",
|
|
8
|
+
SEGMENT_SCHEMA_DRIFT = "SEGMENT_SCHEMA_DRIFT",
|
|
9
|
+
SEGMENT_BYTES_EXCEEDED = "SEGMENT_BYTES_EXCEEDED",
|
|
10
|
+
SEGMENT_QUERY_FAILED = "SEGMENT_QUERY_FAILED",
|
|
11
|
+
SEGMENT_DATALAKE_UNAVAILABLE = "SEGMENT_DATALAKE_UNAVAILABLE",
|
|
12
|
+
SEGMENT_DATALAKE_UNAVAILABLE_IN_ENV = "SEGMENT_DATALAKE_UNAVAILABLE_IN_ENV",
|
|
13
|
+
SEGMENT_VERSION_CONFLICT = "SEGMENT_VERSION_CONFLICT",
|
|
14
|
+
SEGMENT_STATUS_TRANSITION_INVALID = "SEGMENT_STATUS_TRANSITION_INVALID",
|
|
15
|
+
SEGMENT_EXECUTION_NOT_FOUND = "SEGMENT_EXECUTION_NOT_FOUND"
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentErrorCodeEnum = void 0;
|
|
4
|
+
var SegmentErrorCodeEnum;
|
|
5
|
+
(function (SegmentErrorCodeEnum) {
|
|
6
|
+
SegmentErrorCodeEnum["SEGMENT_NOT_FOUND"] = "SEGMENT_NOT_FOUND";
|
|
7
|
+
SegmentErrorCodeEnum["SEGMENT_INVALID"] = "SEGMENT_INVALID";
|
|
8
|
+
SegmentErrorCodeEnum["SEGMENT_TEST_REQUIRED"] = "SEGMENT_TEST_REQUIRED";
|
|
9
|
+
SegmentErrorCodeEnum["SEGMENT_IN_USE"] = "SEGMENT_IN_USE";
|
|
10
|
+
SegmentErrorCodeEnum["SEGMENT_NOT_ACTIVE"] = "SEGMENT_NOT_ACTIVE";
|
|
11
|
+
SegmentErrorCodeEnum["SEGMENT_BLOCKED_COLUMN"] = "SEGMENT_BLOCKED_COLUMN";
|
|
12
|
+
SegmentErrorCodeEnum["SEGMENT_SCHEMA_DRIFT"] = "SEGMENT_SCHEMA_DRIFT";
|
|
13
|
+
SegmentErrorCodeEnum["SEGMENT_BYTES_EXCEEDED"] = "SEGMENT_BYTES_EXCEEDED";
|
|
14
|
+
SegmentErrorCodeEnum["SEGMENT_QUERY_FAILED"] = "SEGMENT_QUERY_FAILED";
|
|
15
|
+
SegmentErrorCodeEnum["SEGMENT_DATALAKE_UNAVAILABLE"] = "SEGMENT_DATALAKE_UNAVAILABLE";
|
|
16
|
+
SegmentErrorCodeEnum["SEGMENT_DATALAKE_UNAVAILABLE_IN_ENV"] = "SEGMENT_DATALAKE_UNAVAILABLE_IN_ENV";
|
|
17
|
+
SegmentErrorCodeEnum["SEGMENT_VERSION_CONFLICT"] = "SEGMENT_VERSION_CONFLICT";
|
|
18
|
+
SegmentErrorCodeEnum["SEGMENT_STATUS_TRANSITION_INVALID"] = "SEGMENT_STATUS_TRANSITION_INVALID";
|
|
19
|
+
SegmentErrorCodeEnum["SEGMENT_EXECUTION_NOT_FOUND"] = "SEGMENT_EXECUTION_NOT_FOUND";
|
|
20
|
+
})(SegmentErrorCodeEnum || (exports.SegmentErrorCodeEnum = SegmentErrorCodeEnum = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentMatchEnum = void 0;
|
|
4
|
+
var SegmentMatchEnum;
|
|
5
|
+
(function (SegmentMatchEnum) {
|
|
6
|
+
SegmentMatchEnum["ALL"] = "ALL";
|
|
7
|
+
SegmentMatchEnum["ANY"] = "ANY";
|
|
8
|
+
})(SegmentMatchEnum || (exports.SegmentMatchEnum = SegmentMatchEnum = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum SegmentOperatorEnum {
|
|
2
|
+
EQUALS = "EQUALS",
|
|
3
|
+
NOT_EQUALS = "NOT_EQUALS",
|
|
4
|
+
IN = "IN",
|
|
5
|
+
NOT_IN = "NOT_IN",
|
|
6
|
+
IS_NULL = "IS_NULL",
|
|
7
|
+
IS_NOT_NULL = "IS_NOT_NULL",
|
|
8
|
+
GT = "GT",
|
|
9
|
+
GTE = "GTE",
|
|
10
|
+
LT = "LT",
|
|
11
|
+
LTE = "LTE",
|
|
12
|
+
CONTAINS = "CONTAINS",
|
|
13
|
+
ANY_IN = "ANY_IN",
|
|
14
|
+
WITHIN_LAST_DAYS = "WITHIN_LAST_DAYS",
|
|
15
|
+
NOT_WITHIN_LAST_DAYS = "NOT_WITHIN_LAST_DAYS"
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentOperatorEnum = void 0;
|
|
4
|
+
var SegmentOperatorEnum;
|
|
5
|
+
(function (SegmentOperatorEnum) {
|
|
6
|
+
SegmentOperatorEnum["EQUALS"] = "EQUALS";
|
|
7
|
+
SegmentOperatorEnum["NOT_EQUALS"] = "NOT_EQUALS";
|
|
8
|
+
SegmentOperatorEnum["IN"] = "IN";
|
|
9
|
+
SegmentOperatorEnum["NOT_IN"] = "NOT_IN";
|
|
10
|
+
SegmentOperatorEnum["IS_NULL"] = "IS_NULL";
|
|
11
|
+
SegmentOperatorEnum["IS_NOT_NULL"] = "IS_NOT_NULL";
|
|
12
|
+
SegmentOperatorEnum["GT"] = "GT";
|
|
13
|
+
SegmentOperatorEnum["GTE"] = "GTE";
|
|
14
|
+
SegmentOperatorEnum["LT"] = "LT";
|
|
15
|
+
SegmentOperatorEnum["LTE"] = "LTE";
|
|
16
|
+
SegmentOperatorEnum["CONTAINS"] = "CONTAINS";
|
|
17
|
+
SegmentOperatorEnum["ANY_IN"] = "ANY_IN";
|
|
18
|
+
SegmentOperatorEnum["WITHIN_LAST_DAYS"] = "WITHIN_LAST_DAYS";
|
|
19
|
+
SegmentOperatorEnum["NOT_WITHIN_LAST_DAYS"] = "NOT_WITHIN_LAST_DAYS";
|
|
20
|
+
})(SegmentOperatorEnum || (exports.SegmentOperatorEnum = SegmentOperatorEnum = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentParamSourceEnum = void 0;
|
|
4
|
+
var SegmentParamSourceEnum;
|
|
5
|
+
(function (SegmentParamSourceEnum) {
|
|
6
|
+
SegmentParamSourceEnum["LITERAL"] = "LITERAL";
|
|
7
|
+
SegmentParamSourceEnum["REFERENCE_AT"] = "REFERENCE_AT";
|
|
8
|
+
SegmentParamSourceEnum["REFERENCE_AT_MINUS_DAYS"] = "REFERENCE_AT_MINUS_DAYS";
|
|
9
|
+
})(SegmentParamSourceEnum || (exports.SegmentParamSourceEnum = SegmentParamSourceEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SegmentParamTypeEnum = void 0;
|
|
4
|
+
var SegmentParamTypeEnum;
|
|
5
|
+
(function (SegmentParamTypeEnum) {
|
|
6
|
+
SegmentParamTypeEnum["STRING"] = "STRING";
|
|
7
|
+
SegmentParamTypeEnum["INTEGER"] = "INTEGER";
|
|
8
|
+
SegmentParamTypeEnum["DECIMAL"] = "DECIMAL";
|
|
9
|
+
SegmentParamTypeEnum["BOOLEAN"] = "BOOLEAN";
|
|
10
|
+
SegmentParamTypeEnum["TIMESTAMP"] = "TIMESTAMP";
|
|
11
|
+
})(SegmentParamTypeEnum || (exports.SegmentParamTypeEnum = SegmentParamTypeEnum = {}));
|