@campxdev/server-shared 1.9.9 → 2.0.0
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/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/print-designer-types-endpoints.d.ts +43 -0
- package/dist/utils/print-designer-types-endpoints.d.ts.map +1 -0
- package/dist/utils/print-designer-types-endpoints.js +47 -0
- package/dist/utils/print-designer-types-endpoints.js.map +1 -0
- package/dist/utils/utils.d.ts +2 -2
- package/package.json +1 -1
package/dist/utils/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,kCAAkC,CAAC;AACjD,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
package/dist/utils/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./aws-secret-manager"), exports);
|
|
18
18
|
__exportStar(require("./constants"), exports);
|
|
19
19
|
__exportStar(require("./mongoose-fn"), exports);
|
|
20
|
+
__exportStar(require("./print-designer-types-endpoints"), exports);
|
|
20
21
|
__exportStar(require("./sql-fn"), exports);
|
|
21
22
|
__exportStar(require("./utils"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,8CAA4B;AAC5B,gDAA8B;AAC9B,2CAAyB;AACzB,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,8CAA4B;AAC5B,gDAA8B;AAC9B,mEAAiD;AACjD,2CAAyB;AACzB,0CAAwB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare enum PrintFormatType {
|
|
2
|
+
NO_DUE = "no_due",
|
|
3
|
+
BONAFIDE = "bonafide",
|
|
4
|
+
FEE_ESTIMATE = "fee_estimate",
|
|
5
|
+
DUPLICATE_ID_CARD = "duplicate_id_card",
|
|
6
|
+
GENUINE_CERTIFICATE = "genuine_certificate",
|
|
7
|
+
TRANSFER_CERTIFICATE = "transfer_certificate",
|
|
8
|
+
MIGRATION_CERTIFICATE = "migration_certificate",
|
|
9
|
+
CUSTODIAN_CERTIFICATE = "custodian_certificate",
|
|
10
|
+
INCOME_TAX_CERTIFICATE = "income_tax_certificate",
|
|
11
|
+
NO_OBJECTION_CERTIFICATE = "no_objection_certificate",
|
|
12
|
+
PROVISIONAL_ADMISSION_LETTER = "provisional_admission_letter",
|
|
13
|
+
STUDY_CUM_CONDUCT_CERTIFICATE = "study_cum_conduct_certificate",
|
|
14
|
+
MEDIUM_OF_INSTRUCTION_CERTIFICATE = "medium_of_instruction_certificate",
|
|
15
|
+
MEMO = "memo",
|
|
16
|
+
CGS = "cgs",
|
|
17
|
+
PC = "pc",
|
|
18
|
+
OD = "od",
|
|
19
|
+
BOOKLET = "booklet",
|
|
20
|
+
OTHER = "other"
|
|
21
|
+
}
|
|
22
|
+
export declare const printDesignerEndpoints: {
|
|
23
|
+
no_due: string;
|
|
24
|
+
bonafide: string;
|
|
25
|
+
fee_estimate: string;
|
|
26
|
+
duplicate_id_card: string;
|
|
27
|
+
genuine_certificate: string;
|
|
28
|
+
transfer_certificate: string;
|
|
29
|
+
custodian_certificate: string;
|
|
30
|
+
migration_certificate: string;
|
|
31
|
+
income_tax_certificate: string;
|
|
32
|
+
no_objection_certificate: string;
|
|
33
|
+
provisional_admission_letter: string;
|
|
34
|
+
study_cum_conduct_certificate: string;
|
|
35
|
+
medium_of_instruction_certificate: string;
|
|
36
|
+
memo: string;
|
|
37
|
+
cgs: string;
|
|
38
|
+
pc: string;
|
|
39
|
+
od: string;
|
|
40
|
+
booklet: string;
|
|
41
|
+
other: string;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=print-designer-types-endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print-designer-types-endpoints.d.ts","sourceRoot":"","sources":["../../src/utils/print-designer-types-endpoints.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,mBAAmB,wBAAwB;IAC3C,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,qBAAqB,0BAA0B;IAC/C,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;IACrD,4BAA4B,iCAAiC;IAC7D,6BAA6B,kCAAkC;IAC/D,iCAAiC,sCAAsC;IACvE,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;CAoBlC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.printDesignerEndpoints = exports.PrintFormatType = void 0;
|
|
4
|
+
var PrintFormatType;
|
|
5
|
+
(function (PrintFormatType) {
|
|
6
|
+
PrintFormatType["NO_DUE"] = "no_due";
|
|
7
|
+
PrintFormatType["BONAFIDE"] = "bonafide";
|
|
8
|
+
PrintFormatType["FEE_ESTIMATE"] = "fee_estimate";
|
|
9
|
+
PrintFormatType["DUPLICATE_ID_CARD"] = "duplicate_id_card";
|
|
10
|
+
PrintFormatType["GENUINE_CERTIFICATE"] = "genuine_certificate";
|
|
11
|
+
PrintFormatType["TRANSFER_CERTIFICATE"] = "transfer_certificate";
|
|
12
|
+
PrintFormatType["MIGRATION_CERTIFICATE"] = "migration_certificate";
|
|
13
|
+
PrintFormatType["CUSTODIAN_CERTIFICATE"] = "custodian_certificate";
|
|
14
|
+
PrintFormatType["INCOME_TAX_CERTIFICATE"] = "income_tax_certificate";
|
|
15
|
+
PrintFormatType["NO_OBJECTION_CERTIFICATE"] = "no_objection_certificate";
|
|
16
|
+
PrintFormatType["PROVISIONAL_ADMISSION_LETTER"] = "provisional_admission_letter";
|
|
17
|
+
PrintFormatType["STUDY_CUM_CONDUCT_CERTIFICATE"] = "study_cum_conduct_certificate";
|
|
18
|
+
PrintFormatType["MEDIUM_OF_INSTRUCTION_CERTIFICATE"] = "medium_of_instruction_certificate";
|
|
19
|
+
PrintFormatType["MEMO"] = "memo";
|
|
20
|
+
PrintFormatType["CGS"] = "cgs";
|
|
21
|
+
PrintFormatType["PC"] = "pc";
|
|
22
|
+
PrintFormatType["OD"] = "od";
|
|
23
|
+
PrintFormatType["BOOKLET"] = "booklet";
|
|
24
|
+
PrintFormatType["OTHER"] = "other";
|
|
25
|
+
})(PrintFormatType || (exports.PrintFormatType = PrintFormatType = {}));
|
|
26
|
+
exports.printDesignerEndpoints = {
|
|
27
|
+
[PrintFormatType.NO_DUE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.NO_DUE}`,
|
|
28
|
+
[PrintFormatType.BONAFIDE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.BONAFIDE}`,
|
|
29
|
+
[PrintFormatType.FEE_ESTIMATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.FEE_ESTIMATE}`,
|
|
30
|
+
[PrintFormatType.DUPLICATE_ID_CARD]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.DUPLICATE_ID_CARD}`,
|
|
31
|
+
[PrintFormatType.GENUINE_CERTIFICATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.GENUINE_CERTIFICATE}`,
|
|
32
|
+
[PrintFormatType.TRANSFER_CERTIFICATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.TRANSFER_CERTIFICATE}`,
|
|
33
|
+
[PrintFormatType.CUSTODIAN_CERTIFICATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.CUSTODIAN_CERTIFICATE}`,
|
|
34
|
+
[PrintFormatType.MIGRATION_CERTIFICATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.MIGRATION_CERTIFICATE}`,
|
|
35
|
+
[PrintFormatType.INCOME_TAX_CERTIFICATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.INCOME_TAX_CERTIFICATE}`,
|
|
36
|
+
[PrintFormatType.NO_OBJECTION_CERTIFICATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.NO_OBJECTION_CERTIFICATE}`,
|
|
37
|
+
[PrintFormatType.PROVISIONAL_ADMISSION_LETTER]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.PROVISIONAL_ADMISSION_LETTER}`,
|
|
38
|
+
[PrintFormatType.STUDY_CUM_CONDUCT_CERTIFICATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.STUDY_CUM_CONDUCT_CERTIFICATE}`,
|
|
39
|
+
[PrintFormatType.MEDIUM_OF_INSTRUCTION_CERTIFICATE]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.MEDIUM_OF_INSTRUCTION_CERTIFICATE}`,
|
|
40
|
+
[PrintFormatType.MEMO]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.MEMO}`,
|
|
41
|
+
[PrintFormatType.CGS]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.CGS}`,
|
|
42
|
+
[PrintFormatType.PC]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.PC}`,
|
|
43
|
+
[PrintFormatType.OD]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.OD}`,
|
|
44
|
+
[PrintFormatType.BOOKLET]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.BOOKLET}`,
|
|
45
|
+
[PrintFormatType.OTHER]: `/paymentx/student-service-requests/print-designer/${PrintFormatType.OTHER}`,
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=print-designer-types-endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print-designer-types-endpoints.js","sourceRoot":"","sources":["../../src/utils/print-designer-types-endpoints.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAoBX;AApBD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,0DAAuC,CAAA;IACvC,8DAA2C,CAAA;IAC3C,gEAA6C,CAAA;IAC7C,kEAA+C,CAAA;IAC/C,kEAA+C,CAAA;IAC/C,oEAAiD,CAAA;IACjD,wEAAqD,CAAA;IACrD,gFAA6D,CAAA;IAC7D,kFAA+D,CAAA;IAC/D,0FAAuE,CAAA;IACvE,gCAAa,CAAA;IACb,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,sCAAmB,CAAA;IACnB,kCAAe,CAAA;AACjB,CAAC,EApBW,eAAe,+BAAf,eAAe,QAoB1B;AAEY,QAAA,sBAAsB,GAAG;IACpC,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,qDAAqD,eAAe,CAAC,MAAM,EAAE;IACvG,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,qDAAqD,eAAe,CAAC,QAAQ,EAAE;IAC3G,CAAC,eAAe,CA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zG,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,qDAAqD,eAAe,CAAC,KAAK,EAAE;CACtG,CAAC"}
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ export declare function toCsv(props: ToCscProps): string;
|
|
|
12
12
|
export declare function toXlsx(props: ToCscProps): any;
|
|
13
13
|
export declare function joiDefault(val: any): Joi.StringSchema<string>;
|
|
14
14
|
export declare function getBool(str: string, defaultValue: boolean): boolean;
|
|
15
|
-
export declare function getGenderWithDefault(str: string, defaultValue: string): "
|
|
16
|
-
export declare function getGender(str: string): "
|
|
15
|
+
export declare function getGenderWithDefault(str: string, defaultValue: string): "other" | "male" | "female";
|
|
16
|
+
export declare function getGender(str: string): "other" | "male" | "female";
|
|
17
17
|
export declare function getNumValue(val: number, defaultValue?: number): number;
|
|
18
18
|
export declare function getStringValue(val: string, defaultValue: string): string;
|
|
19
19
|
export declare function getDateValue(props: {
|