@settlemint/dalp-sdk 3.1.7-main.32979789725 → 3.1.7-main.33009485160

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.
@@ -53,6 +53,18 @@ export interface DalpOrganizationMembersQuery {
53
53
  readonly organizationId?: string;
54
54
  readonly organizationSlug?: string;
55
55
  }
56
+ /** Invitation row from Better Auth `listInvitations` / `listUserInvitations`. */
57
+ export interface DalpOrganizationInvitation {
58
+ readonly id: string;
59
+ readonly organizationId: string;
60
+ readonly email: string;
61
+ readonly role?: string;
62
+ readonly status: string;
63
+ readonly expiresAt: string | Date;
64
+ }
65
+ export interface DalpOrganizationInvitationsQuery {
66
+ readonly organizationId?: string;
67
+ }
56
68
  /**
57
69
  * Stable Better Auth operation types composed into `DalpAuthClient`.
58
70
  *
@@ -83,6 +95,10 @@ export interface DalpCliAuthClient {
83
95
  readonly members: ReadonlyArray<DalpOrganizationMember>;
84
96
  readonly total: number;
85
97
  }>;
98
+ readonly listInvitations: DalpAuthOperation<{
99
+ readonly query?: DalpOrganizationInvitationsQuery;
100
+ }, ReadonlyArray<DalpOrganizationInvitation>>;
101
+ readonly listUserInvitations: DalpNoInputAuthOperation<ReadonlyArray<DalpOrganizationInvitation>>;
86
102
  };
87
103
  readonly twoFactor: {
88
104
  readonly enable: DalpRequiredAuthOperation<RequestBody<AuthPostTwoFactorEnableData>, AuthPostTwoFactorEnableResponse>;
package/dist/auth.d.ts CHANGED
@@ -18,5 +18,5 @@ export type { DalpAuthClient } from "./auth/live.ts";
18
18
  export { decodeDalpAuthClientConfig } from "./auth/client.ts";
19
19
  export type { DalpAuthClientConfig,
20
20
  /** @deprecated Prefer `DalpAuthClient` — this is the typed operation surface, not a separate client. */
21
- DalpCliAuthClient, DalpAuthError, DalpAuthOperation, DalpAuthResult, DalpOrganizationMember, DalpOrganizationMembersQuery, DecodedDalpAuthClientConfig, } from "./auth/client.ts";
21
+ DalpCliAuthClient, DalpAuthError, DalpAuthOperation, DalpAuthResult, DalpOrganizationInvitation, DalpOrganizationInvitationsQuery, DalpOrganizationMember, DalpOrganizationMembersQuery, DecodedDalpAuthClientConfig, } from "./auth/client.ts";
22
22
  export type { WalletAuthEndpointPath } from "./auth/wallet-plugins.ts";
package/dist/auth.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  SDK_USER_AGENT,
3
3
  createCookieStoreFetch,
4
4
  makeCookieStore
5
- } from "./chunk-qtnwtw9t.js";
5
+ } from "./chunk-n4y7th7b.js";
6
6
  import {
7
7
  normalizeDalpBaseUrl,
8
8
  secret,
@@ -102,7 +102,7 @@ function createCookieStoreFetch(cookieStore, fetchImpl = globalThis.fetch) {
102
102
  // package.json
103
103
  var package_default = {
104
104
  name: "@settlemint/dalp-sdk",
105
- version: "3.1.7-main.32979789725",
105
+ version: "3.1.7-main.33009485160",
106
106
  private: false,
107
107
  description: "Fully typed SDK for the DALP tokenization platform API",
108
108
  homepage: "https://settlemint.com",
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  SDK_VERSION,
4
4
  createCookieStoreFetch,
5
5
  makeCookieStore
6
- } from "./chunk-qtnwtw9t.js";
6
+ } from "./chunk-n4y7th7b.js";
7
7
  import {
8
8
  clearConditionalRequestStore,
9
9
  createDalpClient,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-sdk",
3
- "version": "3.1.7-main.32979789725",
3
+ "version": "3.1.7-main.33009485160",
4
4
  "private": false,
5
5
  "description": "Fully typed SDK for the DALP tokenization platform API",
6
6
  "homepage": "https://settlemint.com",