@breeztech/breez-sdk-spark-react-native 0.9.1 → 0.11.0-dev2
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/{breeztech-breez-sdk-spark-react-native.podspec → BreezSdkSparkReactNative.podspec} +2 -2
- package/android/CMakeLists.txt +3 -4
- package/android/proguard-rules.pro +4 -0
- package/cpp/generated/breez_sdk_spark.cpp +1567 -514
- package/cpp/generated/breez_sdk_spark.hpp +73 -25
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +226 -86
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark_bindings.js +4 -2
- package/lib/commonjs/generated/breez_sdk_spark_bindings.js.map +1 -1
- package/lib/commonjs/index.js +11 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +225 -85
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark_bindings.js +4 -2
- package/lib/module/generated/breez_sdk_spark_bindings.js.map +1 -1
- package/lib/module/index.js +7 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +95 -71
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +619 -5
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +95 -71
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +619 -5
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +1 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/breez_sdk_spark-ffi.ts +163 -95
- package/src/generated/breez_sdk_spark.ts +2371 -818
- package/src/generated/breez_sdk_spark_bindings.ts +2 -2
- package/src/index.tsx +7 -0
|
@@ -73,6 +73,35 @@ export interface EventListener {
|
|
|
73
73
|
export interface Logger {
|
|
74
74
|
log(l: LogEntry): void;
|
|
75
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Request to add a new contact.
|
|
78
|
+
*/
|
|
79
|
+
export type AddContactRequest = {
|
|
80
|
+
name: string;
|
|
81
|
+
/**
|
|
82
|
+
* A Lightning address (user@domain).
|
|
83
|
+
*/
|
|
84
|
+
paymentIdentifier: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Generated factory for {@link AddContactRequest} record objects.
|
|
88
|
+
*/
|
|
89
|
+
export declare const AddContactRequest: Readonly<{
|
|
90
|
+
/**
|
|
91
|
+
* Create a frozen instance of {@link AddContactRequest}, with defaults specified
|
|
92
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
93
|
+
*/
|
|
94
|
+
create: (partial: Partial<AddContactRequest> & Required<Omit<AddContactRequest, never>>) => AddContactRequest;
|
|
95
|
+
/**
|
|
96
|
+
* Create a frozen instance of {@link AddContactRequest}, with defaults specified
|
|
97
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
98
|
+
*/
|
|
99
|
+
new: (partial: Partial<AddContactRequest> & Required<Omit<AddContactRequest, never>>) => AddContactRequest;
|
|
100
|
+
/**
|
|
101
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
102
|
+
*/
|
|
103
|
+
defaults: () => Partial<AddContactRequest>;
|
|
104
|
+
}>;
|
|
76
105
|
/**
|
|
77
106
|
* Payload of the AES success action, as received from the LNURL endpoint
|
|
78
107
|
*
|
|
@@ -791,6 +820,11 @@ export type Config = {
|
|
|
791
820
|
* Default is 4. Increase for server environments with high incoming payment volume.
|
|
792
821
|
*/
|
|
793
822
|
maxConcurrentClaims: number;
|
|
823
|
+
/**
|
|
824
|
+
* When true, enables LNURL verify support (LUD-21) and zap receipts (NIP-57).
|
|
825
|
+
* When false (default), these features are disabled for privacy.
|
|
826
|
+
*/
|
|
827
|
+
supportLnurlVerify: boolean;
|
|
794
828
|
};
|
|
795
829
|
/**
|
|
796
830
|
* Generated factory for {@link Config} record objects.
|
|
@@ -864,6 +898,38 @@ export declare const ConnectWithSignerRequest: Readonly<{
|
|
|
864
898
|
*/
|
|
865
899
|
defaults: () => Partial<ConnectWithSignerRequest>;
|
|
866
900
|
}>;
|
|
901
|
+
/**
|
|
902
|
+
* A contact entry containing a name and payment identifier.
|
|
903
|
+
*/
|
|
904
|
+
export type Contact = {
|
|
905
|
+
id: string;
|
|
906
|
+
name: string;
|
|
907
|
+
/**
|
|
908
|
+
* A Lightning address (user@domain).
|
|
909
|
+
*/
|
|
910
|
+
paymentIdentifier: string;
|
|
911
|
+
createdAt: bigint;
|
|
912
|
+
updatedAt: bigint;
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
* Generated factory for {@link Contact} record objects.
|
|
916
|
+
*/
|
|
917
|
+
export declare const Contact: Readonly<{
|
|
918
|
+
/**
|
|
919
|
+
* Create a frozen instance of {@link Contact}, with defaults specified
|
|
920
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
921
|
+
*/
|
|
922
|
+
create: (partial: Partial<Contact> & Required<Omit<Contact, never>>) => Contact;
|
|
923
|
+
/**
|
|
924
|
+
* Create a frozen instance of {@link Contact}, with defaults specified
|
|
925
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
926
|
+
*/
|
|
927
|
+
new: (partial: Partial<Contact> & Required<Omit<Contact, never>>) => Contact;
|
|
928
|
+
/**
|
|
929
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
930
|
+
*/
|
|
931
|
+
defaults: () => Partial<Contact>;
|
|
932
|
+
}>;
|
|
867
933
|
/**
|
|
868
934
|
* Outlines the steps involved in a conversion
|
|
869
935
|
*/
|
|
@@ -2139,6 +2205,32 @@ export declare const LightningAddressInfo: Readonly<{
|
|
|
2139
2205
|
*/
|
|
2140
2206
|
defaults: () => Partial<LightningAddressInfo>;
|
|
2141
2207
|
}>;
|
|
2208
|
+
/**
|
|
2209
|
+
* Request to list contacts with optional pagination.
|
|
2210
|
+
*/
|
|
2211
|
+
export type ListContactsRequest = {
|
|
2212
|
+
offset: /*u32*/ number | undefined;
|
|
2213
|
+
limit: /*u32*/ number | undefined;
|
|
2214
|
+
};
|
|
2215
|
+
/**
|
|
2216
|
+
* Generated factory for {@link ListContactsRequest} record objects.
|
|
2217
|
+
*/
|
|
2218
|
+
export declare const ListContactsRequest: Readonly<{
|
|
2219
|
+
/**
|
|
2220
|
+
* Create a frozen instance of {@link ListContactsRequest}, with defaults specified
|
|
2221
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2222
|
+
*/
|
|
2223
|
+
create: (partial: Partial<ListContactsRequest> & Required<Omit<ListContactsRequest, "offset" | "limit">>) => ListContactsRequest;
|
|
2224
|
+
/**
|
|
2225
|
+
* Create a frozen instance of {@link ListContactsRequest}, with defaults specified
|
|
2226
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2227
|
+
*/
|
|
2228
|
+
new: (partial: Partial<ListContactsRequest> & Required<Omit<ListContactsRequest, "offset" | "limit">>) => ListContactsRequest;
|
|
2229
|
+
/**
|
|
2230
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
2231
|
+
*/
|
|
2232
|
+
defaults: () => Partial<ListContactsRequest>;
|
|
2233
|
+
}>;
|
|
2142
2234
|
/**
|
|
2143
2235
|
* Response from listing fiat currencies
|
|
2144
2236
|
*/
|
|
@@ -2232,12 +2324,12 @@ export declare const ListPaymentsRequest: Readonly<{
|
|
|
2232
2324
|
* Create a frozen instance of {@link ListPaymentsRequest}, with defaults specified
|
|
2233
2325
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2234
2326
|
*/
|
|
2235
|
-
create: (partial: Partial<ListPaymentsRequest> & Required<Omit<ListPaymentsRequest, "
|
|
2327
|
+
create: (partial: Partial<ListPaymentsRequest> & Required<Omit<ListPaymentsRequest, "offset" | "limit" | "typeFilter" | "statusFilter" | "assetFilter" | "paymentDetailsFilter" | "fromTimestamp" | "toTimestamp" | "sortAscending">>) => ListPaymentsRequest;
|
|
2236
2328
|
/**
|
|
2237
2329
|
* Create a frozen instance of {@link ListPaymentsRequest}, with defaults specified
|
|
2238
2330
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2239
2331
|
*/
|
|
2240
|
-
new: (partial: Partial<ListPaymentsRequest> & Required<Omit<ListPaymentsRequest, "
|
|
2332
|
+
new: (partial: Partial<ListPaymentsRequest> & Required<Omit<ListPaymentsRequest, "offset" | "limit" | "typeFilter" | "statusFilter" | "assetFilter" | "paymentDetailsFilter" | "fromTimestamp" | "toTimestamp" | "sortAscending">>) => ListPaymentsRequest;
|
|
2241
2333
|
/**
|
|
2242
2334
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
2243
2335
|
*/
|
|
@@ -3711,6 +3803,7 @@ export type SetLnurlMetadataItem = {
|
|
|
3711
3803
|
senderComment: string | undefined;
|
|
3712
3804
|
nostrZapRequest: string | undefined;
|
|
3713
3805
|
nostrZapReceipt: string | undefined;
|
|
3806
|
+
preimage: string | undefined;
|
|
3714
3807
|
};
|
|
3715
3808
|
/**
|
|
3716
3809
|
* Generated factory for {@link SetLnurlMetadataItem} record objects.
|
|
@@ -4074,6 +4167,40 @@ export declare const StableBalanceConfig: Readonly<{
|
|
|
4074
4167
|
*/
|
|
4075
4168
|
defaults: () => Partial<StableBalanceConfig>;
|
|
4076
4169
|
}>;
|
|
4170
|
+
/**
|
|
4171
|
+
* Storage-internal variant of [`ListPaymentsRequest`] that uses
|
|
4172
|
+
* [`StoragePaymentDetailsFilter`] instead of the public [`PaymentDetailsFilter`].
|
|
4173
|
+
*/
|
|
4174
|
+
export type StorageListPaymentsRequest = {
|
|
4175
|
+
typeFilter: Array<PaymentType> | undefined;
|
|
4176
|
+
statusFilter: Array<PaymentStatus> | undefined;
|
|
4177
|
+
assetFilter: AssetFilter | undefined;
|
|
4178
|
+
paymentDetailsFilter: Array<StoragePaymentDetailsFilter> | undefined;
|
|
4179
|
+
fromTimestamp: /*u64*/ bigint | undefined;
|
|
4180
|
+
toTimestamp: /*u64*/ bigint | undefined;
|
|
4181
|
+
offset: /*u32*/ number | undefined;
|
|
4182
|
+
limit: /*u32*/ number | undefined;
|
|
4183
|
+
sortAscending: boolean | undefined;
|
|
4184
|
+
};
|
|
4185
|
+
/**
|
|
4186
|
+
* Generated factory for {@link StorageListPaymentsRequest} record objects.
|
|
4187
|
+
*/
|
|
4188
|
+
export declare const StorageListPaymentsRequest: Readonly<{
|
|
4189
|
+
/**
|
|
4190
|
+
* Create a frozen instance of {@link StorageListPaymentsRequest}, with defaults specified
|
|
4191
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
4192
|
+
*/
|
|
4193
|
+
create: (partial: Partial<StorageListPaymentsRequest> & Required<Omit<StorageListPaymentsRequest, "offset" | "limit" | "typeFilter" | "statusFilter" | "assetFilter" | "paymentDetailsFilter" | "fromTimestamp" | "toTimestamp" | "sortAscending">>) => StorageListPaymentsRequest;
|
|
4194
|
+
/**
|
|
4195
|
+
* Create a frozen instance of {@link StorageListPaymentsRequest}, with defaults specified
|
|
4196
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
4197
|
+
*/
|
|
4198
|
+
new: (partial: Partial<StorageListPaymentsRequest> & Required<Omit<StorageListPaymentsRequest, "offset" | "limit" | "typeFilter" | "statusFilter" | "assetFilter" | "paymentDetailsFilter" | "fromTimestamp" | "toTimestamp" | "sortAscending">>) => StorageListPaymentsRequest;
|
|
4199
|
+
/**
|
|
4200
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
4201
|
+
*/
|
|
4202
|
+
defaults: () => Partial<StorageListPaymentsRequest>;
|
|
4203
|
+
}>;
|
|
4077
4204
|
/**
|
|
4078
4205
|
* Settings for the symbol representation of a currency
|
|
4079
4206
|
*/
|
|
@@ -4298,6 +4425,36 @@ export declare const UnversionedRecordChange: Readonly<{
|
|
|
4298
4425
|
*/
|
|
4299
4426
|
defaults: () => Partial<UnversionedRecordChange>;
|
|
4300
4427
|
}>;
|
|
4428
|
+
/**
|
|
4429
|
+
* Request to update an existing contact.
|
|
4430
|
+
*/
|
|
4431
|
+
export type UpdateContactRequest = {
|
|
4432
|
+
id: string;
|
|
4433
|
+
name: string;
|
|
4434
|
+
/**
|
|
4435
|
+
* A Lightning address (user@domain).
|
|
4436
|
+
*/
|
|
4437
|
+
paymentIdentifier: string;
|
|
4438
|
+
};
|
|
4439
|
+
/**
|
|
4440
|
+
* Generated factory for {@link UpdateContactRequest} record objects.
|
|
4441
|
+
*/
|
|
4442
|
+
export declare const UpdateContactRequest: Readonly<{
|
|
4443
|
+
/**
|
|
4444
|
+
* Create a frozen instance of {@link UpdateContactRequest}, with defaults specified
|
|
4445
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
4446
|
+
*/
|
|
4447
|
+
create: (partial: Partial<UpdateContactRequest> & Required<Omit<UpdateContactRequest, never>>) => UpdateContactRequest;
|
|
4448
|
+
/**
|
|
4449
|
+
* Create a frozen instance of {@link UpdateContactRequest}, with defaults specified
|
|
4450
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
4451
|
+
*/
|
|
4452
|
+
new: (partial: Partial<UpdateContactRequest> & Required<Omit<UpdateContactRequest, never>>) => UpdateContactRequest;
|
|
4453
|
+
/**
|
|
4454
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
4455
|
+
*/
|
|
4456
|
+
defaults: () => Partial<UpdateContactRequest>;
|
|
4457
|
+
}>;
|
|
4301
4458
|
export type UpdateUserSettingsRequest = {
|
|
4302
4459
|
sparkPrivateModeEnabled: boolean | undefined;
|
|
4303
4460
|
};
|
|
@@ -10474,7 +10631,8 @@ export declare enum StorageError_Tags {
|
|
|
10474
10631
|
Connection = "Connection",
|
|
10475
10632
|
Implementation = "Implementation",
|
|
10476
10633
|
InitializationError = "InitializationError",
|
|
10477
|
-
Serialization = "Serialization"
|
|
10634
|
+
Serialization = "Serialization",
|
|
10635
|
+
NotFound = "NotFound"
|
|
10478
10636
|
}
|
|
10479
10637
|
/**
|
|
10480
10638
|
* Errors that can occur during storage operations
|
|
@@ -10765,11 +10923,221 @@ export declare const StorageError: Readonly<{
|
|
|
10765
10923
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
10766
10924
|
stackTraceLimit: number;
|
|
10767
10925
|
};
|
|
10926
|
+
NotFound: {
|
|
10927
|
+
new (): {
|
|
10928
|
+
readonly tag: StorageError_Tags.NotFound;
|
|
10929
|
+
/**
|
|
10930
|
+
* @private
|
|
10931
|
+
* This field is private and should not be used, use `tag` instead.
|
|
10932
|
+
*/
|
|
10933
|
+
readonly [uniffiTypeNameSymbol]: "StorageError";
|
|
10934
|
+
name: string;
|
|
10935
|
+
message: string;
|
|
10936
|
+
stack?: string;
|
|
10937
|
+
cause?: unknown;
|
|
10938
|
+
};
|
|
10939
|
+
"new"(): {
|
|
10940
|
+
readonly tag: StorageError_Tags.NotFound;
|
|
10941
|
+
/**
|
|
10942
|
+
* @private
|
|
10943
|
+
* This field is private and should not be used, use `tag` instead.
|
|
10944
|
+
*/
|
|
10945
|
+
readonly [uniffiTypeNameSymbol]: "StorageError";
|
|
10946
|
+
name: string;
|
|
10947
|
+
message: string;
|
|
10948
|
+
stack?: string;
|
|
10949
|
+
cause?: unknown;
|
|
10950
|
+
};
|
|
10951
|
+
instanceOf(obj: any): obj is {
|
|
10952
|
+
readonly tag: StorageError_Tags.NotFound;
|
|
10953
|
+
/**
|
|
10954
|
+
* @private
|
|
10955
|
+
* This field is private and should not be used, use `tag` instead.
|
|
10956
|
+
*/
|
|
10957
|
+
readonly [uniffiTypeNameSymbol]: "StorageError";
|
|
10958
|
+
name: string;
|
|
10959
|
+
message: string;
|
|
10960
|
+
stack?: string;
|
|
10961
|
+
cause?: unknown;
|
|
10962
|
+
};
|
|
10963
|
+
hasInner(obj: any): obj is {
|
|
10964
|
+
readonly tag: StorageError_Tags.NotFound;
|
|
10965
|
+
/**
|
|
10966
|
+
* @private
|
|
10967
|
+
* This field is private and should not be used, use `tag` instead.
|
|
10968
|
+
*/
|
|
10969
|
+
readonly [uniffiTypeNameSymbol]: "StorageError";
|
|
10970
|
+
name: string;
|
|
10971
|
+
message: string;
|
|
10972
|
+
stack?: string;
|
|
10973
|
+
cause?: unknown;
|
|
10974
|
+
};
|
|
10975
|
+
isError(error: unknown): error is Error;
|
|
10976
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
10977
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
10978
|
+
stackTraceLimit: number;
|
|
10979
|
+
};
|
|
10768
10980
|
}>;
|
|
10769
10981
|
/**
|
|
10770
10982
|
* Errors that can occur during storage operations
|
|
10771
10983
|
*/
|
|
10772
10984
|
export type StorageError = InstanceType<(typeof StorageError)[keyof Omit<typeof StorageError, 'instanceOf'>]>;
|
|
10985
|
+
export declare enum StoragePaymentDetailsFilter_Tags {
|
|
10986
|
+
Spark = "Spark",
|
|
10987
|
+
Token = "Token",
|
|
10988
|
+
Lightning = "Lightning"
|
|
10989
|
+
}
|
|
10990
|
+
/**
|
|
10991
|
+
* Storage-internal variant of [`PaymentDetailsFilter`] that includes the
|
|
10992
|
+
* `has_lnurl_preimage` field on the `Lightning` variant, which is not exposed
|
|
10993
|
+
* in the public API.
|
|
10994
|
+
*/
|
|
10995
|
+
export declare const StoragePaymentDetailsFilter: Readonly<{
|
|
10996
|
+
instanceOf: (obj: any) => obj is StoragePaymentDetailsFilter;
|
|
10997
|
+
Spark: {
|
|
10998
|
+
new (inner: {
|
|
10999
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11000
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11001
|
+
}): {
|
|
11002
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Spark;
|
|
11003
|
+
readonly inner: Readonly<{
|
|
11004
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11005
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11006
|
+
}>;
|
|
11007
|
+
/**
|
|
11008
|
+
* @private
|
|
11009
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11010
|
+
*/
|
|
11011
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11012
|
+
};
|
|
11013
|
+
"new"(inner: {
|
|
11014
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11015
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11016
|
+
}): {
|
|
11017
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Spark;
|
|
11018
|
+
readonly inner: Readonly<{
|
|
11019
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11020
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11021
|
+
}>;
|
|
11022
|
+
/**
|
|
11023
|
+
* @private
|
|
11024
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11025
|
+
*/
|
|
11026
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11027
|
+
};
|
|
11028
|
+
instanceOf(obj: any): obj is {
|
|
11029
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Spark;
|
|
11030
|
+
readonly inner: Readonly<{
|
|
11031
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11032
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11033
|
+
}>;
|
|
11034
|
+
/**
|
|
11035
|
+
* @private
|
|
11036
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11037
|
+
*/
|
|
11038
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11039
|
+
};
|
|
11040
|
+
};
|
|
11041
|
+
Token: {
|
|
11042
|
+
new (inner: {
|
|
11043
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11044
|
+
txHash: string | undefined;
|
|
11045
|
+
txType: TokenTransactionType | undefined;
|
|
11046
|
+
}): {
|
|
11047
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Token;
|
|
11048
|
+
readonly inner: Readonly<{
|
|
11049
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11050
|
+
txHash: string | undefined;
|
|
11051
|
+
txType: TokenTransactionType | undefined;
|
|
11052
|
+
}>;
|
|
11053
|
+
/**
|
|
11054
|
+
* @private
|
|
11055
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11056
|
+
*/
|
|
11057
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11058
|
+
};
|
|
11059
|
+
"new"(inner: {
|
|
11060
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11061
|
+
txHash: string | undefined;
|
|
11062
|
+
txType: TokenTransactionType | undefined;
|
|
11063
|
+
}): {
|
|
11064
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Token;
|
|
11065
|
+
readonly inner: Readonly<{
|
|
11066
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11067
|
+
txHash: string | undefined;
|
|
11068
|
+
txType: TokenTransactionType | undefined;
|
|
11069
|
+
}>;
|
|
11070
|
+
/**
|
|
11071
|
+
* @private
|
|
11072
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11073
|
+
*/
|
|
11074
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11075
|
+
};
|
|
11076
|
+
instanceOf(obj: any): obj is {
|
|
11077
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Token;
|
|
11078
|
+
readonly inner: Readonly<{
|
|
11079
|
+
conversionRefundNeeded: boolean | undefined;
|
|
11080
|
+
txHash: string | undefined;
|
|
11081
|
+
txType: TokenTransactionType | undefined;
|
|
11082
|
+
}>;
|
|
11083
|
+
/**
|
|
11084
|
+
* @private
|
|
11085
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11086
|
+
*/
|
|
11087
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11088
|
+
};
|
|
11089
|
+
};
|
|
11090
|
+
Lightning: {
|
|
11091
|
+
new (inner: {
|
|
11092
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11093
|
+
hasLnurlPreimage: boolean | undefined;
|
|
11094
|
+
}): {
|
|
11095
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Lightning;
|
|
11096
|
+
readonly inner: Readonly<{
|
|
11097
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11098
|
+
hasLnurlPreimage: boolean | undefined;
|
|
11099
|
+
}>;
|
|
11100
|
+
/**
|
|
11101
|
+
* @private
|
|
11102
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11103
|
+
*/
|
|
11104
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11105
|
+
};
|
|
11106
|
+
"new"(inner: {
|
|
11107
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11108
|
+
hasLnurlPreimage: boolean | undefined;
|
|
11109
|
+
}): {
|
|
11110
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Lightning;
|
|
11111
|
+
readonly inner: Readonly<{
|
|
11112
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11113
|
+
hasLnurlPreimage: boolean | undefined;
|
|
11114
|
+
}>;
|
|
11115
|
+
/**
|
|
11116
|
+
* @private
|
|
11117
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11118
|
+
*/
|
|
11119
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11120
|
+
};
|
|
11121
|
+
instanceOf(obj: any): obj is {
|
|
11122
|
+
readonly tag: StoragePaymentDetailsFilter_Tags.Lightning;
|
|
11123
|
+
readonly inner: Readonly<{
|
|
11124
|
+
htlcStatus: Array<SparkHtlcStatus> | undefined;
|
|
11125
|
+
hasLnurlPreimage: boolean | undefined;
|
|
11126
|
+
}>;
|
|
11127
|
+
/**
|
|
11128
|
+
* @private
|
|
11129
|
+
* This field is private and should not be used, use `tag` instead.
|
|
11130
|
+
*/
|
|
11131
|
+
readonly [uniffiTypeNameSymbol]: "StoragePaymentDetailsFilter";
|
|
11132
|
+
};
|
|
11133
|
+
};
|
|
11134
|
+
}>;
|
|
11135
|
+
/**
|
|
11136
|
+
* Storage-internal variant of [`PaymentDetailsFilter`] that includes the
|
|
11137
|
+
* `has_lnurl_preimage` field on the `Lightning` variant, which is not exposed
|
|
11138
|
+
* in the public API.
|
|
11139
|
+
*/
|
|
11140
|
+
export type StoragePaymentDetailsFilter = InstanceType<(typeof StoragePaymentDetailsFilter)[keyof Omit<typeof StoragePaymentDetailsFilter, 'instanceOf'>]>;
|
|
10773
11141
|
export declare enum SuccessAction_Tags {
|
|
10774
11142
|
Aes = "Aes",
|
|
10775
11143
|
Message = "Message",
|
|
@@ -11188,6 +11556,20 @@ export declare class BitcoinChainServiceImpl extends UniffiAbstractObject implem
|
|
|
11188
11556
|
* with request/response objects and comprehensive error handling.
|
|
11189
11557
|
*/
|
|
11190
11558
|
export interface BreezSdkInterface {
|
|
11559
|
+
/**
|
|
11560
|
+
* Adds a new contact.
|
|
11561
|
+
*
|
|
11562
|
+
* # Arguments
|
|
11563
|
+
*
|
|
11564
|
+
* * `request` - The request containing the contact details
|
|
11565
|
+
*
|
|
11566
|
+
* # Returns
|
|
11567
|
+
*
|
|
11568
|
+
* The created contact or an error
|
|
11569
|
+
*/
|
|
11570
|
+
addContact(request: AddContactRequest, asyncOpts_?: {
|
|
11571
|
+
signal: AbortSignal;
|
|
11572
|
+
}): Promise<Contact>;
|
|
11191
11573
|
/**
|
|
11192
11574
|
* Registers a listener to receive SDK events
|
|
11193
11575
|
*
|
|
@@ -11250,6 +11632,20 @@ export interface BreezSdkInterface {
|
|
|
11250
11632
|
claimHtlcPayment(request: ClaimHtlcPaymentRequest, asyncOpts_?: {
|
|
11251
11633
|
signal: AbortSignal;
|
|
11252
11634
|
}): Promise<ClaimHtlcPaymentResponse>;
|
|
11635
|
+
/**
|
|
11636
|
+
* Deletes a contact by its ID.
|
|
11637
|
+
*
|
|
11638
|
+
* # Arguments
|
|
11639
|
+
*
|
|
11640
|
+
* * `id` - The ID of the contact to delete
|
|
11641
|
+
*
|
|
11642
|
+
* # Returns
|
|
11643
|
+
*
|
|
11644
|
+
* Success or an error
|
|
11645
|
+
*/
|
|
11646
|
+
deleteContact(id: string, asyncOpts_?: {
|
|
11647
|
+
signal: AbortSignal;
|
|
11648
|
+
}): Promise<void>;
|
|
11253
11649
|
deleteLightningAddress(asyncOpts_?: {
|
|
11254
11650
|
signal: AbortSignal;
|
|
11255
11651
|
}): Promise<void>;
|
|
@@ -11308,6 +11704,20 @@ export interface BreezSdkInterface {
|
|
|
11308
11704
|
getUserSettings(asyncOpts_?: {
|
|
11309
11705
|
signal: AbortSignal;
|
|
11310
11706
|
}): Promise<UserSettings>;
|
|
11707
|
+
/**
|
|
11708
|
+
* Lists contacts with optional pagination.
|
|
11709
|
+
*
|
|
11710
|
+
* # Arguments
|
|
11711
|
+
*
|
|
11712
|
+
* * `request` - The request containing optional pagination parameters
|
|
11713
|
+
*
|
|
11714
|
+
* # Returns
|
|
11715
|
+
*
|
|
11716
|
+
* A list of contacts or an error
|
|
11717
|
+
*/
|
|
11718
|
+
listContacts(request: ListContactsRequest, asyncOpts_?: {
|
|
11719
|
+
signal: AbortSignal;
|
|
11720
|
+
}): Promise<Array<Contact>>;
|
|
11311
11721
|
/**
|
|
11312
11722
|
* List fiat currencies for which there is a known exchange rate,
|
|
11313
11723
|
* sorted by the canonical name of the currency.
|
|
@@ -11448,6 +11858,20 @@ export interface BreezSdkInterface {
|
|
|
11448
11858
|
syncWallet(request: SyncWalletRequest, asyncOpts_?: {
|
|
11449
11859
|
signal: AbortSignal;
|
|
11450
11860
|
}): Promise<SyncWalletResponse>;
|
|
11861
|
+
/**
|
|
11862
|
+
* Updates an existing contact.
|
|
11863
|
+
*
|
|
11864
|
+
* # Arguments
|
|
11865
|
+
*
|
|
11866
|
+
* * `request` - The request containing the updated contact details
|
|
11867
|
+
*
|
|
11868
|
+
* # Returns
|
|
11869
|
+
*
|
|
11870
|
+
* The updated contact or an error
|
|
11871
|
+
*/
|
|
11872
|
+
updateContact(request: UpdateContactRequest, asyncOpts_?: {
|
|
11873
|
+
signal: AbortSignal;
|
|
11874
|
+
}): Promise<Contact>;
|
|
11451
11875
|
/**
|
|
11452
11876
|
* Updates the user settings for the wallet.
|
|
11453
11877
|
*
|
|
@@ -11466,6 +11890,20 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
|
|
|
11466
11890
|
readonly [destructorGuardSymbol]: UniffiRustArcPtr;
|
|
11467
11891
|
readonly [pointerLiteralSymbol]: UnsafeMutableRawPointer;
|
|
11468
11892
|
private constructor();
|
|
11893
|
+
/**
|
|
11894
|
+
* Adds a new contact.
|
|
11895
|
+
*
|
|
11896
|
+
* # Arguments
|
|
11897
|
+
*
|
|
11898
|
+
* * `request` - The request containing the contact details
|
|
11899
|
+
*
|
|
11900
|
+
* # Returns
|
|
11901
|
+
*
|
|
11902
|
+
* The created contact or an error
|
|
11903
|
+
*/
|
|
11904
|
+
addContact(request: AddContactRequest, asyncOpts_?: {
|
|
11905
|
+
signal: AbortSignal;
|
|
11906
|
+
}): Promise<Contact>;
|
|
11469
11907
|
/**
|
|
11470
11908
|
* Registers a listener to receive SDK events
|
|
11471
11909
|
*
|
|
@@ -11528,6 +11966,20 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
|
|
|
11528
11966
|
claimHtlcPayment(request: ClaimHtlcPaymentRequest, asyncOpts_?: {
|
|
11529
11967
|
signal: AbortSignal;
|
|
11530
11968
|
}): Promise<ClaimHtlcPaymentResponse>;
|
|
11969
|
+
/**
|
|
11970
|
+
* Deletes a contact by its ID.
|
|
11971
|
+
*
|
|
11972
|
+
* # Arguments
|
|
11973
|
+
*
|
|
11974
|
+
* * `id` - The ID of the contact to delete
|
|
11975
|
+
*
|
|
11976
|
+
* # Returns
|
|
11977
|
+
*
|
|
11978
|
+
* Success or an error
|
|
11979
|
+
*/
|
|
11980
|
+
deleteContact(id: string, asyncOpts_?: {
|
|
11981
|
+
signal: AbortSignal;
|
|
11982
|
+
}): Promise<void>;
|
|
11531
11983
|
deleteLightningAddress(asyncOpts_?: {
|
|
11532
11984
|
signal: AbortSignal;
|
|
11533
11985
|
}): Promise<void>;
|
|
@@ -11586,6 +12038,20 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
|
|
|
11586
12038
|
getUserSettings(asyncOpts_?: {
|
|
11587
12039
|
signal: AbortSignal;
|
|
11588
12040
|
}): Promise<UserSettings>;
|
|
12041
|
+
/**
|
|
12042
|
+
* Lists contacts with optional pagination.
|
|
12043
|
+
*
|
|
12044
|
+
* # Arguments
|
|
12045
|
+
*
|
|
12046
|
+
* * `request` - The request containing optional pagination parameters
|
|
12047
|
+
*
|
|
12048
|
+
* # Returns
|
|
12049
|
+
*
|
|
12050
|
+
* A list of contacts or an error
|
|
12051
|
+
*/
|
|
12052
|
+
listContacts(request: ListContactsRequest, asyncOpts_?: {
|
|
12053
|
+
signal: AbortSignal;
|
|
12054
|
+
}): Promise<Array<Contact>>;
|
|
11589
12055
|
/**
|
|
11590
12056
|
* List fiat currencies for which there is a known exchange rate,
|
|
11591
12057
|
* sorted by the canonical name of the currency.
|
|
@@ -11726,6 +12192,20 @@ export declare class BreezSdk extends UniffiAbstractObject implements BreezSdkIn
|
|
|
11726
12192
|
syncWallet(request: SyncWalletRequest, asyncOpts_?: {
|
|
11727
12193
|
signal: AbortSignal;
|
|
11728
12194
|
}): Promise<SyncWalletResponse>;
|
|
12195
|
+
/**
|
|
12196
|
+
* Updates an existing contact.
|
|
12197
|
+
*
|
|
12198
|
+
* # Arguments
|
|
12199
|
+
*
|
|
12200
|
+
* * `request` - The request containing the updated contact details
|
|
12201
|
+
*
|
|
12202
|
+
* # Returns
|
|
12203
|
+
*
|
|
12204
|
+
* The updated contact or an error
|
|
12205
|
+
*/
|
|
12206
|
+
updateContact(request: UpdateContactRequest, asyncOpts_?: {
|
|
12207
|
+
signal: AbortSignal;
|
|
12208
|
+
}): Promise<Contact>;
|
|
11729
12209
|
/**
|
|
11730
12210
|
* Updates the user settings for the wallet.
|
|
11731
12211
|
*
|
|
@@ -12691,7 +13171,7 @@ export interface Storage {
|
|
|
12691
13171
|
*
|
|
12692
13172
|
* A vector of payments or a `StorageError`
|
|
12693
13173
|
*/
|
|
12694
|
-
listPayments(request:
|
|
13174
|
+
listPayments(request: StorageListPaymentsRequest, asyncOpts_?: {
|
|
12695
13175
|
signal: AbortSignal;
|
|
12696
13176
|
}): Promise<Array<Payment>>;
|
|
12697
13177
|
/**
|
|
@@ -12819,6 +13299,31 @@ export interface Storage {
|
|
|
12819
13299
|
setLnurlMetadata(metadata: Array<SetLnurlMetadataItem>, asyncOpts_?: {
|
|
12820
13300
|
signal: AbortSignal;
|
|
12821
13301
|
}): Promise<void>;
|
|
13302
|
+
/**
|
|
13303
|
+
* Lists contacts from storage with optional pagination
|
|
13304
|
+
*/
|
|
13305
|
+
listContacts(request: ListContactsRequest, asyncOpts_?: {
|
|
13306
|
+
signal: AbortSignal;
|
|
13307
|
+
}): Promise<Array<Contact>>;
|
|
13308
|
+
/**
|
|
13309
|
+
* Gets a single contact by its ID
|
|
13310
|
+
*/
|
|
13311
|
+
getContact(id: string, asyncOpts_?: {
|
|
13312
|
+
signal: AbortSignal;
|
|
13313
|
+
}): Promise<Contact>;
|
|
13314
|
+
/**
|
|
13315
|
+
* Inserts or updates a contact in storage (upsert by id).
|
|
13316
|
+
* Preserves `created_at` on update.
|
|
13317
|
+
*/
|
|
13318
|
+
insertContact(contact: Contact, asyncOpts_?: {
|
|
13319
|
+
signal: AbortSignal;
|
|
13320
|
+
}): Promise<void>;
|
|
13321
|
+
/**
|
|
13322
|
+
* Deletes a contact by its ID
|
|
13323
|
+
*/
|
|
13324
|
+
deleteContact(id: string, asyncOpts_?: {
|
|
13325
|
+
signal: AbortSignal;
|
|
13326
|
+
}): Promise<void>;
|
|
12822
13327
|
addOutgoingChange(record: UnversionedRecordChange, asyncOpts_?: {
|
|
12823
13328
|
signal: AbortSignal;
|
|
12824
13329
|
}): Promise</*u64*/ bigint>;
|
|
@@ -12898,7 +13403,7 @@ export declare class StorageImpl extends UniffiAbstractObject implements Storage
|
|
|
12898
13403
|
*
|
|
12899
13404
|
* A vector of payments or a `StorageError`
|
|
12900
13405
|
*/
|
|
12901
|
-
listPayments(request:
|
|
13406
|
+
listPayments(request: StorageListPaymentsRequest, asyncOpts_?: {
|
|
12902
13407
|
signal: AbortSignal;
|
|
12903
13408
|
}): Promise<Array<Payment>>;
|
|
12904
13409
|
/**
|
|
@@ -13026,6 +13531,31 @@ export declare class StorageImpl extends UniffiAbstractObject implements Storage
|
|
|
13026
13531
|
setLnurlMetadata(metadata: Array<SetLnurlMetadataItem>, asyncOpts_?: {
|
|
13027
13532
|
signal: AbortSignal;
|
|
13028
13533
|
}): Promise<void>;
|
|
13534
|
+
/**
|
|
13535
|
+
* Lists contacts from storage with optional pagination
|
|
13536
|
+
*/
|
|
13537
|
+
listContacts(request: ListContactsRequest, asyncOpts_?: {
|
|
13538
|
+
signal: AbortSignal;
|
|
13539
|
+
}): Promise<Array<Contact>>;
|
|
13540
|
+
/**
|
|
13541
|
+
* Gets a single contact by its ID
|
|
13542
|
+
*/
|
|
13543
|
+
getContact(id: string, asyncOpts_?: {
|
|
13544
|
+
signal: AbortSignal;
|
|
13545
|
+
}): Promise<Contact>;
|
|
13546
|
+
/**
|
|
13547
|
+
* Inserts or updates a contact in storage (upsert by id).
|
|
13548
|
+
* Preserves `created_at` on update.
|
|
13549
|
+
*/
|
|
13550
|
+
insertContact(contact: Contact, asyncOpts_?: {
|
|
13551
|
+
signal: AbortSignal;
|
|
13552
|
+
}): Promise<void>;
|
|
13553
|
+
/**
|
|
13554
|
+
* Deletes a contact by its ID
|
|
13555
|
+
*/
|
|
13556
|
+
deleteContact(id: string, asyncOpts_?: {
|
|
13557
|
+
signal: AbortSignal;
|
|
13558
|
+
}): Promise<void>;
|
|
13029
13559
|
addOutgoingChange(record: UnversionedRecordChange, asyncOpts_?: {
|
|
13030
13560
|
signal: AbortSignal;
|
|
13031
13561
|
}): Promise</*u64*/ bigint>;
|
|
@@ -13317,6 +13847,13 @@ declare function uniffiEnsureInitialized(): void;
|
|
|
13317
13847
|
declare const _default: Readonly<{
|
|
13318
13848
|
initialize: typeof uniffiEnsureInitialized;
|
|
13319
13849
|
converters: {
|
|
13850
|
+
FfiConverterTypeAddContactRequest: {
|
|
13851
|
+
read(from: RustBuffer): AddContactRequest;
|
|
13852
|
+
write(value: AddContactRequest, into: RustBuffer): void;
|
|
13853
|
+
allocationSize(value: AddContactRequest): number;
|
|
13854
|
+
lift(value: UniffiByteArray): AddContactRequest;
|
|
13855
|
+
lower(value: AddContactRequest): UniffiByteArray;
|
|
13856
|
+
};
|
|
13320
13857
|
FfiConverterTypeAesSuccessActionData: {
|
|
13321
13858
|
read(from: RustBuffer): AesSuccessActionData;
|
|
13322
13859
|
write(value: AesSuccessActionData, into: RustBuffer): void;
|
|
@@ -13480,6 +14017,13 @@ declare const _default: Readonly<{
|
|
|
13480
14017
|
lift(value: UniffiByteArray): ChainApiType;
|
|
13481
14018
|
lower(value: ChainApiType): UniffiByteArray;
|
|
13482
14019
|
};
|
|
14020
|
+
FfiConverterTypeChainServiceError: {
|
|
14021
|
+
read(from: RustBuffer): ChainServiceError;
|
|
14022
|
+
write(value: ChainServiceError, into: RustBuffer): void;
|
|
14023
|
+
allocationSize(value: ChainServiceError): number;
|
|
14024
|
+
lift(value: UniffiByteArray): ChainServiceError;
|
|
14025
|
+
lower(value: ChainServiceError): UniffiByteArray;
|
|
14026
|
+
};
|
|
13483
14027
|
FfiConverterTypeCheckLightningAddressRequest: {
|
|
13484
14028
|
read(from: RustBuffer): CheckLightningAddressRequest;
|
|
13485
14029
|
write(value: CheckLightningAddressRequest, into: RustBuffer): void;
|
|
@@ -13550,6 +14094,13 @@ declare const _default: Readonly<{
|
|
|
13550
14094
|
lift(value: UniffiByteArray): ConnectWithSignerRequest;
|
|
13551
14095
|
lower(value: ConnectWithSignerRequest): UniffiByteArray;
|
|
13552
14096
|
};
|
|
14097
|
+
FfiConverterTypeContact: {
|
|
14098
|
+
read(from: RustBuffer): Contact;
|
|
14099
|
+
write(value: Contact, into: RustBuffer): void;
|
|
14100
|
+
allocationSize(value: Contact): number;
|
|
14101
|
+
lift(value: UniffiByteArray): Contact;
|
|
14102
|
+
lower(value: Contact): UniffiByteArray;
|
|
14103
|
+
};
|
|
13553
14104
|
FfiConverterTypeConversionDetails: {
|
|
13554
14105
|
read(from: RustBuffer): ConversionDetails;
|
|
13555
14106
|
write(value: ConversionDetails, into: RustBuffer): void;
|
|
@@ -13916,6 +14467,13 @@ declare const _default: Readonly<{
|
|
|
13916
14467
|
lift(value: UniffiByteArray): LightningAddressInfo;
|
|
13917
14468
|
lower(value: LightningAddressInfo): UniffiByteArray;
|
|
13918
14469
|
};
|
|
14470
|
+
FfiConverterTypeListContactsRequest: {
|
|
14471
|
+
read(from: RustBuffer): ListContactsRequest;
|
|
14472
|
+
write(value: ListContactsRequest, into: RustBuffer): void;
|
|
14473
|
+
allocationSize(value: ListContactsRequest): number;
|
|
14474
|
+
lift(value: UniffiByteArray): ListContactsRequest;
|
|
14475
|
+
lower(value: ListContactsRequest): UniffiByteArray;
|
|
14476
|
+
};
|
|
13919
14477
|
FfiConverterTypeListFiatCurrenciesResponse: {
|
|
13920
14478
|
read(from: RustBuffer): ListFiatCurrenciesResponse;
|
|
13921
14479
|
write(value: ListFiatCurrenciesResponse, into: RustBuffer): void;
|
|
@@ -14176,6 +14734,13 @@ declare const _default: Readonly<{
|
|
|
14176
14734
|
lower(value: PaymentMethod): UniffiByteArray;
|
|
14177
14735
|
};
|
|
14178
14736
|
FfiConverterTypePaymentObserver: FfiConverterObjectWithCallbacks<PaymentObserver>;
|
|
14737
|
+
FfiConverterTypePaymentObserverError: {
|
|
14738
|
+
read(from: RustBuffer): PaymentObserverError;
|
|
14739
|
+
write(value: PaymentObserverError, into: RustBuffer): void;
|
|
14740
|
+
allocationSize(value: PaymentObserverError): number;
|
|
14741
|
+
lift(value: UniffiByteArray): PaymentObserverError;
|
|
14742
|
+
lower(value: PaymentObserverError): UniffiByteArray;
|
|
14743
|
+
};
|
|
14179
14744
|
FfiConverterTypePaymentRequestSource: {
|
|
14180
14745
|
read(from: RustBuffer): PaymentRequestSource;
|
|
14181
14746
|
write(value: PaymentRequestSource, into: RustBuffer): void;
|
|
@@ -14346,6 +14911,13 @@ declare const _default: Readonly<{
|
|
|
14346
14911
|
lower(value: SchnorrSignatureBytes): UniffiByteArray;
|
|
14347
14912
|
};
|
|
14348
14913
|
FfiConverterTypeSdkBuilder: FfiConverterObject<SdkBuilderInterface>;
|
|
14914
|
+
FfiConverterTypeSdkError: {
|
|
14915
|
+
read(from: RustBuffer): SdkError;
|
|
14916
|
+
write(value: SdkError, into: RustBuffer): void;
|
|
14917
|
+
allocationSize(value: SdkError): number;
|
|
14918
|
+
lift(value: UniffiByteArray): SdkError;
|
|
14919
|
+
lower(value: SdkError): UniffiByteArray;
|
|
14920
|
+
};
|
|
14349
14921
|
FfiConverterTypeSdkEvent: {
|
|
14350
14922
|
read(from: RustBuffer): SdkEvent;
|
|
14351
14923
|
write(value: SdkEvent, into: RustBuffer): void;
|
|
@@ -14409,6 +14981,13 @@ declare const _default: Readonly<{
|
|
|
14409
14981
|
lift(value: UniffiByteArray): SendPaymentResponse;
|
|
14410
14982
|
lower(value: SendPaymentResponse): UniffiByteArray;
|
|
14411
14983
|
};
|
|
14984
|
+
FfiConverterTypeServiceConnectivityError: {
|
|
14985
|
+
read(from: RustBuffer): ServiceConnectivityError;
|
|
14986
|
+
write(value: ServiceConnectivityError, into: RustBuffer): void;
|
|
14987
|
+
allocationSize(value: ServiceConnectivityError): number;
|
|
14988
|
+
lift(value: UniffiByteArray): ServiceConnectivityError;
|
|
14989
|
+
lower(value: ServiceConnectivityError): UniffiByteArray;
|
|
14990
|
+
};
|
|
14412
14991
|
FfiConverterTypeServiceStatus: {
|
|
14413
14992
|
read(from: RustBuffer): ServiceStatus;
|
|
14414
14993
|
write(value: ServiceStatus, into: RustBuffer): void;
|
|
@@ -14437,6 +15016,13 @@ declare const _default: Readonly<{
|
|
|
14437
15016
|
lift(value: UniffiByteArray): SignMessageResponse;
|
|
14438
15017
|
lower(value: SignMessageResponse): UniffiByteArray;
|
|
14439
15018
|
};
|
|
15019
|
+
FfiConverterTypeSignerError: {
|
|
15020
|
+
read(from: RustBuffer): SignerError;
|
|
15021
|
+
write(value: SignerError, into: RustBuffer): void;
|
|
15022
|
+
allocationSize(value: SignerError): number;
|
|
15023
|
+
lift(value: UniffiByteArray): SignerError;
|
|
15024
|
+
lower(value: SignerError): UniffiByteArray;
|
|
15025
|
+
};
|
|
14440
15026
|
FfiConverterTypeSilentPaymentAddressDetails: {
|
|
14441
15027
|
read(from: RustBuffer): SilentPaymentAddressDetails;
|
|
14442
15028
|
write(value: SilentPaymentAddressDetails, into: RustBuffer): void;
|
|
@@ -14501,6 +15087,27 @@ declare const _default: Readonly<{
|
|
|
14501
15087
|
lower(value: StableBalanceConfig): UniffiByteArray;
|
|
14502
15088
|
};
|
|
14503
15089
|
FfiConverterTypeStorage: FfiConverterObjectWithCallbacks<Storage>;
|
|
15090
|
+
FfiConverterTypeStorageError: {
|
|
15091
|
+
read(from: RustBuffer): StorageError;
|
|
15092
|
+
write(value: StorageError, into: RustBuffer): void;
|
|
15093
|
+
allocationSize(value: StorageError): number;
|
|
15094
|
+
lift(value: UniffiByteArray): StorageError;
|
|
15095
|
+
lower(value: StorageError): UniffiByteArray;
|
|
15096
|
+
};
|
|
15097
|
+
FfiConverterTypeStorageListPaymentsRequest: {
|
|
15098
|
+
read(from: RustBuffer): StorageListPaymentsRequest;
|
|
15099
|
+
write(value: StorageListPaymentsRequest, into: RustBuffer): void;
|
|
15100
|
+
allocationSize(value: StorageListPaymentsRequest): number;
|
|
15101
|
+
lift(value: UniffiByteArray): StorageListPaymentsRequest;
|
|
15102
|
+
lower(value: StorageListPaymentsRequest): UniffiByteArray;
|
|
15103
|
+
};
|
|
15104
|
+
FfiConverterTypeStoragePaymentDetailsFilter: {
|
|
15105
|
+
read(from: RustBuffer): StoragePaymentDetailsFilter;
|
|
15106
|
+
write(value: StoragePaymentDetailsFilter, into: RustBuffer): void;
|
|
15107
|
+
allocationSize(value: StoragePaymentDetailsFilter): number;
|
|
15108
|
+
lift(value: UniffiByteArray): StoragePaymentDetailsFilter;
|
|
15109
|
+
lower(value: StoragePaymentDetailsFilter): UniffiByteArray;
|
|
15110
|
+
};
|
|
14504
15111
|
FfiConverterTypeSuccessAction: {
|
|
14505
15112
|
read(from: RustBuffer): SuccessAction;
|
|
14506
15113
|
write(value: SuccessAction, into: RustBuffer): void;
|
|
@@ -14586,6 +15193,13 @@ declare const _default: Readonly<{
|
|
|
14586
15193
|
lift(value: UniffiByteArray): UnversionedRecordChange;
|
|
14587
15194
|
lower(value: UnversionedRecordChange): UniffiByteArray;
|
|
14588
15195
|
};
|
|
15196
|
+
FfiConverterTypeUpdateContactRequest: {
|
|
15197
|
+
read(from: RustBuffer): UpdateContactRequest;
|
|
15198
|
+
write(value: UpdateContactRequest, into: RustBuffer): void;
|
|
15199
|
+
allocationSize(value: UpdateContactRequest): number;
|
|
15200
|
+
lift(value: UniffiByteArray): UpdateContactRequest;
|
|
15201
|
+
lower(value: UpdateContactRequest): UniffiByteArray;
|
|
15202
|
+
};
|
|
14589
15203
|
FfiConverterTypeUpdateDepositPayload: {
|
|
14590
15204
|
read(from: RustBuffer): UpdateDepositPayload;
|
|
14591
15205
|
write(value: UpdateDepositPayload, into: RustBuffer): void;
|