@icure/cardinal-sdk 2.0.0-PREVIEW-10 → 2.0.0-PREVIEW-13

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.
Files changed (44) hide show
  1. package/Kermit-kermit-core.mjs +42 -42
  2. package/Kermit-kermit.mjs +8 -8
  3. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +3919 -3777
  4. package/KotlinBigInteger-bignum.mjs +1434 -1470
  5. package/api/AnonymousHealthcarePartyApi.d.mts +2 -2
  6. package/cardinal-sdk-ts.d.mts +338 -100
  7. package/cardinal-sdk-ts.mjs +56590 -56248
  8. package/cardinal-sdk.mjs +126945 -106218
  9. package/kerberus.mjs +381 -381
  10. package/kotlin-kotlin-stdlib.mjs +3412 -2764
  11. package/kotlinx-atomicfu.mjs +14 -14
  12. package/kotlinx-coroutines-core.mjs +2690 -2687
  13. package/kotlinx-io-kotlinx-io-bytestring.mjs +47 -47
  14. package/kotlinx-io-kotlinx-io-core.mjs +539 -539
  15. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2149 -2111
  16. package/kotlinx-serialization-kotlinx-serialization-json.mjs +2047 -2029
  17. package/kryptom-lib.mjs +2065 -2081
  18. package/ktor-ktor-client-content-negotiation.mjs +217 -217
  19. package/ktor-ktor-client-core.mjs +2997 -2993
  20. package/ktor-ktor-events.mjs +8 -8
  21. package/ktor-ktor-http-cio.mjs +538 -537
  22. package/ktor-ktor-http.mjs +799 -927
  23. package/ktor-ktor-io.mjs +1079 -1079
  24. package/ktor-ktor-serialization-kotlinx-json.mjs +10 -10
  25. package/ktor-ktor-serialization-kotlinx.mjs +270 -270
  26. package/ktor-ktor-serialization.mjs +129 -129
  27. package/ktor-ktor-utils.mjs +614 -600
  28. package/ktor-ktor-websockets.mjs +751 -750
  29. package/model.d.mts +0 -1
  30. package/model.mjs +0 -1
  31. package/package.json +2 -3
  32. package/ktor-ktor-client-ktor-client-core.mjs +0 -8986
  33. package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +0 -756
  34. package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +0 -2
  35. package/ktor-ktor-http-ktor-http-cio.mjs +0 -1996
  36. package/ktor-ktor-shared-ktor-events.mjs +0 -79
  37. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +0 -44
  38. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +0 -857
  39. package/ktor-ktor-shared-ktor-serialization.mjs +0 -371
  40. package/ktor-ktor-shared-ktor-sse.mjs +0 -2
  41. package/ktor-ktor-shared-ktor-websocket-serialization.mjs +0 -2
  42. package/ktor-ktor-shared-ktor-websockets.mjs +0 -2334
  43. package/model/UserAndHealthcareParty.d.mts +0 -7
  44. package/model/UserAndHealthcareParty.mjs +0 -6
@@ -1,4 +1,4 @@
1
- import { UserAndHealthcareParty } from '../model/UserAndHealthcareParty.mjs';
1
+ import { HealthcareParty } from '../model/HealthcareParty.mjs';
2
2
  export interface AnonymousHealthcarePartyApi {
3
- getPublicHealthcarePartiesInGroup(groupId: string): Promise<Array<UserAndHealthcareParty>>;
3
+ getPublicHealthcarePartiesInGroup(groupId: string): Promise<Array<HealthcareParty>>;
4
4
  }
@@ -10,6 +10,7 @@ import * as model from './model.mjs'
10
10
  import * as api from './api.mjs'
11
11
  import * as kerberus from './kerberus.mjs'
12
12
  type Nullable<T> = T | null | undefined
13
+ declare function KtSingleton<T>(): T & (abstract new() => any);
13
14
  /** @deprecated */
14
15
  export declare const initHook: { get(): any; };
