@d19n/youfibre-odin-sdk 1.0.262 → 1.0.263

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.
Files changed (26) hide show
  1. package/dist/actions-v2/CompleteServiceWorkOrderFlowDto.d.ts +64 -1
  2. package/dist/actions-v2/MoveCollectionAmcoToOverriddenDto.d.ts +71 -0
  3. package/dist/actions-v2/MoveCollectionAmcoToOverriddenDto.js +63 -0
  4. package/dist/actions-v2/MoveDispatchAmcoToCompleteDto.d.ts +71 -0
  5. package/dist/actions-v2/MoveDispatchAmcoToCompleteDto.js +63 -0
  6. package/dist/actions-v2/MoveDispatchAmcoToEnRouteDto.d.ts +71 -0
  7. package/dist/actions-v2/MoveDispatchAmcoToEnRouteDto.js +63 -0
  8. package/dist/actions-v2/MoveDispatchAmcoToErrorDto.d.ts +71 -0
  9. package/dist/actions-v2/MoveDispatchAmcoToErrorDto.js +63 -0
  10. package/dist/actions-v2/MoveDispatchAmcoToOverriddenDto.d.ts +71 -0
  11. package/dist/actions-v2/MoveDispatchAmcoToOverriddenDto.js +63 -0
  12. package/dist/actions-v2/MoveDispatchAmcoToProcessedDto.d.ts +71 -0
  13. package/dist/actions-v2/MoveDispatchAmcoToProcessedDto.js +63 -0
  14. package/dist/actions-v2/MoveDispatchAmcoToReceivedDto.d.ts +71 -0
  15. package/dist/actions-v2/MoveDispatchAmcoToReceivedDto.js +63 -0
  16. package/dist/entities-v2/Config.d.ts +8 -8
  17. package/dist/entities-v2/Config.js +4 -4
  18. package/dist/entities-v2/Lead.d.ts +2 -0
  19. package/dist/entities-v2/Lead.js +2 -0
  20. package/dist/entities-v2/OutcomeFormYfFieldServiceVisit.d.ts +50 -1
  21. package/dist/entities-v2/OutcomeFormYfFieldServiceVisit.js +14 -0
  22. package/dist/entities-v2/YfFieldServiceVisit.d.ts +50 -1
  23. package/dist/entities-v2/YfFieldServiceVisit.js +14 -0
  24. package/dist/records-v2/WorkOrderRecord.d.ts +168 -0
  25. package/dist/records-v2/WorkOrderRecord.js +266 -0
  26. package/package.json +1 -1
@@ -427,7 +427,7 @@ export interface YfFieldServiceVisitAuditProperties {
427
427
  */
428
428
  WiFiCoverageReport: undefined;
429
429
  /**
430
- * Outcome form Schemas Outcome form Schemas 100% 10 B36 Go to the problem location and perform 1 Wi-Fi Speedtest using the EX1 Screen Shot of EX1 Report by tapping the "clipboard icon" awating the report ro generate then attach to form. Go to the problem location and perform 1 Wi-Fi Speedtest using the EX1 Screen Shot of EX1 Report by tapping the "clipboard icon" awating the report ro generate then attach to form. Turn on screen reader support To enable screen reader support, press Ctrl+Alt+Z To learn about keyboard shortcuts, press Ctrl+slash Frank Truglio has left the document.
430
+ * Go to the problem location and perform 1 Wi-Fi Speedtest using the EX1 Screen Shot of EX1 Report by tapping the clipboard icon awating the report ro generate then attach to form. Go to the problem location and perform 1 Wi-Fi Speedtest using the EX1. Screen Shot of EX1 Report by tapping the clipboard icon awating the report ro generate then attach to form. Turn on screen reader support. To enable screen reader support, press Ctrl+Alt+Z. To learn about keyboard shortcuts, press Ctrl+slash.
431
431
  *
432
432
  * Data field for YfFieldServiceVisit records. Used by Field Operations team.
433
433
  * @type {FILE_MULTIPLE}
@@ -805,6 +805,15 @@ export interface YfFieldServiceVisitAuditProperties {
805
805
  * @visibleWhen WhatAreYouReplacing2 = ["EERO6"]
806
806
  */
807
807
  Eero6Serial: string;
808
+ /**
809
+ * Please add pictures of the new unit.
810
+ *
811
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
812
+ * @type {FILE_MULTIPLE}
813
+ * @required
814
+ * @visibleWhen WhatAreYouReplacing2 = ["EERO6"]
815
+ */
816
+ Eero6Photo: undefined;
808
817
  /**
809
818
  * Please capture the serial number of the new Eero 6 Pro.
810
819
  *
@@ -814,6 +823,15 @@ export interface YfFieldServiceVisitAuditProperties {
814
823
  * @visibleWhen WhatAreYouReplacing2 = ["EERO6PRO"]
815
824
  */
816
825
  Eero6ProSerial: string;
826
+ /**
827
+ * Please add pictures of the new unit.
828
+ *
829
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
830
+ * @type {FILE_MULTIPLE}
831
+ * @required
832
+ * @visibleWhen WhatAreYouReplacing2 = ["EERO6PRO"]
833
+ */
834
+ Eero6ProPhoto: undefined;
817
835
  /**
818
836
  * Please capture the serial number of the new Eero Pro 6E.
819
837
  *
@@ -823,6 +841,15 @@ export interface YfFieldServiceVisitAuditProperties {
823
841
  * @visibleWhen WhatAreYouReplacing2 = ["EEROPRO6E"]
824
842
  */
825
843
  EeroPro6ESerial: string;
844
+ /**
845
+ * Please add pictures of the new unit.
846
+ *
847
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
848
+ * @type {FILE_MULTIPLE}
849
+ * @required
850
+ * @visibleWhen WhatAreYouReplacing2 = ["EEROPRO6E"]
851
+ */
852
+ EeroPro6EPhoto: undefined;
826
853
  /**
827
854
  * Please capture the serial number of the new NVG578LX1 Router.
828
855
  *
@@ -832,6 +859,15 @@ export interface YfFieldServiceVisitAuditProperties {
832
859
  * @visibleWhen WhatAreYouReplacing2 = ["NVG578LX1"]
833
860
  */
834
861
  Nvg578Lx1Serial: string;
862
+ /**
863
+ * Please add pictures of the new unit.
864
+ *
865
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
866
+ * @type {FILE_MULTIPLE}
867
+ * @required
868
+ * @visibleWhen WhatAreYouReplacing2 = ["NVG578LX1"]
869
+ */
870
+ Nvg578Lx1Photo: undefined;
835
871
  /**
836
872
  * Please capture the serial number of the new NVG578LX Gateway.
837
873
  *
@@ -841,6 +877,15 @@ export interface YfFieldServiceVisitAuditProperties {
841
877
  * @visibleWhen WhatAreYouReplacing2 = ["NVG578LX"]
842
878
  */
843
879
  Nvg578LxSerial: string;
880
+ /**
881
+ * Please add pictures of the new unit.
882
+ *
883
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
884
+ * @type {FILE_MULTIPLE}
885
+ * @required
886
+ * @visibleWhen WhatAreYouReplacing2 = ["NVG578LX"]
887
+ */
888
+ Nvg578LxPhoto: undefined;
844
889
  /**
845
890
  * Please capture the serial number of the new X5042 Extender.
846
891
  *
@@ -850,6 +895,15 @@ export interface YfFieldServiceVisitAuditProperties {
850
895
  * @visibleWhen WhatAreYouReplacing2 = ["X5042"]
851
896
  */
852
897
  X5042Serial: string;
898
+ /**
899
+ * Please add pictures of the new unit.
900
+ *
901
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
902
+ * @type {FILE_MULTIPLE}
903
+ * @required
904
+ * @visibleWhen WhatAreYouReplacing2 = ["X5042"]
905
+ */
906
+ X5042Photo: undefined;
853
907
  /**
854
908
  * Any other Additional notes you wish to add?
855
909
  *
@@ -859,6 +913,15 @@ export interface YfFieldServiceVisitAuditProperties {
859
913
  * @visibleWhen FaultResolvedEngineer = ["INSTALL_SETUP_REPLACEMENT"]
860
914
  */
861
915
  AdditionalNotes2: string;
916
+ /**
917
+ * If applicable, go to the previous problem area and run another Wi-Fi SpeedTest using the EX1. Hard wire EX1 to router and complete Speedtest to validate their speeds.
918
+ *
919
+ * Data field for YfFieldServiceVisit records. Used by Field Operations team.
920
+ * @type {FILE_MULTIPLE}
921
+ * @required
922
+ * @visibleWhen FaultResolvedEngineer = ["INSTALL_SETUP_REPLACEMENT"]
923
+ */
924
+ SecondSpeedTest: undefined;
862
925
  /**
863
926
  * I/We acknowledge that the work has been completed in a professional and courteous manner I/We confirm that the site has been left in a clean and tidy condition I/We am aware of the WiFi coverage around the property, and, if required, know what improvements are required I/We confirm that the fault/complaint/upgrade has been attended to and fully resolved. I/We confirm that the Gateway/Router/Mesh Nodes are provided on a lease basis and remain the property of the service provider. I am happy with my setup and all queries have been covered.
864
927
  *
@@ -0,0 +1,71 @@
1
+ /**
2
+ * MoveCollectionAmcoToOverridden Action DTO
3
+ *
4
+ * MoveCollectionAmcoToOverridden
5
+ *
6
+ * @module FieldServiceModule
7
+ * @entity WorkOrder
8
+ * @entityType COLLECTION_AMCO
9
+ * @actionKey MoveCollectionAmcoToOverridden
10
+ * @event MoveCollectionAmcoToOverridden
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 MoveCollectionAmcoToOverridden step flow events
17
+ *
18
+ * @event MoveCollectionAmcoToOverridden
19
+ */
20
+ export interface MoveCollectionAmcoToOverriddenMessage extends OdinRecordUpdatedEvent<MoveCollectionAmcoToOverriddenDto, {}> {
21
+ }
22
+ /**
23
+ * Properties for MoveCollectionAmcoToOverridden action
24
+ *
25
+ */
26
+ export interface MoveCollectionAmcoToOverriddenProperties {
27
+ }
28
+ /**
29
+ * MoveCollectionAmcoToOverridden
30
+ *
31
+ * @actionType STEP_FLOW - Multi-step workflow action
32
+ * @module FieldServiceModule
33
+ * @entity WorkOrder
34
+ * @entityType COLLECTION_AMCO (3PL Collection)
35
+ * @targetStages CollectionAmcoStageOverridden
36
+ * @event MoveCollectionAmcoToOverridden
37
+ * @permission schema.action.movecollectionamcotooverridden.trigger
38
+ * @benchmark This action is tracked for performance benchmarks
39
+ */
40
+ export declare class MoveCollectionAmcoToOverriddenDto extends OdinRecordUpdateDto<Record<string, any>> {
41
+ /** Used by SDK generators to identify action type */
42
+ static readonly ACTION_TYPE = "UPDATE";
43
+ static readonly ACTION_KEY = "MoveCollectionAmcoToOverridden";
44
+ static readonly MODULE_NAME = "FieldServiceModule";
45
+ static readonly ENTITIES: string[];
46
+ static readonly ENTITY_TYPE = "COLLECTION_AMCO";
47
+ static readonly EVENT_NAME = "MoveCollectionAmcoToOverridden";
48
+ static readonly PERMISSION = "schema.action.movecollectionamcotooverridden.trigger";
49
+ static readonly TARGET_STAGES: readonly ["CollectionAmcoStageOverridden"];
50
+ readonly actionName: string;
51
+ readonly schemaActionId: string;
52
+ readonly entity: string;
53
+ readonly stageKey: string;
54
+ constructor(record: OdinRecord<any> | {
55
+ id: string;
56
+ entity: string;
57
+ type?: string;
58
+ }, options?: {
59
+ journeyId?: string;
60
+ });
61
+ /** Step classes that can be used with this action */
62
+ static readonly stepClasses: readonly [];
63
+ steps: [];
64
+ }
65
+ /**
66
+ * RabbitMQ routing key for MoveCollectionAmcoToOverridden events
67
+ *
68
+ * Subscribe to this key to receive notifications when this action completes.
69
+ * @event MoveCollectionAmcoToOverridden
70
+ */
71
+ export declare const ROUTING_KEY_MOVE_COLLECTION_AMCO_TO_OVERRIDDEN = "MoveCollectionAmcoToOverridden";
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ /**
3
+ * MoveCollectionAmcoToOverridden Action DTO
4
+ *
5
+ * MoveCollectionAmcoToOverridden
6
+ *
7
+ * @module FieldServiceModule
8
+ * @entity WorkOrder
9
+ * @entityType COLLECTION_AMCO
10
+ * @actionKey MoveCollectionAmcoToOverridden
11
+ * @event MoveCollectionAmcoToOverridden
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ROUTING_KEY_MOVE_COLLECTION_AMCO_TO_OVERRIDDEN = exports.MoveCollectionAmcoToOverriddenDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * MoveCollectionAmcoToOverridden
20
+ *
21
+ * @actionType STEP_FLOW - Multi-step workflow action
22
+ * @module FieldServiceModule
23
+ * @entity WorkOrder
24
+ * @entityType COLLECTION_AMCO (3PL Collection)
25
+ * @targetStages CollectionAmcoStageOverridden
26
+ * @event MoveCollectionAmcoToOverridden
27
+ * @permission schema.action.movecollectionamcotooverridden.trigger
28
+ * @benchmark This action is tracked for performance benchmarks
29
+ */
30
+ class MoveCollectionAmcoToOverriddenDto extends core_1.OdinRecordUpdateDto {
31
+ constructor(record, options) {
32
+ super({
33
+ id: record.id,
34
+ entity: record.entity,
35
+ type: record.type,
36
+ properties: {},
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'MoveCollectionAmcoToOverridden';
40
+ this.schemaActionId = '2ef1b1bb-a944-4ca1-931c-2a20f17819a3';
41
+ this.entity = 'FieldServiceModule:WorkOrder';
42
+ this.stageKey = 'CollectionAmcoStageOverridden';
43
+ }
44
+ }
45
+ exports.MoveCollectionAmcoToOverriddenDto = MoveCollectionAmcoToOverriddenDto;
46
+ /** Used by SDK generators to identify action type */
47
+ MoveCollectionAmcoToOverriddenDto.ACTION_TYPE = 'UPDATE';
48
+ MoveCollectionAmcoToOverriddenDto.ACTION_KEY = 'MoveCollectionAmcoToOverridden';
49
+ MoveCollectionAmcoToOverriddenDto.MODULE_NAME = 'FieldServiceModule';
50
+ MoveCollectionAmcoToOverriddenDto.ENTITIES = ['WorkOrder'];
51
+ MoveCollectionAmcoToOverriddenDto.ENTITY_TYPE = 'COLLECTION_AMCO';
52
+ MoveCollectionAmcoToOverriddenDto.EVENT_NAME = 'MoveCollectionAmcoToOverridden';
53
+ MoveCollectionAmcoToOverriddenDto.PERMISSION = 'schema.action.movecollectionamcotooverridden.trigger';
54
+ MoveCollectionAmcoToOverriddenDto.TARGET_STAGES = ['CollectionAmcoStageOverridden'];
55
+ /** Step classes that can be used with this action */
56
+ MoveCollectionAmcoToOverriddenDto.stepClasses = [];
57
+ /**
58
+ * RabbitMQ routing key for MoveCollectionAmcoToOverridden events
59
+ *
60
+ * Subscribe to this key to receive notifications when this action completes.
61
+ * @event MoveCollectionAmcoToOverridden
62
+ */
63
+ exports.ROUTING_KEY_MOVE_COLLECTION_AMCO_TO_OVERRIDDEN = 'MoveCollectionAmcoToOverridden';
@@ -0,0 +1,71 @@
1
+ /**
2
+ * MoveDispatchAmcoToComplete Action DTO
3
+ *
4
+ * MoveDispatchAmcoToComplete
5
+ *
6
+ * @module FieldServiceModule
7
+ * @entity WorkOrder
8
+ * @entityType DISPATCH_AMCO
9
+ * @actionKey MoveDispatchAmcoToComplete
10
+ * @event MoveDispatchAmcoToComplete
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 MoveDispatchAmcoToComplete step flow events
17
+ *
18
+ * @event MoveDispatchAmcoToComplete
19
+ */
20
+ export interface MoveDispatchAmcoToCompleteMessage extends OdinRecordUpdatedEvent<MoveDispatchAmcoToCompleteDto, {}> {
21
+ }
22
+ /**
23
+ * Properties for MoveDispatchAmcoToComplete action
24
+ *
25
+ */
26
+ export interface MoveDispatchAmcoToCompleteProperties {
27
+ }
28
+ /**
29
+ * MoveDispatchAmcoToComplete
30
+ *
31
+ * @actionType STEP_FLOW - Multi-step workflow action
32
+ * @module FieldServiceModule
33
+ * @entity WorkOrder
34
+ * @entityType DISPATCH_AMCO (3PL Dispatch)
35
+ * @targetStages DispatchAmcoStageComplete
36
+ * @event MoveDispatchAmcoToComplete
37
+ * @permission schema.action.movedispatchamcotocomplete.trigger
38
+ * @benchmark This action is tracked for performance benchmarks
39
+ */
40
+ export declare class MoveDispatchAmcoToCompleteDto extends OdinRecordUpdateDto<Record<string, any>> {
41
+ /** Used by SDK generators to identify action type */
42
+ static readonly ACTION_TYPE = "UPDATE";
43
+ static readonly ACTION_KEY = "MoveDispatchAmcoToComplete";
44
+ static readonly MODULE_NAME = "FieldServiceModule";
45
+ static readonly ENTITIES: string[];
46
+ static readonly ENTITY_TYPE = "DISPATCH_AMCO";
47
+ static readonly EVENT_NAME = "MoveDispatchAmcoToComplete";
48
+ static readonly PERMISSION = "schema.action.movedispatchamcotocomplete.trigger";
49
+ static readonly TARGET_STAGES: readonly ["DispatchAmcoStageComplete"];
50
+ readonly actionName: string;
51
+ readonly schemaActionId: string;
52
+ readonly entity: string;
53
+ readonly stageKey: string;
54
+ constructor(record: OdinRecord<any> | {
55
+ id: string;
56
+ entity: string;
57
+ type?: string;
58
+ }, options?: {
59
+ journeyId?: string;
60
+ });
61
+ /** Step classes that can be used with this action */
62
+ static readonly stepClasses: readonly [];
63
+ steps: [];
64
+ }
65
+ /**
66
+ * RabbitMQ routing key for MoveDispatchAmcoToComplete events
67
+ *
68
+ * Subscribe to this key to receive notifications when this action completes.
69
+ * @event MoveDispatchAmcoToComplete
70
+ */
71
+ export declare const ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_COMPLETE = "MoveDispatchAmcoToComplete";
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ /**
3
+ * MoveDispatchAmcoToComplete Action DTO
4
+ *
5
+ * MoveDispatchAmcoToComplete
6
+ *
7
+ * @module FieldServiceModule
8
+ * @entity WorkOrder
9
+ * @entityType DISPATCH_AMCO
10
+ * @actionKey MoveDispatchAmcoToComplete
11
+ * @event MoveDispatchAmcoToComplete
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_COMPLETE = exports.MoveDispatchAmcoToCompleteDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * MoveDispatchAmcoToComplete
20
+ *
21
+ * @actionType STEP_FLOW - Multi-step workflow action
22
+ * @module FieldServiceModule
23
+ * @entity WorkOrder
24
+ * @entityType DISPATCH_AMCO (3PL Dispatch)
25
+ * @targetStages DispatchAmcoStageComplete
26
+ * @event MoveDispatchAmcoToComplete
27
+ * @permission schema.action.movedispatchamcotocomplete.trigger
28
+ * @benchmark This action is tracked for performance benchmarks
29
+ */
30
+ class MoveDispatchAmcoToCompleteDto extends core_1.OdinRecordUpdateDto {
31
+ constructor(record, options) {
32
+ super({
33
+ id: record.id,
34
+ entity: record.entity,
35
+ type: record.type,
36
+ properties: {},
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'MoveDispatchAmcoToComplete';
40
+ this.schemaActionId = '6e467ad9-c28a-4e23-90b4-721cd4ade6c6';
41
+ this.entity = 'FieldServiceModule:WorkOrder';
42
+ this.stageKey = 'DispatchAmcoStageComplete';
43
+ }
44
+ }
45
+ exports.MoveDispatchAmcoToCompleteDto = MoveDispatchAmcoToCompleteDto;
46
+ /** Used by SDK generators to identify action type */
47
+ MoveDispatchAmcoToCompleteDto.ACTION_TYPE = 'UPDATE';
48
+ MoveDispatchAmcoToCompleteDto.ACTION_KEY = 'MoveDispatchAmcoToComplete';
49
+ MoveDispatchAmcoToCompleteDto.MODULE_NAME = 'FieldServiceModule';
50
+ MoveDispatchAmcoToCompleteDto.ENTITIES = ['WorkOrder'];
51
+ MoveDispatchAmcoToCompleteDto.ENTITY_TYPE = 'DISPATCH_AMCO';
52
+ MoveDispatchAmcoToCompleteDto.EVENT_NAME = 'MoveDispatchAmcoToComplete';
53
+ MoveDispatchAmcoToCompleteDto.PERMISSION = 'schema.action.movedispatchamcotocomplete.trigger';
54
+ MoveDispatchAmcoToCompleteDto.TARGET_STAGES = ['DispatchAmcoStageComplete'];
55
+ /** Step classes that can be used with this action */
56
+ MoveDispatchAmcoToCompleteDto.stepClasses = [];
57
+ /**
58
+ * RabbitMQ routing key for MoveDispatchAmcoToComplete events
59
+ *
60
+ * Subscribe to this key to receive notifications when this action completes.
61
+ * @event MoveDispatchAmcoToComplete
62
+ */
63
+ exports.ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_COMPLETE = 'MoveDispatchAmcoToComplete';
@@ -0,0 +1,71 @@
1
+ /**
2
+ * MoveDispatchAmcoToEnRoute Action DTO
3
+ *
4
+ * MoveDispatchAmcoToEnRoute
5
+ *
6
+ * @module FieldServiceModule
7
+ * @entity WorkOrder
8
+ * @entityType DISPATCH_AMCO
9
+ * @actionKey MoveDispatchAmcoToEnRoute
10
+ * @event MoveDispatchAmcoToEnRoute
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 MoveDispatchAmcoToEnRoute step flow events
17
+ *
18
+ * @event MoveDispatchAmcoToEnRoute
19
+ */
20
+ export interface MoveDispatchAmcoToEnRouteMessage extends OdinRecordUpdatedEvent<MoveDispatchAmcoToEnRouteDto, {}> {
21
+ }
22
+ /**
23
+ * Properties for MoveDispatchAmcoToEnRoute action
24
+ *
25
+ */
26
+ export interface MoveDispatchAmcoToEnRouteProperties {
27
+ }
28
+ /**
29
+ * MoveDispatchAmcoToEnRoute
30
+ *
31
+ * @actionType STEP_FLOW - Multi-step workflow action
32
+ * @module FieldServiceModule
33
+ * @entity WorkOrder
34
+ * @entityType DISPATCH_AMCO (3PL Dispatch)
35
+ * @targetStages DispatchAmcoStageEnRoute
36
+ * @event MoveDispatchAmcoToEnRoute
37
+ * @permission schema.action.movedispatchamcotoenroute.trigger
38
+ * @benchmark This action is tracked for performance benchmarks
39
+ */
40
+ export declare class MoveDispatchAmcoToEnRouteDto extends OdinRecordUpdateDto<Record<string, any>> {
41
+ /** Used by SDK generators to identify action type */
42
+ static readonly ACTION_TYPE = "UPDATE";
43
+ static readonly ACTION_KEY = "MoveDispatchAmcoToEnRoute";
44
+ static readonly MODULE_NAME = "FieldServiceModule";
45
+ static readonly ENTITIES: string[];
46
+ static readonly ENTITY_TYPE = "DISPATCH_AMCO";
47
+ static readonly EVENT_NAME = "MoveDispatchAmcoToEnRoute";
48
+ static readonly PERMISSION = "schema.action.movedispatchamcotoenroute.trigger";
49
+ static readonly TARGET_STAGES: readonly ["DispatchAmcoStageEnRoute"];
50
+ readonly actionName: string;
51
+ readonly schemaActionId: string;
52
+ readonly entity: string;
53
+ readonly stageKey: string;
54
+ constructor(record: OdinRecord<any> | {
55
+ id: string;
56
+ entity: string;
57
+ type?: string;
58
+ }, options?: {
59
+ journeyId?: string;
60
+ });
61
+ /** Step classes that can be used with this action */
62
+ static readonly stepClasses: readonly [];
63
+ steps: [];
64
+ }
65
+ /**
66
+ * RabbitMQ routing key for MoveDispatchAmcoToEnRoute events
67
+ *
68
+ * Subscribe to this key to receive notifications when this action completes.
69
+ * @event MoveDispatchAmcoToEnRoute
70
+ */
71
+ export declare const ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_EN_ROUTE = "MoveDispatchAmcoToEnRoute";
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ /**
3
+ * MoveDispatchAmcoToEnRoute Action DTO
4
+ *
5
+ * MoveDispatchAmcoToEnRoute
6
+ *
7
+ * @module FieldServiceModule
8
+ * @entity WorkOrder
9
+ * @entityType DISPATCH_AMCO
10
+ * @actionKey MoveDispatchAmcoToEnRoute
11
+ * @event MoveDispatchAmcoToEnRoute
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_EN_ROUTE = exports.MoveDispatchAmcoToEnRouteDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * MoveDispatchAmcoToEnRoute
20
+ *
21
+ * @actionType STEP_FLOW - Multi-step workflow action
22
+ * @module FieldServiceModule
23
+ * @entity WorkOrder
24
+ * @entityType DISPATCH_AMCO (3PL Dispatch)
25
+ * @targetStages DispatchAmcoStageEnRoute
26
+ * @event MoveDispatchAmcoToEnRoute
27
+ * @permission schema.action.movedispatchamcotoenroute.trigger
28
+ * @benchmark This action is tracked for performance benchmarks
29
+ */
30
+ class MoveDispatchAmcoToEnRouteDto extends core_1.OdinRecordUpdateDto {
31
+ constructor(record, options) {
32
+ super({
33
+ id: record.id,
34
+ entity: record.entity,
35
+ type: record.type,
36
+ properties: {},
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'MoveDispatchAmcoToEnRoute';
40
+ this.schemaActionId = '735609a5-9b3c-4a24-92b9-72d4d05da50b';
41
+ this.entity = 'FieldServiceModule:WorkOrder';
42
+ this.stageKey = 'DispatchAmcoStageEnRoute';
43
+ }
44
+ }
45
+ exports.MoveDispatchAmcoToEnRouteDto = MoveDispatchAmcoToEnRouteDto;
46
+ /** Used by SDK generators to identify action type */
47
+ MoveDispatchAmcoToEnRouteDto.ACTION_TYPE = 'UPDATE';
48
+ MoveDispatchAmcoToEnRouteDto.ACTION_KEY = 'MoveDispatchAmcoToEnRoute';
49
+ MoveDispatchAmcoToEnRouteDto.MODULE_NAME = 'FieldServiceModule';
50
+ MoveDispatchAmcoToEnRouteDto.ENTITIES = ['WorkOrder'];
51
+ MoveDispatchAmcoToEnRouteDto.ENTITY_TYPE = 'DISPATCH_AMCO';
52
+ MoveDispatchAmcoToEnRouteDto.EVENT_NAME = 'MoveDispatchAmcoToEnRoute';
53
+ MoveDispatchAmcoToEnRouteDto.PERMISSION = 'schema.action.movedispatchamcotoenroute.trigger';
54
+ MoveDispatchAmcoToEnRouteDto.TARGET_STAGES = ['DispatchAmcoStageEnRoute'];
55
+ /** Step classes that can be used with this action */
56
+ MoveDispatchAmcoToEnRouteDto.stepClasses = [];
57
+ /**
58
+ * RabbitMQ routing key for MoveDispatchAmcoToEnRoute events
59
+ *
60
+ * Subscribe to this key to receive notifications when this action completes.
61
+ * @event MoveDispatchAmcoToEnRoute
62
+ */
63
+ exports.ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_EN_ROUTE = 'MoveDispatchAmcoToEnRoute';
@@ -0,0 +1,71 @@
1
+ /**
2
+ * MoveDispatchAmcoToError Action DTO
3
+ *
4
+ * MoveDispatchAmcoToError
5
+ *
6
+ * @module FieldServiceModule
7
+ * @entity WorkOrder
8
+ * @entityType DISPATCH_AMCO
9
+ * @actionKey MoveDispatchAmcoToError
10
+ * @event MoveDispatchAmcoToError
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 MoveDispatchAmcoToError step flow events
17
+ *
18
+ * @event MoveDispatchAmcoToError
19
+ */
20
+ export interface MoveDispatchAmcoToErrorMessage extends OdinRecordUpdatedEvent<MoveDispatchAmcoToErrorDto, {}> {
21
+ }
22
+ /**
23
+ * Properties for MoveDispatchAmcoToError action
24
+ *
25
+ */
26
+ export interface MoveDispatchAmcoToErrorProperties {
27
+ }
28
+ /**
29
+ * MoveDispatchAmcoToError
30
+ *
31
+ * @actionType STEP_FLOW - Multi-step workflow action
32
+ * @module FieldServiceModule
33
+ * @entity WorkOrder
34
+ * @entityType DISPATCH_AMCO (3PL Dispatch)
35
+ * @targetStages DispatchAmcoStageError
36
+ * @event MoveDispatchAmcoToError
37
+ * @permission schema.action.movedispatchamcotoerror.trigger
38
+ * @benchmark This action is tracked for performance benchmarks
39
+ */
40
+ export declare class MoveDispatchAmcoToErrorDto extends OdinRecordUpdateDto<Record<string, any>> {
41
+ /** Used by SDK generators to identify action type */
42
+ static readonly ACTION_TYPE = "UPDATE";
43
+ static readonly ACTION_KEY = "MoveDispatchAmcoToError";
44
+ static readonly MODULE_NAME = "FieldServiceModule";
45
+ static readonly ENTITIES: string[];
46
+ static readonly ENTITY_TYPE = "DISPATCH_AMCO";
47
+ static readonly EVENT_NAME = "MoveDispatchAmcoToError";
48
+ static readonly PERMISSION = "schema.action.movedispatchamcotoerror.trigger";
49
+ static readonly TARGET_STAGES: readonly ["DispatchAmcoStageError"];
50
+ readonly actionName: string;
51
+ readonly schemaActionId: string;
52
+ readonly entity: string;
53
+ readonly stageKey: string;
54
+ constructor(record: OdinRecord<any> | {
55
+ id: string;
56
+ entity: string;
57
+ type?: string;
58
+ }, options?: {
59
+ journeyId?: string;
60
+ });
61
+ /** Step classes that can be used with this action */
62
+ static readonly stepClasses: readonly [];
63
+ steps: [];
64
+ }
65
+ /**
66
+ * RabbitMQ routing key for MoveDispatchAmcoToError events
67
+ *
68
+ * Subscribe to this key to receive notifications when this action completes.
69
+ * @event MoveDispatchAmcoToError
70
+ */
71
+ export declare const ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_ERROR = "MoveDispatchAmcoToError";
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ /**
3
+ * MoveDispatchAmcoToError Action DTO
4
+ *
5
+ * MoveDispatchAmcoToError
6
+ *
7
+ * @module FieldServiceModule
8
+ * @entity WorkOrder
9
+ * @entityType DISPATCH_AMCO
10
+ * @actionKey MoveDispatchAmcoToError
11
+ * @event MoveDispatchAmcoToError
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_ERROR = exports.MoveDispatchAmcoToErrorDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * MoveDispatchAmcoToError
20
+ *
21
+ * @actionType STEP_FLOW - Multi-step workflow action
22
+ * @module FieldServiceModule
23
+ * @entity WorkOrder
24
+ * @entityType DISPATCH_AMCO (3PL Dispatch)
25
+ * @targetStages DispatchAmcoStageError
26
+ * @event MoveDispatchAmcoToError
27
+ * @permission schema.action.movedispatchamcotoerror.trigger
28
+ * @benchmark This action is tracked for performance benchmarks
29
+ */
30
+ class MoveDispatchAmcoToErrorDto extends core_1.OdinRecordUpdateDto {
31
+ constructor(record, options) {
32
+ super({
33
+ id: record.id,
34
+ entity: record.entity,
35
+ type: record.type,
36
+ properties: {},
37
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
38
+ });
39
+ this.actionName = 'MoveDispatchAmcoToError';
40
+ this.schemaActionId = 'f1ff3ccf-d57d-4495-ac0e-b5e9a2e9588e';
41
+ this.entity = 'FieldServiceModule:WorkOrder';
42
+ this.stageKey = 'DispatchAmcoStageError';
43
+ }
44
+ }
45
+ exports.MoveDispatchAmcoToErrorDto = MoveDispatchAmcoToErrorDto;
46
+ /** Used by SDK generators to identify action type */
47
+ MoveDispatchAmcoToErrorDto.ACTION_TYPE = 'UPDATE';
48
+ MoveDispatchAmcoToErrorDto.ACTION_KEY = 'MoveDispatchAmcoToError';
49
+ MoveDispatchAmcoToErrorDto.MODULE_NAME = 'FieldServiceModule';
50
+ MoveDispatchAmcoToErrorDto.ENTITIES = ['WorkOrder'];
51
+ MoveDispatchAmcoToErrorDto.ENTITY_TYPE = 'DISPATCH_AMCO';
52
+ MoveDispatchAmcoToErrorDto.EVENT_NAME = 'MoveDispatchAmcoToError';
53
+ MoveDispatchAmcoToErrorDto.PERMISSION = 'schema.action.movedispatchamcotoerror.trigger';
54
+ MoveDispatchAmcoToErrorDto.TARGET_STAGES = ['DispatchAmcoStageError'];
55
+ /** Step classes that can be used with this action */
56
+ MoveDispatchAmcoToErrorDto.stepClasses = [];
57
+ /**
58
+ * RabbitMQ routing key for MoveDispatchAmcoToError events
59
+ *
60
+ * Subscribe to this key to receive notifications when this action completes.
61
+ * @event MoveDispatchAmcoToError
62
+ */
63
+ exports.ROUTING_KEY_MOVE_DISPATCH_AMCO_TO_ERROR = 'MoveDispatchAmcoToError';