@supernova-studio/client 1.82.2 → 1.82.4

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.mjs CHANGED
@@ -8686,8 +8686,13 @@ var WorkspaceConfigurationPayload = z269.object({
8686
8686
 
8687
8687
  // src/api/payloads/workspaces/workspace-integrations.ts
8688
8688
  import { z as z270 } from "zod";
8689
+ var IntegrationOauthPlatform = z270.enum(["Desktop", "Browser"]);
8690
+ var IntegrationOauthCallbackState = z270.enum(["Success", "Error"]);
8689
8691
  var DTOWorkspaceIntegrationOauthInput = z270.object({
8690
- type: IntegrationType
8692
+ type: IntegrationType,
8693
+ platform: IntegrationOauthPlatform.optional().default("Browser"),
8694
+ authId: z270.string().optional()
8695
+ // Allow FE client to distinguish between multiple parallel OAuth flows, useful for desktop where multiple flows can be initiated in parallel
8691
8696
  });
8692
8697
  var DTOWorkspaceIntegrationPATInput = z270.object({
8693
8698
  type: IntegrationType,
@@ -21691,6 +21696,8 @@ export {
21691
21696
  FrontendVersionRoomYDoc,
21692
21697
  GitDestinationOptions,
21693
21698
  ImportJobsEndpoint,
21699
+ IntegrationOauthCallbackState,
21700
+ IntegrationOauthPlatform,
21694
21701
  ListTreeBuilder,
21695
21702
  LiveblocksEndpoint,
21696
21703
  LocalDocsElementActionExecutor,