asma-types 1.1.13 → 1.1.14

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/.prettierrc CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "bracketSpacing": true,
3
- "endOfLine": "auto",
4
- "htmlWhitespaceSensitivity": "css",
5
- "proseWrap": "preserve",
6
- "trailingComma": "all",
7
- "useTabs": false,
8
- "tabWidth": 4,
9
- "semi": false,
10
- "singleQuote": true,
11
- "jsxSingleQuote": true,
12
- "jsxBracketSameLine": false,
13
- "arrowParens": "always",
14
- "printWidth": 120
15
- }
1
+ {
2
+ "bracketSpacing": true,
3
+ "endOfLine": "auto",
4
+ "htmlWhitespaceSensitivity": "css",
5
+ "proseWrap": "preserve",
6
+ "trailingComma": "all",
7
+ "useTabs": false,
8
+ "tabWidth": 4,
9
+ "semi": false,
10
+ "singleQuote": true,
11
+ "jsxSingleQuote": true,
12
+ "jsxBracketSameLine": false,
13
+ "arrowParens": "always",
14
+ "printWidth": 120
15
+ }
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export type { IUploadedDocument } from './interfaces/api/advoca/IUploadedDocument';
2
- export type { IFeedBack, ISaveToDataBase } from './interfaces/api/advoca/ISaveToDataBase';
3
- export * from './interfaces/jwtClaims';
4
- export * from './interfaces/enums';
1
+ export type { IUploadedDocument } from './interfaces/api/advoca/IUploadedDocument';
2
+ export type { IFeedBack, ISaveToDataBase } from './interfaces/api/advoca/ISaveToDataBase';
3
+ export * from './interfaces/jwtClaims';
4
+ export * from './interfaces/enums';
5
5
  //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export * from './interfaces/jwtClaims';
2
- export * from './interfaces/enums';
1
+ export * from './interfaces/jwtClaims';
2
+ export * from './interfaces/enums';
3
3
  //# sourceMappingURL=index.js.map
