ch-admin-api-client-typescript 5.30.44 → 5.31.1
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/message-webhooks-api.d.ts +237 -0
- package/lib/api/message-webhooks-api.d.ts.map +1 -0
- package/lib/api/message-webhooks-api.js +476 -0
- package/lib/api/specialty-types-api.d.ts +60 -12
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +97 -12
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/create-specialty-type-command.d.ts +12 -0
- package/lib/models/create-specialty-type-command.d.ts.map +1 -1
- package/lib/models/index.d.ts +5 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +5 -0
- package/lib/models/message-provider.d.ts +21 -0
- package/lib/models/message-provider.d.ts.map +1 -0
- package/lib/models/message-provider.js +24 -0
- package/lib/models/message-webhook-model.d.ts +56 -0
- package/lib/models/message-webhook-model.d.ts.map +1 -0
- package/lib/models/message-webhook-model.js +15 -0
- package/lib/models/register-message-webhook-command.d.ts +44 -0
- package/lib/models/register-message-webhook-command.d.ts.map +1 -0
- package/lib/models/register-message-webhook-command.js +15 -0
- package/lib/models/specialty-type-item-model.d.ts +6 -0
- package/lib/models/specialty-type-item-model.d.ts.map +1 -1
- package/lib/models/specialty-type-model.d.ts +6 -0
- package/lib/models/specialty-type-model.d.ts.map +1 -1
- package/lib/models/specialty-type-simple-item-model.d.ts +6 -0
- package/lib/models/specialty-type-simple-item-model.d.ts.map +1 -1
- package/lib/models/specialty-type-sorting-command.d.ts +26 -0
- package/lib/models/specialty-type-sorting-command.d.ts.map +1 -0
- package/lib/models/specialty-type-sorting-command.js +15 -0
- package/lib/models/toggle-message-webhook-command.d.ts +25 -0
- package/lib/models/toggle-message-webhook-command.d.ts.map +1 -0
- package/lib/models/toggle-message-webhook-command.js +15 -0
- package/lib/models/update-specialty-type-command.d.ts +8 -2
- package/lib/models/update-specialty-type-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +6 -0
- package/src/api/message-webhooks-api.ts +419 -0
- package/src/api/specialty-types-api.ts +101 -12
- package/src/api.ts +1 -0
- package/src/models/create-specialty-type-command.ts +12 -0
- package/src/models/index.ts +5 -0
- package/src/models/message-provider.ts +30 -0
- package/src/models/message-webhook-model.ts +63 -0
- package/src/models/register-message-webhook-command.ts +51 -0
- package/src/models/specialty-type-item-model.ts +6 -0
- package/src/models/specialty-type-model.ts +6 -0
- package/src/models/specialty-type-simple-item-model.ts +6 -0
- package/src/models/specialty-type-sorting-command.ts +33 -0
- package/src/models/toggle-message-webhook-command.ts +30 -0
- package/src/models/update-specialty-type-command.ts +8 -2
|
@@ -26,6 +26,12 @@ import { MediaModel } from './media-model';
|
|
|
26
26
|
* @interface CreateSpecialtyTypeCommand
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateSpecialtyTypeCommand {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateSpecialtyTypeCommand
|
|
33
|
+
*/
|
|
34
|
+
'languageCode'?: string | null;
|
|
29
35
|
/**
|
|
30
36
|
*
|
|
31
37
|
* @type {string}
|
|
@@ -80,6 +86,12 @@ export interface CreateSpecialtyTypeCommand {
|
|
|
80
86
|
* @memberof CreateSpecialtyTypeCommand
|
|
81
87
|
*/
|
|
82
88
|
'customStyle'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof CreateSpecialtyTypeCommand
|
|
93
|
+
*/
|
|
94
|
+
'order'?: number;
|
|
83
95
|
/**
|
|
84
96
|
*
|
|
85
97
|
* @type {Array<MediaModel>}
|
package/src/models/index.ts
CHANGED
|
@@ -306,7 +306,9 @@ export * from './membership-item-model';
|
|
|
306
306
|
export * from './membership-model';
|
|
307
307
|
export * from './memberships-model';
|
|
308
308
|
export * from './mention-type';
|
|
309
|
+
export * from './message-provider';
|
|
309
310
|
export * from './message-type';
|
|
311
|
+
export * from './message-webhook-model';
|
|
310
312
|
export * from './metadata';
|
|
311
313
|
export * from './model-file';
|
|
312
314
|
export * from './notice-item-model';
|
|
@@ -368,6 +370,7 @@ export * from './procedure';
|
|
|
368
370
|
export * from './recurring-interval';
|
|
369
371
|
export * from './refund-policy';
|
|
370
372
|
export * from './refund-status';
|
|
373
|
+
export * from './register-message-webhook-command';
|
|
371
374
|
export * from './reject-appointment-command';
|
|
372
375
|
export * from './reject-reason';
|
|
373
376
|
export * from './reschedule-appointment-command';
|
|
@@ -421,6 +424,7 @@ export * from './specialty-model';
|
|
|
421
424
|
export * from './specialty-type-item-model';
|
|
422
425
|
export * from './specialty-type-model';
|
|
423
426
|
export * from './specialty-type-simple-item-model';
|
|
427
|
+
export * from './specialty-type-sorting-command';
|
|
424
428
|
export * from './specialty-types-model';
|
|
425
429
|
export * from './specialty-types-simple-model';
|
|
426
430
|
export * from './string-filter-types';
|
|
@@ -452,6 +456,7 @@ export * from './template-versions-model';
|
|
|
452
456
|
export * from './test-email-model';
|
|
453
457
|
export * from './test-email-webhook-command';
|
|
454
458
|
export * from './text-message';
|
|
459
|
+
export * from './toggle-message-webhook-command';
|
|
455
460
|
export * from './translate-about-us-page-command';
|
|
456
461
|
export * from './translate-all-options';
|
|
457
462
|
export * from './translate-command';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const MessageProvider = {
|
|
24
|
+
WhatsApp: 'WhatsApp'
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
27
|
+
export type MessageProvider = typeof MessageProvider[keyof typeof MessageProvider];
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { MessageProvider } from './message-provider';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface MessageWebhookModel
|
|
24
|
+
*/
|
|
25
|
+
export interface MessageWebhookModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof MessageWebhookModel
|
|
30
|
+
*/
|
|
31
|
+
'webhookId'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof MessageWebhookModel
|
|
36
|
+
*/
|
|
37
|
+
'hospitalId'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof MessageWebhookModel
|
|
42
|
+
*/
|
|
43
|
+
'businessId'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof MessageWebhookModel
|
|
48
|
+
*/
|
|
49
|
+
'callbackUrl'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {MessageProvider}
|
|
53
|
+
* @memberof MessageWebhookModel
|
|
54
|
+
*/
|
|
55
|
+
'messageProvider'?: MessageProvider;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof MessageWebhookModel
|
|
60
|
+
*/
|
|
61
|
+
'isEnabled'?: boolean;
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { MessageProvider } from './message-provider';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface RegisterMessageWebhookCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface RegisterMessageWebhookCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof RegisterMessageWebhookCommand
|
|
30
|
+
*/
|
|
31
|
+
'hospitalId'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof RegisterMessageWebhookCommand
|
|
36
|
+
*/
|
|
37
|
+
'businessId'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {MessageProvider}
|
|
41
|
+
* @memberof RegisterMessageWebhookCommand
|
|
42
|
+
*/
|
|
43
|
+
'messageProvider'?: MessageProvider;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof RegisterMessageWebhookCommand
|
|
48
|
+
*/
|
|
49
|
+
'enabled'?: boolean;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { SortingItemModel } from './sorting-item-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface SpecialtyTypeSortingCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface SpecialtyTypeSortingCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SortingItemModel>}
|
|
29
|
+
* @memberof SpecialtyTypeSortingCommand
|
|
30
|
+
*/
|
|
31
|
+
'items'?: Array<SortingItemModel> | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ToggleMessageWebhookCommand
|
|
21
|
+
*/
|
|
22
|
+
export interface ToggleMessageWebhookCommand {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof ToggleMessageWebhookCommand
|
|
27
|
+
*/
|
|
28
|
+
'isEnabled'?: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -26,6 +26,12 @@ import { MediaModel } from './media-model';
|
|
|
26
26
|
* @interface UpdateSpecialtyTypeCommand
|
|
27
27
|
*/
|
|
28
28
|
export interface UpdateSpecialtyTypeCommand {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateSpecialtyTypeCommand
|
|
33
|
+
*/
|
|
34
|
+
'languageCode'?: string | null;
|
|
29
35
|
/**
|
|
30
36
|
*
|
|
31
37
|
* @type {string}
|
|
@@ -88,10 +94,10 @@ export interface UpdateSpecialtyTypeCommand {
|
|
|
88
94
|
'customStyle'?: string | null;
|
|
89
95
|
/**
|
|
90
96
|
*
|
|
91
|
-
* @type {
|
|
97
|
+
* @type {number}
|
|
92
98
|
* @memberof UpdateSpecialtyTypeCommand
|
|
93
99
|
*/
|
|
94
|
-
'
|
|
100
|
+
'order'?: number | null;
|
|
95
101
|
/**
|
|
96
102
|
*
|
|
97
103
|
* @type {boolean}
|