@emilgroup/partner-sdk 1.23.1-beta.0 → 1.23.1-beta.1
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/dist/api/partners-api.d.ts +4 -4
- package/dist/api/partners-api.js +4 -4
- 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/partner-sdk@1.23.1-beta.
|
|
20
|
+
npm install @emilgroup/partner-sdk@1.23.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk@1.23.1-beta.
|
|
24
|
+
yarn add @emilgroup/partner-sdk@1.23.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PartnersApi`.
|
package/api/partners-api.ts
CHANGED
|
@@ -682,7 +682,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
682
682
|
};
|
|
683
683
|
},
|
|
684
684
|
/**
|
|
685
|
-
* Validates a partner identity by partnerNumber and optional
|
|
685
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
686
686
|
* @summary Validate a partner
|
|
687
687
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
688
688
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -895,7 +895,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
|
|
|
895
895
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
896
896
|
},
|
|
897
897
|
/**
|
|
898
|
-
* Validates a partner identity by partnerNumber and optional
|
|
898
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
899
899
|
* @summary Validate a partner
|
|
900
900
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
901
901
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1062,7 +1062,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
|
|
|
1062
1062
|
return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1063
1063
|
},
|
|
1064
1064
|
/**
|
|
1065
|
-
* Validates a partner identity by partnerNumber and optional
|
|
1065
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1066
1066
|
* @summary Validate a partner
|
|
1067
1067
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
1068
1068
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1635,7 +1635,7 @@ export class PartnersApi extends BaseAPI {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
1637
|
/**
|
|
1638
|
-
* Validates a partner identity by partnerNumber and optional
|
|
1638
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1639
1639
|
* @summary Validate a partner
|
|
1640
1640
|
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
1641
1641
|
* @param {*} [options] Override http request option.
|
|
@@ -157,7 +157,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
157
157
|
*/
|
|
158
158
|
updatePartner: (code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
159
159
|
/**
|
|
160
|
-
* Validates a partner identity by partnerNumber and optional
|
|
160
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
161
161
|
* @summary Validate a partner
|
|
162
162
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
163
163
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -295,7 +295,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
295
295
|
*/
|
|
296
296
|
updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePartnerResponseClass>>;
|
|
297
297
|
/**
|
|
298
|
-
* Validates a partner identity by partnerNumber and optional
|
|
298
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
299
299
|
* @summary Validate a partner
|
|
300
300
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
301
301
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -433,7 +433,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
433
433
|
*/
|
|
434
434
|
updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerResponseClass>;
|
|
435
435
|
/**
|
|
436
|
-
* Validates a partner identity by partnerNumber and optional
|
|
436
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
437
437
|
* @summary Validate a partner
|
|
438
438
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
439
439
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -921,7 +921,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
921
921
|
*/
|
|
922
922
|
updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any, {}>>;
|
|
923
923
|
/**
|
|
924
|
-
* Validates a partner identity by partnerNumber and optional
|
|
924
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
925
925
|
* @summary Validate a partner
|
|
926
926
|
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
927
927
|
* @param {*} [options] Override http request option.
|
package/dist/api/partners-api.js
CHANGED
|
@@ -722,7 +722,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
722
722
|
});
|
|
723
723
|
},
|
|
724
724
|
/**
|
|
725
|
-
* Validates a partner identity by partnerNumber and optional
|
|
725
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
726
726
|
* @summary Validate a partner
|
|
727
727
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
728
728
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1036,7 +1036,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
1036
1036
|
});
|
|
1037
1037
|
},
|
|
1038
1038
|
/**
|
|
1039
|
-
* Validates a partner identity by partnerNumber and optional
|
|
1039
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1040
1040
|
* @summary Validate a partner
|
|
1041
1041
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
1042
1042
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1212,7 +1212,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1212
1212
|
return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1213
1213
|
},
|
|
1214
1214
|
/**
|
|
1215
|
-
* Validates a partner identity by partnerNumber and optional
|
|
1215
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1216
1216
|
* @summary Validate a partner
|
|
1217
1217
|
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
1218
1218
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1370,7 +1370,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
1370
1370
|
return (0, exports.PartnersApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1371
1371
|
};
|
|
1372
1372
|
/**
|
|
1373
|
-
* Validates a partner identity by partnerNumber and optional
|
|
1373
|
+
* Validates a partner identity by partnerNumber and optional field values. All provided fields must match (AND logic). If no validation fields are provided, the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1374
1374
|
* @summary Validate a partner
|
|
1375
1375
|
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
1376
1376
|
* @param {*} [options] Override http request option.
|
|
@@ -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. Also true when no validation fields are provided.
|
|
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. Also true when no validation fields are provided.
|
|
25
25
|
* @type {boolean}
|
|
26
26
|
* @memberof ValidatePartnerResponseClass
|
|
27
27
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/partner-sdk",
|
|
3
|
-
"version": "1.23.1-beta.
|
|
3
|
+
"version": "1.23.1-beta.1",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/partner-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.18.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|