@d19n/youfibre-odin-sdk 2.0.389 → 2.0.390
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 +4 -1
- package/dist/actions-v2/MoveReplacementAmcoToPendingPaymentDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToPendingPaymentDto.js +62 -0
- package/dist/entities-v2/Order.d.ts +722 -722
- package/dist/entities-v2/Order.js +358 -358
- package/dist/entities-v2/VoiceConfiguration.d.ts +130 -130
- package/dist/entities-v2/VoiceConfiguration.js +46 -46
- package/dist/entities-v2/WorkOrder.d.ts +6 -2
- package/dist/entities-v2/WorkOrder.js +4 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +25 -0
- package/dist/records-v2/WorkOrderRecord.js +29 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -406,7 +406,7 @@ This SDK includes **213** entities across **13** modules.
|
|
|
406
406
|
|
|
407
407
|
## Actions
|
|
408
408
|
|
|
409
|
-
This SDK includes **
|
|
409
|
+
This SDK includes **953** actions.
|
|
410
410
|
|
|
411
411
|
### Action Types
|
|
412
412
|
|
|
@@ -629,6 +629,7 @@ This SDK includes **952** actions.
|
|
|
629
629
|
| `MoveReplacementAmcoToFailedInspection` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToFailedInspection |
|
|
630
630
|
| `MoveReplacementAmcoToNonReturned` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToNonReturned |
|
|
631
631
|
| `MoveReplacementAmcoToPendingInspection` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingInspection |
|
|
632
|
+
| `MoveReplacementAmcoToPendingPayment` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment |
|
|
632
633
|
| `MoveReplacementAmcoToPendingReturn` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingReturn |
|
|
633
634
|
| `MoveReplacementAmcoToProcessed` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToProcessed |
|
|
634
635
|
| `MoveReplacementAmcoToReceived` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToReceived |
|
|
@@ -840,6 +841,8 @@ This SDK includes **952** actions.
|
|
|
840
841
|
|
|
841
842
|
**MoveReplacementAmcoToPendingInspection Target Stages:** `ReplacementAmcoStagePendingInspection`
|
|
842
843
|
|
|
844
|
+
**MoveReplacementAmcoToPendingPayment Target Stages:** `ReplacementAmcoStagePendingPayment`
|
|
845
|
+
|
|
843
846
|
**MoveReplacementAmcoToPendingReturn Target Stages:** `ReplacementAmcoStagePendingReturn`
|
|
844
847
|
|
|
845
848
|
**MoveReplacementAmcoToProcessed Target Stages:** `ReplacementAmcoStageProcessed`
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveReplacementAmcoToPendingPayment Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move the replacement work order to Pending Payment.
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity WorkOrder
|
|
8
|
+
* @entityType REPLACEMENT_AMCO
|
|
9
|
+
* @actionKey MoveReplacementAmcoToPendingPayment
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
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 MoveReplacementAmcoToPendingPayment step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveReplacementAmcoToPendingPaymentMessage extends OdinRecordUpdatedEvent<MoveReplacementAmcoToPendingPaymentDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveReplacementAmcoToPendingPayment action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveReplacementAmcoToPendingPaymentProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MoveReplacementAmcoToPendingPayment
|
|
30
|
+
*
|
|
31
|
+
* Move the replacement work order to Pending Payment.
|
|
32
|
+
*
|
|
33
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
34
|
+
* @module FieldServiceModule
|
|
35
|
+
* @entity WorkOrder
|
|
36
|
+
* @entityType REPLACEMENT_AMCO (Amco Replacement)
|
|
37
|
+
* @targetStages ReplacementAmcoStagePendingPayment
|
|
38
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
39
|
+
* @permission schema.action.movereplacementamcotopendingpayment.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveReplacementAmcoToPendingPaymentDto 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 = "MoveReplacementAmcoToPendingPayment";
|
|
46
|
+
static readonly MODULE_NAME = "FieldServiceModule";
|
|
47
|
+
static readonly ENTITIES: string[];
|
|
48
|
+
static readonly ENTITY_TYPE = "REPLACEMENT_AMCO";
|
|
49
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "93e28ad9-8c0f-487e-ade9-deeb0c73d6df";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movereplacementamcotopendingpayment.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["ReplacementAmcoStagePendingPayment"];
|
|
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
|
+
* MoveReplacementAmcoToPendingPayment Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move the replacement work order to Pending Payment.
|
|
6
|
+
*
|
|
7
|
+
* @module FieldServiceModule
|
|
8
|
+
* @entity WorkOrder
|
|
9
|
+
* @entityType REPLACEMENT_AMCO
|
|
10
|
+
* @actionKey MoveReplacementAmcoToPendingPayment
|
|
11
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveReplacementAmcoToPendingPaymentDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MoveReplacementAmcoToPendingPayment
|
|
20
|
+
*
|
|
21
|
+
* Move the replacement work order to Pending Payment.
|
|
22
|
+
*
|
|
23
|
+
* @actionType STAGE_TRANSITION - Transitions record to new pipeline stage
|
|
24
|
+
* @module FieldServiceModule
|
|
25
|
+
* @entity WorkOrder
|
|
26
|
+
* @entityType REPLACEMENT_AMCO (Amco Replacement)
|
|
27
|
+
* @targetStages ReplacementAmcoStagePendingPayment
|
|
28
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment
|
|
29
|
+
* @permission schema.action.movereplacementamcotopendingpayment.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveReplacementAmcoToPendingPaymentDto 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 = 'MoveReplacementAmcoToPendingPayment';
|
|
42
|
+
this.schemaActionId = '93e28ad9-8c0f-487e-ade9-deeb0c73d6df';
|
|
43
|
+
this.entity = 'FieldServiceModule:WorkOrder';
|
|
44
|
+
this.stageKey = 'ReplacementAmcoStagePendingPayment';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveReplacementAmcoToPendingPaymentDto = MoveReplacementAmcoToPendingPaymentDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveReplacementAmcoToPendingPaymentDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveReplacementAmcoToPendingPaymentDto.ACTION_KEY = 'MoveReplacementAmcoToPendingPayment';
|
|
51
|
+
MoveReplacementAmcoToPendingPaymentDto.MODULE_NAME = 'FieldServiceModule';
|
|
52
|
+
MoveReplacementAmcoToPendingPaymentDto.ENTITIES = ['WorkOrder'];
|
|
53
|
+
MoveReplacementAmcoToPendingPaymentDto.ENTITY_TYPE = 'REPLACEMENT_AMCO';
|
|
54
|
+
MoveReplacementAmcoToPendingPaymentDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingPayment';
|
|
55
|
+
MoveReplacementAmcoToPendingPaymentDto.SCHEMA_ACTION_ID = '93e28ad9-8c0f-487e-ade9-deeb0c73d6df';
|
|
56
|
+
MoveReplacementAmcoToPendingPaymentDto.PERMISSION = 'schema.action.movereplacementamcotopendingpayment.trigger';
|
|
57
|
+
MoveReplacementAmcoToPendingPaymentDto.TARGET_STAGES = ['ReplacementAmcoStagePendingPayment'];
|
|
58
|
+
MoveReplacementAmcoToPendingPaymentDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveReplacementAmcoToPendingPaymentDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveReplacementAmcoToPendingPaymentDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveReplacementAmcoToPendingPaymentDto.stepClasses = [];
|