@dynamatix/gb-schemas 2.3.308 → 2.3.310

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.
Files changed (34) hide show
  1. package/README.md +308 -308
  2. package/dist/applicants/applicant-income-source.model.d.ts +26 -0
  3. package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
  4. package/dist/applicants/applicant-income.model.d.ts +160 -0
  5. package/dist/applicants/applicant-income.model.d.ts.map +1 -0
  6. package/dist/applicants/applicant-other-income.model.d.ts +85 -0
  7. package/dist/applicants/applicant-other-income.model.d.ts.map +1 -0
  8. package/dist/applicants/applicant-welcome-call.model.js +9 -9
  9. package/dist/applications/application-direct-debit.model.d.ts +18 -0
  10. package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
  11. package/dist/applications/application-direct-debit.model.js +16 -0
  12. package/dist/applications/application-direct-debit.type.d.ts +51 -0
  13. package/dist/applications/application-direct-debit.type.d.ts.map +1 -0
  14. package/dist/applications/application-direct-debit.type.js +1 -0
  15. package/dist/applications/application-document.model.d.ts +158 -0
  16. package/dist/applications/application-document.model.d.ts.map +1 -0
  17. package/dist/applications/application.model.d.ts +12 -0
  18. package/dist/applications/application.model.d.ts.map +1 -1
  19. package/dist/applications/application.model.js +2 -0
  20. package/dist/applications/document.model.d.ts +158 -0
  21. package/dist/applications/document.model.d.ts.map +1 -0
  22. package/dist/applications/index.d.ts +1 -0
  23. package/dist/applications/index.d.ts.map +1 -1
  24. package/dist/applications/productfeatures.model.d.ts +368 -0
  25. package/dist/applications/productfeatures.model.d.ts.map +1 -0
  26. package/dist/shared/api-performance.model.d.ts +3 -86
  27. package/dist/shared/api-performance.model.d.ts.map +1 -1
  28. package/dist/shared/api-performance.type.d.ts +1 -0
  29. package/dist/shared/api-performance.type.d.ts.map +1 -1
  30. package/dist/shared/document-type-model.d.ts +48 -0
  31. package/dist/shared/document-type-model.d.ts.map +1 -0
  32. package/dist/shared/index.d.ts +1 -0
  33. package/dist/shared/index.d.ts.map +1 -1
  34. package/package.json +87 -87
@@ -0,0 +1,48 @@
1
+ import mongoose from "mongoose";
2
+ declare const DocumentTypeModel: mongoose.Model<{
3
+ name: string;
4
+ source: string;
5
+ parentDocumentTypeId: mongoose.Types.ObjectId;
6
+ label?: string | null | undefined;
7
+ matchRules?: any;
8
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
9
+ name: string;
10
+ source: string;
11
+ parentDocumentTypeId: mongoose.Types.ObjectId;
12
+ label?: string | null | undefined;
13
+ matchRules?: any;
14
+ }> & {
15
+ name: string;
16
+ source: string;
17
+ parentDocumentTypeId: mongoose.Types.ObjectId;
18
+ label?: string | null | undefined;
19
+ matchRules?: any;
20
+ } & {
21
+ _id: mongoose.Types.ObjectId;
22
+ } & {
23
+ __v: number;
24
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
25
+ name: string;
26
+ source: string;
27
+ parentDocumentTypeId: mongoose.Types.ObjectId;
28
+ label?: string | null | undefined;
29
+ matchRules?: any;
30
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
31
+ name: string;
32
+ source: string;
33
+ parentDocumentTypeId: mongoose.Types.ObjectId;
34
+ label?: string | null | undefined;
35
+ matchRules?: any;
36
+ }>> & mongoose.FlatRecord<{
37
+ name: string;
38
+ source: string;
39
+ parentDocumentTypeId: mongoose.Types.ObjectId;
40
+ label?: string | null | undefined;
41
+ matchRules?: any;
42
+ }> & {
43
+ _id: mongoose.Types.ObjectId;
44
+ } & {
45
+ __v: number;
46
+ }>>;
47
+ export default DocumentTypeModel;
48
+ //# sourceMappingURL=document-type-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-type-model.d.ts","sourceRoot":"","sources":["../../shared/document-type-model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAUhC,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqD,CAAC;AAE7E,eAAe,iBAAiB,CAAC"}
@@ -14,5 +14,6 @@ export { default as SchemaDocModel } from './schema-doc.model';
14
14
  export { default as ApiLogModel } from './api-log.model';
