@emilgroup/public-api-sdk 1.39.1-beta.0 → 1.39.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@1.39.1-beta.0 --save
20
+ npm install @emilgroup/public-api-sdk@1.39.1-beta.2 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk@1.39.1-beta.0
24
+ yarn add @emilgroup/public-api-sdk@1.39.1-beta.2
25
25
  ```
26
26
 
27
27
  And then you can import `PublicApi`.
@@ -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 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.
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 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.
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 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.
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 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.
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.
@@ -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.
@@ -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 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.
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 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.
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 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.
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 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.
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.
@@ -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",
3
- "version": "1.39.1-beta.0",
3
+ "version": "1.39.1-beta.2",
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.12.0"
21
+ "axios": "1.18.0"
22
22
  },
23
23
  "devDependencies": {
24
24