@d19n/youfibre-odin-sdk 2.0.352 → 2.0.353
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/README.md +16 -19
- package/dist/actions-v2/{MoveHomeMoveToPlacingNewOrderDto.d.ts → MoveHomeMoveToCustomerLeavingDto.d.ts} +20 -20
- package/dist/actions-v2/MoveHomeMoveToCustomerLeavingDto.js +62 -0
- package/dist/actions-v2/{MoveHomeMoveToNoProofDto.d.ts → MoveHomeMoveToEtfChargedDto.d.ts} +20 -20
- package/dist/actions-v2/MoveHomeMoveToEtfChargedDto.js +62 -0
- package/dist/actions-v2/{MoveHomeMoveToCancelledDto.d.ts → MoveHomeMoveToEtfWaivedDto.d.ts} +20 -20
- package/dist/actions-v2/MoveHomeMoveToEtfWaivedDto.js +62 -0
- package/dist/actions-v2/{MoveHomeMoveToProofReceivedDto.d.ts → MoveHomeMoveToMoveCancelledDto.d.ts} +20 -20
- package/dist/actions-v2/MoveHomeMoveToMoveCancelledDto.js +62 -0
- package/dist/actions-v2/{MoveHomeMoveToAddressCheckedDto.d.ts → MoveHomeMoveToMoveInProgressDto.d.ts} +20 -20
- package/dist/actions-v2/MoveHomeMoveToMoveInProgressDto.js +62 -0
- package/dist/actions-v2/{MoveHomeMoveToDeclinedDto.d.ts → MoveHomeMoveToServiceableDto.d.ts} +20 -20
- package/dist/actions-v2/MoveHomeMoveToServiceableDto.js +62 -0
- package/dist/actions-v2/MovePgPaymentMethodToTransferredDto.d.ts +70 -0
- package/dist/actions-v2/MovePgPaymentMethodToTransferredDto.js +62 -0
- package/dist/entities-v2/Case.d.ts +14 -1
- package/dist/entities-v2/Case.js +14 -1
- package/dist/entities-v2/Commitment.d.ts +9 -9
- package/dist/entities-v2/Commitment.js +2 -2
- package/dist/entities-v2/CustomerDevice.d.ts +37 -1
- package/dist/entities-v2/CustomerDevice.js +17 -1
- package/dist/entities-v2/HomeMove.d.ts +95 -101
- package/dist/entities-v2/HomeMove.js +68 -74
- package/dist/entities-v2/PgPaymentMethod.d.ts +6 -2
- package/dist/entities-v2/PgPaymentMethod.js +4 -0
- package/dist/entities-v2/Recontract.d.ts +2 -0
- package/dist/entities-v2/Recontract.js +2 -0
- package/dist/entities-v2/VoiceConfiguration.d.ts +130 -130
- package/dist/entities-v2/VoiceConfiguration.js +46 -46
- package/dist/records-v2/HomeMoveRecord.d.ts +30 -80
- package/dist/records-v2/HomeMoveRecord.js +42 -100
- package/dist/records-v2/PgPaymentMethodRecord.d.ts +25 -0
- package/dist/records-v2/PgPaymentMethodRecord.js +29 -0
- package/package.json +1 -1
- package/dist/actions-v2/MoveHomeMoveToAddressCheckedDto.js +0 -62
- package/dist/actions-v2/MoveHomeMoveToCancelledDto.js +0 -62
- package/dist/actions-v2/MoveHomeMoveToConfirmingMoveDto.d.ts +0 -70
- package/dist/actions-v2/MoveHomeMoveToConfirmingMoveDto.js +0 -62
- package/dist/actions-v2/MoveHomeMoveToDeclinedDto.js +0 -62
- package/dist/actions-v2/MoveHomeMoveToNewServiceActiveDto.d.ts +0 -70
- package/dist/actions-v2/MoveHomeMoveToNewServiceActiveDto.js +0 -62
- package/dist/actions-v2/MoveHomeMoveToNoProofDto.js +0 -62
- package/dist/actions-v2/MoveHomeMoveToPlacingNewOrderDto.js +0 -62
- package/dist/actions-v2/MoveHomeMoveToProofReceivedDto.js +0 -62
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* MoveHomeMoveToMoveInProgress Action DTO
|
|
3
3
|
*
|
|
4
|
-
* Moves a Home Move to
|
|
4
|
+
* Moves a Home Move to Move In Progress.
|
|
5
5
|
*
|
|
6
6
|
* @module OrderModule
|
|
7
7
|
* @entity HomeMove
|
|
8
8
|
* @entityType DEFAULT
|
|
9
|
-
* @actionKey
|
|
10
|
-
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.
|
|
9
|
+
* @actionKey MoveHomeMoveToMoveInProgress
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToMoveInProgress
|
|
11
11
|
*
|
|
12
12
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
13
|
*/
|
|
14
14
|
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
15
|
/**
|
|
16
|
-
* RabbitMQ message payload for
|
|
16
|
+
* RabbitMQ message payload for MoveHomeMoveToMoveInProgress step flow events
|
|
17
17
|
*
|
|
18
|
-
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToMoveInProgress
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface MoveHomeMoveToMoveInProgressMessage extends OdinRecordUpdatedEvent<MoveHomeMoveToMoveInProgressDto, {}> {
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Properties for
|
|
23
|
+
* Properties for MoveHomeMoveToMoveInProgress action
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
export interface
|
|
26
|
+
export interface MoveHomeMoveToMoveInProgressProperties {
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* MoveHomeMoveToMoveInProgress
|
|
30
30
|
*
|
|
31
|
-
* Moves a Home Move to
|
|
31
|
+
* Moves a Home Move to Move In Progress.
|
|
32
32
|
*
|
|
33
33
|
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
34
|
* @module OrderModule
|
|
35
35
|
* @entity HomeMove
|
|
36
36
|
* @entityType DEFAULT (Default)
|
|
37
|
-
* @targetStages
|
|
38
|
-
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.
|
|
39
|
-
* @permission schema.action.
|
|
37
|
+
* @targetStages HomeMoveStageMoveInProgress
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToMoveInProgress
|
|
39
|
+
* @permission schema.action.movehomemovetomoveinprogress.trigger
|
|
40
40
|
* @benchmark This action is tracked for performance benchmarks
|
|
41
41
|
*/
|
|
42
|
-
export declare class
|
|
42
|
+
export declare class MoveHomeMoveToMoveInProgressDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
43
43
|
/** Used by SDK generators to identify action type */
|
|
44
44
|
static readonly ACTION_TYPE = "UPDATE";
|
|
45
|
-
static readonly ACTION_KEY = "
|
|
45
|
+
static readonly ACTION_KEY = "MoveHomeMoveToMoveInProgress";
|
|
46
46
|
static readonly MODULE_NAME = "OrderModule";
|
|
47
47
|
static readonly ENTITIES: string[];
|
|
48
48
|
static readonly ENTITY_TYPE = "DEFAULT";
|
|
49
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.
|
|
50
|
-
static readonly SCHEMA_ACTION_ID = "
|
|
51
|
-
static readonly PERMISSION = "schema.action.
|
|
52
|
-
static readonly TARGET_STAGES: readonly ["
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToMoveInProgress";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "c93446ec-2e9b-44f8-a11b-0bc284768a4f";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movehomemovetomoveinprogress.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["HomeMoveStageMoveInProgress"];
|
|
53
53
|
static readonly IS_STAGE_TRANSITION = true;
|
|
54
54
|
static readonly IS_MULTI_STEP_FLOW = false;
|
|
55
55
|
static readonly HAS_STEP_LINKS = false;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MoveHomeMoveToMoveInProgress Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a Home Move to Move In Progress.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity HomeMove
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MoveHomeMoveToMoveInProgress
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToMoveInProgress
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveHomeMoveToMoveInProgressDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MoveHomeMoveToMoveInProgress
|
|
20
|
+
*
|
|
21
|
+
* Moves a Home Move to Move In Progress.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity HomeMove
|
|
26
|
+
* @entityType DEFAULT (Default)
|
|
27
|
+
* @targetStages HomeMoveStageMoveInProgress
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToMoveInProgress
|
|
29
|
+
* @permission schema.action.movehomemovetomoveinprogress.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveHomeMoveToMoveInProgressDto extends core_1.OdinRecordUpdateDto {
|
|
33
|
+
constructor(record, options) {
|
|
34
|
+
super({
|
|
35
|
+
id: record.id,
|
|
36
|
+
entity: record.entity,
|
|
37
|
+
type: record.type,
|
|
38
|
+
properties: {},
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'MoveHomeMoveToMoveInProgress';
|
|
42
|
+
this.schemaActionId = 'c93446ec-2e9b-44f8-a11b-0bc284768a4f';
|
|
43
|
+
this.entity = 'OrderModule:HomeMove';
|
|
44
|
+
this.stageKey = 'HomeMoveStageMoveInProgress';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveHomeMoveToMoveInProgressDto = MoveHomeMoveToMoveInProgressDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveHomeMoveToMoveInProgressDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveHomeMoveToMoveInProgressDto.ACTION_KEY = 'MoveHomeMoveToMoveInProgress';
|
|
51
|
+
MoveHomeMoveToMoveInProgressDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveHomeMoveToMoveInProgressDto.ENTITIES = ['HomeMove'];
|
|
53
|
+
MoveHomeMoveToMoveInProgressDto.ENTITY_TYPE = 'DEFAULT';
|
|
54
|
+
MoveHomeMoveToMoveInProgressDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToMoveInProgress';
|
|
55
|
+
MoveHomeMoveToMoveInProgressDto.SCHEMA_ACTION_ID = 'c93446ec-2e9b-44f8-a11b-0bc284768a4f';
|
|
56
|
+
MoveHomeMoveToMoveInProgressDto.PERMISSION = 'schema.action.movehomemovetomoveinprogress.trigger';
|
|
57
|
+
MoveHomeMoveToMoveInProgressDto.TARGET_STAGES = ['HomeMoveStageMoveInProgress'];
|
|
58
|
+
MoveHomeMoveToMoveInProgressDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveHomeMoveToMoveInProgressDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveHomeMoveToMoveInProgressDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveHomeMoveToMoveInProgressDto.stepClasses = [];
|
package/dist/actions-v2/{MoveHomeMoveToDeclinedDto.d.ts → MoveHomeMoveToServiceableDto.d.ts}
RENAMED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* MoveHomeMoveToServiceable Action DTO
|
|
3
3
|
*
|
|
4
|
-
* Moves a Home Move to
|
|
4
|
+
* Moves a Home Move to Serviceable.
|
|
5
5
|
*
|
|
6
6
|
* @module OrderModule
|
|
7
7
|
* @entity HomeMove
|
|
8
8
|
* @entityType DEFAULT
|
|
9
|
-
* @actionKey
|
|
10
|
-
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.
|
|
9
|
+
* @actionKey MoveHomeMoveToServiceable
|
|
10
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToServiceable
|
|
11
11
|
*
|
|
12
12
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
13
|
*/
|
|
14
14
|
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
15
|
/**
|
|
16
|
-
* RabbitMQ message payload for
|
|
16
|
+
* RabbitMQ message payload for MoveHomeMoveToServiceable step flow events
|
|
17
17
|
*
|
|
18
|
-
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.
|
|
18
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToServiceable
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface MoveHomeMoveToServiceableMessage extends OdinRecordUpdatedEvent<MoveHomeMoveToServiceableDto, {}> {
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Properties for
|
|
23
|
+
* Properties for MoveHomeMoveToServiceable action
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
export interface
|
|
26
|
+
export interface MoveHomeMoveToServiceableProperties {
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* MoveHomeMoveToServiceable
|
|
30
30
|
*
|
|
31
|
-
* Moves a Home Move to
|
|
31
|
+
* Moves a Home Move to Serviceable.
|
|
32
32
|
*
|
|
33
33
|
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
34
|
* @module OrderModule
|
|
35
35
|
* @entity HomeMove
|
|
36
36
|
* @entityType DEFAULT (Default)
|
|
37
|
-
* @targetStages
|
|
38
|
-
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.
|
|
39
|
-
* @permission schema.action.
|
|
37
|
+
* @targetStages HomeMoveStageServiceable
|
|
38
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToServiceable
|
|
39
|
+
* @permission schema.action.movehomemovetoserviceable.trigger
|
|
40
40
|
* @benchmark This action is tracked for performance benchmarks
|
|
41
41
|
*/
|
|
42
|
-
export declare class
|
|
42
|
+
export declare class MoveHomeMoveToServiceableDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
43
43
|
/** Used by SDK generators to identify action type */
|
|
44
44
|
static readonly ACTION_TYPE = "UPDATE";
|
|
45
|
-
static readonly ACTION_KEY = "
|
|
45
|
+
static readonly ACTION_KEY = "MoveHomeMoveToServiceable";
|
|
46
46
|
static readonly MODULE_NAME = "OrderModule";
|
|
47
47
|
static readonly ENTITIES: string[];
|
|
48
48
|
static readonly ENTITY_TYPE = "DEFAULT";
|
|
49
|
-
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.
|
|
50
|
-
static readonly SCHEMA_ACTION_ID = "
|
|
51
|
-
static readonly PERMISSION = "schema.action.
|
|
52
|
-
static readonly TARGET_STAGES: readonly ["
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToServiceable";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "81386910-14fe-4de8-a1dd-3080a0b22129";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movehomemovetoserviceable.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["HomeMoveStageServiceable"];
|
|
53
53
|
static readonly IS_STAGE_TRANSITION = true;
|
|
54
54
|
static readonly IS_MULTI_STEP_FLOW = false;
|
|
55
55
|
static readonly HAS_STEP_LINKS = false;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MoveHomeMoveToServiceable Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Moves a Home Move to Serviceable.
|
|
6
|
+
*
|
|
7
|
+
* @module OrderModule
|
|
8
|
+
* @entity HomeMove
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MoveHomeMoveToServiceable
|
|
11
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToServiceable
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveHomeMoveToServiceableDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MoveHomeMoveToServiceable
|
|
20
|
+
*
|
|
21
|
+
* Moves a Home Move to Serviceable.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module OrderModule
|
|
25
|
+
* @entity HomeMove
|
|
26
|
+
* @entityType DEFAULT (Default)
|
|
27
|
+
* @targetStages HomeMoveStageServiceable
|
|
28
|
+
* @event k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToServiceable
|
|
29
|
+
* @permission schema.action.movehomemovetoserviceable.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveHomeMoveToServiceableDto extends core_1.OdinRecordUpdateDto {
|
|
33
|
+
constructor(record, options) {
|
|
34
|
+
super({
|
|
35
|
+
id: record.id,
|
|
36
|
+
entity: record.entity,
|
|
37
|
+
type: record.type,
|
|
38
|
+
properties: {},
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'MoveHomeMoveToServiceable';
|
|
42
|
+
this.schemaActionId = '81386910-14fe-4de8-a1dd-3080a0b22129';
|
|
43
|
+
this.entity = 'OrderModule:HomeMove';
|
|
44
|
+
this.stageKey = 'HomeMoveStageServiceable';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveHomeMoveToServiceableDto = MoveHomeMoveToServiceableDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveHomeMoveToServiceableDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveHomeMoveToServiceableDto.ACTION_KEY = 'MoveHomeMoveToServiceable';
|
|
51
|
+
MoveHomeMoveToServiceableDto.MODULE_NAME = 'OrderModule';
|
|
52
|
+
MoveHomeMoveToServiceableDto.ENTITIES = ['HomeMove'];
|
|
53
|
+
MoveHomeMoveToServiceableDto.ENTITY_TYPE = 'DEFAULT';
|
|
54
|
+
MoveHomeMoveToServiceableDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.HomeMove.Transition.MoveHomeMoveToServiceable';
|
|
55
|
+
MoveHomeMoveToServiceableDto.SCHEMA_ACTION_ID = '81386910-14fe-4de8-a1dd-3080a0b22129';
|
|
56
|
+
MoveHomeMoveToServiceableDto.PERMISSION = 'schema.action.movehomemovetoserviceable.trigger';
|
|
57
|
+
MoveHomeMoveToServiceableDto.TARGET_STAGES = ['HomeMoveStageServiceable'];
|
|
58
|
+
MoveHomeMoveToServiceableDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveHomeMoveToServiceableDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveHomeMoveToServiceableDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveHomeMoveToServiceableDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MovePgPaymentMethodToTransferred Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Retire this mandate because the payer's bank moved the account. A successor payment method holds the new details.
|
|
5
|
+
*
|
|
6
|
+
* @module BillingModule
|
|
7
|
+
* @entity PgPaymentMethod
|
|
8
|
+
* @entityType DEFAULT
|
|
9
|
+
* @actionKey MovePgPaymentMethodToTransferred
|
|
10
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToTransferred
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for MovePgPaymentMethodToTransferred step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToTransferred
|
|
19
|
+
*/
|
|
20
|
+
export interface MovePgPaymentMethodToTransferredMessage extends OdinRecordUpdatedEvent<MovePgPaymentMethodToTransferredDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MovePgPaymentMethodToTransferred action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MovePgPaymentMethodToTransferredProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Move to Transferred
|
|
30
|
+
*
|
|
31
|
+
* Retire this mandate because the payer's bank moved the account. A successor payment method holds the new details.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module BillingModule
|
|
35
|
+
* @entity PgPaymentMethod
|
|
36
|
+
* @entityType DEFAULT (Default)
|
|
37
|
+
* @targetStages StatusStageTransferred
|
|
38
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToTransferred
|
|
39
|
+
* @permission schema.action.movepgpaymentmethodtotransferred.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MovePgPaymentMethodToTransferredDto extends OdinRecordUpdateDto<Record<string, any>> {
|
|
43
|
+
/** Used by SDK generators to identify action type */
|
|
44
|
+
static readonly ACTION_TYPE = "UPDATE";
|
|
45
|
+
static readonly ACTION_KEY = "MovePgPaymentMethodToTransferred";
|
|
46
|
+
static readonly MODULE_NAME = "BillingModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "DEFAULT";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToTransferred";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "1bbad8c2-b68e-4463-8315-079d118c9760";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movepgpaymentmethodtotransferred.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["StatusStageTransferred"];
|
|
53
|
+
static readonly IS_STAGE_TRANSITION = true;
|
|
54
|
+
static readonly IS_MULTI_STEP_FLOW = false;
|
|
55
|
+
static readonly HAS_STEP_LINKS = false;
|
|
56
|
+
readonly actionName: string;
|
|
57
|
+
readonly schemaActionId: string;
|
|
58
|
+
readonly entity: string;
|
|
59
|
+
readonly stageKey: string;
|
|
60
|
+
constructor(record: OdinRecord<any> | {
|
|
61
|
+
id: string;
|
|
62
|
+
entity: string;
|
|
63
|
+
type?: string;
|
|
64
|
+
}, options?: {
|
|
65
|
+
journeyId?: string;
|
|
66
|
+
});
|
|
67
|
+
/** Step classes that can be used with this action */
|
|
68
|
+
static readonly stepClasses: readonly [];
|
|
69
|
+
steps: [];
|
|
70
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MovePgPaymentMethodToTransferred Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Retire this mandate because the payer's bank moved the account. A successor payment method holds the new details.
|
|
6
|
+
*
|
|
7
|
+
* @module BillingModule
|
|
8
|
+
* @entity PgPaymentMethod
|
|
9
|
+
* @entityType DEFAULT
|
|
10
|
+
* @actionKey MovePgPaymentMethodToTransferred
|
|
11
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToTransferred
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MovePgPaymentMethodToTransferredDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* Move to Transferred
|
|
20
|
+
*
|
|
21
|
+
* Retire this mandate because the payer's bank moved the account. A successor payment method holds the new details.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module BillingModule
|
|
25
|
+
* @entity PgPaymentMethod
|
|
26
|
+
* @entityType DEFAULT (Default)
|
|
27
|
+
* @targetStages StatusStageTransferred
|
|
28
|
+
* @event k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToTransferred
|
|
29
|
+
* @permission schema.action.movepgpaymentmethodtotransferred.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MovePgPaymentMethodToTransferredDto extends core_1.OdinRecordUpdateDto {
|
|
33
|
+
constructor(record, options) {
|
|
34
|
+
super({
|
|
35
|
+
id: record.id,
|
|
36
|
+
entity: record.entity,
|
|
37
|
+
type: record.type,
|
|
38
|
+
properties: {},
|
|
39
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
40
|
+
});
|
|
41
|
+
this.actionName = 'MovePgPaymentMethodToTransferred';
|
|
42
|
+
this.schemaActionId = '1bbad8c2-b68e-4463-8315-079d118c9760';
|
|
43
|
+
this.entity = 'BillingModule:PgPaymentMethod';
|
|
44
|
+
this.stageKey = 'StatusStageTransferred';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MovePgPaymentMethodToTransferredDto = MovePgPaymentMethodToTransferredDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MovePgPaymentMethodToTransferredDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MovePgPaymentMethodToTransferredDto.ACTION_KEY = 'MovePgPaymentMethodToTransferred';
|
|
51
|
+
MovePgPaymentMethodToTransferredDto.MODULE_NAME = 'BillingModule';
|
|
52
|
+
MovePgPaymentMethodToTransferredDto.ENTITIES = ['PgPaymentMethod'];
|
|
53
|
+
MovePgPaymentMethodToTransferredDto.ENTITY_TYPE = 'DEFAULT';
|
|
54
|
+
MovePgPaymentMethodToTransferredDto.EVENT_NAME = 'k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToTransferred';
|
|
55
|
+
MovePgPaymentMethodToTransferredDto.SCHEMA_ACTION_ID = '1bbad8c2-b68e-4463-8315-079d118c9760';
|
|
56
|
+
MovePgPaymentMethodToTransferredDto.PERMISSION = 'schema.action.movepgpaymentmethodtotransferred.trigger';
|
|
57
|
+
MovePgPaymentMethodToTransferredDto.TARGET_STAGES = ['StatusStageTransferred'];
|
|
58
|
+
MovePgPaymentMethodToTransferredDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MovePgPaymentMethodToTransferredDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MovePgPaymentMethodToTransferredDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MovePgPaymentMethodToTransferredDto.stepClasses = [];
|
|
@@ -392,6 +392,7 @@ export declare enum CaseChannel {
|
|
|
392
392
|
* - `BILLING` - Billing
|
|
393
393
|
* - `CANCELLATION` - Cancellation
|
|
394
394
|
* - `COMPLAINT` - Complaint
|
|
395
|
+
* - `EDGAR` - Edgar
|
|
395
396
|
* - `INSTALLS_AND_SERVICE_VISITS` - Installs & Service Visits
|
|
396
397
|
* - `MANAGE_MY_ACCOUNT` - Manage My Account
|
|
397
398
|
* - `NEW` - New
|
|
@@ -407,6 +408,7 @@ export declare enum CaseCategory {
|
|
|
407
408
|
BILLING = "BILLING",
|
|
408
409
|
CANCELLATION = "CANCELLATION",
|
|
409
410
|
COMPLAINT = "COMPLAINT",
|
|
411
|
+
EDGAR = "EDGAR",
|
|
410
412
|
INSTALLS_SERVICE_VISITS = "INSTALLS_AND_SERVICE_VISITS",
|
|
411
413
|
MANAGE_MY_ACCOUNT = "MANAGE_MY_ACCOUNT",
|
|
412
414
|
NEW = "NEW",
|
|
@@ -439,7 +441,7 @@ export declare enum CaseCategory {
|
|
|
439
441
|
* - `COPY_OF_INVOICE` - Copy of Invoice
|
|
440
442
|
* - `CUSTOMER_DEVICE_ISSUE` - Customer Device Issue
|
|
441
443
|
* - `DATA_SUBJECT_ACCESS_REQUEST` - Data Subject Access Request
|
|
442
|
-
* - ... and
|
|
444
|
+
* - ... and 45 more
|
|
443
445
|
*/
|
|
444
446
|
export declare enum CaseSubCategory {
|
|
445
447
|
AMEND_BILLING_DATE = "AMEND_BILLING_DATE",
|
|
@@ -479,6 +481,7 @@ export declare enum CaseSubCategory {
|
|
|
479
481
|
OMBUDSMAN_CASE = "OMBUDSMAN_CASE",
|
|
480
482
|
ONE_TOUCH_SWITCH = "ONE_TOUCH_SWITCH",
|
|
481
483
|
ONT_RELOCATION = "ONT_RELOCATION",
|
|
484
|
+
ORDER_MANAGEMENT = "ORDER_MANAGEMENT",
|
|
482
485
|
OVERDUE_INVOICE = "OVERDUE_INVOICE",
|
|
483
486
|
PAYMENT_LINK = "PAYMENT_LINK",
|
|
484
487
|
PAYMENT_PLAN = "PAYMENT_PLAN",
|
|
@@ -491,10 +494,12 @@ export declare enum CaseSubCategory {
|
|
|
491
494
|
RECONTRACT_ROUTER_DISPATCH = "RECONTRACT_ROUTER_DISPATCH",
|
|
492
495
|
RECONTRACT_UPGRADE = "RECONTRACT_UPGRADE",
|
|
493
496
|
REFERRAL = "REFERRAL",
|
|
497
|
+
RETENTIONS = "RETENTIONS",
|
|
494
498
|
SERVICE_VISIT = "SERVICE_VISIT",
|
|
495
499
|
SPAM = "SPAM",
|
|
496
500
|
SPEED_HARD_WIRED = "SPEED_HARD_WIRED",
|
|
497
501
|
SPEED_WI_FI = "SPEED_WIFI",
|
|
502
|
+
TECH_NINJAS = "TECH_NINJAS",
|
|
498
503
|
TLOS_OUTAGE = "TLOS_OUTAGE",
|
|
499
504
|
TRANSFER_OF_OWNERSHIP = "TRANSFER_OF_OWNERSHIP",
|
|
500
505
|
WEBSITE_APP_ISSUE = "WEBSITE_APP_ISSUE",
|
|
@@ -579,7 +584,10 @@ export declare enum CaseDpaCustomerType {
|
|
|
579
584
|
*
|
|
580
585
|
* @remarks Available options:
|
|
581
586
|
* - `BILLING` - Billing
|
|
587
|
+
* - `BUNDLED_OFFER_BROADBAND_UTILITIES` - Bundled offer (broadband utilities)
|
|
588
|
+
* - `BUNDLED_OFFER_MOBILE_BROADBAND` - Bundled offer (mobile broadband)
|
|
582
589
|
* - `BUNDLED_OFFER` - Bundled offer (mobile, tv, broadband)
|
|
590
|
+
* - `BUNDLED_OFFER_TV_BROADBAND` - Bundled offer (tv broadband)
|
|
583
591
|
* - `CUSTOMER_SERVICE` - Customer Service
|
|
584
592
|
* - `BETTER_PRICE` - Found a better price
|
|
585
593
|
* - `NOT_DISCLOSED` - Not willing to disclose
|
|
@@ -588,7 +596,10 @@ export declare enum CaseDpaCustomerType {
|
|
|
588
596
|
*/
|
|
589
597
|
export declare enum CaseReasonForLeaving {
|
|
590
598
|
BILLING = "BILLING",
|
|
599
|
+
BUNDLED_OFFER_BROADBAND_UTILITIES = "BUNDLED_OFFER_BROADBAND_UTILITIES",
|
|
600
|
+
BUNDLED_OFFER_MOBILE_BROADBAND = "BUNDLED_OFFER_MOBILE_BROADBAND",
|
|
591
601
|
BUNDLED_OFFER_MOBILE_TV_BROADBAND = "BUNDLED_OFFER",
|
|
602
|
+
BUNDLED_OFFER_TV_BROADBAND = "BUNDLED_OFFER_TV_BROADBAND",
|
|
592
603
|
CUSTOMER_SERVICE = "CUSTOMER_SERVICE",
|
|
593
604
|
FOUND_A_BETTER_PRICE = "BETTER_PRICE",
|
|
594
605
|
NOT_WILLING_TO_DISCLOSE = "NOT_DISCLOSED",
|
|
@@ -833,10 +844,12 @@ export declare enum CaseVulnerableCustomer {
|
|
|
833
844
|
* Outcome from trying to save a customer
|
|
834
845
|
*
|
|
835
846
|
* @remarks Available options:
|
|
847
|
+
* - `CLOSED_ELSEWHERE` - Closed Elsewhere (Case Tidy Up)
|
|
836
848
|
* - `LOST` - Lost
|
|
837
849
|
* - `SAVED` - Saved
|
|
838
850
|
*/
|
|
839
851
|
export declare enum CaseRetentionOutcome {
|
|
852
|
+
CLOSED_ELSEWHERE_CASE_TIDY_UP = "CLOSED_ELSEWHERE",
|
|
840
853
|
LOST = "LOST",
|
|
841
854
|
SAVED = "SAVED"
|
|
842
855
|
}
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -383,6 +383,7 @@ var CaseChannel;
|
|
|
383
383
|
* - `BILLING` - Billing
|
|
384
384
|
* - `CANCELLATION` - Cancellation
|
|
385
385
|
* - `COMPLAINT` - Complaint
|
|
386
|
+
* - `EDGAR` - Edgar
|
|
386
387
|
* - `INSTALLS_AND_SERVICE_VISITS` - Installs & Service Visits
|
|
387
388
|
* - `MANAGE_MY_ACCOUNT` - Manage My Account
|
|
388
389
|
* - `NEW` - New
|
|
@@ -399,6 +400,7 @@ var CaseCategory;
|
|
|
399
400
|
CaseCategory["BILLING"] = "BILLING";
|
|
400
401
|
CaseCategory["CANCELLATION"] = "CANCELLATION";
|
|
401
402
|
CaseCategory["COMPLAINT"] = "COMPLAINT";
|
|
403
|
+
CaseCategory["EDGAR"] = "EDGAR";
|
|
402
404
|
CaseCategory["INSTALLS_SERVICE_VISITS"] = "INSTALLS_AND_SERVICE_VISITS";
|
|
403
405
|
CaseCategory["MANAGE_MY_ACCOUNT"] = "MANAGE_MY_ACCOUNT";
|
|
404
406
|
CaseCategory["NEW"] = "NEW";
|
|
@@ -431,7 +433,7 @@ var CaseCategory;
|
|
|
431
433
|
* - `COPY_OF_INVOICE` - Copy of Invoice
|
|
432
434
|
* - `CUSTOMER_DEVICE_ISSUE` - Customer Device Issue
|
|
433
435
|
* - `DATA_SUBJECT_ACCESS_REQUEST` - Data Subject Access Request
|
|
434
|
-
* - ... and
|
|
436
|
+
* - ... and 45 more
|
|
435
437
|
*/
|
|
436
438
|
var CaseSubCategory;
|
|
437
439
|
(function (CaseSubCategory) {
|
|
@@ -472,6 +474,7 @@ var CaseSubCategory;
|
|
|
472
474
|
CaseSubCategory["OMBUDSMAN_CASE"] = "OMBUDSMAN_CASE";
|
|
473
475
|
CaseSubCategory["ONE_TOUCH_SWITCH"] = "ONE_TOUCH_SWITCH";
|
|
474
476
|
CaseSubCategory["ONT_RELOCATION"] = "ONT_RELOCATION";
|
|
477
|
+
CaseSubCategory["ORDER_MANAGEMENT"] = "ORDER_MANAGEMENT";
|
|
475
478
|
CaseSubCategory["OVERDUE_INVOICE"] = "OVERDUE_INVOICE";
|
|
476
479
|
CaseSubCategory["PAYMENT_LINK"] = "PAYMENT_LINK";
|
|
477
480
|
CaseSubCategory["PAYMENT_PLAN"] = "PAYMENT_PLAN";
|
|
@@ -484,10 +487,12 @@ var CaseSubCategory;
|
|
|
484
487
|
CaseSubCategory["RECONTRACT_ROUTER_DISPATCH"] = "RECONTRACT_ROUTER_DISPATCH";
|
|
485
488
|
CaseSubCategory["RECONTRACT_UPGRADE"] = "RECONTRACT_UPGRADE";
|
|
486
489
|
CaseSubCategory["REFERRAL"] = "REFERRAL";
|
|
490
|
+
CaseSubCategory["RETENTIONS"] = "RETENTIONS";
|
|
487
491
|
CaseSubCategory["SERVICE_VISIT"] = "SERVICE_VISIT";
|
|
488
492
|
CaseSubCategory["SPAM"] = "SPAM";
|
|
489
493
|
CaseSubCategory["SPEED_HARD_WIRED"] = "SPEED_HARD_WIRED";
|
|
490
494
|
CaseSubCategory["SPEED_WI_FI"] = "SPEED_WIFI";
|
|
495
|
+
CaseSubCategory["TECH_NINJAS"] = "TECH_NINJAS";
|
|
491
496
|
CaseSubCategory["TLOS_OUTAGE"] = "TLOS_OUTAGE";
|
|
492
497
|
CaseSubCategory["TRANSFER_OF_OWNERSHIP"] = "TRANSFER_OF_OWNERSHIP";
|
|
493
498
|
CaseSubCategory["WEBSITE_APP_ISSUE"] = "WEBSITE_APP_ISSUE";
|
|
@@ -576,7 +581,10 @@ var CaseDpaCustomerType;
|
|
|
576
581
|
*
|
|
577
582
|
* @remarks Available options:
|
|
578
583
|
* - `BILLING` - Billing
|
|
584
|
+
* - `BUNDLED_OFFER_BROADBAND_UTILITIES` - Bundled offer (broadband utilities)
|
|
585
|
+
* - `BUNDLED_OFFER_MOBILE_BROADBAND` - Bundled offer (mobile broadband)
|
|
579
586
|
* - `BUNDLED_OFFER` - Bundled offer (mobile, tv, broadband)
|
|
587
|
+
* - `BUNDLED_OFFER_TV_BROADBAND` - Bundled offer (tv broadband)
|
|
580
588
|
* - `CUSTOMER_SERVICE` - Customer Service
|
|
581
589
|
* - `BETTER_PRICE` - Found a better price
|
|
582
590
|
* - `NOT_DISCLOSED` - Not willing to disclose
|
|
@@ -586,7 +594,10 @@ var CaseDpaCustomerType;
|
|
|
586
594
|
var CaseReasonForLeaving;
|
|
587
595
|
(function (CaseReasonForLeaving) {
|
|
588
596
|
CaseReasonForLeaving["BILLING"] = "BILLING";
|
|
597
|
+
CaseReasonForLeaving["BUNDLED_OFFER_BROADBAND_UTILITIES"] = "BUNDLED_OFFER_BROADBAND_UTILITIES";
|
|
598
|
+
CaseReasonForLeaving["BUNDLED_OFFER_MOBILE_BROADBAND"] = "BUNDLED_OFFER_MOBILE_BROADBAND";
|
|
589
599
|
CaseReasonForLeaving["BUNDLED_OFFER_MOBILE_TV_BROADBAND"] = "BUNDLED_OFFER";
|
|
600
|
+
CaseReasonForLeaving["BUNDLED_OFFER_TV_BROADBAND"] = "BUNDLED_OFFER_TV_BROADBAND";
|
|
590
601
|
CaseReasonForLeaving["CUSTOMER_SERVICE"] = "CUSTOMER_SERVICE";
|
|
591
602
|
CaseReasonForLeaving["FOUND_A_BETTER_PRICE"] = "BETTER_PRICE";
|
|
592
603
|
CaseReasonForLeaving["NOT_WILLING_TO_DISCLOSE"] = "NOT_DISCLOSED";
|
|
@@ -843,11 +854,13 @@ var CaseVulnerableCustomer;
|
|
|
843
854
|
* Outcome from trying to save a customer
|
|
844
855
|
*
|
|
845
856
|
* @remarks Available options:
|
|
857
|
+
* - `CLOSED_ELSEWHERE` - Closed Elsewhere (Case Tidy Up)
|
|
846
858
|
* - `LOST` - Lost
|
|
847
859
|
* - `SAVED` - Saved
|
|
848
860
|
*/
|
|
849
861
|
var CaseRetentionOutcome;
|
|
850
862
|
(function (CaseRetentionOutcome) {
|
|
863
|
+
CaseRetentionOutcome["CLOSED_ELSEWHERE_CASE_TIDY_UP"] = "CLOSED_ELSEWHERE";
|
|
851
864
|
CaseRetentionOutcome["LOST"] = "LOST";
|
|
852
865
|
CaseRetentionOutcome["SAVED"] = "SAVED";
|
|
853
866
|
})(CaseRetentionOutcome = exports.CaseRetentionOutcome || (exports.CaseRetentionOutcome = {}));
|
|
@@ -57,8 +57,6 @@ export declare enum DefaultCommitmentStageKeys {
|
|
|
57
57
|
* Use these constants instead of string literals for type safety
|
|
58
58
|
*/
|
|
59
59
|
export declare enum CommitmentPropertyKeys {
|
|
60
|
-
/** orderId::type — the natural key. UNIQUE, and what upsertOnCreate hashes, so the reconciler cannot create a second commitment for something already owed. */
|
|
61
|
-
Fingerprint = "Fingerprint",
|
|
62
60
|
/** The invariant's stableId, e.g. yf/ORDER/OrderStageSupply/supply-completed-kci-must-arrive-by-committed-date. Generated into COMMITMENT-CATALOG.json from the BP, so this is an address the rest of the estate already uses rather than a new vocabulary. */
|
|
63
61
|
Type = "Type",
|
|
64
62
|
/** When it falls due. Empty only while NOT_YET_DUE — a BREACHED commitment without one would be past a deadline that does not exist, which is a fault in whatever created it. */
|
|
@@ -76,7 +74,9 @@ export declare enum CommitmentPropertyKeys {
|
|
|
76
74
|
/** The order this commitment belongs to. Also the first segment of Fingerprint; a column so that every deadline on one order is a single query. */
|
|
77
75
|
OrderId = "OrderId",
|
|
78
76
|
/** When the commitment checker last judged this record, whether or not the verdict changed. Written without an update event. How "due but never checked" is measured. */
|
|
79
|
-
LastCheckedAt = "LastCheckedAt"
|
|
77
|
+
LastCheckedAt = "LastCheckedAt",
|
|
78
|
+
/** orderId::type — the natural key. UNIQUE, and what upsertOnCreate hashes, so the reconciler cannot create a second commitment for something already owed. */
|
|
79
|
+
Fingerprint = "Fingerprint"
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
82
|
* Properties for Commitment records
|
|
@@ -84,12 +84,6 @@ export declare enum CommitmentPropertyKeys {
|
|
|
84
84
|
* @see OrderModule:Commitment
|
|
85
85
|
*/
|
|
86
86
|
export interface CommitmentProperties {
|
|
87
|
-
/** orderId::type — the natural key. UNIQUE, and what upsertOnCreate hashes, so the reconciler cannot create a second commitment for something already owed.
|
|
88
|
-
*
|
|
89
|
-
* @type {TEXT}
|
|
90
|
-
* @default
|
|
91
|
-
*/
|
|
92
|
-
Fingerprint: string;
|
|
93
87
|
/** The invariant's stableId, e.g. yf/ORDER/OrderStageSupply/supply-completed-kci-must-arrive-by-committed-date. Generated into COMMITMENT-CATALOG.json from the BP, so this is an address the rest of the estate already uses rather than a new vocabulary.
|
|
94
88
|
*
|
|
95
89
|
* @type {TEXT}
|
|
@@ -144,6 +138,12 @@ export interface CommitmentProperties {
|
|
|
144
138
|
* @default
|
|
145
139
|
*/
|
|
146
140
|
LastCheckedAt: string;
|
|
141
|
+
/** orderId::type — the natural key. UNIQUE, and what upsertOnCreate hashes, so the reconciler cannot create a second commitment for something already owed.
|
|
142
|
+
*
|
|
143
|
+
* @type {TEXT}
|
|
144
|
+
* @default
|
|
145
|
+
*/
|
|
146
|
+
Fingerprint: string;
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* Commitment entity from OrderModule
|
|
@@ -63,8 +63,6 @@ var DefaultCommitmentStageKeys;
|
|
|
63
63
|
*/
|
|
64
64
|
var CommitmentPropertyKeys;
|
|
65
65
|
(function (CommitmentPropertyKeys) {
|
|
66
|
-
/** orderId::type — the natural key. UNIQUE, and what upsertOnCreate hashes, so the reconciler cannot create a second commitment for something already owed. */
|
|
67
|
-
CommitmentPropertyKeys["Fingerprint"] = "Fingerprint";
|
|
68
66
|
/** The invariant's stableId, e.g. yf/ORDER/OrderStageSupply/supply-completed-kci-must-arrive-by-committed-date. Generated into COMMITMENT-CATALOG.json from the BP, so this is an address the rest of the estate already uses rather than a new vocabulary. */
|
|
69
67
|
CommitmentPropertyKeys["Type"] = "Type";
|
|
70
68
|
/** When it falls due. Empty only while NOT_YET_DUE — a BREACHED commitment without one would be past a deadline that does not exist, which is a fault in whatever created it. */
|
|
@@ -83,6 +81,8 @@ var CommitmentPropertyKeys;
|
|
|
83
81
|
CommitmentPropertyKeys["OrderId"] = "OrderId";
|
|
84
82
|
/** When the commitment checker last judged this record, whether or not the verdict changed. Written without an update event. How "due but never checked" is measured. */
|
|
85
83
|
CommitmentPropertyKeys["LastCheckedAt"] = "LastCheckedAt";
|
|
84
|
+
/** orderId::type — the natural key. UNIQUE, and what upsertOnCreate hashes, so the reconciler cannot create a second commitment for something already owed. */
|
|
85
|
+
CommitmentPropertyKeys["Fingerprint"] = "Fingerprint";
|
|
86
86
|
})(CommitmentPropertyKeys = exports.CommitmentPropertyKeys || (exports.CommitmentPropertyKeys = {}));
|
|
87
87
|
/**
|
|
88
88
|
* Commitment entity from OrderModule
|