New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@equisoft/equisoft-plan-sdk-typescript

Package Overview
Dependencies
Maintainers
11
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equisoft/equisoft-plan-sdk-typescript - npm Package Compare versions

Comparing version 6.62.1-snapshot.20220411201511 to 6.62.1-snapshot.20220413133819

4

dist/apis/CommandApi.d.ts

@@ -23,6 +23,6 @@ /**

*/
cmdCopyFNARaw(requestParameters: CmdCopyFNARequest): Promise<runtime.ApiResponse<CmdCopyFNAResponse>>;
cmdCopyFNARaw(requestParameters: CmdCopyFNARequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CmdCopyFNAResponse>>;
/**
*/
cmdCopyFNA(requestParameters: CmdCopyFNARequest): Promise<CmdCopyFNAResponse>;
cmdCopyFNA(requestParameters: CmdCopyFNARequest, initOverrides?: RequestInit): Promise<CmdCopyFNAResponse>;
}

@@ -34,3 +34,3 @@ "use strict";

*/
cmdCopyFNARaw(requestParameters) {
cmdCopyFNARaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {

@@ -53,3 +53,3 @@ if (requestParameters.cmdCopyFNA === null || requestParameters.cmdCopyFNA === undefined) {

body: models_1.CmdCopyFNAToJSON(requestParameters.cmdCopyFNA),
});
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.CmdCopyFNAResponseFromJSON(jsonValue));

@@ -60,5 +60,5 @@ });

*/
cmdCopyFNA(requestParameters) {
cmdCopyFNA(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.cmdCopyFNARaw(requestParameters);
const response = yield this.cmdCopyFNARaw(requestParameters, initOverrides);
return yield response.value();

@@ -65,0 +65,0 @@ });

@@ -13,2 +13,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/* tslint:disable */
/* eslint-disable */
__exportStar(require("./CommandApi"), exports);

@@ -15,0 +17,0 @@ __exportStar(require("./OrganizationsApi"), exports);

@@ -29,18 +29,18 @@ /**

*/
getOrganizationRaw(requestParameters: GetOrganizationRequest): Promise<runtime.ApiResponse<OrganizationsOrganization>>;
getOrganizationRaw(requestParameters: GetOrganizationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OrganizationsOrganization>>;
/**
*/
getOrganization(requestParameters: GetOrganizationRequest): Promise<OrganizationsOrganization>;
getOrganization(requestParameters: GetOrganizationRequest, initOverrides?: RequestInit): Promise<OrganizationsOrganization>;
/**
*/
listOrganizationUsersRaw(requestParameters: ListOrganizationUsersRequest): Promise<runtime.ApiResponse<UsersListUsersResponse>>;
listOrganizationUsersRaw(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UsersListUsersResponse>>;
/**
*/
listOrganizationUsers(requestParameters: ListOrganizationUsersRequest): Promise<UsersListUsersResponse>;
listOrganizationUsers(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit): Promise<UsersListUsersResponse>;
/**
*/
listOrganizationsRaw(requestParameters: ListOrganizationsRequest): Promise<runtime.ApiResponse<OrganizationsListOrganizationsResponse>>;
listOrganizationsRaw(requestParameters: ListOrganizationsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OrganizationsListOrganizationsResponse>>;
/**
*/
listOrganizations(requestParameters: ListOrganizationsRequest): Promise<OrganizationsListOrganizationsResponse>;
listOrganizations(requestParameters: ListOrganizationsRequest, initOverrides?: RequestInit): Promise<OrganizationsListOrganizationsResponse>;
}

@@ -34,3 +34,3 @@ "use strict";

*/
getOrganizationRaw(requestParameters) {
getOrganizationRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {

@@ -51,3 +51,3 @@ if (requestParameters.id === null || requestParameters.id === undefined) {

query: queryParameters,
});
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.OrganizationsOrganizationFromJSON(jsonValue));

@@ -58,5 +58,5 @@ });

*/
getOrganization(requestParameters) {
getOrganization(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.getOrganizationRaw(requestParameters);
const response = yield this.getOrganizationRaw(requestParameters, initOverrides);
return yield response.value();

@@ -67,3 +67,3 @@ });

*/
listOrganizationUsersRaw(requestParameters) {
listOrganizationUsersRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {

@@ -84,3 +84,3 @@ if (requestParameters.id === null || requestParameters.id === undefined) {

query: queryParameters,
});
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.UsersListUsersResponseFromJSON(jsonValue));

