ch-api-client-typescript2 5.3.7 → 5.3.8

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.
@@ -24,6 +24,7 @@ export declare const CallStatus: {
24
24
  readonly Disconnected: "Disconnected";
25
25
  readonly Rejected: "Rejected";
26
26
  readonly Failed: "Failed";
27
+ readonly Completed: "Completed";
27
28
  };
28
29
  export type CallStatus = typeof CallStatus[keyof typeof CallStatus];
29
30
  //# sourceMappingURL=call-status.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"call-status.d.ts","sourceRoot":"","sources":["../../src/models/call-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;CAUb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"call-status.d.ts","sourceRoot":"","sources":["../../src/models/call-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;CAWb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC"}
@@ -28,5 +28,6 @@ exports.CallStatus = {
28
28
  Unanswered: 'Unanswered',
29
29
  Disconnected: 'Disconnected',
30
30
  Rejected: 'Rejected',
31
- Failed: 'Failed'
31
+ Failed: 'Failed',
32
+ Completed: 'Completed'
32
33
  };
@@ -34,54 +34,6 @@ export interface CreateCallHistoryCommand {
34
34
  * @memberof CreateCallHistoryCommand
35
35
  */
36
36
  'hospitalId'?: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof CreateCallHistoryCommand
41
- */
42
- 'virtualNumber'?: string | null;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof CreateCallHistoryCommand
47
- */
48
- 'targetNumber'?: string | null;
49
- /**
50
- *
51
- * @type {Date}
52
- * @memberof CreateCallHistoryCommand
53
- */
54
- 'startTime'?: Date;
55
- /**
56
- *
57
- * @type {Date}
58
- * @memberof CreateCallHistoryCommand
59
- */
60
- 'endTime'?: Date;
61
- /**
62
- *
63
- * @type {number}
64
- * @memberof CreateCallHistoryCommand
65
- */
66
- 'duration'?: number;
67
- /**
68
- *
69
- * @type {number}
70
- * @memberof CreateCallHistoryCommand
71
- */
72
- 'rate'?: number;
73
- /**
74
- *
75
- * @type {number}
76
- * @memberof CreateCallHistoryCommand
77
- */
78
- 'price'?: number;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof CreateCallHistoryCommand
83
- */
84
- 'customData'?: string | null;
85
37
  /**
86
38
  *
87
39
  * @type {boolean}
@@ -1 +1 @@
1
- {"version":3,"file":"create-call-history-command.d.ts","sourceRoot":"","sources":["../../src/models/create-call-history-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;CACtB"}
1
+ {"version":3,"file":"create-call-history-command.d.ts","sourceRoot":"","sources":["../../src/models/create-call-history-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;CACtB"}
@@ -16,18 +16,6 @@ import { CallStatus } from './call-status';
16
16
  * @interface UpdateCallHistoryCommand
17
17
  */
18
18
  export interface UpdateCallHistoryCommand {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof UpdateCallHistoryCommand
23
- */
24
- 'patientId'?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof UpdateCallHistoryCommand
29
- */
30
- 'hospitalId'?: string;
31
19
  /**
32
20
  *
33
21
  * @type {string}
@@ -45,13 +33,13 @@ export interface UpdateCallHistoryCommand {
45
33
  * @type {Date}
46
34
  * @memberof UpdateCallHistoryCommand
47
35
  */
48
- 'startTime'?: Date;
36
+ 'startTime'?: Date | null;
49
37
  /**
50
38
  *
51
39
  * @type {Date}
52
40
  * @memberof UpdateCallHistoryCommand
53
41
  */
54
- 'endTime'?: Date;
42
+ 'endTime'?: Date | null;
55
43
  /**
56
44
  *
57
45
  * @type {number}
@@ -70,18 +58,6 @@ export interface UpdateCallHistoryCommand {
70
58
  * @memberof UpdateCallHistoryCommand
71
59
  */
72
60
  'price'?: number;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof UpdateCallHistoryCommand
77
- */
78
- 'customData'?: string | null;
79
- /**
80
- *
81
- * @type {boolean}
82
- * @memberof UpdateCallHistoryCommand
83
- */
84
- 'isExternal'?: boolean;
85
61
  /**
86
62
  *
87
63
  * @type {CallStatus}
@@ -1 +1 @@
1
- {"version":3,"file":"update-call-history-command.d.ts","sourceRoot":"","sources":["../../src/models/update-call-history-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;CACtB"}
1
+ {"version":3,"file":"update-call-history-command.d.ts","sourceRoot":"","sources":["../../src/models/update-call-history-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;CACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "5.3.7",
3
+ "version": "5.3.8",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,7 +29,8 @@ export const CallStatus = {
29
29
  Unanswered: 'Unanswered',
30
30
  Disconnected: 'Disconnected',
31
31
  Rejected: 'Rejected',
32
- Failed: 'Failed'
32
+ Failed: 'Failed',
33
+ Completed: 'Completed'
33
34
  } as const;
34
35
 
35
36
  export type CallStatus = typeof CallStatus[keyof typeof CallStatus];
@@ -41,54 +41,6 @@ export interface CreateCallHistoryCommand {
41
41
  * @memberof CreateCallHistoryCommand
42
42
  */
43
43
  'hospitalId'?: string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof CreateCallHistoryCommand
48
- */
49
- 'virtualNumber'?: string | null;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof CreateCallHistoryCommand
54
- */
55
- 'targetNumber'?: string | null;
56
- /**
57
- *
58
- * @type {Date}
59
- * @memberof CreateCallHistoryCommand
60
- */
61
- 'startTime'?: Date;
62
- /**
63
- *
64
- * @type {Date}
65
- * @memberof CreateCallHistoryCommand
66
- */
67
- 'endTime'?: Date;
68
- /**
69
- *
70
- * @type {number}
71
- * @memberof CreateCallHistoryCommand
72
- */
73
- 'duration'?: number;
74
- /**
75
- *
76
- * @type {number}
77
- * @memberof CreateCallHistoryCommand
78
- */
79
- 'rate'?: number;
80
- /**
81
- *
82
- * @type {number}
83
- * @memberof CreateCallHistoryCommand
84
- */
85
- 'price'?: number;
86
- /**
87
- *
88
- * @type {string}
89
- * @memberof CreateCallHistoryCommand
90
- */
91
- 'customData'?: string | null;
92
44
  /**
93
45
  *
94
46
  * @type {boolean}
@@ -23,18 +23,6 @@ import { CallStatus } from './call-status';
23
23
  * @interface UpdateCallHistoryCommand
24
24
  */
25
25
  export interface UpdateCallHistoryCommand {
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof UpdateCallHistoryCommand
30
- */
31
- 'patientId'?: string;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof UpdateCallHistoryCommand
36
- */
37
- 'hospitalId'?: string;
38
26
  /**
39
27
  *
40
28
  * @type {string}
@@ -52,13 +40,13 @@ export interface UpdateCallHistoryCommand {
52
40
  * @type {Date}
53
41
  * @memberof UpdateCallHistoryCommand
54
42
  */
55
- 'startTime'?: Date;
43
+ 'startTime'?: Date | null;
56
44
  /**
57
45
  *
58
46
  * @type {Date}
59
47
  * @memberof UpdateCallHistoryCommand
60
48
  */
61
- 'endTime'?: Date;
49
+ 'endTime'?: Date | null;
62
50
  /**
63
51
  *
64
52
  * @type {number}
@@ -77,18 +65,6 @@ export interface UpdateCallHistoryCommand {
77
65
  * @memberof UpdateCallHistoryCommand
78
66
  */
79
67
  'price'?: number;
80
- /**
81
- *
82
- * @type {string}
83
- * @memberof UpdateCallHistoryCommand
84
- */
85
- 'customData'?: string | null;
86
- /**
87
- *
88
- * @type {boolean}
89
- * @memberof UpdateCallHistoryCommand
90
- */
91
- 'isExternal'?: boolean;
92
68
  /**
93
69
  *
94
70
  * @type {CallStatus}