@emilgroup/partner-sdk 1.17.1-beta.9 → 1.19.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 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.17.1-beta.9 --save
20
+ npm install @emilgroup/partner-sdk@1.19.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk@1.17.1-beta.9
24
+ yarn add @emilgroup/partner-sdk@1.19.0
25
25
  ```
26
26
 
27
27
  And then you can import `PartnersApi`.
package/base.ts CHANGED
@@ -165,6 +165,10 @@ export class BaseAPI {
165
165
  ...this.tokenData
166
166
  });
167
167
  }
168
+
169
+ this.storeTokenData({
170
+ ...this.tokenData
171
+ });
168
172
  }
169
173
 
170
174
  async switchWorkspace(targetWorkspace: string): Promise<void> {
@@ -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
  }
@@ -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/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: return [2 /*return*/];
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.17.1-beta.9",
3
+ "version": "1.19.0",
4
4
  "description": "OpenAPI client for @emilgroup/partner-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,9 +18,10 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^0.27.2"
21
+ "axios": "^1.12.0"
22
22
  },
23
23
  "devDependencies": {
24
+
24
25
  "typescript": "^4.0"
25
26
  }
26
27
  }