@supernova-studio/client 1.82.3 → 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.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -386570,12 +386570,15 @@ type IntegrationOauthCallbackState = z.infer<typeof IntegrationOauthCallbackStat
|
|
|
386570
386570
|
declare const DTOWorkspaceIntegrationOauthInput: z.ZodObject<{
|
|
386571
386571
|
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
|
|
386572
386572
|
platform: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Desktop", "Browser"]>>>;
|
|
386573
|
+
authId: z.ZodOptional<z.ZodString>;
|
|
386573
386574
|
}, "strip", z.ZodTypeAny, {
|
|
386574
386575
|
type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
|
|
386575
386576
|
platform: "Desktop" | "Browser";
|
|
386577
|
+
authId?: string | undefined;
|
|
386576
386578
|
}, {
|
|
386577
386579
|
type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
|
|
386578
386580
|
platform?: "Desktop" | "Browser" | undefined;
|
|
386581
|
+
authId?: string | undefined;
|
|
386579
386582
|
}>;
|
|
386580
386583
|
type DTOWorkspaceIntegrationOauthInput = z.infer<typeof DTOWorkspaceIntegrationOauthInput>;
|
|
386581
386584
|
declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -386570,12 +386570,15 @@ type IntegrationOauthCallbackState = z.infer<typeof IntegrationOauthCallbackStat
|
|
|
386570
386570
|
declare const DTOWorkspaceIntegrationOauthInput: z.ZodObject<{
|
|
386571
386571
|
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
|
|
386572
386572
|
platform: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Desktop", "Browser"]>>>;
|
|
386573
|
+
authId: z.ZodOptional<z.ZodString>;
|
|
386573
386574
|
}, "strip", z.ZodTypeAny, {
|
|
386574
386575
|
type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
|
|
386575
386576
|
platform: "Desktop" | "Browser";
|
|
386577
|
+
authId?: string | undefined;
|
|
386576
386578
|
}, {
|
|
386577
386579
|
type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
|
|
386578
386580
|
platform?: "Desktop" | "Browser" | undefined;
|
|
386581
|
+
authId?: string | undefined;
|
|
386579
386582
|
}>;
|
|
386580
386583
|
type DTOWorkspaceIntegrationOauthInput = z.infer<typeof DTOWorkspaceIntegrationOauthInput>;
|
|
386581
386584
|
declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -8690,7 +8690,9 @@ var IntegrationOauthPlatform = _zod.z.enum(["Desktop", "Browser"]);
|
|
|
8690
8690
|
var IntegrationOauthCallbackState = _zod.z.enum(["Success", "Error"]);
|
|
8691
8691
|
var DTOWorkspaceIntegrationOauthInput = _zod.z.object({
|
|
8692
8692
|
type: IntegrationType,
|
|
8693
|
-
platform: IntegrationOauthPlatform.optional().default("Browser")
|
|
8693
|
+
platform: IntegrationOauthPlatform.optional().default("Browser"),
|
|
8694
|
+
authId: _zod.z.string().optional()
|
|
8695
|
+
// Allow FE client to distinguish between multiple parallel OAuth flows, useful for desktop where multiple flows can be initiated in parallel
|
|
8694
8696
|
});
|
|
8695
8697
|
var DTOWorkspaceIntegrationPATInput = _zod.z.object({
|
|
8696
8698
|
type: IntegrationType,
|