@avallon-labs/sdk 46.2.0 → 47.0.0-staging.1065

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/index.d.ts CHANGED
@@ -4521,7 +4521,6 @@ interface GetOAuthUrlEnvelope {
4521
4521
  type GetOAuthUrlProvider = (typeof GetOAuthUrlProvider)[keyof typeof GetOAuthUrlProvider];
4522
4522
  declare const GetOAuthUrlProvider: {
4523
4523
  readonly google: "google";
4524
- readonly microsoft: "microsoft";
4525
4524
  readonly sso: "sso";
4526
4525
  };
4527
4526
 
@@ -8768,7 +8767,7 @@ type SignInBody = {
8768
8767
  * @minLength 1
8769
8768
  */
8770
8769
  verifier?: string;
8771
- provider?: "google" | "microsoft" | "sso";
8770
+ provider?: "google" | "sso";
8772
8771
  } | {
8773
8772
  type: "email_otp";
8774
8773
  email: string;
@@ -10467,7 +10466,7 @@ declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
10467
10466
  /**
10468
10467
  * Generate an OAuth authorization URL for a given provider.
10469
10468
 
10470
- PKCE is optional. To use it, generate a random verifier, derive `code_challenge` from it, and pass both `code_challenge` and the matching `code_challenge_method` — then send the verifier to **Sign in** when exchanging the code. Omit both to run the flow without PKCE and exchange the code on its own. `provider=microsoft` is PKCE-only: it responds 400 without a challenge.
10469
+ PKCE is optional. To use it, generate a random verifier, derive `code_challenge` from it, and pass both `code_challenge` and the matching `code_challenge_method` — then send the verifier to **Sign in** when exchanging the code. Omit both to run the flow without PKCE and exchange the code on its own.
10471
10470
 
10472
10471
  For enterprise SSO, pass `provider=sso` together with the user's `email`; the email domain selects the SSO organization. Responds 404 when no SSO organization is configured for the domain.
10473
10472
  * @summary Get OAuth sign-in URL
@@ -10494,9 +10493,8 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
10494
10493
  swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
10495
10494
  };
10496
10495
  /**
10497
- * Exchange an identity token (Supabase or WorkOS) for a tenant-scoped Core Plane access token.
10496
+ * Exchange an identity token for a tenant-scoped Core Plane access token.
10498
10497
 
10499
- - The endpoint detects the token's issuer and verifies it against the matching provider.
10500
10498
  - If `tenant_id` is provided, validates the user is a member of that tenant and returns 404 if they are not.
10501
10499
  - If `tenant_id` is omitted, selects the tenant of the identity token's organization, falling back to the user's default (oldest) tenant.
10502
10500
  - Call this endpoint again with a different `tenant_id` to switch tenants.
package/dist/index.js CHANGED
@@ -5145,7 +5145,6 @@ var GetOAuthUrlCodeChallengeMethod = {
5145
5145
  // generated/models/getOAuthUrlProvider.ts
5146
5146
  var GetOAuthUrlProvider = {
5147
5147
  google: "google",
5148
- microsoft: "microsoft",
5149
5148
  sso: "sso"
5150
5149
  };
5151
5150