@d19n/youfibre-odin-sdk 2.0.158 → 2.0.159

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 **680** actions.
357
+ This SDK includes **681** actions.
358
358
 
359
359
  ### Action Types
360
360
 
@@ -991,6 +991,7 @@ This SDK includes **680** actions.
991
991
  | `CompleteChurnRequest` | UPDATE | k1.t-hEOJjsDb.OrderModule.ChurnRequest.Update.CompleteChurnRequest |
992
992
  | `CompleteChurnRequestFlow` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.ChurnRequest.Update.CompleteChurnRequest |
993
993
  | `CreateChurnRequest` | CREATE | k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequest |
994
+ | `CreateChurnRequestTemp` | CREATE | k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequestTemp |
994
995
  | `DefaultUpdateChurnRequest` | UPDATE | k1.t-hEOJjsDb.OrderModule.ChurnRequest.Update.DefaultUpdateChurnRequest |
995
996
  | `MoveOrderFromDeactivatedToCancelled` | CREATE | k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequest |
996
997
  | `MoveOrderFromPendingCancellationToCancelled` | CREATE | k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequest |
@@ -22,10 +22,18 @@ export interface CloseAndMergeCaseActionMessage extends OdinRecordUpdatedEvent<C
22
22
  /**
23
23
  * Properties for CloseAndMergeCaseAction action
24
24
  *
25
- * @property Required fields: 0
25
+ * @property Required fields: 1
26
26
  * @property Optional fields: 3
27
27
  */
28
28
  export interface CloseAndMergeCaseActionProperties {
29
+ /**
30
+ * Case merged into
31
+ *
32
+ * Case merged into
33
+ * @type {LOOKUP}
34
+ * @required
35
+ */
36
+ CaseMergedInto: string;
29
37
  /**
30
38
  * Allow CSAT communications
31
39
  *
@@ -41,13 +49,6 @@ export interface CloseAndMergeCaseActionProperties {
41
49
  * @type {LOOKUP}
42
50
  */
43
51
  ContactId?: string | null;
44
- /**
45
- * Case merged into
46
- *
47
- * Case merged into
48
- * @type {LOOKUP}
49
- */
50
- CaseMergedInto?: string | null;
51
52
  }
52
53
  /**
53
54
  * CloseAndMergeCaseAction
@@ -15,10 +15,18 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
15
15
  /**
16
16
  * Properties for CloseAndMergeCaseAction action
17
17
  *
18
- * @property Required fields: 0
18
+ * @property Required fields: 1
19
19
  * @property Optional fields: 3
20
20
  */
21
21
  export interface CloseAndMergeCaseActionProperties {
22
+ /**
23
+ * Case merged into
24
+ *
25
+ * Case merged into
26
+ * @type {LOOKUP}
27
+ * @required
28
+ */
29
+ CaseMergedInto: string;
22
30
  /**
23
31
  * Allow CSAT communications
24
32
  *
@@ -34,13 +42,6 @@ export interface CloseAndMergeCaseActionProperties {
34
42
  * @type {LOOKUP}
35
43
  */
36
44
  ContactId?: string | null;
37
- /**
38
- * Case merged into
39
- *
40
- * Case merged into
41
- * @type {LOOKUP}
42
- */
43
- CaseMergedInto?: string | null;
44
45
  }
