@equisoft/equisoft-plan-sdk-typescript
Advanced tools
Comparing version 9.7.0 to 9.7.1-snapshot.20240618182229
@@ -16,7 +16,2 @@ /** | ||
} | ||
export interface UpdatePlanExternalIdRequest { | ||
fnaUuid: string; | ||
clientUuid: string; | ||
body: string; | ||
} | ||
/** | ||
@@ -34,10 +29,2 @@ * | ||
getPlan(requestParameters: GetPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>; | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
updatePlanExternalIdRaw(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>; | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
updatePlanExternalId(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>; | ||
} |
@@ -58,38 +58,3 @@ "use strict"; | ||
} | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
updatePlanExternalIdRaw(requestParameters, initOverrides) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (requestParameters.fnaUuid === null || requestParameters.fnaUuid === undefined) { | ||
throw new runtime.RequiredError('fnaUuid', 'Required parameter requestParameters.fnaUuid was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
if (requestParameters.clientUuid === null || requestParameters.clientUuid === undefined) { | ||
throw new runtime.RequiredError('clientUuid', 'Required parameter requestParameters.clientUuid was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
if (requestParameters.body === null || requestParameters.body === undefined) { | ||
throw new runtime.RequiredError('body', 'Required parameter requestParameters.body was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
const queryParameters = {}; | ||
const headerParameters = {}; | ||
headerParameters['Content-Type'] = 'text/plain'; | ||
const response = yield this.request({ | ||
path: `/fna/{fna-uuid}/client/{client-uuid}/external-id`.replace(`{${"fna-uuid"}}`, encodeURIComponent(String(requestParameters.fnaUuid))).replace(`{${"client-uuid"}}`, encodeURIComponent(String(requestParameters.clientUuid))), | ||
method: 'PUT', | ||
headers: headerParameters, | ||
query: queryParameters, | ||
body: requestParameters.body, | ||
}, initOverrides); | ||
return new runtime.VoidApiResponse(response); | ||
}); | ||
} | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
updatePlanExternalId(requestParameters, initOverrides) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
yield this.updatePlanExternalIdRaw(requestParameters, initOverrides); | ||
}); | ||
} | ||
} | ||
exports.PlansV1Api = PlansV1Api; |
@@ -16,7 +16,2 @@ /** | ||
} | ||
export interface UpdatePlanExternalIdRequest { | ||
fnaUuid: string; | ||
clientUuid: string; | ||
body: string; | ||
} | ||
/** | ||
@@ -34,10 +29,2 @@ * | ||
getPlan(requestParameters: GetPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>; | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
updatePlanExternalIdRaw(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>; | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
updatePlanExternalId(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>; | ||
} |
@@ -55,37 +55,2 @@ /* tslint:disable */ | ||
} | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
updatePlanExternalIdRaw(requestParameters, initOverrides) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (requestParameters.fnaUuid === null || requestParameters.fnaUuid === undefined) { | ||
throw new runtime.RequiredError('fnaUuid', 'Required parameter requestParameters.fnaUuid was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
if (requestParameters.clientUuid === null || requestParameters.clientUuid === undefined) { | ||
throw new runtime.RequiredError('clientUuid', 'Required parameter requestParameters.clientUuid was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
if (requestParameters.body === null || requestParameters.body === undefined) { | ||
throw new runtime.RequiredError('body', 'Required parameter requestParameters.body was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
const queryParameters = {}; | ||
const headerParameters = {}; | ||
headerParameters['Content-Type'] = 'text/plain'; | ||
const response = yield this.request({ | ||
path: `/fna/{fna-uuid}/client/{client-uuid}/external-id`.replace(`{${"fna-uuid"}}`, encodeURIComponent(String(requestParameters.fnaUuid))).replace(`{${"client-uuid"}}`, encodeURIComponent(String(requestParameters.clientUuid))), | ||
method: 'PUT', | ||
headers: headerParameters, | ||
query: queryParameters, | ||
body: requestParameters.body, | ||
}, initOverrides); | ||
return new runtime.VoidApiResponse(response); | ||
}); | ||
} | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
updatePlanExternalId(requestParameters, initOverrides) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
yield this.updatePlanExternalIdRaw(requestParameters, initOverrides); | ||
}); | ||
} | ||
} |
{ | ||
"name": "@equisoft/equisoft-plan-sdk-typescript", | ||
"version": "9.7.0", | ||
"version": "9.7.1-snapshot.20240618182229", | ||
"description": "OpenAPI client for @equisoft/equisoft-plan-sdk-typescript", | ||
@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator", |
@@ -17,9 +17,2 @@ /* tslint:disable */ | ||
import * as runtime from '../runtime'; | ||
import type { | ||
V1ErrorResponse, | ||
} from '../models/index'; | ||
import { | ||
V1ErrorResponseFromJSON, | ||
V1ErrorResponseToJSON, | ||
} from '../models/index'; | ||
@@ -30,8 +23,2 @@ export interface GetPlanRequest { | ||
export interface UpdatePlanExternalIdRequest { | ||
fnaUuid: string; | ||
clientUuid: string; | ||
body: string; | ||
} | ||
/** | ||
@@ -71,42 +58,2 @@ * | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
async updatePlanExternalIdRaw(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> { | ||
if (requestParameters.fnaUuid === null || requestParameters.fnaUuid === undefined) { | ||
throw new runtime.RequiredError('fnaUuid','Required parameter requestParameters.fnaUuid was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
if (requestParameters.clientUuid === null || requestParameters.clientUuid === undefined) { | ||
throw new runtime.RequiredError('clientUuid','Required parameter requestParameters.clientUuid was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
if (requestParameters.body === null || requestParameters.body === undefined) { | ||
throw new runtime.RequiredError('body','Required parameter requestParameters.body was null or undefined when calling updatePlanExternalId.'); | ||
} | ||
const queryParameters: any = {}; | ||
const headerParameters: runtime.HTTPHeaders = {}; | ||
headerParameters['Content-Type'] = 'text/plain'; | ||
const response = await this.request({ | ||
path: `/fna/{fna-uuid}/client/{client-uuid}/external-id`.replace(`{${"fna-uuid"}}`, encodeURIComponent(String(requestParameters.fnaUuid))).replace(`{${"client-uuid"}}`, encodeURIComponent(String(requestParameters.clientUuid))), | ||
method: 'PUT', | ||
headers: headerParameters, | ||
query: queryParameters, | ||
body: requestParameters.body as any, | ||
}, initOverrides); | ||
return new runtime.VoidApiResponse(response); | ||
} | ||
/** | ||
* Update client UUID id of an FNA | ||
*/ | ||
async updatePlanExternalId(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> { | ||
await this.updatePlanExternalIdRaw(requestParameters, initOverrides); | ||
} | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
765664
8704
3