ch-admin-api-client-typescript 4.4.4 → 4.4.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 +345 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +557 -1
- package/package.json +1 -1
- package/src/api.ts +589 -0
package/lib/api.d.ts
CHANGED
|
@@ -4528,6 +4528,43 @@ export interface CreateFaqTagCommand {
|
|
|
4528
4528
|
*/
|
|
4529
4529
|
'tagId'?: string | null;
|
|
4530
4530
|
}
|
|
4531
|
+
/**
|
|
4532
|
+
*
|
|
4533
|
+
* @export
|
|
4534
|
+
* @interface CreateHeaderNavigationItemCommand
|
|
4535
|
+
*/
|
|
4536
|
+
export interface CreateHeaderNavigationItemCommand {
|
|
4537
|
+
/**
|
|
4538
|
+
*
|
|
4539
|
+
* @type {string}
|
|
4540
|
+
* @memberof CreateHeaderNavigationItemCommand
|
|
4541
|
+
*/
|
|
4542
|
+
'languageCode'?: string | null;
|
|
4543
|
+
/**
|
|
4544
|
+
*
|
|
4545
|
+
* @type {string}
|
|
4546
|
+
* @memberof CreateHeaderNavigationItemCommand
|
|
4547
|
+
*/
|
|
4548
|
+
'name'?: string | null;
|
|
4549
|
+
/**
|
|
4550
|
+
*
|
|
4551
|
+
* @type {string}
|
|
4552
|
+
* @memberof CreateHeaderNavigationItemCommand
|
|
4553
|
+
*/
|
|
4554
|
+
'url'?: string | null;
|
|
4555
|
+
/**
|
|
4556
|
+
*
|
|
4557
|
+
* @type {number}
|
|
4558
|
+
* @memberof CreateHeaderNavigationItemCommand
|
|
4559
|
+
*/
|
|
4560
|
+
'order'?: number;
|
|
4561
|
+
/**
|
|
4562
|
+
*
|
|
4563
|
+
* @type {string}
|
|
4564
|
+
* @memberof CreateHeaderNavigationItemCommand
|
|
4565
|
+
*/
|
|
4566
|
+
'parentId'?: string | null;
|
|
4567
|
+
}
|
|
4531
4568
|
/**
|
|
4532
4569
|
*
|
|
4533
4570
|
* @export
|
|
@@ -7930,6 +7967,49 @@ export declare enum Gender {
|
|
|
7930
7967
|
NonBinary = "NonBinary",
|
|
7931
7968
|
PreferNotToSay = "PreferNotToSay"
|
|
7932
7969
|
}
|
|
7970
|
+
/**
|
|
7971
|
+
*
|
|
7972
|
+
* @export
|
|
7973
|
+
* @interface HeaderNavigationItemModel
|
|
7974
|
+
*/
|
|
7975
|
+
export interface HeaderNavigationItemModel {
|
|
7976
|
+
/**
|
|
7977
|
+
*
|
|
7978
|
+
* @type {string}
|
|
7979
|
+
* @memberof HeaderNavigationItemModel
|
|
7980
|
+
*/
|
|
7981
|
+
'id'?: string;
|
|
7982
|
+
/**
|
|
7983
|
+
*
|
|
7984
|
+
* @type {string}
|
|
7985
|
+
* @memberof HeaderNavigationItemModel
|
|
7986
|
+
*/
|
|
7987
|
+
'name'?: string | null;
|
|
7988
|
+
/**
|
|
7989
|
+
*
|
|
7990
|
+
* @type {string}
|
|
7991
|
+
* @memberof HeaderNavigationItemModel
|
|
7992
|
+
*/
|
|
7993
|
+
'url'?: string | null;
|
|
7994
|
+
/**
|
|
7995
|
+
*
|
|
7996
|
+
* @type {number}
|
|
7997
|
+
* @memberof HeaderNavigationItemModel
|
|
7998
|
+
*/
|
|
7999
|
+
'level'?: number;
|
|
8000
|
+
/**
|
|
8001
|
+
*
|
|
8002
|
+
* @type {number}
|
|
8003
|
+
* @memberof HeaderNavigationItemModel
|
|
8004
|
+
*/
|
|
8005
|
+
'order'?: number;
|
|
8006
|
+
/**
|
|
8007
|
+
*
|
|
8008
|
+
* @type {Array<HeaderNavigationItemModel>}
|
|
8009
|
+
* @memberof HeaderNavigationItemModel
|
|
8010
|
+
*/
|
|
8011
|
+
'subItems'?: Array<HeaderNavigationItemModel> | null;
|
|
8012
|
+
}
|
|
7933
8013
|
/**
|
|
7934
8014
|
*
|
|
7935
8015
|
* @export
|
|
@@ -14035,6 +14115,43 @@ export interface UpdateFaqCommand {
|
|
|
14035
14115
|
*/
|
|
14036
14116
|
'medias'?: Array<MediaModel> | null;
|
|
14037
14117
|
}
|
|
14118
|
+
/**
|
|
14119
|
+
*
|
|
14120
|
+
* @export
|
|
14121
|
+
* @interface UpdateHeaderNavigationItemCommand
|
|
14122
|
+
*/
|
|
14123
|
+
export interface UpdateHeaderNavigationItemCommand {
|
|
14124
|
+
/**
|
|
14125
|
+
*
|
|
14126
|
+
* @type {string}
|
|
14127
|
+
* @memberof UpdateHeaderNavigationItemCommand
|
|
14128
|
+
*/
|
|
14129
|
+
'languageCode'?: string | null;
|
|
14130
|
+
/**
|
|
14131
|
+
*
|
|
14132
|
+
* @type {string}
|
|
14133
|
+
* @memberof UpdateHeaderNavigationItemCommand
|
|
14134
|
+
*/
|
|
14135
|
+
'name'?: string | null;
|
|
14136
|
+
/**
|
|
14137
|
+
*
|
|
14138
|
+
* @type {string}
|
|
14139
|
+
* @memberof UpdateHeaderNavigationItemCommand
|
|
14140
|
+
*/
|
|
14141
|
+
'url'?: string | null;
|
|
14142
|
+
/**
|
|
14143
|
+
*
|
|
14144
|
+
* @type {number}
|
|
14145
|
+
* @memberof UpdateHeaderNavigationItemCommand
|
|
14146
|
+
*/
|
|
14147
|
+
'order'?: number;
|
|
14148
|
+
/**
|
|
14149
|
+
*
|
|
14150
|
+
* @type {string}
|
|
14151
|
+
* @memberof UpdateHeaderNavigationItemCommand
|
|
14152
|
+
*/
|
|
14153
|
+
'parentId'?: string | null;
|
|
14154
|
+
}
|
|
14038
14155
|
/**
|
|
14039
14156
|
*
|
|
14040
14157
|
* @export
|
|
@@ -24095,6 +24212,234 @@ export declare class GroupChannelsApi extends BaseAPI {
|
|
|
24095
24212
|
*/
|
|
24096
24213
|
apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendBirdGroupChannelModel>>;
|
|
24097
24214
|
}
|
|
24215
|
+
/**
|
|
24216
|
+
* HeaderNavigationsApi - axios parameter creator
|
|
24217
|
+
* @export
|
|
24218
|
+
*/
|
|
24219
|
+
export declare const HeaderNavigationsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
|
|
24220
|
+
/**
|
|
24221
|
+
*
|
|
24222
|
+
* @summary Get all HeaderNavigationItems
|
|
24223
|
+
* @param {string} [languageCode]
|
|
24224
|
+
* @param {*} [options] Override http request option.
|
|
24225
|
+
* @throws {RequiredError}
|
|
24226
|
+
*/
|
|
24227
|
+
apiV1HeadernavigationsGet: (languageCode?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24228
|
+
/**
|
|
24229
|
+
*
|
|
24230
|
+
* @summary Delete HeaderNavigationItem
|
|
24231
|
+
* @param {string} id
|
|
24232
|
+
* @param {*} [options] Override http request option.
|
|
24233
|
+
* @throws {RequiredError}
|
|
24234
|
+
*/
|
|
24235
|
+
apiV1HeadernavigationsIdDelete: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24236
|
+
/**
|
|
24237
|
+
*
|
|
24238
|
+
* @summary Get HeaderNavigationItem by id
|
|
24239
|
+
* @param {string} id
|
|
24240
|
+
* @param {*} [options] Override http request option.
|
|
24241
|
+
* @throws {RequiredError}
|
|
24242
|
+
*/
|
|
24243
|
+
apiV1HeadernavigationsIdGet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24244
|
+
/**
|
|
24245
|
+
*
|
|
24246
|
+
* @summary Update HeaderNavigationItem
|
|
24247
|
+
* @param {string} id
|
|
24248
|
+
* @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
|
|
24249
|
+
* @param {*} [options] Override http request option.
|
|
24250
|
+
* @throws {RequiredError}
|
|
24251
|
+
*/
|
|
24252
|
+
apiV1HeadernavigationsIdPut: (id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24253
|
+
/**
|
|
24254
|
+
*
|
|
24255
|
+
* @summary Get HeaderNavigationItems by parent id
|
|
24256
|
+
* @param {string} parentId
|
|
24257
|
+
* @param {*} [options] Override http request option.
|
|
24258
|
+
* @throws {RequiredError}
|
|
24259
|
+
*/
|
|
24260
|
+
apiV1HeadernavigationsParentIdSubitemsGet: (parentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24261
|
+
/**
|
|
24262
|
+
*
|
|
24263
|
+
* @summary Create HeaderNavigationItem
|
|
24264
|
+
* @param {CreateHeaderNavigationItemCommand} [createHeaderNavigationItemCommand]
|
|
24265
|
+
* @param {*} [options] Override http request option.
|
|
24266
|
+
* @throws {RequiredError}
|
|
24267
|
+
*/
|
|
24268
|
+
apiV1HeadernavigationsPost: (createHeaderNavigationItemCommand?: CreateHeaderNavigationItemCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24269
|
+
};
|
|
24270
|
+
/**
|
|
24271
|
+
* HeaderNavigationsApi - functional programming interface
|
|
24272
|
+
* @export
|
|
24273
|
+
*/
|
|
24274
|
+
export declare const HeaderNavigationsApiFp: (configuration?: Configuration | undefined) => {
|
|
24275
|
+
/**
|
|
24276
|
+
*
|
|
24277
|
+
* @summary Get all HeaderNavigationItems
|
|
24278
|
+
* @param {string} [languageCode]
|
|
24279
|
+
* @param {*} [options] Override http request option.
|
|
24280
|
+
* @throws {RequiredError}
|
|
24281
|
+
*/
|
|
24282
|
+
apiV1HeadernavigationsGet(languageCode?: string | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<HeaderNavigationItemModel>>>;
|
|
24283
|
+
/**
|
|
24284
|
+
*
|
|
24285
|
+
* @summary Delete HeaderNavigationItem
|
|
24286
|
+
* @param {string} id
|
|
24287
|
+
* @param {*} [options] Override http request option.
|
|
24288
|
+
* @throws {RequiredError}
|
|
24289
|
+
*/
|
|
24290
|
+
apiV1HeadernavigationsIdDelete(id: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
|
|
24291
|
+
/**
|
|
24292
|
+
*
|
|
24293
|
+
* @summary Get HeaderNavigationItem by id
|
|
24294
|
+
* @param {string} id
|
|
24295
|
+
* @param {*} [options] Override http request option.
|
|
24296
|
+
* @throws {RequiredError}
|
|
24297
|
+
*/
|
|
24298
|
+
apiV1HeadernavigationsIdGet(id: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HeaderNavigationItemModel>>;
|
|
24299
|
+
/**
|
|
24300
|
+
*
|
|
24301
|
+
* @summary Update HeaderNavigationItem
|
|
24302
|
+
* @param {string} id
|
|
24303
|
+
* @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
|
|
24304
|
+
* @param {*} [options] Override http request option.
|
|
24305
|
+
* @throws {RequiredError}
|
|
24306
|
+
*/
|
|
24307
|
+
apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
24308
|
+
/**
|
|
24309
|
+
*
|
|
24310
|
+
* @summary Get HeaderNavigationItems by parent id
|
|
24311
|
+
* @param {string} parentId
|
|
24312
|
+
* @param {*} [options] Override http request option.
|
|
24313
|
+
* @throws {RequiredError}
|
|
24314
|
+
*/
|
|
24315
|
+
apiV1HeadernavigationsParentIdSubitemsGet(parentId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<HeaderNavigationItemModel>>>;
|
|
24316
|
+
/**
|
|
24317
|
+
*
|
|
24318
|
+
* @summary Create HeaderNavigationItem
|
|
24319
|
+
* @param {CreateHeaderNavigationItemCommand} [createHeaderNavigationItemCommand]
|
|
24320
|
+
* @param {*} [options] Override http request option.
|
|
24321
|
+
* @throws {RequiredError}
|
|
24322
|
+
*/
|
|
24323
|
+
apiV1HeadernavigationsPost(createHeaderNavigationItemCommand?: CreateHeaderNavigationItemCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<HeaderNavigationItemModel>>;
|
|
24324
|
+
};
|
|
24325
|
+
/**
|
|
24326
|
+
* HeaderNavigationsApi - factory interface
|
|
24327
|
+
* @export
|
|
24328
|
+
*/
|
|
24329
|
+
export declare const HeaderNavigationsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
|
|
24330
|
+
/**
|
|
24331
|
+
*
|
|
24332
|
+
* @summary Get all HeaderNavigationItems
|
|
24333
|
+
* @param {string} [languageCode]
|
|
24334
|
+
* @param {*} [options] Override http request option.
|
|
24335
|
+
* @throws {RequiredError}
|
|
24336
|
+
*/
|
|
24337
|
+
apiV1HeadernavigationsGet(languageCode?: string | undefined, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>>;
|
|
24338
|
+
/**
|
|
24339
|
+
*
|
|
24340
|
+
* @summary Delete HeaderNavigationItem
|
|
24341
|
+
* @param {string} id
|
|
24342
|
+
* @param {*} [options] Override http request option.
|
|
24343
|
+
* @throws {RequiredError}
|
|
24344
|
+
*/
|
|
24345
|
+
apiV1HeadernavigationsIdDelete(id: string, options?: any): AxiosPromise<boolean>;
|
|
24346
|
+
/**
|
|
24347
|
+
*
|
|
24348
|
+
* @summary Get HeaderNavigationItem by id
|
|
24349
|
+
* @param {string} id
|
|
24350
|
+
* @param {*} [options] Override http request option.
|
|
24351
|
+
* @throws {RequiredError}
|
|
24352
|
+
*/
|
|
24353
|
+
apiV1HeadernavigationsIdGet(id: string, options?: any): AxiosPromise<HeaderNavigationItemModel>;
|
|
24354
|
+
/**
|
|
24355
|
+
*
|
|
24356
|
+
* @summary Update HeaderNavigationItem
|
|
24357
|
+
* @param {string} id
|
|
24358
|
+
* @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
|
|
24359
|
+
* @param {*} [options] Override http request option.
|
|
24360
|
+
* @throws {RequiredError}
|
|
24361
|
+
*/
|
|
24362
|
+
apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand | undefined, options?: any): AxiosPromise<void>;
|
|
24363
|
+
/**
|
|
24364
|
+
*
|
|
24365
|
+
* @summary Get HeaderNavigationItems by parent id
|
|
24366
|
+
* @param {string} parentId
|
|
24367
|
+
* @param {*} [options] Override http request option.
|
|
24368
|
+
* @throws {RequiredError}
|
|
24369
|
+
*/
|
|
24370
|
+
apiV1HeadernavigationsParentIdSubitemsGet(parentId: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>>;
|
|
24371
|
+
/**
|
|
24372
|
+
*
|
|
24373
|
+
* @summary Create HeaderNavigationItem
|
|
24374
|
+
* @param {CreateHeaderNavigationItemCommand} [createHeaderNavigationItemCommand]
|
|
24375
|
+
* @param {*} [options] Override http request option.
|
|
24376
|
+
* @throws {RequiredError}
|
|
24377
|
+
*/
|
|
24378
|
+
apiV1HeadernavigationsPost(createHeaderNavigationItemCommand?: CreateHeaderNavigationItemCommand | undefined, options?: any): AxiosPromise<HeaderNavigationItemModel>;
|
|
24379
|
+
};
|
|
24380
|
+
/**
|
|
24381
|
+
* HeaderNavigationsApi - object-oriented interface
|
|
24382
|
+
* @export
|
|
24383
|
+
* @class HeaderNavigationsApi
|
|
24384
|
+
* @extends {BaseAPI}
|
|
24385
|
+
*/
|
|
24386
|
+
export declare class HeaderNavigationsApi extends BaseAPI {
|
|
24387
|
+
/**
|
|
24388
|
+
*
|
|
24389
|
+
* @summary Get all HeaderNavigationItems
|
|
24390
|
+
* @param {string} [languageCode]
|
|
24391
|
+
* @param {*} [options] Override http request option.
|
|
24392
|
+
* @throws {RequiredError}
|
|
24393
|
+
* @memberof HeaderNavigationsApi
|
|
24394
|
+
*/
|
|
24395
|
+
apiV1HeadernavigationsGet(languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HeaderNavigationItemModel[]>>;
|
|
24396
|
+
/**
|
|
24397
|
+
*
|
|
24398
|
+
* @summary Delete HeaderNavigationItem
|
|
24399
|
+
* @param {string} id
|
|
24400
|
+
* @param {*} [options] Override http request option.
|
|
24401
|
+
* @throws {RequiredError}
|
|
24402
|
+
* @memberof HeaderNavigationsApi
|
|
24403
|
+
*/
|
|
24404
|
+
apiV1HeadernavigationsIdDelete(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
|
|
24405
|
+
/**
|
|
24406
|
+
*
|
|
24407
|
+
* @summary Get HeaderNavigationItem by id
|
|
24408
|
+
* @param {string} id
|
|
24409
|
+
* @param {*} [options] Override http request option.
|
|
24410
|
+
* @throws {RequiredError}
|
|
24411
|
+
* @memberof HeaderNavigationsApi
|
|
24412
|
+
*/
|
|
24413
|
+
apiV1HeadernavigationsIdGet(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HeaderNavigationItemModel>>;
|
|
24414
|
+
/**
|
|
24415
|
+
*
|
|
24416
|
+
* @summary Update HeaderNavigationItem
|
|
24417
|
+
* @param {string} id
|
|
24418
|
+
* @param {UpdateHeaderNavigationItemCommand} [updateHeaderNavigationItemCommand]
|
|
24419
|
+
* @param {*} [options] Override http request option.
|
|
24420
|
+
* @throws {RequiredError}
|
|
24421
|
+
* @memberof HeaderNavigationsApi
|
|
24422
|
+
*/
|
|
24423
|
+
apiV1HeadernavigationsIdPut(id: string, updateHeaderNavigationItemCommand?: UpdateHeaderNavigationItemCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
24424
|
+
/**
|
|
24425
|
+
*
|
|
24426
|
+
* @summary Get HeaderNavigationItems by parent id
|
|
24427
|
+
* @param {string} parentId
|
|
24428
|
+
* @param {*} [options] Override http request option.
|
|
24429
|
+
* @throws {RequiredError}
|
|
24430
|
+
* @memberof HeaderNavigationsApi
|
|
24431
|
+
*/
|
|
24432
|
+
apiV1HeadernavigationsParentIdSubitemsGet(parentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HeaderNavigationItemModel[]>>;
|
|
24433
|
+
/**
|
|
24434
|
+
*
|
|
24435
|
+
* @summary Create HeaderNavigationItem
|
|
24436
|
+
* @param {CreateHeaderNavigationItemCommand} [createHeaderNavigationItemCommand]
|
|
24437
|
+
* @param {*} [options] Override http request option.
|
|
24438
|
+
* @throws {RequiredError}
|
|
24439
|
+
* @memberof HeaderNavigationsApi
|
|
24440
|
+
*/
|
|
24441
|
+
apiV1HeadernavigationsPost(createHeaderNavigationItemCommand?: CreateHeaderNavigationItemCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HeaderNavigationItemModel>>;
|
|
24442
|
+
}
|
|
24098
24443
|
/**
|
|
24099
24444
|
* HospitalsApi - axios parameter creator
|
|
24100
24445
|
* @export
|