@emilgroup/partner-sdk
Advanced tools
+4
-0
@@ -168,2 +168,6 @@ /* tslint:disable */ | ||
| } | ||
| this.storeTokenData({ | ||
| ...this.tokenData | ||
| }); | ||
| } | ||
@@ -170,0 +174,0 @@ |
@@ -69,3 +69,3 @@ /** | ||
| */ | ||
| check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>; | ||
| check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>; | ||
| } |
@@ -96,3 +96,3 @@ /** | ||
| */ | ||
| invitePartnerToEIS(requestParameters: PartnerInvitationsApiInvitePartnerToEISRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvitePartnerToEisResponseClass, any>>; | ||
| invitePartnerToEIS(requestParameters: PartnerInvitationsApiInvitePartnerToEISRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InvitePartnerToEisResponseClass, any, {}>>; | ||
| } |
@@ -495,3 +495,3 @@ /** | ||
| */ | ||
| createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerRelationResponseClass, any>>; | ||
| createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerRelationResponseClass, any, {}>>; | ||
| /** | ||
@@ -505,3 +505,3 @@ * 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\" | ||
| */ | ||
| deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>; | ||
| deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>; | ||
| /** | ||
@@ -515,3 +515,3 @@ * Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\" | ||
| */ | ||
| getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>; | ||
| getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any, {}>>; | ||
| /** | ||
@@ -525,3 +525,3 @@ * Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\" | ||
| */ | ||
| getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationTypeClass, any>>; | ||
| getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationTypeClass, any, {}>>; | ||
| /** | ||
@@ -535,3 +535,3 @@ * List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\" | ||
| */ | ||
| listPartnerRelationTypes(requestParameters?: PartnerRelationsApiListPartnerRelationTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationTypesClass, any>>; | ||
| listPartnerRelationTypes(requestParameters?: PartnerRelationsApiListPartnerRelationTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationTypesClass, any, {}>>; | ||
| /** | ||
@@ -545,3 +545,3 @@ * List all partner relations **Required Permissions** \"partner-management.partners.view\" | ||
| */ | ||
| listPartnerRelations(requestParameters?: PartnerRelationsApiListPartnerRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationClass, any>>; | ||
| listPartnerRelations(requestParameters?: PartnerRelationsApiListPartnerRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerRelationClass, any, {}>>; | ||
| /** | ||
@@ -555,3 +555,3 @@ * Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\" | ||
| */ | ||
| updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any>>; | ||
| updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerRelationClass, any, {}>>; | ||
| } |
@@ -338,3 +338,3 @@ /** | ||
| */ | ||
| createTag(requestParameters: PartnerTagsApiCreateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTagResponseClass, any>>; | ||
| createTag(requestParameters: PartnerTagsApiCreateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTagResponseClass, any, {}>>; | ||
| /** | ||
@@ -348,3 +348,3 @@ * 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\" | ||
| */ | ||
| deleteTag(requestParameters: PartnerTagsApiDeleteTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>; | ||
| deleteTag(requestParameters: PartnerTagsApiDeleteTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>; | ||
| /** | ||
@@ -358,3 +358,3 @@ * 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\" | ||
| */ | ||
| getTag(requestParameters: PartnerTagsApiGetTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTagResponseClass, any>>; | ||
| getTag(requestParameters: PartnerTagsApiGetTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTagResponseClass, any, {}>>; | ||
| /** | ||
@@ -368,3 +368,3 @@ * 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\" | ||
| */ | ||
| listTags(requestParameters?: PartnerTagsApiListTagsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTagsResponseClass, any>>; | ||
| listTags(requestParameters?: PartnerTagsApiListTagsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTagsResponseClass, any, {}>>; | ||
| /** | ||
@@ -378,3 +378,3 @@ * 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\" | ||
| */ | ||
| updateTag(requestParameters: PartnerTagsApiUpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTagResponseClass, any>>; | ||
| updateTag(requestParameters: PartnerTagsApiUpdateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTagResponseClass, any, {}>>; | ||
| } |
@@ -357,3 +357,3 @@ /** | ||
| */ | ||
| createPartnerType(requestParameters: PartnerTypesApiCreatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerTypeResponseClass, any>>; | ||
| createPartnerType(requestParameters: PartnerTypesApiCreatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerTypeResponseClass, any, {}>>; | ||
| /** | ||
@@ -367,3 +367,3 @@ * 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\" | ||
| */ | ||
| deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>; | ||
| deletePartnerType(requestParameters: PartnerTypesApiDeletePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>; | ||
| /** | ||
@@ -377,3 +377,3 @@ * 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\" | ||
| */ | ||
| getPartnerType(requestParameters: PartnerTypesApiGetPartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerTypeResponseClass, any>>; | ||
| getPartnerType(requestParameters: PartnerTypesApiGetPartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerTypeResponseClass, any, {}>>; | ||
| /** | ||
@@ -387,3 +387,3 @@ * 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\" | ||
| */ | ||
| listPartnerTypes(requestParameters?: PartnerTypesApiListPartnerTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerTypesResponseClass, any>>; | ||
| listPartnerTypes(requestParameters?: PartnerTypesApiListPartnerTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerTypesResponseClass, any, {}>>; | ||
| /** | ||
@@ -397,3 +397,3 @@ * 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\" | ||
| */ | ||
| updatePartnerType(requestParameters: PartnerTypesApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerTypeResponseClass, any>>; | ||
| updatePartnerType(requestParameters: PartnerTypesApiUpdatePartnerTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerTypeResponseClass, any, {}>>; | ||
| } |
@@ -214,3 +214,3 @@ /** | ||
| */ | ||
| getPartnerVersion(requestParameters: PartnerVersionsApiGetPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerVersionResponseClass, any>>; | ||
| getPartnerVersion(requestParameters: PartnerVersionsApiGetPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerVersionResponseClass, any, {}>>; | ||
| /** | ||
@@ -224,3 +224,3 @@ * 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\" | ||
| */ | ||
| listPartnerVersion(requestParameters: PartnerVersionsApiListPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerVersionsResponseClass, any>>; | ||
| listPartnerVersion(requestParameters: PartnerVersionsApiListPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerVersionsResponseClass, any, {}>>; | ||
| } |
@@ -675,3 +675,3 @@ /** | ||
| */ | ||
| createOrUpdatePartnerFromAccount(requestParameters: PartnersApiCreateOrUpdatePartnerFromAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrUpdatePartnerFromAccountResponseClass, any>>; | ||
| createOrUpdatePartnerFromAccount(requestParameters: PartnersApiCreateOrUpdatePartnerFromAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrUpdatePartnerFromAccountResponseClass, any, {}>>; | ||
| /** | ||
@@ -685,3 +685,3 @@ * This will create a partner. **Required Permissions** \"partner-management.partners.create\" | ||
| */ | ||
| createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerResponseClass, any>>; | ||
| createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerResponseClass, any, {}>>; | ||
| /** | ||
@@ -695,3 +695,3 @@ * 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\" | ||
| */ | ||
| deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>; | ||
| deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>; | ||
| /** | ||
@@ -705,3 +705,3 @@ * 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\" | ||
| */ | ||
| getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>; | ||
| getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any, {}>>; | ||
| /** | ||
@@ -715,3 +715,3 @@ * Map a partner to an account **Required Permissions** \"partner-management.partners.view\" | ||
| */ | ||
| getPartnerAccount(requestParameters: PartnersApiGetPartnerAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MapPartnerToAccountResponseClass, any>>; | ||
| getPartnerAccount(requestParameters: PartnersApiGetPartnerAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MapPartnerToAccountResponseClass, any, {}>>; | ||
| /** | ||
@@ -725,3 +725,3 @@ * 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\" | ||
| */ | ||
| listPartners(requestParameters?: PartnersApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any>>; | ||
| listPartners(requestParameters?: PartnersApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any, {}>>; | ||
| /** | ||
@@ -735,3 +735,3 @@ * 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\" | ||
| */ | ||
| listRelationsForPartner(requestParameters: PartnersApiListRelationsForPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRelatedPartnersResponseClass, any>>; | ||
| listRelationsForPartner(requestParameters: PartnersApiListRelationsForPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRelatedPartnersResponseClass, any, {}>>; | ||
| /** | ||
@@ -745,3 +745,3 @@ * 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\" | ||
| */ | ||
| mergePartners(requestParameters: PartnersApiMergePartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MergePartnersResponseClass, any>>; | ||
| mergePartners(requestParameters: PartnersApiMergePartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MergePartnersResponseClass, any, {}>>; | ||
| /** | ||
@@ -755,3 +755,3 @@ * 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\" | ||
| */ | ||
| tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>; | ||
| tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any, {}>>; | ||
| /** | ||
@@ -765,3 +765,3 @@ * 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\" | ||
| */ | ||
| updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any>>; | ||
| updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePartnerResponseClass, any, {}>>; | ||
| } |
+3
-1
@@ -192,3 +192,5 @@ "use strict"; | ||
| _b.label = 4; | ||
| case 4: return [2 /*return*/]; | ||
| case 4: | ||
| this.storeTokenData(__assign({}, this.tokenData)); | ||
| return [2 /*return*/]; | ||
| } | ||
@@ -195,0 +197,0 @@ }); |
+1
-1
@@ -65,3 +65,3 @@ /** | ||
| */ | ||
| 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>; | ||
| 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>; | ||
| /** | ||
@@ -68,0 +68,0 @@ * EMIL PartnerService |
+2
-2
| { | ||
| "name": "@emilgroup/partner-sdk", | ||
| "version": "1.17.1-beta.9", | ||
| "version": "1.17.1-beta.10", | ||
| "description": "OpenAPI client for @emilgroup/partner-sdk", | ||
@@ -21,3 +21,3 @@ "author": "OpenAPI-Generator Contributors", | ||
| "dependencies": { | ||
| "axios": "^0.27.2" | ||
| "axios": "^1.12.0" | ||
| }, | ||
@@ -24,0 +24,0 @@ "devDependencies": { |
+2
-2
@@ -20,7 +20,7 @@ # Emil Partner SDK | ||
| ``` | ||
| npm install @emilgroup/partner-sdk@1.17.1-beta.9 --save | ||
| npm install @emilgroup/partner-sdk@1.17.1-beta.10 --save | ||
| ``` | ||
| or | ||
| ``` | ||
| yarn add @emilgroup/partner-sdk@1.17.1-beta.9 | ||
| yarn add @emilgroup/partner-sdk@1.17.1-beta.10 | ||
| ``` | ||
@@ -27,0 +27,0 @@ |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
949503
0.03%17946
0.03%+ Added
+ Added
- Removed
Updated