@@ -91,5 +91,5 @@ });

*/
listOrganizationUsers(requestParameters) {
listOrganizationUsers(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.listOrganizationUsersRaw(requestParameters);
const response = yield this.listOrganizationUsersRaw(requestParameters, initOverrides);
return yield response.value();

@@ -100,3 +100,3 @@ });

*/
listOrganizationsRaw(requestParameters) {
listOrganizationsRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {

@@ -120,3 +120,3 @@ if (requestParameters.organizationUuid === null || requestParameters.organizationUuid === undefined) {

query: queryParameters,
});
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.OrganizationsListOrganizationsResponseFromJSON(jsonValue));

@@ -127,5 +127,5 @@ });

*/
listOrganizations(requestParameters) {
listOrganizations(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.listOrganizationsRaw(requestParameters);
const response = yield this.listOrganizationsRaw(requestParameters, initOverrides);
return yield response.value();

@@ -132,0 +132,0 @@ });

@@ -23,6 +23,6 @@ /**

*/
listPlansRaw(requestParameters: ListPlansRequest): Promise<runtime.ApiResponse<PlansListPlansResponse>>;
listPlansRaw(requestParameters: ListPlansRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<PlansListPlansResponse>>;
/**
*/
listPlans(requestParameters: ListPlansRequest): Promise<PlansListPlansResponse>;
listPlans(requestParameters: ListPlansRequest, initOverrides?: RequestInit): Promise<PlansListPlansResponse>;
}

@@ -34,3 +34,3 @@ "use strict";

*/
listPlansRaw(requestParameters) {
listPlansRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {

@@ -51,3 +51,3 @@ const queryParameters = {};

query: queryParameters,
});
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.PlansListPlansResponseFromJSON(jsonValue));

@@ -58,5 +58,5 @@ });

*/
listPlans(requestParameters) {
listPlans(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.listPlansRaw(requestParameters);
const response = yield this.listPlansRaw(requestParameters, initOverrides);
return yield response.value();

@@ -63,0 +63,0 @@ });

@@ -28,15 +28,15 @@ /**

*/
getPlanRaw(requestParameters: GetPlanRequest): Promise<runtime.ApiResponse<void>>;
getPlanRaw(requestParameters: GetPlanRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
/**
* Returns the plan
*/
getPlan(requestParameters: GetPlanRequest): Promise<void>;
getPlan(requestParameters: GetPlanRequest, initOverrides?: RequestInit): Promise<void>;
/**
* Update client UUID id of an FNA
*/
updatePlanExternalIdRaw(requestParameters: UpdatePlanExternalIdRequest): Promise<runtime.ApiResponse<void>>;
updatePlanExternalIdRaw(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
/**
* Update client UUID id of an FNA
*/
updatePlanExternalId(requestParameters: UpdatePlanExternalIdRequest): Promise<void>;
updatePlanExternalId(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit): Promise<void>;
}

@@ -34,3 +34,3 @@ "use strict";

*/
getPlanRaw(requestParameters) {
getPlanRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {

@@ -47,3 +47,3 @@ if (requestParameters.id === null || requestParameters.id === undefined) {

query: queryParameters,
});
}, initOverrides);
return new runtime.VoidApiResponse(response);

@@ -55,5 +55,5 @@ });

*/
getPlan(requestParameters) {
getPlan(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
yield this.getPlanRaw(requestParameters);
yield this.getPlanRaw(requestParameters, initOverrides);
});

@@ -64,3 +64,3 @@ }

*/
updatePlanExternalIdRaw(requestParameters) {
updatePlanExternalIdRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {

@@ -85,3 +85,3 @@ if (requestParameters.fnaUuid === null || requestParameters.fnaUuid === undefined) {

body: requestParameters.body,
});
}, initOverrides);
return new runtime.VoidApiResponse(response);

@@ -93,5 +93,5 @@ });

*/
updatePlanExternalId(requestParameters) {
updatePlanExternalId(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
yield this.updatePlanExternalIdRaw(requestParameters);
yield this.updatePlanExternalIdRaw(requestParameters, initOverrides);
});

@@ -98,0 +98,0 @@ }

@@ -23,6 +23,6 @@ /**

*/
getUserRaw(requestParameters: GetUserRequest): Promise<runtime.ApiResponse<UsersUser>>;
getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UsersUser>>;
/**
*/
getUser(requestParameters: GetUserRequest): Promise<UsersUser>;
getUser(requestParameters: GetUserRequest, initOverrides?: RequestInit): Promise<UsersUser>;
}

