ch-admin-api-client-typescript 2.5.2 → 2.5.3

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 CHANGED
@@ -4212,6 +4212,31 @@ export interface CreateTagCommand {
4212
4212
  */
4213
4213
  'tagId'?: string | null;
4214
4214
  }
4215
+ /**
4216
+ *
4217
+ * @export
4218
+ * @interface CreateTemplateVersionCommand
4219
+ */
4220
+ export interface CreateTemplateVersionCommand {
4221
+ /**
4222
+ *
4223
+ * @type {string}
4224
+ * @memberof CreateTemplateVersionCommand
4225
+ */
4226
+ 'name'?: string | null;
4227
+ /**
4228
+ *
4229
+ * @type {string}
4230
+ * @memberof CreateTemplateVersionCommand
4231
+ */
4232
+ 'subject'?: string | null;
4233
+ /**
4234
+ *
4235
+ * @type {string}
4236
+ * @memberof CreateTemplateVersionCommand
4237
+ */
4238
+ 'htmlContent'?: string | null;
4239
+ }
4215
4240
  /**
4216
4241
  *
4217
4242
  * @export
@@ -6930,6 +6955,12 @@ export interface HospitalSimpleItemModel {
6930
6955
  * @memberof HospitalSimpleItemModel
6931
6956
  */
6932
6957
  'name'?: string | null;
6958
+ /**
6959
+ *
6960
+ * @type {boolean}
6961
+ * @memberof HospitalSimpleItemModel
6962
+ */
6963
+ 'confirmed'?: boolean;
6933
6964
  }
6934
6965
  /**
6935
6966
  *
@@ -8666,6 +8697,19 @@ export declare enum RejectReason {
8666
8697
  ScheduleNotAvailable = "ScheduleNotAvailable",
8667
8698
  OtherReason = "OtherReason"
8668
8699
  }
8700
+ /**
8701
+ *
8702
+ * @export
8703
+ * @interface SendTemplateVersionCommand
8704
+ */
8705
+ export interface SendTemplateVersionCommand {
8706
+ /**
8707
+ *
8708
+ * @type {string}
8709
+ * @memberof SendTemplateVersionCommand
8710
+ */
8711
+ 'testEmail'?: string | null;
8712
+ }
8669
8713
  /**
8670
8714
  *
8671
8715
  * @export
@@ -9285,6 +9329,135 @@ export interface TagsModel {
9285
9329
  */
9286
9330
  'metaData'?: PagedListMetaData;
9287
9331
  }
9332
+ /**
9333
+ *
9334
+ * @export
9335
+ * @interface TemplateVersionItemModel
9336
+ */
9337
+ export interface TemplateVersionItemModel {
9338
+ /**
9339
+ *
9340
+ * @type {string}
9341
+ * @memberof TemplateVersionItemModel
9342
+ */
9343
+ 'id'?: string | null;
9344
+ /**
9345
+ *
9346
+ * @type {string}
9347
+ * @memberof TemplateVersionItemModel
9348
+ */
9349
+ 'templateId'?: string | null;
9350
+ /**
9351
+ *
9352
+ * @type {boolean}
9353
+ * @memberof TemplateVersionItemModel
9354
+ */
9355
+ 'isActive'?: boolean;
9356
+ /**
9357
+ *
9358
+ * @type {string}
9359
+ * @memberof TemplateVersionItemModel
9360
+ */
9361
+ 'name'?: string | null;
9362
+ /**
9363
+ *
9364
+ * @type {string}
9365
+ * @memberof TemplateVersionItemModel
9366
+ */
9367
+ 'htmlContent'?: string | null;
9368
+ /**
9369
+ *
9370
+ * @type {string}
9371
+ * @memberof TemplateVersionItemModel
9372
+ */
9373
+ 'textContent'?: string | null;
9374
+ /**
9375
+ *
9376
+ * @type {string}
9377
+ * @memberof TemplateVersionItemModel
9378
+ */
9379
+ 'subject'?: string | null;
9380
+ /**
9381
+ *
9382
+ * @type {Date}
9383
+ * @memberof TemplateVersionItemModel
9384
+ */
9385
+ 'updatedOn'?: Date;
9386
+ }
9387
+ /**
9388
+ *
9389
+ * @export
9390
+ * @interface TemplateVersionModel
9391
+ */
9392
+ export interface TemplateVersionModel {
9393
+ /**
9394
+ *
9395
+ * @type {string}
9396
+ * @memberof TemplateVersionModel
9397
+ */
9398
+ 'id'?: string | null;
9399
+ /**
9400
+ *
9401
+ * @type {string}
9402
+ * @memberof TemplateVersionModel
9403
+ */
9404
+ 'templateId'?: string | null;
9405
+ /**
9406
+ *
9407
+ * @type {boolean}
9408
+ * @memberof TemplateVersionModel
9409
+ */
9410
+ 'isActive'?: boolean;
9411
+ /**
9412
+ *
9413
+ * @type {string}
9414
+ * @memberof TemplateVersionModel
9415
+ */
9416
+ 'name'?: string | null;
9417
+ /**
9418
+ *
9419
+ * @type {string}
9420
+ * @memberof TemplateVersionModel
9421
+ */
9422
+ 'htmlContent'?: string | null;
9423
+ /**
9424
+ *
9425
+ * @type {string}
9426
+ * @memberof TemplateVersionModel
9427
+ */
9428
+ 'textContent'?: string | null;
9429
+ /**
9430
+ *
9431
+ * @type {string}
9432
+ * @memberof TemplateVersionModel
9433
+ */
9434
+ 'subject'?: string | null;
9435
+ /**
9436
+ *
9437
+ * @type {Date}
9438
+ * @memberof TemplateVersionModel
9439
+ */
9440
+ 'updatedOn'?: Date;
9441
+ }
9442
+ /**
9443
+ *
9444
+ * @export
9445
+ * @interface TemplateVersionsModel
9446
+ */
9447
+ export interface TemplateVersionsModel {
9448
+ /**
9449
+ *
9450
+ * @type {Array<TemplateVersionItemModel>}
9451
+ * @memberof TemplateVersionsModel
9452
+ */
9453
+ 'items'?: Array<TemplateVersionItemModel> | null;
9454
+ /**
9455
+ *
9456
+ * @type {PagedListMetaData}
9457
+ * @memberof TemplateVersionsModel
9458
+ */
9459
+ 'metaData'?: PagedListMetaData;
9460
+ }
9288
9461
  /**
9289
9462
  *
9290
9463
  * @export
@@ -10867,6 +11040,31 @@ export interface UpdateSpecialtyTypeCommand {
10867
11040
  */
10868
11041
  'languageCode'?: string | null;
10869
11042
  }
11043
+ /**
11044
+ *
11045
+ * @export
11046
+ * @interface UpdateTemplateVersionCommand
11047
+ */
11048
+ export interface UpdateTemplateVersionCommand {
11049
+ /**
11050
+ *
11051
+ * @type {string}
11052
+ * @memberof UpdateTemplateVersionCommand
11053
+ */
11054
+ 'name'?: string | null;
11055
+ /**
11056
+ *
11057
+ * @type {string}
11058
+ * @memberof UpdateTemplateVersionCommand
11059
+ */
11060
+ 'subject'?: string | null;
11061
+ /**
11062
+ *
11063
+ * @type {string}
11064
+ * @memberof UpdateTemplateVersionCommand
11065
+ */
11066
+ 'htmlContent'?: string | null;
11067
+ }
10870
11068
  /**
10871
11069
  *
10872
11070
  * @export
@@ -13133,6 +13331,12 @@ export declare class CHManagersApi extends BaseAPI {
13133
13331
  * @export
13134
13332
  */
13135
13333
  export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
13334
+ /**
13335
+ *
13336
+ * @param {*} [options] Override http request option.
13337
+ * @throws {RequiredError}
13338
+ */
13339
+ apiV1ChatusersCurrentGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
13136
13340
  /**
13137
13341
  *
13138
13342
  * @summary Get all chatUsers.
@@ -13184,6 +13388,12 @@ export declare const ChatUsersApiAxiosParamCreator: (configuration?: Configurati
13184
13388
  * @export
13185
13389
  */
