@emilgroup/partner-sdk-node 1.4.1-beta.0 → 1.5.0
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/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/api/partner-relations-api.ts +8 -8
- package/api/partner-tags-api.ts +8 -8
- package/api/partner-types-api.ts +4 -4
- package/api/partner-version-api.ts +4 -4
- package/api/partners-api.ts +8 -8
- package/base.ts +3 -3
- package/dist/api/partner-relations-api.d.ts +8 -8
- package/dist/api/partner-relations-api.js +6 -6
- package/dist/api/partner-tags-api.d.ts +8 -8
- package/dist/api/partner-tags-api.js +7 -7
- package/dist/api/partner-types-api.d.ts +4 -4
- package/dist/api/partner-types-api.js +4 -4
- package/dist/api/partner-version-api.d.ts +4 -4
- package/dist/api/partner-version-api.js +3 -3
- package/dist/api/partners-api.d.ts +8 -8
- package/dist/api/partners-api.js +7 -7
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -2
- package/dist/models/create-partner-type-request-dto.d.ts +2 -3
- package/dist/models/create-partner-type-response-class.d.ts +1 -1
- package/dist/models/create-tag-request-dto.d.ts +1 -1
- package/dist/models/get-partner-type-response-class.d.ts +1 -1
- package/dist/models/get-partner-version-response-class.d.ts +3 -3
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/list-partner-relation-class.d.ts +1 -1
- package/dist/models/list-partner-relation-types-class.d.ts +1 -1
- package/dist/models/list-partner-types-response-class.d.ts +1 -1
- package/dist/models/list-partner-versions-response-class.d.ts +7 -1
- package/dist/models/list-partners-response-class.d.ts +1 -1
- package/dist/models/partner-class.d.ts +12 -6
- package/dist/models/partner-relation-class.d.ts +12 -0
- package/dist/models/partner-relation-type-class.d.ts +12 -0
- package/dist/models/partner-type-class.d.ts +12 -0
- package/dist/models/tag-class.d.ts +12 -0
- package/dist/models/update-partner-type-request-dto.d.ts +2 -3
- package/dist/models/update-partner-type-response-class.d.ts +1 -1
- package/models/create-partner-type-request-dto.ts +2 -3
- package/models/create-partner-type-response-class.ts +1 -1
- package/models/create-tag-request-dto.ts +1 -1
- package/models/get-partner-type-response-class.ts +1 -1
- package/models/get-partner-version-response-class.ts +3 -3
- package/models/index.ts +0 -1
- package/models/list-partner-relation-class.ts +1 -1
- package/models/list-partner-relation-types-class.ts +1 -1
- package/models/list-partner-types-response-class.ts +1 -1
- package/models/list-partner-versions-response-class.ts +7 -1
- package/models/list-partners-response-class.ts +1 -1
- package/models/partner-class.ts +12 -6
- package/models/partner-relation-class.ts +12 -0
- package/models/partner-relation-type-class.ts +12 -0
- package/models/partner-type-class.ts +12 -0
- package/models/tag-class.ts +12 -0
- package/models/update-partner-type-request-dto.ts +2 -3
- package/models/update-partner-type-response-class.ts +1 -1
- package/package.json +1 -1
- package/dist/models/partner-type-custom-schema-dto.d.ts +0 -102
- package/dist/models/partner-type-custom-schema-dto.js +0 -15
- package/models/partner-type-custom-schema-dto.ts +0 -108
|
@@ -42,7 +42,7 @@ export declare const PartnerTagsApiAxiosParamCreator: (configuration?: Configura
|
|
|
42
42
|
*/
|
|
43
43
|
deleteTag: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
45
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
46
46
|
* @summary Retrieve the partner tag
|
|
47
47
|
* @param {string} code Unique identifier for the object.
|
|
48
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -59,7 +59,7 @@ export declare const PartnerTagsApiAxiosParamCreator: (configuration?: Configura
|
|
|
59
59
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
60
60
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
61
61
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, slug, label, createdAt, updatedAt</i>
|
|
62
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
62
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
63
63
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
@@ -99,7 +99,7 @@ export declare const PartnerTagsApiFp: (configuration?: Configuration) => {
|
|
|
99
99
|
*/
|
|
100
100
|
deleteTag(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
101
101
|
/**
|
|
102
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
102
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
103
103
|
* @summary Retrieve the partner tag
|
|
104
104
|
* @param {string} code Unique identifier for the object.
|
|
105
105
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -116,7 +116,7 @@ export declare const PartnerTagsApiFp: (configuration?: Configuration) => {
|
|
|
116
116
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
117
117
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
118
118
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, slug, label, createdAt, updatedAt</i>
|
|
119
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
119
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
120
120
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
@@ -156,7 +156,7 @@ export declare const PartnerTagsApiFactory: (configuration?: Configuration, base
|
|
|
156
156
|
*/
|
|
157
157
|
deleteTag(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
158
158
|
/**
|
|
159
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
159
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
160
160
|
* @summary Retrieve the partner tag
|
|
161
161
|
* @param {string} code Unique identifier for the object.
|
|
162
162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -173,7 +173,7 @@ export declare const PartnerTagsApiFactory: (configuration?: Configuration, base
|
|
|
173
173
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
174
174
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
175
175
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, slug, label, createdAt, updatedAt</i>
|
|
176
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
176
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
177
177
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
@@ -289,7 +289,7 @@ export interface PartnerTagsApiListTagsRequest {
|
|
|
289
289
|
*/
|
|
290
290
|
readonly order?: string;
|
|
291
291
|
/**
|
|
292
|
-
* Expand to fetch additional information about the list items.
|
|
292
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
293
293
|
* @type {string}
|
|
294
294
|
* @memberof PartnerTagsApiListTags
|
|
295
295
|
*/
|
|
@@ -346,7 +346,7 @@ export declare class PartnerTagsApi extends BaseAPI {
|
|
|
346
346
|
*/
|
|
347
347
|
deleteTag(requestParameters: PartnerTagsApiDeleteTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
348
348
|
/**
|
|
349
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
349
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
350
350
|
* @summary Retrieve the partner tag
|
|
351
351
|
* @param {PartnerTagsApiGetTagRequest} requestParameters Request parameters.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
@@ -194,7 +194,7 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
197
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
198
198
|
* @summary Retrieve the partner tag
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -250,7 +250,7 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
250
250
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
251
251
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
252
252
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, slug, label, createdAt, updatedAt</i>
|
|
253
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
253
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
254
254
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
@@ -414,7 +414,7 @@ var PartnerTagsApiFp = function (configuration) {
|
|
|
414
414
|
});
|
|
415
415
|
},
|
|
416
416
|
/**
|
|
417
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
417
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
418
418
|
* @summary Retrieve the partner tag
|
|
419
419
|
* @param {string} code Unique identifier for the object.
|
|
420
420
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -443,7 +443,7 @@ var PartnerTagsApiFp = function (configuration) {
|
|
|
443
443
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
444
444
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
445
445
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, slug, label, createdAt, updatedAt</i>
|
|
446
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
446
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
447
447
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
448
448
|
* @param {*} [options] Override http request option.
|
|
449
449
|
* @throws {RequiredError}
|
|
@@ -515,7 +515,7 @@ var PartnerTagsApiFactory = function (configuration, basePath, axios) {
|
|
|
515
515
|
return localVarFp.deleteTag(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
516
516
|
},
|
|
517
517
|
/**
|
|
518
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
518
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
519
519
|
* @summary Retrieve the partner tag
|
|
520
520
|
* @param {string} code Unique identifier for the object.
|
|
521
521
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -534,7 +534,7 @@ var PartnerTagsApiFactory = function (configuration, basePath, axios) {
|
|
|
534
534
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
535
535
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
536
536
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, slug, label, createdAt, updatedAt</i>
|
|
537
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
537
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
538
538
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, slug, label</i>
|
|
539
539
|
* @param {*} [options] Override http request option.
|
|
540
540
|
* @throws {RequiredError}
|
|
@@ -592,7 +592,7 @@ var PartnerTagsApi = /** @class */ (function (_super) {
|
|
|
592
592
|
return (0, exports.PartnerTagsApiFp)(this.configuration).deleteTag(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
593
593
|
};
|
|
594
594
|
/**
|
|
595
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
595
|
+
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
|
|
596
596
|
* @summary Retrieve the partner tag
|
|
597
597
|
* @param {PartnerTagsApiGetTagRequest} requestParameters Request parameters.
|
|
598
598
|
* @param {*} [options] Override http request option.
|
|
@@ -43,7 +43,7 @@ export declare const PartnerTypesApiAxiosParamCreator: (configuration?: Configur
|
|
|
43
43
|
*/
|
|
44
44
|
deletePartnerType: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
46
|
+
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
47
47
|
* @summary Retrieve the partner-types
|
|
48
48
|
* @param {string} code Unique identifier for the object.
|
|
49
49
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -102,7 +102,7 @@ export declare const PartnerTypesApiFp: (configuration?: Configuration) => {
|
|
|
102
102
|
*/
|
|
103
103
|
deletePartnerType(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
104
104
|
/**
|
|
105
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
105
|
+
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
106
106
|
* @summary Retrieve the partner-types
|
|
107
107
|
* @param {string} code Unique identifier for the object.
|
|
108
108
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -161,7 +161,7 @@ export declare const PartnerTypesApiFactory: (configuration?: Configuration, bas
|
|
|
161
161
|
*/
|
|
162
162
|
deletePartnerType(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
163
163
|
/**
|
|
164
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
164
|
+
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
165
165
|
* @summary Retrieve the partner-types
|
|
166
166
|
* @param {string} code Unique identifier for the object.
|
|
167
167
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -365,7 +365,7 @@ export declare class PartnerTypesApi extends BaseAPI {
|
|
|
365
365
|
*/
|
|
366
366
|
deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
367
367
|
/**
|
|
368
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
368
|
+
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
369
369
|
* @summary Retrieve the partner-types
|
|
370
370
|
* @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
@@ -194,7 +194,7 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
197
|
+
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
198
198
|
* @summary Retrieve the partner-types
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -423,7 +423,7 @@ var PartnerTypesApiFp = function (configuration) {
|
|
|
423
423
|
});
|
|
424
424
|
},
|
|
425
425
|
/**
|
|
426
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
426
|
+
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
427
427
|
* @summary Retrieve the partner-types
|
|
428
428
|
* @param {string} code Unique identifier for the object.
|
|
429
429
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -526,7 +526,7 @@ var PartnerTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
526
526
|
return localVarFp.deletePartnerType(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
527
527
|
},
|
|
528
528
|
/**
|
|
529
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
529
|
+
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
530
530
|
* @summary Retrieve the partner-types
|
|
531
531
|
* @param {string} code Unique identifier for the object.
|
|
532
532
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -605,7 +605,7 @@ var PartnerTypesApi = /** @class */ (function (_super) {
|
|
|
605
605
|
return (0, exports.PartnerTypesApiFp)(this.configuration).deletePartnerType(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
606
606
|
};
|
|
607
607
|
/**
|
|
608
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
608
|
+
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
|
|
609
609
|
* @summary Retrieve the partner-types
|
|
610
610
|
* @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
|
|
611
611
|
* @param {*} [options] Override http request option.
|
|
@@ -39,7 +39,7 @@ export declare const PartnerVersionApiAxiosParamCreator: (configuration?: Config
|
|
|
39
39
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
40
40
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
41
41
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: displayName, createdAt, updatedAt, version</i>
|
|
42
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
42
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType<i>
|
|
43
43
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
@@ -71,7 +71,7 @@ export declare const PartnerVersionApiFp: (configuration?: Configuration) => {
|
|
|
71
71
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
72
72
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
73
73
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: displayName, createdAt, updatedAt, version</i>
|
|
74
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
74
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType<i>
|
|
75
75
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
@@ -103,7 +103,7 @@ export declare const PartnerVersionApiFactory: (configuration?: Configuration, b
|
|
|
103
103
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
104
104
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
105
105
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: displayName, createdAt, updatedAt, version</i>
|
|
106
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
106
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType<i>
|
|
107
107
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
109
109
|
* @throws {RequiredError}
|
|
@@ -184,7 +184,7 @@ export interface PartnerVersionApiListPartnerVersionRequest {
|
|
|
184
184
|
*/
|
|
185
185
|
readonly order?: string;
|
|
186
186
|
/**
|
|
187
|
-
* Expand to fetch additional information about the list items.
|
|
187
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType<i>
|
|
188
188
|
* @type {string}
|
|
189
189
|
* @memberof PartnerVersionApiListPartnerVersion
|
|
190
190
|
*/
|
|
@@ -158,7 +158,7 @@ var PartnerVersionApiAxiosParamCreator = function (configuration) {
|
|
|
158
158
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
159
159
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
160
160
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: displayName, createdAt, updatedAt, version</i>
|
|
161
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
161
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType<i>
|
|
162
162
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
164
164
|
* @throws {RequiredError}
|
|
@@ -266,7 +266,7 @@ var PartnerVersionApiFp = function (configuration) {
|
|
|
266
266
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
267
267
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
268
268
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: displayName, createdAt, updatedAt, version</i>
|
|
269
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
269
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType<i>
|
|
270
270
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
271
271
|
* @param {*} [options] Override http request option.
|
|
272
272
|
* @throws {RequiredError}
|
|
@@ -316,7 +316,7 @@ var PartnerVersionApiFactory = function (configuration, basePath, axios) {
|
|
|
316
316
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
317
317
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
318
318
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: displayName, createdAt, updatedAt, version</i>
|
|
319
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
319
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType<i>
|
|
320
320
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, version, displayName, updatedAt, updatedBy</i>
|
|
321
321
|
* @param {*} [options] Override http request option.
|
|
322
322
|
* @throws {RequiredError}
|
|
@@ -44,7 +44,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
44
44
|
*/
|
|
45
45
|
deletePartner: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
/**
|
|
47
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
47
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
48
48
|
* @summary Retrieve the partner
|
|
49
49
|
* @param {string} code Unique identifier for the object.
|
|
50
50
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -62,7 +62,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
62
62
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
63
63
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
64
64
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
65
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
65
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
66
66
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
@@ -113,7 +113,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
113
113
|
*/
|
|
114
114
|
deletePartner(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
115
115
|
/**
|
|
116
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
116
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
117
117
|
* @summary Retrieve the partner
|
|
118
118
|
* @param {string} code Unique identifier for the object.
|
|
119
119
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -131,7 +131,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
131
131
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
132
132
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
133
133
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
134
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
134
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
135
135
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
136
136
|
* @param {*} [options] Override http request option.
|
|
137
137
|
* @throws {RequiredError}
|
|
@@ -182,7 +182,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
182
182
|
*/
|
|
183
183
|
deletePartner(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
184
184
|
/**
|
|
185
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
185
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
186
186
|
* @summary Retrieve the partner
|
|
187
187
|
* @param {string} code Unique identifier for the object.
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -200,7 +200,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
200
200
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
201
201
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
202
202
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
203
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
203
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
204
204
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
205
205
|
* @param {*} [options] Override http request option.
|
|
206
206
|
* @throws {RequiredError}
|
|
@@ -333,7 +333,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
333
333
|
*/
|
|
334
334
|
readonly order?: string;
|
|
335
335
|
/**
|
|
336
|
-
* Expand to fetch additional information about the list items.
|
|
336
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
337
337
|
* @type {string}
|
|
338
338
|
* @memberof PartnersApiListPartners
|
|
339
339
|
*/
|
|
@@ -421,7 +421,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
421
421
|
*/
|
|
422
422
|
deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
423
423
|
/**
|
|
424
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
424
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
425
425
|
* @summary Retrieve the partner
|
|
426
426
|
* @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
|
|
427
427
|
* @param {*} [options] Override http request option.
|
package/dist/api/partners-api.js
CHANGED
|
@@ -194,7 +194,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
197
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
198
198
|
* @summary Retrieve the partner
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -254,7 +254,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
254
254
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
255
255
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
256
256
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
257
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
257
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
258
258
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
259
259
|
* @param {*} [options] Override http request option.
|
|
260
260
|
* @throws {RequiredError}
|
|
@@ -476,7 +476,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
476
476
|
});
|
|
477
477
|
},
|
|
478
478
|
/**
|
|
479
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
479
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
480
480
|
* @summary Retrieve the partner
|
|
481
481
|
* @param {string} code Unique identifier for the object.
|
|
482
482
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -506,7 +506,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
506
506
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
507
507
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
508
508
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
509
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
509
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
510
510
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
511
511
|
* @param {*} [options] Override http request option.
|
|
512
512
|
* @throws {RequiredError}
|
|
@@ -601,7 +601,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
601
601
|
return localVarFp.deletePartner(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
602
602
|
},
|
|
603
603
|
/**
|
|
604
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
604
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
605
605
|
* @summary Retrieve the partner
|
|
606
606
|
* @param {string} code Unique identifier for the object.
|
|
607
607
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -621,7 +621,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
621
621
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
622
622
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
623
623
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
624
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
624
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
625
625
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
626
626
|
* @param {*} [options] Override http request option.
|
|
627
627
|
* @throws {RequiredError}
|
|
@@ -692,7 +692,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
692
692
|
return (0, exports.PartnersApiFp)(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
693
693
|
};
|
|
694
694
|
/**
|
|
695
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
695
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
696
696
|
* @summary Retrieve the partner
|
|
697
697
|
* @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
|
|
698
698
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
24
24
|
};
|
|
25
25
|
export interface LoginClass {
|
|
26
26
|
accessToken: string;
|
|
27
|
-
permissions:
|
|
27
|
+
permissions: string;
|
|
28
28
|
}
|
|
29
29
|
export declare enum Environment {
|
|
30
30
|
Production = "https://apiv2.emil.de",
|
|
@@ -53,7 +53,7 @@ export declare class BaseAPI {
|
|
|
53
53
|
protected configuration: Configuration;
|
|
54
54
|
private username?;
|
|
55
55
|
private password?;
|
|
56
|
-
private permissions
|
|
56
|
+
private permissions?;
|
|
57
57
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
58
58
|
initialize(env?: Environment): Promise<void>;
|
|
59
59
|
private loadCredentials;
|
package/dist/base.js
CHANGED
|
@@ -150,7 +150,6 @@ var BaseAPI = /** @class */ (function () {
|
|
|
150
150
|
if (axios === void 0) { axios = axios_1.default; }
|
|
151
151
|
this.basePath = basePath;
|
|
152
152
|
this.axios = axios;
|
|
153
|
-
this.permissions = [];
|
|
154
153
|
if (configuration) {
|
|
155
154
|
this.configuration = configuration;
|
|
156
155
|
this.basePath = configuration.basePath || this.basePath;
|
|
@@ -244,7 +243,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
244
243
|
this.configuration.basePath = env;
|
|
245
244
|
};
|
|
246
245
|
BaseAPI.prototype.getPermissions = function () {
|
|
247
|
-
return this.permissions;
|
|
246
|
+
return this.permissions.split(',');
|
|
248
247
|
};
|
|
249
248
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
250
249
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { PartnerTypeCustomSchemaDto } from './partner-type-custom-schema-dto';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -30,10 +29,10 @@ export interface CreatePartnerTypeRequestDto {
|
|
|
30
29
|
'slug': CreatePartnerTypeRequestDtoSlugEnum;
|
|
31
30
|
/**
|
|
32
31
|
* The partner type schema array of object based on json schema.
|
|
33
|
-
* @type {Array<
|
|
32
|
+
* @type {Array<string>}
|
|
34
33
|
* @memberof CreatePartnerTypeRequestDto
|
|
35
34
|
*/
|
|
36
|
-
'schemas': Array<
|
|
35
|
+
'schemas': Array<string>;
|
|
37
36
|
}
|
|
38
37
|
export declare const CreatePartnerTypeRequestDtoSlugEnum: {
|
|
39
38
|
readonly Person: "person";
|
|
@@ -17,7 +17,7 @@ import { PartnerTypeClass } from './partner-type-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CreatePartnerTypeResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
20
|
+
* The partner type response.
|
|
21
21
|
* @type {PartnerTypeClass}
|
|
22
22
|
* @memberof CreatePartnerTypeResponseClass
|
|
23
23
|
*/
|
|
@@ -17,7 +17,7 @@ import { PartnerTypeClass } from './partner-type-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface GetPartnerTypeResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
20
|
+
* The partner type response.
|
|
21
21
|
* @type {PartnerTypeClass}
|
|
22
22
|
* @memberof GetPartnerTypeResponseClass
|
|
23
23
|
*/
|
|
@@ -17,9 +17,9 @@ import { PartnerClass } from './partner-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface GetPartnerVersionResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
21
|
-
* @type {
|
|
20
|
+
* The partner response.
|
|
21
|
+
* @type {PartnerClass}
|
|
22
22
|
* @memberof GetPartnerVersionResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'partnerVersion':
|
|
24
|
+
'partnerVersion': PartnerClass;
|
|
25
25
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export * from './partner-class';
|
|
|
25
25
|
export * from './partner-relation-class';
|
|
26
26
|
export * from './partner-relation-type-class';
|
|
27
27
|
export * from './partner-type-class';
|
|
28
|
-
export * from './partner-type-custom-schema-dto';
|
|
29
28
|
export * from './tag-class';
|
|
30
29
|
export * from './tag-partner-request-dto-rest';
|
|
31
30
|
export * from './update-partner-relation-request-dto-rest';
|
package/dist/models/index.js
CHANGED
|
@@ -41,7 +41,6 @@ __exportStar(require("./partner-class"), exports);
|
|
|
41
41
|
__exportStar(require("./partner-relation-class"), exports);
|
|
42
42
|
__exportStar(require("./partner-relation-type-class"), exports);
|
|
43
43
|
__exportStar(require("./partner-type-class"), exports);
|
|
44
|
-
__exportStar(require("./partner-type-custom-schema-dto"), exports);
|
|
45
44
|
__exportStar(require("./tag-class"), exports);
|
|
46
45
|
__exportStar(require("./tag-partner-request-dto-rest"), exports);
|
|
47
46
|
__exportStar(require("./update-partner-relation-request-dto-rest"), exports);
|