@d19n/youfibre-odin-sdk 2.0.276 → 2.0.278
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 +36 -1
- package/dist/actions-v2/CreateContactDto.d.ts +1 -1
- package/dist/actions-v2/CreateFieldServiceProductDto.d.ts +1 -1
- package/dist/actions-v2/CreateFieldServiceReturnsBagProductDto.d.ts +94 -0
- package/dist/actions-v2/CreateFieldServiceReturnsBagProductDto.js +57 -0
- package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +1 -1
- package/dist/actions-v2/CreateMissedIncomingCallDto.d.ts +8 -1
- package/dist/actions-v2/MoveReplacementAmcoToCancelledDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToCancelledDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToCompleteDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToCompleteDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToDeliveredDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToDeliveredDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToEnRouteDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToEnRouteDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToErrorDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToErrorDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToFailedInspectionDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToFailedInspectionDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToNonReturnedDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToNonReturnedDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToPendingInspectionDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToPendingInspectionDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToPendingReturnDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToPendingReturnDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToProcessedDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToProcessedDto.js +62 -0
- package/dist/actions-v2/MoveReplacementAmcoToReceivedDto.d.ts +70 -0
- package/dist/actions-v2/MoveReplacementAmcoToReceivedDto.js +62 -0
- package/dist/actions-v2/ResendReplacementAmcoWorkOrderToAmcoDto.d.ts +77 -0
- package/dist/actions-v2/ResendReplacementAmcoWorkOrderToAmcoDto.js +59 -0
- package/dist/actions-v2/UpdateCustomerDeviceBatteryDto.d.ts +1 -109
- package/dist/actions-v2/UpdateCustomerDeviceBatteryDto.js +1 -121
- package/dist/entities-v2/Case.d.ts +4 -2
- package/dist/entities-v2/Case.js +4 -2
- package/dist/entities-v2/File.d.ts +0 -6
- package/dist/entities-v2/File.js +1 -5
- package/dist/entities-v2/Order.d.ts +1 -1
- package/dist/entities-v2/WorkOrder.d.ts +133 -137
- package/dist/entities-v2/WorkOrder.js +23 -27
- package/dist/entities-v2/YfWifiSurvey.d.ts +41 -1
- package/dist/entities-v2/YfWifiSurvey.js +10 -0
- package/dist/records-v2/CustomerDeviceRecord.d.ts +73 -11
- package/dist/records-v2/CustomerDeviceRecord.js +21 -11
- package/dist/records-v2/FieldServiceProductRecord.d.ts +89 -0
- package/dist/records-v2/FieldServiceProductRecord.js +36 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +303 -0
- package/dist/records-v2/WorkOrderRecord.js +356 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -365,7 +365,7 @@ This SDK includes **177** entities across **12** modules.
|
|
|
365
365
|
|
|
366
366
|
## Actions
|
|
367
367
|
|
|
368
|
-
This SDK includes **
|
|
368
|
+
This SDK includes **835** actions.
|
|
369
369
|
|
|
370
370
|
### Action Types
|
|
371
371
|
|
|
@@ -571,6 +571,17 @@ This SDK includes **822** actions.
|
|
|
571
571
|
| `MovePrePullWorkOrderToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.InProgressWorkOrderConfirmation |
|
|
572
572
|
| `MoveRemediationWorkOrderToEnRoute` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveRemediationWorkOrderToEnRoute |
|
|
573
573
|
| `MoveRemediationWorkOrderToInProgress` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveRemediationWorkOrderToInProgress |
|
|
574
|
+
| `MoveReplacementAmcoToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToCancelled |
|
|
575
|
+
| `MoveReplacementAmcoToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToComplete |
|
|
576
|
+
| `MoveReplacementAmcoToDelivered` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToDelivered |
|
|
577
|
+
| `MoveReplacementAmcoToEnRoute` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToEnRoute |
|
|
578
|
+
| `MoveReplacementAmcoToError` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToError |
|
|
579
|
+
| `MoveReplacementAmcoToFailedInspection` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToFailedInspection |
|
|
580
|
+
| `MoveReplacementAmcoToNonReturned` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToNonReturned |
|
|
581
|
+
| `MoveReplacementAmcoToPendingInspection` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingInspection |
|
|
582
|
+
| `MoveReplacementAmcoToPendingReturn` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToPendingReturn |
|
|
583
|
+
| `MoveReplacementAmcoToProcessed` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToProcessed |
|
|
584
|
+
| `MoveReplacementAmcoToReceived` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToReceived |
|
|
574
585
|
| `MoveServiceWorkOrderFromAcceptedToScheduled` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromAcceptedToScheduled |
|
|
575
586
|
| `MoveServiceWorkOrderFromEnRouteToPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromEnRouteToPending |
|
|
576
587
|
| `MoveServiceWorkOrderFromEnRouteToPendingSupplier` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveServiceWorkOrderFromEnRouteToPendingSupplier |
|
|
@@ -593,6 +604,7 @@ This SDK includes **822** actions.
|
|
|
593
604
|
| `RescheduleInstallWorkOrderSupplier` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Flow.RescheduleInstallWorkOrderSupplier |
|
|
594
605
|
| `ResendCollectionAmcoWorkOrderToAmco` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.ResendCollectionAmcoWorkOrderToAmco |
|
|
595
606
|
| `ResendDispatchAmcoWorkOrderToAmco` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.ResendDispatchAmcoWorkOrderToAmco |
|
|
607
|
+
| `ResendReplacementAmcoWorkOrderToAmco` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.ResendReplacementAmcoWorkOrderToAmco |
|
|
596
608
|
| `SetAmcoRequestDateTime` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.SetAmcoRequestDateTime |
|
|
597
609
|
| `TestAction123321` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Create.TestAction123321 |
|
|
598
610
|
| `UpdateDefaultWorkOrder` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.UpdateDefaultWorkOrder |
|
|
@@ -752,6 +764,28 @@ This SDK includes **822** actions.
|
|
|
752
764
|
|
|
753
765
|
**MoveRemediationWorkOrderToInProgress Target Stages:** `WorkOrderStageInProgress`
|
|
754
766
|
|
|
767
|
+
**MoveReplacementAmcoToCancelled Target Stages:** `ReplacementAmcoStageCancelled`
|
|
768
|
+
|
|
769
|
+
**MoveReplacementAmcoToComplete Target Stages:** `ReplacementAmcoStageComplete`
|
|
770
|
+
|
|
771
|
+
**MoveReplacementAmcoToDelivered Target Stages:** `ReplacementAmcoStageDelivered`
|
|
772
|
+
|
|
773
|
+
**MoveReplacementAmcoToEnRoute Target Stages:** `ReplacementAmcoStageEnRoute`
|
|
774
|
+
|
|
775
|
+
**MoveReplacementAmcoToError Target Stages:** `ReplacementAmcoStageError`
|
|
776
|
+
|
|
777
|
+
**MoveReplacementAmcoToFailedInspection Target Stages:** `ReplacementAmcoStageFailedInspection`
|
|
778
|
+
|
|
779
|
+
**MoveReplacementAmcoToNonReturned Target Stages:** `ReplacementAmcoStageNonReturned`
|
|
780
|
+
|
|
781
|
+
**MoveReplacementAmcoToPendingInspection Target Stages:** `ReplacementAmcoStagePendingInspection`
|
|
782
|
+
|
|
783
|
+
**MoveReplacementAmcoToPendingReturn Target Stages:** `ReplacementAmcoStagePendingReturn`
|
|
784
|
+
|
|
785
|
+
**MoveReplacementAmcoToProcessed Target Stages:** `ReplacementAmcoStageProcessed`
|
|
786
|
+
|
|
787
|
+
**MoveReplacementAmcoToReceived Target Stages:** `ReplacementAmcoStageReceived`
|
|
788
|
+
|
|
755
789
|
**MoveServiceWorkOrderFromAcceptedToScheduled Target Stages:** `WorkOrderStageScheduled`
|
|
756
790
|
|
|
757
791
|
**MoveServiceWorkOrderFromEnRouteToPending Target Stages:** `CustomerWorkOrdersStagePending`
|
|
@@ -1550,6 +1584,7 @@ This SDK includes **822** actions.
|
|
|
1550
1584
|
|--------|------|-------|
|
|
1551
1585
|
| `CreateFieldServiceMeshProduct` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceMeshProduct |
|
|
1552
1586
|
| `CreateFieldServiceProduct` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceProduct |
|
|
1587
|
+
| `CreateFieldServiceReturnsBagProduct` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceReturnsBagProduct |
|
|
1553
1588
|
| `CreateFieldServiceRouterProduct` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceRouterProduct |
|
|
1554
1589
|
| `EditFieldServiceProduct` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Update.EditFieldServiceProduct |
|
|
1555
1590
|
|
|
@@ -50,7 +50,7 @@ export interface CreateContactProperties {
|
|
|
50
50
|
*/
|
|
51
51
|
EmailAddress: string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Marketing Consent
|
|
54
54
|
*
|
|
55
55
|
* I am happy to hear from YouFibre by email, WhatsApp and SMS about YouFibre’s broadband packages and any special offers. I am aware that I can opt-out at any time. For details on how we manage your data, please see our privacy policy.
|
|
56
56
|
* @type {BOOLEAN}
|
|
@@ -23,7 +23,7 @@ export interface CreateFieldServiceProductMessage extends OdinRecordCreatedEvent
|
|
|
23
23
|
* Properties for CreateFieldServiceProduct action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 10
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateFieldServiceProductProperties {
|
|
29
29
|
/**
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateFieldServiceReturnsBagProduct Action DTO
|
|
3
|
+
*
|
|
4
|
+
* CreateFieldServiceReturnsBagProduct
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity FieldServiceProduct
|
|
8
|
+
* @entityType RETURNS_BAG
|
|
9
|
+
* @actionKey CreateFieldServiceReturnsBagProduct
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceReturnsBagProduct
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for CreateFieldServiceReturnsBagProduct created events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceReturnsBagProduct
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateFieldServiceReturnsBagProductMessage extends OdinRecordCreatedEvent<CreateFieldServiceReturnsBagProductDto, CreateFieldServiceReturnsBagProductProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for CreateFieldServiceReturnsBagProduct action
|
|
24
|
+
*
|
|
25
|
+
* @property Required fields: 3
|
|
26
|
+
* @property Optional fields: 1
|
|
27
|
+
*/
|
|
28
|
+
export interface CreateFieldServiceReturnsBagProductProperties {
|
|
29
|
+
/**
|
|
30
|
+
* InventoryId
|
|
31
|
+
*
|
|
32
|
+
* The inventory Id of the product (Field Operations - FieldServiceProduct)
|
|
33
|
+
* @type {ALPHA_NUMERICAL}
|
|
34
|
+
* @required
|
|
35
|
+
*/
|
|
36
|
+
InventoryId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Name
|
|
39
|
+
*
|
|
40
|
+
* Name of the Product (Field Operations - FieldServiceProduct)
|
|
41
|
+
* @type {TEXT}
|
|
42
|
+
* @required
|
|
43
|
+
*/
|
|
44
|
+
Name: string;
|
|
45
|
+
/**
|
|
46
|
+
* DefaultShippingMethod
|
|
47
|
+
*
|
|
48
|
+
* Default Shipping Method fpr the product (Field Operations - FieldServiceProduct)
|
|
49
|
+
* @type {ENUM}
|
|
50
|
+
* @required
|
|
51
|
+
*/
|
|
52
|
+
DefaultShippingMethod: string;
|
|
53
|
+
/**
|
|
54
|
+
* Active
|
|
55
|
+
*
|
|
56
|
+
* Data field for FieldServiceProduct records. Used by Field Operations team.
|
|
57
|
+
* @type {BOOLEAN}
|
|
58
|
+
*/
|
|
59
|
+
Active?: boolean | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* CreateFieldServiceReturnsBagProduct
|
|
63
|
+
*
|
|
64
|
+
* @actionType CREATE - Creates a new FieldServiceProduct record
|
|
65
|
+
* @module FieldServiceModule
|
|
66
|
+
* @entity FieldServiceProduct
|
|
67
|
+
* @entityType RETURNS_BAG (Return Bag)
|
|
68
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceReturnsBagProduct
|
|
69
|
+
* @permission schema.action.createfieldservicereturnsbagproduct.trigger
|
|
70
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
71
|
+
*/
|
|
72
|
+
export declare class CreateFieldServiceReturnsBagProductDto extends OdinRecordCreateDto<CreateFieldServiceReturnsBagProductProperties> {
|
|
73
|
+
/** Used by SDK generators to identify action type */
|
|
74
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
75
|
+
static readonly ACTION_KEY = "CreateFieldServiceReturnsBagProduct";
|
|
76
|
+
static readonly MODULE_NAME = "FieldServiceModule";
|
|
77
|
+
static readonly ENTITIES: string[];
|
|
78
|
+
static readonly ENTITY_TYPE = "RETURNS_BAG";
|
|
79
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceReturnsBagProduct";
|
|
80
|
+
static readonly PERMISSION = "schema.action.createfieldservicereturnsbagproduct.trigger";
|
|
81
|
+
/** Step metadata - entity this action targets */
|
|
82
|
+
static readonly STEP_ENTITY = "FieldServiceModule:FieldServiceProduct";
|
|
83
|
+
static readonly STEP_SCHEMA_ID = "1c437c1a-d6d7-403d-a36e-4dd3cd2d82b9";
|
|
84
|
+
static readonly STEP_SCHEMA_ACTION_ID = "0406dbda-e5b1-448f-80af-67749fa32efb";
|
|
85
|
+
static readonly STEP_SCHEMA_TYPE_ID = "0abfe1c3-b058-4ce1-a0e1-9f883cefeef0";
|
|
86
|
+
static readonly STEP_TYPE = "RETURNS_BAG";
|
|
87
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
88
|
+
readonly actionName: string;
|
|
89
|
+
readonly schemaActionId: string;
|
|
90
|
+
readonly entity: string;
|
|
91
|
+
constructor(properties: CreateFieldServiceReturnsBagProductProperties, options?: {
|
|
92
|
+
journeyId?: string;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateFieldServiceReturnsBagProduct Action DTO
|
|
4
|
+
*
|
|
5
|
+
* CreateFieldServiceReturnsBagProduct
|
|
6
|
+
*
|
|
7
|
+
* @module FieldServiceModule
|
|
8
|
+
* @entity FieldServiceProduct
|
|
9
|
+
* @entityType RETURNS_BAG
|
|
10
|
+
* @actionKey CreateFieldServiceReturnsBagProduct
|
|
11
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceReturnsBagProduct
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateFieldServiceReturnsBagProductDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* CreateFieldServiceReturnsBagProduct
|
|
20
|
+
*
|
|
21
|
+
* @actionType CREATE - Creates a new FieldServiceProduct record
|
|
22
|
+
* @module FieldServiceModule
|
|
23
|
+
* @entity FieldServiceProduct
|
|
24
|
+
* @entityType RETURNS_BAG (Return Bag)
|
|
25
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceReturnsBagProduct
|
|
26
|
+
* @permission schema.action.createfieldservicereturnsbagproduct.trigger
|
|
27
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
28
|
+
*/
|
|
29
|
+
class CreateFieldServiceReturnsBagProductDto extends core_1.OdinRecordCreateDto {
|
|
30
|
+
constructor(properties, options) {
|
|
31
|
+
super({
|
|
32
|
+
entity: 'FieldServiceModule:FieldServiceProduct',
|
|
33
|
+
type: 'RETURNS_BAG',
|
|
34
|
+
properties,
|
|
35
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
36
|
+
});
|
|
37
|
+
this.actionName = 'CreateFieldServiceReturnsBagProduct';
|
|
38
|
+
this.schemaActionId = '0406dbda-e5b1-448f-80af-67749fa32efb';
|
|
39
|
+
this.entity = 'FieldServiceModule:FieldServiceProduct';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.CreateFieldServiceReturnsBagProductDto = CreateFieldServiceReturnsBagProductDto;
|
|
43
|
+
/** Used by SDK generators to identify action type */
|
|
44
|
+
CreateFieldServiceReturnsBagProductDto.ACTION_TYPE = 'CREATE';
|
|
45
|
+
CreateFieldServiceReturnsBagProductDto.ACTION_KEY = 'CreateFieldServiceReturnsBagProduct';
|
|
46
|
+
CreateFieldServiceReturnsBagProductDto.MODULE_NAME = 'FieldServiceModule';
|
|
47
|
+
CreateFieldServiceReturnsBagProductDto.ENTITIES = ['FieldServiceProduct'];
|
|
48
|
+
CreateFieldServiceReturnsBagProductDto.ENTITY_TYPE = 'RETURNS_BAG';
|
|
49
|
+
CreateFieldServiceReturnsBagProductDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.FieldServiceProduct.Create.CreateFieldServiceReturnsBagProduct';
|
|
50
|
+
CreateFieldServiceReturnsBagProductDto.PERMISSION = 'schema.action.createfieldservicereturnsbagproduct.trigger';
|
|
51
|
+
/** Step metadata - entity this action targets */
|
|
52
|
+
CreateFieldServiceReturnsBagProductDto.STEP_ENTITY = 'FieldServiceModule:FieldServiceProduct';
|
|
53
|
+
CreateFieldServiceReturnsBagProductDto.STEP_SCHEMA_ID = '1c437c1a-d6d7-403d-a36e-4dd3cd2d82b9';
|
|
54
|
+
CreateFieldServiceReturnsBagProductDto.STEP_SCHEMA_ACTION_ID = '0406dbda-e5b1-448f-80af-67749fa32efb';
|
|
55
|
+
CreateFieldServiceReturnsBagProductDto.STEP_SCHEMA_TYPE_ID = '0abfe1c3-b058-4ce1-a0e1-9f883cefeef0';
|
|
56
|
+
CreateFieldServiceReturnsBagProductDto.STEP_TYPE = 'RETURNS_BAG';
|
|
57
|
+
CreateFieldServiceReturnsBagProductDto.AUTO_LINK_PARENT = true;
|
|
@@ -115,7 +115,7 @@ export interface CreateContactProperties {
|
|
|
115
115
|
*/
|
|
116
116
|
EmailAddress: string;
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
118
|
+
* Marketing Consent
|
|
119
119
|
*
|
|
120
120
|
* I am happy to hear from YouFibre by email, WhatsApp and SMS about YouFibre’s broadband packages and any special offers. I am aware that I can opt-out at any time. For details on how we manage your data, please see our privacy policy.
|
|
121
121
|
* @type {BOOLEAN}
|
|
@@ -22,7 +22,7 @@ export interface CreateMissedIncomingCallMessage extends OdinRecordCreatedEvent<
|
|
|
22
22
|
* Properties for CreateMissedIncomingCall action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 9
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateMissedIncomingCallProperties {
|
|
28
28
|
/**
|
|
@@ -97,6 +97,13 @@ export interface CreateMissedIncomingCallProperties {
|
|
|
97
97
|
* @required
|
|
98
98
|
*/
|
|
99
99
|
EndTime: string;
|
|
100
|
+
/**
|
|
101
|
+
* Queue Name
|
|
102
|
+
*
|
|
103
|
+
* Display name/title for Call records. Primary identifier for Communications team.
|
|
104
|
+
* @type {TEXT}
|
|
105
|
+
*/
|
|
106
|
+
QueueName?: string | null;
|
|
100
107
|
}
|
|
101
108
|
/**
|
|
102
109
|
* CreateMissedIncomingCall
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveReplacementAmcoToCancelled Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move the replacement work order to Cancelled.
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity WorkOrder
|
|
8
|
+
* @entityType REPLACEMENT_AMCO
|
|
9
|
+
* @actionKey MoveReplacementAmcoToCancelled
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToCancelled
|
|
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 MoveReplacementAmcoToCancelled step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToCancelled
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveReplacementAmcoToCancelledMessage extends OdinRecordUpdatedEvent<MoveReplacementAmcoToCancelledDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveReplacementAmcoToCancelled action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveReplacementAmcoToCancelledProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MoveReplacementAmcoToCancelled
|
|
30
|
+
*
|
|
31
|
+
* Move the replacement work order to Cancelled.
|
|
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 ReplacementAmcoStageCancelled
|
|
38
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToCancelled
|
|
39
|
+
* @permission schema.action.movereplacementamcotocancelled.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveReplacementAmcoToCancelledDto 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 = "MoveReplacementAmcoToCancelled";
|
|
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.MoveReplacementAmcoToCancelled";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "f9780f08-6481-4971-97fd-df19b0275e04";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movereplacementamcotocancelled.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["ReplacementAmcoStageCancelled"];
|
|
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
|
+
* MoveReplacementAmcoToCancelled Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move the replacement work order to Cancelled.
|
|
6
|
+
*
|
|
7
|
+
* @module FieldServiceModule
|
|
8
|
+
* @entity WorkOrder
|
|
9
|
+
* @entityType REPLACEMENT_AMCO
|
|
10
|
+
* @actionKey MoveReplacementAmcoToCancelled
|
|
11
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToCancelled
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveReplacementAmcoToCancelledDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MoveReplacementAmcoToCancelled
|
|
20
|
+
*
|
|
21
|
+
* Move the replacement work order to Cancelled.
|
|
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 ReplacementAmcoStageCancelled
|
|
28
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToCancelled
|
|
29
|
+
* @permission schema.action.movereplacementamcotocancelled.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveReplacementAmcoToCancelledDto 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 = 'MoveReplacementAmcoToCancelled';
|
|
42
|
+
this.schemaActionId = 'f9780f08-6481-4971-97fd-df19b0275e04';
|
|
43
|
+
this.entity = 'FieldServiceModule:WorkOrder';
|
|
44
|
+
this.stageKey = 'ReplacementAmcoStageCancelled';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveReplacementAmcoToCancelledDto = MoveReplacementAmcoToCancelledDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveReplacementAmcoToCancelledDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveReplacementAmcoToCancelledDto.ACTION_KEY = 'MoveReplacementAmcoToCancelled';
|
|
51
|
+
MoveReplacementAmcoToCancelledDto.MODULE_NAME = 'FieldServiceModule';
|
|
52
|
+
MoveReplacementAmcoToCancelledDto.ENTITIES = ['WorkOrder'];
|
|
53
|
+
MoveReplacementAmcoToCancelledDto.ENTITY_TYPE = 'REPLACEMENT_AMCO';
|
|
54
|
+
MoveReplacementAmcoToCancelledDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToCancelled';
|
|
55
|
+
MoveReplacementAmcoToCancelledDto.SCHEMA_ACTION_ID = 'f9780f08-6481-4971-97fd-df19b0275e04';
|
|
56
|
+
MoveReplacementAmcoToCancelledDto.PERMISSION = 'schema.action.movereplacementamcotocancelled.trigger';
|
|
57
|
+
MoveReplacementAmcoToCancelledDto.TARGET_STAGES = ['ReplacementAmcoStageCancelled'];
|
|
58
|
+
MoveReplacementAmcoToCancelledDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveReplacementAmcoToCancelledDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveReplacementAmcoToCancelledDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveReplacementAmcoToCancelledDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveReplacementAmcoToComplete Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move the replacement work order to Complete.
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity WorkOrder
|
|
8
|
+
* @entityType REPLACEMENT_AMCO
|
|
9
|
+
* @actionKey MoveReplacementAmcoToComplete
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToComplete
|
|
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 MoveReplacementAmcoToComplete step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToComplete
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveReplacementAmcoToCompleteMessage extends OdinRecordUpdatedEvent<MoveReplacementAmcoToCompleteDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveReplacementAmcoToComplete action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveReplacementAmcoToCompleteProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MoveReplacementAmcoToComplete
|
|
30
|
+
*
|
|
31
|
+
* Move the replacement work order to Complete.
|
|
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 ReplacementAmcoStageComplete
|
|
38
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToComplete
|
|
39
|
+
* @permission schema.action.movereplacementamcotocomplete.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveReplacementAmcoToCompleteDto 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 = "MoveReplacementAmcoToComplete";
|
|
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.MoveReplacementAmcoToComplete";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "54ed0812-8c22-4242-b59c-6fd65632a397";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movereplacementamcotocomplete.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["ReplacementAmcoStageComplete"];
|
|
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
|
+
* MoveReplacementAmcoToComplete Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Move the replacement work order to Complete.
|
|
6
|
+
*
|
|
7
|
+
* @module FieldServiceModule
|
|
8
|
+
* @entity WorkOrder
|
|
9
|
+
* @entityType REPLACEMENT_AMCO
|
|
10
|
+
* @actionKey MoveReplacementAmcoToComplete
|
|
11
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToComplete
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MoveReplacementAmcoToCompleteDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* MoveReplacementAmcoToComplete
|
|
20
|
+
*
|
|
21
|
+
* Move the replacement work order to Complete.
|
|
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 ReplacementAmcoStageComplete
|
|
28
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToComplete
|
|
29
|
+
* @permission schema.action.movereplacementamcotocomplete.trigger
|
|
30
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
31
|
+
*/
|
|
32
|
+
class MoveReplacementAmcoToCompleteDto 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 = 'MoveReplacementAmcoToComplete';
|
|
42
|
+
this.schemaActionId = '54ed0812-8c22-4242-b59c-6fd65632a397';
|
|
43
|
+
this.entity = 'FieldServiceModule:WorkOrder';
|
|
44
|
+
this.stageKey = 'ReplacementAmcoStageComplete';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.MoveReplacementAmcoToCompleteDto = MoveReplacementAmcoToCompleteDto;
|
|
48
|
+
/** Used by SDK generators to identify action type */
|
|
49
|
+
MoveReplacementAmcoToCompleteDto.ACTION_TYPE = 'UPDATE';
|
|
50
|
+
MoveReplacementAmcoToCompleteDto.ACTION_KEY = 'MoveReplacementAmcoToComplete';
|
|
51
|
+
MoveReplacementAmcoToCompleteDto.MODULE_NAME = 'FieldServiceModule';
|
|
52
|
+
MoveReplacementAmcoToCompleteDto.ENTITIES = ['WorkOrder'];
|
|
53
|
+
MoveReplacementAmcoToCompleteDto.ENTITY_TYPE = 'REPLACEMENT_AMCO';
|
|
54
|
+
MoveReplacementAmcoToCompleteDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToComplete';
|
|
55
|
+
MoveReplacementAmcoToCompleteDto.SCHEMA_ACTION_ID = '54ed0812-8c22-4242-b59c-6fd65632a397';
|
|
56
|
+
MoveReplacementAmcoToCompleteDto.PERMISSION = 'schema.action.movereplacementamcotocomplete.trigger';
|
|
57
|
+
MoveReplacementAmcoToCompleteDto.TARGET_STAGES = ['ReplacementAmcoStageComplete'];
|
|
58
|
+
MoveReplacementAmcoToCompleteDto.IS_STAGE_TRANSITION = true;
|
|
59
|
+
MoveReplacementAmcoToCompleteDto.IS_MULTI_STEP_FLOW = false;
|
|
60
|
+
MoveReplacementAmcoToCompleteDto.HAS_STEP_LINKS = false;
|
|
61
|
+
/** Step classes that can be used with this action */
|
|
62
|
+
MoveReplacementAmcoToCompleteDto.stepClasses = [];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveReplacementAmcoToDelivered Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Move the replacement work order to Delivered.
|
|
5
|
+
*
|
|
6
|
+
* @module FieldServiceModule
|
|
7
|
+
* @entity WorkOrder
|
|
8
|
+
* @entityType REPLACEMENT_AMCO
|
|
9
|
+
* @actionKey MoveReplacementAmcoToDelivered
|
|
10
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToDelivered
|
|
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 MoveReplacementAmcoToDelivered step flow events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToDelivered
|
|
19
|
+
*/
|
|
20
|
+
export interface MoveReplacementAmcoToDeliveredMessage extends OdinRecordUpdatedEvent<MoveReplacementAmcoToDeliveredDto, {}> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for MoveReplacementAmcoToDelivered action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface MoveReplacementAmcoToDeliveredProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MoveReplacementAmcoToDelivered
|
|
30
|
+
*
|
|
31
|
+
* Move the replacement work order to Delivered.
|
|
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 ReplacementAmcoStageDelivered
|
|
38
|
+
* @event k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveReplacementAmcoToDelivered
|
|
39
|
+
* @permission schema.action.movereplacementamcotodelivered.trigger
|
|
40
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
41
|
+
*/
|
|
42
|
+
export declare class MoveReplacementAmcoToDeliveredDto 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 = "MoveReplacementAmcoToDelivered";
|
|
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.MoveReplacementAmcoToDelivered";
|
|
50
|
+
static readonly SCHEMA_ACTION_ID = "9048f4af-5eec-48bb-86f8-62d9f3708612";
|
|
51
|
+
static readonly PERMISSION = "schema.action.movereplacementamcotodelivered.trigger";
|
|
52
|
+
static readonly TARGET_STAGES: readonly ["ReplacementAmcoStageDelivered"];
|
|
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
|
+
}
|