@emilgroup/partner-sdk 1.16.1-beta.1 → 1.17.1-beta.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/partners-api.ts +16 -16
- package/base.ts +4 -0
- 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/base.js +3 -1
- 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@1.
|
|
20
|
+
npm install @emilgroup/partner-sdk@1.17.1-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk@1.
|
|
24
|
+
yarn add @emilgroup/partner-sdk@1.17.1-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PartnersApi`.
|
package/api/partners-api.ts
CHANGED
|
@@ -294,11 +294,11 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
294
294
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
295
295
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
296
296
|
* @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.
|
|
297
|
-
* @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>
|
|
297
|
+
* @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>
|
|
298
298
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
299
|
-
* @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>
|
|
300
|
-
* @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>
|
|
301
|
-
* @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>
|
|
299
|
+
* @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>
|
|
300
|
+
* @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>
|
|
301
|
+
* @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>
|
|
302
302
|
* @param {*} [options] Override http request option.
|
|
303
303
|
* @throws {RequiredError}
|
|
304
304
|
*/
|
|
@@ -674,11 +674,11 @@ export const PartnersApiFp = function(configuration?: Configuration) {
|
|
|
674
674
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
675
675
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
676
676
|
* @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.
|
|
677
|
-
* @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>
|
|
677
|
+
* @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>
|
|
678
678
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
679
|
-
* @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>
|
|
680
|
-
* @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>
|
|
681
|
-
* @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>
|
|
679
|
+
* @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>
|
|
680
|
+
* @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>
|
|
681
|
+
* @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>
|
|
682
682
|
* @param {*} [options] Override http request option.
|
|
683
683
|
* @throws {RequiredError}
|
|
684
684
|
*/
|
|
@@ -816,11 +816,11 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
|
|
|
816
816
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
817
817
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
818
818
|
* @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.
|
|
819
|
-
* @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>
|
|
819
|
+
* @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>
|
|
820
820
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
821
|
-
* @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>
|
|
822
|
-
* @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>
|
|
823
|
-
* @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>
|
|
821
|
+
* @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>
|
|
822
|
+
* @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>
|
|
823
|
+
* @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>
|
|
824
824
|
* @param {*} [options] Override http request option.
|
|
825
825
|
* @throws {RequiredError}
|
|
826
826
|
*/
|
|
@@ -1024,7 +1024,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
1024
1024
|
readonly pageToken?: string
|
|
1025
1025
|
|
|
1026
1026
|
/**
|
|
1027
|
-
* 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>
|
|
1027
|
+
* 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>
|
|
1028
1028
|
* @type {string}
|
|
1029
1029
|
* @memberof PartnersApiListPartners
|
|
1030
1030
|
*/
|
|
@@ -1038,21 +1038,21 @@ export interface PartnersApiListPartnersRequest {
|
|
|
1038
1038
|
readonly search?: string
|
|
1039
1039
|
|
|
1040
1040
|
/**
|
|
1041
|
-
* 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>
|
|
1041
|
+
* 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>
|
|
1042
1042
|
* @type {string}
|
|
1043
1043
|
* @memberof PartnersApiListPartners
|
|
1044
1044
|
*/
|
|
1045
1045
|
readonly order?: string
|
|
1046
1046
|
|
|
1047
1047
|
/**
|
|
1048
|
-
* 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>
|
|
1048
|
+
* 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>
|
|
1049
1049
|
* @type {string}
|
|
1050
1050
|
* @memberof PartnersApiListPartners
|
|
1051
1051
|
*/
|
|
1052
1052
|
readonly expand?: string
|
|
1053
1053
|
|
|
1054
1054
|
/**
|
|
1055
|
-
* 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>
|
|
1055
|
+
* 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>
|
|
1056
1056
|
* @type {string}
|
|
1057
1057
|
* @memberof PartnersApiListPartners
|
|
1058
1058
|
*/
|
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
|
@@ -344,11 +344,11 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
344
344
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
345
345
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
346
346
|
* @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.
|
|
347
|
-
* @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>
|
|
347
|
+
* @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>
|
|
348
348
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
349
|
-
* @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>
|
|
350
|
-
* @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>
|
|
351
|
-
* @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>
|
|
349
|
+
* @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>
|
|
350
|
+
* @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>
|
|
351
|
+
* @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>
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
*/
|
|
@@ -767,11 +767,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
767
767
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
768
768
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
769
769
|
* @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.
|
|
770
|
-
* @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>
|
|
770
|
+
* @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>
|
|
771
771
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
772
|
-
* @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>
|
|
773
|
-
* @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>
|
|
774
|
-
* @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>
|
|
772
|
+
* @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>
|
|
773
|
+
* @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>
|
|
774
|
+
* @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>
|
|
775
775
|
* @param {*} [options] Override http request option.
|
|
776
776
|
* @throws {RequiredError}
|
|
777
777
|
*/
|
|
@@ -954,11 +954,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
954
954
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
955
955
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
956
956
|
* @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.
|
|
957
|
-
* @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>
|
|
957
|
+
* @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>
|
|
958
958
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
959
|
-
* @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>
|
|
960
|
-
* @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>
|
|
961
|
-
* @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>
|
|
959
|
+
* @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>
|
|
960
|
+
* @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>
|
|
961
|
+
* @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>
|
|
962
962
|
* @param {*} [options] Override http request option.
|
|
963
963
|
* @throws {RequiredError}
|
|
964
964
|
*/
|
package/dist/base.js
CHANGED
|
@@ -189,7 +189,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
189
189
|
// Only store if no workspace switch (since switchWorkspace will store after switching)
|
|
190
190
|
this.storeTokenData(__assign({}, this.tokenData));
|
|
191
191
|
_b.label = 4;
|
|
192
|
-
case 4:
|
|
192
|
+
case 4:
|
|
193
|
+
this.storeTokenData(__assign({}, this.tokenData));
|
|
194
|
+
return [2 /*return*/];
|
|
193
195
|
}
|
|
194
196
|
});
|
|
195
197
|
});
|
package/dist/common.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
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>;
|
|
65
|
+
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
66
|
/**
|
|
67
67
|
* EMIL PartnerService
|
|
68
68
|
* The EMIL PartnerService API description
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/partner-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.1-beta.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/partner-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"typescript": "^4.0"
|