@icure/cardinal-sdk 2.0.0-PREVIEW-20 → 2.0.0-PREVIEW-23
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/api/InsuranceApi.d.mts +1 -1
- package/api/RecoveryApi.d.mts +5 -1
- package/cardinal-sdk-ts.d.mts +1 -0
- package/cardinal-sdk-ts.mjs +30738 -30230
- package/cardinal-sdk.mjs +73331 -72070
- package/kotlin-kotlin-stdlib.mjs +10 -10
- package/kotlinx-coroutines-core.mjs +4 -4
- package/model/Contact.d.mts +4 -0
- package/model/Contact.mjs +11 -0
- package/model/base/ParticipantType.d.mts +2 -1
- package/model/base/ParticipantType.mjs +1 -0
- package/model/embed/ContactParticipant.d.mts +8 -0
- package/model/embed/ContactParticipant.mjs +30 -0
- package/model/security/ExternalJwtConfig.d.mts +1 -0
- package/model/security/ExternalJwtConfig.mjs +6 -0
- package/model.d.mts +1 -0
- package/model.mjs +1 -0
- package/options/AuthenticationMethod.d.mts +43 -30
- package/options/AuthenticationMethod.mjs +34 -30
- package/options/SdkOptions.d.mts +29 -20
- package/package.json +1 -1
- package/sdk/CardinalSdk.d.mts +39 -1
- package/sdk/CardinalSdk.mjs +23 -0
package/api/InsuranceApi.d.mts
CHANGED
|
@@ -14,6 +14,6 @@ export interface InsuranceApi {
|
|
|
14
14
|
listInsurancesByName(insuranceName: string): Promise<Array<Insurance>>;
|
|
15
15
|
modifyInsurance(insurance: Insurance): Promise<Insurance>;
|
|
16
16
|
createInsurancesInGroup(groupId: string, insuranceBatch: Array<Insurance>): Promise<Array<Insurance>>;
|
|
17
|
-
getInsurancesInGroup(groupId: string, insuranceIds: string): Promise<Array<Insurance>>;
|
|
17
|
+
getInsurancesInGroup(groupId: string, insuranceIds: Array<string>): Promise<Array<Insurance>>;
|
|
18
18
|
modifyInsurancesInGroup(groupId: string, insuranceBatch: Array<Insurance>): Promise<Array<Insurance>>;
|
|
19
19
|
}
|
package/api/RecoveryApi.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { XRsaKeypair } from '../cardinal-sdk-ts.mjs';
|
|
2
|
+
import { RawDecryptedExchangeData } from '../crypto/entities/RawDecryptedExchangeData.mjs';
|
|
2
3
|
import { RecoveryDataKey } from '../crypto/entities/RecoveryDataKey.mjs';
|
|
3
4
|
import { RecoveryDataUseFailureReason } from '../crypto/entities/RecoveryDataUseFailureReason.mjs';
|
|
4
5
|
import { RecoveryKeyOptions } from '../crypto/entities/RecoveryKeyOptions.mjs';
|
|
@@ -24,8 +25,11 @@ export interface RecoveryApi {
|
|
|
24
25
|
createExchangeDataRecoveryInfo(delegateId: string, options?: {
|
|
25
26
|
lifetimeSeconds?: number | undefined;
|
|
26
27
|
recoveryKeyOptions?: RecoveryKeyOptions | undefined;
|
|
27
|
-
|
|
28
|
+
includeBiDirectional?: boolean;
|
|
29
|
+
includeAsParent?: boolean;
|
|
30
|
+
}): Promise<RecoveryDataKey | undefined>;
|
|
28
31
|
recoverExchangeData(recoveryKey: RecoveryDataKey): Promise<RecoveryDataUseFailureReason | undefined>;
|
|
32
|
+
getRecoveryExchangeData(recoveryKey: RecoveryDataKey, autoDelete: boolean): Promise<RecoveryResult<Array<RawDecryptedExchangeData>>>;
|
|
29
33
|
purgeRecoveryInfo(recoveryKey: RecoveryDataKey): Promise<void>;
|
|
30
34
|
purgeAllRecoveryInfoFor(dataOwnerId: string): Promise<number>;
|
|
31
35
|
purgeAllKeyPairRecoveryInfoFor(dataOwnerId: string): Promise<number>;
|
package/cardinal-sdk-ts.d.mts
CHANGED
|
@@ -51,6 +51,7 @@ export declare namespace InternalSdkInitializers.$metadata$ {
|
|
|
51
51
|
initializeSdk(applicationId: Nullable<string>, baseUrl: string, authenticationMethod: options.AuthenticationMethod, storageFacade: any, options: Nullable<options.SdkOptions>): Promise<sdk.CardinalSdk>;
|
|
52
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>;
|
|
53
53
|
initializeBase(applicationId: Nullable<string>, baseUrl: string, authenticationMethod: options.AuthenticationMethod, options: Nullable<options.BasicSdkOptions>): Promise<sdk.CardinalBaseSdk>;
|
|
54
|
+
initializeWithProcessBase(applicationId: Nullable<string>, baseUrl: string, messageGatewayUrl: string, externalServicesSpecId: string, processId: string, userTelecomType: string, userTelecom: string, captchaOptions: auth.CaptchaOptions, authenticationProcessTemplateParameters: Nullable<options.AuthenticationProcessTemplateParameters>, options: Nullable<options.BasicSdkOptions>): Promise<sdk.CardinalBaseSdk.BaseAuthenticationWithProcessStep>;
|
|
54
55
|
initializeAnonymous(baseUrl: string, options: Nullable<options.AnonymousSdkOptions>): sdk.CardinalAnonymousSdk;
|
|
55
56
|
private constructor();
|
|
56
57
|
}
|