45
46
  /**
46
47
  * CloseAndMergeCaseAction
@@ -0,0 +1,88 @@
1
+ /**
2
+ * CreateChurnRequestTemp Action DTO
3
+ *
4
+ * CreateChurnRequestTemp
5
+ *
6
+ * @module OrderModule
7
+ * @entity ChurnRequest
8
+ * @entityType DEFAULT
9
+ * @actionKey CreateChurnRequestTemp
10
+ * @event k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequestTemp
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 CreateChurnRequestTemp created events
17
+ *
18
+ * @event k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequestTemp
19
+ */
20
+ export interface CreateChurnRequestTempMessage extends OdinRecordCreatedEvent<CreateChurnRequestTempDto, CreateChurnRequestTempProperties> {
21
+ }
22
+ /**
23
+ * Properties for CreateChurnRequestTemp action
24
+ *
25
+ * @property Required fields: 3
26
+ * @property Optional fields: 0
27
+ */
28
+ export interface CreateChurnRequestTempProperties {
29
+ /**
30
+ * address
31
+ *
32
+ * Contact information field for ChurnRequest. Used by Sales team for communication.
33
+ * @type {TEXT}
34
+ * @required
35
+ * @default Dynamic: {source_record_title}
36
+ */
37
+ Address: string;
38
+ /**
39
+ * reason
40
+ *
41
+ * The reason the customer wants to cancel (Sales - ChurnRequest)
42
+ * @type {ENUM}
43
+ * @required
44
+ */
45
+ Reason: string;
46
+ /**
47
+ * comment
48
+ *
49
+ * Free-text notes field for ChurnRequest. Used by Sales team for documentation.
50
+ * @type {TEXT_LONG}
51
+ * @required
52
+ */
53
+ Comment: string;
54
+ }
55
+ /**
56
+ * CreateChurnRequestTemp
57
+ *
58
+ * @actionType CREATE - Creates a new ChurnRequest record
59
+ * @module OrderModule
60
+ * @entity ChurnRequest
61
+ * @entityType DEFAULT (Default)
62
+ * @event k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequestTemp
63
+ * @permission schema.action.createchurnrequesttemp.trigger
64
+ * @benchmark This action is tracked for performance benchmarks
65
+ */
66
+ export declare class CreateChurnRequestTempDto extends OdinRecordCreateDto<CreateChurnRequestTempProperties> {
67
+ /** Used by SDK generators to identify action type */
68
+ static readonly ACTION_TYPE = "CREATE";
69
+ static readonly ACTION_KEY = "CreateChurnRequestTemp";
70
+ static readonly MODULE_NAME = "OrderModule";
71
+ static readonly ENTITIES: string[];
72
+ static readonly ENTITY_TYPE = "DEFAULT";
73
+ static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequestTemp";
74
+ static readonly PERMISSION = "schema.action.createchurnrequesttemp.trigger";
75
+ /** Step metadata - entity this action targets */
76
+ static readonly STEP_ENTITY = "OrderModule:ChurnRequest";
77
+ static readonly STEP_SCHEMA_ID = "aec13a3b-3a34-43aa-9cc9-dcf8c1637ab6";
78
+ static readonly STEP_SCHEMA_ACTION_ID = "bec2a899-f769-48c7-85cd-dc039e8d42ca";
79
+ static readonly STEP_SCHEMA_TYPE_ID = "29ca876d-b8e3-4846-9974-b89a7aba9e69";
80
+ static readonly STEP_TYPE = "DEFAULT";
81
+ static readonly AUTO_LINK_PARENT = true;
82
+ readonly actionName: string;
83
+ readonly schemaActionId: string;
84
+ readonly entity: string;
85
+ constructor(properties: CreateChurnRequestTempProperties, options?: {
86
+ journeyId?: string;
87
+ });
88
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /**
3
+ * CreateChurnRequestTemp Action DTO
4
+ *
5
+ * CreateChurnRequestTemp
6
+ *
7
+ * @module OrderModule
8
+ * @entity ChurnRequest
9
+ * @entityType DEFAULT
10
+ * @actionKey CreateChurnRequestTemp
11
+ * @event k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequestTemp
12
+ *
13
+ * AUTO-GENERATED - DO NOT EDIT DIRECTLY
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateChurnRequestTempDto = void 0;
17
+ const core_1 = require("@d19n/odin-types/dist/core");
18
+ /**
19
+ * CreateChurnRequestTemp
20
+ *
21
+ * @actionType CREATE - Creates a new ChurnRequest record
22
+ * @module OrderModule
23
+ * @entity ChurnRequest
24
+ * @entityType DEFAULT (Default)
25
+ * @event k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequestTemp
26
+ * @permission schema.action.createchurnrequesttemp.trigger
27
+ * @benchmark This action is tracked for performance benchmarks
28
+ */
29
+ class CreateChurnRequestTempDto extends core_1.OdinRecordCreateDto {
30
+ constructor(properties, options) {
31
+ super({
32
+ entity: 'OrderModule:ChurnRequest',
33
+ type: 'DEFAULT',
34
+ properties,
35
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
36
+ });
37
+ this.actionName = 'CreateChurnRequestTemp';
38
+ this.schemaActionId = 'bec2a899-f769-48c7-85cd-dc039e8d42ca';
39
+ this.entity = 'OrderModule:ChurnRequest';
40
+ }
41
+ }
42
+ exports.CreateChurnRequestTempDto = CreateChurnRequestTempDto;
43
+ /** Used by SDK generators to identify action type */
44
+ CreateChurnRequestTempDto.ACTION_TYPE = 'CREATE';
45
+ CreateChurnRequestTempDto.ACTION_KEY = 'CreateChurnRequestTemp';
46
+ CreateChurnRequestTempDto.MODULE_NAME = 'OrderModule';
47
+ CreateChurnRequestTempDto.ENTITIES = ['ChurnRequest'];
48
+ CreateChurnRequestTempDto.ENTITY_TYPE = 'DEFAULT';
49
+ CreateChurnRequestTempDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.ChurnRequest.Create.CreateChurnRequestTemp';
50
+ CreateChurnRequestTempDto.PERMISSION = 'schema.action.createchurnrequesttemp.trigger';
51
+ /** Step metadata - entity this action targets */
52
+ CreateChurnRequestTempDto.STEP_ENTITY = 'OrderModule:ChurnRequest';
53
+ CreateChurnRequestTempDto.STEP_SCHEMA_ID = 'aec13a3b-3a34-43aa-9cc9-dcf8c1637ab6';
54
+ CreateChurnRequestTempDto.STEP_SCHEMA_ACTION_ID = 'bec2a899-f769-48c7-85cd-dc039e8d42ca';
55
+ CreateChurnRequestTempDto.STEP_SCHEMA_TYPE_ID = '29ca876d-b8e3-4846-9974-b89a7aba9e69';
56
+ CreateChurnRequestTempDto.STEP_TYPE = 'DEFAULT';
57
+ CreateChurnRequestTempDto.AUTO_LINK_PARENT = true;
@@ -86,7 +86,7 @@ export interface CreateRecontractVoiceConfigurationProperties {
86
86
  * IssuedPhoneNumber
87
87
  *
88
88
  * the phone number provided by us to the customer (Network Operations - VoiceConfiguration)
89
- * @type {TEXT}
89
+ * @type {PHONE_NUMBER_E164_GB}
90
90
  */
91
91
  IssuedPhoneNumber?: string | null;
92
92
  /**
@@ -121,7 +121,7 @@ export interface CreateRecontractVoiceConfigurationProperties {
121
121
  * PhoneNumberToPort
122
122
  *
123
123
  * phone number to port (Network Operations - VoiceConfiguration)
124
- * @type {TEXT}
124
+ * @type {PHONE_NUMBER_E164_GB}
125
125
  */
126
126
  PhoneNumberToPort?: string | null;
127
127
  /**
@@ -22,8 +22,8 @@ export interface CreateServiceMessage extends OdinRecordCreatedEvent<CreateServi
22
22
  /**
23
23
  * Properties for CreateSERVICE action
24
24
  *
25
- * @property Required fields: 4
26
- * @property Optional fields: 7
25
+ * @property Required fields: 3
26
+ * @property Optional fields: 9
27
27
  */
28
28
  export interface CreateServiceProperties {
29
29
  /**
@@ -51,14 +51,6 @@ export interface CreateServiceProperties {
51
51
  * @required
52
52
  */
53
53
  Contractor: string;
54
- /**
55
- * Region
56
- *
57
- * The linked region (Field Operations - ServiceAppointmentConfig)
58
- * @type {LOOKUP}
59
- * @required
60
- */
61
- RegionId: string;
62
54
  /**
63
55
  * ExPolygonId
64
56
  *
@@ -73,6 +65,13 @@ export interface CreateServiceProperties {
73
65
  * @type {TEXT_LONG}
74
66
  */
75
67
  Description?: string | null;
68
+ /**
69
+ * region
70
+ *
71
+ * the region selection (Field Operations - ServiceAppointmentConfig)
72
+ * @type {ENUM}
73
+ */
74
+ Region?: string | null;
76
75
  /**
77
76
  * AvailableTo
78
77
  *
@@ -81,6 +80,13 @@ export interface CreateServiceProperties {
81
80
  * @format DD/MM/YYYY
82
81
  */
83
82
  AvailableTo?: string | null;
83
+ /**
84
+ * Region
85
+ *
86
+ * The linked region (Field Operations - ServiceAppointmentConfig)
87
+ * @type {LOOKUP}
88
+ */
89
+ RegionId?: string | null;
84
90
  /**
85
91
  * BookingDelay
86
92
  *
@@ -93,7 +93,7 @@ export interface CreateVoiceConfigurationProperties {
93
93
  * IssuedPhoneNumber
94
94
  *
95
95
  * the phone number provided by us to the customer (Network Operations - VoiceConfiguration)
96
- * @type {TEXT}
96
+ * @type {PHONE_NUMBER_E164_GB}
97
97
  */
98
98
  IssuedPhoneNumber?: string | null;
99
99
  /**
@@ -128,7 +128,7 @@ export interface CreateVoiceConfigurationProperties {
128
128
  * PhoneNumberToPort
129
129
  *
130
130
  * phone number to port (Network Operations - VoiceConfiguration)
131
- * @type {TEXT}
131
+ * @type {PHONE_NUMBER_E164_GB}
132
132
  */
133
133
  PhoneNumberToPort?: string | null;
134
134
  /**
@@ -22,7 +22,7 @@ export interface EditFieldServiceProductMessage extends OdinRecordUpdatedEvent<E
22
22
  * Properties for EditFieldServiceProduct action
23
23
  *
24
24
  * @property Required fields: 0
25
- * @property Optional fields: 7
25
+ * @property Optional fields: 6
26
26
  */
27
27
  export interface EditFieldServiceProductProperties {
28
28
  /**
@@ -60,13 +60,6 @@ export interface EditFieldServiceProductProperties {
60
60
  * @type {BOOLEAN}
61
61
  */
62
62
  Active?: boolean | null;
63
- /**
64
- * provider
65
- *
66
- * network provider (Sales - Order)
67
- * @type {ENUM}
68
- */
69
- Provider?: string | null;
70
63
  }
71
64
  /**
72
65
  * EditFieldServiceProduct
@@ -57,7 +57,7 @@ export interface UpdateVoiceConfigurationProperties {
57
57
  * PhoneNumberToPort
58
58
  *
59
59
  * phone number to port (Network Operations - VoiceConfiguration)
60
- * @type {TEXT}
60
+ * @type {PHONE_NUMBER_E164_GB}
61
61
  */
62
62
  PhoneNumberToPort?: string | null;
63
63
  /**
@@ -92,7 +92,7 @@ export interface UpdateVoiceConfigurationProperties {
92
92
  * IssuedPhoneNumber
93
93
  *
94
94
  * the phone number provided by us to the customer (Network Operations - VoiceConfiguration)
95
- * @type {TEXT}
95
+ * @type {PHONE_NUMBER_E164_GB}
96
96
  */
97
97
  IssuedPhoneNumber?: string | null;
98
98
  /**
@@ -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?;
24
+ private _lead__offer?;
25
+ private _orderitem__offer?;
26
+ private _offer__offer?;
27
+ private _pricebook__offer?;
25
28
  private _discount?;
26
- private _orderitem?;
27
29
  private _product?;
28
- private _offer?;
29
- private _pricebook?;
30
30
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
31
- get lead(): DbRecordLinkManager;
31
+ get lead__offer(): DbRecordLinkManager;
32
+ get orderitem__offer(): DbRecordLinkManager;
33
+ get offer__offer(): DbRecordLinkManager;
34
+ get pricebook__offer(): DbRecordLinkManager;
32
35
  get discount(): DbRecordLinkManager;
33
- get orderitem(): DbRecordLinkManager;
34
36
  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,11 +38,29 @@ 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() {
42
- if (!this._lead) {
43
- this._lead = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Offer', 'CrmModule:Lead', 'Lead__Offer');
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');
44
44
  }
45
- return this._lead;
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;
46
64
  }
47
65
  get discount() {
48
66
  if (!this._discount) {
@@ -50,30 +68,12 @@ class OfferDb extends db_provider_1.DbProvider {
50
68
  }
51
69
  return this._discount;
52
70
  }
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
- }
59
71
  get product() {
60
72
  if (!this._product) {
61
73
  this._product = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProductModule:Offer', 'ProductModule:Product', 'Offer__Product');
62
74
  }
63
75
  return this._product;
64
76
  }
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
  // ============================================
@@ -292,7 +292,7 @@ export declare enum ChangeReasonOwner {
292
292
  * - `ENGINEER_UNABLE_TO_RESOLVE` - Engineer unable to resolve
293
293
  * - `HEALTH_AND_SAFETY_CONCERN_CUSTOMER_PREMISE` - Health and safety concern - customer premise
294
294
  * - `INCORRECT_DATE_BOOKED` - Incorrect date booked
295
- * - ... and 13 more
295
+ * - ... and 14 more
296
296
  */
297
297
  export declare enum ChangeReasonRescheduleReason {
298
298
  ADDITIONAL_WORK_REQ_APPROVAL_NEEDED = "ADDITIONAL_WORKS_REQUIRED_APPROVAL_NEEDED",
@@ -318,6 +318,7 @@ export declare enum ChangeReasonRescheduleReason {
318
318
  SCHEDULE_CHANGED = "SCHEDULE_CHANGED",
319
319
  SCHEDULE_CONTRACTOR_CHANGED = "SCHEDULE_CONTRACTOR_CHANGED",
320
320
  SERVICE_VISIT_NO_LONGER_REQUIRED = "SERVICE_VISIT_NO_LONGER_REQUIRED",
321
+ SUPPLIER_RESCHEDULED_APPOINTMENT = "SUPPLIER_RESCHEDULED_APPOINTMENT",
321
322
  TIME_BLOCK_CHANGED = "TIME_BLOCK_CHANGED",
322
323
  TLOS_PRIORITISED_NOT_ATTENDED = "TLOS_PRIORITISED_NOT_ATTENDED",
323
324
  UNABLE_TO_ATTEND = "UNABLE_TO_ATTEND",
@@ -298,7 +298,7 @@ var ChangeReasonOwner;
298
298
  * - `ENGINEER_UNABLE_TO_RESOLVE` - Engineer unable to resolve
299
299
  * - `HEALTH_AND_SAFETY_CONCERN_CUSTOMER_PREMISE` - Health and safety concern - customer premise
300
300
  * - `INCORRECT_DATE_BOOKED` - Incorrect date booked
301
- * - ... and 13 more
301
+ * - ... and 14 more
302
302
  */
303
303
  var ChangeReasonRescheduleReason;
304
304
  (function (ChangeReasonRescheduleReason) {
@@ -325,6 +325,7 @@ var ChangeReasonRescheduleReason;
325
325
  ChangeReasonRescheduleReason["SCHEDULE_CHANGED"] = "SCHEDULE_CHANGED";
326
326
  ChangeReasonRescheduleReason["SCHEDULE_CONTRACTOR_CHANGED"] = "SCHEDULE_CONTRACTOR_CHANGED";
327
327
  ChangeReasonRescheduleReason["SERVICE_VISIT_NO_LONGER_REQUIRED"] = "SERVICE_VISIT_NO_LONGER_REQUIRED";
328
+ ChangeReasonRescheduleReason["SUPPLIER_RESCHEDULED_APPOINTMENT"] = "SUPPLIER_RESCHEDULED_APPOINTMENT";
328
329
  ChangeReasonRescheduleReason["TIME_BLOCK_CHANGED"] = "TIME_BLOCK_CHANGED";
329
330
  ChangeReasonRescheduleReason["TLOS_PRIORITISED_NOT_ATTENDED"] = "TLOS_PRIORITISED_NOT_ATTENDED";
330
331
  ChangeReasonRescheduleReason["UNABLE_TO_ATTEND"] = "UNABLE_TO_ATTEND";
@@ -63,27 +63,6 @@ export declare enum FieldServiceProductVendor {
63
63
  SAGEMCOM = "SAGEMCOM",
64
64
  TP_LINK = "TP_LINK"
65
65
  }
66
- /**
67
- * Valid values for FieldServiceProduct.Provider
68
- *
69
- * network provider (Sales - Order)
70
- *
71
- * @remarks Available options:
72
- * - `BRSK` - Brsk
73
- * - `CITYFIBRE` - CityFibre
74
- * - `NETOMNIA` - Netomnia
75
- * - `NETOMNIA_LEGACY` - Netomnia legacy
76
- * - `OPENREACH` - Openreach
77
- * - `PYOMNI` - PyOmni
78
- */
79
- export declare enum FieldServiceProductProvider {
80
- BRSK = "BRSK",
81
- CITY_FIBRE = "CITYFIBRE",
82
- NETOMNIA = "NETOMNIA",
83
- NETOMNIA_LEGACY = "NETOMNIA_LEGACY",
84
- OPENREACH = "OPENREACH",
85
- PY_OMNI = "PYOMNI"
86
- }
87
66
  /**
88
67
  * Property keys for FieldServiceProduct
89
68
  * Use these constants instead of string literals for type safety
@@ -98,9 +77,7 @@ export declare enum FieldServiceProductPropertyKeys {
98
77
  /** Vendor of the product (Field Operations - FieldServiceProduct) */
99
78
  Vendor = "Vendor",
100
79
  /** Data field for FieldServiceProduct records. Used by Field Operations team. */
101
- Active = "Active",
102
- /** network provider (Sales - Order) */
103
- Provider = "Provider"
80
+ Active = "Active"
104
81
  }
105
82
  /**
106
83
  * Properties for FieldServiceProduct records
@@ -136,12 +113,6 @@ export interface FieldServiceProductProperties {
136
113
  * @type {BOOLEAN}
137
114
  */
138
115
  Active: boolean;
139
- /** network provider (Sales - Order)
140
- *
141
- * @type {ENUM}
142
- * @enum {FieldServiceProductProvider}
143
- */
144
- Provider: FieldServiceProductProvider;
145
116
  }
146
117
  /**
147
118
  * Properties for CPE_ROUTER FieldServiceProduct records
@@ -177,12 +148,6 @@ export interface CpeRouterFieldServiceProductProperties {
177
148
  * @type {BOOLEAN}
178
149
  */
179
150
  Active: boolean;
180
- /** network provider (Sales - Order)
181
- *
182
- * @type {ENUM}
183
- * @enum {FieldServiceProductProvider}
184
- */
185
- Provider: FieldServiceProductProvider;
186
151
  }
187
152
  /**
188
153
  * Properties for MESH FieldServiceProduct records
@@ -218,12 +183,6 @@ export interface MeshFieldServiceProductProperties {
218
183
  * @type {BOOLEAN}
219
184
  */
220
185
  Active: boolean;
221
- /** network provider (Sales - Order)
222
- *
223
- * @type {ENUM}
224
- * @enum {FieldServiceProductProvider}
225
- */
226
- Provider: FieldServiceProductProvider;
227
186
  }
228
187
  /**
229
188
  * Properties for MISC FieldServiceProduct records
@@ -259,12 +218,6 @@ export interface MiscFieldServiceProductProperties {
259
218
  * @type {BOOLEAN}
260
219
  */
261
220
  Active: boolean;
262
- /** network provider (Sales - Order)
263
- *
264
- * @type {ENUM}
265
- * @enum {FieldServiceProductProvider}
266
- */
267
- Provider: FieldServiceProductProvider;
268
221
  }
269
222
  /**
270
223
  * FieldServiceProduct entity from FieldServiceModule
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_DELETED = exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CREATED = exports.FieldServiceProduct = exports.FieldServiceProductPropertyKeys = exports.FieldServiceProductProvider = exports.FieldServiceProductVendor = exports.FieldServiceProductDefaultShippingMethod = exports.FieldServiceProductEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_DELETED = exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CREATED = exports.FieldServiceProduct = exports.FieldServiceProductPropertyKeys = exports.FieldServiceProductVendor = exports.FieldServiceProductDefaultShippingMethod = exports.FieldServiceProductEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for FieldServiceProduct records
@@ -66,28 +66,6 @@ var FieldServiceProductVendor;
66
66
  FieldServiceProductVendor["SAGEMCOM"] = "SAGEMCOM";
67
67
  FieldServiceProductVendor["TP_LINK"] = "TP_LINK";
68
68
  })(FieldServiceProductVendor = exports.FieldServiceProductVendor || (exports.FieldServiceProductVendor = {}));
69
- /**
70
- * Valid values for FieldServiceProduct.Provider
71
- *
72
- * network provider (Sales - Order)
73
- *
74
- * @remarks Available options:
75
- * - `BRSK` - Brsk
76
- * - `CITYFIBRE` - CityFibre
77
- * - `NETOMNIA` - Netomnia
78
- * - `NETOMNIA_LEGACY` - Netomnia legacy
79
- * - `OPENREACH` - Openreach
80
- * - `PYOMNI` - PyOmni
81
- */
82
- var FieldServiceProductProvider;
83
- (function (FieldServiceProductProvider) {
84
- FieldServiceProductProvider["BRSK"] = "BRSK";
85
- FieldServiceProductProvider["CITY_FIBRE"] = "CITYFIBRE";
86
- FieldServiceProductProvider["NETOMNIA"] = "NETOMNIA";
87
- FieldServiceProductProvider["NETOMNIA_LEGACY"] = "NETOMNIA_LEGACY";
88
- FieldServiceProductProvider["OPENREACH"] = "OPENREACH";
89
- FieldServiceProductProvider["PY_OMNI"] = "PYOMNI";
90
- })(FieldServiceProductProvider = exports.FieldServiceProductProvider || (exports.FieldServiceProductProvider = {}));
91
69
  /**
92
70
  * Property keys for FieldServiceProduct
93
71
  * Use these constants instead of string literals for type safety
@@ -104,8 +82,6 @@ var FieldServiceProductPropertyKeys;
104
82
  FieldServiceProductPropertyKeys["Vendor"] = "Vendor";
105
83
  /** Data field for FieldServiceProduct records. Used by Field Operations team. */
106
84
  FieldServiceProductPropertyKeys["Active"] = "Active";
107
- /** network provider (Sales - Order) */
108
- FieldServiceProductPropertyKeys["Provider"] = "Provider";
109
85
  })(FieldServiceProductPropertyKeys = exports.FieldServiceProductPropertyKeys || (exports.FieldServiceProductPropertyKeys = {}));
