@emilgroup/partner-sdk-node 1.17.0 → 1.17.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/partners-api.ts +16 -16
- package/base.ts +0 -1
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/partner-invitations-api.d.ts +1 -1
- package/dist/api/partner-relations-api.d.ts +7 -7
- package/dist/api/partner-tags-api.d.ts +5 -5
- package/dist/api/partner-types-api.d.ts +5 -5
- package/dist/api/partner-versions-api.d.ts +2 -2
- package/dist/api/partners-api.d.ts +26 -26
- package/dist/api/partners-api.js +12 -12
- package/dist/common.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/partner-sdk-node@1.17.
|
|
20
|
+
npm install @emilgroup/partner-sdk-node@1.17.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk-node@1.17.
|
|
24
|
+
yarn add @emilgroup/partner-sdk-node@1.17.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PartnersApi`.
|
package/api/partners-api.ts
CHANGED
|
@@ -298,11 +298,11 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
298
298
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
299
299
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
300
300
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
301
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
301
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
302
302
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
303
|
-
* @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>
|
|
304
|
-
* @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>
|
|
305
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
303
|
+
* @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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
304
|
+
* @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, partnerTagLabels<i>
|
|
305
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
306
306
|
* @param {*} [options] Override http request option.
|
|
307
307
|
* @throws {RequiredError}
|
|
308
308
|
*/
|
|
@@ -678,11 +678,11 @@ export const PartnersApiFp = function(configuration?: Configuration) {
|
|
|
678
678
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
679
679
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
680
680
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
681
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
681
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
682
682
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
683
|
-
* @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>
|
|
684
|
-
* @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>
|
|
685
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
683
|
+
* @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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
684
|
+
* @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, partnerTagLabels<i>
|
|
685
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
686
686
|
* @param {*} [options] Override http request option.
|
|
687
687
|
* @throws {RequiredError}
|
|
688
688
|
*/
|
|
@@ -820,11 +820,11 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
|
|
|
820
820
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
821
821
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
822
822
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
823
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
823
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
824
824
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
825
|
-
* @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>
|
|
826
|
-
* @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>
|
|
827
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
825
|
+
* @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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
826
|
+
* @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, partnerTagLabels<i>
|
|
827
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
828
828
|
* @param {*} [options] Override http request option.
|
|
829
829
|
* @throws {RequiredError}
|
|
830
830
|
*/
|
|
@@ -1028,7 +1028,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
1028
1028
|
readonly pageToken?: string
|
|
1029
1029
|
|
|
1030
1030
|
/**
|
|
1031
|
-
* 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, tenantUserCode, partnerNumber, accountCode</i>
|
|
1031
|
+
* 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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
1032
1032
|
* @type {string}
|
|
1033
1033
|
* @memberof PartnersApiListPartners
|
|
1034
1034
|
*/
|
|
@@ -1042,21 +1042,21 @@ export interface PartnersApiListPartnersRequest {
|
|
|
1042
1042
|
readonly search?: string
|
|
1043
1043
|
|
|
1044
1044
|
/**
|
|
1045
|
-
* 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>
|
|
1045
|
+
* 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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
1046
1046
|
* @type {string}
|
|
1047
1047
|
* @memberof PartnersApiListPartners
|
|
1048
1048
|
*/
|
|
1049
1049
|
readonly order?: string
|
|
1050
1050
|
|
|
1051
1051
|
/**
|
|
1052
|
-
* 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>
|
|
1052
|
+
* 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, partnerTagLabels<i>
|
|
1053
1053
|
* @type {string}
|
|
1054
1054
|
* @memberof PartnersApiListPartners
|
|
1055
1055
|
*/
|
|
1056
1056
|
readonly expand?: string
|
|
1057
1057
|
|
|
1058
1058
|
/**
|
|
1059
|
-
* 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, tenantUserCode, partnerNumber, accountCode</i>
|
|
1059
|
+
* 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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
1060
1060
|
* @type {string}
|
|
1061
1061
|
* @memberof PartnersApiListPartners
|
|
1062
1062
|
*/
|
package/base.ts
CHANGED
|
@@ -66,5 +66,5 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
* @memberof DefaultApi
|
|
68
68
|
*/
|
|
69
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
|
|
69
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
70
70
|
}
|
|
@@ -93,5 +93,5 @@ export declare class PartnerInvitationsApi extends BaseAPI {
|
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
* @memberof PartnerInvitationsApi
|
|
95
95
|
*/
|
|
96
|
-
invitePartnerToEIS(requestParameters: PartnerInvitationsApiInvitePartnerToEISRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvitePartnerToEisResponseClass, any>>;
|
|
96
|
+
invitePartnerToEIS(requestParameters: PartnerInvitationsApiInvitePartnerToEISRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvitePartnerToEisResponseClass, any, {}>>;
|
|
97
97
|
}
|
|
@@ -492,7 +492,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
492
492
|
* @throws {RequiredError}
|
|
493
493
|
* @memberof PartnerRelationsApi
|
|
494
494
|
*/
|
|
495
|
-
createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerRelationResponseClass, any>>;
|
|
495
|
+
createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerRelationResponseClass, any, {}>>;
|
|
496
496
|
/**
|
|
497
497
|
* Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
498
498
|
* @summary Delete the partner-relation
|
|
@@ -501,7 +501,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
501
501
|
* @throws {RequiredError}
|
|
502
502
|
* @memberof PartnerRelationsApi
|
|
503
503
|
*/
|
|
504
|
-
deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
504
|
+
deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
505
505
|
/**
|
|
506
506
|
* Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
|
|
507
507
|
* @summary Retrieve the partner relation
|
|
@@ -510,7 +510,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
510
510
|
* @throws {RequiredError}
|
|
511
511
|
* @memberof PartnerRelationsApi
|
|
512
512
|
*/
|
|
513
|
-
getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>;
|
|
513
|
+
getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any, {}>>;
|
|
514
514
|
/**
|
|
515
515
|
* Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
516
516
|
* @summary Retrieve the partner relation type
|
|
@@ -519,7 +519,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
* @memberof PartnerRelationsApi
|
|
521
521
|
*/
|
|
522
|
-
getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationTypeClass, any>>;
|
|
522
|
+
getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationTypeClass, any, {}>>;
|
|
523
523
|
/**
|
|
524
524
|
* List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
525
525
|
* @summary List partner relation types
|
|
@@ -528,7 +528,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
528
528
|
* @throws {RequiredError}
|
|
529
529
|
* @memberof PartnerRelationsApi
|
|
530
530
|
*/
|
|
531
|
-
listPartnerRelationTypes(requestParameters?: PartnerRelationsApiListPartnerRelationTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationTypesClass, any>>;
|
|
531
|
+
listPartnerRelationTypes(requestParameters?: PartnerRelationsApiListPartnerRelationTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationTypesClass, any, {}>>;
|
|
532
532
|
/**
|
|
533
533
|
* List all partner relations **Required Permissions** \"partner-management.partners.view\"
|
|
534
534
|
* @summary List partner relations
|
|
@@ -537,7 +537,7 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
537
537
|
* @throws {RequiredError}
|
|
538
538
|
* @memberof PartnerRelationsApi
|
|
539
539
|
*/
|
|
540
|
-
listPartnerRelations(requestParameters?: PartnerRelationsApiListPartnerRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationClass, any>>;
|
|
540
|
+
listPartnerRelations(requestParameters?: PartnerRelationsApiListPartnerRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationClass, any, {}>>;
|
|
541
541
|
/**
|
|
542
542
|
* Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
|
|
543
543
|
* @summary Update the partner relation
|
|
@@ -546,5 +546,5 @@ export declare class PartnerRelationsApi extends BaseAPI {
|
|
|
546
546
|
* @throws {RequiredError}
|
|
547
547
|
* @memberof PartnerRelationsApi
|
|
548
548
|
*/
|
|
549
|
-
updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>;
|
|
549
|
+
updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any, {}>>;
|
|
550
550
|
}
|
|
@@ -335,7 +335,7 @@ export declare class PartnerTagsApi extends BaseAPI {
|
|
|
335
335
|
* @throws {RequiredError}
|
|
336
336
|
* @memberof PartnerTagsApi
|
|
337
337
|
*/
|
|
338
|
-
createTag(requestParameters: PartnerTagsApiCreateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTagResponseClass, any>>;
|
|
338
|
+
createTag(requestParameters: PartnerTagsApiCreateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTagResponseClass, any, {}>>;
|
|
339
339
|
/**
|
|
340
340
|
* Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
341
341
|
* @summary Delete the partner tag
|
|
@@ -344,7 +344,7 @@ export declare class PartnerTagsApi extends BaseAPI {
|
|
|
344
344
|
* @throws {RequiredError}
|
|
345
345
|
* @memberof PartnerTagsApi
|
|
346
346
|
*/
|
|
347
|
-
deleteTag(requestParameters: PartnerTagsApiDeleteTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
347
|
+
deleteTag(requestParameters: PartnerTagsApiDeleteTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
348
348
|
/**
|
|
349
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. **Required Permissions** \"partner-management.partners.view\"
|
|
350
350
|
* @summary Retrieve the partner tag
|
|
@@ -353,7 +353,7 @@ export declare class PartnerTagsApi extends BaseAPI {
|
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
* @memberof PartnerTagsApi
|
|
355
355
|
*/
|
|
356
|
-
getTag(requestParameters: PartnerTagsApiGetTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTagResponseClass, any>>;
|
|
356
|
+
getTag(requestParameters: PartnerTagsApiGetTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTagResponseClass, any, {}>>;
|
|
357
357
|
/**
|
|
358
358
|
* Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
|
|
359
359
|
* @summary List partner tags
|
|
@@ -362,7 +362,7 @@ export declare class PartnerTagsApi extends BaseAPI {
|
|
|
362
362
|
* @throws {RequiredError}
|
|
363
363
|
* @memberof PartnerTagsApi
|
|
364
364
|
*/
|
|
365
|
-
listTags(requestParameters?: PartnerTagsApiListTagsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTagsResponseClass, any>>;
|
|
365
|
+
listTags(requestParameters?: PartnerTagsApiListTagsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTagsResponseClass, any, {}>>;
|
|
366
366
|
/**
|
|
367
367
|
* Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
368
368
|
* @summary Update the partner tag
|
|
@@ -371,5 +371,5 @@ export declare class PartnerTagsApi extends BaseAPI {
|
|
|
371
371
|
* @throws {RequiredError}
|
|
372
372
|
* @memberof PartnerTagsApi
|
|
373
373
|
*/
|
|
374
|
-
updateTag(requestParameters: PartnerTagsApiUpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTagResponseClass, any>>;
|
|
374
|
+
updateTag(requestParameters: PartnerTagsApiUpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTagResponseClass, any, {}>>;
|
|
375
375
|
}
|
|
@@ -354,7 +354,7 @@ export declare class PartnerTypesApi extends BaseAPI {
|
|
|
354
354
|
* @throws {RequiredError}
|
|
355
355
|
* @memberof PartnerTypesApi
|
|
356
356
|
*/
|
|
357
|
-
createPartnerType(requestParameters: PartnerTypesApiCreatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerTypeResponseClass, any>>;
|
|
357
|
+
createPartnerType(requestParameters: PartnerTypesApiCreatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerTypeResponseClass, any, {}>>;
|
|
358
358
|
/**
|
|
359
359
|
* Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
360
360
|
* @summary Delete the partner-types
|
|
@@ -363,7 +363,7 @@ export declare class PartnerTypesApi extends BaseAPI {
|
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
* @memberof PartnerTypesApi
|
|
365
365
|
*/
|
|
366
|
-
deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
366
|
+
deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
367
367
|
/**
|
|
368
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. **Required Permissions** \"partner-management.partners.view\"
|
|
369
369
|
* @summary Retrieve the partner-types
|
|
@@ -372,7 +372,7 @@ export declare class PartnerTypesApi extends BaseAPI {
|
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
* @memberof PartnerTypesApi
|
|
374
374
|
*/
|
|
375
|
-
getPartnerType(requestParameters: PartnerTypesApiGetPartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerTypeResponseClass, any>>;
|
|
375
|
+
getPartnerType(requestParameters: PartnerTypesApiGetPartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerTypeResponseClass, any, {}>>;
|
|
376
376
|
/**
|
|
377
377
|
* Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
|
|
378
378
|
* @summary List partner-types
|
|
@@ -381,7 +381,7 @@ export declare class PartnerTypesApi extends BaseAPI {
|
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
* @memberof PartnerTypesApi
|
|
383
383
|
*/
|
|
384
|
-
listPartnerTypes(requestParameters?: PartnerTypesApiListPartnerTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerTypesResponseClass, any>>;
|
|
384
|
+
listPartnerTypes(requestParameters?: PartnerTypesApiListPartnerTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerTypesResponseClass, any, {}>>;
|
|
385
385
|
/**
|
|
386
386
|
* Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
387
387
|
* @summary Update the partner-types
|
|
@@ -390,5 +390,5 @@ export declare class PartnerTypesApi extends BaseAPI {
|
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
* @memberof PartnerTypesApi
|
|
392
392
|
*/
|
|
393
|
-
updatePartnerType(requestParameters: PartnerTypesApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerTypeResponseClass, any>>;
|
|
393
|
+
updatePartnerType(requestParameters: PartnerTypesApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerTypeResponseClass, any, {}>>;
|
|
394
394
|
}
|
|
@@ -211,7 +211,7 @@ export declare class PartnerVersionsApi extends BaseAPI {
|
|
|
211
211
|
* @throws {RequiredError}
|
|
212
212
|
* @memberof PartnerVersionsApi
|
|
213
213
|
*/
|
|
214
|
-
getPartnerVersion(requestParameters: PartnerVersionsApiGetPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerVersionResponseClass, any>>;
|
|
214
|
+
getPartnerVersion(requestParameters: PartnerVersionsApiGetPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerVersionResponseClass, any, {}>>;
|
|
215
215
|
/**
|
|
216
216
|
* Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
|
|
217
217
|
* @summary List partner versions
|
|
@@ -220,5 +220,5 @@ export declare class PartnerVersionsApi extends BaseAPI {
|
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
* @memberof PartnerVersionsApi
|
|
222
222
|
*/
|
|
223
|
-
listPartnerVersion(requestParameters: PartnerVersionsApiListPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerVersionsResponseClass, any>>;
|
|
223
|
+
listPartnerVersion(requestParameters: PartnerVersionsApiListPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerVersionsResponseClass, any, {}>>;
|
|
224
224
|
}
|
|
@@ -83,11 +83,11 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
83
83
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
84
84
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
85
85
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
86
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
86
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
87
87
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
88
|
-
* @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>
|
|
89
|
-
* @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>
|
|
90
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
88
|
+
* @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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
89
|
+
* @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, partnerTagLabels<i>
|
|
90
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
*/
|
|
@@ -196,11 +196,11 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
197
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
198
198
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
199
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
199
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
200
200
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
201
|
-
* @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>
|
|
202
|
-
* @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>
|
|
203
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
201
|
+
* @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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
202
|
+
* @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, partnerTagLabels<i>
|
|
203
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
204
204
|
* @param {*} [options] Override http request option.
|
|
205
205
|
* @throws {RequiredError}
|
|
206
206
|
*/
|
|
@@ -309,11 +309,11 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
309
309
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
310
310
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
311
311
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
313
313
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
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, tags<i>
|
|
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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
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: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
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, tags, partnerTagLabels<i>
|
|
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: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
317
317
|
* @param {*} [options] Override http request option.
|
|
318
318
|
* @throws {RequiredError}
|
|
319
319
|
*/
|
|
@@ -491,7 +491,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
491
491
|
*/
|
|
492
492
|
readonly pageToken?: string;
|
|
493
493
|
/**
|
|
494
|
-
* 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, tenantUserCode, partnerNumber, accountCode</i>
|
|
494
|
+
* 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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
495
495
|
* @type {string}
|
|
496
496
|
* @memberof PartnersApiListPartners
|
|
497
497
|
*/
|
|
@@ -503,19 +503,19 @@ export interface PartnersApiListPartnersRequest {
|
|
|
503
503
|
*/
|
|
504
504
|
readonly search?: string;
|
|
505
505
|
/**
|
|
506
|
-
* 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>
|
|
506
|
+
* 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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
507
507
|
* @type {string}
|
|
508
508
|
* @memberof PartnersApiListPartners
|
|
509
509
|
*/
|
|
510
510
|
readonly order?: string;
|
|
511
511
|
/**
|
|
512
|
-
* 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>
|
|
512
|
+
* 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, partnerTagLabels<i>
|
|
513
513
|
* @type {string}
|
|
514
514
|
* @memberof PartnersApiListPartners
|
|
515
515
|
*/
|
|
516
516
|
readonly expand?: string;
|
|
517
517
|
/**
|
|
518
|
-
* 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, tenantUserCode, partnerNumber, accountCode</i>
|
|
518
|
+
* 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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
519
519
|
* @type {string}
|
|
520
520
|
* @memberof PartnersApiListPartners
|
|
521
521
|
*/
|
|
@@ -672,7 +672,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
672
672
|
* @throws {RequiredError}
|
|
673
673
|
* @memberof PartnersApi
|
|
674
674
|
*/
|
|
675
|
-
createOrUpdatePartnerFromAccount(requestParameters: PartnersApiCreateOrUpdatePartnerFromAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrUpdatePartnerFromAccountResponseClass, any>>;
|
|
675
|
+
createOrUpdatePartnerFromAccount(requestParameters: PartnersApiCreateOrUpdatePartnerFromAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrUpdatePartnerFromAccountResponseClass, any, {}>>;
|
|
676
676
|
/**
|
|
677
677
|
* This will create a partner. **Required Permissions** \"partner-management.partners.create\"
|
|
678
678
|
* @summary Create the partner
|
|
@@ -681,7 +681,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
681
681
|
* @throws {RequiredError}
|
|
682
682
|
* @memberof PartnersApi
|
|
683
683
|
*/
|
|
684
|
-
createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerResponseClass, any>>;
|
|
684
|
+
createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerResponseClass, any, {}>>;
|
|
685
685
|
/**
|
|
686
686
|
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
|
|
687
687
|
* @summary Delete the partner
|
|
@@ -690,7 +690,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
690
690
|
* @throws {RequiredError}
|
|
691
691
|
* @memberof PartnersApi
|
|
692
692
|
*/
|
|
693
|
-
deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
693
|
+
deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
694
694
|
/**
|
|
695
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. **Required Permissions** \"partner-management.partners.view\"
|
|
696
696
|
* @summary Retrieve the partner
|
|
@@ -699,7 +699,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
699
699
|
* @throws {RequiredError}
|
|
700
700
|
* @memberof PartnersApi
|
|
701
701
|
*/
|
|
702
|
-
getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
|
|
702
|
+
getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any, {}>>;
|
|
703
703
|
/**
|
|
704
704
|
* Map a partner to an account **Required Permissions** \"partner-management.partners.view\"
|
|
705
705
|
* @summary Retrieve the map partner to account
|
|
@@ -708,7 +708,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
708
708
|
* @throws {RequiredError}
|
|
709
709
|
* @memberof PartnersApi
|
|
710
710
|
*/
|
|
711
|
-
getPartnerAccount(requestParameters: PartnersApiGetPartnerAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MapPartnerToAccountResponseClass, any>>;
|
|
711
|
+
getPartnerAccount(requestParameters: PartnersApiGetPartnerAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MapPartnerToAccountResponseClass, any, {}>>;
|
|
712
712
|
/**
|
|
713
713
|
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
|
|
714
714
|
* @summary List partners
|
|
@@ -717,7 +717,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
717
717
|
* @throws {RequiredError}
|
|
718
718
|
* @memberof PartnersApi
|
|
719
719
|
*/
|
|
720
|
-
listPartners(requestParameters?: PartnersApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any>>;
|
|
720
|
+
listPartners(requestParameters?: PartnersApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any, {}>>;
|
|
721
721
|
/**
|
|
722
722
|
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
|
|
723
723
|
* @summary List grouped relations for partner
|
|
@@ -726,7 +726,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
726
726
|
* @throws {RequiredError}
|
|
727
727
|
* @memberof PartnersApi
|
|
728
728
|
*/
|
|
729
|
-
listRelationsForPartner(requestParameters: PartnersApiListRelationsForPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRelatedPartnersResponseClass, any>>;
|
|
729
|
+
listRelationsForPartner(requestParameters: PartnersApiListRelationsForPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRelatedPartnersResponseClass, any, {}>>;
|
|
730
730
|
/**
|
|
731
731
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
732
732
|
* @summary Update the partner
|
|
@@ -735,7 +735,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
735
735
|
* @throws {RequiredError}
|
|
736
736
|
* @memberof PartnersApi
|
|
737
737
|
*/
|
|
738
|
-
mergePartners(requestParameters: PartnersApiMergePartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MergePartnersResponseClass, any>>;
|
|
738
|
+
mergePartners(requestParameters: PartnersApiMergePartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MergePartnersResponseClass, any, {}>>;
|
|
739
739
|
/**
|
|
740
740
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
741
741
|
* @summary Update the partner
|
|
@@ -744,7 +744,7 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
744
744
|
* @throws {RequiredError}
|
|
745
745
|
* @memberof PartnersApi
|
|
746
746
|
*/
|
|
747
|
-
tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
|
|
747
|
+
tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any, {}>>;
|
|
748
748
|
/**
|
|
749
749
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
750
750
|
* @summary Update the partner
|
|
@@ -753,5 +753,5 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
753
753
|
* @throws {RequiredError}
|
|
754
754
|
* @memberof PartnersApi
|
|
755
755
|
*/
|
|
756
|
-
updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any>>;
|
|
756
|
+
updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any, {}>>;
|
|
757
757
|
}
|
package/dist/api/partners-api.js
CHANGED
|
@@ -348,11 +348,11 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
348
348
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
349
349
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
350
350
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
351
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
351
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
352
352
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
353
|
-
* @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>
|
|
354
|
-
* @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>
|
|
355
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
353
|
+
* @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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
354
|
+
* @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, partnerTagLabels<i>
|
|
355
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
356
356
|
* @param {*} [options] Override http request option.
|
|
357
357
|
* @throws {RequiredError}
|
|
358
358
|
*/
|
|
@@ -771,11 +771,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
771
771
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
772
772
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
773
773
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
774
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
774
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
775
775
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
776
|
-
* @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>
|
|
777
|
-
* @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>
|
|
778
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
776
|
+
* @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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
777
|
+
* @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, partnerTagLabels<i>
|
|
778
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
779
779
|
* @param {*} [options] Override http request option.
|
|
780
780
|
* @throws {RequiredError}
|
|
781
781
|
*/
|
|
@@ -958,11 +958,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
958
958
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
959
959
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
960
960
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
961
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
961
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
962
962
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
963
|
-
* @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>
|
|
964
|
-
* @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>
|
|
965
|
-
* @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, tenantUserCode, partnerNumber, accountCode</i>
|
|
963
|
+
* @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, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
964
|
+
* @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, partnerTagLabels<i>
|
|
965
|
+
* @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, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
966
966
|
* @param {*} [options] Override http request option.
|
|
967
967
|
* @throws {RequiredError}
|
|
968
968
|
*/
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL PartnerService
|
|
69
69
|
* The EMIL PartnerService API description
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/partner-sdk-node",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.1-beta.1",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/partner-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.12.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|