15
16
  export declare interface Challenge {
@@ -26,23 +27,44 @@ export declare interface Solution {
26
27
  export declare class NotFoundException extends Error {
27
28
  constructor(msg: string);
28
29
  }
30
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
31
+ export declare namespace NotFoundException.$metadata$ {
32
+ const constructor: abstract new () => NotFoundException;
33
+ }
29
34
  export declare class RevisionConflictException extends Error {
30
35
  constructor();
31
36
  }
32
- export declare const InternalSdkInitializers: {
33
- getInstance(): {
37
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
38
+ export declare namespace RevisionConflictException.$metadata$ {
39
+ const constructor: abstract new () => RevisionConflictException;
40
+ }
41
+ export declare abstract class InternalSdkInitializers {
42
+ static readonly getInstance: () => typeof InternalSdkInitializers.$metadata$.type;
43
+ private constructor();
44
+ }
45
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
46
+ export declare namespace InternalSdkInitializers.$metadata$ {
47
+ abstract class type extends KtSingleton<constructor>() {
48
+ private constructor();
49
+ }
50
+ abstract class constructor {
34
51
  initializeSdk(applicationId: Nullable<string>, baseUrl: string, authenticationMethod: options.AuthenticationMethod, storageFacade: any, options: Nullable<options.SdkOptions>): Promise<sdk.CardinalSdk>;
35
52
  initializeWithProcess(applicationId: Nullable<string>, baseUrl: string, messageGatewayUrl: string, externalServicesSpecId: string, processId: string, userTelecomType: string, userTelecom: string, captchaOptions: auth.CaptchaOptions, baseStorage: any, authenticationProcessTemplateParameters: Nullable<options.AuthenticationProcessTemplateParameters>, options: Nullable<options.SdkOptions>): Promise<sdk.CardinalSdk.AuthenticationWithProcessStep>;
36
53
  initializeBase(applicationId: Nullable<string>, baseUrl: string, authenticationMethod: options.AuthenticationMethod, options: Nullable<options.BasicSdkOptions>): Promise<sdk.CardinalBaseSdk>;
37
54
  initializeAnonymous(baseUrl: string, options: Nullable<options.AnonymousSdkOptions>): sdk.CardinalAnonymousSdk;
38
- };
39
- };
55
+ private constructor();
56
+ }
57
+ }
40
58
  export declare function spkiHexKeyToFingerprintV1(key: string): string;
41
59
  export declare function spkiHexKeyToFingerprintV2(key: string): string;
42
60
  export declare function fingerprintV1ToFingerprintV2(fingerprint: string): string;
43
61
  export declare class CancellationException extends Error {
44
62
  constructor();
45
63
  }
64
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
65
+ export declare namespace CancellationException.$metadata$ {
66
+ const constructor: abstract new () => CancellationException;
67
+ }
46
68
  export declare interface FilterOptions<T extends model.Identifiable<string>> {
47
69
  readonly __doNotUseOrImplementIt: {
48
70
  readonly "com.icure.cardinal.sdk.js.filters.FilterOptions": unique symbol;
@@ -63,25 +85,51 @@ export declare interface BaseSortableFilterOptions<T extends model.Identifiable<
63
85
  readonly "com.icure.cardinal.sdk.js.filters.BaseSortableFilterOptions": unique symbol;
64
86
  } & BaseFilterOptions<T>["__doNotUseOrImplementIt"] & SortableFilterOptions<T>["__doNotUseOrImplementIt"];
65
87
  }
66
- export declare const InternalFilterOptions: {
67
- getInstance(): {
88
+ export declare abstract class InternalFilterOptions {
89
+ static readonly getInstance: () => typeof InternalFilterOptions.$metadata$.type;
90
+ private constructor();
91
+ }
92
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
93
+ export declare namespace InternalFilterOptions.$metadata$ {
94
+ abstract class type extends KtSingleton<constructor>() {
95
+ private constructor();
96
+ }
97
+ abstract class constructor {
68
98
  union<T extends model.Identifiable<string>>(a: FilterOptions<T>, b: FilterOptions<T>, others: Array<FilterOptions<T>>): FilterOptions<T>;
69
99
  intersection<T extends model.Identifiable<string>>(a: FilterOptions<T>, b: FilterOptions<T>, others: Array<FilterOptions<T>>): FilterOptions<T>;
70
100
  difference<T extends model.Identifiable<string>>(of: FilterOptions<T>, subtracting: FilterOptions<T>): FilterOptions<T>;
71
- };
72
- };
73
- export declare const InternalAccessLogFiltersObj: {
74
- getInstance(): {
101
+ private constructor();
102
+ }
103
+ }
104
+ export declare abstract class InternalAccessLogFiltersObj {
105
+ static readonly getInstance: () => typeof InternalAccessLogFiltersObj.$metadata$.type;
106
+ private constructor();
107
+ }
108
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
109
+ export declare namespace InternalAccessLogFiltersObj.$metadata$ {
110
+ abstract class type extends KtSingleton<constructor>() {
111
+ private constructor();
112
+ }
113
+ abstract class constructor {
75
114
  byPatientsDateForDataOwner(dataOwnerId: string, patients: Array<model.Patient>, options: any): SortableFilterOptions<model.AccessLog>;
76
115
  byPatientsDateForSelf(patients: Array<model.Patient>, options: any): SortableFilterOptions<model.AccessLog>;
77
116
  byPatientSecretIdsDateForDataOwner(dataOwnerId: string, secretIds: Array<string>, options: any): BaseSortableFilterOptions<model.AccessLog>;
78
117
  byPatientSecretIdsDateForSelf(secretIds: Array<string>, options: any): SortableFilterOptions<model.AccessLog>;
79
118
  byDate(options: any): BaseSortableFilterOptions<model.AccessLog>;
80
119
  byUserTypeDate(userId: string, options: any): BaseSortableFilterOptions<model.AccessLog>;
81
- };
82
- };
83
- export declare const InternalAgendaFiltersObj: {
84
- getInstance(): {
120
+ private constructor();
121
+ }
122
+ }
123
+ export declare abstract class InternalAgendaFiltersObj {
124
+ static readonly getInstance: () => typeof InternalAgendaFiltersObj.$metadata$.type;
125
+ private constructor();
126
+ }
127
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
128
+ export declare namespace InternalAgendaFiltersObj.$metadata$ {
129
+ abstract class type extends KtSingleton<constructor>() {
130
+ private constructor();
131
+ }
132
+ abstract class constructor {
85
133
  all(): BaseFilterOptions<model.Agenda>;
86
134
  byUser(userId: string): BaseFilterOptions<model.Agenda>;
87
135
  byUserInGroup(userReference: model.EntityReferenceInGroup): BaseFilterOptions<model.Agenda>;
@@ -94,10 +142,19 @@ export declare const InternalAgendaFiltersObj: {
94
142
  byLongProperty(propertyId: string, propertyValue: number): BaseFilterOptions<model.Agenda>;
95
143
  byDoubleProperty(propertyId: string, propertyValue: number): BaseFilterOptions<model.Agenda>;
96
144
  withProperty(propertyId: string): BaseFilterOptions<model.Agenda>;
97
- };
98
- };
99
- export declare const InternalCalendarItemFiltersObj: {
100
- getInstance(): {
145
+ private constructor();
146
+ }
147
+ }
148
+ export declare abstract class InternalCalendarItemFiltersObj {
149
+ static readonly getInstance: () => typeof InternalCalendarItemFiltersObj.$metadata$.type;
150
+ private constructor();
151
+ }
152
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
153
+ export declare namespace InternalCalendarItemFiltersObj.$metadata$ {
154
+ abstract class type extends KtSingleton<constructor>() {
155
+ private constructor();
156
+ }
157
+ abstract class constructor {
101
158
  byPatientsStartTimeForDataOwner(dataOwnerId: string, patients: Array<model.Patient>, options: any): SortableFilterOptions<model.CalendarItem>;
102
159
  byPatientsStartTimeForDataOwnerInGroup(dataOwner: model.EntityReferenceInGroup, patients: Array<model.GroupScoped<model.Patient>>, options: any): SortableFilterOptions<model.CalendarItem>;
103
160
  byPatientsStartTimeForSelf(patients: Array<model.Patient>, options: any): SortableFilterOptions<model.CalendarItem>;
@@ -112,28 +169,55 @@ export declare const InternalCalendarItemFiltersObj: {
112
169
  lifecycleBetweenForDataOwner(dataOwnerId: string, startTimestamp: Nullable<number>, endTimestamp: Nullable<number>, descending: boolean): BaseFilterOptions<model.CalendarItem>;
113
170
  lifecycleBetweenForDataOwnerInGroup(dataOwner: model.EntityReferenceInGroup, startTimestamp: Nullable<number>, endTimestamp: Nullable<number>, descending: boolean): BaseFilterOptions<model.CalendarItem>;
114
171
  lifecycleBetweenForSelf(startTimestamp: Nullable<number>, endTimestamp: Nullable<number>, descending: boolean): FilterOptions<model.CalendarItem>;
115
- };
116
- };
117
- export declare const InternalClassificationFiltersObj: {
118
- getInstance(): {
172
+ private constructor();
173
+ }
174
+ }
175
+ export declare abstract class InternalClassificationFiltersObj {
176
+ static readonly getInstance: () => typeof InternalClassificationFiltersObj.$metadata$.type;
177
+ private constructor();
178
+ }
179
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
180
+ export declare namespace InternalClassificationFiltersObj.$metadata$ {
181
+ abstract class type extends KtSingleton<constructor>() {
182
+ private constructor();
183
+ }
184
+ abstract class constructor {
119
185
  byPatientsCreatedForDataOwner(dataOwnerId: string, patients: Array<model.Patient>, options: any): SortableFilterOptions<model.Classification>;
120
186
  byPatientsCreatedForSelf(patients: Array<model.Patient>, options: any): SortableFilterOptions<model.Classification>;
121
187
  byPatientSecretIdsCreatedForDataOwner(dataOwnerId: string, secretIds: Array<string>, options: any): BaseSortableFilterOptions<model.Classification>;
122
188
  byPatientSecretIdsCreatedForSelf(secretIds: Array<string>, options: any): SortableFilterOptions<model.Classification>;
123
- };
124
- };
125
- export declare const InternalCodeFiltersObj: {
126
- getInstance(): {
189
+ private constructor();
190
+ }
191
+ }
192
+ export declare abstract class InternalCodeFiltersObj {
193
+ static readonly getInstance: () => typeof InternalCodeFiltersObj.$metadata$.type;
194
+ private constructor();
195
+ }
196
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
197
+ export declare namespace InternalCodeFiltersObj.$metadata$ {
198
+ abstract class type extends KtSingleton<constructor>() {
199
+ private constructor();
200
+ }
201
+ abstract class constructor {
127
202
  all(): BaseFilterOptions<model.Code>;
128
203
  byIds(ids: Array<string>): BaseSortableFilterOptions<model.Code>;
129
204
  byQualifiedLink(linkType: string, options: any): BaseFilterOptions<model.Code>;
130
205
  byRegionTypeCodeVersion(region: string, options: any): BaseFilterOptions<model.Code>;
131
206
  byLanguageTypeLabelRegion(language: string, type: string, options: any): BaseFilterOptions<model.Code>;
132
207
  byLanguageTypesLabelRegionVersion(language: string, types: Array<string>, label: string, options: any): BaseFilterOptions<model.Code>;
133
- };
134
- };
135
- export declare const InternalContactFiltersObj: {
136
- getInstance(): {
208
+ private constructor();
209
+ }
210
+ }
211
+ export declare abstract class InternalContactFiltersObj {
212
+ static readonly getInstance: () => typeof InternalContactFiltersObj.$metadata$.type;
213
+ private constructor();
214
+ }
215
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
216
+ export declare namespace InternalContactFiltersObj.$metadata$ {
217
+ abstract class type extends KtSingleton<constructor>() {
218
+ private constructor();
219
+ }
220
+ abstract class constructor {
137
221
  allContactsForDataOwner(dataOwnerId: string): BaseFilterOptions<model.Contact>;
138
222
  allContactsForSelf(): FilterOptions<model.Contact>;
139
223
  byFormIdsForDataOwner(dataOwnerId: string, formIds: Array<string>): BaseFilterOptions<model.Contact>;
@@ -160,17 +244,35 @@ export declare const InternalContactFiltersObj: {
160
244
  byPatientsSecretIdsForDataOwner(dataOwnerId: string, secretIds: Array<string>): BaseSortableFilterOptions<model.Contact>;
161
245
  byPatientsSecretIdsForSelf(secretIds: Array<string>): SortableFilterOptions<model.Contact>;
162
246
  byServiceIds(serviceIds: Array<string>): BaseSortableFilterOptions<model.Contact>;
163
- };
164
- };
165
- export declare const InternalDeviceFiltersObj: {
166
- getInstance(): {
247
+ private constructor();
248
+ }
249
+ }
250
+ export declare abstract class InternalDeviceFiltersObj {
251
+ static readonly getInstance: () => typeof InternalDeviceFiltersObj.$metadata$.type;
252
+ private constructor();
253
+ }
254
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
255
+ export declare namespace InternalDeviceFiltersObj.$metadata$ {
256
+ abstract class type extends KtSingleton<constructor>() {
257
+ private constructor();
258
+ }
259
+ abstract class constructor {
167
260
  all(): BaseFilterOptions<model.Device>;
168
261
  byResponsible(responsibleId: string): BaseFilterOptions<model.Device>;
169
262
  byIds(ids: Array<string>): BaseSortableFilterOptions<model.Device>;
170
- };
171
- };
172
- export declare const InternalDocumentFiltersObj: {
173
- getInstance(): {
263
+ private constructor();
264
+ }
265
+ }
266
+ export declare abstract class InternalDocumentFiltersObj {
267
+ static readonly getInstance: () => typeof InternalDocumentFiltersObj.$metadata$.type;
268
+ private constructor();
269
+ }
270
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
271
+ export declare namespace InternalDocumentFiltersObj.$metadata$ {
272
+ abstract class type extends KtSingleton<constructor>() {
273
+ private constructor();
274
+ }
275
+ abstract class constructor {
174
276
  byPatientsCreatedForDataOwner(dataOwnerId: string, patients: Array<model.Patient>, options: any): SortableFilterOptions<model.Document>;
175
277
  byMessagesCreatedForDataOwner(dataOwnerId: string, messages: Array<model.Message>, options: any): SortableFilterOptions<model.Document>;
176
278
  byPatientsCreatedForSelf(patients: Array<model.Patient>, options: any): SortableFilterOptions<model.Document>;
@@ -183,10 +285,19 @@ export declare const InternalDocumentFiltersObj: {
183
285
  byMessagesAndTypeForSelf(documentType: string, messages: Array<model.Message>): FilterOptions<model.Document>;
184
286
  byOwningEntitySecretIdsAndTypeForDataOwner(dataOwnerId: string, documentType: string, secretIds: Array<string>): FilterOptions<model.Document>;
185
287
  byOwningEntitySecretIdsAndTypeForSelf(documentType: string, secretIds: Array<string>): FilterOptions<model.Document>;
186
- };
187
- };
188
- export declare const InternalFormFiltersObj: {
189
- getInstance(): {
288
+ private constructor();
289
+ }
290
+ }
291
+ export declare abstract class InternalFormFiltersObj {
292
+ static readonly getInstance: () => typeof InternalFormFiltersObj.$metadata$.type;
293
+ private constructor();
294
+ }
295
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
296
+ export declare namespace InternalFormFiltersObj.$metadata$ {
297
+ abstract class type extends KtSingleton<constructor>() {
298
+ private constructor();
299
+ }
300
+ abstract class constructor {
190
301
  byParentIdForDataOwner(dataOwnerId: string, parentId: string): BaseFilterOptions<model.Form>;
191
302
  byParentIdForSelf(parentId: string): FilterOptions<model.Form>;
192
303
  byPatientsOpeningDateForDataOwner(dataOwnerId: string, patients: Array<model.Patient>, options: any): SortableFilterOptions<model.Form>;
@@ -195,17 +306,35 @@ export declare const InternalFormFiltersObj: {
195
306
  byPatientSecretIdsOpeningDateForSelf(secretIds: Array<string>, options: any): SortableFilterOptions<model.Form>;
196
307
  byLogicalUuid(logicalUuid: string, options: any): BaseSortableFilterOptions<model.Form>;
197
308
  byUniqueId(uniqueId: string, options: any): BaseSortableFilterOptions<model.Form>;
198
- };
199
- };
200
- export declare const InternalGroupFiltersObj: {
201
- getInstance(): {
309
+ private constructor();
310
+ }
311
+ }
312
+ export declare abstract class InternalGroupFiltersObj {
313
+ static readonly getInstance: () => typeof InternalGroupFiltersObj.$metadata$.type;
314
+ private constructor();
315
+ }
316
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
317
+ export declare namespace InternalGroupFiltersObj.$metadata$ {
318
+ abstract class type extends KtSingleton<constructor>() {
319
+ private constructor();
320
+ }
321
+ abstract class constructor {
202
322
  all(): BaseFilterOptions<model.Group>;
203
323
  bySuperGroup(superGroupId: string): BaseFilterOptions<model.Group>;
204
324
  withContent(superGroupId: string, searchString: string): BaseSortableFilterOptions<model.Group>;
205
- };
206
- };
207
- export declare const InternalHealthElementFiltersObj: {
208
- getInstance(): {
325
+ private constructor();
326
+ }
327
+ }
328
+ export declare abstract class InternalHealthElementFiltersObj {
329
+ static readonly getInstance: () => typeof InternalHealthElementFiltersObj.$metadata$.type;
330
+ private constructor();
331
+ }
332
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
333
+ export declare namespace InternalHealthElementFiltersObj.$metadata$ {
334
+ abstract class type extends KtSingleton<constructor>() {
335
+ private constructor();
336
+ }
337
+ abstract class constructor {
209
338
  allHealthElementsForDataOwner(dataOwnerId: string): BaseFilterOptions<model.HealthElement>;
210
339
  allHealthElementsForSelf(): FilterOptions<model.HealthElement>;
211
340
  byIdentifiersForDataOwner(dataOwnerId: string, identifiers: Array<model.Identifier>): BaseSortableFilterOptions<model.HealthElement>;
@@ -225,10 +354,19 @@ export declare const InternalHealthElementFiltersObj: {
225
354
  byPatientSecretIdsOpeningDateForSelf(secretIds: Array<string>, options: any): SortableFilterOptions<model.HealthElement>;
226
355
  byStatusForDataOwner(dataOwnerId: string, status: number): BaseFilterOptions<model.HealthElement>;
227
356
  byStatusForSelf(status: number): FilterOptions<model.HealthElement>;
228
- };
229
- };
230
- export declare const InternalHealthcarePartyFiltersObj: {
231
- getInstance(): {
357
+ private constructor();
358
+ }
359
+ }
360
+ export declare abstract class InternalHealthcarePartyFiltersObj {
361
+ static readonly getInstance: () => typeof InternalHealthcarePartyFiltersObj.$metadata$.type;
362
+ private constructor();
363
+ }
364
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
365
+ export declare namespace InternalHealthcarePartyFiltersObj.$metadata$ {
366
+ abstract class type extends KtSingleton<constructor>() {
367
+ private constructor();
368
+ }
369
+ abstract class constructor {
232
370
  all(): BaseFilterOptions<model.HealthcareParty>;
233
371
  byIdentifiers(identifiers: Array<model.Identifier>): BaseFilterOptions<model.HealthcareParty>;
234
372
  byCode(codeType: string, options: any): BaseSortableFilterOptions<model.HealthcareParty>;
@@ -238,10 +376,19 @@ export declare const InternalHealthcarePartyFiltersObj: {
238
376
  byNationalIdentifier(searchString: string, options: any): BaseSortableFilterOptions<model.HealthcareParty>;
239
377
  byParentId(parentId: string): BaseFilterOptions<model.HealthcareParty>;
240
378
  byTypeSpecialtyPostCode(specialty: string, specCode: string, startPostCode: string, endPostCode: string): BaseFilterOptions<model.HealthcareParty>;
241
- };
242
- };
243
- export declare const InternalMaintenanceTaskFiltersObj: {
244
- getInstance(): {
379
+ private constructor();
380
+ }
381
+ }
382
+ export declare abstract class InternalMaintenanceTaskFiltersObj {
383
+ static readonly getInstance: () => typeof InternalMaintenanceTaskFiltersObj.$metadata$.type;
384
+ private constructor();
385
+ }
386
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
387
+ export declare namespace InternalMaintenanceTaskFiltersObj.$metadata$ {
388
+ abstract class type extends KtSingleton<constructor>() {
389
+ private constructor();
390
+ }
391
+ abstract class constructor {
245
392
  byIds(ids: Array<string>): BaseSortableFilterOptions<model.MaintenanceTask>;
246
393
  byIdentifiersForDataOwner(dataOwnerId: string, identifiers: Array<model.Identifier>): BaseSortableFilterOptions<model.MaintenanceTask>;
247
394
  byIdentifiersForSelf(identifiers: Array<model.Identifier>): SortableFilterOptions<model.MaintenanceTask>;
@@ -249,16 +396,34 @@ export declare const InternalMaintenanceTaskFiltersObj: {
249
396
  byTypeForSelf(type: string): FilterOptions<model.MaintenanceTask>;
250
397
  afterDateForDataOwner(dataOwnerId: string, date: number): BaseSortableFilterOptions<model.MaintenanceTask>;
251
398
  afterDateForSelf(date: number): SortableFilterOptions<model.MaintenanceTask>;
252
- };
253
- };
254
- export declare const InternalMedicalLocationFiltersObj: {
255
- getInstance(): {
399
+ private constructor();
400
+ }
401
+ }
402
+ export declare abstract class InternalMedicalLocationFiltersObj {
403
+ static readonly getInstance: () => typeof InternalMedicalLocationFiltersObj.$metadata$.type;
404
+ private constructor();
405
+ }
406
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
407
+ export declare namespace InternalMedicalLocationFiltersObj.$metadata$ {
408
+ abstract class type extends KtSingleton<constructor>() {
409
+ private constructor();
410
+ }
411
+ abstract class constructor {
256
412
  all(): BaseFilterOptions<model.MedicalLocation>;
257
413
  byPostCode(postCode: string): BaseFilterOptions<model.MedicalLocation>;
258
- };
259
- };
260
- export declare const InternalMessageFiltersObj: {
261
- getInstance(): {
414
+ private constructor();
415
+ }
416
+ }
417
+ export declare abstract class InternalMessageFiltersObj {
418
+ static readonly getInstance: () => typeof InternalMessageFiltersObj.$metadata$.type;
419
+ private constructor();
420
+ }
421
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
422
+ export declare namespace InternalMessageFiltersObj.$metadata$ {
423
+ abstract class type extends KtSingleton<constructor>() {
424
+ private constructor();
425
+ }
426
+ abstract class constructor {
262
427
  allMessagesForDataOwner(dataOwnerId: string): BaseFilterOptions<model.Message>;
263
428
  allMessagesForSelf(): FilterOptions<model.Message>;
264
429
  byTransportGuidForDataOwner(dataOwnerId: string, transportGuid: string): BaseSortableFilterOptions<model.Message>;
@@ -280,10 +445,19 @@ export declare const InternalMessageFiltersObj: {
280
445
  lifecycleBetweenForDataOwner(dataOwnerId: string, startTimestamp: Nullable<number>, endTimestamp: Nullable<number>, descending: boolean): BaseFilterOptions<model.Message>;
281
446
  lifecycleBetweenForDataOwnerInGroup(dataOwner: model.EntityReferenceInGroup, startTimestamp: Nullable<number>, endTimestamp: Nullable<number>, descending: boolean): BaseFilterOptions<model.Message>;
282
447
  lifecycleBetweenForSelf(startTimestamp: Nullable<number>, endTimestamp: Nullable<number>, descending: boolean): FilterOptions<model.Message>;
283
- };
284
- };
285
- export declare const InternalPatientFiltersObj: {
286
- getInstance(): {
448
+ private constructor();
449
+ }
450
+ }
451
+ export declare abstract class InternalPatientFiltersObj {
452
+ static readonly getInstance: () => typeof InternalPatientFiltersObj.$metadata$.type;
453
+ private constructor();
454
+ }
455
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
456
+ export declare namespace InternalPatientFiltersObj.$metadata$ {
457
+ abstract class type extends KtSingleton<constructor>() {
458
+ private constructor();
459
+ }
460
+ abstract class constructor {
287
461
  allPatientsForDataOwner(dataOwnerId: string): BaseFilterOptions<model.Patient>;
288
462
  allPatientsForDataOwnerInGroup(dataOwner: model.EntityReferenceInGroup): BaseFilterOptions<model.Patient>;
289
463
  allPatientsForSelf(): FilterOptions<model.Patient>;
@@ -321,10 +495,19 @@ export declare const InternalPatientFiltersObj: {
321
495
  byTagForSelf(tagType: string, tagCode: Nullable<string>): FilterOptions<model.Patient>;
322
496
  byTagForDataOwner(dataOwnerId: string, tagType: string, tagCode: Nullable<string>): BaseFilterOptions<model.Patient>;
323
497
  byTagForDataOwnerInGroup(dataOwner: model.EntityReferenceInGroup, tagType: string, tagCode: Nullable<string>): BaseFilterOptions<model.Patient>;
324
- };
325
- };
326
- export declare const InternalServiceFiltersObj: {
327
- getInstance(): {
498
+ private constructor();
499
+ }
500
+ }
501
+ export declare abstract class InternalServiceFiltersObj {
502
+ static readonly getInstance: () => typeof InternalServiceFiltersObj.$metadata$.type;
503
+ private constructor();
504
+ }
505
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
506
+ export declare namespace InternalServiceFiltersObj.$metadata$ {
507
+ abstract class type extends KtSingleton<constructor>() {
508
+ private constructor();
509
+ }
510
+ abstract class constructor {
328
511
  allServicesForDataOwner(dataOwnerId: string): BaseFilterOptions<model.Service>;
329
512
  allServicesForSelf(): FilterOptions<model.Service>;
330
513
  byIdentifiersForDataOwner(dataOwnerId: string, identifiers: Array<model.Identifier>): BaseSortableFilterOptions<model.Service>;
@@ -346,36 +529,73 @@ export declare const InternalServiceFiltersObj: {
346
529
  byPatientsDateForSelf(patients: Array<model.Patient>, options: any): SortableFilterOptions<model.Service>;
347
530
  byPatientSecretIdsDateForDataOwner(dataOwnerId: string, secretIds: Array<string>, options: any): BaseSortableFilterOptions<model.Service>;
348
531
  byPatientSecretIdsDateForSelf(secretIds: Array<string>, options: any): SortableFilterOptions<model.Service>;
349
- };
350
- };
351
- export declare const InternalTimeTableFiltersObj: {
352
- getInstance(): {
532
+ private constructor();
533
+ }
534
+ }
535
+ export declare abstract class InternalTimeTableFiltersObj {
536
+ static readonly getInstance: () => typeof InternalTimeTableFiltersObj.$metadata$.type;
537
+ private constructor();
538
+ }
539
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
540
+ export declare namespace InternalTimeTableFiltersObj.$metadata$ {
541
+ abstract class type extends KtSingleton<constructor>() {
542
+ private constructor();
543
+ }
544
+ abstract class constructor {
353
545
  byAgendaId(agendaId: string): BaseFilterOptions<model.TimeTable>;
354
546
  byPeriodAndAgendaId(agendaId: string, options: any): BaseSortableFilterOptions<model.TimeTable>;
355
- };
356
- };
357
- export declare const InternalTopicFiltersObj: {
358
- getInstance(): {
547
+ private constructor();
548
+ }
549
+ }
550
+ export declare abstract class InternalTopicFiltersObj {
551
+ static readonly getInstance: () => typeof InternalTopicFiltersObj.$metadata$.type;
552
+ private constructor();
553
+ }
554
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
555
+ export declare namespace InternalTopicFiltersObj.$metadata$ {
556
+ abstract class type extends KtSingleton<constructor>() {
557
+ private constructor();
558
+ }
559
+ abstract class constructor {
359
560
  allTopicsForDataOwner(dataOwnerId: string): BaseFilterOptions<model.Topic>;
360
561
  allTopicsForSelf(): FilterOptions<model.Topic>;
361
562
  byParticipant(participantId: string): FilterOptions<model.Topic>;
362
- };
363
- };
364
- export declare const InternalUserFiltersObj: {
365
- getInstance(): {
563
+ private constructor();
564
+ }
565
+ }
566
+ export declare abstract class InternalUserFiltersObj {
567
+ static readonly getInstance: () => typeof InternalUserFiltersObj.$metadata$.type;
568
+ private constructor();
569
+ }
570
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
571
+ export declare namespace InternalUserFiltersObj.$metadata$ {
572
+ abstract class type extends KtSingleton<constructor>() {
573
+ private constructor();
574
+ }
575
+ abstract class constructor {
366
576
  all(): BaseFilterOptions<model.User>;
367
577
  byIds(ids: Array<string>): BaseSortableFilterOptions<model.User>;
368
578
  byPatientId(patientId: string): BaseFilterOptions<model.User>;
369
579
  byHealthcarePartyId(healthcarePartyId: string): BaseFilterOptions<model.User>;
370
580
  byNameEmailOrPhone(searchString: string): BaseFilterOptions<model.User>;
371
- };
372
- };
373
- export declare const InternalKeyPairUpdateNotificationJs_COMPANION: {
374
- getInstance(): {
581
+ private constructor();
582
+ }
583
+ }
584
+ export declare abstract class InternalKeyPairUpdateNotificationJs_COMPANION {
585
+ static readonly getInstance: () => typeof InternalKeyPairUpdateNotificationJs_COMPANION.$metadata$.type;
586
+ private constructor();
587
+ }
588
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
589
+ export declare namespace InternalKeyPairUpdateNotificationJs_COMPANION.$metadata$ {
590
+ abstract class type extends KtSingleton<constructor>() {
591
+ private constructor();
592
+ }
593
+ abstract class constructor {
375
594
  get TASK_TYPE(): string;
376
595
  parseFromMaintenanceTask(task: model.DecryptedMaintenanceTask): model.KeyPairUpdateNotification;
377
- };
378
- };
596
+ private constructor();
597
+ }
598
+ }
379
599
  export declare interface CardinalStorageOptions {
380
600
  readonly __doNotUseOrImplementIt: {
381
601
  readonly "com.icure.cardinal.sdk.js.storage.CardinalStorageOptions": unique symbol;
@@ -386,18 +606,36 @@ export declare interface CardinalKeyStorageOptions {
386
606
  readonly "com.icure.cardinal.sdk.js.storage.CardinalKeyStorageOptions": unique symbol;
387
607
  };
388
608
  }
389
- export declare const InternalCardinalStorageOptionsFactory: {
390
- getInstance(): {
609
+ export declare abstract class InternalCardinalStorageOptionsFactory {
610
+ static readonly getInstance: () => typeof InternalCardinalStorageOptionsFactory.$metadata$.type;
611
+ private constructor();
612
+ }
613
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
614
+ export declare namespace InternalCardinalStorageOptionsFactory.$metadata$ {
615
+ abstract class type extends KtSingleton<constructor>() {
616
+ private constructor();
617
+ }
618
+ abstract class constructor {
391
619
  fileSystem(directory: string): CardinalStorageOptions;
392
620
  browserLocalStorage(): CardinalStorageOptions;
393
- };
394
- };
395
- export declare const InternalCardinalKeyStorageOptionsFactory: {
396
- getInstance(): {
621
+ private constructor();
622
+ }
623
+ }
624
+ export declare abstract class InternalCardinalKeyStorageOptionsFactory {
625
+ static readonly getInstance: () => typeof InternalCardinalKeyStorageOptionsFactory.$metadata$.type;
626
+ private constructor();
627
+ }
628
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
629
+ export declare namespace InternalCardinalKeyStorageOptionsFactory.$metadata$ {
630
+ abstract class type extends KtSingleton<constructor>() {
631
+ private constructor();
632
+ }
633
+ abstract class constructor {
397
634
  encodingAsBase64(baseStorage: any): CardinalKeyStorageOptions;
398
635
  encodingAsJwk(baseStorage: any): CardinalKeyStorageOptions;
399
- };
400
- };
636
+ private constructor();
637
+ }
638
+ }
401
639
  export declare function base32Encode(bytes: Int8Array): string;
402
640
  export declare function base32Decode(base32String: string): Int8Array;
403
641
  export declare function hexEncode(bytes: Int8Array): string;