110
86
  /**
111
87
  * FieldServiceProduct entity from FieldServiceModule
@@ -342,8 +342,6 @@ export declare class Offer extends OdinRecord<OfferProperties> {
342
342
  type: OfferEntityTypes;
343
343
  schemaId: '1ea8e52f-8029-4d49-862f-9c17413f9ca9';
344
344
  properties: OfferProperties;
345
- /** Linked Offer records (Lead__Offer) */
346
- Offer: OdinLink<LinkedOdinRecord<OfferProperties>>;
347
345
  /** Linked Lead records (Lead__Offer) */
348
346
  Lead: OdinLink<LinkedOdinRecord<LeadProperties>>;
349
347
  /** Linked Discount records (Offer__Discount) */
@@ -352,6 +350,8 @@ export declare class Offer extends OdinRecord<OfferProperties> {
352
350
  OrderItem: OdinLink<LinkedOdinRecord<OrderItemProperties>>;
353
351
  /** Linked Product records (Offer__Product) */
354
352
  Product: OdinLink<LinkedOdinRecord<ProductProperties>>;
353
+ /** Linked Offer records (Offer__Offer) */
354
+ Offer: OdinLink<LinkedOdinRecord<OfferProperties>>;
355
355
  /** Linked PriceBook records (PriceBook__Offer) */
356
356
  PriceBook: OdinLink<LinkedOdinRecord<PriceBookProperties>>;
357
357
  }
