@d19n/youfibre-odin-sdk 2.0.25 → 2.0.27

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.
@@ -22,10 +22,18 @@ export interface CompleteChurnRequestMessage extends OdinRecordUpdatedEvent<Comp
22
22
  /**
23
23
  * Properties for CompleteChurnRequest action
24
24
  *
25
- * @property Required fields: 1
25
+ * @property Required fields: 2
26
26
  * @property Optional fields: 1
27
27
  */
28
28
  export interface CompleteChurnRequestProperties {
29
+ /**
30
+ * Gaining Provider
31
+ *
32
+ * Gaining Provider
33
+ * @type {ENUM}
34
+ * @required
35
+ */
36
+ GainingProvider: string;
29
37
  /**
30
38
  * outcome
31
39
  *
@@ -15,10 +15,18 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
15
15
  /**
16
16
  * Properties for CompleteChurnRequest action
17
17
  *
18
- * @property Required fields: 1
18
+ * @property Required fields: 2
19
19
  * @property Optional fields: 1
20
20
  */
21
21
  export interface CompleteChurnRequestProperties {
22
+ /**
23
+ * Gaining Provider
24
+ *
25
+ * Gaining Provider
26
+ * @type {ENUM}
27
+ * @required
28
+ */
29
+ GainingProvider: string;
22
30
  /**
23
31
  * outcome
24
32
  *
@@ -73,13 +73,6 @@ export interface CreateMessageProperties {
73
73
  * @type {TEXT}
74
74
  */
75
75
  Status?: string | null;
76
- /**
77
- * MessageType
78
- *
79
- * The type of the message
80
- * @type {ENUM}
81
- */
82
- MessageType?: string | null;
83
76
  /**
84
77
  * ExternalId
85
78
  *
@@ -22,7 +22,7 @@ export interface DefaultUpdateChurnRequestMessage extends OdinRecordUpdatedEvent
22
22
  * Properties for DefaultUpdateChurnRequest action
23
23
  *
24
24
  * @property Required fields: 1
25
- * @property Optional fields: 2
25
+ * @property Optional fields: 3
26
26
  */
27
27
  export interface DefaultUpdateChurnRequestProperties {
28
28
  /**
@@ -33,6 +33,13 @@ export interface DefaultUpdateChurnRequestProperties {
33
33
  * @required
34
34
  */
35
35
  Reason: string;
36
+ /**
37
+ * Gaining Provider
38
+ *
39
+ * Gaining Provider
40
+ * @type {ENUM}
41
+ */
42
+ GainingProvider?: string | null;
36
43
  /**
37
44
  * Outcome
38
45
  *
@@ -23,7 +23,6 @@ export declare class CrmDatasetApi extends ApiProvider {
23
23
  private _salesterritory?;
24
24
  private _team?;
25
25
  private _address?;
26
- private _exchange?;
27
26
  constructor(authParams?: OauthParams, authToken?: string);
28
27
  get user(): ApiRecordLinkManager;
29
28
  get note(): ApiRecordLinkManager;
@@ -31,7 +30,6 @@ export declare class CrmDatasetApi extends ApiProvider {
31
30
  get salesterritory(): ApiRecordLinkManager;
32
31
  get team(): ApiRecordLinkManager;
33
32
  get address(): ApiRecordLinkManager;
34
- get exchange(): ApiRecordLinkManager;
35
33
  setRecord(sourceRecord: any): void;
36
34
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
37
35
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<CrmDatasetProperties>>>;
@@ -69,12 +69,6 @@ class CrmDatasetApi extends api_provider_1.ApiProvider {
69
69
  }
70
70
  return this._address;
71
71
  }
72
- get exchange() {
73
- if (!this._exchange) {
74
- this._exchange = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'CrmModule:CrmDataset', 'ProjectModule:Exchange', 'Exchange__CrmDataset');
75
- }
76
- return this._exchange;
77
- }
78
72
  // ============================================
79
73
  // STANDARD METHODS (Unchanged API)
80
74
  // ============================================
@@ -19,11 +19,9 @@ export declare class ExchangeApi extends ApiProvider {
19
19
  private sourceRecord;
20
20
  private _salesterritory?;
21
21
  private _region?;
22
- private _crmdataset?;
23
22
  constructor(authParams?: OauthParams, authToken?: string);
24
23
  get salesterritory(): ApiRecordLinkManager;
25
24
  get region(): ApiRecordLinkManager;
26
- get crmdataset(): ApiRecordLinkManager;
27
25
  setRecord(sourceRecord: any): void;
28
26
  schema(): Promise<import("@d19n/odin-types/dist/core").OdinSchema>;
29
27
  search(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/odin-sdk-types").OdinSearchResponse<import("@d19n/odin-types/dist/core").OdinRecord<ExchangeProperties>>>;
@@ -45,12 +45,6 @@ class ExchangeApi extends api_provider_1.ApiProvider {
45
45
  }
46
46
  return this._region;
47
47
  }
48
- get crmdataset() {
49
- if (!this._crmdataset) {
50
- this._crmdataset = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'ProjectModule:Exchange', 'CrmModule:CrmDataset', 'Exchange__CrmDataset');
51
- }
52
- return this._crmdataset;
53
- }
54
48
  // ============================================
55
49
  // STANDARD METHODS (Unchanged API)
56
50
  // ============================================
@@ -27,7 +27,6 @@ export declare class CrmDatasetDb extends DbProvider {
27
27
  private _salesterritory?;
28
28
  private _team?;
29
29
  private _address?;
30
- private _exchange?;
31
30
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
32
31
  get user(): DbRecordLinkManager;
33
32
  get note(): DbRecordLinkManager;
@@ -35,7 +34,6 @@ export declare class CrmDatasetDb extends DbProvider {
35
34
  get salesterritory(): DbRecordLinkManager;
36
35
  get team(): DbRecordLinkManager;
37
36
  get address(): DbRecordLinkManager;
38
- get exchange(): DbRecordLinkManager;
39
37
  setRecord(sourceRecord: any): void;
40
38
  /**
41
39
  * Search records with manual pagination control
@@ -74,12 +74,6 @@ class CrmDatasetDb extends db_provider_1.DbProvider {
74
74
  }
75
75
  return this._address;
76
76
  }
77
- get exchange() {
78
- if (!this._exchange) {
79
- this._exchange = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:CrmDataset', 'ProjectModule:Exchange', 'Exchange__CrmDataset');
80
- }
81
- return this._exchange;
82
- }
83
77
  // ============================================
84
78
  // STANDARD METHODS
85
79
  // ============================================
@@ -23,11 +23,9 @@ export declare class ExchangeDb extends DbProvider {
23
23
  private sourceRecord;
24
24
  private _salesterritory?;
25
25
  private _region?;
26
- private _crmdataset?;
27
26
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
28
27
  get salesterritory(): DbRecordLinkManager;
29
28
  get region(): DbRecordLinkManager;
30
- get crmdataset(): DbRecordLinkManager;
31
29
  setRecord(sourceRecord: any): void;
32
30
  /**
33
31
  * Search records with manual pagination control
@@ -50,12 +50,6 @@ class ExchangeDb extends db_provider_1.DbProvider {
50
50
  }
51
51
  return this._region;
52
52
  }
53
- get crmdataset() {
54
- if (!this._crmdataset) {
55
- this._crmdataset = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'ProjectModule:Exchange', 'CrmModule:CrmDataset', 'Exchange__CrmDataset');
56
- }
57
- return this._crmdataset;
58
- }
59
53
  // ============================================
60
54
  // STANDARD METHODS
61
55
  // ============================================
@@ -81,11 +81,11 @@ export declare enum AccountCreditSource {
81
81
  * Reason
82
82
  *
83
83
  * @remarks Available options:
84
- * - `FOURTEEN_DAY_TERMINATION_CREDIT` - 14-Day Termination Credit
85
84
  * - `BAD_DEBT_CREDIT` - Bad Debt Credit
86
85
  * - `BILLING_DAY_CHANGE_CREDIT` - Billing Day Change Credit
87
86
  * - `COMPLAINTS_CREDIT` - Complaints Credit
88
87
  * - `DOWNTIME_CREDIT` - Downtime Credit
88
+ * - `FOURTEEN_DAY_TERMINATION_CREDIT` - Fourteen Day Termination Credit
89
89
  * - `IN_CONTRACT_BUYOUT` - In Contract Buyout
90
90
  * - `INCORRECTLY_BILLED` - Incorrectly Billed
91
91
  * - `MANUAL_CREDIT` - Manual Credit
@@ -103,6 +103,7 @@ export declare enum AccountCreditReason {
103
103
  BILLING_DAY_CHANGE_CREDIT = "BILLING_DAY_CHANGE_CREDIT",
104
104
  COMPLAINTS_CREDIT = "COMPLAINTS_CREDIT",
105
105
  DOWNTIME_CREDIT = "DOWNTIME_CREDIT",
106
+ FOURTEEN_DAY_TERMINATION_CREDIT = "FOURTEEN_DAY_TERMINATION_CREDIT",
106
107
  IN_CONTRACT_BUYOUT = "IN_CONTRACT_BUYOUT",
107
108
  INCORRECTLY_BILLED = "INCORRECTLY_BILLED",
108
109
  MANUAL_CREDIT = "MANUAL_CREDIT",
@@ -85,11 +85,11 @@ var AccountCreditSource;
85
85
  * Reason
86
86
  *
87
87
  * @remarks Available options:
88
- * - `FOURTEEN_DAY_TERMINATION_CREDIT` - 14-Day Termination Credit
89
88
  * - `BAD_DEBT_CREDIT` - Bad Debt Credit
90
89
  * - `BILLING_DAY_CHANGE_CREDIT` - Billing Day Change Credit
91
90
  * - `COMPLAINTS_CREDIT` - Complaints Credit
92
91
  * - `DOWNTIME_CREDIT` - Downtime Credit
92
+ * - `FOURTEEN_DAY_TERMINATION_CREDIT` - Fourteen Day Termination Credit
93
93
  * - `IN_CONTRACT_BUYOUT` - In Contract Buyout
94
94
  * - `INCORRECTLY_BILLED` - Incorrectly Billed
95
95
  * - `MANUAL_CREDIT` - Manual Credit
@@ -108,6 +108,7 @@ var AccountCreditReason;
108
108
  AccountCreditReason["BILLING_DAY_CHANGE_CREDIT"] = "BILLING_DAY_CHANGE_CREDIT";
109
109
  AccountCreditReason["COMPLAINTS_CREDIT"] = "COMPLAINTS_CREDIT";
110
110
  AccountCreditReason["DOWNTIME_CREDIT"] = "DOWNTIME_CREDIT";
111
+ AccountCreditReason["FOURTEEN_DAY_TERMINATION_CREDIT"] = "FOURTEEN_DAY_TERMINATION_CREDIT";
111
112
  AccountCreditReason["IN_CONTRACT_BUYOUT"] = "IN_CONTRACT_BUYOUT";
112
113
  AccountCreditReason["INCORRECTLY_BILLED"] = "INCORRECTLY_BILLED";
113
114
  AccountCreditReason["MANUAL_CREDIT"] = "MANUAL_CREDIT";
@@ -32,8 +32,12 @@ export declare enum BngProvisionPropertyKeys {
32
32
  RadiusUsername = "RadiusUsername",
33
33
  /** Idempotency Key */
34
34
  IdempotencyKey = "IdempotencyKey",
35
+ /** List of DNS Servers */
36
+ DnsServer = "DNSServer",
35
37
  /** IPv6 Delegated Prefix */
36
38
  IPv6DelegatedPrefix = "IPv6DelegatedPrefix",
39
+ /** Default Gateway */
40
+ DefaultGateway = "DefaultGateway",
37
41
  /** IPv6 NDRA Prefix */
38
42
  IPv6NdraPrefix = "IPv6NDRAPrefix",
39
43
  /** Radius Package Name */
@@ -67,11 +71,21 @@ export interface BngProvisionProperties {
67
71
  * @type {TEXT}
68
72
  */
69
73
  IdempotencyKey: string;
74
+ /** List of DNS Servers
75
+ *
76
+ * @type {TEXT}
77
+ */
78
+ DnsServer: string;
70
79
  /** IPv6 Delegated Prefix
71
80
  *
72
81
  * @type {TEXT}
73
82
  */
74
83
  IPv6DelegatedPrefix: string;
84
+ /** Default Gateway
85
+ *
86
+ * @type {TEXT}
87
+ */
88
+ DefaultGateway: string;
75
89
  /** IPv6 NDRA Prefix
76
90
  *
77
91
  * @type {TEXT}
@@ -36,8 +36,12 @@ var BngProvisionPropertyKeys;
36
36
  BngProvisionPropertyKeys["RadiusUsername"] = "RadiusUsername";
37
37
  /** Idempotency Key */
38
38
  BngProvisionPropertyKeys["IdempotencyKey"] = "IdempotencyKey";
39
+ /** List of DNS Servers */
40
+ BngProvisionPropertyKeys["DnsServer"] = "DNSServer";
39
41
  /** IPv6 Delegated Prefix */
40
42
  BngProvisionPropertyKeys["IPv6DelegatedPrefix"] = "IPv6DelegatedPrefix";
43
+ /** Default Gateway */
44
+ BngProvisionPropertyKeys["DefaultGateway"] = "DefaultGateway";
41
45
  /** IPv6 NDRA Prefix */
42
46
  BngProvisionPropertyKeys["IPv6NdraPrefix"] = "IPv6NDRAPrefix";
43
47
  /** Radius Package Name */
@@ -93,6 +93,33 @@ export declare enum ChurnRequestReason {
93
93
  TECHNICAL_ISSUE_YOU_FIBRE = "TECHNICAL_ISSUE_YOUFIBRE",
94
94
  TRANSFER_OF_OWNERSHIP = "TRANSFER_OF_OWNERSHIP"
95
95
  }
96
+ /**
97
+ * Valid values for ChurnRequest.GainingProvider
98
+ *
99
+ * Gaining Provider
100
+ *
101
+ * @remarks Available options:
102
+ * - `BT`
103
+ * - `EE`
104
+ * - `PLUSNET` - Plusnet
105
+ * - `SKY` - Sky
106
+ * - `TALKTALK` - TalkTalk
107
+ * - `THREE` - Three
108
+ * - `UNABLE_TO_CAPTURE` - Unable to Capture
109
+ * - `VIRGIN` - Virgin
110
+ * - `VODAFONE` - Vodafone
111
+ */
112
+ export declare enum ChurnRequestGainingProvider {
113
+ BT = "BT",
114
+ EE = "EE",
115
+ PLUSNET = "PLUSNET",
116
+ SKY = "SKY",
117
+ TALK_TALK = "TALKTALK",
118
+ THREE = "THREE",
119
+ UNABLE_TO_CAPTURE = "UNABLE_TO_CAPTURE",
120
+ VIRGIN = "VIRGIN",
121
+ VODAFONE = "VODAFONE"
122
+ }
96
123
  /**
97
124
  * Property keys for ChurnRequest
98
125
  * Use these constants instead of string literals for type safety
@@ -109,7 +136,9 @@ export declare enum ChurnRequestPropertyKeys {
109
136
  /** The reason the customer wants to cancel (Sales - ChurnRequest) */
110
137
  Reason = "Reason",
111
138
  /** Contact information field for ChurnRequest. Used by Sales team for communication. */
112
- Address = "Address"
139
+ Address = "Address",
140
+ /** Gaining Provider */
141
+ GainingProvider = "GainingProvider"
113
142
  }
114
143
  /**
115
144
  * Properties for ChurnRequest records
@@ -152,6 +181,12 @@ export interface ChurnRequestProperties {
152
181
  * @type {TEXT}
153
182
  */
154
183
  Address: string;
184
+ /** Gaining Provider
185
+ *
186
+ * @type {ENUM}
187
+ * @enum {ChurnRequestGainingProvider}
188
+ */
189
+ GainingProvider: ChurnRequestGainingProvider;
155
190
  }
156
191
  /**
157
192
  * ChurnRequest entity from OrderModule
@@ -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_CHURN_REQUEST_ORDER_DELETED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_ORDER_CREATED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_NOTE_DELETED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_NOTE_CREATED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_CHURN_REQUEST_DELETED = exports.ROUTING_KEY_CHURN_REQUEST_UPDATED = exports.ROUTING_KEY_CHURN_REQUEST_CREATED = exports.ChurnRequest = exports.ChurnRequestPropertyKeys = exports.ChurnRequestReason = exports.ChurnRequestOutcome = exports.DefaultChurnRequestStageKeys = exports.DefaultChurnRequestStageNames = exports.ChurnRequestEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_CHURN_REQUEST_ORDER_DELETED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_ORDER_CREATED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_NOTE_DELETED = exports.ROUTING_KEY_LINK_CHURN_REQUEST_NOTE_CREATED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_CHURN_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_CHURN_REQUEST_DELETED = exports.ROUTING_KEY_CHURN_REQUEST_UPDATED = exports.ROUTING_KEY_CHURN_REQUEST_CREATED = exports.ChurnRequest = exports.ChurnRequestPropertyKeys = exports.ChurnRequestGainingProvider = exports.ChurnRequestReason = exports.ChurnRequestOutcome = exports.DefaultChurnRequestStageKeys = exports.DefaultChurnRequestStageNames = exports.ChurnRequestEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for ChurnRequest records
@@ -99,6 +99,34 @@ var ChurnRequestReason;
99
99
  ChurnRequestReason["TECHNICAL_ISSUE_YOU_FIBRE"] = "TECHNICAL_ISSUE_YOUFIBRE";
100
100
  ChurnRequestReason["TRANSFER_OF_OWNERSHIP"] = "TRANSFER_OF_OWNERSHIP";
101
101
  })(ChurnRequestReason = exports.ChurnRequestReason || (exports.ChurnRequestReason = {}));
102
+ /**
103
+ * Valid values for ChurnRequest.GainingProvider
104
+ *
105
+ * Gaining Provider
106
+ *
107
+ * @remarks Available options:
108
+ * - `BT`
109
+ * - `EE`
110
+ * - `PLUSNET` - Plusnet
111
+ * - `SKY` - Sky
112
+ * - `TALKTALK` - TalkTalk
113
+ * - `THREE` - Three
114
+ * - `UNABLE_TO_CAPTURE` - Unable to Capture
115
+ * - `VIRGIN` - Virgin
116
+ * - `VODAFONE` - Vodafone
117
+ */
118
+ var ChurnRequestGainingProvider;
119
+ (function (ChurnRequestGainingProvider) {
120
+ ChurnRequestGainingProvider["BT"] = "BT";
121
+ ChurnRequestGainingProvider["EE"] = "EE";
122
+ ChurnRequestGainingProvider["PLUSNET"] = "PLUSNET";
123
+ ChurnRequestGainingProvider["SKY"] = "SKY";
124
+ ChurnRequestGainingProvider["TALK_TALK"] = "TALKTALK";
125
+ ChurnRequestGainingProvider["THREE"] = "THREE";
126
+ ChurnRequestGainingProvider["UNABLE_TO_CAPTURE"] = "UNABLE_TO_CAPTURE";
127
+ ChurnRequestGainingProvider["VIRGIN"] = "VIRGIN";
128
+ ChurnRequestGainingProvider["VODAFONE"] = "VODAFONE";
129
+ })(ChurnRequestGainingProvider = exports.ChurnRequestGainingProvider || (exports.ChurnRequestGainingProvider = {}));
102
130
  /**
103
131
  * Property keys for ChurnRequest
104
132
  * Use these constants instead of string literals for type safety
@@ -117,6 +145,8 @@ var ChurnRequestPropertyKeys;
117
145
  ChurnRequestPropertyKeys["Reason"] = "Reason";
118
146
  /** Contact information field for ChurnRequest. Used by Sales team for communication. */
119
147
  ChurnRequestPropertyKeys["Address"] = "Address";
148
+ /** Gaining Provider */
149
+ ChurnRequestPropertyKeys["GainingProvider"] = "GainingProvider";
120
150
  })(ChurnRequestPropertyKeys = exports.ChurnRequestPropertyKeys || (exports.ChurnRequestPropertyKeys = {}));
