@emilgroup/partner-sdk-node 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 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-node@1.23.1-beta.0 --save
20
+ npm install @emilgroup/partner-sdk-node@1.23.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk-node@1.23.1-beta.0
24
+ yarn add @emilgroup/partner-sdk-node@1.23.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `PartnersApi`.
@@ -686,7 +686,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
686
686
  };
687
687
  },
688
688
  /**
689
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
689
+ * 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
690
690
  * @summary Validate a partner
691
691
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
692
692
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -899,7 +899,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
899
899
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
900
900
  },
901
901
  /**
902
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
902
+ * 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
903
903
  * @summary Validate a partner
904
904
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
905
905
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1066,7 +1066,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
1066
1066
  return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
1067
1067
  },
1068
1068
  /**
1069
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
1069
+ * 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
1070
1070
  * @summary Validate a partner
1071
1071
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
1072
1072
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1639,7 +1639,7 @@ export class PartnersApi extends BaseAPI {
1639
1639
  }
1640
1640
 
1641
1641
  /**
1642
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
1642
+ * 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
1643
1643
  * @summary Validate a partner
1644
1644
  * @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
1645
1645
  * @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 custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
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 custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
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 custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
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 custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
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.
@@ -726,7 +726,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
726
726
  });
727
727
  },
728
728
  /**
729
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
729
+ * 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
730
730
  * @summary Validate a partner
731
731
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
732
732
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1040,7 +1040,7 @@ var PartnersApiFp = function (configuration) {
1040
1040
  });
1041
1041
  },
1042
1042
  /**
1043
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
1043
+ * 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
1044
1044
  * @summary Validate a partner
1045
1045
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
1046
1046
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1216,7 +1216,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
1216
1216
  return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1217
1217
  },
1218
1218
  /**
1219
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
1219
+ * 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
1220
1220
  * @summary Validate a partner
1221
1221
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
1222
1222
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1374,7 +1374,7 @@ var PartnersApi = /** @class */ (function (_super) {
1374
1374
  return (0, exports.PartnersApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1375
1375
  };
1376
1376
  /**
1377
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
1377
+ * 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
1378
1378
  * @summary Validate a partner
1379
1379
  * @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
1380
1380
  * @param {*} [options] Override http request option.
@@ -22,9 +22,27 @@ export interface ValidatePartnerRequestDto {
22
22
  */
23
23
  'partnerNumber': string;
24
24
  /**
25
- * Dynamic key-value pairs matched against partner custom fields (top-level or one level deep). All provided fields must match — AND logic. If omitted or empty, validation passes without checking custom fields.
26
- * @type {object}
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
- 'validationFields'?: object;
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 validationFields matched. Also true when validationFields is absent or empty.
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
- * Dynamic key-value pairs matched against partner custom fields (top-level or one level deep). All provided fields must match — AND logic. If omitted or empty, validation passes without checking custom fields.
31
- * @type {object}
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
- 'validationFields'?: object;
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 validationFields matched. Also true when validationFields is absent or empty.
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-node",
3
- "version": "1.23.1-beta.0",
3
+ "version": "1.23.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/partner-sdk-node",
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.12.0",
21
+ "axios": "1.18.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },