@d19n/youfibre-odin-sdk 2.0.233-beta.1 → 2.0.233-beta.2

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,7 +22,7 @@ export interface CreateModifyServiceRequestMessage extends OdinRecordCreatedEven
22
22
  * Properties for CreateModifyServiceRequest action
23
23
  *
24
24
  * @property Required fields: 3
25
- * @property Optional fields: 2
25
+ * @property Optional fields: 4
26
26
  */
27
27
  export interface CreateModifyServiceRequestProperties {
28
28
  /**
@@ -50,19 +50,33 @@ export interface CreateModifyServiceRequestProperties {
50
50
  */
51
51
  SkuNext: string;
52
52
  /**
53
- * ISP Send Status
53
+ * ISP Modify Status
54
54
  *
55
- * Status of the modify request to ISP (BNG Provision).
55
+ * ISP Modify Status
56
56
  * @type {ENUM}
57
57
  */
58
- IspSendStatus?: string | null;
58
+ IspModifyStatus?: string | null;
59
59
  /**
60
- * FNO Send Status
60
+ * ISP Comment
61
61
  *
62
- * Status of the modify request to FNO.
62
+ * ISP Comment
63
+ * @type {TEXT_LONG}
64
+ */
65
+ IspComment?: string | null;
66
+ /**
67
+ * FNO Modify Status
68
+ *
69
+ * FNO Modify Status
63
70
  * @type {ENUM}
64
71
  */
65
- FnoSendStatus?: string | null;
72
+ FnoModifyStatus?: string | null;
73
+ /**
74
+ * FNO Comment
75
+ *
76
+ * FNO Comment
77
+ * @type {TEXT_LONG}
78
+ */
79
+ FnoComment?: string | null;
66
80
  }
67
81
  /**
68
82
  * CreateModifyServiceRequest
@@ -25,34 +25,6 @@ export interface UpdateModifyServiceRequestMessage extends OdinRecordUpdatedEven
25
25
  * @property Optional fields: 7
26
26
  */
27
27
  export interface UpdateModifyServiceRequestProperties {
28
- /**
29
- * FNO Send Status
30
- *
31
- * Status of the modify request to FNO.
32
- * @type {ENUM}
33
- */
34
- FnoSendStatus?: string | null;
35
- /**
36
- * FNO Completed At
37
- *
38
- * Time that the modification completed on FNO side.
39
- * @type {DATE_TIME}
40
- */
41
- FnoCompletedAt?: string | null;
42
- /**
43
- * ISP Send Status
44
- *
45
- * Status of the modify request to ISP (BNG Provision).
46
- * @type {ENUM}
47
- */
48
- IspSendStatus?: string | null;
49
- /**
50
- * ISP Completed At
51
- *
52
- * Time that the modification completed on ISP side.
53
- * @type {DATE_TIME}
54
- */
55
- IspCompletedAt?: string | null;
56
28
  /**
57
29
  * Service ID
58
30
  *
@@ -74,6 +46,34 @@ export interface UpdateModifyServiceRequestProperties {
74
46
  * @type {TEXT}
75
47
  */
76
48
  SkuNext?: string | null;
49
+ /**
50
+ * FNO Modify Status
51
+ *
52
+ * FNO Modify Status
53
+ * @type {ENUM}
54
+ */
55
+ FnoModifyStatus?: string | null;
56
+ /**
57
+ * FNO Comment
58
+ *
59
+ * FNO Comment
60
+ * @type {TEXT_LONG}
61
+ */
62
+ FnoComment?: string | null;
63
+ /**
64
+ * ISP Modify Status
65
+ *
66
+ * ISP Modify Status
67
+ * @type {ENUM}
68
+ */
69
+ IspModifyStatus?: string | null;
70
+ /**
71
+ * ISP Comment
72
+ *
73
+ * ISP Comment
74
+ * @type {TEXT_LONG}
75
+ */
76
+ IspComment?: string | null;
77
77
  }