15
15
  export { default as IWebhookEvent } from './webhook-event.type';
16
16
  export { default as ApiPerformanceLogModel } from './api-performance.model';
17
+ export { default as IApiPerformance } from './api-performance.type';
17
18
  export { initializeWorkflowMiddleware, initializeWorkflowMiddlewareWithCheck, isWorkflowMiddlewareConfigured } from './workflow.init';
18
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../shared/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,EAAE,OAAO,I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AAI,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAC,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGpE,OAAO,EAAE,4BAA4B,EAAE,qCAAqC,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,87 +1,87 @@
1
- {
2
- "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.308",
4
- "description": "All the schemas for gatehouse bank back-end",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "type": "module",
8
- "scripts": {
9
- "build": "tsc",
10
- "test": "echo \"Error: no test specified\" && exit 1",
11
- "test:workflow": "npm run build && node test-workflow.js",
12
- "test:workflow:env": "npm run build && WORKFLOW_API_KEY=test-key WORKFLOW_API_URL=http://localhost:3000/api/workflows node test-workflow-with-env.js",
13
- "example:app": "npm run build && node example-app-usage.js",
14
- "test:workflow:triggers": "npm run build && node test-workflow-with-triggers.js",
15
- "test:workflow:direct": "npm run build && node test-direct-middleware.js",
16
- "patch": "tsc && npm version patch && npm publish --access public && exit 0",
17
- "generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts",
18
- "example:income": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/add-applicant-income.ts",
19
- "migrate:applicant-income": "node migrate-applicant-income.js",
20
- "migrate:self-employed-id": "node migrate-self-employed-id.js",
21
- "check:applicants-employment": "node check-applicants-without-employment.js",
22
- "delete:applications-by-type": "node delete-applications-by-type.js",
23
- "find:applications-many-audits": "node find-applications-with-many-audits.js",
24
- "update:apiconfigs-paths": "node scripts/update-apiconfigs-paths.js",
25
- "seed:property-metadata": "node scripts/seed-property-metadata.js",
26
- "migrate:lookups-qa-to-uat": "node scripts/update-lookups-qa-to-uat.js"
27
- },
28
- "repository": {
29
- "type": "git",
30
- "url": "git+https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas.git"
31
- },
32
- "author": "Dynamatix",
33
- "license": "ISC",
34
- "bugs": {
35
- "url": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas/issues"
36
- },
37
- "homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
38
- "dependencies": {
39
- "@dynamatix/cat-shared": "^0.0.134",
40
- "dotenv": "^16.4.5",
41
- "mongodb": "^6.14.2",
42
- "mongoose": "^8.9.5"
43
- },
44
- "files": [
45
- "dist"
46
- ],
47
- "exports": {
48
- ".": {
49
- "import": "./dist/index.js",
50
- "types": "./dist/index.d.ts"
51
- },
52
- "./applications": {
53
- "import": "./dist/applications/index.js",
54
- "types": "./dist/applications/index.d.ts"
55
- },
56
- "./applicants": {
57
- "import": "./dist/applicants/index.js",
58
- "types": "./dist/applicants/index.d.ts"
59
- },
60
- "./shared": {
61
- "import": "./dist/shared/index.js",
62
- "types": "./dist/shared/index.d.ts"
63
- },
64
- "./properties": {
65
- "import": "./dist/properties/index.js",
66
- "types": "./dist/properties/index.d.ts"
67
- },
68
- "./users": {
69
- "import": "./dist/users/index.js",
70
- "types": "./dist/users/index.d.ts"
71
- },
72
- "./product-catalogues": {
73
- "import": "./dist/product-catalogues/index.js",
74
- "types": "./dist/product-catalogues/index.d.ts"
75
- },
76
- "./underwriter": {
77
- "import": "./dist/underwriter/index.js",
78
- "types": "./dist/underwriter/index.d.ts"
79
- }
80
- },
81
- "devDependencies": {
82
- "@types/mongoose": "^5.11.96",
83
- "@types/node": "^22.14.0",
84
- "ts-node": "^10.9.2",
85
- "typescript": "^5.3.3"
86
- }
87
- }
1
+ {
2
+ "name": "@dynamatix/gb-schemas",
3
+ "version": "2.3.310",
4
+ "description": "All the schemas for gatehouse bank back-end",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "scripts": {
9
+ "build": "tsc",
10
+ "test": "echo \"Error: no test specified\" && exit 1",
11
+ "test:workflow": "npm run build && node test-workflow.js",
12
+ "test:workflow:env": "npm run build && WORKFLOW_API_KEY=test-key WORKFLOW_API_URL=http://localhost:3000/api/workflows node test-workflow-with-env.js",
13
+ "example:app": "npm run build && node example-app-usage.js",
14
+ "test:workflow:triggers": "npm run build && node test-workflow-with-triggers.js",
15
+ "test:workflow:direct": "npm run build && node test-direct-middleware.js",
16
+ "patch": "tsc && npm version patch && npm publish --access public && exit 0",
17
+ "generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts",
18
+ "example:income": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/add-applicant-income.ts",
19
+ "migrate:applicant-income": "node migrate-applicant-income.js",
20
+ "migrate:self-employed-id": "node migrate-self-employed-id.js",
21
+ "check:applicants-employment": "node check-applicants-without-employment.js",
22
+ "delete:applications-by-type": "node delete-applications-by-type.js",
23
+ "find:applications-many-audits": "node find-applications-with-many-audits.js",
24
+ "update:apiconfigs-paths": "node scripts/update-apiconfigs-paths.js",
25
+ "seed:property-metadata": "node scripts/seed-property-metadata.js",
26
+ "migrate:lookups-qa-to-uat": "node scripts/update-lookups-qa-to-uat.js"
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas.git"
31
+ },
32
+ "author": "Dynamatix",
33
+ "license": "ISC",
34
+ "bugs": {
35
+ "url": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas/issues"
36
+ },
37
+ "homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
38
+ "dependencies": {
39
+ "@dynamatix/cat-shared": "^0.0.134",
40
+ "dotenv": "^16.4.5",
41
+ "mongodb": "^6.14.2",
42
+ "mongoose": "^8.9.5"
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "exports": {
48
+ ".": {
49
+ "import": "./dist/index.js",
50
+ "types": "./dist/index.d.ts"
51
+ },
52
+ "./applications": {
53
+ "import": "./dist/applications/index.js",
54
+ "types": "./dist/applications/index.d.ts"
55
+ },
56
+ "./applicants": {
57
+ "import": "./dist/applicants/index.js",
58
+ "types": "./dist/applicants/index.d.ts"
59
+ },
60
+ "./shared": {
61
+ "import": "./dist/shared/index.js",
62
+ "types": "./dist/shared/index.d.ts"
63
+ },
64
+ "./properties": {
65
+ "import": "./dist/properties/index.js",
66
+ "types": "./dist/properties/index.d.ts"
67
+ },
68
+ "./users": {
69
+ "import": "./dist/users/index.js",
70
+ "types": "./dist/users/index.d.ts"
71
+ },
72
+ "./product-catalogues": {
73
+ "import": "./dist/product-catalogues/index.js",
74
+ "types": "./dist/product-catalogues/index.d.ts"
75
+ },
76
+ "./underwriter": {
77
+ "import": "./dist/underwriter/index.js",
78
+ "types": "./dist/underwriter/index.d.ts"
79
+ }
80
+ },
81
+ "devDependencies": {
82
+ "@types/mongoose": "^5.11.96",
83
+ "@types/node": "^22.14.0",
84
+ "ts-node": "^10.9.2",
85
+ "typescript": "^5.3.3"
86
+ }
87
+ }