@emilgroup/public-api-sdk 1.39.1-beta.1 → 1.39.1-beta.3
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/README.md +2 -2
- package/api/partners-api.ts +4 -4
- package/base.ts +0 -1
- package/dist/api/partners-api.d.ts +4 -4
- package/dist/api/partners-api.js +4 -4
- package/dist/base.d.ts +1 -2
- package/dist/base.js +0 -1
- package/dist/models/validate-partner-request-dto.d.ts +21 -3
- package/dist/models/validate-partner-response-class.d.ts +1 -1
- package/models/validate-partner-request-dto.ts +21 -3
- package/models/validate-partner-response-class.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/public-api-sdk@1.39.1-beta.
|
|
20
|
+
npm install @emilgroup/public-api-sdk@1.39.1-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/public-api-sdk@1.39.1-beta.
|
|
24
|
+
yarn add @emilgroup/public-api-sdk@1.39.1-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PublicApi`.
|
package/api/partners-api.ts
CHANGED
|
@@ -31,7 +31,7 @@ import { ValidatePartnerResponseClass } from '../models';
|
|
|
31
31
|
export const PartnersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
|
-
* Validates a partner identity by partnerNumber and
|
|
34
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
35
35
|
* @summary Validate a partner
|
|
36
36
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
37
37
|
* @param {string} [authorization] Bearer Token
|
|
@@ -88,7 +88,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
|
|
|
88
88
|
const localVarAxiosParamCreator = PartnersApiAxiosParamCreator(configuration)
|
|
89
89
|
return {
|
|
90
90
|
/**
|
|
91
|
-
* Validates a partner identity by partnerNumber and
|
|
91
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
92
92
|
* @summary Validate a partner
|
|
93
93
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
94
94
|
* @param {string} [authorization] Bearer Token
|
|
@@ -110,7 +110,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
|
|
|
110
110
|
const localVarFp = PartnersApiFp(configuration)
|
|
111
111
|
return {
|
|
112
112
|
/**
|
|
113
|
-
* Validates a partner identity by partnerNumber and
|
|
113
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
114
114
|
* @summary Validate a partner
|
|
115
115
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
116
116
|
* @param {string} [authorization] Bearer Token
|
|
@@ -152,7 +152,7 @@ export interface PartnersApiValidatePartnerRequest {
|
|
|
152
152
|
*/
|
|
153
153
|
export class PartnersApi extends BaseAPI {
|
|
154
154
|
/**
|
|
155
|
-
* Validates a partner identity by partnerNumber and
|
|
155
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
156
156
|
* @summary Validate a partner
|
|
157
157
|
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
158
158
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -53,7 +53,6 @@ export enum Environment {
|
|
|
53
53
|
Staging = 'https://apiv2-staging.emil.de',
|
|
54
54
|
Development = 'https://apiv2-dev.emil.de',
|
|
55
55
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
56
|
-
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
let _retry_count = 0
|
|
@@ -20,7 +20,7 @@ import { ValidatePartnerResponseClass } from '../models';
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const PartnersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
|
-
* Validates a partner identity by partnerNumber and
|
|
23
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
24
24
|
* @summary Validate a partner
|
|
25
25
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
26
26
|
* @param {string} [authorization] Bearer Token
|
|
@@ -35,7 +35,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
37
37
|
/**
|
|
38
|
-
* Validates a partner identity by partnerNumber and
|
|
38
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
39
39
|
* @summary Validate a partner
|
|
40
40
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token
|
|
@@ -50,7 +50,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
50
50
|
*/
|
|
51
51
|
export declare const PartnersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
52
|
/**
|
|
53
|
-
* Validates a partner identity by partnerNumber and
|
|
53
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
54
54
|
* @summary Validate a partner
|
|
55
55
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
56
56
|
* @param {string} [authorization] Bearer Token
|
|
@@ -86,7 +86,7 @@ export interface PartnersApiValidatePartnerRequest {
|
|
|
86
86
|
*/
|
|
87
87
|
export declare class PartnersApi extends BaseAPI {
|
|
88
88
|
/**
|
|
89
|
-
* Validates a partner identity by partnerNumber and
|
|
89
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
90
90
|
* @summary Validate a partner
|
|
91
91
|
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
92
92
|
* @param {*} [options] Override http request option.
|
package/dist/api/partners-api.js
CHANGED
|
@@ -93,7 +93,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* Validates a partner identity by partnerNumber and
|
|
96
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
97
97
|
* @summary Validate a partner
|
|
98
98
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
@@ -152,7 +152,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
152
152
|
var localVarAxiosParamCreator = (0, exports.PartnersApiAxiosParamCreator)(configuration);
|
|
153
153
|
return {
|
|
154
154
|
/**
|
|
155
|
-
* Validates a partner identity by partnerNumber and
|
|
155
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
156
156
|
* @summary Validate a partner
|
|
157
157
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
158
158
|
* @param {string} [authorization] Bearer Token
|
|
@@ -183,7 +183,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
183
183
|
var localVarFp = (0, exports.PartnersApiFp)(configuration);
|
|
184
184
|
return {
|
|
185
185
|
/**
|
|
186
|
-
* Validates a partner identity by partnerNumber and
|
|
186
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
187
187
|
* @summary Validate a partner
|
|
188
188
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
189
189
|
* @param {string} [authorization] Bearer Token
|
|
@@ -208,7 +208,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
208
208
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* Validates a partner identity by partnerNumber and
|
|
211
|
+
* Validates a partner identity by partnerNumber and at least 2 of: birthdate, postalCode, email, primaryPhone. All provided fields must match (AND logic). Never returns partner data — only isValid.
|
|
212
212
|
* @summary Validate a partner
|
|
213
213
|
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
214
214
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
|
@@ -39,8 +39,7 @@ export declare enum Environment {
|
|
|
39
39
|
Test = "https://apiv2-test.emil.de",
|
|
40
40
|
Staging = "https://apiv2-staging.emil.de",
|
|
41
41
|
Development = "https://apiv2-dev.emil.de",
|
|
42
|
-
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
43
|
-
StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
|
|
42
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
44
43
|
}
|
|
45
44
|
export declare function resetRetry(): void;
|
|
46
45
|
/**
|
package/dist/base.js
CHANGED
|
@@ -102,7 +102,6 @@ var Environment;
|
|
|
102
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
-
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
106
105
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
107
106
|
var _retry_count = 0;
|
|
108
107
|
var _retry = null;
|
|
@@ -22,9 +22,27 @@ export interface ValidatePartnerRequestDto {
|
|
|
22
22
|
*/
|
|
23
23
|
'partnerNumber': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
25
|
+
* Partner birthdate to validate against partner data.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ValidatePartnerRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'birthdate'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Postal code to validate against partner data.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ValidatePartnerRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'postalCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Email address to validate against partner data.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ValidatePartnerRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'email'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Primary phone number to validate against partner data.
|
|
44
|
+
* @type {string}
|
|
27
45
|
* @memberof ValidatePartnerRequestDto
|
|
28
46
|
*/
|
|
29
|
-
'
|
|
47
|
+
'primaryPhone'?: string;
|
|
30
48
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ValidatePartnerResponseClass {
|
|
18
18
|
/**
|
|
19
|
-
* True when the partner was found and all provided
|
|
19
|
+
* True when the partner was found and all provided validation fields matched.
|
|
20
20
|
* @type {boolean}
|
|
21
21
|
* @memberof ValidatePartnerResponseClass
|
|
22
22
|
*/
|
|
@@ -27,10 +27,28 @@ export interface ValidatePartnerRequestDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'partnerNumber': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {
|
|
30
|
+
* Partner birthdate to validate against partner data.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ValidatePartnerRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'birthdate'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Postal code to validate against partner data.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ValidatePartnerRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'postalCode'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Email address to validate against partner data.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ValidatePartnerRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'email'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Primary phone number to validate against partner data.
|
|
49
|
+
* @type {string}
|
|
32
50
|
* @memberof ValidatePartnerRequestDto
|
|
33
51
|
*/
|
|
34
|
-
'
|
|
52
|
+
'primaryPhone'?: string;
|
|
35
53
|
}
|
|
36
54
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface ValidatePartnerResponseClass {
|
|
23
23
|
/**
|
|
24
|
-
* True when the partner was found and all provided
|
|
24
|
+
* True when the partner was found and all provided validation fields matched.
|
|
25
25
|
* @type {boolean}
|
|
26
26
|
* @memberof ValidatePartnerResponseClass
|
|
27
27
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/public-api-sdk",
|
|
3
|
-
"version": "1.39.1-beta.
|
|
3
|
+
"version": "1.39.1-beta.3",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/public-api-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "1.
|
|
21
|
+
"axios": "1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|