@emilgroup/partner-portal-sdk-node 1.0.1-beta.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/.openapi-generator/FILES +49 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +84 -0
- package/api/health-check-api.ts +128 -0
- package/api/intermediary-api.ts +1226 -0
- package/api.ts +33 -0
- package/base.ts +286 -0
- package/common.ts +199 -0
- package/configuration.ts +109 -0
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/health-check-api.js +204 -0
- package/dist/api/intermediary-api.d.ts +704 -0
- package/dist/api/intermediary-api.js +1019 -0
- package/dist/api.d.ts +13 -0
- package/dist/api.js +31 -0
- package/dist/base.d.ts +79 -0
- package/dist/base.js +395 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/account-class.d.ts +176 -0
- package/dist/models/account-class.js +22 -0
- package/dist/models/account-policy-class.d.ts +147 -0
- package/dist/models/account-policy-class.js +15 -0
- package/dist/models/create-payment-method-request-dto.d.ts +31 -0
- package/dist/models/create-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +55 -0
- package/dist/models/create-policy-request-dto.js +15 -0
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.js +50 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/insured-object-type-class.d.ts +60 -0
- package/dist/models/insured-object-type-class.js +15 -0
- package/dist/models/invoice-class.d.ts +150 -0
- package/dist/models/invoice-class.js +30 -0
- package/dist/models/invoice-item-class.d.ts +117 -0
- package/dist/models/invoice-item-class.js +24 -0
- package/dist/models/invoice-status-class.d.ts +47 -0
- package/dist/models/invoice-status-class.js +20 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +157 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/list-accounts-response-class.d.ts +31 -0
- package/dist/models/list-accounts-response-class.js +15 -0
- package/dist/models/list-leads-response-class.d.ts +43 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/list-partners-response-class.d.ts +31 -0
- package/dist/models/list-partners-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +43 -0
- package/dist/models/list-policies-response-class.js +15 -0
- package/dist/models/omit-type-class.d.ts +84 -0
- package/dist/models/omit-type-class.js +15 -0
- package/dist/models/partner-class.d.ts +103 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +98 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/partner-role-class.d.ts +72 -0
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/policy-class.d.ts +147 -0
- package/dist/models/policy-class.js +15 -0
- package/dist/models/policy-object-class.d.ts +84 -0
- package/dist/models/policy-object-class.js +15 -0
- package/dist/models/policy-premium-class.d.ts +61 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +67 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/policy-version-class.d.ts +79 -0
- package/dist/models/policy-version-class.js +15 -0
- package/dist/models/premium-formula-class.d.ts +108 -0
- package/dist/models/premium-formula-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +55 -0
- package/dist/models/premium-override-dto.js +27 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/product-class.d.ts +92 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-version-class.d.ts +73 -0
- package/dist/models/product-version-class.js +22 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/tag-class.d.ts +54 -0
- package/dist/models/tag-class.js +15 -0
- package/dist/models/timeslice-class.d.ts +74 -0
- package/dist/models/timeslice-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/account-class.ts +185 -0
- package/models/account-policy-class.ts +153 -0
- package/models/create-payment-method-request-dto.ts +37 -0
- package/models/create-policy-request-dto.ts +61 -0
- package/models/index.ts +34 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/insured-object-type-class.ts +66 -0
- package/models/invoice-class.ts +160 -0
- package/models/invoice-item-class.ts +126 -0
- package/models/invoice-status-class.ts +56 -0
- package/models/lead-bank-account-class.ts +36 -0
- package/models/lead-class.ts +163 -0
- package/models/list-accounts-response-class.ts +37 -0
- package/models/list-leads-response-class.ts +49 -0
- package/models/list-partners-response-class.ts +37 -0
- package/models/list-policies-response-class.ts +49 -0
- package/models/omit-type-class.ts +90 -0
- package/models/partner-class.ts +109 -0
- package/models/partner-link-class.ts +104 -0
- package/models/partner-role-class.ts +78 -0
- package/models/policy-class.ts +153 -0
- package/models/policy-object-class.ts +90 -0
- package/models/policy-premium-class.ts +67 -0
- package/models/policy-premium-item-class.ts +73 -0
- package/models/policy-version-class.ts +85 -0
- package/models/premium-formula-class.ts +114 -0
- package/models/premium-override-dto.ts +65 -0
- package/models/premium-override-request-dto.ts +31 -0
- package/models/product-class.ts +98 -0
- package/models/product-version-class.ts +82 -0
- package/models/sepa-dto.ts +36 -0
- package/models/tag-class.ts +60 -0
- package/models/timeslice-class.ts +80 -0
- package/models/uploaded-document-dto.ts +30 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface TagClass
|
|
21
|
+
*/
|
|
22
|
+
export interface TagClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the object.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TagClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof TagClass
|
|
33
|
+
*/
|
|
34
|
+
'slug': string;
|
|
35
|
+
/**
|
|
36
|
+
* The label of the tag
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof TagClass
|
|
39
|
+
*/
|
|
40
|
+
'label': string;
|
|
41
|
+
/**
|
|
42
|
+
* A short description for the tag
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof TagClass
|
|
45
|
+
*/
|
|
46
|
+
'description': string;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was created.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof TagClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was updated.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof TagClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyObjectClass } from './policy-object-class';
|
|
17
|
+
import { PolicyPremiumClass } from './policy-premium-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface TimesliceClass
|
|
23
|
+
*/
|
|
24
|
+
export interface TimesliceClass {
|
|
25
|
+
/**
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof TimesliceClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Timeslice policy data.
|
|
33
|
+
* @type {Array<PolicyObjectClass>}
|
|
34
|
+
* @memberof TimesliceClass
|
|
35
|
+
*/
|
|
36
|
+
'policyObjects': Array<PolicyObjectClass>;
|
|
37
|
+
/**
|
|
38
|
+
* Timeslice validity start.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TimesliceClass
|
|
41
|
+
*/
|
|
42
|
+
'from': string;
|
|
43
|
+
/**
|
|
44
|
+
* Timeslice validity end.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof TimesliceClass
|
|
47
|
+
*/
|
|
48
|
+
'to'?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Timeslice premium.
|
|
51
|
+
* @type {PolicyPremiumClass}
|
|
52
|
+
* @memberof TimesliceClass
|
|
53
|
+
*/
|
|
54
|
+
'premium': PolicyPremiumClass;
|
|
55
|
+
/**
|
|
56
|
+
* Time at which the object was created.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TimesliceClass
|
|
59
|
+
*/
|
|
60
|
+
'createdAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Time at which the object was updated.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TimesliceClass
|
|
65
|
+
*/
|
|
66
|
+
'updatedAt': string;
|
|
67
|
+
/**
|
|
68
|
+
* Identifier of the user who created the record.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof TimesliceClass
|
|
71
|
+
*/
|
|
72
|
+
'createdBy': string;
|
|
73
|
+
/**
|
|
74
|
+
* Identifier of the user who last updated the record.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof TimesliceClass
|
|
77
|
+
*/
|
|
78
|
+
'updatedBy': string;
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerPortal
|
|
5
|
+
* The EMIL PartnerPortal API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UploadedDocumentDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UploadedDocumentDto {
|
|
23
|
+
/**
|
|
24
|
+
* Uploaded document codes.
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof UploadedDocumentDto
|
|
27
|
+
*/
|
|
28
|
+
'codes': Array<string>;
|
|
29
|
+
}
|
|
30
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@emilgroup/partner-portal-sdk-node",
|
|
3
|
+
"version": "1.0.1-beta.0",
|
|
4
|
+
"description": "OpenAPI client for @emilgroup/partner-portal-sdk-node",
|
|
5
|
+
"author": "OpenAPI-Generator Contributors",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"axios",
|
|
8
|
+
"typescript",
|
|
9
|
+
"openapi-client",
|
|
10
|
+
"openapi-generator",
|
|
11
|
+
"@emilgroup/partner-portal-sdk-node"
|
|
12
|
+
],
|
|
13
|
+
"license": "Unlicense",
|
|
14
|
+
"main": "./dist/index.js",
|
|
15
|
+
"typings": "./dist/index.d.ts",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc --outDir dist/",
|
|
18
|
+
"prepare": "npm run build"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"axios": "^0.27.2",
|
|
22
|
+
"form-data": "^4.0.0",
|
|
23
|
+
"url": "^0.11.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
|
+
"typescript": "^4.0"
|
|
28
|
+
}
|
|
29
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"declaration": true,
|
|
4
|
+
"target": "ES5",
|
|
5
|
+
"module": "CommonJS",
|
|
6
|
+
"noImplicitAny": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"outDir": "dist",
|
|
9
|
+
"rootDir": ".",
|
|
10
|
+
"lib": [
|
|
11
|
+
"es6",
|
|
12
|
+
"dom"
|
|
13
|
+
],
|
|
14
|
+
"typeRoots": [
|
|
15
|
+
"node_modules/@types"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"exclude": [
|
|
19
|
+
"dist",
|
|
20
|
+
"node_modules"
|
|
21
|
+
]
|
|
22
|
+
}
|