@d19n/youfibre-odin-sdk 2.0.171 → 2.0.172

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 CHANGED
@@ -354,7 +354,7 @@ This SDK includes **166** entities across **12** modules.
354
354
 
355
355
  ## Actions
356
356
 
357
- This SDK includes **683** actions.
357
+ This SDK includes **684** actions.
358
358
 
359
359
  ### Action Types
360
360
 
@@ -1203,6 +1203,7 @@ This SDK includes **683** actions.
1203
1203
  | `CreateAgentCallLeg` | CREATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Create.CreateAgentCallLeg |
1204
1204
  | `CreateCustomerCallLeg` | CREATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Create.CreateCustomerCallLeg |
1205
1205
  | `UpdateAgentCallLegOnIncomingCallAnswered` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallAnswered |
1206
+ | `UpdateAgentCallLegOnIncomingCallBusy` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallBusy |
1206
1207
  | `UpdateAgentCallLegOnIncomingCallCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCanceled |
1207
1208
  | `UpdateAgentCallLegOnIncomingCallCompleted` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallCompleted |
1208
1209
  | `UpdateAgentCallLegOnIncomingCallFailed` | UPDATE | k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallFailed |
@@ -0,0 +1,73 @@
1
+ /**
2
+ * UpdateAgentCallLegOnIncomingCallBusy Action DTO
3
+ *
4
+ * Update agent call leg on incoming call busy
5
+ *
6
+ * @module NotificationModule
7
+ * @entity CallLeg
8
+ * @actionKey UpdateAgentCallLegOnIncomingCallBusy
9
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallBusy
10
+ *
11
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
12
+ */
13
+ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
14
+ /**
15
+ * RabbitMQ message payload for UpdateAgentCallLegOnIncomingCallBusy updated events
16
+ *
17
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallBusy
18
+ */
19
+ export interface UpdateAgentCallLegOnIncomingCallBusyMessage extends OdinRecordUpdatedEvent<UpdateAgentCallLegOnIncomingCallBusyDto, UpdateAgentCallLegOnIncomingCallBusyProperties> {
20
+ }
21
+ /**
22
+ * Properties for UpdateAgentCallLegOnIncomingCallBusy action
23
+ *
24
+ * @property Required fields: 1
25
+ * @property Optional fields: 0
26
+ */
27
+ export interface UpdateAgentCallLegOnIncomingCallBusyProperties {
28
+ /**
29
+ * Status
30
+ *
31
+ * Status indicator for CallLeg records. Tracks lifecycle state. Used by Communications team.
32
+ * @type {ENUM}
33
+ * @required
34
+ */
35
+ Status: string;
36
+ }
37
+ /**
38
+ * UpdateAgentCallLegOnIncomingCallBusy
39
+ *
40
+ * Update agent call leg on incoming call busy
41
+ *
42
+ * @actionType UPDATE - Updates an existing CallLeg record
43
+ * @module NotificationModule
44
+ * @entity CallLeg
45
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallBusy
46
+ * @permission schema.action.updateagentcalllegonincomingcallbusy.trigger
47
+ * @benchmark This action is tracked for performance benchmarks
48
+ */
49
+ export declare class UpdateAgentCallLegOnIncomingCallBusyDto extends OdinRecordUpdateDto<UpdateAgentCallLegOnIncomingCallBusyProperties> {
50
+ /** Used by SDK generators to identify action type */
51
+ static readonly ACTION_TYPE = "UPDATE";
52
+ static readonly ACTION_KEY = "UpdateAgentCallLegOnIncomingCallBusy";
53
+ static readonly MODULE_NAME = "NotificationModule";
54
+ static readonly ENTITIES: string[];
55
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallBusy";
56
+ static readonly PERMISSION = "schema.action.updateagentcalllegonincomingcallbusy.trigger";
57
+ /** Step metadata - entity this action targets */
58
+ static readonly STEP_ENTITY = "NotificationModule:CallLeg";
59
+ static readonly STEP_SCHEMA_ID = "75c59745-35fb-44b9-b3f2-7563101fdcec";
60
+ static readonly STEP_SCHEMA_ACTION_ID = "b687ff30-abff-4475-a083-c62a1b4c42fa";
61
+ static readonly AUTO_LINK_PARENT = false;
62
+ readonly actionName: string;
63
+ readonly schemaActionId: string;
64
+ readonly entity: string;
65
+ constructor(record: OdinRecord<any> | {
66
+ id: string;
67
+ entity: string;
68
+ type?: string;
69
+ }, properties: UpdateAgentCallLegOnIncomingCallBusyProperties, options?: {
70
+ journeyId?: string;
71
+ stageKey?: string;
72
+ });
73
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /**
3
+ * UpdateAgentCallLegOnIncomingCallBusy Action DTO
4
+ *
5
+ * Update agent call leg on incoming call busy
6
+ *
7
+ * @module NotificationModule
8
+ * @entity CallLeg
9
+ * @actionKey UpdateAgentCallLegOnIncomingCallBusy
10
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallBusy
11
+ *
12
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateAgentCallLegOnIncomingCallBusyDto = void 0;
16
+ const core_1 = require("@d19n/odin-types/dist/core");
17
+ /**
18
+ * UpdateAgentCallLegOnIncomingCallBusy
19
+ *
20
+ * Update agent call leg on incoming call busy
21
+ *
22
+ * @actionType UPDATE - Updates an existing CallLeg record
23
+ * @module NotificationModule
24
+ * @entity CallLeg
25
+ * @event k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallBusy
26
+ * @permission schema.action.updateagentcalllegonincomingcallbusy.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class UpdateAgentCallLegOnIncomingCallBusyDto extends core_1.OdinRecordUpdateDto {
30
+ constructor(record, properties, options) {
31
+ super({
32
+ id: record.id,
33
+ entity: record.entity,
34
+ type: record.type,
35
+ properties,
36
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
37
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
38
+ });
39
+ this.actionName = 'UpdateAgentCallLegOnIncomingCallBusy';
40
+ this.schemaActionId = 'b687ff30-abff-4475-a083-c62a1b4c42fa';
41
+ this.entity = 'NotificationModule:CallLeg';
42
+ }
43
+ }
44
+ exports.UpdateAgentCallLegOnIncomingCallBusyDto = UpdateAgentCallLegOnIncomingCallBusyDto;
45
+ /** Used by SDK generators to identify action type */
46
+ UpdateAgentCallLegOnIncomingCallBusyDto.ACTION_TYPE = 'UPDATE';
47
+ UpdateAgentCallLegOnIncomingCallBusyDto.ACTION_KEY = 'UpdateAgentCallLegOnIncomingCallBusy';
48
+ UpdateAgentCallLegOnIncomingCallBusyDto.MODULE_NAME = 'NotificationModule';
49
+ UpdateAgentCallLegOnIncomingCallBusyDto.ENTITIES = ['CallLeg'];
50
+ UpdateAgentCallLegOnIncomingCallBusyDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.CallLeg.Update.UpdateAgentCallLegOnIncomingCallBusy';
51
+ UpdateAgentCallLegOnIncomingCallBusyDto.PERMISSION = 'schema.action.updateagentcalllegonincomingcallbusy.trigger';
52
+ /** Step metadata - entity this action targets */
53
+ UpdateAgentCallLegOnIncomingCallBusyDto.STEP_ENTITY = 'NotificationModule:CallLeg';
54
+ UpdateAgentCallLegOnIncomingCallBusyDto.STEP_SCHEMA_ID = '75c59745-35fb-44b9-b3f2-7563101fdcec';
55
+ UpdateAgentCallLegOnIncomingCallBusyDto.STEP_SCHEMA_ACTION_ID = 'b687ff30-abff-4475-a083-c62a1b4c42fa';
56
+ UpdateAgentCallLegOnIncomingCallBusyDto.AUTO_LINK_PARENT = false;
@@ -21,19 +21,19 @@ export declare class OfferDb extends DbProvider {
21
21
  private readonly moduleName;
22
22
  private readonly entityName;
23
23
  private sourceRecord;
24
- private _lead__offer?;
25
- private _orderitem__offer?;
26
- private _offer__offer?;
27
- private _pricebook__offer?;
24
+ private _lead?;
28
25
  private _discount?;
26
+ private _orderitem?;
29
27
  private _product?;
28
+ private _offer?;
29
+ private _pricebook?;
30
30
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
31
- get lead__offer(): DbRecordLinkManager;
32
- get orderitem__offer(): DbRecordLinkManager;
33
- get offer__offer(): DbRecordLinkManager;
34
- get pricebook__offer(): DbRecordLinkManager;
31
+ get lead(): DbRecordLinkManager;
35
32
  get discount(): DbRecordLinkManager;
33
+ get orderitem(): DbRecordLinkManager;
36
34
  get product(): DbRecordLinkManager;
35
+ get offer(): DbRecordLinkManager;
36
+ get pricebook(): DbRecordLinkManager;
37
37
  setRecord(sourceRecord: any): void;
38
38
  /**
39
39
  * Search records with manual pagination control
@@ -38,29 +38,11 @@ class OfferDb extends db_provider_1.DbProvider {
38
38
  // LAZY-LOADED LINK MANAGERS (Public Getters)
39
39
  // ============================================
40
40
  // Usage remains identical: db.address.list(recordId)
41
- get lead__offer() {
42
- if (!this._lead__offer) {
43
- this._lead__offer = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'ProductModule:Offer', 'Lead__Offer');
41
+ get lead() {
42
+ if (!this._lead) {
43
+ this._lead = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Offer', 'CrmModule:Lead', 'Lead__Offer');
44
44
  }
45
- return this._lead__offer;
46
- }
47
- get orderitem__offer() {
48
- if (!this._orderitem__offer) {
49
- this._orderitem__offer = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'ProductModule:Offer', 'OrderItem__Offer');
50
- }
51
- return this._orderitem__offer;
52
- }
53
- get offer__offer() {
54
- if (!this._offer__offer) {
55
- this._offer__offer = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Offer', 'ProductModule:Offer', 'Offer__Offer');
56
- }
57
- return this._offer__offer;
58
- }
59
- get pricebook__offer() {
60
- if (!this._pricebook__offer) {
61
- this._pricebook__offer = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:PriceBook', 'ProductModule:Offer', 'PriceBook__Offer');
62
- }
63
- return this._pricebook__offer;
45
+ return this._lead;
64
46
  }
65
47
  get discount() {
66
48
  if (!this._discount) {
@@ -68,12 +50,30 @@ class OfferDb extends db_provider_1.DbProvider {
68
50
  }
69
51
  return this._discount;
70
52
  }
53
+ get orderitem() {
54
+ if (!this._orderitem) {
55
+ this._orderitem = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Offer', 'OrderModule:OrderItem', 'OrderItem__Offer');
56
+ }
57
+ return this._orderitem;
58
+ }
71
59
  get product() {
72
60
  if (!this._product) {
73
61
  this._product = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Offer', 'ProductModule:Product', 'Offer__Product');
74
62
  }
75
63
  return this._product;
76
64
  }
65
+ get offer() {
66
+ if (!this._offer) {
67
+ this._offer = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Offer', 'ProductModule:Offer', 'Offer__Offer');
68
+ }
69
+ return this._offer;
70
+ }
71
+ get pricebook() {
72
+ if (!this._pricebook) {
73
+ this._pricebook = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Offer', 'ProductModule:PriceBook', 'PriceBook__Offer');
74
+ }
75
+ return this._pricebook;
76
+ }
77
77
  // ============================================
78
78
  // STANDARD METHODS
79
79
  // ============================================
@@ -1498,6 +1498,8 @@ export declare enum WorkOrderPropertyKeys {
1498
1498
  OrderId = "OrderId",
1499
1499
  /** Contact information field for WorkOrder. Used by Field Operations team for communication. */
1500
1500
  AlternativeAddressPostCode = "AlternativeAddressPostCode",
1501
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency. */
1502
+ RescheduledCount = "RescheduledCount",
1501
1503
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis. */
1502
1504
  ScheduledForDate = "ScheduledForDate",
1503
1505
  /** Deprecated. replaced by native entity types (Field Operations - WorkOrder) */
@@ -2234,6 +2236,12 @@ export interface WorkOrderProperties {
2234
2236
  * @type {TEXT}
2235
2237
  */
2236
2238
  AlternativeAddressPostCode: string;
2239
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
2240
+ *
2241
+ * @type {NUMBER}
2242
+ * @default
2243
+ */
2244
+ RescheduledCount: number;
2237
2245
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
2238
2246
  *
2239
2247
  * @type {DATE}
@@ -2978,6 +2986,12 @@ export interface CollectionWorkOrderProperties {
2978
2986
  * @type {TEXT}
2979
2987
  */
2980
2988
  AlternativeAddressPostCode: string;
2989
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
2990
+ *
2991
+ * @type {NUMBER}
2992
+ * @default
2993
+ */
2994
+ RescheduledCount: number;
2981
2995
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
2982
2996
  *
2983
2997
  * @type {DATE}
@@ -3722,6 +3736,12 @@ export interface CollectionAmcoWorkOrderProperties {
3722
3736
  * @type {TEXT}
3723
3737
  */
3724
3738
  AlternativeAddressPostCode: string;
3739
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
3740
+ *
3741
+ * @type {NUMBER}
3742
+ * @default
3743
+ */
3744
+ RescheduledCount: number;
3725
3745
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
3726
3746
  *
3727
3747
  * @type {DATE}
@@ -4466,6 +4486,12 @@ export interface DispatchAmcoWorkOrderProperties {
4466
4486
  * @type {TEXT}
4467
4487
  */
4468
4488
  AlternativeAddressPostCode: string;
4489
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
4490
+ *
4491
+ * @type {NUMBER}
4492
+ * @default
4493
+ */
4494
+ RescheduledCount: number;
4469
4495
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
4470
4496
  *
4471
4497
  * @type {DATE}
@@ -5210,6 +5236,12 @@ export interface FinanceWorkOrderProperties {
5210
5236
  * @type {TEXT}
5211
5237
  */
5212
5238
  AlternativeAddressPostCode: string;
5239
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
5240
+ *
5241
+ * @type {NUMBER}
5242
+ * @default
5243
+ */
5244
+ RescheduledCount: number;
5213
5245
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
5214
5246
  *
5215
5247
  * @type {DATE}
@@ -5954,6 +5986,12 @@ export interface InspectionWorkOrderProperties {
5954
5986
  * @type {TEXT}
5955
5987
  */
5956
5988
  AlternativeAddressPostCode: string;
5989
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
5990
+ *
5991
+ * @type {NUMBER}
5992
+ * @default
5993
+ */
5994
+ RescheduledCount: number;
5957
5995
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
5958
5996
  *
5959
5997
  * @type {DATE}
@@ -6698,6 +6736,12 @@ export interface InstallWorkOrderProperties {
6698
6736
  * @type {TEXT}
6699
6737
  */
6700
6738
  AlternativeAddressPostCode: string;
6739
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
6740
+ *
6741
+ * @type {NUMBER}
6742
+ * @default
6743
+ */
6744
+ RescheduledCount: number;
6701
6745
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
6702
6746
  *
6703
6747
  * @type {DATE}
@@ -7442,6 +7486,12 @@ export interface InstallBusinessWorkOrderProperties {
7442
7486
  * @type {TEXT}
7443
7487
  */
7444
7488
  AlternativeAddressPostCode: string;
7489
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
7490
+ *
7491
+ * @type {NUMBER}
7492
+ * @default
7493
+ */
7494
+ RescheduledCount: number;
7445
7495
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
7446
7496
  *
7447
7497
  * @type {DATE}
@@ -8186,6 +8236,12 @@ export interface InstallServiceWorkOrderProperties {
8186
8236
  * @type {TEXT}
8187
8237
  */
8188
8238
  AlternativeAddressPostCode: string;
8239
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
8240
+ *
8241
+ * @type {NUMBER}
8242
+ * @default
8243
+ */
8244
+ RescheduledCount: number;
8189
8245
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
8190
8246
  *
8191
8247
  * @type {DATE}
@@ -8930,6 +8986,12 @@ export interface NetworkAdjustmentWorkOrderProperties {
8930
8986
  * @type {TEXT}
8931
8987
  */
8932
8988
  AlternativeAddressPostCode: string;
8989
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
8990
+ *
8991
+ * @type {NUMBER}
8992
+ * @default
8993
+ */
8994
+ RescheduledCount: number;
8933
8995
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
8934
8996
  *
8935
8997
  * @type {DATE}
@@ -9674,6 +9736,12 @@ export interface PlanningWorkOrderProperties {
9674
9736
  * @type {TEXT}
9675
9737
  */
9676
9738
  AlternativeAddressPostCode: string;
9739
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
9740
+ *
9741
+ * @type {NUMBER}
9742
+ * @default
9743
+ */
9744
+ RescheduledCount: number;
9677
9745
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
9678
9746
  *
9679
9747
  * @type {DATE}
@@ -10418,6 +10486,12 @@ export interface PrePullWorkOrderProperties {
10418
10486
  * @type {TEXT}
10419
10487
  */
10420
10488
  AlternativeAddressPostCode: string;
10489
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
10490
+ *
10491
+ * @type {NUMBER}
10492
+ * @default
10493
+ */
10494
+ RescheduledCount: number;
10421
10495
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
10422
10496
  *
10423
10497
  * @type {DATE}
@@ -11162,6 +11236,12 @@ export interface RemediationWorkOrderProperties {
11162
11236
  * @type {TEXT}
11163
11237
  */
11164
11238
  AlternativeAddressPostCode: string;
11239
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
11240
+ *
11241
+ * @type {NUMBER}
11242
+ * @default
11243
+ */
11244
+ RescheduledCount: number;
11165
11245
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
11166
11246
  *
11167
11247
  * @type {DATE}
@@ -11906,6 +11986,12 @@ export interface ReplacementAmcoWorkOrderProperties {
11906
11986
  * @type {TEXT}
11907
11987
  */
11908
11988
  AlternativeAddressPostCode: string;
11989
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
11990
+ *
11991
+ * @type {NUMBER}
11992
+ * @default
11993
+ */
11994
+ RescheduledCount: number;
11909
11995
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
11910
11996
  *
11911
11997
  * @type {DATE}
@@ -12650,6 +12736,12 @@ export interface ServiceWorkOrderProperties {
12650
12736
  * @type {TEXT}
12651
12737
  */
12652
12738
  AlternativeAddressPostCode: string;
12739
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
12740
+ *
12741
+ * @type {NUMBER}
12742
+ * @default
12743
+ */
12744
+ RescheduledCount: number;
12653
12745
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
12654
12746
  *
12655
12747
  * @type {DATE}
@@ -13394,6 +13486,12 @@ export interface WayleaveWorkOrderProperties {
13394
13486
  * @type {TEXT}
13395
13487
  */
13396
13488
  AlternativeAddressPostCode: string;
13489
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency.
13490
+ *
13491
+ * @type {NUMBER}
13492
+ * @default
13493
+ */
13494
+ RescheduledCount: number;
13397
13495
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis.
13398
13496
  *
13399
13497
  * @type {DATE}
@@ -1501,6 +1501,8 @@ var WorkOrderPropertyKeys;
1501
1501
  WorkOrderPropertyKeys["OrderId"] = "OrderId";
1502
1502
  /** Contact information field for WorkOrder. Used by Field Operations team for communication. */
1503
1503
  WorkOrderPropertyKeys["AlternativeAddressPostCode"] = "AlternativeAddressPostCode";
1504
+ /** Cumulative number of times this WO appointment was rescheduled (supplier + customer). Incremented on reschedule; backfilled from REAPPOINT/REAPPOINTED + CUSTOMER_RESCHEDULE_APPOINTMENT history. Quantifies install slippage frequency. */
1505
+ WorkOrderPropertyKeys["RescheduledCount"] = "RescheduledCount";
1504
1506
  /** Frozen field-visit date the WO was scheduled for (from the ServiceAppointment) while in Scheduled stage. Stamped nightly + on create; immutable thereafter so the day-D cohort survives reschedule/cancel/remediation. Powers "did everything scheduled for today get handled" + shift analysis. */
1505
1507
  WorkOrderPropertyKeys["ScheduledForDate"] = "ScheduledForDate";
1506
1508
  /** Deprecated. replaced by native entity types (Field Operations - WorkOrder) */
@@ -26,6 +26,7 @@ import { CallLegProperties } from '../entities-v2/CallLeg';
26
26
  import { CreateAgentCallLegProperties } from '../actions-v2/CreateAgentCallLegDto';
27
27
  import { CreateCustomerCallLegProperties } from '../actions-v2/CreateCustomerCallLegDto';
28
28
  import { UpdateAgentCallLegOnIncomingCallAnsweredProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallAnsweredDto';
29
+ import { UpdateAgentCallLegOnIncomingCallBusyProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallBusyDto';
29
30
  import { UpdateAgentCallLegOnIncomingCallCanceledProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallCanceledDto';
30
31
  import { UpdateAgentCallLegOnIncomingCallCompletedProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallCompletedDto';
31
32
  import { UpdateAgentCallLegOnIncomingCallFailedProperties } from '../actions-v2/UpdateAgentCallLegOnIncomingCallFailedDto';
@@ -293,6 +294,32 @@ export declare class CallLegRecord<TProps = CallLegProperties> {
293
294
  journeyId?: string;
294
295
  stageKey?: string;
295
296
  }): ActionBuilder;
297
+ /**
298
+ * UpdateAgentCallLegOnIncomingCallBusy
299
+ *
300
+ * Updates this CallLeg record with the specified properties.
301
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
302
+ *
303
+ * @param properties - Required properties for this action
304
+ * @param options - Optional settings
305
+ * @param options.journeyId - Associate with a journey
306
+ * @param options.stageKey - Transition to pipeline stage
307
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
308
+ * @throws Error if called on a new (unsaved) record
309
+ *
310
+ * @example
311
+ * ```typescript
312
+ * const record = await odinClient.callLegs.get(id);
313
+ * await record.updateAgentCallLegOnIncomingCallBusy({ ... }).execute();
314
+ *
315
+ * // Dry run (for debugging)
316
+ * const payload = record.updateAgentCallLegOnIncomingCallBusy({ ... }).dryRun();
317
+ * ```
318
+ */
319
+ updateAgentCallLegOnIncomingCallBusy(properties: UpdateAgentCallLegOnIncomingCallBusyProperties, options?: {
320
+ journeyId?: string;
321
+ stageKey?: string;
322
+ }): ActionBuilder;
296
323
  /**
297
324
  * UpdateAgentCallLegOnIncomingCallCanceled
298
325
  *
@@ -365,6 +365,35 @@ class CallLegRecord {
365
365
  const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnIncomingCallAnswered', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
366
366
  return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
367
367
  }
368
+ /**
369
+ * UpdateAgentCallLegOnIncomingCallBusy
370
+ *
371
+ * Updates this CallLeg record with the specified properties.
372
+ * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
373
+ *
374
+ * @param properties - Required properties for this action
375
+ * @param options - Optional settings
376
+ * @param options.journeyId - Associate with a journey
377
+ * @param options.stageKey - Transition to pipeline stage
378
+ * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
379
+ * @throws Error if called on a new (unsaved) record
380
+ *
381
+ * @example
382
+ * ```typescript
383
+ * const record = await odinClient.callLegs.get(id);
384
+ * await record.updateAgentCallLegOnIncomingCallBusy({ ... }).execute();
385
+ *
386
+ * // Dry run (for debugging)
387
+ * const payload = record.updateAgentCallLegOnIncomingCallBusy({ ... }).dryRun();
388
+ * ```
389
+ */
390
+ updateAgentCallLegOnIncomingCallBusy(properties, options) {
391
+ var _a;
392
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
393
+ throw new Error('updateAgentCallLegOnIncomingCallBusy requires an existing record. Use accessor.get() first.');
394
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateAgentCallLegOnIncomingCallBusy', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
395
+ return new ActionBuilder(this._provider, 'NotificationModule', 'CallLeg', payload, () => { this._pendingLinks = []; });
396
+ }
368
397
  /**
369
398
  * UpdateAgentCallLegOnIncomingCallCanceled
370
399
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.171",
3
+ "version": "2.0.172",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",