@@ -383,10 +383,6 @@ export declare const ROUTING_KEY_OFFER_STANDARD_CREATED = "ProductModule.Offer.S
383
383
  export declare const ROUTING_KEY_OFFER_STANDARD_UPDATED = "ProductModule.Offer.STANDARD.SubDbRecordUpdated";
384
384
  /** STANDARD deleted */
385
385
  export declare const ROUTING_KEY_OFFER_STANDARD_DELETED = "ProductModule.Offer.STANDARD.SubDbRecordDeleted";
386
- /** Event: Lead__Offer link created */
387
- export declare const ROUTING_KEY_LINK_LEAD_OFFER_CREATED = "ProductModule.Offer.Offer.SubDbRecordAssociationCreated";
388
- /** Event: Lead__Offer link deleted */
389
- export declare const ROUTING_KEY_LINK_LEAD_OFFER_DELETED = "ProductModule.Offer.Offer.SubDbRecordAssociationDeleted";
390
386
  /** Event: Offer__Discount link created */
391
387
  export declare const ROUTING_KEY_LINK_OFFER_DISCOUNT_CREATED = "ProductModule.Offer.Discount.SubDbRecordAssociationCreated";
392
388
  /** Event: Offer__Discount link deleted */
@@ -395,3 +391,7 @@ export declare const ROUTING_KEY_LINK_OFFER_DISCOUNT_DELETED = "ProductModule.Of
395
391
  export declare const ROUTING_KEY_LINK_OFFER_PRODUCT_CREATED = "ProductModule.Offer.Product.SubDbRecordAssociationCreated";
396
392
  /** Event: Offer__Product link deleted */
397
393
  export declare const ROUTING_KEY_LINK_OFFER_PRODUCT_DELETED = "ProductModule.Offer.Product.SubDbRecordAssociationDeleted";
394
+ /** Event: Offer__Offer link created */
395
+ export declare const ROUTING_KEY_LINK_OFFER_OFFER_CREATED = "ProductModule.Offer.Offer.SubDbRecordAssociationCreated";
396
+ /** Event: Offer__Offer link deleted */
397
+ export declare const ROUTING_KEY_LINK_OFFER_OFFER_DELETED = "ProductModule.Offer.Offer.SubDbRecordAssociationDeleted";
@@ -12,7 +12,7 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_OFFER_PRODUCT_DELETED = exports.ROUTING_KEY_LINK_OFFER_PRODUCT_CREATED = exports.ROUTING_KEY_LINK_OFFER_DISCOUNT_DELETED = exports.ROUTING_KEY_LINK_OFFER_DISCOUNT_CREATED = exports.ROUTING_KEY_LINK_LEAD_OFFER_DELETED = exports.ROUTING_KEY_LINK_LEAD_OFFER_CREATED = exports.ROUTING_KEY_OFFER_STANDARD_DELETED = exports.ROUTING_KEY_OFFER_STANDARD_UPDATED = exports.ROUTING_KEY_OFFER_STANDARD_CREATED = exports.ROUTING_KEY_OFFER_RECONTRACT_DELETED = exports.ROUTING_KEY_OFFER_RECONTRACT_UPDATED = exports.ROUTING_KEY_OFFER_RECONTRACT_CREATED = exports.ROUTING_KEY_OFFER_DEFAULT_DELETED = exports.ROUTING_KEY_OFFER_DEFAULT_UPDATED = exports.ROUTING_KEY_OFFER_DEFAULT_CREATED = exports.ROUTING_KEY_OFFER_DELETED = exports.ROUTING_KEY_OFFER_UPDATED = exports.ROUTING_KEY_OFFER_CREATED = exports.Offer = exports.OfferPropertyKeys = exports.OfferChannel = exports.OfferContractType = exports.OfferCustomerType = exports.OfferEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_OFFER_OFFER_DELETED = exports.ROUTING_KEY_LINK_OFFER_OFFER_CREATED = exports.ROUTING_KEY_LINK_OFFER_PRODUCT_DELETED = exports.ROUTING_KEY_LINK_OFFER_PRODUCT_CREATED = exports.ROUTING_KEY_LINK_OFFER_DISCOUNT_DELETED = exports.ROUTING_KEY_LINK_OFFER_DISCOUNT_CREATED = exports.ROUTING_KEY_OFFER_STANDARD_DELETED = exports.ROUTING_KEY_OFFER_STANDARD_UPDATED = exports.ROUTING_KEY_OFFER_STANDARD_CREATED = exports.ROUTING_KEY_OFFER_RECONTRACT_DELETED = exports.ROUTING_KEY_OFFER_RECONTRACT_UPDATED = exports.ROUTING_KEY_OFFER_RECONTRACT_CREATED = exports.ROUTING_KEY_OFFER_DEFAULT_DELETED = exports.ROUTING_KEY_OFFER_DEFAULT_UPDATED = exports.ROUTING_KEY_OFFER_DEFAULT_CREATED = exports.ROUTING_KEY_OFFER_DELETED = exports.ROUTING_KEY_OFFER_UPDATED = exports.ROUTING_KEY_OFFER_CREATED = exports.Offer = exports.OfferPropertyKeys = exports.OfferChannel = exports.OfferContractType = exports.OfferCustomerType = exports.OfferEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for Offer records
@@ -149,10 +149,6 @@ exports.ROUTING_KEY_OFFER_STANDARD_CREATED = 'ProductModule.Offer.STANDARD.SubDb
149
149
  exports.ROUTING_KEY_OFFER_STANDARD_UPDATED = 'ProductModule.Offer.STANDARD.SubDbRecordUpdated';
