ch-admin-api-client-typescript 4.1.4 → 4.1.7
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/lib/api.d.ts
CHANGED
|
@@ -258,6 +258,87 @@ export interface AccreditationsModel {
|
|
|
258
258
|
*/
|
|
259
259
|
'metaData'?: PagedListMetaData;
|
|
260
260
|
}
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @export
|
|
264
|
+
* @interface AppVersionItemModel
|
|
265
|
+
*/
|
|
266
|
+
export interface AppVersionItemModel {
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @type {Platform}
|
|
270
|
+
* @memberof AppVersionItemModel
|
|
271
|
+
*/
|
|
272
|
+
'platform'?: Platform;
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @type {string}
|
|
276
|
+
* @memberof AppVersionItemModel
|
|
277
|
+
*/
|
|
278
|
+
'latestVersion'?: string | null;
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @type {string}
|
|
282
|
+
* @memberof AppVersionItemModel
|
|
283
|
+
*/
|
|
284
|
+
'minimumVersion'?: string | null;
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
* @type {Date}
|
|
288
|
+
* @memberof AppVersionItemModel
|
|
289
|
+
*/
|
|
290
|
+
'committedDate'?: Date;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
*
|
|
294
|
+
* @export
|
|
295
|
+
* @interface AppVersionModel
|
|
296
|
+
*/
|
|
297
|
+
export interface AppVersionModel {
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @type {Platform}
|
|
301
|
+
* @memberof AppVersionModel
|
|
302
|
+
*/
|
|
303
|
+
'platform'?: Platform;
|
|
304
|
+
/**
|
|
305
|
+
*
|
|
306
|
+
* @type {string}
|
|
307
|
+
* @memberof AppVersionModel
|
|
308
|
+
*/
|
|
309
|
+
'latestVersion'?: string | null;
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof AppVersionModel
|
|
314
|
+
*/
|
|
315
|
+
'minimumVersion'?: string | null;
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @type {Date}
|
|
319
|
+
* @memberof AppVersionModel
|
|
320
|
+
*/
|
|
321
|
+
'committedDate'?: Date;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @export
|
|
326
|
+
* @interface AppVersionsModel
|
|
327
|
+
*/
|
|
328
|
+
export interface AppVersionsModel {
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @type {Array<AppVersionItemModel>}
|
|
332
|
+
* @memberof AppVersionsModel
|
|
333
|
+
*/
|
|
334
|
+
'items'?: Array<AppVersionItemModel> | null;
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {PagedListMetaData}
|
|
338
|
+
* @memberof AppVersionsModel
|
|
339
|
+
*/
|
|
340
|
+
'metaData'?: PagedListMetaData;
|
|
341
|
+
}
|
|
261
342
|
/**
|
|
262
343
|
*
|
|
263
344
|
* @export
|
|
@@ -3094,6 +3175,37 @@ export interface CreateAccreditationCommand {
|
|
|
3094
3175
|
*/
|
|
3095
3176
|
'country'?: string | null;
|
|
3096
3177
|
}
|
|
3178
|
+
/**
|
|
3179
|
+
*
|
|
3180
|
+
* @export
|
|
3181
|
+
* @interface CreateAppVersionCommand
|
|
3182
|
+
*/
|
|
3183
|
+
export interface CreateAppVersionCommand {
|
|
3184
|
+
/**
|
|
3185
|
+
*
|
|
3186
|
+
* @type {Platform}
|
|
3187
|
+
* @memberof CreateAppVersionCommand
|
|
3188
|
+
*/
|
|
3189
|
+
'platform'?: Platform;
|
|
3190
|
+
/**
|
|
3191
|
+
*
|
|
3192
|
+
* @type {string}
|
|
3193
|
+
* @memberof CreateAppVersionCommand
|
|
3194
|
+
*/
|
|
3195
|
+
'latestVersion'?: string | null;
|
|
3196
|
+
/**
|
|
3197
|
+
*
|
|
3198
|
+
* @type {string}
|
|
3199
|
+
* @memberof CreateAppVersionCommand
|
|
3200
|
+
*/
|
|
3201
|
+
'minimumVersion'?: string | null;
|
|
3202
|
+
/**
|
|
3203
|
+
*
|
|
3204
|
+
* @type {Date}
|
|
3205
|
+
* @memberof CreateAppVersionCommand
|
|
3206
|
+
*/
|
|
3207
|
+
'committedDate'?: Date;
|
|
3208
|
+
}
|
|
3097
3209
|
/**
|
|
3098
3210
|
*
|
|
3099
3211
|
* @export
|
|
@@ -10118,6 +10230,16 @@ export interface PlansModel {
|
|
|
10118
10230
|
*/
|
|
10119
10231
|
'metaData'?: PagedListMetaData;
|
|
10120
10232
|
}
|
|
10233
|
+
/**
|
|
10234
|
+
*
|
|
10235
|
+
* @export
|
|
10236
|
+
* @enum {string}
|
|
10237
|
+
*/
|
|
10238
|
+
export declare enum Platform {
|
|
10239
|
+
Web = "Web",
|
|
10240
|
+
IOs = "iOS",
|
|
10241
|
+
Android = "Android"
|
|
10242
|
+
}
|
|
10121
10243
|
/**
|
|
10122
10244
|
*
|
|
10123
10245
|
* @export
|
|
@@ -11546,6 +11668,31 @@ export interface UpdateAccreditationCommand {
|
|
|
11546
11668
|
*/
|
|
11547
11669
|
'country'?: string | null;
|
|
11548
11670
|
}
|
|
11671
|
+
/**
|
|
11672
|
+
*
|
|
11673
|
+
* @export
|
|
11674
|
+
* @interface UpdateAppVersionCommand
|
|
11675
|
+
*/
|
|
11676
|
+
export interface UpdateAppVersionCommand {
|
|
11677
|
+
/**
|
|
11678
|
+
*
|
|
11679
|
+
* @type {string}
|
|
11680
|
+
* @memberof UpdateAppVersionCommand
|
|
11681
|
+
*/
|
|
11682
|
+
'latestVersion'?: string | null;
|
|
11683
|
+
/**
|
|
11684
|
+
*
|
|
11685
|
+
* @type {string}
|
|
11686
|
+
* @memberof UpdateAppVersionCommand
|
|
11687
|
+
*/
|
|
11688
|
+
'minimumVersion'?: string | null;
|
|
11689
|
+
/**
|
|
11690
|
+
*
|
|
11691
|
+
* @type {Date}
|
|
11692
|
+
* @memberof UpdateAppVersionCommand
|
|
11693
|
+
*/
|
|
11694
|
+
'committedDate'?: Date | null;
|
|
11695
|
+
}
|
|
11549
11696
|
/**
|
|
11550
11697
|
*
|
|
11551
11698
|
* @export
|
|
@@ -14280,6 +14427,205 @@ export declare class AccreditationsApi extends BaseAPI {
|
|
|
14280
14427
|
*/
|
|
14281
14428
|
apiV1AccreditationsPost(createAccreditationCommand?: CreateAccreditationCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccreditationModel>>;
|
|
14282
14429
|
}
|
|
14430
|
+
/**
|
|
14431
|
+
* AppVersionApi - axios parameter creator
|
|
14432
|
+
* @export
|
|
14433
|
+
*/
|
|
14434
|
+
export declare const AppVersionApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
14435
|
+
/**
|
|
14436
|
+
*
|
|
14437
|
+
* @param {Platform} [platform]
|
|
14438
|
+
* @param {string} [latestVersion]
|
|
14439
|
+
* @param {string} [minimumVersion]
|
|
14440
|
+
* @param {Date} [committedDate]
|
|
14441
|
+
* @param {number} [page]
|
|
14442
|
+
* @param {number} [limit]
|
|
14443
|
+
* @param {Date} [lastRetrieved]
|
|
14444
|
+
* @param {*} [options] Override http request option.
|
|
14445
|
+
* @throws {RequiredError}
|
|
14446
|
+
*/
|
|
14447
|
+
apiV1AppversionGet: (platform?: Platform | undefined, latestVersion?: string | undefined, minimumVersion?: string | undefined, committedDate?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14448
|
+
/**
|
|
14449
|
+
*
|
|
14450
|
+
* @param {Platform} platform
|
|
14451
|
+
* @param {*} [options] Override http request option.
|
|
14452
|
+
* @throws {RequiredError}
|
|
14453
|
+
*/
|
|
14454
|
+
apiV1AppversionPlatformDelete: (platform: Platform, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14455
|
+
/**
|
|
14456
|
+
*
|
|
14457
|
+
* @param {Platform} platform
|
|
14458
|
+
* @param {*} [options] Override http request option.
|
|
14459
|
+
* @throws {RequiredError}
|
|
14460
|
+
*/
|
|
14461
|
+
apiV1AppversionPlatformGet: (platform: Platform, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14462
|
+
/**
|
|
14463
|
+
*
|
|
14464
|
+
* @param {Platform} platform
|
|
14465
|
+
* @param {UpdateAppVersionCommand} [updateAppVersionCommand]
|
|
14466
|
+
* @param {*} [options] Override http request option.
|
|
14467
|
+
* @throws {RequiredError}
|
|
14468
|
+
*/
|
|
14469
|
+
apiV1AppversionPlatformPut: (platform: Platform, updateAppVersionCommand?: UpdateAppVersionCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14470
|
+
/**
|
|
14471
|
+
*
|
|
14472
|
+
* @param {CreateAppVersionCommand} [createAppVersionCommand]
|
|
14473
|
+
* @param {*} [options] Override http request option.
|
|
14474
|
+
* @throws {RequiredError}
|
|
14475
|
+
*/
|
|
14476
|
+
apiV1AppversionPost: (createAppVersionCommand?: CreateAppVersionCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14477
|
+
};
|
|
14478
|
+
/**
|
|
14479
|
+
* AppVersionApi - functional programming interface
|
|
14480
|
+
* @export
|
|
14481
|
+
*/
|
|
14482
|
+
export declare const AppVersionApiFp: (configuration?: Configuration | undefined) => {
|
|
14483
|
+
/**
|
|
14484
|
+
*
|
|
14485
|
+
* @param {Platform} [platform]
|
|
14486
|
+
* @param {string} [latestVersion]
|
|
14487
|
+
* @param {string} [minimumVersion]
|
|
14488
|
+
* @param {Date} [committedDate]
|
|
14489
|
+
* @param {number} [page]
|
|
14490
|
+
* @param {number} [limit]
|
|
14491
|
+
* @param {Date} [lastRetrieved]
|
|
14492
|
+
* @param {*} [options] Override http request option.
|
|
14493
|
+
* @throws {RequiredError}
|
|
14494
|
+
*/
|
|
14495
|
+
apiV1AppversionGet(platform?: Platform | undefined, latestVersion?: string | undefined, minimumVersion?: string | undefined, committedDate?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AppVersionsModel>>;
|
|
14496
|
+
/**
|
|
14497
|
+
*
|
|
14498
|
+
* @param {Platform} platform
|
|
14499
|
+
* @param {*} [options] Override http request option.
|
|
14500
|
+
* @throws {RequiredError}
|
|
14501
|
+
*/
|
|
14502
|
+
apiV1AppversionPlatformDelete(platform: Platform, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AppVersionModel>>;
|
|
14503
|
+
/**
|
|
14504
|
+
*
|
|
14505
|
+
* @param {Platform} platform
|
|
14506
|
+
* @param {*} [options] Override http request option.
|
|
14507
|
+
* @throws {RequiredError}
|
|
14508
|
+
*/
|
|
14509
|
+
apiV1AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AppVersionModel>>;
|
|
14510
|
+
/**
|
|
14511
|
+
*
|
|
14512
|
+
* @param {Platform} platform
|
|
14513
|
+
* @param {UpdateAppVersionCommand} [updateAppVersionCommand]
|
|
14514
|
+
* @param {*} [options] Override http request option.
|
|
14515
|
+
* @throws {RequiredError}
|
|
14516
|
+
*/
|
|
14517
|
+
apiV1AppversionPlatformPut(platform: Platform, updateAppVersionCommand?: UpdateAppVersionCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AppVersionModel>>;
|
|
14518
|
+
/**
|
|
14519
|
+
*
|
|
14520
|
+
* @param {CreateAppVersionCommand} [createAppVersionCommand]
|
|
14521
|
+
* @param {*} [options] Override http request option.
|
|
14522
|
+
* @throws {RequiredError}
|
|
14523
|
+
*/
|
|
14524
|
+
apiV1AppversionPost(createAppVersionCommand?: CreateAppVersionCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AppVersionModel>>;
|
|
14525
|
+
};
|
|
14526
|
+
/**
|
|
14527
|
+
* AppVersionApi - factory interface
|
|
14528
|
+
* @export
|
|
14529
|
+
*/
|
|
14530
|
+
export declare const AppVersionApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
14531
|
+
/**
|
|
14532
|
+
*
|
|
14533
|
+
* @param {Platform} [platform]
|
|
14534
|
+
* @param {string} [latestVersion]
|
|
14535
|
+
* @param {string} [minimumVersion]
|
|
14536
|
+
* @param {Date} [committedDate]
|
|
14537
|
+
* @param {number} [page]
|
|
14538
|
+
* @param {number} [limit]
|
|
14539
|
+
* @param {Date} [lastRetrieved]
|
|
14540
|
+
* @param {*} [options] Override http request option.
|
|
14541
|
+
* @throws {RequiredError}
|
|
14542
|
+
*/
|
|
14543
|
+
apiV1AppversionGet(platform?: Platform | undefined, latestVersion?: string | undefined, minimumVersion?: string | undefined, committedDate?: Date | undefined, page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<AppVersionsModel>;
|
|
14544
|
+
/**
|
|
14545
|
+
*
|
|
14546
|
+
* @param {Platform} platform
|
|
14547
|
+
* @param {*} [options] Override http request option.
|
|
14548
|
+
* @throws {RequiredError}
|
|
14549
|
+
*/
|
|
14550
|
+
apiV1AppversionPlatformDelete(platform: Platform, options?: any): AxiosPromise<AppVersionModel>;
|
|
14551
|
+
/**
|
|
14552
|
+
*
|
|
14553
|
+
* @param {Platform} platform
|
|
14554
|
+
* @param {*} [options] Override http request option.
|
|
14555
|
+
* @throws {RequiredError}
|
|
14556
|
+
*/
|
|
14557
|
+
apiV1AppversionPlatformGet(platform: Platform, options?: any): AxiosPromise<AppVersionModel>;
|
|
14558
|
+
/**
|
|
14559
|
+
*
|
|
14560
|
+
* @param {Platform} platform
|
|
14561
|
+
* @param {UpdateAppVersionCommand} [updateAppVersionCommand]
|
|
14562
|
+
* @param {*} [options] Override http request option.
|
|
14563
|
+
* @throws {RequiredError}
|
|
14564
|
+
*/
|
|
14565
|
+
apiV1AppversionPlatformPut(platform: Platform, updateAppVersionCommand?: UpdateAppVersionCommand | undefined, options?: any): AxiosPromise<AppVersionModel>;
|
|
14566
|
+
/**
|
|
14567
|
+
*
|
|
14568
|
+
* @param {CreateAppVersionCommand} [createAppVersionCommand]
|
|
14569
|
+
* @param {*} [options] Override http request option.
|
|
14570
|
+
* @throws {RequiredError}
|
|
14571
|
+
*/
|
|
14572
|
+
apiV1AppversionPost(createAppVersionCommand?: CreateAppVersionCommand | undefined, options?: any): AxiosPromise<AppVersionModel>;
|
|
14573
|
+
};
|
|
14574
|
+
/**
|
|
14575
|
+
* AppVersionApi - object-oriented interface
|
|
14576
|
+
* @export
|
|
14577
|
+
* @class AppVersionApi
|
|
14578
|
+
* @extends {BaseAPI}
|
|
14579
|
+
*/
|
|
14580
|
+
export declare class AppVersionApi extends BaseAPI {
|
|
14581
|
+
/**
|
|
14582
|
+
*
|
|
14583
|
+
* @param {Platform} [platform]
|
|
14584
|
+
* @param {string} [latestVersion]
|
|
14585
|
+
* @param {string} [minimumVersion]
|
|
14586
|
+
* @param {Date} [committedDate]
|
|
14587
|
+
* @param {number} [page]
|
|
14588
|
+
* @param {number} [limit]
|
|
14589
|
+
* @param {Date} [lastRetrieved]
|
|
14590
|
+
* @param {*} [options] Override http request option.
|
|
14591
|
+
* @throws {RequiredError}
|
|
14592
|
+
* @memberof AppVersionApi
|
|
14593
|
+
*/
|
|
14594
|
+
apiV1AppversionGet(platform?: Platform, latestVersion?: string, minimumVersion?: string, committedDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppVersionsModel>>;
|
|
14595
|
+
/**
|
|
14596
|
+
*
|
|
14597
|
+
* @param {Platform} platform
|
|
14598
|
+
* @param {*} [options] Override http request option.
|
|
14599
|
+
* @throws {RequiredError}
|
|
14600
|
+
* @memberof AppVersionApi
|
|
14601
|
+
*/
|
|
14602
|
+
apiV1AppversionPlatformDelete(platform: Platform, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppVersionModel>>;
|
|
14603
|
+
/**
|
|
14604
|
+
*
|
|
14605
|
+
* @param {Platform} platform
|
|
14606
|
+
* @param {*} [options] Override http request option.
|
|
14607
|
+
* @throws {RequiredError}
|
|
14608
|
+
* @memberof AppVersionApi
|
|
14609
|
+
*/
|
|
14610
|
+
apiV1AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppVersionModel>>;
|
|
14611
|
+
/**
|
|
14612
|
+
*
|
|
14613
|
+
* @param {Platform} platform
|
|
14614
|
+
* @param {UpdateAppVersionCommand} [updateAppVersionCommand]
|
|
14615
|
+
* @param {*} [options] Override http request option.
|
|
14616
|
+
* @throws {RequiredError}
|
|
14617
|
+
* @memberof AppVersionApi
|
|
14618
|
+
*/
|
|
14619
|
+
apiV1AppversionPlatformPut(platform: Platform, updateAppVersionCommand?: UpdateAppVersionCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppVersionModel>>;
|
|
14620
|
+
/**
|
|
14621
|
+
*
|
|
14622
|
+
* @param {CreateAppVersionCommand} [createAppVersionCommand]
|
|
14623
|
+
* @param {*} [options] Override http request option.
|
|
14624
|
+
* @throws {RequiredError}
|
|
14625
|
+
* @memberof AppVersionApi
|
|
14626
|
+
*/
|
|
14627
|
+
apiV1AppversionPost(createAppVersionCommand?: CreateAppVersionCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppVersionModel>>;
|
|
14628
|
+
}
|
|
14283
14629
|
/**
|
|
14284
14630
|
* ArticlesApi - axios parameter creator
|
|
14285
14631
|
* @export
|