@@ -34,3 +34,3 @@ "use strict";

*/
getUserRaw(requestParameters) {
getUserRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {

@@ -51,3 +51,3 @@ if (requestParameters.id === null || requestParameters.id === undefined) {

query: queryParameters,
});
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => models_1.UsersUserFromJSON(jsonValue));

@@ -58,5 +58,5 @@ });

*/
getUser(requestParameters) {
getUser(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.getUserRaw(requestParameters);
const response = yield this.getUserRaw(requestParameters, initOverrides);
return yield response.value();

@@ -63,0 +63,0 @@ });

@@ -13,4 +13,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/* tslint:disable */
/* eslint-disable */
__exportStar(require("./runtime"), exports);
__exportStar(require("./apis"), exports);
__exportStar(require("./models"), exports);

@@ -13,2 +13,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
/* tslint:disable */
/* eslint-disable */
__exportStar(require("./CmdCopyFNA"), exports);

@@ -15,0 +17,0 @@ __exportStar(require("./CmdCopyFNAResponse"), exports);

@@ -23,3 +23,3 @@ /**

withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
protected request(context: RequestOpts): Promise<Response>;
protected request(context: RequestOpts, initOverrides?: RequestInit): Promise<Response>;
private createFetchParams;

@@ -26,0 +26,0 @@ private fetchApi;

@@ -41,3 +41,3 @@ "use strict";

}
let response = yield this.configuration.fetchApi(fetchParams.url, fetchParams.init);
let response = yield (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
for (const middleware of this.middleware) {

@@ -70,5 +70,5 @@ if (middleware.post) {

}
request(context) {
request(context, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const { url, init } = this.createFetchParams(context);
const { url, init } = this.createFetchParams(context, initOverrides);
const response = yield this.fetchApi(url, init);

@@ -81,3 +81,3 @@ if (response.status >= 200 && response.status < 300) {

}
createFetchParams(context) {
createFetchParams(context, initOverrides) {
let url = this.configuration.basePath + context.path;

@@ -94,8 +94,3 @@ if (context.query !== undefined && Object.keys(context.query).length !== 0) {

const headers = Object.assign({}, this.configuration.headers, context.headers);
const init = {
method: context.method,
headers: headers,
body,
credentials: this.configuration.credentials
};
const init = Object.assign({ method: context.method, headers: headers, body, credentials: this.configuration.credentials }, initOverrides);
return { url, init };

@@ -138,3 +133,3 @@ }

get fetchApi() {
return this.configuration.fetchApi || window.fetch.bind(window);
return this.configuration.fetchApi;
}

@@ -141,0 +136,0 @@ get middleware() {

{
"name": "@equisoft/equisoft-plan-sdk-typescript",
"version": "6.62.1-snapshot.20220411201511",
"version": "6.62.1-snapshot.20220413133819",
"description": "OpenAPI client for @equisoft/equisoft-plan-sdk-typescript",

@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator",

@@ -40,3 +40,3 @@ /* tslint:disable */

*/
async cmdCopyFNARaw(requestParameters: CmdCopyFNARequest): Promise<runtime.ApiResponse<CmdCopyFNAResponse>> {
async cmdCopyFNARaw(requestParameters: CmdCopyFNARequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CmdCopyFNAResponse>> {
if (requestParameters.cmdCopyFNA === null || requestParameters.cmdCopyFNA === undefined) {

@@ -63,3 +63,3 @@ throw new runtime.RequiredError('cmdCopyFNA','Required parameter requestParameters.cmdCopyFNA was null or undefined when calling cmdCopyFNA.');

body: CmdCopyFNAToJSON(requestParameters.cmdCopyFNA),
});
}, initOverrides);

@@ -71,4 +71,4 @@ return new runtime.JSONApiResponse(response, (jsonValue) => CmdCopyFNAResponseFromJSON(jsonValue));