150
150
  /** STANDARD deleted */
151
151
  exports.ROUTING_KEY_OFFER_STANDARD_DELETED = 'ProductModule.Offer.STANDARD.SubDbRecordDeleted';
152
- /** Event: Lead__Offer link created */
153
- exports.ROUTING_KEY_LINK_LEAD_OFFER_CREATED = 'ProductModule.Offer.Offer.SubDbRecordAssociationCreated';
154
- /** Event: Lead__Offer link deleted */
155
- exports.ROUTING_KEY_LINK_LEAD_OFFER_DELETED = 'ProductModule.Offer.Offer.SubDbRecordAssociationDeleted';
156
152
  /** Event: Offer__Discount link created */
157
153
  exports.ROUTING_KEY_LINK_OFFER_DISCOUNT_CREATED = 'ProductModule.Offer.Discount.SubDbRecordAssociationCreated';
158
154
  /** Event: Offer__Discount link deleted */
@@ -161,3 +157,7 @@ exports.ROUTING_KEY_LINK_OFFER_DISCOUNT_DELETED = 'ProductModule.Offer.Discount.
161
157
  exports.ROUTING_KEY_LINK_OFFER_PRODUCT_CREATED = 'ProductModule.Offer.Product.SubDbRecordAssociationCreated';
162
158
  /** Event: Offer__Product link deleted */
163
159
  exports.ROUTING_KEY_LINK_OFFER_PRODUCT_DELETED = 'ProductModule.Offer.Product.SubDbRecordAssociationDeleted';
