@emilgroup/public-api-sdk-node 1.41.1-beta.0 → 1.41.1-beta.2

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/public-api-sdk-node@1.41.1-beta.0 --save
20
+ npm install @emilgroup/public-api-sdk-node@1.41.1-beta.2 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk-node@1.41.1-beta.0
24
+ yarn add @emilgroup/public-api-sdk-node@1.41.1-beta.2
25
25
  ```
26
26
 
27
27
  And then you can import `PublicApi`.
@@ -35,7 +35,7 @@ const FormData = require('form-data');
35
35
  export const PartnersApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * 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.
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
@@ -92,7 +92,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
92
92
  const localVarAxiosParamCreator = PartnersApiAxiosParamCreator(configuration)
93
93
  return {
94
94
  /**
95
- * 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.
95
+ * 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.
96
96
  * @summary Validate a partner
97
97
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
98
98
  * @param {string} [authorization] Bearer Token
@@ -114,7 +114,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
114
114
  const localVarFp = PartnersApiFp(configuration)
115
115
  return {
116
116
  /**
117
- * 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.
117
+ * 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.
118
118
  * @summary Validate a partner
119
119
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
120
120
  * @param {string} [authorization] Bearer Token
@@ -156,7 +156,7 @@ export interface PartnersApiValidatePartnerRequest {
156
156
  */
157
157
  export class PartnersApi extends BaseAPI {
158
158
  /**
159
- * 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.
159
+ * 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.
160
160
  * @summary Validate a partner
161
161
  * @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
162
162
  * @param {*} [options] Override http request option.
@@ -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 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.
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 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.
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 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.
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 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.
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.
@@ -97,7 +97,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * 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.
100
+ * 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.
101
101
  * @summary Validate a partner
102
102
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
103
103
  * @param {string} [authorization] Bearer Token
@@ -156,7 +156,7 @@ var PartnersApiFp = function (configuration) {
156
156
  var localVarAxiosParamCreator = (0, exports.PartnersApiAxiosParamCreator)(configuration);
157
157
  return {
158
158
  /**
159
- * 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.
159
+ * 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.
160
160
  * @summary Validate a partner
161
161
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
162
162
  * @param {string} [authorization] Bearer Token
@@ -187,7 +187,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
187
187
  var localVarFp = (0, exports.PartnersApiFp)(configuration);
188
188
  return {
189
189
  /**
190
- * 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.
190
+ * 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.
191
191
  * @summary Validate a partner
192
192
  * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
193
193
  * @param {string} [authorization] Bearer Token
@@ -212,7 +212,7 @@ var PartnersApi = /** @class */ (function (_super) {
212
212
  return _super !== null && _super.apply(this, arguments) || this;
213
213
  }
214
214
  /**
215
- * 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.
215
+ * 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.
216
216
  * @summary Validate a partner
217
217
  * @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
218
218
  * @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.
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.
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-node",
3
- "version": "1.41.1-beta.0",
3
+ "version": "1.41.1-beta.2",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-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
  },