-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
12,675 additions
and
11,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import { | ||
ErrorBody, | ||
GetV2EverouteLicensesConnectionRequestBody, | ||
GetV2EverouteLicensesRequestBody, | ||
V2EverouteLicense, | ||
V2EverouteLicenseConnection, | ||
} from "./data-contracts"; | ||
import { ContentType, HttpClient, RequestParams } from "./http-client"; | ||
|
||
export class V2EverouteLicenseApi<SecurityDataType = unknown> { | ||
http: HttpClient<SecurityDataType>; | ||
|
||
constructor(http: HttpClient<SecurityDataType>) { | ||
this.http = http; | ||
} | ||
|
||
/** | ||
* No description | ||
* | ||
* @tags V2EverouteLicense | ||
* @name GetV2EverouteLicenses | ||
* @request POST:/get-v2-everoute-licenses | ||
* @secure | ||
* @response `200` `(V2EverouteLicense)[]` | ||
* @response `400` `ErrorBody` Bad request | ||
* @response `404` `ErrorBody` Not found | ||
* @response `500` `ErrorBody` Server error | ||
*/ | ||
getV2EverouteLicenses = ( | ||
data: GetV2EverouteLicensesRequestBody, | ||
params: RequestParams = {} | ||
) => | ||
this.http.request<V2EverouteLicense[], ErrorBody>({ | ||
path: `/get-v2-everoute-licenses`, | ||
method: "POST", | ||
body: data, | ||
secure: true, | ||
type: ContentType.Json, | ||
format: "json", | ||
...params, | ||
}); | ||
/** | ||
* No description | ||
* | ||
* @tags V2EverouteLicense | ||
* @name GetV2EverouteLicensesConnection | ||
* @request POST:/get-v-2-everoute-licenses-connection | ||
* @secure | ||
* @response `200` `V2EverouteLicenseConnection` | ||
* @response `400` `ErrorBody` Bad request | ||
* @response `404` `ErrorBody` Not found | ||
* @response `500` `ErrorBody` Server error | ||
*/ | ||
getV2EverouteLicensesConnection = ( | ||
data: GetV2EverouteLicensesConnectionRequestBody, | ||
params: RequestParams = {} | ||
) => | ||
this.http.request<V2EverouteLicenseConnection, ErrorBody>({ | ||
path: `/get-v-2-everoute-licenses-connection`, | ||
method: "POST", | ||
body: data, | ||
secure: true, | ||
type: ContentType.Json, | ||
format: "json", | ||
...params, | ||
}); | ||
} |
Oops, something went wrong.