160
+ /** Event: Offer__Offer link created */
161
+ exports.ROUTING_KEY_LINK_OFFER_OFFER_CREATED = 'ProductModule.Offer.Offer.SubDbRecordAssociationCreated';
162
+ /** Event: Offer__Offer link deleted */
163
+ exports.ROUTING_KEY_LINK_OFFER_OFFER_DELETED = 'ProductModule.Offer.Offer.SubDbRecordAssociationDeleted';
@@ -164,8 +164,6 @@ export declare enum VoiceConfigurationPropertyKeys {
164
164
  VoiceIp = "VoiceIp",
165
165
  /** VoiceServerStatus (Network Operations - VoiceConfiguration) */
166
166
  VoiceServerStatus = "VoiceServerStatus",
167
- /** phone number to port (Network Operations - VoiceConfiguration) */
168
- PhoneNumberToPort = "PhoneNumberToPort",
169
167
  /** SipwiseSubscriberId (Network Operations - VoiceConfiguration) */
170
168
  SipwiseSubscriberId = "SipwiseSubscriberId",
171
169
  /** MagratheaOrderStatus (Network Operations - VoiceConfiguration) */
@@ -174,8 +172,6 @@ export declare enum VoiceConfigurationPropertyKeys {
174
172
  MagratheaOrderLastUpdateTime = "MagratheaOrderLastUpdateTime",
175
173
  /** LastActionDate (Network Operations - VoiceConfiguration) */
176
174
  LastActionDate = "LastActionDate",
177
- /** the phone number provided by us to the customer (Network Operations - VoiceConfiguration) */
178
- IssuedPhoneNumber = "IssuedPhoneNumber",
179
175
  /** PortFromProvider (Network Operations - VoiceConfiguration) */
180
176
  PortFromProvider = "PortFromProvider",
181
177
  /** MagratheaOrderStatusDate (Network Operations - VoiceConfiguration) */
@@ -183,7 +179,11 @@ export declare enum VoiceConfigurationPropertyKeys {
183
179
  /** IssuedPhoneNumberParts (Network Operations - VoiceConfiguration) */
184
180
  IssuedPhoneNumberParts = "IssuedPhoneNumberParts",
185
181
  /** NetworkServiceId (Network Operations - VoiceConfiguration) */
186
- NetworkServiceId = "NetworkServiceId"
182
+ NetworkServiceId = "NetworkServiceId",
183
+ /** phone number to port (Network Operations - VoiceConfiguration) */
184
+ PhoneNumberToPort = "PhoneNumberToPort",
185
+ /** the phone number provided by us to the customer (Network Operations - VoiceConfiguration) */
186
+ IssuedPhoneNumber = "IssuedPhoneNumber"
187
187
  }
188
188
  /**
189
189
  * Properties for VoiceConfiguration records
@@ -284,12 +284,6 @@ export interface VoiceConfigurationProperties {
284
284
  * @type {TEXT}
285
285
  */
286
286
  VoiceServerStatus: string;
287
- /** phone number to port (Network Operations - VoiceConfiguration)
288
- *
289
- * @type {TEXT}
290
- * @pii This field contains personally identifiable information
291
- */
292
- PhoneNumberToPort: string;
293
287
  /** SipwiseSubscriberId (Network Operations - VoiceConfiguration)
294
288
  *
295
289
  * @type {NUMBER}
@@ -312,12 +306,6 @@ export interface VoiceConfigurationProperties {
312
306
  * @hidden This field is hidden in the UI
313
307
  */
314
308
  LastActionDate: string;
315
- /** the phone number provided by us to the customer (Network Operations - VoiceConfiguration)
316
- *
317
- * @type {TEXT}
318
- * @pii This field contains personally identifiable information
319
- */
320
- IssuedPhoneNumber: string;
321
309
  /** PortFromProvider (Network Operations - VoiceConfiguration)
322
310
  *
323
311
  * @type {ENUM}
@@ -341,6 +329,18 @@ export interface VoiceConfigurationProperties {
341
329
  * @type {TEXT}
342
330
  */
343
331
  NetworkServiceId: string;
332
+ /** phone number to port (Network Operations - VoiceConfiguration)
333
+ *
334
+ * @type {PHONE_NUMBER_E164_GB}
335
+ * @pii This field contains personally identifiable information
336
+ */
337
+ PhoneNumberToPort: string;
338
+ /** the phone number provided by us to the customer (Network Operations - VoiceConfiguration)
339
+ *
340
+ * @type {PHONE_NUMBER_E164_GB}
341
+ * @pii This field contains personally identifiable information
342
+ */
343
+ IssuedPhoneNumber: string;
344
344
  }
345
345
  /**
346
346
  * VoiceConfiguration entity from ServiceModule
@@ -169,8 +169,6 @@ var VoiceConfigurationPropertyKeys;
169
169
  VoiceConfigurationPropertyKeys["VoiceIp"] = "VoiceIp";
170
170
  /** VoiceServerStatus (Network Operations - VoiceConfiguration) */
171
171
  VoiceConfigurationPropertyKeys["VoiceServerStatus"] = "VoiceServerStatus";
172
- /** phone number to port (Network Operations - VoiceConfiguration) */
173
- VoiceConfigurationPropertyKeys["PhoneNumberToPort"] = "PhoneNumberToPort";
174
172
  /** SipwiseSubscriberId (Network Operations - VoiceConfiguration) */
175
173
  VoiceConfigurationPropertyKeys["SipwiseSubscriberId"] = "SipwiseSubscriberId";
176
174
  /** MagratheaOrderStatus (Network Operations - VoiceConfiguration) */
@@ -179,8 +177,6 @@ var VoiceConfigurationPropertyKeys;
179
177
  VoiceConfigurationPropertyKeys["MagratheaOrderLastUpdateTime"] = "MagratheaOrderLastUpdateTime";
180
178
  /** LastActionDate (Network Operations - VoiceConfiguration) */
181
179
  VoiceConfigurationPropertyKeys["LastActionDate"] = "LastActionDate";
182
- /** the phone number provided by us to the customer (Network Operations - VoiceConfiguration) */
183
- VoiceConfigurationPropertyKeys["IssuedPhoneNumber"] = "IssuedPhoneNumber";
184
180
  /** PortFromProvider (Network Operations - VoiceConfiguration) */
185
181
  VoiceConfigurationPropertyKeys["PortFromProvider"] = "PortFromProvider";
186
182
  /** MagratheaOrderStatusDate (Network Operations - VoiceConfiguration) */
@@ -189,6 +185,10 @@ var VoiceConfigurationPropertyKeys;
189
185
  VoiceConfigurationPropertyKeys["IssuedPhoneNumberParts"] = "IssuedPhoneNumberParts";
190
186
  /** NetworkServiceId (Network Operations - VoiceConfiguration) */
191
187
  VoiceConfigurationPropertyKeys["NetworkServiceId"] = "NetworkServiceId";
188
+ /** phone number to port (Network Operations - VoiceConfiguration) */
189
+ VoiceConfigurationPropertyKeys["PhoneNumberToPort"] = "PhoneNumberToPort";
190
+ /** the phone number provided by us to the customer (Network Operations - VoiceConfiguration) */
191
+ VoiceConfigurationPropertyKeys["IssuedPhoneNumber"] = "IssuedPhoneNumber";
192
192
  })(VoiceConfigurationPropertyKeys = exports.VoiceConfigurationPropertyKeys || (exports.VoiceConfigurationPropertyKeys = {}));
193
193
  /**
194
194
  * VoiceConfiguration entity from ServiceModule
@@ -2305,11 +2305,13 @@ export declare class CaseRecord<TProps = CaseProperties> {
2305
2305
  /**
2306
2306
  * CloseAndMergeCaseAction
2307
2307
  *
2308
- * Updates this Case record.
2308
+ * Updates this Case record with the specified properties.
2309
2309
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
2310
2310
  *
2311
- * @param propertiesOrOptions - Properties to update, or options object
2312
- * @param options - Optional settings (journeyId, stageKey)
2311
+ * @param properties - Required properties for this action
2312
+ * @param options - Optional settings
2313
+ * @param options.journeyId - Associate with a journey
2314
+ * @param options.stageKey - Transition to pipeline stage
2313
2315
  * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
2314
2316
  * @throws Error if called on a new (unsaved) record
2315
2317
  *
@@ -2322,10 +2324,7 @@ export declare class CaseRecord<TProps = CaseProperties> {
2322
2324
  * const payload = record.closeAndMergeCaseAction({ ... }).dryRun();
2323
2325
  * ```
2324
2326
  */
2325
- closeAndMergeCaseAction(propertiesOrOptions?: CloseAndMergeCaseActionProperties | {
2326
- journeyId?: string;
2327
- stageKey?: string;
2328
- }, options?: {
2327
+ closeAndMergeCaseAction(properties: CloseAndMergeCaseActionProperties, options?: {
2329
2328
  journeyId?: string;
2330
2329
  stageKey?: string;
2331
2330
  }): ActionBuilder;
@@ -3540,11 +3540,13 @@ class CaseRecord {
3540
3540
  /**
3541
3541
  * CloseAndMergeCaseAction
3542
3542
  *
3543
- * Updates this Case record.
3543
+ * Updates this Case record with the specified properties.
3544
3544
  * Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
3545
3545
  *
3546
- * @param propertiesOrOptions - Properties to update, or options object
3547
- * @param options - Optional settings (journeyId, stageKey)
3546
+ * @param properties - Required properties for this action
3547
+ * @param options - Optional settings
3548
+ * @param options.journeyId - Associate with a journey
3549
+ * @param options.stageKey - Transition to pipeline stage
3548
3550
  * @returns ActionBuilder - call .execute() to update or .dryRun() for payload
3549
3551
  * @throws Error if called on a new (unsaved) record
3550
3552
  *
@@ -3557,21 +3559,11 @@ class CaseRecord {
3557
3559
  * const payload = record.closeAndMergeCaseAction({ ... }).dryRun();
3558
3560
  * ```
3559
3561
  */
3560
- closeAndMergeCaseAction(propertiesOrOptions, options) {
3562
+ closeAndMergeCaseAction(properties, options) {
3561
3563
  var _a;
3562
3564
  if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
3563
3565
  throw new Error('closeAndMergeCaseAction requires an existing record. Use accessor.get() first.');
3564
- let properties = {};
3565
- let opts = options;
3566
- if (propertiesOrOptions) {
3567
- if ('journeyId' in propertiesOrOptions || 'stageKey' in propertiesOrOptions) {
3568
- opts = propertiesOrOptions;
3569
- }
3570
- else {
3571
- properties = propertiesOrOptions;
3572
- }
3573
- }
3574
- const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'CloseAndMergeCaseAction', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, opts);
3566
+ const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'CloseAndMergeCaseAction', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
3575
3567
  return new ActionBuilder(this._provider, 'SupportModule', 'Case', payload, () => { this._pendingLinks = []; });
3576
3568
  }
3577
3569
  /**
@@ -25,6 +25,7 @@ import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-man
25
25
  import { ChurnRequestProperties } from '../entities-v2/ChurnRequest';
26
26
  import { CreateChurnRequestProperties } from '../actions-v2/CancelActiveOrderDto';
27
27
  import { CompleteChurnRequestProperties } from '../actions-v2/CompleteChurnRequestDto';
28
+ import { CreateChurnRequestTempProperties } from '../actions-v2/CreateChurnRequestTempDto';
28
29
  import { DefaultUpdateChurnRequestProperties } from '../actions-v2/DefaultUpdateChurnRequestDto';
29
30
  import { NoteRecord } from './NoteRecord';
30
31
  import { OrderRecord } from './OrderRecord';
@@ -283,6 +284,34 @@ export declare class ChurnRequestRecord<TProps = ChurnRequestProperties> {
283
284
  journeyId?: string;
284
285
  stageKey?: string;
285
286
  }): ActionBuilder;
287
+ /**
288
+ * CreateChurnRequestTemp
289
+ *
290
+ * Creates a new ChurnRequest record with the specified properties.
291
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
292
+ *
293
+ * @remarks Record type: DEFAULT
294
+ *
295
+ * @param properties - The properties for the new record
296
+ * @param options - Optional settings
297
+ * @param options.journeyId - Associate with a journey
298
+ * @param options.stageKey - Set initial pipeline stage
299
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
300
+ *
301
+ * @example
302
+ * ```typescript
303
+ * // Create with properties
304
+ * const record = odinClient.churnRequests.new();
305
+ * await record.createChurnRequestTemp({ ... }).execute();
306
+ *
307
+ * // Dry run (for debugging)
308
+ * const payload = record.createChurnRequestTemp({ ... }).dryRun();
309
+ * ```
310
+ */
311
+ createChurnRequestTemp(properties: CreateChurnRequestTempProperties, options?: {
312
+ journeyId?: string;
313
+ stageKey?: string;
314
+ }): ActionBuilder;
286
315
  /**
287
316
  * CompleteChurnRequest
288
317
  *
@@ -405,6 +405,42 @@ class ChurnRequestRecord {
405
405
  };
406
406
  return new ActionBuilder(this._provider, 'OrderModule', 'ChurnRequest', payload, () => { this._pendingLinks = []; });
407
407
  }
408
+ /**
409
+ * CreateChurnRequestTemp
410
+ *
411
+ * Creates a new ChurnRequest record with the specified properties.
412
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
413
+ *
414
+ * @remarks Record type: DEFAULT
415
+ *
416
+ * @param properties - The properties for the new record
417
+ * @param options - Optional settings
418
+ * @param options.journeyId - Associate with a journey
419
+ * @param options.stageKey - Set initial pipeline stage
420
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
421
+ *
422
+ * @example
423
+ * ```typescript
424
+ * // Create with properties
425
+ * const record = odinClient.churnRequests.new();
426
+ * await record.createChurnRequestTemp({ ... }).execute();
427
+ *
428
+ * // Dry run (for debugging)
429
+ * const payload = record.createChurnRequestTemp({ ... }).dryRun();
430
+ * ```
431
+ */
432
+ createChurnRequestTemp(properties, options) {
433
+ const payload = {
434
+ entity: 'OrderModule:ChurnRequest',
435
+ type: 'DEFAULT',
436
+ actionName: 'CreateChurnRequestTemp',
437
+ properties: properties || {},
438
+ associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
439
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
440
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
441
+ };
442
+ return new ActionBuilder(this._provider, 'OrderModule', 'ChurnRequest', payload, () => { this._pendingLinks = []; });
443
+ }
408
444
  // ============================================
409
445
  // UPDATE ACTIONS (require existing record)
410
446
  // ============================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.158",
3
+ "version": "2.0.159",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",