78
78
  /**
79
79
  * UpdateModifyServiceRequest
@@ -28,10 +28,8 @@ export declare enum ModifyServiceRequestEntityTypes {
28
28
  export declare enum DefaultModifyServiceRequestStageNames {
29
29
  /** Request has not yet been submitted to supplier. (default) */
30
30
  NotSent = "NotSent",
31
- /** Request was sent successfully to supplier, pending response. */
32
- SentToSupplier = "SentToSupplier",
33
- /** Request failed to send to supplier. (fail) */
34
- FailedToSend = "FailedToSend",
31
+ /** In Progress */
32
+ InProgress = "InProgress",
35
33
  /** The supplier has raised an issue with completing the modification. */
36
34
  Held = "Held",
37
35
  /** Request was processed successfully by the supplier and they have confirmed the service change. (success) */
@@ -46,10 +44,8 @@ export declare enum DefaultModifyServiceRequestStageNames {
46
44
  export declare enum DefaultModifyServiceRequestStageKeys {
47
45
  /** Request has not yet been submitted to supplier. */
48
46
  ModifyServiceRequestStateStageNotSent = "ModifyServiceRequestStateStageNotSent",
49
- /** Request was sent successfully to supplier, pending response. */
50
- ModifyServiceRequestStateStageSentToSupplier = "ModifyServiceRequestStateStageSentToSupplier",
51
- /** Request failed to send to supplier. */
52
- ModifyServiceRequestStateStageFailedToSend = "ModifyServiceRequestStateStageFailedToSend",
47
+ /** In Progress */
48
+ ModifyServiceRequestStateStageInProgress = "ModifyServiceRequestStateStageInProgress",
53
49
  /** The supplier has raised an issue with completing the modification. */
54
50
  ModifyServiceRequestStateStageHeld = "ModifyServiceRequestStateStageHeld",
55
51
  /** Request was processed successfully by the supplier and they have confirmed the service change. */
@@ -58,54 +54,62 @@ export declare enum DefaultModifyServiceRequestStageKeys {
58
54
  ModifyServiceRequestStateStageFailed = "ModifyServiceRequestStateStageFailed"
59
55
  }
60
56
  /**
61
- * Valid values for ModifyServiceRequest.FnoSendStatus
57
+ * Valid values for ModifyServiceRequest.IspModifyStatus
62
58
  *
63
- * Status of the modify request to FNO.
59
+ * ISP Modify Status
64
60
  *
65
61
  * @remarks Available options:
62
+ * - `IN_PROGRESS` - In Progress
63
+ * - `MODIFY_COMPLETE` - Modify Complete
64
+ * - `MODIFY_FAILED` - Modify Failed
66
65
  * - `NOT_SENT` - Not Sent
67
66
  * - `SEND_FAILED` - Send Failed
68
- * - `SEND_SUCCESSFUL` - Send Successful
69
67
  */
70
- export declare enum ModifyServiceRequestFnoSendStatus {
68
+ export declare enum ModifyServiceRequestIspModifyStatus {
69
+ IN_PROGRESS = "IN_PROGRESS",
70
+ MODIFY_COMPLETE = "MODIFY_COMPLETE",
71
+ MODIFY_FAILED = "MODIFY_FAILED",
71
72
  NOT_SENT = "NOT_SENT",
72
- SEND_FAILED = "SEND_FAILED",
73
- SEND_SUCCESSFUL = "SEND_SUCCESSFUL"
73
+ SEND_FAILED = "SEND_FAILED"
74
74
  }
75
75
  /**
76
- * Valid values for ModifyServiceRequest.IspSendStatus
76
+ * Valid values for ModifyServiceRequest.FnoModifyStatus
77
77
  *
78
- * Status of the modify request to ISP (BNG Provision).
78
+ * FNO Modify Status
79
79
  *
80
80
  * @remarks Available options:
81
+ * - `IN_PROGRESS` - In Progress
82
+ * - `MODIFY_COMPLETE` - Modify Complete
83
+ * - `MODIFY_FAILED` - Modify Failed
81
84
  * - `NOT_SENT` - Not Sent
82
85
  * - `SEND_FAILED` - Send Failed
83
- * - `SEND_SUCCESSFUL` - Send Successful
84
86
  */
85
- export declare enum ModifyServiceRequestIspSendStatus {
87
+ export declare enum ModifyServiceRequestFnoModifyStatus {
88
+ IN_PROGRESS = "IN_PROGRESS",
89
+ MODIFY_COMPLETE = "MODIFY_COMPLETE",
90
+ MODIFY_FAILED = "MODIFY_FAILED",
86
91
  NOT_SENT = "NOT_SENT",
87
- SEND_FAILED = "SEND_FAILED",
88
- SEND_SUCCESSFUL = "SEND_SUCCESSFUL"
92
+ SEND_FAILED = "SEND_FAILED"
89
93
  }
90
94
  /**
91
95
  * Property keys for ModifyServiceRequest
92
96
  * Use these constants instead of string literals for type safety
93
97
  */
94
98
  export declare enum ModifyServiceRequestPropertyKeys {
95
- /** Time that the modification completed on FNO side. */
96
- FnoCompletedAt = "FnoCompletedAt",
97
99
  /** The ID of the service being modified */
98
100
  ServiceId = "ServiceId",
99
- /** Time that the modification completed on ISP side. */
100
- IspCompletedAt = "IspCompletedAt",
101
101
  /** The previous SKU being modified from (Used for Line Profile mapping) */
102
102
  SkuPrevious = "SkuPrevious",
103
103
  /** The next SKU being modified to (Used for Line Profile mapping) */
104
104
  SkuNext = "SkuNext",
105
- /** Status of the modify request to FNO. */
106
- FnoSendStatus = "FnoSendStatus",
107
- /** Status of the modify request to ISP (BNG Provision). */
108
- IspSendStatus = "IspSendStatus"
105
+ /** ISP Modify Status */
106
+ IspModifyStatus = "IspModifyStatus",
107
+ /** FNO Modify Status */
108
+ FnoModifyStatus = "FnoModifyStatus",
109
+ /** ISP Comment */
110
+ IspComment = "IspComment",
111
+ /** FNO Comment */
112
+ FnoComment = "FnoComment"
109
113
  }
110
114
  /**
111
115
  * Properties for ModifyServiceRequest records
@@ -113,21 +117,11 @@ export declare enum ModifyServiceRequestPropertyKeys {
113
117
  * @see ServiceModule:ModifyServiceRequest
114
118
  */
115
119
  export interface ModifyServiceRequestProperties {
116
- /** Time that the modification completed on FNO side.
117
- *
118
- * @type {DATE_TIME}
119
- */
120
- FnoCompletedAt: string;
121
120
  /** The ID of the service being modified
122
121
  *
123
122
  * @type {TEXT}
124
123
  */
125
124
  ServiceId: string;
126
- /** Time that the modification completed on ISP side.
127
- *
128
- * @type {DATE_TIME}
129
- */
130
- IspCompletedAt: string;
131
125
  /** The previous SKU being modified from (Used for Line Profile mapping)
132
126
  *
133
127
  * @type {TEXT}
@@ -138,20 +132,30 @@ export interface ModifyServiceRequestProperties {
138
132
  * @type {TEXT}
139
133
  */
140
134
  SkuNext: string;
141
- /** Status of the modify request to FNO.
135
+ /** ISP Modify Status
142
136
  *
143
137
  * @type {ENUM}
144
138
  * @default NOT_SENT
145
- * @enum {ModifyServiceRequestFnoSendStatus}
139
+ * @enum {ModifyServiceRequestIspModifyStatus}
146
140
  */
147
- FnoSendStatus: ModifyServiceRequestFnoSendStatus;
148
- /** Status of the modify request to ISP (BNG Provision).
141
+ IspModifyStatus: ModifyServiceRequestIspModifyStatus;
142
+ /** FNO Modify Status
149
143
  *
150
144
  * @type {ENUM}
151
145
  * @default NOT_SENT
152
- * @enum {ModifyServiceRequestIspSendStatus}
146
+ * @enum {ModifyServiceRequestFnoModifyStatus}
147
+ */
148
+ FnoModifyStatus: ModifyServiceRequestFnoModifyStatus;
149
+ /** ISP Comment
150
+ *
151
+ * @type {TEXT_LONG}
152
+ */
153
+ IspComment: string;
154
+ /** FNO Comment
155
+ *
156
+ * @type {TEXT_LONG}
153
157
  */
154
- IspSendStatus: ModifyServiceRequestIspSendStatus;
158
+ FnoComment: string;
155
159
  }
156
160
  /**
157
161
  * ModifyServiceRequest entity from ServiceModule
@@ -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_MODIFY_SERVICE_REQUEST_ORDER_KCI_DELETED = exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_KCI_CREATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DELETED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_UPDATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_CREATED = exports.ModifyServiceRequest = exports.ModifyServiceRequestPropertyKeys = exports.ModifyServiceRequestIspSendStatus = exports.ModifyServiceRequestFnoSendStatus = exports.DefaultModifyServiceRequestStageKeys = exports.DefaultModifyServiceRequestStageNames = exports.ModifyServiceRequestEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_KCI_DELETED = exports.ROUTING_KEY_LINK_MODIFY_SERVICE_REQUEST_ORDER_KCI_CREATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_DELETED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_UPDATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DEFAULT_CREATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_DELETED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_UPDATED = exports.ROUTING_KEY_MODIFY_SERVICE_REQUEST_CREATED = exports.ModifyServiceRequest = exports.ModifyServiceRequestPropertyKeys = exports.ModifyServiceRequestFnoModifyStatus = exports.ModifyServiceRequestIspModifyStatus = exports.DefaultModifyServiceRequestStageKeys = exports.DefaultModifyServiceRequestStageNames = exports.ModifyServiceRequestEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for ModifyServiceRequest records
@@ -31,10 +31,8 @@ var DefaultModifyServiceRequestStageNames;
31
31
  (function (DefaultModifyServiceRequestStageNames) {
32
32
  /** Request has not yet been submitted to supplier. (default) */
33
33
  DefaultModifyServiceRequestStageNames["NotSent"] = "NotSent";
34
- /** Request was sent successfully to supplier, pending response. */
35
- DefaultModifyServiceRequestStageNames["SentToSupplier"] = "SentToSupplier";
36
- /** Request failed to send to supplier. (fail) */
37
- DefaultModifyServiceRequestStageNames["FailedToSend"] = "FailedToSend";
34
+ /** In Progress */
35
+ DefaultModifyServiceRequestStageNames["InProgress"] = "InProgress";
38
36
  /** The supplier has raised an issue with completing the modification. */
39
37
  DefaultModifyServiceRequestStageNames["Held"] = "Held";
40
38
  /** Request was processed successfully by the supplier and they have confirmed the service change. (success) */
@@ -50,10 +48,8 @@ var DefaultModifyServiceRequestStageKeys;
50
48
  (function (DefaultModifyServiceRequestStageKeys) {
51
49
  /** Request has not yet been submitted to supplier. */
52
50
  DefaultModifyServiceRequestStageKeys["ModifyServiceRequestStateStageNotSent"] = "ModifyServiceRequestStateStageNotSent";
53
- /** Request was sent successfully to supplier, pending response. */
54
- DefaultModifyServiceRequestStageKeys["ModifyServiceRequestStateStageSentToSupplier"] = "ModifyServiceRequestStateStageSentToSupplier";
55
- /** Request failed to send to supplier. */
56
- DefaultModifyServiceRequestStageKeys["ModifyServiceRequestStateStageFailedToSend"] = "ModifyServiceRequestStateStageFailedToSend";
51
+ /** In Progress */
52
+ DefaultModifyServiceRequestStageKeys["ModifyServiceRequestStateStageInProgress"] = "ModifyServiceRequestStateStageInProgress";
57
53
  /** The supplier has raised an issue with completing the modification. */
58
54
  DefaultModifyServiceRequestStageKeys["ModifyServiceRequestStateStageHeld"] = "ModifyServiceRequestStateStageHeld";
59
55
  /** Request was processed successfully by the supplier and they have confirmed the service change. */
@@ -62,57 +58,65 @@ var DefaultModifyServiceRequestStageKeys;
62
58
  DefaultModifyServiceRequestStageKeys["ModifyServiceRequestStateStageFailed"] = "ModifyServiceRequestStateStageFailed";
63
59
  })(DefaultModifyServiceRequestStageKeys = exports.DefaultModifyServiceRequestStageKeys || (exports.DefaultModifyServiceRequestStageKeys = {}));
64
60
  /**
65
- * Valid values for ModifyServiceRequest.FnoSendStatus
61
+ * Valid values for ModifyServiceRequest.IspModifyStatus
66
62
  *
67
- * Status of the modify request to FNO.
63
+ * ISP Modify Status
68
64
  *
69
65
  * @remarks Available options:
66
+ * - `IN_PROGRESS` - In Progress
67
+ * - `MODIFY_COMPLETE` - Modify Complete
68
+ * - `MODIFY_FAILED` - Modify Failed
70
69
  * - `NOT_SENT` - Not Sent
71
70
  * - `SEND_FAILED` - Send Failed
72
- * - `SEND_SUCCESSFUL` - Send Successful
73
71
  */
74
- var ModifyServiceRequestFnoSendStatus;
75
- (function (ModifyServiceRequestFnoSendStatus) {
76
- ModifyServiceRequestFnoSendStatus["NOT_SENT"] = "NOT_SENT";
77
- ModifyServiceRequestFnoSendStatus["SEND_FAILED"] = "SEND_FAILED";
78
- ModifyServiceRequestFnoSendStatus["SEND_SUCCESSFUL"] = "SEND_SUCCESSFUL";
79
- })(ModifyServiceRequestFnoSendStatus = exports.ModifyServiceRequestFnoSendStatus || (exports.ModifyServiceRequestFnoSendStatus = {}));
72
+ var ModifyServiceRequestIspModifyStatus;
73
+ (function (ModifyServiceRequestIspModifyStatus) {
74
+ ModifyServiceRequestIspModifyStatus["IN_PROGRESS"] = "IN_PROGRESS";
75
+ ModifyServiceRequestIspModifyStatus["MODIFY_COMPLETE"] = "MODIFY_COMPLETE";
76
+ ModifyServiceRequestIspModifyStatus["MODIFY_FAILED"] = "MODIFY_FAILED";
77
+ ModifyServiceRequestIspModifyStatus["NOT_SENT"] = "NOT_SENT";
78
+ ModifyServiceRequestIspModifyStatus["SEND_FAILED"] = "SEND_FAILED";
79
+ })(ModifyServiceRequestIspModifyStatus = exports.ModifyServiceRequestIspModifyStatus || (exports.ModifyServiceRequestIspModifyStatus = {}));
80
80
  /**
81
- * Valid values for ModifyServiceRequest.IspSendStatus
81
+ * Valid values for ModifyServiceRequest.FnoModifyStatus
82
82
  *
83
- * Status of the modify request to ISP (BNG Provision).
83
+ * FNO Modify Status
84
84
  *
85
85
  * @remarks Available options:
86
+ * - `IN_PROGRESS` - In Progress
87
+ * - `MODIFY_COMPLETE` - Modify Complete
88
+ * - `MODIFY_FAILED` - Modify Failed
86
89
  * - `NOT_SENT` - Not Sent
87
90
  * - `SEND_FAILED` - Send Failed
88
- * - `SEND_SUCCESSFUL` - Send Successful
89
91
  */
90
- var ModifyServiceRequestIspSendStatus;
91
- (function (ModifyServiceRequestIspSendStatus) {
92
- ModifyServiceRequestIspSendStatus["NOT_SENT"] = "NOT_SENT";
93
- ModifyServiceRequestIspSendStatus["SEND_FAILED"] = "SEND_FAILED";
94
- ModifyServiceRequestIspSendStatus["SEND_SUCCESSFUL"] = "SEND_SUCCESSFUL";
95
- })(ModifyServiceRequestIspSendStatus = exports.ModifyServiceRequestIspSendStatus || (exports.ModifyServiceRequestIspSendStatus = {}));
92
+ var ModifyServiceRequestFnoModifyStatus;
93
+ (function (ModifyServiceRequestFnoModifyStatus) {
94
+ ModifyServiceRequestFnoModifyStatus["IN_PROGRESS"] = "IN_PROGRESS";
95
+ ModifyServiceRequestFnoModifyStatus["MODIFY_COMPLETE"] = "MODIFY_COMPLETE";
96
+ ModifyServiceRequestFnoModifyStatus["MODIFY_FAILED"] = "MODIFY_FAILED";
97
+ ModifyServiceRequestFnoModifyStatus["NOT_SENT"] = "NOT_SENT";
98
+ ModifyServiceRequestFnoModifyStatus["SEND_FAILED"] = "SEND_FAILED";
99
+ })(ModifyServiceRequestFnoModifyStatus = exports.ModifyServiceRequestFnoModifyStatus || (exports.ModifyServiceRequestFnoModifyStatus = {}));
96
100
  /**
97
101
  * Property keys for ModifyServiceRequest
98
102
  * Use these constants instead of string literals for type safety
99
103
  */
100
104
  var ModifyServiceRequestPropertyKeys;
101
105
  (function (ModifyServiceRequestPropertyKeys) {
102
- /** Time that the modification completed on FNO side. */
103
- ModifyServiceRequestPropertyKeys["FnoCompletedAt"] = "FnoCompletedAt";
104
106
  /** The ID of the service being modified */
105
107
  ModifyServiceRequestPropertyKeys["ServiceId"] = "ServiceId";
106
- /** Time that the modification completed on ISP side. */
107
- ModifyServiceRequestPropertyKeys["IspCompletedAt"] = "IspCompletedAt";
108
108
  /** The previous SKU being modified from (Used for Line Profile mapping) */
109
109
  ModifyServiceRequestPropertyKeys["SkuPrevious"] = "SkuPrevious";
110
110
  /** The next SKU being modified to (Used for Line Profile mapping) */
111
111
  ModifyServiceRequestPropertyKeys["SkuNext"] = "SkuNext";
112
- /** Status of the modify request to FNO. */
113
- ModifyServiceRequestPropertyKeys["FnoSendStatus"] = "FnoSendStatus";
114
- /** Status of the modify request to ISP (BNG Provision). */
115
- ModifyServiceRequestPropertyKeys["IspSendStatus"] = "IspSendStatus";
112
+ /** ISP Modify Status */
113
+ ModifyServiceRequestPropertyKeys["IspModifyStatus"] = "IspModifyStatus";
114
+ /** FNO Modify Status */
115
+ ModifyServiceRequestPropertyKeys["FnoModifyStatus"] = "FnoModifyStatus";
116
+ /** ISP Comment */
117
+ ModifyServiceRequestPropertyKeys["IspComment"] = "IspComment";
118
+ /** FNO Comment */
119
+ ModifyServiceRequestPropertyKeys["FnoComment"] = "FnoComment";
116
120
  })(ModifyServiceRequestPropertyKeys = exports.ModifyServiceRequestPropertyKeys || (exports.ModifyServiceRequestPropertyKeys = {}));
117
121
  /**
118
122
  * ModifyServiceRequest entity from ServiceModule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.233-beta.1",
3
+ "version": "2.0.233-beta.2",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",