cloud-ide-lms-model 1.0.128 → 1.0.129
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.
|
@@ -3,8 +3,16 @@ import { controllerResponse } from "../../utilities";
|
|
|
3
3
|
type ICoreSycrErrorLogger = {
|
|
4
4
|
[key in keyof ICoreSycr]: string;
|
|
5
5
|
};
|
|
6
|
+
type ICoreSycrListErrorLogger = {
|
|
7
|
+
[key in keyof MSycrList]: string;
|
|
8
|
+
};
|
|
9
|
+
declare class MSycrList {
|
|
10
|
+
constructor(init: MSycrList);
|
|
11
|
+
Validate?(): Partial<ICoreSycrListErrorLogger>;
|
|
12
|
+
}
|
|
6
13
|
interface currencyInsertUpdateControllerResponse extends controllerResponse {
|
|
7
14
|
data?: ICoreSycr;
|
|
8
15
|
}
|
|
9
16
|
export { ICoreSycrErrorLogger, //interface
|
|
10
|
-
currencyInsertUpdateControllerResponse
|
|
17
|
+
currencyInsertUpdateControllerResponse, // above coresponding to payload abd this corespons to rresponse,
|
|
18
|
+
MSycrList, ICoreSycrListErrorLogger };
|
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MSycrList = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
class MSycrList {
|
|
6
|
+
constructor(init) {
|
|
7
|
+
Object.assign(this, init);
|
|
8
|
+
}
|
|
9
|
+
Validate() {
|
|
10
|
+
let errorLogger = {};
|
|
11
|
+
// Log errors here
|
|
12
|
+
return errorLogger;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.MSycrList = MSycrList;
|
package/lib/routes/coreRoutes.js
CHANGED
|
@@ -36,6 +36,10 @@ const coreRoutesUrl = {
|
|
|
36
36
|
* @description Endpoint to get the pin code (pin-code)
|
|
37
37
|
*/
|
|
38
38
|
pinCode: "pin-code",
|
|
39
|
+
/**
|
|
40
|
+
* @description Endpoint to get the currency (currency)
|
|
41
|
+
*/
|
|
42
|
+
currency: "currency"
|
|
39
43
|
};
|
|
40
44
|
exports.coreRoutesUrl = coreRoutesUrl;
|
|
41
45
|
Object.freeze(coreRoutesUrl);
|