@emilgroup/partner-sdk 1.4.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/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-response-class.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/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-response-class.d.ts +1 -1
- package/models/create-partner-type-response-class.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/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-response-class.ts +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
@@ -190,7 +190,7 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
193
|
+
* 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.
|
|
194
194
|
* @summary Retrieve the partner tag
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -246,7 +246,7 @@ var PartnerTagsApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
* @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>
|
|
247
247
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
248
248
|
* @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>
|
|
249
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
249
|
+
* @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>
|
|
250
250
|
* @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>
|
|
251
251
|
* @param {*} [options] Override http request option.
|
|
252
252
|
* @throws {RequiredError}
|
|
@@ -410,7 +410,7 @@ var PartnerTagsApiFp = function (configuration) {
|
|
|
410
410
|
});
|
|
411
411
|
},
|
|
412
412
|
/**
|
|
413
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
413
|
+
* 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.
|
|
414
414
|
* @summary Retrieve the partner tag
|
|
415
415
|
* @param {string} code Unique identifier for the object.
|
|
416
416
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -439,7 +439,7 @@ var PartnerTagsApiFp = function (configuration) {
|
|
|
439
439
|
* @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>
|
|
440
440
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
441
441
|
* @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>
|
|
442
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
442
|
+
* @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>
|
|
443
443
|
* @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>
|
|
444
444
|
* @param {*} [options] Override http request option.
|
|
445
445
|
* @throws {RequiredError}
|
|
@@ -511,7 +511,7 @@ var PartnerTagsApiFactory = function (configuration, basePath, axios) {
|
|
|
511
511
|
return localVarFp.deleteTag(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
512
512
|
},
|
|
513
513
|
/**
|
|
514
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
514
|
+
* 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.
|
|
515
515
|
* @summary Retrieve the partner tag
|
|
516
516
|
* @param {string} code Unique identifier for the object.
|
|
517
517
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -530,7 +530,7 @@ var PartnerTagsApiFactory = function (configuration, basePath, axios) {
|
|
|
530
530
|
* @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>
|
|
531
531
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
532
532
|
* @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>
|
|
533
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
533
|
+
* @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>
|
|
534
534
|
* @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>
|
|
535
535
|
* @param {*} [options] Override http request option.
|
|
536
536
|
* @throws {RequiredError}
|
|
@@ -588,7 +588,7 @@ var PartnerTagsApi = /** @class */ (function (_super) {
|
|
|
588
588
|
return (0, exports.PartnerTagsApiFp)(this.configuration).deleteTag(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
589
589
|
};
|
|
590
590
|
/**
|
|
591
|
-
* Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code
|
|
591
|
+
* 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.
|
|
592
592
|
* @summary Retrieve the partner tag
|
|
593
593
|
* @param {PartnerTagsApiGetTagRequest} requestParameters Request parameters.
|
|
594
594
|
* @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.
|
|
@@ -190,7 +190,7 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
193
|
+
* 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.
|
|
194
194
|
* @summary Retrieve the partner-types
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -419,7 +419,7 @@ var PartnerTypesApiFp = function (configuration) {
|
|
|
419
419
|
});
|
|
420
420
|
},
|
|
421
421
|
/**
|
|
422
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
422
|
+
* 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.
|
|
423
423
|
* @summary Retrieve the partner-types
|
|
424
424
|
* @param {string} code Unique identifier for the object.
|
|
425
425
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -522,7 +522,7 @@ var PartnerTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
522
522
|
return localVarFp.deletePartnerType(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
523
523
|
},
|
|
524
524
|
/**
|
|
525
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
525
|
+
* 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.
|
|
526
526
|
* @summary Retrieve the partner-types
|
|
527
527
|
* @param {string} code Unique identifier for the object.
|
|
528
528
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -601,7 +601,7 @@ var PartnerTypesApi = /** @class */ (function (_super) {
|
|
|
601
601
|
return (0, exports.PartnerTypesApiFp)(this.configuration).deletePartnerType(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
602
602
|
};
|
|
603
603
|
/**
|
|
604
|
-
* Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code
|
|
604
|
+
* 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.
|
|
605
605
|
* @summary Retrieve the partner-types
|
|
606
606
|
* @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
|
|
607
607
|
* @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
|
*/
|
|
@@ -154,7 +154,7 @@ var PartnerVersionApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
* @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>
|
|
155
155
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
156
156
|
* @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>
|
|
157
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
157
|
+
* @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>
|
|
158
158
|
* @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>
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
@@ -262,7 +262,7 @@ var PartnerVersionApiFp = function (configuration) {
|
|
|
262
262
|
* @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>
|
|
263
263
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
264
264
|
* @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>
|
|
265
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
265
|
+
* @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>
|
|
266
266
|
* @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>
|
|
267
267
|
* @param {*} [options] Override http request option.
|
|
268
268
|
* @throws {RequiredError}
|
|
@@ -312,7 +312,7 @@ var PartnerVersionApiFactory = function (configuration, basePath, axios) {
|
|
|
312
312
|
* @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>
|
|
313
313
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
314
314
|
* @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>
|
|
315
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
315
|
+
* @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>
|
|
316
316
|
* @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>
|
|
317
317
|
* @param {*} [options] Override http request option.
|
|
318
318
|
* @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
|
@@ -190,7 +190,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
193
|
+
* 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.
|
|
194
194
|
* @summary Retrieve the partner
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -250,7 +250,7 @@ var PartnersApiAxiosParamCreator = 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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</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: partnerType, tags<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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId</i>
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
@@ -472,7 +472,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
472
472
|
});
|
|
473
473
|
},
|
|
474
474
|
/**
|
|
475
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
475
|
+
* 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.
|
|
476
476
|
* @summary Retrieve the partner
|
|
477
477
|
* @param {string} code Unique identifier for the object.
|
|
478
478
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -502,7 +502,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
502
502
|
* @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>
|
|
503
503
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
504
504
|
* @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>
|
|
505
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
505
|
+
* @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>
|
|
506
506
|
* @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>
|
|
507
507
|
* @param {*} [options] Override http request option.
|
|
508
508
|
* @throws {RequiredError}
|
|
@@ -597,7 +597,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
597
597
|
return localVarFp.deletePartner(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
598
598
|
},
|
|
599
599
|
/**
|
|
600
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
600
|
+
* 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.
|
|
601
601
|
* @summary Retrieve the partner
|
|
602
602
|
* @param {string} code Unique identifier for the object.
|
|
603
603
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -617,7 +617,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
617
617
|
* @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>
|
|
618
618
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
619
619
|
* @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>
|
|
620
|
-
* @param {string} [expand] Expand to fetch additional information about the list items.
|
|
620
|
+
* @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>
|
|
621
621
|
* @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>
|
|
622
622
|
* @param {*} [options] Override http request option.
|
|
623
623
|
* @throws {RequiredError}
|
|
@@ -688,7 +688,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
688
688
|
return (0, exports.PartnersApiFp)(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
689
689
|
};
|
|
690
690
|
/**
|
|
691
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code
|
|
691
|
+
* 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.
|
|
692
692
|
* @summary Retrieve the partner
|
|
693
693
|
* @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
|
|
694
694
|
* @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",
|
|
@@ -52,7 +52,7 @@ export declare class BaseAPI {
|
|
|
52
52
|
protected axios: AxiosInstance;
|
|
53
53
|
protected configuration: Configuration | undefined;
|
|
54
54
|
private tokenData?;
|
|
55
|
-
private permissions
|
|
55
|
+
private permissions?;
|
|
56
56
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
57
57
|
selectEnvironment(env: Environment): void;
|
|
58
58
|
selectBasePath(path: string): void;
|
package/dist/base.js
CHANGED
|
@@ -121,7 +121,6 @@ var BaseAPI = /** @class */ (function () {
|
|
|
121
121
|
if (axios === void 0) { axios = axios_1.default; }
|
|
122
122
|
this.basePath = basePath;
|
|
123
123
|
this.axios = axios;
|
|
124
|
-
this.permissions = [];
|
|
125
124
|
this.loadTokenData();
|
|
126
125
|
if (configuration) {
|
|
127
126
|
this.configuration = configuration;
|
|
@@ -145,7 +144,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
145
144
|
this.configuration.basePath = path;
|
|
146
145
|
};
|
|
147
146
|
BaseAPI.prototype.getPermissions = function () {
|
|
148
|
-
return this.permissions;
|
|
147
|
+
return this.permissions.split(',');
|
|
149
148
|
};
|
|
150
149
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
151
150
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -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
|
}
|
|
@@ -17,7 +17,7 @@ import { PartnerTypeClass } from './partner-type-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ListPartnerTypesResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
* The list of
|
|
20
|
+
* The list of partner typess.
|
|
21
21
|
* @type {Array<PartnerTypeClass>}
|
|
22
22
|
* @memberof ListPartnerTypesResponseClass
|
|
23
23
|
*/
|
|
@@ -17,9 +17,15 @@ import { PartnerClass } from './partner-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ListPartnerVersionsResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
* The list of
|
|
20
|
+
* The list of partnerss.
|
|
21
21
|
* @type {Array<PartnerClass>}
|
|
22
22
|
* @memberof ListPartnerVersionsResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'items': Array<PartnerClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPartnerVersionsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
25
31
|
}
|