@emilgroup/partner-sdk-node 1.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/.openapi-generator/FILES +41 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/default-api.ts +120 -0
- package/api/partner-relations-api.ts +349 -0
- package/api/partner-types-api.ts +693 -0
- package/api/partner-version-api.ts +375 -0
- package/api/partners-api.ts +693 -0
- package/api.ts +35 -0
- package/base.ts +252 -0
- package/common.ts +198 -0
- package/configuration.ts +101 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +196 -0
- package/dist/api/partner-relations-api.d.ts +206 -0
- package/dist/api/partner-relations-api.js +352 -0
- package/dist/api/partner-types-api.d.ts +394 -0
- package/dist/api/partner-types-api.js +642 -0
- package/dist/api/partner-version-api.d.ts +224 -0
- package/dist/api/partner-version-api.js +363 -0
- package/dist/api/partners-api.d.ts +394 -0
- package/dist/api/partners-api.js +642 -0
- package/dist/api.d.ts +16 -0
- package/dist/api.js +34 -0
- package/dist/base.d.ts +74 -0
- package/dist/base.js +299 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-partner-request-dto.d.ts +30 -0
- package/dist/models/create-partner-request-dto.js +15 -0
- package/dist/models/create-partner-response-class.d.ts +25 -0
- package/dist/models/create-partner-response-class.js +15 -0
- package/dist/models/create-partner-type-request-dto.d.ts +31 -0
- package/dist/models/create-partner-type-request-dto.js +15 -0
- package/dist/models/create-partner-type-response-class.d.ts +25 -0
- package/dist/models/create-partner-type-response-class.js +15 -0
- package/dist/models/delete-response-class.d.ts +24 -0
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/get-partner-relation-type-class.d.ts +25 -0
- package/dist/models/get-partner-relation-type-class.js +15 -0
- package/dist/models/get-partner-response-class.d.ts +25 -0
- package/dist/models/get-partner-response-class.js +15 -0
- package/dist/models/get-partner-type-response-class.d.ts +25 -0
- package/dist/models/get-partner-type-response-class.js +15 -0
- package/dist/models/get-partner-version-response-class.d.ts +25 -0
- package/dist/models/get-partner-version-response-class.js +15 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +39 -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/list-partner-relation-types-class.d.ts +31 -0
- package/dist/models/list-partner-relation-types-class.js +15 -0
- package/dist/models/list-partner-types-response-class.d.ts +31 -0
- package/dist/models/list-partner-types-response-class.js +15 -0
- package/dist/models/list-partner-versions-response-class.d.ts +25 -0
- package/dist/models/list-partner-versions-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/partner-class.d.ts +79 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-relation-type-class.d.ts +66 -0
- package/dist/models/partner-relation-type-class.js +15 -0
- package/dist/models/partner-type-class.d.ts +60 -0
- package/dist/models/partner-type-class.js +15 -0
- package/dist/models/partner-type-custom-schema-dto.d.ts +66 -0
- package/dist/models/partner-type-custom-schema-dto.js +15 -0
- package/dist/models/update-partner-request-dto.d.ts +24 -0
- package/dist/models/update-partner-request-dto.js +15 -0
- package/dist/models/update-partner-response-class.d.ts +25 -0
- package/dist/models/update-partner-response-class.js +15 -0
- package/dist/models/update-partner-type-request-dto.d.ts +31 -0
- package/dist/models/update-partner-type-request-dto.js +15 -0
- package/dist/models/update-partner-type-response-class.d.ts +25 -0
- package/dist/models/update-partner-type-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-partner-request-dto.ts +36 -0
- package/models/create-partner-response-class.ts +31 -0
- package/models/create-partner-type-request-dto.ts +37 -0
- package/models/create-partner-type-response-class.ts +31 -0
- package/models/delete-response-class.ts +30 -0
- package/models/get-partner-relation-type-class.ts +31 -0
- package/models/get-partner-response-class.ts +31 -0
- package/models/get-partner-type-response-class.ts +31 -0
- package/models/get-partner-version-response-class.ts +31 -0
- package/models/index.ts +23 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-partner-relation-types-class.ts +37 -0
- package/models/list-partner-types-response-class.ts +37 -0
- package/models/list-partner-versions-response-class.ts +31 -0
- package/models/list-partners-response-class.ts +37 -0
- package/models/partner-class.ts +85 -0
- package/models/partner-relation-type-class.ts +72 -0
- package/models/partner-type-class.ts +66 -0
- package/models/partner-type-custom-schema-dto.ts +72 -0
- package/models/update-partner-request-dto.ts +30 -0
- package/models/update-partner-response-class.ts +31 -0
- package/models/update-partner-type-request-dto.ts +37 -0
- package/models/update-partner-type-response-class.ts +31 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PartnerRelationTypeClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PartnerRelationTypeClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PartnerRelationTypeClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PartnerRelationTypeClass
|
|
28
|
+
*/
|
|
29
|
+
'slug': string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the relation type
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PartnerRelationTypeClass
|
|
34
|
+
*/
|
|
35
|
+
'relationName': string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the relation type
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PartnerRelationTypeClass
|
|
40
|
+
*/
|
|
41
|
+
'description': string;
|
|
42
|
+
/**
|
|
43
|
+
* The maximum number of times this relation type can be connected to a partner
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PartnerRelationTypeClass
|
|
46
|
+
*/
|
|
47
|
+
'maxCardinality': number;
|
|
48
|
+
/**
|
|
49
|
+
* The inverse side of maximum cardinality for the relation type - the maximum number of times a partner can be connected to this relation type from the inverse side
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PartnerRelationTypeClass
|
|
52
|
+
*/
|
|
53
|
+
'inverseMaxCardinality': number;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was created.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PartnerRelationTypeClass
|
|
58
|
+
*/
|
|
59
|
+
'createdAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was updated.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PartnerRelationTypeClass
|
|
64
|
+
*/
|
|
65
|
+
'updatedAt': string;
|
|
66
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PartnerTypeClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PartnerTypeClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PartnerTypeClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PartnerTypeClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the partner type.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PartnerTypeClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* The partner type schema object based on json schema.
|
|
38
|
+
* @type {object}
|
|
39
|
+
* @memberof PartnerTypeClass
|
|
40
|
+
*/
|
|
41
|
+
'schema': object;
|
|
42
|
+
/**
|
|
43
|
+
* The partner type schema fields. This can be used to render UI.
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof PartnerTypeClass
|
|
46
|
+
*/
|
|
47
|
+
'fields': object;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PartnerTypeClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was updated.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PartnerTypeClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PartnerTypeCustomSchemaDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PartnerTypeCustomSchemaDto {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the schema property - should be camelCase.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* The type of the schema property.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
28
|
+
*/
|
|
29
|
+
'type': string;
|
|
30
|
+
/**
|
|
31
|
+
* A boolean value to state if the property is required or not.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
34
|
+
*/
|
|
35
|
+
'isRequired': boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The label of the schema property as it will be displayed in the UI. If no label is provided, the name will be used in its place.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
40
|
+
*/
|
|
41
|
+
'label'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Minimum value of the property value. Applicable only if the property is a number type.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
46
|
+
*/
|
|
47
|
+
'minimum'?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Maxium value of the property value. Applicable only if the property is a number type.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
52
|
+
*/
|
|
53
|
+
'maximum'?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Minimum character length of the property value. Applicable only if the property is a string type.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
58
|
+
*/
|
|
59
|
+
'minLength'?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Maximum character length of the property value. Applicable only if the property is a string type.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PartnerTypeCustomSchemaDto
|
|
64
|
+
*/
|
|
65
|
+
'maxLength'?: number;
|
|
66
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdatePartnerRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdatePartnerRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The partner object, based on partner schema.
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof UpdatePartnerRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'partner': object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PartnerClass } from './partner-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdatePartnerResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdatePartnerResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The partner response.
|
|
21
|
+
* @type {PartnerClass}
|
|
22
|
+
* @memberof UpdatePartnerResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'partner': PartnerClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PartnerTypeCustomSchemaDto } from './partner-type-custom-schema-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdatePartnerTypeRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdatePartnerTypeRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* The name of the partner type.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdatePartnerTypeRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'name': string;
|
|
25
|
+
/**
|
|
26
|
+
* The partner type schema object.
|
|
27
|
+
* @type {Array<PartnerTypeCustomSchemaDto>}
|
|
28
|
+
* @memberof UpdatePartnerTypeRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'schemas': Array<PartnerTypeCustomSchemaDto>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PartnerTypeClass } from './partner-type-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdatePartnerTypeResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdatePartnerTypeResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The partnerType response.
|
|
21
|
+
* @type {PartnerTypeClass}
|
|
22
|
+
* @memberof UpdatePartnerTypeResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'partnerType': PartnerTypeClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/git_push.sh
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
+
#
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
+
|
|
6
|
+
git_user_id=$1
|
|
7
|
+
git_repo_id=$2
|
|
8
|
+
release_note=$3
|
|
9
|
+
git_host=$4
|
|
10
|
+
|
|
11
|
+
if [ "$git_host" = "" ]; then
|
|
12
|
+
git_host="github.com"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
|
17
|
+
git_user_id="Emil"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
|
22
|
+
git_repo_id="payment-sdk"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
if [ "$release_note" = "" ]; then
|
|
27
|
+
release_note="Minor update"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
# Initialize the local directory as a Git repository
|
|
32
|
+
git init
|
|
33
|
+
|
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
|
35
|
+
git add .
|
|
36
|
+
|
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
+
git commit -m "$release_note"
|
|
39
|
+
|
|
40
|
+
# Sets the new remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
+
|
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
+
else
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
git pull origin master
|
|
54
|
+
|
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
package/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService 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
|
+
export { Environment, BaseAPI } from "./base";
|
|
17
|
+
export * from "./api";
|
|
18
|
+
export * from "./configuration";
|
|
19
|
+
export * from "./models";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService 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 CreatePartnerRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePartnerRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The unique partner type code used to identify the partner type.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePartnerRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'partnerTypeCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* The partner object, based on partner schema.
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof CreatePartnerRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partner': object;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService 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 { PartnerClass } from './partner-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePartnerResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePartnerResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The partner response.
|
|
26
|
+
* @type {PartnerClass}
|
|
27
|
+
* @memberof CreatePartnerResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'partner': PartnerClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService 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 { PartnerTypeCustomSchemaDto } from './partner-type-custom-schema-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePartnerTypeRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePartnerTypeRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* The name of the partner type.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePartnerTypeRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'name': string;
|
|
30
|
+
/**
|
|
31
|
+
* The partner type schema array of object based on json schema.
|
|
32
|
+
* @type {Array<PartnerTypeCustomSchemaDto>}
|
|
33
|
+
* @memberof CreatePartnerTypeRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'schemas': Array<PartnerTypeCustomSchemaDto>;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService 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 { PartnerTypeClass } from './partner-type-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePartnerTypeResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePartnerTypeResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The partnerType response.
|
|
26
|
+
* @type {PartnerTypeClass}
|
|
27
|
+
* @memberof CreatePartnerTypeResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'partnerType': PartnerTypeClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService 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 DeleteResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof DeleteResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'response': object;
|
|
29
|
+
}
|
|
30
|
+
|