121
151
  /**
122
152
  * ChurnRequest entity from OrderModule
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
23
23
  * Use these constants instead of string literals for type safety
24
24
  */
25
25
  export declare enum ConfigPropertyKeys {
26
- /** the name of the app this config relates to (Platform - Config) */
27
- AppName = "AppName",
26
+ /** Data field for Config records. Used by Platform team. */
27
+ Test = "Test",
28
28
  /** object of { key: value } mappings (Platform - Config) */
29
29
  Mappings = "Mappings",
30
- /** Data field for Config records. Used by Platform team. */
31
- Test = "Test"
30
+ /** the name of the app this config relates to (Platform - Config) */
31
+ AppName = "AppName"
32
32
  }
33
33
  /**
34
34
  * Properties for Config records
@@ -36,21 +36,21 @@ export declare enum ConfigPropertyKeys {
36
36
  * @see SchemaModule:Config
37
37
  */
38
38
  export interface ConfigProperties {
39
- /** the name of the app this config relates to (Platform - Config)
39
+ /** Data field for Config records. Used by Platform team.
40
40
  *
41
41
  * @type {TEXT}
42
42
  */
43
- AppName: string;
43
+ Test: string;
44
44
  /** object of { key: value } mappings (Platform - Config)
45
45
  *
46
46
  * @type {JSON}
47
47
  */
48
48
  Mappings: string;
49
- /** Data field for Config records. Used by Platform team.
49
+ /** the name of the app this config relates to (Platform - Config)
50
50
  *
51
51
  * @type {TEXT}
52
52
  */
53
- Test: string;
53
+ AppName: string;
54
54
  }
55
55
  /**
56
56
  * Config entity from SchemaModule
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
28
28
  */
29
29
  var ConfigPropertyKeys;
30
30
  (function (ConfigPropertyKeys) {
31
- /** the name of the app this config relates to (Platform - Config) */
32
- ConfigPropertyKeys["AppName"] = "AppName";
33
- /** object of { key: value } mappings (Platform - Config) */
34
- ConfigPropertyKeys["Mappings"] = "Mappings";
35
31
  /** Data field for Config records. Used by Platform team. */
36
32
  ConfigPropertyKeys["Test"] = "Test";
33
+ /** object of { key: value } mappings (Platform - Config) */
34
+ ConfigPropertyKeys["Mappings"] = "Mappings";
35
+ /** the name of the app this config relates to (Platform - Config) */
36
+ ConfigPropertyKeys["AppName"] = "AppName";
37
37
  })(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
38
38
  /**
39
39
  * Config entity from SchemaModule
@@ -17,7 +17,6 @@ import { LeadProperties } from './Lead';
17
17
  import { SalesTerritoryProperties } from './SalesTerritory';
18
18
  import { TeamProperties } from './Team';
19
19
  import { AddressProperties } from './Address';
20
- import { ExchangeProperties } from './Exchange';
21
20
  /**
22
21
  * Available types for CrmDataset records
23
22
  */
@@ -432,8 +431,6 @@ export declare class CrmDataset extends OdinRecord<CrmDatasetProperties> {
432
431
  Team: OdinLink<LinkedOdinRecord<TeamProperties>>;
433
432
  /** Linked Address records (CrmDataset__Address) */
434
433
  Address: OdinLink<LinkedOdinRecord<AddressProperties>>;
435
- /** Linked Exchange records (Exchange__CrmDataset) */
436
- Exchange: OdinLink<LinkedOdinRecord<ExchangeProperties>>;
437
434
  }
438
435
  /**
439
436
  * RabbitMQ routing keys for CrmDataset events
@@ -13,7 +13,6 @@
13
13
  import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
14
14
  import { SalesTerritoryProperties } from './SalesTerritory';
15
15
  import { RegionProperties } from './Region';
16
- import { CrmDatasetProperties } from './CrmDataset';
17
16
  /**
18
17
  * Available types for Exchange records
19
18
  */
@@ -74,8 +73,6 @@ export declare class Exchange extends OdinRecord<ExchangeProperties> {
74
73
  SalesTerritory: OdinLink<LinkedOdinRecord<SalesTerritoryProperties>>;
75
74
  /** Linked Region records (Region__Exchange) */
76
75
  Region: OdinLink<LinkedOdinRecord<RegionProperties>>;
77
- /** Linked CrmDataset records (Exchange__CrmDataset) */
78
- CrmDataset: OdinLink<LinkedOdinRecord<CrmDatasetProperties>>;
79
76
  }
80
77
  /**
81
78
  * RabbitMQ routing keys for Exchange events
@@ -97,7 +94,3 @@ export declare const ROUTING_KEY_EXCHANGE_DEFAULT_DELETED = "ProjectModule.Excha
97
94
  export declare const ROUTING_KEY_LINK_EXCHANGE_SALES_TERRITORY_CREATED = "ProjectModule.Exchange.SalesTerritory.SubDbRecordAssociationCreated";
98
95
  /** Event: Exchange__SalesTerritory link deleted */
99
96
  export declare const ROUTING_KEY_LINK_EXCHANGE_SALES_TERRITORY_DELETED = "ProjectModule.Exchange.SalesTerritory.SubDbRecordAssociationDeleted";
100
- /** Event: Exchange__CrmDataset link created */
101
- export declare const ROUTING_KEY_LINK_EXCHANGE_CRM_DATASET_CREATED = "ProjectModule.Exchange.CrmDataset.SubDbRecordAssociationCreated";
102
- /** Event: Exchange__CrmDataset link deleted */
103
- export declare const ROUTING_KEY_LINK_EXCHANGE_CRM_DATASET_DELETED = "ProjectModule.Exchange.CrmDataset.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_EXCHANGE_CRM_DATASET_DELETED = exports.ROUTING_KEY_LINK_EXCHANGE_CRM_DATASET_CREATED = exports.ROUTING_KEY_LINK_EXCHANGE_SALES_TERRITORY_DELETED = exports.ROUTING_KEY_LINK_EXCHANGE_SALES_TERRITORY_CREATED = exports.ROUTING_KEY_EXCHANGE_DEFAULT_DELETED = exports.ROUTING_KEY_EXCHANGE_DEFAULT_UPDATED = exports.ROUTING_KEY_EXCHANGE_DEFAULT_CREATED = exports.ROUTING_KEY_EXCHANGE_DELETED = exports.ROUTING_KEY_EXCHANGE_UPDATED = exports.ROUTING_KEY_EXCHANGE_CREATED = exports.Exchange = exports.ExchangePropertyKeys = exports.ExchangeEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_EXCHANGE_SALES_TERRITORY_DELETED = exports.ROUTING_KEY_LINK_EXCHANGE_SALES_TERRITORY_CREATED = exports.ROUTING_KEY_EXCHANGE_DEFAULT_DELETED = exports.ROUTING_KEY_EXCHANGE_DEFAULT_UPDATED = exports.ROUTING_KEY_EXCHANGE_DEFAULT_CREATED = exports.ROUTING_KEY_EXCHANGE_DELETED = exports.ROUTING_KEY_EXCHANGE_UPDATED = exports.ROUTING_KEY_EXCHANGE_CREATED = exports.Exchange = exports.ExchangePropertyKeys = exports.ExchangeEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for Exchange records
@@ -71,7 +71,3 @@ exports.ROUTING_KEY_EXCHANGE_DEFAULT_DELETED = 'ProjectModule.Exchange.DEFAULT.S
71
71
  exports.ROUTING_KEY_LINK_EXCHANGE_SALES_TERRITORY_CREATED = 'ProjectModule.Exchange.SalesTerritory.SubDbRecordAssociationCreated';
72
72
  /** Event: Exchange__SalesTerritory link deleted */
73
73
  exports.ROUTING_KEY_LINK_EXCHANGE_SALES_TERRITORY_DELETED = 'ProjectModule.Exchange.SalesTerritory.SubDbRecordAssociationDeleted';
74
- /** Event: Exchange__CrmDataset link created */
75
- exports.ROUTING_KEY_LINK_EXCHANGE_CRM_DATASET_CREATED = 'ProjectModule.Exchange.CrmDataset.SubDbRecordAssociationCreated';
76
- /** Event: Exchange__CrmDataset link deleted */
77
- exports.ROUTING_KEY_LINK_EXCHANGE_CRM_DATASET_DELETED = 'ProjectModule.Exchange.CrmDataset.SubDbRecordAssociationDeleted';
@@ -307,7 +307,9 @@ export declare enum InvoicePropertyKeys {
307
307
  /** the date the order is delivered (Finance - Invoice) */
308
308
  DeliveryDate = "DeliveryDate",
309
309
  /** length for the items discount duration (Finance - Invoice) */
310
- DiscountLength = "DiscountLength"
310
+ DiscountLength = "DiscountLength",
311
+ /** ExternalReference */
312
+ ExternalReference = "ExternalReference"
311
313
  }
312
314
  /**
313
315
  * Properties for Invoice records
@@ -619,6 +621,11 @@ export interface InvoiceProperties {
619
621
  * @hidden This field is hidden in the UI
620
622
  */
621
623
  DiscountLength: number;
624
+ /** ExternalReference
625
+ *
626
+ * @type {TEXT}
627
+ */
628
+ ExternalReference: string;
622
629
  }
