@settlemint/dalp-sdk 3.1.18-main.34280240358 → 3.1.18-main.34285734015
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/dist/auth.js
CHANGED
|
@@ -102,7 +102,7 @@ function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
|
|
|
102
102
|
// package.json
|
|
103
103
|
var package_default = {
|
|
104
104
|
name: "@settlemint/dalp-sdk",
|
|
105
|
-
version: "3.1.18-main.
|
|
105
|
+
version: "3.1.18-main.34285734015",
|
|
106
106
|
private: false,
|
|
107
107
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
108
108
|
homepage: "https://settlemint.com",
|
|
@@ -21904,6 +21904,10 @@ export type addons_tradingVenue_marketsCreate_Request = {
|
|
|
21904
21904
|
readonly closeMethodology?: TradingVenueCloseMethodology_1;
|
|
21905
21905
|
readonly closeVwapWindowMs?: number;
|
|
21906
21906
|
readonly holdingPeriodSeconds?: number;
|
|
21907
|
+
readonly staticBandBps?: number | null;
|
|
21908
|
+
readonly dynamicBandBps?: number | null;
|
|
21909
|
+
readonly maxOrderQuantity?: ApiIntegerBigIntEncoded_1 | null;
|
|
21910
|
+
readonly maxOrderNotional?: ApiIntegerBigIntEncoded_1 | null;
|
|
21907
21911
|
readonly walletVerification?: OptionalUserVerification;
|
|
21908
21912
|
};
|
|
21909
21913
|
|
|
@@ -21927,6 +21931,10 @@ export type addons_tradingVenue_marketsCreate_RequestParts = {
|
|
|
21927
21931
|
readonly closeMethodology?: TradingVenueCloseMethodology_1;
|
|
21928
21932
|
readonly closeVwapWindowMs?: number;
|
|
21929
21933
|
readonly holdingPeriodSeconds?: number;
|
|
21934
|
+
readonly staticBandBps?: number | null;
|
|
21935
|
+
readonly dynamicBandBps?: number | null;
|
|
21936
|
+
readonly maxOrderQuantity?: ApiIntegerBigIntEncoded_1 | null;
|
|
21937
|
+
readonly maxOrderNotional?: ApiIntegerBigIntEncoded_1 | null;
|
|
21930
21938
|
readonly walletVerification?: OptionalUserVerification;
|
|
21931
21939
|
};
|
|
21932
21940
|
};
|
|
@@ -35540,19 +35548,6 @@ export type AdminUpdateUserResponse = {
|
|
|
35540
35548
|
readonly user?: User;
|
|
35541
35549
|
};
|
|
35542
35550
|
|
|
35543
|
-
export type AuthGetAccountInfoData = Readonly<Record<string, never>>;
|
|
35544
|
-
|
|
35545
|
-
export type AuthGetAccountInfoResponse = {
|
|
35546
|
-
readonly user: {
|
|
35547
|
-
readonly id: string;
|
|
35548
|
-
readonly name?: string;
|
|
35549
|
-
readonly email?: string;
|
|
35550
|
-
readonly image?: string;
|
|
35551
|
-
readonly emailVerified: boolean;
|
|
35552
|
-
};
|
|
35553
|
-
readonly data: Readonly<Record<string, unknown>>;
|
|
35554
|
-
};
|
|
35555
|
-
|
|
35556
35551
|
export type AuthGetApiKeyGetData = {
|
|
35557
35552
|
readonly configId?: string;
|
|
35558
35553
|
readonly id?: string;
|
|
@@ -35636,42 +35631,6 @@ export type AuthGetDeviceResponse = {
|
|
|
35636
35631
|
readonly status?: "pending" | "approved" | "denied";
|
|
35637
35632
|
};
|
|
35638
35633
|
|
|
35639
|
-
export type AuthGetErrorData = Readonly<Record<string, never>>;
|
|
35640
|
-
|
|
35641
|
-
export type AuthGetErrorResponse = void;
|
|
35642
|
-
|
|
35643
|
-
export type AuthGetOauth2CallbackProviderIdData = {
|
|
35644
|
-
readonly code?: string;
|
|
35645
|
-
readonly error?: string;
|
|
35646
|
-
readonly error_description?: string;
|
|
35647
|
-
readonly state?: string;
|
|
35648
|
-
readonly iss?: string;
|
|
35649
|
-
readonly providerId: string;
|
|
35650
|
-
};
|
|
35651
|
-
|
|
35652
|
-
export type AuthGetOauth2CallbackProviderIdResponse = {
|
|
35653
|
-
readonly url?: string;
|
|
35654
|
-
};
|
|
35655
|
-
|
|
35656
|
-
export type AuthGetOkData = Readonly<Record<string, never>>;
|
|
35657
|
-
|
|
35658
|
-
export type AuthGetOkResponse = {
|
|
35659
|
-
readonly ok: boolean;
|
|
35660
|
-
};
|
|
35661
|
-
|
|
35662
|
-
export type AuthGetOrganizationGetActiveMemberData = Readonly<Record<string, never>>;
|
|
35663
|
-
|
|
35664
|
-
export type AuthGetOrganizationGetActiveMemberResponse = {
|
|
35665
|
-
readonly id: string;
|
|
35666
|
-
readonly userId: string;
|
|
35667
|
-
readonly organizationId: string;
|
|
35668
|
-
readonly role: string;
|
|
35669
|
-
};
|
|
35670
|
-
|
|
35671
|
-
export type AuthGetOrganizationGetActiveMemberRoleData = Readonly<Record<string, never>>;
|
|
35672
|
-
|
|
35673
|
-
export type AuthGetOrganizationGetActiveMemberRoleResponse = void;
|
|
35674
|
-
|
|
35675
35634
|
export type AuthGetOrganizationGetInvitationData = {
|
|
35676
35635
|
readonly id?: string;
|
|
35677
35636
|
};
|
|
@@ -35886,31 +35845,6 @@ export type AuthPostDeviceTokenResponse = {
|
|
|
35886
35845
|
readonly user?: User;
|
|
35887
35846
|
};
|
|
35888
35847
|
|
|
35889
|
-
export type AuthPostGetAccessTokenData = {
|
|
35890
|
-
readonly providerId: string;
|
|
35891
|
-
readonly accountId?: string;
|
|
35892
|
-
readonly userId?: string;
|
|
35893
|
-
};
|
|
35894
|
-
|
|
35895
|
-
export type AuthPostGetAccessTokenResponse = {
|
|
35896
|
-
readonly tokenType?: string;
|
|
35897
|
-
readonly idToken?: string;
|
|
35898
|
-
readonly accessToken?: string;
|
|
35899
|
-
readonly accessTokenExpiresAt?: string;
|
|
35900
|
-
};
|
|
35901
|
-
|
|
35902
|
-
export type AuthPostOauth2LinkData = {
|
|
35903
|
-
readonly providerId: string;
|
|
35904
|
-
readonly callbackURL: string;
|
|
35905
|
-
readonly scopes?: ReadonlyArray<string>;
|
|
35906
|
-
readonly errorCallbackURL?: string;
|
|
35907
|
-
};
|
|
35908
|
-
|
|
35909
|
-
export type AuthPostOauth2LinkResponse = {
|
|
35910
|
-
readonly url: string;
|
|
35911
|
-
readonly redirect: true;
|
|
35912
|
-
};
|
|
35913
|
-
|
|
35914
35848
|
export type AuthPostOrganizationAcceptInvitationData = {
|
|
35915
35849
|
readonly invitationId: string;
|
|
35916
35850
|
};
|
|
@@ -35926,12 +35860,6 @@ export type AuthPostOrganizationCancelInvitationData = {
|
|
|
35926
35860
|
|
|
35927
35861
|
export type AuthPostOrganizationCancelInvitationResponse = void;
|
|
35928
35862
|
|
|
35929
|
-
export type AuthPostOrganizationCheckSlugData = {
|
|
35930
|
-
readonly slug: string;
|
|
35931
|
-
};
|
|
35932
|
-
|
|
35933
|
-
export type AuthPostOrganizationCheckSlugResponse = void;
|
|
35934
|
-
|
|
35935
35863
|
export type AuthPostOrganizationCreateData = {
|
|
35936
35864
|
readonly name: string;
|
|
35937
35865
|
readonly slug: string;
|
|
@@ -35943,12 +35871,6 @@ export type AuthPostOrganizationCreateData = {
|
|
|
35943
35871
|
|
|
35944
35872
|
export type AuthPostOrganizationCreateResponse = Organization;
|
|
35945
35873
|
|
|
35946
|
-
export type AuthPostOrganizationDeleteData = {
|
|
35947
|
-
readonly organizationId: string;
|
|
35948
|
-
};
|
|
35949
|
-
|
|
35950
|
-
export type AuthPostOrganizationDeleteResponse = string;
|
|
35951
|
-
|
|
35952
35874
|
export type AuthPostOrganizationHasPermissionData = {
|
|
35953
35875
|
readonly permission?: Readonly<Record<string, unknown>>;
|
|
35954
35876
|
readonly permissions: Readonly<Record<string, unknown>>;
|
|
@@ -35959,12 +35881,6 @@ export type AuthPostOrganizationHasPermissionResponse = {
|
|
|
35959
35881
|
readonly success: boolean;
|
|
35960
35882
|
};
|
|
35961
35883
|
|
|
35962
|
-
export type AuthPostOrganizationLeaveData = {
|
|
35963
|
-
readonly organizationId: string;
|
|
35964
|
-
};
|
|
35965
|
-
|
|
35966
|
-
export type AuthPostOrganizationLeaveResponse = void;
|
|
35967
|
-
|
|
35968
35884
|
export type AuthPostOrganizationRejectInvitationData = {
|
|
35969
35885
|
readonly invitationId: string;
|
|
35970
35886
|
};
|
|
@@ -36017,21 +35933,6 @@ export type AuthPostPasskeyUpdatePasskeyResponse = {
|
|
|
36017
35933
|
readonly passkey: Passkey;
|
|
36018
35934
|
};
|
|
36019
35935
|
|
|
36020
|
-
export type AuthPostRefreshTokenData = {
|
|
36021
|
-
readonly providerId: string;
|
|
36022
|
-
readonly accountId?: string;
|
|
36023
|
-
readonly userId?: string;
|
|
36024
|
-
};
|
|
36025
|
-
|
|
36026
|
-
export type AuthPostRefreshTokenResponse = {
|
|
36027
|
-
readonly tokenType?: string;
|
|
36028
|
-
readonly idToken?: string;
|
|
36029
|
-
readonly accessToken?: string;
|
|
36030
|
-
readonly refreshToken?: string;
|
|
36031
|
-
readonly accessTokenExpiresAt?: string;
|
|
36032
|
-
readonly refreshTokenExpiresAt?: string;
|
|
36033
|
-
};
|
|
36034
|
-
|
|
36035
35936
|
export type AuthPostRevokeOtherSessionsData = Readonly<Record<string, unknown>>;
|
|
36036
35937
|
|
|
36037
35938
|
export type AuthPostRevokeOtherSessionsResponse = {
|
|
@@ -36052,22 +35953,6 @@ export type AuthPostRevokeSessionsResponse = {
|
|
|
36052
35953
|
readonly status: boolean;
|
|
36053
35954
|
};
|
|
36054
35955
|
|
|
36055
|
-
export type AuthPostSignInOauth2Data = {
|
|
36056
|
-
readonly providerId: string;
|
|
36057
|
-
readonly callbackURL?: string;
|
|
36058
|
-
readonly errorCallbackURL?: string;
|
|
36059
|
-
readonly newUserCallbackURL?: string;
|
|
36060
|
-
readonly disableRedirect?: boolean;
|
|
36061
|
-
readonly scopes?: ReadonlyArray<string>;
|
|
36062
|
-
readonly requestSignUp?: boolean;
|
|
36063
|
-
readonly additionalData?: Readonly<Record<string, unknown>>;
|
|
36064
|
-
};
|
|
36065
|
-
|
|
36066
|
-
export type AuthPostSignInOauth2Response = {
|
|
36067
|
-
readonly url?: string;
|
|
36068
|
-
readonly redirect?: boolean;
|
|
36069
|
-
};
|
|
36070
|
-
|
|
36071
35956
|
export type AuthPostTwoFactorDisableData = {
|
|
36072
35957
|
readonly password: string;
|
|
36073
35958
|
};
|
|
@@ -36163,15 +36048,6 @@ export type AuthPostTwoFactorVerifyTotpResponse = {
|
|
|
36163
36048
|
readonly status?: boolean;
|
|
36164
36049
|
};
|
|
36165
36050
|
|
|
36166
|
-
export type AuthPostUnlinkAccountData = {
|
|
36167
|
-
readonly providerId: string;
|
|
36168
|
-
readonly accountId?: string;
|
|
36169
|
-
};
|
|
36170
|
-
|
|
36171
|
-
export type AuthPostUnlinkAccountResponse = {
|
|
36172
|
-
readonly status?: boolean;
|
|
36173
|
-
};
|
|
36174
|
-
|
|
36175
36051
|
export type AuthPostWalletPincodeDisableData = {
|
|
36176
36052
|
readonly password: string;
|
|
36177
36053
|
};
|
|
@@ -36381,13 +36257,6 @@ export type GetSessionResponse = {
|
|
|
36381
36257
|
readonly user: User;
|
|
36382
36258
|
} | null;
|
|
36383
36259
|
|
|
36384
|
-
export type GetSessionPostData = Readonly<Record<string, unknown>>;
|
|
36385
|
-
|
|
36386
|
-
export type GetSessionPostResponse = {
|
|
36387
|
-
readonly session: Session;
|
|
36388
|
-
readonly user: User;
|
|
36389
|
-
} | null;
|
|
36390
|
-
|
|
36391
36260
|
export type GetUserData = {
|
|
36392
36261
|
readonly id?: string;
|
|
36393
36262
|
};
|
|
@@ -36405,41 +36274,6 @@ export type ImpersonateUserResponse = {
|
|
|
36405
36274
|
readonly user?: User;
|
|
36406
36275
|
};
|
|
36407
36276
|
|
|
36408
|
-
export type LinkSocialAccountData = {
|
|
36409
|
-
readonly callbackURL?: string;
|
|
36410
|
-
readonly provider: "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "github" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat" | string;
|
|
36411
|
-
readonly idToken?: {
|
|
36412
|
-
readonly token: string;
|
|
36413
|
-
readonly nonce?: string;
|
|
36414
|
-
readonly accessToken?: string;
|
|
36415
|
-
readonly refreshToken?: string;
|
|
36416
|
-
readonly scopes?: ReadonlyArray<string>;
|
|
36417
|
-
};
|
|
36418
|
-
readonly requestSignUp?: boolean;
|
|
36419
|
-
readonly scopes?: ReadonlyArray<string>;
|
|
36420
|
-
readonly errorCallbackURL?: string;
|
|
36421
|
-
readonly disableRedirect?: boolean;
|
|
36422
|
-
readonly additionalData?: Readonly<Record<string, unknown>>;
|
|
36423
|
-
};
|
|
36424
|
-
|
|
36425
|
-
export type LinkSocialAccountResponse = {
|
|
36426
|
-
readonly url?: string;
|
|
36427
|
-
readonly redirect: boolean;
|
|
36428
|
-
readonly status?: boolean;
|
|
36429
|
-
};
|
|
36430
|
-
|
|
36431
|
-
export type ListUserAccountsData = Readonly<Record<string, never>>;
|
|
36432
|
-
|
|
36433
|
-
export type ListUserAccountsResponse = ReadonlyArray<{
|
|
36434
|
-
readonly id: string;
|
|
36435
|
-
readonly providerId: string;
|
|
36436
|
-
readonly createdAt: string;
|
|
36437
|
-
readonly updatedAt: string;
|
|
36438
|
-
readonly accountId: string;
|
|
36439
|
-
readonly userId: string;
|
|
36440
|
-
readonly scopes: ReadonlyArray<string>;
|
|
36441
|
-
}>;
|
|
36442
|
-
|
|
36443
36277
|
export type ListUserSessionsData = Readonly<Record<string, never>>;
|
|
36444
36278
|
|
|
36445
36279
|
export type ListUserSessionsResponse = ReadonlyArray<Session>;
|
|
@@ -36677,27 +36511,6 @@ export type UnbanUserResponse = {
|
|
|
36677
36511
|
readonly user?: User;
|
|
36678
36512
|
};
|
|
36679
36513
|
|
|
36680
|
-
export type UpdateOrganizationMemberRoleData = {
|
|
36681
|
-
readonly role: string | ReadonlyArray<string>;
|
|
36682
|
-
readonly memberId: string;
|
|
36683
|
-
readonly organizationId?: string;
|
|
36684
|
-
};
|
|
36685
|
-
|
|
36686
|
-
export type UpdateOrganizationMemberRoleResponse = {
|
|
36687
|
-
readonly member: {
|
|
36688
|
-
readonly id: string;
|
|
36689
|
-
readonly userId: string;
|
|
36690
|
-
readonly organizationId: string;
|
|
36691
|
-
readonly role: string;
|
|
36692
|
-
};
|
|
36693
|
-
};
|
|
36694
|
-
|
|
36695
|
-
export type UpdateSessionData = Readonly<Record<string, unknown>>;
|
|
36696
|
-
|
|
36697
|
-
export type UpdateSessionResponse = {
|
|
36698
|
-
readonly session?: Session;
|
|
36699
|
-
};
|
|
36700
|
-
|
|
36701
36514
|
export type UpdateUserData = {
|
|
36702
36515
|
readonly name?: string;
|
|
36703
36516
|
readonly image?: string;
|
|
@@ -36707,14 +36520,6 @@ export type UpdateUserResponse = {
|
|
|
36707
36520
|
readonly user?: User;
|
|
36708
36521
|
};
|
|
36709
36522
|
|
|
36710
|
-
export type VerifyPasswordData = {
|
|
36711
|
-
readonly password: string;
|
|
36712
|
-
};
|
|
36713
|
-
|
|
36714
|
-
export type VerifyPasswordResponse = {
|
|
36715
|
-
readonly status?: boolean;
|
|
36716
|
-
};
|
|
36717
|
-
|
|
36718
36523
|
/** The namespaced call surface. The API version is a property of the client, never a key. */
|
|
36719
36524
|
export type DalpApi = {
|
|
36720
36525
|
readonly account: {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED