ch-admin-api-client-typescript 4.1.2 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +346 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +509 -1
- package/package.json +1 -1
- package/src/api.ts +582 -0
package/src/api.ts
CHANGED
|
@@ -267,6 +267,87 @@ export interface AccreditationsModel {
|
|
|
267
267
|
*/
|
|
268
268
|
'metaData'?: PagedListMetaData;
|
|
269
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @export
|
|
273
|
+
* @interface AppVersionItemModel
|
|
274
|
+
*/
|
|
275
|
+
export interface AppVersionItemModel {
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @type {Platform}
|
|
279
|
+
* @memberof AppVersionItemModel
|
|
280
|
+
*/
|
|
281
|
+
'platform'?: Platform;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof AppVersionItemModel
|
|
286
|
+
*/
|
|
287
|
+
'latestVersion'?: string | null;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof AppVersionItemModel
|
|
292
|
+
*/
|
|
293
|
+
'minimumVersion'?: string | null;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @type {Date}
|
|
297
|
+
* @memberof AppVersionItemModel
|
|
298
|
+
*/
|
|
299
|
+
'committedDate'?: Date;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @export
|
|
304
|
+
* @interface AppVersionModel
|
|
305
|
+
*/
|
|
306
|
+
export interface AppVersionModel {
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {Platform}
|
|
310
|
+
* @memberof AppVersionModel
|
|
311
|
+
*/
|
|
312
|
+
'platform'?: Platform;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof AppVersionModel
|
|
317
|
+
*/
|
|
318
|
+
'latestVersion'?: string | null;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof AppVersionModel
|
|
323
|
+
*/
|
|
324
|
+
'minimumVersion'?: string | null;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {Date}
|
|
328
|
+
* @memberof AppVersionModel
|
|
329
|
+
*/
|
|
330
|
+
'committedDate'?: Date;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @export
|
|
335
|
+
* @interface AppVersionsModel
|
|
336
|
+
*/
|
|
337
|
+
export interface AppVersionsModel {
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @type {Array<AppVersionItemModel>}
|
|
341
|
+
* @memberof AppVersionsModel
|
|
342
|
+
*/
|
|
343
|
+
'items'?: Array<AppVersionItemModel> | null;
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {PagedListMetaData}
|
|
347
|
+
* @memberof AppVersionsModel
|
|
348
|
+
*/
|
|
349
|
+
'metaData'?: PagedListMetaData;
|
|
350
|
+
}
|
|
270
351
|
/**
|
|
271
352
|
*
|
|
272
353
|
* @export
|
|
@@ -3113,6 +3194,37 @@ export interface CreateAccreditationCommand {
|
|
|
3113
3194
|
*/
|
|
3114
3195
|
'country'?: string | null;
|
|
3115
3196
|
}
|
|
3197
|
+
/**
|
|
3198
|
+
*
|
|
3199
|
+
* @export
|
|
3200
|
+
* @interface CreateAppVersionCommand
|
|
3201
|
+
*/
|
|
3202
|
+
export interface CreateAppVersionCommand {
|
|
3203
|
+
/**
|
|
3204
|
+
*
|
|
3205
|
+
* @type {Platform}
|
|
3206
|
+
* @memberof CreateAppVersionCommand
|
|
3207
|
+
*/
|
|
3208
|
+
'platform'?: Platform;
|
|
3209
|
+
/**
|
|
3210
|
+
*
|
|
3211
|
+
* @type {string}
|
|
3212
|
+
* @memberof CreateAppVersionCommand
|
|
3213
|
+
*/
|
|
3214
|
+
'latestVersion'?: string | null;
|
|
3215
|
+
/**
|
|
3216
|
+
*
|
|
3217
|
+
* @type {string}
|
|
3218
|
+
* @memberof CreateAppVersionCommand
|
|
3219
|
+
*/
|
|
3220
|
+
'minimumVersion'?: string | null;
|
|
3221
|
+
/**
|
|
3222
|
+
*
|
|
3223
|
+
* @type {Date}
|
|
3224
|
+
* @memberof CreateAppVersionCommand
|
|
3225
|
+
*/
|
|
3226
|
+
'committedDate'?: Date;
|
|
3227
|
+
}
|
|
3116
3228
|
/**
|
|
3117
3229
|
*
|
|
3118
3230
|
* @export
|
|
@@ -10147,6 +10259,18 @@ export interface PlansModel {
|
|
|
10147
10259
|
*/
|
|
10148
10260
|
'metaData'?: PagedListMetaData;
|
|
10149
10261
|
}
|
|
10262
|
+
/**
|
|
10263
|
+
*
|
|
10264
|
+
* @export
|
|
10265
|
+
* @enum {string}
|
|
10266
|
+
*/
|
|
10267
|
+
|
|
10268
|
+
export enum Platform {
|
|
10269
|
+
Web = 'Web',
|
|
10270
|
+
IOs = 'iOS',
|
|
10271
|
+
Android = 'Android'
|
|
10272
|
+
}
|
|
10273
|
+
|
|
10150
10274
|
/**
|
|
10151
10275
|
*
|
|
10152
10276
|
* @export
|
|
@@ -11592,6 +11716,31 @@ export interface UpdateAccreditationCommand {
|
|
|
11592
11716
|
*/
|
|
11593
11717
|
'country'?: string | null;
|
|
11594
11718
|
}
|
|
11719
|
+
/**
|
|
11720
|
+
*
|
|
11721
|
+
* @export
|
|
11722
|
+
* @interface UpdateAppVersionCommand
|
|
11723
|
+
*/
|
|
11724
|
+
export interface UpdateAppVersionCommand {
|
|
11725
|
+
/**
|
|
11726
|
+
*
|
|
11727
|
+
* @type {string}
|
|
11728
|
+
* @memberof UpdateAppVersionCommand
|
|
11729
|
+
*/
|
|
11730
|
+
'latestVersion'?: string | null;
|
|
11731
|
+
/**
|
|
11732
|
+
*
|
|
11733
|
+
* @type {string}
|
|
11734
|
+
* @memberof UpdateAppVersionCommand
|
|
11735
|
+
*/
|
|
11736
|
+
'minimumVersion'?: string | null;
|
|
11737
|
+
/**
|
|
11738
|
+
*
|
|
11739
|
+
* @type {Date}
|
|
11740
|
+
* @memberof UpdateAppVersionCommand
|
|
11741
|
+
*/
|
|
11742
|
+
'committedDate'?: Date | null;
|
|
11743
|
+
}
|
|
11595
11744
|
/**
|
|
11596
11745
|
*
|
|
11597
11746
|
* @export
|
|
@@ -14859,6 +15008,439 @@ export class AccreditationsApi extends BaseAPI {
|
|
|
14859
15008
|
}
|
|
14860
15009
|
|
|
14861
15010
|
|
|
15011
|
+
/**
|
|
15012
|
+
* AppVersionApi - axios parameter creator
|
|
15013
|
+
* @export
|
|
15014
|
+
*/
|
|
15015
|
+
export const AppVersionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15016
|
+
return {
|
|
15017
|
+
/**
|
|
15018
|
+
*
|
|
15019
|
+
* @param {Platform} [platform]
|
|
15020
|
+
* @param {string} [latestVersion]
|
|
15021
|
+
* @param {string} [minimumVersion]
|
|
15022
|
+
* @param {Date} [committedDate]
|
|
15023
|
+
* @param {number} [page]
|
|
15024
|
+
* @param {number} [limit]
|
|
15025
|
+
* @param {Date} [lastRetrieved]
|
|
15026
|
+
* @param {*} [options] Override http request option.
|
|
15027
|
+
* @throws {RequiredError}
|
|
15028
|
+
*/
|
|
15029
|
+
apiV1AppversionGet: async (platform?: Platform, latestVersion?: string, minimumVersion?: string, committedDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15030
|
+
const localVarPath = `/api/v1/appversion`;
|
|
15031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15033
|
+
let baseOptions;
|
|
15034
|
+
if (configuration) {
|
|
15035
|
+
baseOptions = configuration.baseOptions;
|
|
15036
|
+
}
|
|
15037
|
+
|
|
15038
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15039
|
+
const localVarHeaderParameter = {} as any;
|
|
15040
|
+
const localVarQueryParameter = {} as any;
|
|
15041
|
+
|
|
15042
|
+
// authentication oauth2 required
|
|
15043
|
+
// oauth required
|
|
15044
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15045
|
+
|
|
15046
|
+
if (platform !== undefined) {
|
|
15047
|
+
localVarQueryParameter['Platform'] = platform;
|
|
15048
|
+
}
|
|
15049
|
+
|
|
15050
|
+
if (latestVersion !== undefined) {
|
|
15051
|
+
localVarQueryParameter['LatestVersion'] = latestVersion;
|
|
15052
|
+
}
|
|
15053
|
+
|
|
15054
|
+
if (minimumVersion !== undefined) {
|
|
15055
|
+
localVarQueryParameter['MinimumVersion'] = minimumVersion;
|
|
15056
|
+
}
|
|
15057
|
+
|
|
15058
|
+
if (committedDate !== undefined) {
|
|
15059
|
+
localVarQueryParameter['CommittedDate'] = (committedDate as any instanceof Date) ?
|
|
15060
|
+
(committedDate as any).toISOString() :
|
|
15061
|
+
committedDate;
|
|
15062
|
+
}
|
|
15063
|
+
|
|
15064
|
+
if (page !== undefined) {
|
|
15065
|
+
localVarQueryParameter['page'] = page;
|
|
15066
|
+
}
|
|
15067
|
+
|
|
15068
|
+
if (limit !== undefined) {
|
|
15069
|
+
localVarQueryParameter['limit'] = limit;
|
|
15070
|
+
}
|
|
15071
|
+
|
|
15072
|
+
if (lastRetrieved !== undefined) {
|
|
15073
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
15074
|
+
(lastRetrieved as any).toISOString() :
|
|
15075
|
+
lastRetrieved;
|
|
15076
|
+
}
|
|
15077
|
+
|
|
15078
|
+
|
|
15079
|
+
|
|
15080
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15081
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15082
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15083
|
+
|
|
15084
|
+
return {
|
|
15085
|
+
url: toPathString(localVarUrlObj),
|
|
15086
|
+
options: localVarRequestOptions,
|
|
15087
|
+
};
|
|
15088
|
+
},
|
|
15089
|
+
/**
|
|
15090
|
+
*
|
|
15091
|
+
* @param {Platform} platform
|
|
15092
|
+
* @param {*} [options] Override http request option.
|
|
15093
|
+
* @throws {RequiredError}
|
|
15094
|
+
*/
|
|
15095
|
+
apiV1AppversionPlatformDelete: async (platform: Platform, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15096
|
+
// verify required parameter 'platform' is not null or undefined
|
|
15097
|
+
assertParamExists('apiV1AppversionPlatformDelete', 'platform', platform)
|
|
15098
|
+
const localVarPath = `/api/v1/appversion/{platform}`
|
|
15099
|
+
.replace(`{${"platform"}}`, encodeURIComponent(String(platform)));
|
|
15100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15102
|
+
let baseOptions;
|
|
15103
|
+
if (configuration) {
|
|
15104
|
+
baseOptions = configuration.baseOptions;
|
|
15105
|
+
}
|
|
15106
|
+
|
|
15107
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
15108
|
+
const localVarHeaderParameter = {} as any;
|
|
15109
|
+
const localVarQueryParameter = {} as any;
|
|
15110
|
+
|
|
15111
|
+
// authentication oauth2 required
|
|
15112
|
+
// oauth required
|
|
15113
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15114
|
+
|
|
15115
|
+
|
|
15116
|
+
|
|
15117
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15118
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15119
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15120
|
+
|
|
15121
|
+
return {
|
|
15122
|
+
url: toPathString(localVarUrlObj),
|
|
15123
|
+
options: localVarRequestOptions,
|
|
15124
|
+
};
|
|
15125
|
+
},
|
|
15126
|
+
/**
|
|
15127
|
+
*
|
|
15128
|
+
* @param {Platform} platform
|
|
15129
|
+
* @param {*} [options] Override http request option.
|
|
15130
|
+
* @throws {RequiredError}
|
|
15131
|
+
*/
|
|
15132
|
+
apiV1AppversionPlatformGet: async (platform: Platform, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15133
|
+
// verify required parameter 'platform' is not null or undefined
|
|
15134
|
+
assertParamExists('apiV1AppversionPlatformGet', 'platform', platform)
|
|
15135
|
+
const localVarPath = `/api/v1/appversion/{platform}`
|
|
15136
|
+
.replace(`{${"platform"}}`, encodeURIComponent(String(platform)));
|
|
15137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15139
|
+
let baseOptions;
|
|
15140
|
+
if (configuration) {
|
|
15141
|
+
baseOptions = configuration.baseOptions;
|
|
15142
|
+
}
|
|
15143
|
+
|
|
15144
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15145
|
+
const localVarHeaderParameter = {} as any;
|
|
15146
|
+
const localVarQueryParameter = {} as any;
|
|
15147
|
+
|
|
15148
|
+
// authentication oauth2 required
|
|
15149
|
+
// oauth required
|
|
15150
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15151
|
+
|
|
15152
|
+
|
|
15153
|
+
|
|
15154
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15155
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15156
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15157
|
+
|
|
15158
|
+
return {
|
|
15159
|
+
url: toPathString(localVarUrlObj),
|
|
15160
|
+
options: localVarRequestOptions,
|
|
15161
|
+
};
|
|
15162
|
+
},
|
|
15163
|
+
/**
|
|
15164
|
+
*
|
|
15165
|
+
* @param {Platform} platform
|
|
15166
|
+
* @param {UpdateAppVersionCommand} [updateAppVersionCommand]
|
|
15167
|
+
* @param {*} [options] Override http request option.
|
|
15168
|
+
* @throws {RequiredError}
|
|
15169
|
+
*/
|
|
15170
|
+
apiV1AppversionPlatformPut: async (platform: Platform, updateAppVersionCommand?: UpdateAppVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15171
|
+
// verify required parameter 'platform' is not null or undefined
|
|
15172
|
+
assertParamExists('apiV1AppversionPlatformPut', 'platform', platform)
|
|
15173
|
+
const localVarPath = `/api/v1/appversion/{platform}`
|
|
15174
|
+
.replace(`{${"platform"}}`, encodeURIComponent(String(platform)));
|
|
15175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15177
|
+
let baseOptions;
|
|
15178
|
+
if (configuration) {
|
|
15179
|
+
baseOptions = configuration.baseOptions;
|
|
15180
|
+
}
|
|
15181
|
+
|
|
15182
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15183
|
+
const localVarHeaderParameter = {} as any;
|
|
15184
|
+
const localVarQueryParameter = {} as any;
|
|
15185
|
+
|
|
15186
|
+
// authentication oauth2 required
|
|
15187
|
+
// oauth required
|
|
15188
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15189
|
+
|
|
15190
|
+
|
|
15191
|
+
|
|
15192
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15193
|
+
|
|
15194
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15195
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15196
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15197
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateAppVersionCommand, localVarRequestOptions, configuration)
|
|
15198
|
+
|
|
15199
|
+
return {
|
|
15200
|
+
url: toPathString(localVarUrlObj),
|
|
15201
|
+
options: localVarRequestOptions,
|
|
15202
|
+
};
|
|
15203
|
+
},
|
|
15204
|
+
/**
|
|
15205
|
+
*
|
|
15206
|
+
* @param {CreateAppVersionCommand} [createAppVersionCommand]
|
|
15207
|
+
* @param {*} [options] Override http request option.
|
|
15208
|
+
* @throws {RequiredError}
|
|
15209
|
+
*/
|
|
15210
|
+
apiV1AppversionPost: async (createAppVersionCommand?: CreateAppVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15211
|
+
const localVarPath = `/api/v1/appversion`;
|
|
15212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15213
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15214
|
+
let baseOptions;
|
|
15215
|
+
if (configuration) {
|
|
15216
|
+
baseOptions = configuration.baseOptions;
|
|
15217
|
+
}
|
|
15218
|
+
|
|
15219
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15220
|
+
const localVarHeaderParameter = {} as any;
|
|
15221
|
+
const localVarQueryParameter = {} as any;
|
|
15222
|
+
|
|
15223
|
+
// authentication oauth2 required
|
|
15224
|
+
// oauth required
|
|
15225
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15226
|
+
|
|
15227
|
+
|
|
15228
|
+
|
|
15229
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15230
|
+
|
|
15231
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15232
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15233
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15234
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createAppVersionCommand, localVarRequestOptions, configuration)
|
|
15235
|
+
|
|
15236
|
+
return {
|
|
15237
|
+
url: toPathString(localVarUrlObj),
|
|
15238
|
+
options: localVarRequestOptions,
|
|
15239
|
+
};
|
|
15240
|
+
},
|
|
15241
|
+
}
|
|
15242
|
+
};
|
|
15243
|
+
|
|
15244
|
+
/**
|
|
15245
|
+
* AppVersionApi - functional programming interface
|
|
15246
|
+
* @export
|
|
15247
|
+
*/
|
|
15248
|
+
export const AppVersionApiFp = function(configuration?: Configuration) {
|
|
15249
|
+
const localVarAxiosParamCreator = AppVersionApiAxiosParamCreator(configuration)
|
|
15250
|
+
return {
|
|
15251
|
+
/**
|
|
15252
|
+
*
|
|
15253
|
+
* @param {Platform} [platform]
|
|
15254
|
+
* @param {string} [latestVersion]
|
|
15255
|
+
* @param {string} [minimumVersion]
|
|
15256
|
+
* @param {Date} [committedDate]
|
|
15257
|
+
* @param {number} [page]
|
|
15258
|
+
* @param {number} [limit]
|
|
15259
|
+
* @param {Date} [lastRetrieved]
|
|
15260
|
+
* @param {*} [options] Override http request option.
|
|
15261
|
+
* @throws {RequiredError}
|
|
15262
|
+
*/
|
|
15263
|
+
async apiV1AppversionGet(platform?: Platform, latestVersion?: string, minimumVersion?: string, committedDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionsModel>> {
|
|
15264
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppversionGet(platform, latestVersion, minimumVersion, committedDate, page, limit, lastRetrieved, options);
|
|
15265
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15266
|
+
},
|
|
15267
|
+
/**
|
|
15268
|
+
*
|
|
15269
|
+
* @param {Platform} platform
|
|
15270
|
+
* @param {*} [options] Override http request option.
|
|
15271
|
+
* @throws {RequiredError}
|
|
15272
|
+
*/
|
|
15273
|
+
async apiV1AppversionPlatformDelete(platform: Platform, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionModel>> {
|
|
15274
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppversionPlatformDelete(platform, options);
|
|
15275
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15276
|
+
},
|
|
15277
|
+
/**
|
|
15278
|
+
*
|
|
15279
|
+
* @param {Platform} platform
|
|
15280
|
+
* @param {*} [options] Override http request option.
|
|
15281
|
+
* @throws {RequiredError}
|
|
15282
|
+
*/
|
|
15283
|
+
async apiV1AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionModel>> {
|
|
15284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppversionPlatformGet(platform, options);
|
|
15285
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15286
|
+
},
|
|
15287
|
+
/**
|
|
15288
|
+
*
|
|
15289
|
+
* @param {Platform} platform
|
|
15290
|
+
* @param {UpdateAppVersionCommand} [updateAppVersionCommand]
|
|
15291
|
+
* @param {*} [options] Override http request option.
|
|
15292
|
+
* @throws {RequiredError}
|
|
15293
|
+
*/
|
|
15294
|
+
async apiV1AppversionPlatformPut(platform: Platform, updateAppVersionCommand?: UpdateAppVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionModel>> {
|
|
15295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppversionPlatformPut(platform, updateAppVersionCommand, options);
|
|
15296
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15297
|
+
},
|
|
15298
|
+
/**
|
|
15299
|
+
*
|
|
15300
|
+
* @param {CreateAppVersionCommand} [createAppVersionCommand]
|
|
15301
|
+
* @param {*} [options] Override http request option.
|
|
15302
|
+
* @throws {RequiredError}
|
|
15303
|
+
*/
|
|
15304
|
+
async apiV1AppversionPost(createAppVersionCommand?: CreateAppVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionModel>> {
|
|
15305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppversionPost(createAppVersionCommand, options);
|
|
15306
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15307
|
+
},
|
|
15308
|
+
}
|
|
15309
|
+
};
|
|
15310
|
+
|
|
15311
|
+
/**
|
|
15312
|
+
* AppVersionApi - factory interface
|
|
15313
|
+
* @export
|
|
15314
|
+
*/
|
|
15315
|
+
export const AppVersionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15316
|
+
const localVarFp = AppVersionApiFp(configuration)
|
|
15317
|
+
return {
|
|
15318
|
+
/**
|
|
15319
|
+
*
|
|
15320
|
+
* @param {Platform} [platform]
|
|
15321
|
+
* @param {string} [latestVersion]
|
|
15322
|
+
* @param {string} [minimumVersion]
|
|
15323
|
+
* @param {Date} [committedDate]
|
|
15324
|
+
* @param {number} [page]
|
|
15325
|
+
* @param {number} [limit]
|
|
15326
|
+
* @param {Date} [lastRetrieved]
|
|
15327
|
+
* @param {*} [options] Override http request option.
|
|
15328
|
+
* @throws {RequiredError}
|
|
15329
|
+
*/
|
|
15330
|
+
apiV1AppversionGet(platform?: Platform, latestVersion?: string, minimumVersion?: string, committedDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppVersionsModel> {
|
|
15331
|
+
return localVarFp.apiV1AppversionGet(platform, latestVersion, minimumVersion, committedDate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
15332
|
+
},
|
|
15333
|
+
/**
|
|
15334
|
+
*
|
|
15335
|
+
* @param {Platform} platform
|
|
15336
|
+
* @param {*} [options] Override http request option.
|
|
15337
|
+
* @throws {RequiredError}
|
|
15338
|
+
*/
|
|
15339
|
+
apiV1AppversionPlatformDelete(platform: Platform, options?: any): AxiosPromise<AppVersionModel> {
|
|
15340
|
+
return localVarFp.apiV1AppversionPlatformDelete(platform, options).then((request) => request(axios, basePath));
|
|
15341
|
+
},
|
|
15342
|
+
/**
|
|
15343
|
+
*
|
|
15344
|
+
* @param {Platform} platform
|
|
15345
|
+
* @param {*} [options] Override http request option.
|
|
15346
|
+
* @throws {RequiredError}
|
|
15347
|
+
*/
|
|
15348
|
+
apiV1AppversionPlatformGet(platform: Platform, options?: any): AxiosPromise<AppVersionModel> {
|
|
15349
|
+
return localVarFp.apiV1AppversionPlatformGet(platform, options).then((request) => request(axios, basePath));
|
|
15350
|
+
},
|
|
15351
|
+
/**
|
|
15352
|
+
*
|
|
15353
|
+
* @param {Platform} platform
|
|
15354
|
+
* @param {UpdateAppVersionCommand} [updateAppVersionCommand]
|
|
15355
|
+
* @param {*} [options] Override http request option.
|
|
15356
|
+
* @throws {RequiredError}
|
|
15357
|
+
*/
|
|
15358
|
+
apiV1AppversionPlatformPut(platform: Platform, updateAppVersionCommand?: UpdateAppVersionCommand, options?: any): AxiosPromise<AppVersionModel> {
|
|
15359
|
+
return localVarFp.apiV1AppversionPlatformPut(platform, updateAppVersionCommand, options).then((request) => request(axios, basePath));
|
|
15360
|
+
},
|
|
15361
|
+
/**
|
|
15362
|
+
*
|
|
15363
|
+
* @param {CreateAppVersionCommand} [createAppVersionCommand]
|
|
15364
|
+
* @param {*} [options] Override http request option.
|
|
15365
|
+
* @throws {RequiredError}
|
|
15366
|
+
*/
|
|
15367
|
+
apiV1AppversionPost(createAppVersionCommand?: CreateAppVersionCommand, options?: any): AxiosPromise<AppVersionModel> {
|
|
15368
|
+
return localVarFp.apiV1AppversionPost(createAppVersionCommand, options).then((request) => request(axios, basePath));
|
|
15369
|
+
},
|
|
15370
|
+
};
|
|
15371
|
+
};
|
|
15372
|
+
|
|
15373
|
+
/**
|
|
15374
|
+
* AppVersionApi - object-oriented interface
|
|
15375
|
+
* @export
|
|
15376
|
+
* @class AppVersionApi
|
|
15377
|
+
* @extends {BaseAPI}
|
|
15378
|
+
*/
|
|
15379
|
+
export class AppVersionApi extends BaseAPI {
|
|
15380
|
+
/**
|
|
15381
|
+
*
|
|
15382
|
+
* @param {Platform} [platform]
|
|
15383
|
+
* @param {string} [latestVersion]
|
|
15384
|
+
* @param {string} [minimumVersion]
|
|
15385
|
+
* @param {Date} [committedDate]
|
|
15386
|
+
* @param {number} [page]
|
|
15387
|
+
* @param {number} [limit]
|
|
15388
|
+
* @param {Date} [lastRetrieved]
|
|
15389
|
+
* @param {*} [options] Override http request option.
|
|
15390
|
+
* @throws {RequiredError}
|
|
15391
|
+
* @memberof AppVersionApi
|
|
15392
|
+
*/
|
|
15393
|
+
public apiV1AppversionGet(platform?: Platform, latestVersion?: string, minimumVersion?: string, committedDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15394
|
+
return AppVersionApiFp(this.configuration).apiV1AppversionGet(platform, latestVersion, minimumVersion, committedDate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
15395
|
+
}
|
|
15396
|
+
|
|
15397
|
+
/**
|
|
15398
|
+
*
|
|
15399
|
+
* @param {Platform} platform
|
|
15400
|
+
* @param {*} [options] Override http request option.
|
|
15401
|
+
* @throws {RequiredError}
|
|
15402
|
+
* @memberof AppVersionApi
|
|
15403
|
+
*/
|
|
15404
|
+
public apiV1AppversionPlatformDelete(platform: Platform, options?: AxiosRequestConfig) {
|
|
15405
|
+
return AppVersionApiFp(this.configuration).apiV1AppversionPlatformDelete(platform, options).then((request) => request(this.axios, this.basePath));
|
|
15406
|
+
}
|
|
15407
|
+
|
|
15408
|
+
/**
|
|
15409
|
+
*
|
|
15410
|
+
* @param {Platform} platform
|
|
15411
|
+
* @param {*} [options] Override http request option.
|
|
15412
|
+
* @throws {RequiredError}
|
|
15413
|
+
* @memberof AppVersionApi
|
|
15414
|
+
*/
|
|
15415
|
+
public apiV1AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig) {
|
|
15416
|
+
return AppVersionApiFp(this.configuration).apiV1AppversionPlatformGet(platform, options).then((request) => request(this.axios, this.basePath));
|
|
15417
|
+
}
|
|
15418
|
+
|
|
15419
|
+
/**
|
|
15420
|
+
*
|
|
15421
|
+
* @param {Platform} platform
|
|
15422
|
+
* @param {UpdateAppVersionCommand} [updateAppVersionCommand]
|
|
15423
|
+
* @param {*} [options] Override http request option.
|
|
15424
|
+
* @throws {RequiredError}
|
|
15425
|
+
* @memberof AppVersionApi
|
|
15426
|
+
*/
|
|
15427
|
+
public apiV1AppversionPlatformPut(platform: Platform, updateAppVersionCommand?: UpdateAppVersionCommand, options?: AxiosRequestConfig) {
|
|
15428
|
+
return AppVersionApiFp(this.configuration).apiV1AppversionPlatformPut(platform, updateAppVersionCommand, options).then((request) => request(this.axios, this.basePath));
|
|
15429
|
+
}
|
|
15430
|
+
|
|
15431
|
+
/**
|
|
15432
|
+
*
|
|
15433
|
+
* @param {CreateAppVersionCommand} [createAppVersionCommand]
|
|
15434
|
+
* @param {*} [options] Override http request option.
|
|
15435
|
+
* @throws {RequiredError}
|
|
15436
|
+
* @memberof AppVersionApi
|
|
15437
|
+
*/
|
|
15438
|
+
public apiV1AppversionPost(createAppVersionCommand?: CreateAppVersionCommand, options?: AxiosRequestConfig) {
|
|
15439
|
+
return AppVersionApiFp(this.configuration).apiV1AppversionPost(createAppVersionCommand, options).then((request) => request(this.axios, this.basePath));
|
|
15440
|
+
}
|
|
15441
|
+
}
|
|
15442
|
+
|
|
15443
|
+
|
|
14862
15444
|
/**
|
|
14863
15445
|
* ArticlesApi - axios parameter creator
|
|
14864
15446
|
* @export
|