623
630
  /**
624
631
  * Properties for ETF Invoice records
@@ -930,6 +937,11 @@ export interface EtfInvoiceProperties {
930
937
  * @hidden This field is hidden in the UI
931
938
  */
932
939
  DiscountLength: number;
940
+ /** ExternalReference
941
+ *
942
+ * @type {TEXT}
943
+ */
944
+ ExternalReference: string;
933
945
  }
934
946
  /**
935
947
  * Invoice entity from BillingModule
@@ -304,6 +304,8 @@ var InvoicePropertyKeys;
304
304
  InvoicePropertyKeys["DeliveryDate"] = "DeliveryDate";
305
305
  /** length for the items discount duration (Finance - Invoice) */
306
306
  InvoicePropertyKeys["DiscountLength"] = "DiscountLength";
307
+ /** ExternalReference */
308
+ InvoicePropertyKeys["ExternalReference"] = "ExternalReference";
307
309
  })(InvoicePropertyKeys = exports.InvoicePropertyKeys || (exports.InvoicePropertyKeys = {}));
308
310
  /**
309
311
  * Invoice entity from BillingModule
@@ -42,21 +42,6 @@ export declare enum MessageSenderType {
42
42
  CUSTOMER = "CUSTOMER",
43
43
  SYSTEM = "SYSTEM"
44
44
  }
45
- /**
46
- * Valid values for Message.MessageType
47
- *
48
- * The type of the message
49
- *
50
- * @remarks Available options:
51
- * - `AGENT_JOIN`
52
- * - `CLOSE`
53
- * - `NUDGE`
54
- */
55
- export declare enum MessageMessageType {
56
- AGENT_JOIN = "AGENT_JOIN",
57
- CLOSE = "CLOSE",
58
- NUDGE = "NUDGE"
59
- }
60
45
  /**
61
46
  * Property keys for Message
62
47
  * Use these constants instead of string literals for type safety
@@ -79,9 +64,7 @@ export declare enum MessagePropertyKeys {
79
64
  /** Title field for the record */
80
65
  Title = "Title",
81
66
  /** sender type (Communications - Message) */
82
- SenderType = "SenderType",
83
- /** The type of the message */
84
- MessageType = "MessageType"
67
+ SenderType = "SenderType"
85
68
  }
86
69
  /**
87
70
  * Properties for Message records
@@ -135,12 +118,6 @@ export interface MessageProperties {
135
118
  * @enum {MessageSenderType}
136
119
  */
137
120
  SenderType: MessageSenderType;
138
- /** The type of the message
139
- *
140
- * @type {ENUM}
141
- * @enum {MessageMessageType}
142
- */
143
- MessageType: MessageMessageType;
144
121
  }
145
122
  /**
146
123
  * Properties for CLOSE Message records
@@ -194,12 +171,6 @@ export interface CloseMessageProperties {
194
171
  * @enum {MessageSenderType}
195
172
  */
196
173
  SenderType: MessageSenderType;
197
- /** The type of the message
198
- *
199
- * @type {ENUM}
200
- * @enum {MessageMessageType}
201
- */
202
- MessageType: MessageMessageType;
203
174
  }
204
175
  /**
205
176
  * Properties for EVENT Message records
@@ -253,12 +224,6 @@ export interface EventMessageProperties {
253
224
  * @enum {MessageSenderType}
254
225
  */
255
226
  SenderType: MessageSenderType;
256
- /** The type of the message
257
- *
258
- * @type {ENUM}
259
- * @enum {MessageMessageType}
260
- */
261
- MessageType: MessageMessageType;
262
227
  }
263
228
  /**
264
229
  * Properties for NUDGE Message records
@@ -312,12 +277,6 @@ export interface NudgeMessageProperties {
312
277
  * @enum {MessageSenderType}
313
278
  */
314
279
  SenderType: MessageSenderType;
315
- /** The type of the message
316
- *
317
- * @type {ENUM}
318
- * @enum {MessageMessageType}
319
- */
320
- MessageType: MessageMessageType;
321
280
  }
322
281
  /**
323
282
  * Message entity from NotificationModule
@@ -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_MESSAGE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_MESSAGE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_MESSAGE_FILE_DELETED = exports.ROUTING_KEY_LINK_MESSAGE_FILE_CREATED = exports.ROUTING_KEY_MESSAGE_NUDGE_DELETED = exports.ROUTING_KEY_MESSAGE_NUDGE_UPDATED = exports.ROUTING_KEY_MESSAGE_NUDGE_CREATED = exports.ROUTING_KEY_MESSAGE_EVENT_DELETED = exports.ROUTING_KEY_MESSAGE_EVENT_UPDATED = exports.ROUTING_KEY_MESSAGE_EVENT_CREATED = exports.ROUTING_KEY_MESSAGE_DEFAULT_DELETED = exports.ROUTING_KEY_MESSAGE_DEFAULT_UPDATED = exports.ROUTING_KEY_MESSAGE_DEFAULT_CREATED = exports.ROUTING_KEY_MESSAGE_CLOSE_DELETED = exports.ROUTING_KEY_MESSAGE_CLOSE_UPDATED = exports.ROUTING_KEY_MESSAGE_CLOSE_CREATED = exports.ROUTING_KEY_MESSAGE_DELETED = exports.ROUTING_KEY_MESSAGE_UPDATED = exports.ROUTING_KEY_MESSAGE_CREATED = exports.Message = exports.MessagePropertyKeys = exports.MessageMessageType = exports.MessageSenderType = exports.MessageEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_MESSAGE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_MESSAGE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_MESSAGE_FILE_DELETED = exports.ROUTING_KEY_LINK_MESSAGE_FILE_CREATED = exports.ROUTING_KEY_MESSAGE_NUDGE_DELETED = exports.ROUTING_KEY_MESSAGE_NUDGE_UPDATED = exports.ROUTING_KEY_MESSAGE_NUDGE_CREATED = exports.ROUTING_KEY_MESSAGE_EVENT_DELETED = exports.ROUTING_KEY_MESSAGE_EVENT_UPDATED = exports.ROUTING_KEY_MESSAGE_EVENT_CREATED = exports.ROUTING_KEY_MESSAGE_DEFAULT_DELETED = exports.ROUTING_KEY_MESSAGE_DEFAULT_UPDATED = exports.ROUTING_KEY_MESSAGE_DEFAULT_CREATED = exports.ROUTING_KEY_MESSAGE_CLOSE_DELETED = exports.ROUTING_KEY_MESSAGE_CLOSE_UPDATED = exports.ROUTING_KEY_MESSAGE_CLOSE_CREATED = exports.ROUTING_KEY_MESSAGE_DELETED = exports.ROUTING_KEY_MESSAGE_UPDATED = exports.ROUTING_KEY_MESSAGE_CREATED = exports.Message = exports.MessagePropertyKeys = exports.MessageSenderType = exports.MessageEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for Message records
@@ -44,22 +44,6 @@ var MessageSenderType;
44
44
  MessageSenderType["CUSTOMER"] = "CUSTOMER";
45
45
  MessageSenderType["SYSTEM"] = "SYSTEM";
46
46
  })(MessageSenderType = exports.MessageSenderType || (exports.MessageSenderType = {}));
47
- /**
48
- * Valid values for Message.MessageType
49
- *
50
- * The type of the message
51
- *
52
- * @remarks Available options:
53
- * - `AGENT_JOIN`
54
- * - `CLOSE`
55
- * - `NUDGE`
56
- */
57
- var MessageMessageType;
58
- (function (MessageMessageType) {
59
- MessageMessageType["AGENT_JOIN"] = "AGENT_JOIN";
60
- MessageMessageType["CLOSE"] = "CLOSE";
61
- MessageMessageType["NUDGE"] = "NUDGE";
62
- })(MessageMessageType = exports.MessageMessageType || (exports.MessageMessageType = {}));
63
47
  /**
64
48
  * Property keys for Message
65
49
  * Use these constants instead of string literals for type safety
@@ -84,8 +68,6 @@ var MessagePropertyKeys;
84
68
  MessagePropertyKeys["Title"] = "Title";
85
69
  /** sender type (Communications - Message) */
86
70
  MessagePropertyKeys["SenderType"] = "SenderType";
87
- /** The type of the message */
88
- MessagePropertyKeys["MessageType"] = "MessageType";
89
71
  })(MessagePropertyKeys = exports.MessagePropertyKeys || (exports.MessagePropertyKeys = {}));
90
72
  /**
91
73
  * Message entity from NotificationModule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.25",
3
+ "version": "2.0.27",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",