*/
async cmdCopyFNA(requestParameters: CmdCopyFNARequest): Promise<CmdCopyFNAResponse> {
const response = await this.cmdCopyFNARaw(requestParameters);
async cmdCopyFNA(requestParameters: CmdCopyFNARequest, initOverrides?: RequestInit): Promise<CmdCopyFNAResponse> {
const response = await this.cmdCopyFNARaw(requestParameters, initOverrides);
return await response.value();

@@ -75,0 +75,0 @@ }

@@ -0,1 +1,3 @@

/* tslint:disable */
/* eslint-disable */
export * from './CommandApi';

@@ -2,0 +4,0 @@ export * from './OrganizationsApi';

@@ -51,3 +51,3 @@ /* tslint:disable */

*/
async getOrganizationRaw(requestParameters: GetOrganizationRequest): Promise<runtime.ApiResponse<OrganizationsOrganization>> {
async getOrganizationRaw(requestParameters: GetOrganizationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OrganizationsOrganization>> {
if (requestParameters.id === null || requestParameters.id === undefined) {

@@ -71,3 +71,3 @@ throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling getOrganization.');

query: queryParameters,
});
}, initOverrides);

@@ -79,4 +79,4 @@ return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsOrganizationFromJSON(jsonValue));

*/
async getOrganization(requestParameters: GetOrganizationRequest): Promise<OrganizationsOrganization> {
const response = await this.getOrganizationRaw(requestParameters);
async getOrganization(requestParameters: GetOrganizationRequest, initOverrides?: RequestInit): Promise<OrganizationsOrganization> {
const response = await this.getOrganizationRaw(requestParameters, initOverrides);
return await response.value();

@@ -87,3 +87,3 @@ }

*/
async listOrganizationUsersRaw(requestParameters: ListOrganizationUsersRequest): Promise<runtime.ApiResponse<UsersListUsersResponse>> {
async listOrganizationUsersRaw(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UsersListUsersResponse>> {
if (requestParameters.id === null || requestParameters.id === undefined) {

@@ -107,3 +107,3 @@ throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling listOrganizationUsers.');

query: queryParameters,
});
}, initOverrides);

@@ -115,4 +115,4 @@ return new runtime.JSONApiResponse(response, (jsonValue) => UsersListUsersResponseFromJSON(jsonValue));

*/
async listOrganizationUsers(requestParameters: ListOrganizationUsersRequest): Promise<UsersListUsersResponse> {
const response = await this.listOrganizationUsersRaw(requestParameters);
async listOrganizationUsers(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit): Promise<UsersListUsersResponse> {
const response = await this.listOrganizationUsersRaw(requestParameters, initOverrides);
return await response.value();

@@ -123,3 +123,3 @@ }

*/
async listOrganizationsRaw(requestParameters: ListOrganizationsRequest): Promise<runtime.ApiResponse<OrganizationsListOrganizationsResponse>> {
async listOrganizationsRaw(requestParameters: ListOrganizationsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OrganizationsListOrganizationsResponse>> {
if (requestParameters.organizationUuid === null || requestParameters.organizationUuid === undefined) {

@@ -147,3 +147,3 @@ throw new runtime.RequiredError('organizationUuid','Required parameter requestParameters.organizationUuid was null or undefined when calling listOrganizations.');

query: queryParameters,
});
}, initOverrides);

@@ -155,4 +155,4 @@ return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationsListOrganizationsResponseFromJSON(jsonValue));

*/
async listOrganizations(requestParameters: ListOrganizationsRequest): Promise<OrganizationsListOrganizationsResponse> {
const response = await this.listOrganizationsRaw(requestParameters);
async listOrganizations(requestParameters: ListOrganizationsRequest, initOverrides?: RequestInit): Promise<OrganizationsListOrganizationsResponse> {
const response = await this.listOrganizationsRaw(requestParameters, initOverrides);
return await response.value();

@@ -159,0 +159,0 @@ }

@@ -37,3 +37,3 @@ /* tslint:disable */

*/
async listPlansRaw(requestParameters: ListPlansRequest): Promise<runtime.ApiResponse<PlansListPlansResponse>> {
async listPlansRaw(requestParameters: ListPlansRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<PlansListPlansResponse>> {
const queryParameters: any = {};

@@ -57,3 +57,3 @@

query: queryParameters,
});
}, initOverrides);

@@ -65,4 +65,4 @@ return new runtime.JSONApiResponse(response, (jsonValue) => PlansListPlansResponseFromJSON(jsonValue));

*/
async listPlans(requestParameters: ListPlansRequest): Promise<PlansListPlansResponse> {
const response = await this.listPlansRaw(requestParameters);
async listPlans(requestParameters: ListPlansRequest, initOverrides?: RequestInit): Promise<PlansListPlansResponse> {
const response = await this.listPlansRaw(requestParameters, initOverrides);
return await response.value();

@@ -69,0 +69,0 @@ }

@@ -41,3 +41,3 @@ /* tslint:disable */

*/
async getPlanRaw(requestParameters: GetPlanRequest): Promise<runtime.ApiResponse<void>> {
async getPlanRaw(requestParameters: GetPlanRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>> {
if (requestParameters.id === null || requestParameters.id === undefined) {

@@ -56,3 +56,3 @@ throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling getPlan.');

query: queryParameters,
});
}, initOverrides);

@@ -65,4 +65,4 @@ return new runtime.VoidApiResponse(response);

*/
async getPlan(requestParameters: GetPlanRequest): Promise<void> {
await this.getPlanRaw(requestParameters);
async getPlan(requestParameters: GetPlanRequest, initOverrides?: RequestInit): Promise<void> {
await this.getPlanRaw(requestParameters, initOverrides);
}

@@ -73,3 +73,3 @@

*/
async updatePlanExternalIdRaw(requestParameters: UpdatePlanExternalIdRequest): Promise<runtime.ApiResponse<void>> {
async updatePlanExternalIdRaw(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>> {
if (requestParameters.fnaUuid === null || requestParameters.fnaUuid === undefined) {

@@ -99,3 +99,3 @@ throw new runtime.RequiredError('fnaUuid','Required parameter requestParameters.fnaUuid was null or undefined when calling updatePlanExternalId.');

body: requestParameters.body as any,
});
}, initOverrides);

@@ -108,6 +108,6 @@ return new runtime.VoidApiResponse(response);

*/
async updatePlanExternalId(requestParameters: UpdatePlanExternalIdRequest): Promise<void> {
await this.updatePlanExternalIdRaw(requestParameters);
async updatePlanExternalId(requestParameters: UpdatePlanExternalIdRequest, initOverrides?: RequestInit): Promise<void> {
await this.updatePlanExternalIdRaw(requestParameters, initOverrides);
}
}

@@ -37,3 +37,3 @@ /* tslint:disable */

*/
async getUserRaw(requestParameters: GetUserRequest): Promise<runtime.ApiResponse<UsersUser>> {
async getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<UsersUser>> {
if (requestParameters.id === null || requestParameters.id === undefined) {

@@ -57,3 +57,3 @@ throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling getUser.');

query: queryParameters,
});
}, initOverrides);

@@ -65,4 +65,4 @@ return new runtime.JSONApiResponse(response, (jsonValue) => UsersUserFromJSON(jsonValue));

*/
async getUser(requestParameters: GetUserRequest): Promise<UsersUser> {
const response = await this.getUserRaw(requestParameters);
async getUser(requestParameters: GetUserRequest, initOverrides?: RequestInit): Promise<UsersUser> {
const response = await this.getUserRaw(requestParameters, initOverrides);
return await response.value();

@@ -69,0 +69,0 @@ }

@@ -0,3 +1,5 @@

/* tslint:disable */
/* eslint-disable */
export * from './runtime';
export * from './apis';
export * from './models';

@@ -0,1 +1,3 @@

/* tslint:disable */
/* eslint-disable */
export * from './CmdCopyFNA';

@@ -2,0 +4,0 @@ export * from './CmdCopyFNAResponse';

@@ -47,4 +47,4 @@ /* tslint:disable */

protected async request(context: RequestOpts): Promise<Response> {
const { url, init } = this.createFetchParams(context);
protected async request(context: RequestOpts, initOverrides?: RequestInit): Promise<Response> {
const { url, init } = this.createFetchParams(context, initOverrides);
const response = await this.fetchApi(url, init);

@@ -57,3 +57,3 @@ if (response.status >= 200 && response.status < 300) {

private createFetchParams(context: RequestOpts) {
private createFetchParams(context: RequestOpts, initOverrides?: RequestInit) {
let url = this.configuration.basePath + context.path;

@@ -75,3 +75,4 @@ if (context.query !== undefined && Object.keys(context.query).length !== 0) {

body,
credentials: this.configuration.credentials
credentials: this.configuration.credentials,
...initOverrides
};

@@ -91,3 +92,3 @@ return { url, init };

}
let response = await this.configuration.fetchApi(fetchParams.url, fetchParams.init);
let response = await (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
for (const middleware of this.middleware) {

@@ -155,3 +156,3 @@ if (middleware.post) {

get fetchApi(): FetchAPI {
return this.configuration.fetchApi || window.fetch.bind(window);
return this.configuration.fetchApi;
}

@@ -158,0 +159,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc