ch-admin-api-client-typescript 2.5.1 → 2.5.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/src/api.ts CHANGED
@@ -2685,6 +2685,12 @@ export interface CountryItemModel {
2685
2685
  * @memberof CountryItemModel
2686
2686
  */
2687
2687
  'auditableEntity'?: AuditableEntity;
2688
+ /**
2689
+ *
2690
+ * @type {Array<LocalizedUrlModel>}
2691
+ * @memberof CountryItemModel
2692
+ */
2693
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
2688
2694
  /**
2689
2695
  *
2690
2696
  * @type {boolean}
@@ -2776,12 +2782,24 @@ export interface CountryModel {
2776
2782
  * @memberof CountryModel
2777
2783
  */
2778
2784
  'auditableEntity'?: AuditableEntity;
2785
+ /**
2786
+ *
2787
+ * @type {Array<LocalizedUrlModel>}
2788
+ * @memberof CountryModel
2789
+ */
2790
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
2779
2791
  /**
2780
2792
  *
2781
2793
  * @type {boolean}
2782
2794
  * @memberof CountryModel
2783
2795
  */
2784
2796
  'confirmed'?: boolean;
2797
+ /**
2798
+ *
2799
+ * @type {string}
2800
+ * @memberof CountryModel
2801
+ */
2802
+ 'languageCode'?: string | null;
2785
2803
  }
2786
2804
  /**
2787
2805
  *
@@ -4231,6 +4249,31 @@ export interface CreateTagCommand {
4231
4249
  */
4232
4250
  'tagId'?: string | null;
4233
4251
  }
4252
+ /**
4253
+ *
4254
+ * @export
4255
+ * @interface CreateTemplateVersionCommand
4256
+ */
4257
+ export interface CreateTemplateVersionCommand {
4258
+ /**
4259
+ *
4260
+ * @type {string}
4261
+ * @memberof CreateTemplateVersionCommand
4262
+ */
4263
+ 'name'?: string | null;
4264
+ /**
4265
+ *
4266
+ * @type {string}
4267
+ * @memberof CreateTemplateVersionCommand
4268
+ */
4269
+ 'subject'?: string | null;
4270
+ /**
4271
+ *
4272
+ * @type {string}
4273
+ * @memberof CreateTemplateVersionCommand
4274
+ */
4275
+ 'htmlContent'?: string | null;
4276
+ }
4234
4277
  /**
4235
4278
  *
4236
4279
  * @export
@@ -5168,6 +5211,12 @@ export interface DoctorItemModel {
5168
5211
  * @memberof DoctorItemModel
5169
5212
  */
5170
5213
  'consultationFee'?: number | null;
5214
+ /**
5215
+ *
5216
+ * @type {Array<LocalizedUrlModel>}
5217
+ * @memberof DoctorItemModel
5218
+ */
5219
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5171
5220
  /**
5172
5221
  *
5173
5222
  * @type {boolean}
@@ -5325,12 +5374,24 @@ export interface DoctorModel {
5325
5374
  * @memberof DoctorModel
5326
5375
  */
5327
5376
  'consultationFee'?: number | null;
5377
+ /**
5378
+ *
5379
+ * @type {Array<LocalizedUrlModel>}
5380
+ * @memberof DoctorModel
5381
+ */
5382
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5328
5383
  /**
5329
5384
  *
5330
5385
  * @type {boolean}
5331
5386
  * @memberof DoctorModel
5332
5387
  */
5333
5388
  'confirmed'?: boolean;
5389
+ /**
5390
+ *
5391
+ * @type {string}
5392
+ * @memberof DoctorModel
5393
+ */
5394
+ 'languageCode'?: string | null;
5334
5395
  }
5335
5396
  /**
5336
5397
  *
@@ -6945,6 +7006,12 @@ export interface HospitalSimpleItemModel {
6945
7006
  * @memberof HospitalSimpleItemModel
6946
7007
  */
6947
7008
  'name'?: string | null;
7009
+ /**
7010
+ *
7011
+ * @type {boolean}
7012
+ * @memberof HospitalSimpleItemModel
7013
+ */
7014
+ 'confirmed'?: boolean;
6948
7015
  }
6949
7016
  /**
6950
7017
  *
@@ -8696,6 +8763,19 @@ export enum RejectReason {
8696
8763
  OtherReason = 'OtherReason'
8697
8764
  }
8698
8765
 
8766
+ /**
8767
+ *
8768
+ * @export
8769
+ * @interface SendTemplateVersionCommand
8770
+ */
8771
+ export interface SendTemplateVersionCommand {
8772
+ /**
8773
+ *
8774
+ * @type {string}
8775
+ * @memberof SendTemplateVersionCommand
8776
+ */
8777
+ 'testEmail'?: string | null;
8778
+ }
8699
8779
  /**
8700
8780
  *
8701
8781
  * @export
@@ -9317,6 +9397,135 @@ export interface TagsModel {
9317
9397
  */
9318
9398
  'metaData'?: PagedListMetaData;
9319
9399
  }
9400
+ /**
9401
+ *
9402
+ * @export
9403
+ * @interface TemplateVersionItemModel
9404
+ */
9405
+ export interface TemplateVersionItemModel {
9406
+ /**
9407
+ *
9408
+ * @type {string}
9409
+ * @memberof TemplateVersionItemModel
9410
+ */
9411
+ 'id'?: string | null;
9412
+ /**
9413
+ *
9414
+ * @type {string}
9415
+ * @memberof TemplateVersionItemModel
9416
+ */
9417
+ 'templateId'?: string | null;
9418
+ /**
9419
+ *
9420
+ * @type {boolean}
9421
+ * @memberof TemplateVersionItemModel
9422
+ */
9423
+ 'isActive'?: boolean;
9424
+ /**
9425
+ *
9426
+ * @type {string}
9427
+ * @memberof TemplateVersionItemModel
9428
+ */
9429
+ 'name'?: string | null;
9430
+ /**
9431
+ *
9432
+ * @type {string}
9433
+ * @memberof TemplateVersionItemModel
9434
+ */
9435
+ 'htmlContent'?: string | null;
9436
+ /**
9437
+ *
9438
+ * @type {string}
9439
+ * @memberof TemplateVersionItemModel
9440
+ */
9441
+ 'textContent'?: string | null;
9442
+ /**
9443
+ *
9444
+ * @type {string}
9445
+ * @memberof TemplateVersionItemModel
9446
+ */
9447
+ 'subject'?: string | null;
9448
+ /**
9449
+ *
9450
+ * @type {Date}
9451
+ * @memberof TemplateVersionItemModel
9452
+ */
9453
+ 'updatedOn'?: Date;
9454
+ }
9455
+ /**
9456
+ *
9457
+ * @export
9458
+ * @interface TemplateVersionModel
9459
+ */
9460
+ export interface TemplateVersionModel {
9461
+ /**
9462
+ *
9463
+ * @type {string}
9464
+ * @memberof TemplateVersionModel
9465
+ */
9466
+ 'id'?: string | null;
9467
+ /**
9468
+ *
9469
+ * @type {string}
9470
+ * @memberof TemplateVersionModel
9471
+ */
9472
+ 'templateId'?: string | null;
9473
+ /**
9474
+ *
9475
+ * @type {boolean}
9476
+ * @memberof TemplateVersionModel
9477
+ */
9478
+ 'isActive'?: boolean;
9479
+ /**
9480
+ *
9481
+ * @type {string}
9482
+ * @memberof TemplateVersionModel
9483
+ */
9484
+ 'name'?: string | null;
9485
+ /**
9486
+ *
9487
+ * @type {string}
9488
+ * @memberof TemplateVersionModel
9489
+ */
9490
+ 'htmlContent'?: string | null;
9491
+ /**
9492
+ *
9493
+ * @type {string}
9494
+ * @memberof TemplateVersionModel
9495
+ */
9496
+ 'textContent'?: string | null;
9497
+ /**
9498
+ *
9499
+ * @type {string}
9500
+ * @memberof TemplateVersionModel
9501
+ */
9502
+ 'subject'?: string | null;
9503
+ /**
9504
+ *
9505
+ * @type {Date}
9506
+ * @memberof TemplateVersionModel
9507
+ */
9508
+ 'updatedOn'?: Date;
9509
+ }
9510
+ /**
9511
+ *
9512
+ * @export
9513
+ * @interface TemplateVersionsModel
9514
+ */
9515
+ export interface TemplateVersionsModel {
9516
+ /**
9517
+ *
9518
+ * @type {Array<TemplateVersionItemModel>}
9519
+ * @memberof TemplateVersionsModel
9520
+ */
9521
+ 'items'?: Array<TemplateVersionItemModel> | null;
9522
+ /**
9523
+ *
9524
+ * @type {PagedListMetaData}
9525
+ * @memberof TemplateVersionsModel
9526
+ */
9527
+ 'metaData'?: PagedListMetaData;
9528
+ }
9320
9529
  /**
9321
9530
  *
9322
9531
  * @export
@@ -9379,12 +9588,6 @@ export interface UpdateAccreditationCommand {
9379
9588
  * @interface UpdateArticleCommand
9380
9589
  */
9381
9590
  export interface UpdateArticleCommand {
9382
- /**
9383
- *
9384
- * @type {string}
9385
- * @memberof UpdateArticleCommand
9386
- */
9387
- 'languageCode'?: string | null;
9388
9591
  /**
9389
9592
  *
9390
9593
  * @type {string}
@@ -9439,6 +9642,12 @@ export interface UpdateArticleCommand {
9439
9642
  * @memberof UpdateArticleCommand
9440
9643
  */
9441
9644
  'articleTags'?: Array<ArticleTagItemModel> | null;
9645
+ /**
9646
+ *
9647
+ * @type {string}
9648
+ * @memberof UpdateArticleCommand
9649
+ */
9650
+ 'languageCode'?: string | null;
9442
9651
  /**
9443
9652
  *
9444
9653
  * @type {boolean}
@@ -9721,6 +9930,18 @@ export interface UpdateContributorCommand {
9721
9930
  * @memberof UpdateContributorCommand
9722
9931
  */
9723
9932
  'hospitalId'?: string;
9933
+ /**
9934
+ *
9935
+ * @type {string}
9936
+ * @memberof UpdateContributorCommand
9937
+ */
9938
+ 'languageCode'?: string | null;
9939
+ /**
9940
+ *
9941
+ * @type {boolean}
9942
+ * @memberof UpdateContributorCommand
9943
+ */
9944
+ 'confirmed'?: boolean;
9724
9945
  }
9725
9946
  /**
9726
9947
  *
@@ -9753,6 +9974,12 @@ export interface UpdateCountryCommand {
9753
9974
  * @memberof UpdateCountryCommand
9754
9975
  */
9755
9976
  'name'?: string | null;
9977
+ /**
9978
+ *
9979
+ * @type {string}
9980
+ * @memberof UpdateCountryCommand
9981
+ */
9982
+ 'slug'?: string | null;
9756
9983
  /**
9757
9984
  *
9758
9985
  * @type {string}
@@ -9765,6 +9992,18 @@ export interface UpdateCountryCommand {
9765
9992
  * @memberof UpdateCountryCommand
9766
9993
  */
9767
9994
  'content'?: string | null;
9995
+ /**
9996
+ *
9997
+ * @type {string}
9998
+ * @memberof UpdateCountryCommand
9999
+ */
10000
+ 'languageCode'?: string | null;
10001
+ /**
10002
+ *
10003
+ * @type {boolean}
10004
+ * @memberof UpdateCountryCommand
10005
+ */
10006
+ 'confirmed'?: boolean;
9768
10007
  /**
9769
10008
  *
9770
10009
  * @type {Array<MediaModel>}
@@ -9908,12 +10147,6 @@ export interface UpdateDoctorCertificateCommand {
9908
10147
  * @interface UpdateDoctorCommand
9909
10148
  */
9910
10149
  export interface UpdateDoctorCommand {
9911
- /**
9912
- *
9913
- * @type {string}
9914
- * @memberof UpdateDoctorCommand
9915
- */
9916
- 'userName'?: string | null;
9917
10150
  /**
9918
10151
  *
9919
10152
  * @type {string}
@@ -10004,6 +10237,18 @@ export interface UpdateDoctorCommand {
10004
10237
  * @memberof UpdateDoctorCommand
10005
10238
  */
10006
10239
  'hospitalId'?: string | null;
10240
+ /**
10241
+ *
10242
+ * @type {string}
10243
+ * @memberof UpdateDoctorCommand
10244
+ */
10245
+ 'languageCode'?: string | null;
10246
+ /**
10247
+ *
10248
+ * @type {boolean}
10249
+ * @memberof UpdateDoctorCommand
10250
+ */
10251
+ 'confirmed'?: boolean;
10007
10252
  }
10008
10253
  /**
10009
10254
  *
@@ -10402,6 +10647,18 @@ export interface UpdateHospitalServiceCommand {
10402
10647
  * @memberof UpdateHospitalServiceCommand
10403
10648
  */
10404
10649
  'order'?: number;
10650
+ /**
10651
+ *
10652
+ * @type {string}
10653
+ * @memberof UpdateHospitalServiceCommand
10654
+ */
10655
+ 'languageCode'?: string | null;
10656
+ /**
10657
+ *
10658
+ * @type {boolean}
10659
+ * @memberof UpdateHospitalServiceCommand
10660
+ */
10661
+ 'confirmed'?: boolean;
10405
10662
  }
10406
10663
  /**
10407
10664
  *
@@ -10771,12 +11028,24 @@ export interface UpdateSpecialtyCommand {
10771
11028
  * @memberof UpdateSpecialtyCommand
10772
11029
  */
10773
11030
  'content'?: string | null;
11031
+ /**
11032
+ *
11033
+ * @type {string}
11034
+ * @memberof UpdateSpecialtyCommand
11035
+ */
11036
+ 'languageCode'?: string | null;
10774
11037
  /**
10775
11038
  *
10776
11039
  * @type {string}
10777
11040
  * @memberof UpdateSpecialtyCommand
10778
11041
  */
10779
11042
  'specialtyTypeId'?: string;
11043
+ /**
11044
+ *
11045
+ * @type {boolean}
11046
+ * @memberof UpdateSpecialtyCommand
11047
+ */
11048
+ 'confirmed'?: boolean;
10780
11049
  }
10781
11050
  /**
10782
11051
  *
@@ -10844,19 +11113,50 @@ export interface UpdateSpecialtyTypeCommand {
10844
11113
  * @memberof UpdateSpecialtyTypeCommand
10845
11114
  */
10846
11115
  'confirmed'?: boolean;
11116
+ /**
11117
+ *
11118
+ * @type {string}
11119
+ * @memberof UpdateSpecialtyTypeCommand
11120
+ */
11121
+ 'languageCode'?: string | null;
10847
11122
  }
10848
11123
  /**
10849
11124
  *
10850
11125
  * @export
10851
- * @interface UserLanguageModel
11126
+ * @interface UpdateTemplateVersionCommand
10852
11127
  */
10853
- export interface UserLanguageModel {
11128
+ export interface UpdateTemplateVersionCommand {
10854
11129
  /**
10855
11130
  *
10856
11131
  * @type {string}
10857
- * @memberof UserLanguageModel
11132
+ * @memberof UpdateTemplateVersionCommand
10858
11133
  */
10859
- 'id'?: string;
11134
+ 'name'?: string | null;
11135
+ /**
11136
+ *
11137
+ * @type {string}
11138
+ * @memberof UpdateTemplateVersionCommand
11139
+ */
11140
+ 'subject'?: string | null;
11141
+ /**
11142
+ *
11143
+ * @type {string}
11144
+ * @memberof UpdateTemplateVersionCommand
11145
+ */
11146
+ 'htmlContent'?: string | null;
11147
+ }
11148
+ /**
11149
+ *
11150
+ * @export
11151
+ * @interface UserLanguageModel
11152
+ */
11153
+ export interface UserLanguageModel {
11154
+ /**
11155
+ *
11156
+ * @type {string}
11157
+ * @memberof UserLanguageModel
11158
+ */
11159
+ 'id'?: string;
10860
11160
  /**
10861
11161
  *
10862
11162
  * @type {string}
@@ -15313,6 +15613,39 @@ export class CHManagersApi extends BaseAPI {
15313
15613
  */
15314
15614
  export const ChatUsersApiAxiosParamCreator = function (configuration?: Configuration) {
15315
15615
  return {
15616
+ /**
15617
+ *
15618
+ * @param {*} [options] Override http request option.
15619
+ * @throws {RequiredError}
15620
+ */
15621
+ apiV1ChatusersCurrentGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15622
+ const localVarPath = `/api/v1/chatusers/current`;
15623
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15624
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15625
+ let baseOptions;
15626
+ if (configuration) {
15627
+ baseOptions = configuration.baseOptions;
15628
+ }
15629
+
15630
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15631
+ const localVarHeaderParameter = {} as any;
15632
+ const localVarQueryParameter = {} as any;
15633
+
15634
+ // authentication oauth2 required
15635
+ // oauth required
15636
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
15637
+
15638
+
15639
+
15640
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15641
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15642
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15643
+
15644
+ return {
15645
+ url: toPathString(localVarUrlObj),
15646
+ options: localVarRequestOptions,
15647
+ };
15648
+ },
15316
15649
  /**
15317
15650
  *
15318
15651
  * @summary Get all chatUsers.
@@ -15538,6 +15871,15 @@ export const ChatUsersApiAxiosParamCreator = function (configuration?: Configura
15538
15871
  export const ChatUsersApiFp = function(configuration?: Configuration) {
15539
15872
  const localVarAxiosParamCreator = ChatUsersApiAxiosParamCreator(configuration)
15540
15873
  return {
15874
+ /**
15875
+ *
15876
+ * @param {*} [options] Override http request option.
15877
+ * @throws {RequiredError}
15878
+ */
15879
+ async apiV1ChatusersCurrentGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatUserModel>> {
15880
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ChatusersCurrentGet(options);
15881
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15882
+ },
15541
15883
  /**
15542
15884
  *
15543
15885
  * @summary Get all chatUsers.
@@ -15608,6 +15950,14 @@ export const ChatUsersApiFp = function(configuration?: Configuration) {
15608
15950
  export const ChatUsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
15609
15951
  const localVarFp = ChatUsersApiFp(configuration)
15610
15952
  return {
15953
+ /**
15954
+ *
15955
+ * @param {*} [options] Override http request option.
15956
+ * @throws {RequiredError}
15957
+ */
15958
+ apiV1ChatusersCurrentGet(options?: any): AxiosPromise<ChatUserModel> {
15959
+ return localVarFp.apiV1ChatusersCurrentGet(options).then((request) => request(axios, basePath));
15960
+ },
15611
15961
  /**
15612
15962
  *
15613
15963
  * @summary Get all chatUsers.
@@ -15673,6 +16023,16 @@ export const ChatUsersApiFactory = function (configuration?: Configuration, base
15673
16023
  * @extends {BaseAPI}
15674
16024
  */
15675
16025
  export class ChatUsersApi extends BaseAPI {
16026
+ /**
16027
+ *
16028
+ * @param {*} [options] Override http request option.
16029
+ * @throws {RequiredError}
16030
+ * @memberof ChatUsersApi
16031
+ */
16032
+ public apiV1ChatusersCurrentGet(options?: AxiosRequestConfig) {
16033
+ return ChatUsersApiFp(this.configuration).apiV1ChatusersCurrentGet(options).then((request) => request(this.axios, this.basePath));
16034
+ }
16035
+
15676
16036
  /**
15677
16037
  *
15678
16038
  * @summary Get all chatUsers.
@@ -20785,10 +21145,11 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
20785
21145
  *
20786
21146
  * @summary Get Doctor.
20787
21147
  * @param {string} doctorId
21148
+ * @param {string} [languageCode]
20788
21149
  * @param {*} [options] Override http request option.
20789
21150
  * @throws {RequiredError}
20790
21151
  */
20791
- apiV1DoctorsDoctorIdGet: async (doctorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21152
+ apiV1DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20792
21153
  // verify required parameter 'doctorId' is not null or undefined
20793
21154
  assertParamExists('apiV1DoctorsDoctorIdGet', 'doctorId', doctorId)
20794
21155
  const localVarPath = `/api/v1/doctors/{doctorId}`
@@ -20808,6 +21169,10 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
20808
21169
  // oauth required
20809
21170
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
20810
21171
 
21172
+ if (languageCode !== undefined) {
21173
+ localVarQueryParameter['languageCode'] = languageCode;
21174
+ }
21175
+
20811
21176
 
20812
21177
 
20813
21178
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -21974,11 +22339,12 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
21974
22339
  *
21975
22340
  * @summary Get Doctor.
21976
22341
  * @param {string} doctorId
22342
+ * @param {string} [languageCode]
21977
22343
  * @param {*} [options] Override http request option.
21978
22344
  * @throws {RequiredError}
21979
22345
  */
21980
- async apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
21981
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, options);
22346
+ async apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
22347
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options);
21982
22348
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
21983
22349
  },
21984
22350
  /**
@@ -22431,11 +22797,12 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
22431
22797
  *
22432
22798
  * @summary Get Doctor.
22433
22799
  * @param {string} doctorId
22800
+ * @param {string} [languageCode]
22434
22801
  * @param {*} [options] Override http request option.
22435
22802
  * @throws {RequiredError}
22436
22803
  */
22437
- apiV1DoctorsDoctorIdGet(doctorId: string, options?: any): AxiosPromise<DoctorModel> {
22438
- return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(axios, basePath));
22804
+ apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: any): AxiosPromise<DoctorModel> {
22805
+ return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(axios, basePath));
22439
22806
  },
22440
22807
  /**
22441
22808
  *
@@ -22898,12 +23265,13 @@ export class DoctorsApi extends BaseAPI {
22898
23265
  *
22899
23266
  * @summary Get Doctor.
22900
23267
  * @param {string} doctorId
23268
+ * @param {string} [languageCode]
22901
23269
  * @param {*} [options] Override http request option.
22902
23270
  * @throws {RequiredError}
22903
23271
  * @memberof DoctorsApi
22904
23272
  */
22905
- public apiV1DoctorsDoctorIdGet(doctorId: string, options?: AxiosRequestConfig) {
22906
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, options).then((request) => request(this.axios, this.basePath));
23273
+ public apiV1DoctorsDoctorIdGet(doctorId: string, languageCode?: string, options?: AxiosRequestConfig) {
23274
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, options).then((request) => request(this.axios, this.basePath));
22907
23275
  }
22908
23276
 
22909
23277
  /**
@@ -23181,6 +23549,503 @@ export class DoctorsApi extends BaseAPI {
23181
23549
  }
23182
23550
 
23183
23551
 
23552
+ /**
23553
+ * EmailMarketingsApi - axios parameter creator
23554
+ * @export
23555
+ */
23556
+ export const EmailMarketingsApiAxiosParamCreator = function (configuration?: Configuration) {
23557
+ return {
23558
+ /**
23559
+ *
23560
+ * @summary Get all templateVersions.
23561
+ * @param {number} [page]
23562
+ * @param {number} [limit]
23563
+ * @param {Date} [lastRetrieved]
23564
+ * @param {*} [options] Override http request option.
23565
+ * @throws {RequiredError}
23566
+ */
23567
+ apiV1EmailmarketingsVersionsGet: async (page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23568
+ const localVarPath = `/api/v1/emailmarketings/versions`;
23569
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23570
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23571
+ let baseOptions;
23572
+ if (configuration) {
23573
+ baseOptions = configuration.baseOptions;
23574
+ }
23575
+
23576
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23577
+ const localVarHeaderParameter = {} as any;
23578
+ const localVarQueryParameter = {} as any;
23579
+
23580
+ // authentication oauth2 required
23581
+ // oauth required
23582
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23583
+
23584
+ if (page !== undefined) {
23585
+ localVarQueryParameter['page'] = page;
23586
+ }
23587
+
23588
+ if (limit !== undefined) {
23589
+ localVarQueryParameter['limit'] = limit;
23590
+ }
23591
+
23592
+ if (lastRetrieved !== undefined) {
23593
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
23594
+ (lastRetrieved as any).toISOString() :
23595
+ lastRetrieved;
23596
+ }
23597
+
23598
+
23599
+
23600
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23601
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23602
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23603
+
23604
+ return {
23605
+ url: toPathString(localVarUrlObj),
23606
+ options: localVarRequestOptions,
23607
+ };
23608
+ },
23609
+ /**
23610
+ *
23611
+ * @summary Create a templateVersion.
23612
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
23613
+ * @param {*} [options] Override http request option.
23614
+ * @throws {RequiredError}
23615
+ */
23616
+ apiV1EmailmarketingsVersionsPost: async (createTemplateVersionCommand?: CreateTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23617
+ const localVarPath = `/api/v1/emailmarketings/versions`;
23618
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23619
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23620
+ let baseOptions;
23621
+ if (configuration) {
23622
+ baseOptions = configuration.baseOptions;
23623
+ }
23624
+
23625
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23626
+ const localVarHeaderParameter = {} as any;
23627
+ const localVarQueryParameter = {} as any;
23628
+
23629
+ // authentication oauth2 required
23630
+ // oauth required
23631
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23632
+
23633
+
23634
+
23635
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23636
+
23637
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23638
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23639
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23640
+ localVarRequestOptions.data = serializeDataIfNeeded(createTemplateVersionCommand, localVarRequestOptions, configuration)
23641
+
23642
+ return {
23643
+ url: toPathString(localVarUrlObj),
23644
+ options: localVarRequestOptions,
23645
+ };
23646
+ },
23647
+ /**
23648
+ *
23649
+ * @summary Delete templateVersion.
23650
+ * @param {string} versionId
23651
+ * @param {*} [options] Override http request option.
23652
+ * @throws {RequiredError}
23653
+ */
23654
+ apiV1EmailmarketingsVersionsVersionIdDelete: async (versionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23655
+ // verify required parameter 'versionId' is not null or undefined
23656
+ assertParamExists('apiV1EmailmarketingsVersionsVersionIdDelete', 'versionId', versionId)
23657
+ const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
23658
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
23659
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23660
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23661
+ let baseOptions;
23662
+ if (configuration) {
23663
+ baseOptions = configuration.baseOptions;
23664
+ }
23665
+
23666
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23667
+ const localVarHeaderParameter = {} as any;
23668
+ const localVarQueryParameter = {} as any;
23669
+
23670
+ // authentication oauth2 required
23671
+ // oauth required
23672
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23673
+
23674
+
23675
+
23676
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23677
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23678
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23679
+
23680
+ return {
23681
+ url: toPathString(localVarUrlObj),
23682
+ options: localVarRequestOptions,
23683
+ };
23684
+ },
23685
+ /**
23686
+ *
23687
+ * @summary Get templateVersion.
23688
+ * @param {string} versionId
23689
+ * @param {*} [options] Override http request option.
23690
+ * @throws {RequiredError}
23691
+ */
23692
+ apiV1EmailmarketingsVersionsVersionIdGet: async (versionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23693
+ // verify required parameter 'versionId' is not null or undefined
23694
+ assertParamExists('apiV1EmailmarketingsVersionsVersionIdGet', 'versionId', versionId)
23695
+ const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
23696
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
23697
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23698
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23699
+ let baseOptions;
23700
+ if (configuration) {
23701
+ baseOptions = configuration.baseOptions;
23702
+ }
23703
+
23704
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23705
+ const localVarHeaderParameter = {} as any;
23706
+ const localVarQueryParameter = {} as any;
23707
+
23708
+ // authentication oauth2 required
23709
+ // oauth required
23710
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23711
+
23712
+
23713
+
23714
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23715
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23716
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23717
+
23718
+ return {
23719
+ url: toPathString(localVarUrlObj),
23720
+ options: localVarRequestOptions,
23721
+ };
23722
+ },
23723
+ /**
23724
+ *
23725
+ * @summary Update templateVersion.
23726
+ * @param {string} versionId
23727
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
23728
+ * @param {*} [options] Override http request option.
23729
+ * @throws {RequiredError}
23730
+ */
23731
+ apiV1EmailmarketingsVersionsVersionIdPut: async (versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23732
+ // verify required parameter 'versionId' is not null or undefined
23733
+ assertParamExists('apiV1EmailmarketingsVersionsVersionIdPut', 'versionId', versionId)
23734
+ const localVarPath = `/api/v1/emailmarketings/versions/{versionId}`
23735
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
23736
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23737
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23738
+ let baseOptions;
23739
+ if (configuration) {
23740
+ baseOptions = configuration.baseOptions;
23741
+ }
23742
+
23743
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23744
+ const localVarHeaderParameter = {} as any;
23745
+ const localVarQueryParameter = {} as any;
23746
+
23747
+ // authentication oauth2 required
23748
+ // oauth required
23749
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23750
+
23751
+
23752
+
23753
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23754
+
23755
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23756
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23757
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23758
+ localVarRequestOptions.data = serializeDataIfNeeded(updateTemplateVersionCommand, localVarRequestOptions, configuration)
23759
+
23760
+ return {
23761
+ url: toPathString(localVarUrlObj),
23762
+ options: localVarRequestOptions,
23763
+ };
23764
+ },
23765
+ /**
23766
+ *
23767
+ * @summary Send templateVersion email.
23768
+ * @param {string} versionId
23769
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
23770
+ * @param {*} [options] Override http request option.
23771
+ * @throws {RequiredError}
23772
+ */
23773
+ apiV1EmailmarketingsVersionsVersionIdSendPost: async (versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23774
+ // verify required parameter 'versionId' is not null or undefined
23775
+ assertParamExists('apiV1EmailmarketingsVersionsVersionIdSendPost', 'versionId', versionId)
23776
+ const localVarPath = `/api/v1/emailmarketings/versions/{versionId}/send`
23777
+ .replace(`{${"versionId"}}`, encodeURIComponent(String(versionId)));
23778
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23779
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23780
+ let baseOptions;
23781
+ if (configuration) {
23782
+ baseOptions = configuration.baseOptions;
23783
+ }
23784
+
23785
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23786
+ const localVarHeaderParameter = {} as any;
23787
+ const localVarQueryParameter = {} as any;
23788
+
23789
+ // authentication oauth2 required
23790
+ // oauth required
23791
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23792
+
23793
+
23794
+
23795
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23796
+
23797
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23798
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23799
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23800
+ localVarRequestOptions.data = serializeDataIfNeeded(sendTemplateVersionCommand, localVarRequestOptions, configuration)
23801
+
23802
+ return {
23803
+ url: toPathString(localVarUrlObj),
23804
+ options: localVarRequestOptions,
23805
+ };
23806
+ },
23807
+ }
23808
+ };
23809
+
23810
+ /**
23811
+ * EmailMarketingsApi - functional programming interface
23812
+ * @export
23813
+ */
23814
+ export const EmailMarketingsApiFp = function(configuration?: Configuration) {
23815
+ const localVarAxiosParamCreator = EmailMarketingsApiAxiosParamCreator(configuration)
23816
+ return {
23817
+ /**
23818
+ *
23819
+ * @summary Get all templateVersions.
23820
+ * @param {number} [page]
23821
+ * @param {number} [limit]
23822
+ * @param {Date} [lastRetrieved]
23823
+ * @param {*} [options] Override http request option.
23824
+ * @throws {RequiredError}
23825
+ */
23826
+ async apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionsModel>> {
23827
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options);
23828
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23829
+ },
23830
+ /**
23831
+ *
23832
+ * @summary Create a templateVersion.
23833
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
23834
+ * @param {*} [options] Override http request option.
23835
+ * @throws {RequiredError}
23836
+ */
23837
+ async apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
23838
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options);
23839
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23840
+ },
23841
+ /**
23842
+ *
23843
+ * @summary Delete templateVersion.
23844
+ * @param {string} versionId
23845
+ * @param {*} [options] Override http request option.
23846
+ * @throws {RequiredError}
23847
+ */
23848
+ async apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23849
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options);
23850
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23851
+ },
23852
+ /**
23853
+ *
23854
+ * @summary Get templateVersion.
23855
+ * @param {string} versionId
23856
+ * @param {*} [options] Override http request option.
23857
+ * @throws {RequiredError}
23858
+ */
23859
+ async apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
23860
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdGet(versionId, options);
23861
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23862
+ },
23863
+ /**
23864
+ *
23865
+ * @summary Update templateVersion.
23866
+ * @param {string} versionId
23867
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
23868
+ * @param {*} [options] Override http request option.
23869
+ * @throws {RequiredError}
23870
+ */
23871
+ async apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TemplateVersionModel>> {
23872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options);
23873
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23874
+ },
23875
+ /**
23876
+ *
23877
+ * @summary Send templateVersion email.
23878
+ * @param {string} versionId
23879
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
23880
+ * @param {*} [options] Override http request option.
23881
+ * @throws {RequiredError}
23882
+ */
23883
+ async apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
23884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options);
23885
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23886
+ },
23887
+ }
23888
+ };
23889
+
23890
+ /**
23891
+ * EmailMarketingsApi - factory interface
23892
+ * @export
23893
+ */
23894
+ export const EmailMarketingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23895
+ const localVarFp = EmailMarketingsApiFp(configuration)
23896
+ return {
23897
+ /**
23898
+ *
23899
+ * @summary Get all templateVersions.
23900
+ * @param {number} [page]
23901
+ * @param {number} [limit]
23902
+ * @param {Date} [lastRetrieved]
23903
+ * @param {*} [options] Override http request option.
23904
+ * @throws {RequiredError}
23905
+ */
23906
+ apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<TemplateVersionsModel> {
23907
+ return localVarFp.apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
23908
+ },
23909
+ /**
23910
+ *
23911
+ * @summary Create a templateVersion.
23912
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
23913
+ * @param {*} [options] Override http request option.
23914
+ * @throws {RequiredError}
23915
+ */
23916
+ apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: any): AxiosPromise<TemplateVersionModel> {
23917
+ return localVarFp.apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options).then((request) => request(axios, basePath));
23918
+ },
23919
+ /**
23920
+ *
23921
+ * @summary Delete templateVersion.
23922
+ * @param {string} versionId
23923
+ * @param {*} [options] Override http request option.
23924
+ * @throws {RequiredError}
23925
+ */
23926
+ apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: any): AxiosPromise<boolean> {
23927
+ return localVarFp.apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options).then((request) => request(axios, basePath));
23928
+ },
23929
+ /**
23930
+ *
23931
+ * @summary Get templateVersion.
23932
+ * @param {string} versionId
23933
+ * @param {*} [options] Override http request option.
23934
+ * @throws {RequiredError}
23935
+ */
23936
+ apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: any): AxiosPromise<TemplateVersionModel> {
23937
+ return localVarFp.apiV1EmailmarketingsVersionsVersionIdGet(versionId, options).then((request) => request(axios, basePath));
23938
+ },
23939
+ /**
23940
+ *
23941
+ * @summary Update templateVersion.
23942
+ * @param {string} versionId
23943
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
23944
+ * @param {*} [options] Override http request option.
23945
+ * @throws {RequiredError}
23946
+ */
23947
+ apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: any): AxiosPromise<TemplateVersionModel> {
23948
+ return localVarFp.apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options).then((request) => request(axios, basePath));
23949
+ },
23950
+ /**
23951
+ *
23952
+ * @summary Send templateVersion email.
23953
+ * @param {string} versionId
23954
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
23955
+ * @param {*} [options] Override http request option.
23956
+ * @throws {RequiredError}
23957
+ */
23958
+ apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: any): AxiosPromise<boolean> {
23959
+ return localVarFp.apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options).then((request) => request(axios, basePath));
23960
+ },
23961
+ };
23962
+ };
23963
+
23964
+ /**
23965
+ * EmailMarketingsApi - object-oriented interface
23966
+ * @export
23967
+ * @class EmailMarketingsApi
23968
+ * @extends {BaseAPI}
23969
+ */
23970
+ export class EmailMarketingsApi extends BaseAPI {
23971
+ /**
23972
+ *
23973
+ * @summary Get all templateVersions.
23974
+ * @param {number} [page]
23975
+ * @param {number} [limit]
23976
+ * @param {Date} [lastRetrieved]
23977
+ * @param {*} [options] Override http request option.
23978
+ * @throws {RequiredError}
23979
+ * @memberof EmailMarketingsApi
23980
+ */
23981
+ public apiV1EmailmarketingsVersionsGet(page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
23982
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsGet(page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
23983
+ }
23984
+
23985
+ /**
23986
+ *
23987
+ * @summary Create a templateVersion.
23988
+ * @param {CreateTemplateVersionCommand} [createTemplateVersionCommand]
23989
+ * @param {*} [options] Override http request option.
23990
+ * @throws {RequiredError}
23991
+ * @memberof EmailMarketingsApi
23992
+ */
23993
+ public apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand?: CreateTemplateVersionCommand, options?: AxiosRequestConfig) {
23994
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsPost(createTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
23995
+ }
23996
+
23997
+ /**
23998
+ *
23999
+ * @summary Delete templateVersion.
24000
+ * @param {string} versionId
24001
+ * @param {*} [options] Override http request option.
24002
+ * @throws {RequiredError}
24003
+ * @memberof EmailMarketingsApi
24004
+ */
24005
+ public apiV1EmailmarketingsVersionsVersionIdDelete(versionId: string, options?: AxiosRequestConfig) {
24006
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdDelete(versionId, options).then((request) => request(this.axios, this.basePath));
24007
+ }
24008
+
24009
+ /**
24010
+ *
24011
+ * @summary Get templateVersion.
24012
+ * @param {string} versionId
24013
+ * @param {*} [options] Override http request option.
24014
+ * @throws {RequiredError}
24015
+ * @memberof EmailMarketingsApi
24016
+ */
24017
+ public apiV1EmailmarketingsVersionsVersionIdGet(versionId: string, options?: AxiosRequestConfig) {
24018
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdGet(versionId, options).then((request) => request(this.axios, this.basePath));
24019
+ }
24020
+
24021
+ /**
24022
+ *
24023
+ * @summary Update templateVersion.
24024
+ * @param {string} versionId
24025
+ * @param {UpdateTemplateVersionCommand} [updateTemplateVersionCommand]
24026
+ * @param {*} [options] Override http request option.
24027
+ * @throws {RequiredError}
24028
+ * @memberof EmailMarketingsApi
24029
+ */
24030
+ public apiV1EmailmarketingsVersionsVersionIdPut(versionId: string, updateTemplateVersionCommand?: UpdateTemplateVersionCommand, options?: AxiosRequestConfig) {
24031
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdPut(versionId, updateTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
24032
+ }
24033
+
24034
+ /**
24035
+ *
24036
+ * @summary Send templateVersion email.
24037
+ * @param {string} versionId
24038
+ * @param {SendTemplateVersionCommand} [sendTemplateVersionCommand]
24039
+ * @param {*} [options] Override http request option.
24040
+ * @throws {RequiredError}
24041
+ * @memberof EmailMarketingsApi
24042
+ */
24043
+ public apiV1EmailmarketingsVersionsVersionIdSendPost(versionId: string, sendTemplateVersionCommand?: SendTemplateVersionCommand, options?: AxiosRequestConfig) {
24044
+ return EmailMarketingsApiFp(this.configuration).apiV1EmailmarketingsVersionsVersionIdSendPost(versionId, sendTemplateVersionCommand, options).then((request) => request(this.axios, this.basePath));
24045
+ }
24046
+ }
24047
+
24048
+
23184
24049
  /**
23185
24050
  * FaqCategoriesApi - axios parameter creator
23186
24051
  * @export
@@ -23232,7 +24097,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
23232
24097
  },
23233
24098
  /**
23234
24099
  *
23235
- * @summary Delete faqCategory.
24100
+ * @summary Delete FaqCategory.
23236
24101
  * @param {string} faqCategoryId
23237
24102
  * @param {boolean} [forceDelete]
23238
24103
  * @param {*} [options] Override http request option.
@@ -23275,7 +24140,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
23275
24140
  },
23276
24141
  /**
23277
24142
  *
23278
- * @summary Get faqCategory.
24143
+ * @summary Get FaqCategory.
23279
24144
  * @param {string} faqCategoryId
23280
24145
  * @param {string} [languageCode]
23281
24146
  * @param {*} [options] Override http request option.
@@ -23318,7 +24183,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
23318
24183
  },
23319
24184
  /**
23320
24185
  *
23321
- * @summary Update faqCategory.
24186
+ * @summary Update FaqCategory.
23322
24187
  * @param {string} faqCategoryId
23323
24188
  * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23324
24189
  * @param {*} [options] Override http request option.
@@ -23436,7 +24301,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
23436
24301
  },
23437
24302
  /**
23438
24303
  *
23439
- * @summary Create a faqCategory.
24304
+ * @summary Create a FaqCategory.
23440
24305
  * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23441
24306
  * @param {*} [options] Override http request option.
23442
24307
  * @throws {RequiredError}
@@ -23474,7 +24339,7 @@ export const FaqCategoriesApiAxiosParamCreator = function (configuration?: Confi
23474
24339
  },
23475
24340
  /**
23476
24341
  *
23477
- * @summary Get faqCategory by slug.
24342
+ * @summary Get FaqCategory by slug.
23478
24343
  * @param {string} slug
23479
24344
  * @param {string} [languageCode]
23480
24345
  * @param {*} [options] Override http request option.
@@ -23539,7 +24404,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
23539
24404
  },
23540
24405
  /**
23541
24406
  *
23542
- * @summary Delete faqCategory.
24407
+ * @summary Delete FaqCategory.
23543
24408
  * @param {string} faqCategoryId
23544
24409
  * @param {boolean} [forceDelete]
23545
24410
  * @param {*} [options] Override http request option.
@@ -23551,7 +24416,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
23551
24416
  },
23552
24417
  /**
23553
24418
  *
23554
- * @summary Get faqCategory.
24419
+ * @summary Get FaqCategory.
23555
24420
  * @param {string} faqCategoryId
23556
24421
  * @param {string} [languageCode]
23557
24422
  * @param {*} [options] Override http request option.
@@ -23563,7 +24428,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
23563
24428
  },
23564
24429
  /**
23565
24430
  *
23566
- * @summary Update faqCategory.
24431
+ * @summary Update FaqCategory.
23567
24432
  * @param {string} faqCategoryId
23568
24433
  * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23569
24434
  * @param {*} [options] Override http request option.
@@ -23593,7 +24458,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
23593
24458
  },
23594
24459
  /**
23595
24460
  *
23596
- * @summary Create a faqCategory.
24461
+ * @summary Create a FaqCategory.
23597
24462
  * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23598
24463
  * @param {*} [options] Override http request option.
23599
24464
  * @throws {RequiredError}
@@ -23604,7 +24469,7 @@ export const FaqCategoriesApiFp = function(configuration?: Configuration) {
23604
24469
  },
23605
24470
  /**
23606
24471
  *
23607
- * @summary Get faqCategory by slug.
24472
+ * @summary Get FaqCategory by slug.
23608
24473
  * @param {string} slug
23609
24474
  * @param {string} [languageCode]
23610
24475
  * @param {*} [options] Override http request option.
@@ -23637,7 +24502,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
23637
24502
  },
23638
24503
  /**
23639
24504
  *
23640
- * @summary Delete faqCategory.
24505
+ * @summary Delete FaqCategory.
23641
24506
  * @param {string} faqCategoryId
23642
24507
  * @param {boolean} [forceDelete]
23643
24508
  * @param {*} [options] Override http request option.
@@ -23648,7 +24513,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
23648
24513
  },
23649
24514
  /**
23650
24515
  *
23651
- * @summary Get faqCategory.
24516
+ * @summary Get FaqCategory.
23652
24517
  * @param {string} faqCategoryId
23653
24518
  * @param {string} [languageCode]
23654
24519
  * @param {*} [options] Override http request option.
@@ -23659,7 +24524,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
23659
24524
  },
23660
24525
  /**
23661
24526
  *
23662
- * @summary Update faqCategory.
24527
+ * @summary Update FaqCategory.
23663
24528
  * @param {string} faqCategoryId
23664
24529
  * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23665
24530
  * @param {*} [options] Override http request option.
@@ -23687,7 +24552,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
23687
24552
  },
23688
24553
  /**
23689
24554
  *
23690
- * @summary Create a faqCategory.
24555
+ * @summary Create a FaqCategory.
23691
24556
  * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23692
24557
  * @param {*} [options] Override http request option.
23693
24558
  * @throws {RequiredError}
@@ -23697,7 +24562,7 @@ export const FaqCategoriesApiFactory = function (configuration?: Configuration,
23697
24562
  },
23698
24563
  /**
23699
24564
  *
23700
- * @summary Get faqCategory by slug.
24565
+ * @summary Get FaqCategory by slug.
23701
24566
  * @param {string} slug
23702
24567
  * @param {string} [languageCode]
23703
24568
  * @param {*} [options] Override http request option.
@@ -23731,7 +24596,7 @@ export class FaqCategoriesApi extends BaseAPI {
23731
24596
 
23732
24597
  /**
23733
24598
  *
23734
- * @summary Delete faqCategory.
24599
+ * @summary Delete FaqCategory.
23735
24600
  * @param {string} faqCategoryId
23736
24601
  * @param {boolean} [forceDelete]
23737
24602
  * @param {*} [options] Override http request option.
@@ -23744,7 +24609,7 @@ export class FaqCategoriesApi extends BaseAPI {
23744
24609
 
23745
24610
  /**
23746
24611
  *
23747
- * @summary Get faqCategory.
24612
+ * @summary Get FaqCategory.
23748
24613
  * @param {string} faqCategoryId
23749
24614
  * @param {string} [languageCode]
23750
24615
  * @param {*} [options] Override http request option.
@@ -23757,7 +24622,7 @@ export class FaqCategoriesApi extends BaseAPI {
23757
24622
 
23758
24623
  /**
23759
24624
  *
23760
- * @summary Update faqCategory.
24625
+ * @summary Update FaqCategory.
23761
24626
  * @param {string} faqCategoryId
23762
24627
  * @param {UpdateFaqCategoryCommand} [updateFaqCategoryCommand]
23763
24628
  * @param {*} [options] Override http request option.
@@ -23789,7 +24654,7 @@ export class FaqCategoriesApi extends BaseAPI {
23789
24654
 
23790
24655
  /**
23791
24656
  *
23792
- * @summary Create a faqCategory.
24657
+ * @summary Create a FaqCategory.
23793
24658
  * @param {CreateFaqCategoryCommand} [createFaqCategoryCommand]
23794
24659
  * @param {*} [options] Override http request option.
23795
24660
  * @throws {RequiredError}
@@ -23801,7 +24666,7 @@ export class FaqCategoriesApi extends BaseAPI {
23801
24666
 
23802
24667
  /**
23803
24668
  *
23804
- * @summary Get faqCategory by slug.
24669
+ * @summary Get FaqCategory by slug.
23805
24670
  * @param {string} slug
23806
24671
  * @param {string} [languageCode]
23807
24672
  * @param {*} [options] Override http request option.