@@ -1,17 +1,17 @@
1
- export interface ISaveToDataBase {
2
- method: string;
3
- json: string;
4
- uuid: string | undefined;
5
- feedback: IFeedBack;
6
- url: string;
7
- origin?: {
8
- method: string;
9
- };
10
- }
11
- export interface IFeedBack {
12
- error?: string;
13
- type: string;
14
- message: string;
15
- show_time: number;
16
- }
1
+ export interface ISaveToDataBase {
2
+ method: string;
3
+ json: string;
4
+ uuid: string | undefined;
5
+ feedback: IFeedBack;
6
+ url: string;
7
+ origin?: {
8
+ method: string;
9
+ };
10
+ }
11
+ export interface IFeedBack {
12
+ error?: string;
13
+ type: string;
14
+ message: string;
15
+ show_time: number;
16
+ }
17
17
  //# sourceMappingURL=ISaveToDataBase.d.ts.map
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=ISaveToDataBase.js.map
@@ -1,27 +1,27 @@
1
- export interface IUploadedDocument {
2
- created_at: string;
3
- customer: {
4
- comm_consents_descr: string;
5
- contact_email: string;
6
- contact_message: string;
7
- contact_tel: string;
8
- id: number;
9
- logo: string;
10
- name: string;
11
- updated_at: string;
12
- };
13
- customer_id: number;
14
- id: number;
15
- name: string;
16
- path: string;
17
- patientIds: {
18
- id: number;
19
- soknad_id: string;
20
- }[];
21
- region: number;
22
- sds_id: number;
23
- updated_at: string;
24
- upload_patient_id: number;
25
- success: string;
26
- }
1
+ export interface IUploadedDocument {
2
+ created_at: string;
3
+ customer: {
4
+ comm_consents_descr: string;
5
+ contact_email: string;
6
+ contact_message: string;
7
+ contact_tel: string;
8
+ id: number;
9
+ logo: string;
10
+ name: string;
11
+ updated_at: string;
12
+ };
13
+ customer_id: number;
14
+ id: number;
15
+ name: string;
16
+ path: string;
17
+ patientIds: {
18
+ id: number;
19
+ soknad_id: string;
20
+ }[];
21
+ region: number;
22
+ sds_id: number;
23
+ updated_at: string;
24
+ upload_patient_id: number;
25
+ success: string;
26
+ }
27
27
  //# sourceMappingURL=IUploadedDocument.d.ts.map
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=IUploadedDocument.js.map
@@ -1,225 +1,225 @@
1
- export declare enum InitiatorTypes {
2
- Customer = "customer",
3
- Patient = "patient",
4
- SelfCompletable = "self-completable"
5
- }
6
- export declare enum QnrContextTypes {
7
- Advoca = "advoca",
8
- Portal = "portal",
9
- Outlook = "outlook"
10
- }
11
- export declare enum DocSignicatSignStatusTypes {
12
- Complteted = "completed",
13
- Rejected = "rejected",
14
- Waiting = "waiting"
15
- }
16
- export declare enum DocProxyStatusTypes {
17
- Signed = "signed",
18
- WaitingForSigning = "waiting_for_signing",
19
- OnlyForView = "only_for_view"
20
- }
21
- export declare enum QuestionTypes {
22
- BooleanQuestion = "BooleanQuestion",
23
- CheckBoxes = "CheckBoxes",
24
- CompositeQuestion = "CompositeQuestion",
25
- DateField = "DateField",
26
- Dropdown = "Dropdown",
27
- FormatNumber = "FormatNumber",
28
- LinearScale = "LinearScale",
29
- Link = "Link",
30
- RadioButtons = "RadioButtons",
31
- TextLong = "TextLong",
32
- TextShort = "TextShort",
33
- Emoticons = "Emoticons",
34
- DocumentUpload = "DocumentUpload"
35
- }
36
- export declare enum ActorTypes {
37
- Mappable = "mappable",
38
- Custom = "custom",
39
- Complex = "complex"
40
- }
41
- export declare enum ConsentsGroupTypes {
42
- General = "GENERAL",
43
- Query = "QUERY",
44
- Communication = "COMMUNICATION"
45
- }
46
- export declare enum ConsentsTypeTypes {
47
- Mandatory = "MANDATORY",
48
- Optional = "OPTIONAL"
49
- }
50
- export declare enum DocumentPatientSecurityLevelTypes {
51
- ONE = "1",
52
- TWO = "2",
53
- THREE = "3",
54
- FOUR = "4"
55
- }
56
- export declare enum QueriesStatusTypes {
57
- InBound = "INBOUND",
58
- InProgress = "IN_PROGRESS",
59
- AwaitingReply = "AWAITING_REPLY",
60
- Expired = "EXPIRED",
61
- Completed = "COMPLETED",
62
- Processed = "PROCESSED",
63
- Rejected = "REJECTED"
64
- }
65
- export declare enum QueriesInitiatorTypes {
66
- Patient = "PATIENT",
67
- Customer = "CUSTOMER",
68
- SelfCompletable = "SELFCOMPLETABLE"
69
- }
70
- export declare enum SmsTemplatesCategoryTypes {
71
- Info = "INFO",
72
- Reject = "REJECT",
73
- NewChat = "NEW_CHAT",
74
- UnseenNotifications = "UNSEEN_NOTIFICATIONS"
75
- }
76
- export declare enum TemplatesContextTypes {
77
- Advoca = "ADVOCA",
78
- Portal = "PORTAL",
79
- Outlook = "OUTLOOK",
80
- Start = "START",
81
- Research = "RESEARCH",
82
- Plan = "PLAN"
83
- }
84
- export declare enum TemplatesAccessibleTypes {
85
- Patient = "PATIENT",
86
- Customer = "CUSTOMER"
87
- }
88
- export declare enum DocumentTypes {
89
- individual = "individual",
90
- group = "group"
91
- }
92
- export declare enum QuestionStateTypes {
93
- ForAllTemplates = "ForAllTemplates"
94
- }
95
- export declare enum DROPDOWN {
96
- Ordinary = "ORDINARY",
97
- PostCodeWithSity = "REGION_POST_CODE",
98
- Country = "COUNTRY"
99
- }
100
- export declare enum NumberTypes {
101
- PersonalNumber = "PERSONAL_NUMBER",
102
- NorwegianPhoneNr = "NORWEGIAN_PHONE_NR",
103
- Customizable = "CUSTOMIZABLE",
104
- CurrencyNok = "CURENCY_NOK",
105
- Ordinary = "ORDINARY",
106
- Years = "YEARS"
107
- }
108
- export declare enum DocStatusTypes {
109
- Signed = "signed",
110
- WaitingForSigning = "waiting_for_signing",
111
- OnlyForView = "only_for_view",
112
- Rejected = "rejected"
113
- }
114
- export declare enum DocPickerTypes {
115
- dokklad = "Dokklad",
116
- postJournal = "PostJournal"
117
- }
118
- export declare enum UploadSource {
119
- Local = "local",
120
- Adopus = "adopus",
121
- Dokklad = "dokklad",
122
- Outlook = "outlook"
123
- }
124
- export declare enum SourceDocType {
125
- Adopus = "adopus_doc_id",
126
- Dokklad = "dokklad_doc_id"
127
- }
128
- export declare enum MenuContextTypes {
129
- Chat = "chat",
130
- Portal = "portal"
131
- }
132
- export declare enum UsersMenuContext {
133
- Patients = "patients",
134
- Therapist = "therapist",
135
- Actor_Involved = "actor_involved"
136
- }
137
- export declare enum FileTypeEnum {
138
- Doc = "doc",
139
- Qnr = "questionnaire"
140
- }
141
- export declare enum SecurityLevelEnum {
142
- Four = "4",
143
- Three = "3",
144
- Two = "2",
145
- One = "1"
146
- }
147
- export declare enum SeenFilterStatusEnums {
148
- seen = "seen",
149
- unseen = "unseen",
150
- show_all = "show_all"
151
- }
152
- export declare enum OverviewScopeEnums {
153
- Customer = "CUSTOMER",
154
- Patient = "PATIENT",
155
- Archived = "archived"
156
- }
157
- export declare enum SignedByTherapistEnum {
158
- canceled = "canceled",
159
- complete = "complete",
160
- postponed = "postponed",
161
- waiting_for_signing = "waiting_for_signing",
162
- sent_for_signing = "sent_for_signing",
163
- not_set_for_signing = "not_set_for_signing"
164
- }
165
- export declare enum TemplatesFilterOptionsEnum {
166
- archived = "archived",
167
- withMyRole = "withMyRole"
168
- }
169
- export declare enum TemplateFilterStatusTypes {
170
- not_received = "not_received",
171
- active = "active",
172
- completed = "completed",
173
- inactive = "inactive"
174
- }
175
- export declare const TemplateStatusIcon: {
176
- active: string;
177
- completed: string;
178
- not_received: string;
179
- };
180
- export declare enum TDelivery {
181
- send = "send",
182
- not_send = "not_send"
183
- }
184
- export declare const TDeliveryColor: {
185
- send: string;
186
- not_send: string;
187
- };
188
- export declare const TTemplateStatus: {
189
- not_received: TemplateFilterStatusTypes;
190
- inactive: TemplateFilterStatusTypes;
191
- InBound: QueriesStatusTypes.InBound;
192
- InProgress: QueriesStatusTypes.InProgress;
193
- AwaitingReply: QueriesStatusTypes.AwaitingReply;
194
- Expired: QueriesStatusTypes.Expired;
195
- Completed: QueriesStatusTypes.Completed;
196
- Processed: QueriesStatusTypes.Processed;
197
- Rejected: QueriesStatusTypes.Rejected;
198
- };
199
- export declare const TemplateStatusColor: {
200
- completed: string;
201
- not_received: string;
202
- active: string;
203
- inactive: string;
204
- };
205
- export declare type TemplateStatusTypes = typeof TTemplateStatus[keyof typeof TTemplateStatus];
206
- export declare type TemplateStatusIconTypes = typeof TemplateFilterStatusTypes[keyof typeof TemplateStatusIcon];
207
- export declare enum PortalRoutesPaths {
208
- Overview = "overview",
209
- Orders = "orders",
210
- TemplateQueryParam = "template"
211
- }
212
- export declare enum ExpressionOperators {
213
- Addition = "+",
214
- Subtraction = "-",
215
- Multiplication = "*",
216
- Division = "/",
217
- Mean = "mean( )"
218
- }
219
- export declare enum ExpressionPrefix {
220
- 'AtSign' = "@",
221
- 'Hashtag' = "#"
222
- }
223
- export declare type IExpressionOperators = typeof ExpressionOperators[keyof typeof ExpressionOperators];
224
- export declare type IExpressionPrefix = typeof ExpressionPrefix[keyof typeof ExpressionPrefix];
1
+ export declare enum InitiatorTypes {
2
+ Customer = "customer",
3
+ Patient = "patient",
4
+ SelfCompletable = "self-completable"
5
+ }
6
+ export declare enum QnrContextTypes {
7
+ Advoca = "advoca",
8
+ Portal = "portal",
9
+ Outlook = "outlook"
10
+ }
11
+ export declare enum DocSignicatSignStatusTypes {
12
+ Complteted = "completed",
13
+ Rejected = "rejected",
14
+ Waiting = "waiting"
15
+ }
16
+ export declare enum DocProxyStatusTypes {
17
+ Signed = "signed",
18
+ WaitingForSigning = "waiting_for_signing",
19
+ OnlyForView = "only_for_view"
20
+ }
21
+ export declare enum QuestionTypes {
22
+ BooleanQuestion = "BooleanQuestion",
23
+ CheckBoxes = "CheckBoxes",
24
+ CompositeQuestion = "CompositeQuestion",
25
+ DateField = "DateField",
26
+ Dropdown = "Dropdown",
27
+ FormatNumber = "FormatNumber",
28
+ LinearScale = "LinearScale",
29
+ Link = "Link",
30
+ RadioButtons = "RadioButtons",
31
+ TextLong = "TextLong",
32
+ TextShort = "TextShort",
33
+ Emoticons = "Emoticons",
34
+ DocumentUpload = "DocumentUpload"
35
+ }
36
+ export declare enum ActorTypes {
37
+ Mappable = "mappable",
38
+ Custom = "custom",
39
+ Complex = "complex"
40
+ }
41
+ export declare enum ConsentsGroupTypes {
42
+ General = "GENERAL",
43
+ Query = "QUERY",
44
+ Communication = "COMMUNICATION"
45
+ }
46
+ export declare enum ConsentsTypeTypes {
47
+ Mandatory = "MANDATORY",
48
+ Optional = "OPTIONAL"
49
+ }
50
+ export declare enum DocumentPatientSecurityLevelTypes {
51
+ ONE = "1",
52
+ TWO = "2",
53
+ THREE = "3",
54
+ FOUR = "4"
55
+ }
56
+ export declare enum QueriesStatusTypes {
57
+ InBound = "INBOUND",
58
+ InProgress = "IN_PROGRESS",
59
+ AwaitingReply = "AWAITING_REPLY",
60
+ Expired = "EXPIRED",
61
+ Completed = "COMPLETED",
62
+ Processed = "PROCESSED",
63
+ Rejected = "REJECTED"
64
+ }
65
+ export declare enum QueriesInitiatorTypes {
66
+ Patient = "PATIENT",
67
+ Customer = "CUSTOMER",
68
+ SelfCompletable = "SELFCOMPLETABLE"
69
+ }
70
+ export declare enum SmsTemplatesCategoryTypes {
71
+ Info = "INFO",
72
+ Reject = "REJECT",
73
+ NewChat = "NEW_CHAT",
74
+ UnseenNotifications = "UNSEEN_NOTIFICATIONS"
75
+ }
76
+ export declare enum TemplatesContextTypes {
77
+ Advoca = "ADVOCA",
78
+ Portal = "PORTAL",
79
+ Outlook = "OUTLOOK",
80
+ Start = "START",
81
+ Research = "RESEARCH",
82
+ Plan = "PLAN"
83
+ }
84
+ export declare enum TemplatesAccessibleTypes {
85
+ Patient = "PATIENT",
86
+ Customer = "CUSTOMER"
87
+ }
88
+ export declare enum DocumentTypes {
89
+ individual = "individual",
90
+ group = "group"
91
+ }
92
+ export declare enum QuestionStateTypes {
93
+ ForAllTemplates = "ForAllTemplates"
94
+ }
95
+ export declare enum DROPDOWN {
96
+ Ordinary = "ORDINARY",
97
+ PostCodeWithSity = "REGION_POST_CODE",
98
+ Country = "COUNTRY"
99
+ }
100
+ export declare enum NumberTypes {
101
+ PersonalNumber = "PERSONAL_NUMBER",
102
+ NorwegianPhoneNr = "NORWEGIAN_PHONE_NR",
103
+ Customizable = "CUSTOMIZABLE",
104
+ CurrencyNok = "CURENCY_NOK",
105
+ Ordinary = "ORDINARY",
106
+ Years = "YEARS"
107
+ }
108
+ export declare enum DocStatusTypes {
109
+ Signed = "signed",
110
+ WaitingForSigning = "waiting_for_signing",
111
+ OnlyForView = "only_for_view",
112
+ Rejected = "rejected"
113
+ }
114
+ export declare enum DocPickerTypes {
115
+ dokklad = "Dokklad",
116
+ postJournal = "PostJournal"
117
+ }
118
+ export declare enum UploadSource {
119
+ Local = "local",
120
+ Adopus = "adopus",
121
+ Dokklad = "dokklad",
122
+ Outlook = "outlook"
123
+ }
124
+ export declare enum SourceDocType {
125
+ Adopus = "adopus_doc_id",
126
+ Dokklad = "dokklad_doc_id"
127
+ }
128
+ export declare enum MenuContextTypes {
129
+ Chat = "chat",
130
+ Portal = "portal"
131
+ }
132
+ export declare enum UsersMenuContext {
133
+ Patients = "patients",
134
+ Therapist = "therapist",
135
+ Actor_Involved = "actor_involved"
136
+ }
137
+ export declare enum FileTypeEnum {
138
+ Doc = "doc",
139
+ Qnr = "questionnaire"
140
+ }
141
+ export declare enum SecurityLevelEnum {
142
+ Four = "4",
143
+ Three = "3",
144
+ Two = "2",
145
+ One = "1"
146
+ }
147
+ export declare enum SeenFilterStatusEnums {
148
+ seen = "seen",
149
+ unseen = "unseen",
150
+ show_all = "show_all"
151
+ }
152
+ export declare enum OverviewScopeEnums {
153
+ Customer = "CUSTOMER",
154
+ Patient = "PATIENT",
155
+ Archived = "archived"
156
+ }
157
+ export declare enum SignedByTherapistEnum {
158
+ canceled = "canceled",
159
+ complete = "complete",
160
+ postponed = "postponed",
161
+ waiting_for_signing = "waiting_for_signing",
162
+ sent_for_signing = "sent_for_signing",
163
+ not_set_for_signing = "not_set_for_signing"
164
+ }
165
+ export declare enum TemplatesFilterOptionsEnum {
166
+ archived = "archived",
167
+ withMyRole = "withMyRole"
168
+ }
169
+ export declare enum TemplateFilterStatusTypes {
170
+ not_received = "not_received",
171
+ active = "active",
172
+ completed = "completed",
173
+ inactive = "inactive"
174
+ }
175
+ export declare const TemplateStatusIcon: {
176
+ active: string;
177
+ completed: string;
178
+ not_received: string;
179
+ };
180
+ export declare enum TDelivery {
181
+ send = "send",
182
+ not_send = "not_send"
183
+ }
184
+ export declare const TDeliveryColor: {
185
+ send: string;
186
+ not_send: string;
187
+ };
188
+ export declare const TTemplateStatus: {
189
+ not_received: TemplateFilterStatusTypes;
190
+ inactive: TemplateFilterStatusTypes;
191
+ InBound: QueriesStatusTypes.InBound;
192
+ InProgress: QueriesStatusTypes.InProgress;
193
+ AwaitingReply: QueriesStatusTypes.AwaitingReply;
194
+ Expired: QueriesStatusTypes.Expired;
195
+ Completed: QueriesStatusTypes.Completed;
196
+ Processed: QueriesStatusTypes.Processed;
197
+ Rejected: QueriesStatusTypes.Rejected;
198
+ };
199
+ export declare const TemplateStatusColor: {
200
+ completed: string;
201
+ not_received: string;
202
+ active: string;
203
+ inactive: string;
204
+ };
205
+ export declare type TemplateStatusTypes = typeof TTemplateStatus[keyof typeof TTemplateStatus];
206
+ export declare type TemplateStatusIconTypes = typeof TemplateFilterStatusTypes[keyof typeof TemplateStatusIcon];
207
+ export declare enum PortalRoutesPaths {
208
+ Overview = "overview",
209
+ Orders = "orders",
210
+ TemplateQueryParam = "template"
211
+ }
212
+ export declare enum ExpressionOperators {
213
+ Addition = "+",
214
+ Subtraction = "-",
215
+ Multiplication = "*",
216
+ Division = "/",
217
+ Mean = "mean( )"
218
+ }
219
+ export declare enum ExpressionPrefix {
220
+ 'AtSign' = "@",
221
+ 'Hashtag' = "#"
222
+ }
223
+ export declare type IExpressionOperators = typeof ExpressionOperators[keyof typeof ExpressionOperators];
224
+ export declare type IExpressionPrefix = typeof ExpressionPrefix[keyof typeof ExpressionPrefix];
225
225
  //# sourceMappingURL=enums.d.ts.map