13186
13390
  export declare const ChatUsersApiFp: (configuration?: Configuration | undefined) => {
13391
+ /**
13392
+ *
13393
+ * @param {*} [options] Override http request option.
13394
+ * @throws {RequiredError}
13395
+ */
13396
+ apiV1ChatusersCurrentGet(options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ChatUserModel>>;
13187
13397
  /**
13188
13398
  *
13189
13399
  * @summary Get all chatUsers.
@@ -13235,6 +13445,12 @@ export declare const ChatUsersApiFp: (configuration?: Configuration | undefined)
13235
13445
  * @export
13236
13446
  */
13237
13447
  export declare const ChatUsersApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
13448
+ /**
13449
+ *
13450
+ * @param {*} [options] Override http request option.
13451
+ * @throws {RequiredError}
13452
+ */
13453
+ apiV1ChatusersCurrentGet(options?: any): AxiosPromise<ChatUserModel>;
13238
13454
  /**
13239
13455
  *
13240
13456
  * @summary Get all chatUsers.
@@ -13288,6 +13504,13 @@ export declare const ChatUsersApiFactory: (configuration?: Configuration | undef
13288
13504
  * @extends {BaseAPI}
13289
13505
  */
13290
13506
  export declare class ChatUsersApi extends BaseAPI {
13507
+ /**
13508
+ *
13509
+ * @param {*} [options] Override http request option.
13510
+ * @throws {RequiredError}
13511
+ * @memberof ChatUsersApi
13512
+ */
13513
+ apiV1ChatusersCurrentGet(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatUserModel>>;
13291
13514
  /**
13292
13515
  *
13293
13516
  * @summary Get all chatUsers.
@@ -16898,6 +17121,246 @@ export declare class DoctorsApi extends BaseAPI {
16898
17121
  */
16899
17122
  apiV1DoctorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DoctorModel>>;
16900
17123
  }
17124
+ /**
17125
+ * EmailMarketingsApi - axios parameter creator
17126
+ * @export
17127
+ */
17128
+ export declare const EmailMarketingsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
17129
+ /**
17130
+ *
17131
+ * @summary Get all templateVersions.
17132
+ * @param {number} [page]
17133
+ * @param {number} [limit]
17134
+ * @param {Date} [lastRetrieved]
17135
+ * @param {*} [options] Override http request option.
17136
+ * @throws {RequiredError}
17137
+ */
17138
+ apiV1EmailmarketingsVersionsGet: (page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17139
+ /**
17140
+ *
17141
+ * @summary Create a templateVersion.
17142
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
17143
+ * @param {*} [options] Override http request option.
17144
+ * @throws {RequiredError}
17145
+ */
17146
+ apiV1EmailmarketingsVersionsPost: (createTemplateVersionCommand?: CreateTemplateVersionCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17147
+ /**
17148
+ *
17149
+ * @summary Delete templateVersion.
17150
+ * @param {string} versionId
17151
+ * @param {*} [options] Override http request option.
17152
+ * @throws {RequiredError}
17153
+ */
17154
+ apiV1EmailmarketingsVersionsVersionIdDelete: (versionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17155
+ /**
17156
+ *
17157
+ * @summary Get templateVersion.
17158
+ * @param {string} versionId
17159
+ * @param {*} [options] Override http request option.
17160
+ * @throws {RequiredError}
17161
+ */
17162
+ apiV1EmailmarketingsVersionsVersionIdGet: (versionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17163
+ /**
17164
+ *
17165
+ * @summary Update templateVersion.
17166
+ * @param {string} versionId
17167
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
17168
+ * @param {*} [options] Override http request option.
17169
+ * @throws {RequiredError}
17170
+ */
17171
+ apiV1EmailmarketingsVersionsVersionIdPut: (versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17172
+ /**
17173
+ *
17174
+ * @summary Send templateVersion email.
17175
+ * @param {string} versionId
17176
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
17177
+ * @param {*} [options] Override http request option.
17178
+ * @throws {RequiredError}
17179
+ */
17180
+ apiV1EmailmarketingsVersionsVersionIdSendPost: (versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17181
+ };
17182
+ /**
17183
+ * EmailMarketingsApi - functional programming interface
17184
+ * @export
17185
+ */
17186
+ export declare const EmailMarketingsApiFp: (configuration?: Configuration | undefined) => {
17187
+ /**
17188
+ *
17189
+ * @summary Get all templateVersions.
17190
+ * @param {number} [page]
17191
+ * @param {number} [limit]
17192
+ * @param {Date} [lastRetrieved]
17193
+ * @param {*} [options] Override http request option.
17194
+ * @throws {RequiredError}
17195
+ */
17196
+ apiV1EmailmarketingsVersionsGet(page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TemplateVersionsModel>>;
17197
+ /**
17198
+ *
17199
+ * @summary Create a templateVersion.
17200
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
17201
+ * @param {*} [options] Override http request option.
17202
+ * @throws {RequiredError}
17203
+ */
17204
+ apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TemplateVersionModel>>;
17205
+ /**
17206
+ *
17207
+ * @summary Delete templateVersion.
17208
+ * @param {string} versionId
17209
+ * @param {*} [options] Override http request option.
17210
+ * @throws {RequiredError}
17211
+ */
17212
+ apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
17213
+ /**
17214
+ *
17215
+ * @summary Get templateVersion.
17216
+ * @param {string} versionId
17217
+ * @param {*} [options] Override http request option.
17218
+ * @throws {RequiredError}
17219
+ */
17220
+ apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TemplateVersionModel>>;
17221
+ /**
17222
+ *
17223
+ * @summary Update templateVersion.
17224
+ * @param {string} versionId
17225
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
17226
+ * @param {*} [options] Override http request option.
17227
+ * @throws {RequiredError}
17228
+ */
17229
+ apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TemplateVersionModel>>;
17230
+ /**
17231
+ *
17232
+ * @summary Send templateVersion email.
17233
+ * @param {string} versionId
17234
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
17235
+ * @param {*} [options] Override http request option.
17236
+ * @throws {RequiredError}
17237
+ */
17238
+ apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand | undefined, options?: AxiosRequestConfig | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<boolean>>;
17239
+ };
17240
+ /**
17241
+ * EmailMarketingsApi - factory interface
17242
+ * @export
17243
+ */
17244
+ export declare const EmailMarketingsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
17245
+ /**
17246
+ *
17247
+ * @summary Get all templateVersions.
17248
+ * @param {number} [page]
17249
+ * @param {number} [limit]
17250
+ * @param {Date} [lastRetrieved]
17251
+ * @param {*} [options] Override http request option.
17252
+ * @throws {RequiredError}
17253
+ */
17254
+ apiV1EmailmarketingsVersionsGet(page?: number | undefined, limit?: number | undefined, lastRetrieved?: Date | undefined, options?: any): AxiosPromise<TemplateVersionsModel>;
17255
+ /**
17256
+ *
17257
+ * @summary Create a templateVersion.
17258
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
17259
+ * @param {*} [options] Override http request option.
17260
+ * @throws {RequiredError}
17261
+ */
17262
+ apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand | undefined, options?: any): AxiosPromise<TemplateVersionModel>;
17263
+ /**
17264
+ *
17265
+ * @summary Delete templateVersion.
17266
+ * @param {string} versionId
17267
+ * @param {*} [options] Override http request option.
17268
+ * @throws {RequiredError}
17269
+ */
17270
+ apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: any): AxiosPromise<boolean>;
17271
+ /**
17272
+ *
17273
+ * @summary Get templateVersion.
17274
+ * @param {string} versionId
17275
+ * @param {*} [options] Override http request option.
17276
+ * @throws {RequiredError}
17277
+ */
17278
+ apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: any): AxiosPromise<TemplateVersionModel>;
17279
+ /**
17280
+ *
17281
+ * @summary Update templateVersion.
17282
+ * @param {string} versionId
17283
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
17284
+ * @param {*} [options] Override http request option.
17285
+ * @throws {RequiredError}
17286
+ */
17287
+ apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand | undefined, options?: any): AxiosPromise<TemplateVersionModel>;
17288
+ /**
17289
+ *
17290
+ * @summary Send templateVersion email.
17291
+ * @param {string} versionId
17292
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
17293
+ * @param {*} [options] Override http request option.
17294
+ * @throws {RequiredError}
17295
+ */
17296
+ apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand | undefined, options?: any): AxiosPromise<boolean>;
17297
+ };
17298
+ /**
17299
+ * EmailMarketingsApi - object-oriented interface
17300
+ * @export
17301
+ * @class EmailMarketingsApi
17302
+ * @extends {BaseAPI}
17303
+ */
17304
+ export declare class EmailMarketingsApi extends BaseAPI {
17305
+ /**
17306
+ *
17307
+ * @summary Get all templateVersions.
17308
+ * @param {number} [page]
17309
+ * @param {number} [limit]
17310
+ * @param {Date} [lastRetrieved]
17311
+ * @param {*} [options] Override http request option.
17312
+ * @throws {RequiredError}
17313
+ * @memberof EmailMarketingsApi
17314
+ */
17315
+ apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TemplateVersionsModel>>;
17316
+ /**
17317
+ *
17318
+ * @summary Create a templateVersion.
17319
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
17320
+ * @param {*} [options] Override http request option.
17321
+ * @throws {RequiredError}
17322
+ * @memberof EmailMarketingsApi
17323
+ */
17324
+ apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TemplateVersionModel>>;
17325
+ /**
17326
+ *
17327
+ * @summary Delete templateVersion.
17328
+ * @param {string} versionId
17329
+ * @param {*} [options] Override http request option.
17330
+ * @throws {RequiredError}
17331
+ * @memberof EmailMarketingsApi
17332
+ */
17333
+ apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
17334
+ /**
17335
+ *
17336
+ * @summary Get templateVersion.
17337
+ * @param {string} versionId
17338
+ * @param {*} [options] Override http request option.
17339
+ * @throws {RequiredError}
17340
+ * @memberof EmailMarketingsApi
17341
+ */
17342
+ apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TemplateVersionModel>>;
17343
+ /**
17344
+ *
17345
+ * @summary Update templateVersion.
17346
+ * @param {string} versionId
17347
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
17348
+ * @param {*} [options] Override http request option.
17349
+ * @throws {RequiredError}
17350
+ * @memberof EmailMarketingsApi
17351
+ */
17352
+ apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TemplateVersionModel>>;
17353
+ /**
17354
+ *
17355
+ * @summary Send templateVersion email.
17356
+ * @param {string} versionId
17357
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
17358
+ * @param {*} [options] Override http request option.
17359
+ * @throws {RequiredError}
17360
+ * @memberof EmailMarketingsApi
17361
+ */
17362
+ apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean>>;
17363
+ }
16901
17364
  /**
16902
17365
  * FaqCategoriesApi - axios parameter creator
16903
17366
  * @export