Skip to content

Commit

Permalink
chore(deps): update openapitools/openapi-generator-cli docker tag to …
Browse files Browse the repository at this point in the history
…v7.3.0 (#50)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

7bd4ab6
  • Loading branch information
paddatrapper authored and libretime-bot committed Feb 8, 2024
1 parent 7bd4ab6 commit f823769
Show file tree
Hide file tree
Showing 425 changed files with 59,454 additions and 27,533 deletions.
2 changes: 1 addition & 1 deletion javascript-client/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.1
7.3.0
5 changes: 3 additions & 2 deletions javascript-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html))
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))

### Building

Expand All @@ -27,7 +27,7 @@ npm run build

### Publishing

First build the package then run ```npm publish```
First build the package then run `npm publish`

### Consuming

Expand All @@ -43,3 +43,4 @@ _unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
```
64 changes: 38 additions & 26 deletions javascript-client/api/celery-tasks-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@


import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import globalAxios from 'axios';
// Some imports not used depending on template conditions
// @ts-ignore
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
// @ts-ignore
import { CeleryTask } from '../model';
// @ts-ignore
Expand All @@ -37,7 +37,7 @@ export const CeleryTasksApiAxiosParamCreator = function (configuration?: Configu
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
celeryTasksCreate: async (celeryTask: CeleryTask, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
celeryTasksCreate: async (celeryTask: CeleryTask, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'celeryTask' is not null or undefined
assertParamExists('celeryTasksCreate', 'celeryTask', celeryTask)
const localVarPath = `/api/v2/celery-tasks`;
Expand Down Expand Up @@ -78,7 +78,7 @@ export const CeleryTasksApiAxiosParamCreator = function (configuration?: Configu
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
celeryTasksDestroy: async (id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
celeryTasksDestroy: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('celeryTasksDestroy', 'id', id)
const localVarPath = `/api/v2/celery-tasks/{id}`
Expand Down Expand Up @@ -116,7 +116,7 @@ export const CeleryTasksApiAxiosParamCreator = function (configuration?: Configu
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
celeryTasksList: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
celeryTasksList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/api/v2/celery-tasks`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down Expand Up @@ -153,7 +153,7 @@ export const CeleryTasksApiAxiosParamCreator = function (configuration?: Configu
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
celeryTasksPartialUpdate: async (id: number, patchedCeleryTask?: PatchedCeleryTask, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
celeryTasksPartialUpdate: async (id: number, patchedCeleryTask?: PatchedCeleryTask, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('celeryTasksPartialUpdate', 'id', id)
const localVarPath = `/api/v2/celery-tasks/{id}`
Expand Down Expand Up @@ -195,7 +195,7 @@ export const CeleryTasksApiAxiosParamCreator = function (configuration?: Configu
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
celeryTasksRetrieve: async (id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
celeryTasksRetrieve: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('celeryTasksRetrieve', 'id', id)
const localVarPath = `/api/v2/celery-tasks/{id}`
Expand Down Expand Up @@ -235,7 +235,7 @@ export const CeleryTasksApiAxiosParamCreator = function (configuration?: Configu
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
celeryTasksUpdate: async (id: number, celeryTask: CeleryTask, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
celeryTasksUpdate: async (id: number, celeryTask: CeleryTask, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('celeryTasksUpdate', 'id', id)
// verify required parameter 'celeryTask' is not null or undefined
Expand Down Expand Up @@ -289,28 +289,34 @@ export const CeleryTasksApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async celeryTasksCreate(celeryTask: CeleryTask, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CeleryTask>> {
async celeryTasksCreate(celeryTask: CeleryTask, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CeleryTask>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.celeryTasksCreate(celeryTask, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['CeleryTasksApi.celeryTasksCreate']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @param {number} id A unique integer value identifying this celery task.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async celeryTasksDestroy(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
async celeryTasksDestroy(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.celeryTasksDestroy(id, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['CeleryTasksApi.celeryTasksDestroy']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async celeryTasksList(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CeleryTask>>> {
async celeryTasksList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CeleryTask>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.celeryTasksList(options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['CeleryTasksApi.celeryTasksList']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
Expand All @@ -319,19 +325,23 @@ export const CeleryTasksApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async celeryTasksPartialUpdate(id: number, patchedCeleryTask?: PatchedCeleryTask, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CeleryTask>> {
async celeryTasksPartialUpdate(id: number, patchedCeleryTask?: PatchedCeleryTask, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CeleryTask>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.celeryTasksPartialUpdate(id, patchedCeleryTask, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['CeleryTasksApi.celeryTasksPartialUpdate']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @param {number} id A unique integer value identifying this celery task.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async celeryTasksRetrieve(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CeleryTask>> {
async celeryTasksRetrieve(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CeleryTask>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.celeryTasksRetrieve(id, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['CeleryTasksApi.celeryTasksRetrieve']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
Expand All @@ -340,9 +350,11 @@ export const CeleryTasksApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async celeryTasksUpdate(id: number, celeryTask: CeleryTask, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CeleryTask>> {
async celeryTasksUpdate(id: number, celeryTask: CeleryTask, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CeleryTask>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.celeryTasksUpdate(id, celeryTask, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['CeleryTasksApi.celeryTasksUpdate']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
}
};
Expand Down Expand Up @@ -426,7 +438,7 @@ export class CeleryTasksApi extends BaseAPI {
* @throws {RequiredError}
* @memberof CeleryTasksApi
*/
public celeryTasksCreate(celeryTask: CeleryTask, options?: AxiosRequestConfig) {
public celeryTasksCreate(celeryTask: CeleryTask, options?: RawAxiosRequestConfig) {
return CeleryTasksApiFp(this.configuration).celeryTasksCreate(celeryTask, options).then((request) => request(this.axios, this.basePath));
}

Expand All @@ -437,7 +449,7 @@ export class CeleryTasksApi extends BaseAPI {
* @throws {RequiredError}
* @memberof CeleryTasksApi
*/
public celeryTasksDestroy(id: number, options?: AxiosRequestConfig) {
public celeryTasksDestroy(id: number, options?: RawAxiosRequestConfig) {
return CeleryTasksApiFp(this.configuration).celeryTasksDestroy(id, options).then((request) => request(this.axios, this.basePath));
}

Expand All @@ -447,7 +459,7 @@ export class CeleryTasksApi extends BaseAPI {
* @throws {RequiredError}
* @memberof CeleryTasksApi
*/
public celeryTasksList(options?: AxiosRequestConfig) {
public celeryTasksList(options?: RawAxiosRequestConfig) {
return CeleryTasksApiFp(this.configuration).celeryTasksList(options).then((request) => request(this.axios, this.basePath));
}

Expand All @@ -459,7 +471,7 @@ export class CeleryTasksApi extends BaseAPI {
* @throws {RequiredError}
* @memberof CeleryTasksApi
*/
public celeryTasksPartialUpdate(id: number, patchedCeleryTask?: PatchedCeleryTask, options?: AxiosRequestConfig) {
public celeryTasksPartialUpdate(id: number, patchedCeleryTask?: PatchedCeleryTask, options?: RawAxiosRequestConfig) {
return CeleryTasksApiFp(this.configuration).celeryTasksPartialUpdate(id, patchedCeleryTask, options).then((request) => request(this.axios, this.basePath));
}

Expand All @@ -470,7 +482,7 @@ export class CeleryTasksApi extends BaseAPI {
* @throws {RequiredError}
* @memberof CeleryTasksApi
*/
public celeryTasksRetrieve(id: number, options?: AxiosRequestConfig) {
public celeryTasksRetrieve(id: number, options?: RawAxiosRequestConfig) {
return CeleryTasksApiFp(this.configuration).celeryTasksRetrieve(id, options).then((request) => request(this.axios, this.basePath));
}

Expand All @@ -482,7 +494,7 @@ export class CeleryTasksApi extends BaseAPI {
* @throws {RequiredError}
* @memberof CeleryTasksApi
*/
public celeryTasksUpdate(id: number, celeryTask: CeleryTask, options?: AxiosRequestConfig) {
public celeryTasksUpdate(id: number, celeryTask: CeleryTask, options?: RawAxiosRequestConfig) {
return CeleryTasksApiFp(this.configuration).celeryTasksUpdate(id, celeryTask, options).then((request) => request(this.axios, this.basePath));
}
}
Expand Down
Loading

0 comments on commit f823769

Please sign in to comment.