@d19n/youfibre-odin-sdk 2.0.388 → 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/RouterPingSnapshot.d.ts +17 -1
- package/dist/entities-v2/RouterPingSnapshot.js +4 -0
- 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 = [];
|
|
@@ -41,7 +41,11 @@ export declare enum RouterPingSnapshotPropertyKeys {
|
|
|
41
41
|
/** Average round-trip time of the answered pings. */
|
|
42
42
|
AverageResponseTimeMs = "AverageResponseTimeMs",
|
|
43
43
|
/** Why the ping could not run. Empty when it ran. */
|
|
44
|
-
Error = "Error"
|
|
44
|
+
Error = "Error",
|
|
45
|
+
/** Fastest round-trip time of the answered pings. */
|
|
46
|
+
MinimumResponseTimeMs = "MinimumResponseTimeMs",
|
|
47
|
+
/** Slowest round-trip time of the answered pings. */
|
|
48
|
+
MaximumResponseTimeMs = "MaximumResponseTimeMs"
|
|
45
49
|
}
|
|
46
50
|
/**
|
|
47
51
|
* Properties for RouterPingSnapshot records
|
|
@@ -103,6 +107,18 @@ export interface RouterPingSnapshotProperties {
|
|
|
103
107
|
* @default
|
|
104
108
|
*/
|
|
105
109
|
Error: string;
|
|
110
|
+
/** Fastest round-trip time of the answered pings.
|
|
111
|
+
*
|
|
112
|
+
* @type {NUMBER}
|
|
113
|
+
* @default
|
|
114
|
+
*/
|
|
115
|
+
MinimumResponseTimeMs: number;
|
|
116
|
+
/** Slowest round-trip time of the answered pings.
|
|
117
|
+
*
|
|
118
|
+
* @type {NUMBER}
|
|
119
|
+
* @default
|
|
120
|
+
*/
|
|
121
|
+
MaximumResponseTimeMs: number;
|
|
106
122
|
}
|
|
107
123
|
/**
|
|
108
124
|
* RouterPingSnapshot entity from ServiceModule
|
|
@@ -46,6 +46,10 @@ var RouterPingSnapshotPropertyKeys;
|
|
|
46
46
|
RouterPingSnapshotPropertyKeys["AverageResponseTimeMs"] = "AverageResponseTimeMs";
|
|
47
47
|
/** Why the ping could not run. Empty when it ran. */
|
|
48
48
|
RouterPingSnapshotPropertyKeys["Error"] = "Error";
|
|
49
|
+
/** Fastest round-trip time of the answered pings. */
|
|
50
|
+
RouterPingSnapshotPropertyKeys["MinimumResponseTimeMs"] = "MinimumResponseTimeMs";
|
|
51
|
+
/** Slowest round-trip time of the answered pings. */
|
|
52
|
+
RouterPingSnapshotPropertyKeys["MaximumResponseTimeMs"] = "MaximumResponseTimeMs";
|
|
49
53
|
})(RouterPingSnapshotPropertyKeys = exports.RouterPingSnapshotPropertyKeys || (exports.RouterPingSnapshotPropertyKeys = {}));
|
|
50
54
|
/**
|
|
51
55
|
* RouterPingSnapshot entity from ServiceModule
|
|
@@ -626,7 +626,9 @@ export declare enum ReplacementAmcoWorkOrderStageNames {
|
|
|
626
626
|
/** Complete (success) */
|
|
627
627
|
Complete = "Complete",
|
|
628
628
|
/** Failed Delivery (fail) */
|
|
629
|
-
FailedDelivery = "Failed Delivery"
|
|
629
|
+
FailedDelivery = "Failed Delivery",
|
|
630
|
+
/** Equipment was never returned and is being recovered as a charge; awaiting payment. */
|
|
631
|
+
PendingPayment = "Pending Payment"
|
|
630
632
|
}
|
|
631
633
|
/**
|
|
632
634
|
* Pipeline stage keys for REPLACEMENT_AMCO WorkOrder
|
|
@@ -658,7 +660,9 @@ export declare enum ReplacementAmcoWorkOrderStageKeys {
|
|
|
658
660
|
/** Complete */
|
|
659
661
|
ReplacementAmcoStageComplete = "ReplacementAmcoStageComplete",
|
|
660
662
|
/** Failed Delivery */
|
|
661
|
-
ReplacementAmcoStageFailedDelivery = "ReplacementAmcoStageFailedDelivery"
|
|
663
|
+
ReplacementAmcoStageFailedDelivery = "ReplacementAmcoStageFailedDelivery",
|
|
664
|
+
/** Equipment was never returned and is being recovered as a charge; awaiting payment. */
|
|
665
|
+
ReplacementAmcoStagePendingPayment = "ReplacementAmcoStagePendingPayment"
|
|
662
666
|
}
|
|
663
667
|
/**
|
|
664
668
|
* Pipeline stage names for SERVICE WorkOrder
|
|
@@ -592,6 +592,8 @@ var ReplacementAmcoWorkOrderStageNames;
|
|
|
592
592
|
ReplacementAmcoWorkOrderStageNames["Complete"] = "Complete";
|
|
593
593
|
/** Failed Delivery (fail) */
|
|
594
594
|
ReplacementAmcoWorkOrderStageNames["FailedDelivery"] = "Failed Delivery";
|
|
595
|
+
/** Equipment was never returned and is being recovered as a charge; awaiting payment. */
|
|
596
|
+
ReplacementAmcoWorkOrderStageNames["PendingPayment"] = "Pending Payment";
|
|
595
597
|
})(ReplacementAmcoWorkOrderStageNames = exports.ReplacementAmcoWorkOrderStageNames || (exports.ReplacementAmcoWorkOrderStageNames = {}));
|
|
596
598
|
/**
|
|
597
599
|
* Pipeline stage keys for REPLACEMENT_AMCO WorkOrder
|
|
@@ -625,6 +627,8 @@ var ReplacementAmcoWorkOrderStageKeys;
|
|
|
625
627
|
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageComplete"] = "ReplacementAmcoStageComplete";
|
|
626
628
|
/** Failed Delivery */
|
|
627
629
|
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageFailedDelivery"] = "ReplacementAmcoStageFailedDelivery";
|
|
630
|
+
/** Equipment was never returned and is being recovered as a charge; awaiting payment. */
|
|
631
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStagePendingPayment"] = "ReplacementAmcoStagePendingPayment";
|
|
628
632
|
})(ReplacementAmcoWorkOrderStageKeys = exports.ReplacementAmcoWorkOrderStageKeys || (exports.ReplacementAmcoWorkOrderStageKeys = {}));
|
|
629
633
|
/**
|
|
630
634
|
* Pipeline stage names for SERVICE WorkOrder
|
|
@@ -7748,6 +7748,31 @@ export declare class WorkOrderRecord<TProps = WorkOrderProperties> {
|
|
|
7748
7748
|
moveReplacementAmcoToPendingInspection(options?: {
|
|
7749
7749
|
journeyId?: string;
|
|
7750
7750
|
}): ActionBuilder;
|
|
7751
|
+
/**
|
|
7752
|
+
* MoveReplacementAmcoToPendingPayment
|
|
7753
|
+
*
|
|
7754
|
+
* Transitions this WorkOrder record to a new pipeline stage.
|
|
7755
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
7756
|
+
*
|
|
7757
|
+
* @remarks Transitions to stage: ReplacementAmcoStagePendingPayment
|
|
7758
|
+
*
|
|
7759
|
+
* @param options - Optional settings
|
|
7760
|
+
* @param options.journeyId - Associate with a journey
|
|
7761
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
7762
|
+
* @throws Error if called on a new (unsaved) record
|
|
7763
|
+
*
|
|
7764
|
+
* @example
|
|
7765
|
+
* ```typescript
|
|
7766
|
+
* const record = await odinClient.workOrders.get(id);
|
|
7767
|
+
* await record.moveReplacementAmcoToPendingPayment().execute();
|
|
7768
|
+
*
|
|
7769
|
+
* // Dry run (for debugging)
|
|
7770
|
+
* const payload = record.moveReplacementAmcoToPendingPayment().dryRun();
|
|
7771
|
+
* ```
|
|
7772
|
+
*/
|
|
7773
|
+
moveReplacementAmcoToPendingPayment(options?: {
|
|
7774
|
+
journeyId?: string;
|
|
7775
|
+
}): ActionBuilder;
|
|
7751
7776
|
/**
|
|
7752
7777
|
* MoveReplacementAmcoToPendingReturn
|
|
7753
7778
|
*
|
|
@@ -10897,6 +10897,35 @@ class WorkOrderRecord {
|
|
|
10897
10897
|
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveReplacementAmcoToPendingInspection', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'ReplacementAmcoStagePendingInspection' }, options);
|
|
10898
10898
|
return new ActionBuilder(this._provider, 'FieldServiceModule', 'WorkOrder', payload, () => { this._pendingLinks = []; });
|
|
10899
10899
|
}
|
|
10900
|
+
/**
|
|
10901
|
+
* MoveReplacementAmcoToPendingPayment
|
|
10902
|
+
*
|
|
10903
|
+
* Transitions this WorkOrder record to a new pipeline stage.
|
|
10904
|
+
* Returns an ActionBuilder - call .execute() to transition or .dryRun() for debugging.
|
|
10905
|
+
*
|
|
10906
|
+
* @remarks Transitions to stage: ReplacementAmcoStagePendingPayment
|
|
10907
|
+
*
|
|
10908
|
+
* @param options - Optional settings
|
|
10909
|
+
* @param options.journeyId - Associate with a journey
|
|
10910
|
+
* @returns ActionBuilder - call .execute() to transition or .dryRun() for payload
|
|
10911
|
+
* @throws Error if called on a new (unsaved) record
|
|
10912
|
+
*
|
|
10913
|
+
* @example
|
|
10914
|
+
* ```typescript
|
|
10915
|
+
* const record = await odinClient.workOrders.get(id);
|
|
10916
|
+
* await record.moveReplacementAmcoToPendingPayment().execute();
|
|
10917
|
+
*
|
|
10918
|
+
* // Dry run (for debugging)
|
|
10919
|
+
* const payload = record.moveReplacementAmcoToPendingPayment().dryRun();
|
|
10920
|
+
* ```
|
|
10921
|
+
*/
|
|
10922
|
+
moveReplacementAmcoToPendingPayment(options) {
|
|
10923
|
+
var _a;
|
|
10924
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
10925
|
+
throw new Error('moveReplacementAmcoToPendingPayment requires an existing record. Use accessor.get() first.');
|
|
10926
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'MoveReplacementAmcoToPendingPayment', associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined, stageKey: 'ReplacementAmcoStagePendingPayment' }, options);
|
|
10927
|
+
return new ActionBuilder(this._provider, 'FieldServiceModule', 'WorkOrder', payload, () => { this._pendingLinks = []; });
|
|
10928
|
+
}
|
|
10900
10929
|
/**
|
|
10901
10930
|
* MoveReplacementAmcoToPendingReturn
|
|
10902
10931
|
*
|