@supernova-studio/client 1.82.3 → 1.83.0

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 CHANGED
@@ -143458,11 +143458,11 @@ declare const DTOProvisionFeatureSandboxInput: z$1.ZodObject<{
143458
143458
  }>;
143459
143459
  type DTOProvisionFeatureSandboxInput = z$1.infer<typeof DTOProvisionFeatureSandboxInput>;
143460
143460
  declare const DTOProvisionFeatureSandboxResponse: z$1.ZodObject<{
143461
- iterationId: z$1.ZodString;
143461
+ ok: z$1.ZodBoolean;
143462
143462
  }, "strip", z$1.ZodTypeAny, {
143463
- iterationId: string;
143463
+ ok: boolean;
143464
143464
  }, {
143465
- iterationId: string;
143465
+ ok: boolean;
143466
143466
  }>;
143467
143467
  type DTOProvisionFeatureSandboxResponse = z$1.infer<typeof DTOProvisionFeatureSandboxResponse>;
143468
143468
  declare const DTOKeepAliveFeatureSandboxResponse: z$1.ZodObject<{
@@ -377302,6 +377302,19 @@ declare const DTOSubscription: z$1.ZodObject<{
377302
377302
  errorReason: string;
377303
377303
  enabled: boolean;
377304
377304
  }>;
377305
+ customLogin: z$1.ZodObject<{
377306
+ enabled: z$1.ZodBoolean;
377307
+ errorMessage: z$1.ZodString;
377308
+ errorReason: z$1.ZodString;
377309
+ }, "strip", z$1.ZodTypeAny, {
377310
+ errorMessage: string;
377311
+ errorReason: string;
377312
+ enabled: boolean;
377313
+ }, {
377314
+ errorMessage: string;
377315
+ errorReason: string;
377316
+ enabled: boolean;
377317
+ }>;
377305
377318
  npmRegistry: z$1.ZodObject<{
377306
377319
  enabled: z$1.ZodBoolean;
377307
377320
  errorMessage: z$1.ZodString;
@@ -377682,6 +377695,11 @@ declare const DTOSubscription: z$1.ZodObject<{
377682
377695
  errorReason: string;
377683
377696
  enabled: boolean;
377684
377697
  };
377698
+ customLogin: {
377699
+ errorMessage: string;
377700
+ errorReason: string;
377701
+ enabled: boolean;
377702
+ };
377685
377703
  npmRegistry: {
377686
377704
  errorMessage: string;
377687
377705
  errorReason: string;
@@ -377865,6 +377883,11 @@ declare const DTOSubscription: z$1.ZodObject<{
377865
377883
  errorReason: string;
377866
377884
  enabled: boolean;
377867
377885
  };
377886
+ customLogin: {
377887
+ errorMessage: string;
377888
+ errorReason: string;
377889
+ enabled: boolean;
377890
+ };
377868
377891
  npmRegistry: {
377869
377892
  errorMessage: string;
377870
377893
  errorReason: string;
@@ -378156,6 +378179,11 @@ declare const DTOSubscription: z$1.ZodObject<{
378156
378179
  errorReason: string;
378157
378180
  enabled: boolean;
378158
378181
  };
378182
+ customLogin: {
378183
+ errorMessage: string;
378184
+ errorReason: string;
378185
+ enabled: boolean;
378186
+ };
378159
378187
  npmRegistry: {
378160
378188
  errorMessage: string;
378161
378189
  errorReason: string;
@@ -378383,6 +378411,11 @@ declare const DTOSubscription: z$1.ZodObject<{
378383
378411
  errorReason: string;
378384
378412
  enabled: boolean;
378385
378413
  };
378414
+ customLogin: {
378415
+ errorMessage: string;
378416
+ errorReason: string;
378417
+ enabled: boolean;
378418
+ };
378386
378419
  npmRegistry: {
378387
378420
  errorMessage: string;
378388
378421
  errorReason: string;
@@ -378677,6 +378710,19 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
378677
378710
  errorReason: string;
378678
378711
  enabled: boolean;
378679
378712
  }>;
378713
+ customLogin: z$1.ZodObject<{
378714
+ enabled: z$1.ZodBoolean;
378715
+ errorMessage: z$1.ZodString;
378716
+ errorReason: z$1.ZodString;
378717
+ }, "strip", z$1.ZodTypeAny, {
378718
+ errorMessage: string;
378719
+ errorReason: string;
378720
+ enabled: boolean;
378721
+ }, {
378722
+ errorMessage: string;
378723
+ errorReason: string;
378724
+ enabled: boolean;
378725
+ }>;
378680
378726
  npmRegistry: z$1.ZodObject<{
378681
378727
  enabled: z$1.ZodBoolean;
378682
378728
  errorMessage: z$1.ZodString;
@@ -379057,6 +379103,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379057
379103
  errorReason: string;
379058
379104
  enabled: boolean;
379059
379105
  };
379106
+ customLogin: {
379107
+ errorMessage: string;
379108
+ errorReason: string;
379109
+ enabled: boolean;
379110
+ };
379060
379111
  npmRegistry: {
379061
379112
  errorMessage: string;
379062
379113
  errorReason: string;
@@ -379240,6 +379291,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379240
379291
  errorReason: string;
379241
379292
  enabled: boolean;
379242
379293
  };
379294
+ customLogin: {
379295
+ errorMessage: string;
379296
+ errorReason: string;
379297
+ enabled: boolean;
379298
+ };
379243
379299
  npmRegistry: {
379244
379300
  errorMessage: string;
379245
379301
  errorReason: string;
@@ -379531,6 +379587,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379531
379587
  errorReason: string;
379532
379588
  enabled: boolean;
379533
379589
  };
379590
+ customLogin: {
379591
+ errorMessage: string;
379592
+ errorReason: string;
379593
+ enabled: boolean;
379594
+ };
379534
379595
  npmRegistry: {
379535
379596
  errorMessage: string;
379536
379597
  errorReason: string;
@@ -379758,6 +379819,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379758
379819
  errorReason: string;
379759
379820
  enabled: boolean;
379760
379821
  };
379822
+ customLogin: {
379823
+ errorMessage: string;
379824
+ errorReason: string;
379825
+ enabled: boolean;
379826
+ };
379761
379827
  npmRegistry: {
379762
379828
  errorMessage: string;
379763
379829
  errorReason: string;
@@ -380156,6 +380222,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
380156
380222
  errorReason: string;
380157
380223
  enabled: boolean;
380158
380224
  };
380225
+ customLogin: {
380226
+ errorMessage: string;
380227
+ errorReason: string;
380228
+ enabled: boolean;
380229
+ };
380159
380230
  npmRegistry: {
380160
380231
  errorMessage: string;
380161
380232
  errorReason: string;
@@ -380422,6 +380493,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
380422
380493
  errorReason: string;
380423
380494
  enabled: boolean;
380424
380495
  };
380496
+ customLogin: {
380497
+ errorMessage: string;
380498
+ errorReason: string;
380499
+ enabled: boolean;
380500
+ };
380425
380501
  npmRegistry: {
380426
380502
  errorMessage: string;
380427
380503
  errorReason: string;
@@ -386570,12 +386646,15 @@ type IntegrationOauthCallbackState = z.infer<typeof IntegrationOauthCallbackStat
386570
386646
  declare const DTOWorkspaceIntegrationOauthInput: z.ZodObject<{
386571
386647
  type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
386572
386648
  platform: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Desktop", "Browser"]>>>;
386649
+ authId: z.ZodOptional<z.ZodString>;
386573
386650
  }, "strip", z.ZodTypeAny, {
386574
386651
  type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
386575
386652
  platform: "Desktop" | "Browser";
386653
+ authId?: string | undefined;
386576
386654
  }, {
386577
386655
  type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
386578
386656
  platform?: "Desktop" | "Browser" | undefined;
386657
+ authId?: string | undefined;
386579
386658
  }>;
386580
386659
  type DTOWorkspaceIntegrationOauthInput = z.infer<typeof DTOWorkspaceIntegrationOauthInput>;
386581
386660
  declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
@@ -403545,6 +403624,11 @@ declare class WorkspaceSubscriptionEndpoint {
403545
403624
  errorReason: string;
403546
403625
  enabled: boolean;
403547
403626
  };
403627
+ customLogin: {
403628
+ errorMessage: string;
403629
+ errorReason: string;
403630
+ enabled: boolean;
403631
+ };
403548
403632
  npmRegistry: {
403549
403633
  errorMessage: string;
403550
403634
  errorReason: string;
package/dist/index.d.ts CHANGED
@@ -143458,11 +143458,11 @@ declare const DTOProvisionFeatureSandboxInput: z$1.ZodObject<{
143458
143458
  }>;
143459
143459
  type DTOProvisionFeatureSandboxInput = z$1.infer<typeof DTOProvisionFeatureSandboxInput>;
143460
143460
  declare const DTOProvisionFeatureSandboxResponse: z$1.ZodObject<{
143461
- iterationId: z$1.ZodString;
143461
+ ok: z$1.ZodBoolean;
143462
143462
  }, "strip", z$1.ZodTypeAny, {
143463
- iterationId: string;
143463
+ ok: boolean;
143464
143464
  }, {
143465
- iterationId: string;
143465
+ ok: boolean;
143466
143466
  }>;
143467
143467
  type DTOProvisionFeatureSandboxResponse = z$1.infer<typeof DTOProvisionFeatureSandboxResponse>;
143468
143468
  declare const DTOKeepAliveFeatureSandboxResponse: z$1.ZodObject<{
@@ -377302,6 +377302,19 @@ declare const DTOSubscription: z$1.ZodObject<{
377302
377302
  errorReason: string;
377303
377303
  enabled: boolean;
377304
377304
  }>;
377305
+ customLogin: z$1.ZodObject<{
377306
+ enabled: z$1.ZodBoolean;
377307
+ errorMessage: z$1.ZodString;
377308
+ errorReason: z$1.ZodString;
377309
+ }, "strip", z$1.ZodTypeAny, {
377310
+ errorMessage: string;
377311
+ errorReason: string;
377312
+ enabled: boolean;
377313
+ }, {
377314
+ errorMessage: string;
377315
+ errorReason: string;
377316
+ enabled: boolean;
377317
+ }>;
377305
377318
  npmRegistry: z$1.ZodObject<{
377306
377319
  enabled: z$1.ZodBoolean;
377307
377320
  errorMessage: z$1.ZodString;
@@ -377682,6 +377695,11 @@ declare const DTOSubscription: z$1.ZodObject<{
377682
377695
  errorReason: string;
377683
377696
  enabled: boolean;
377684
377697
  };
377698
+ customLogin: {
377699
+ errorMessage: string;
377700
+ errorReason: string;
377701
+ enabled: boolean;
377702
+ };
377685
377703
  npmRegistry: {
377686
377704
  errorMessage: string;
377687
377705
  errorReason: string;
@@ -377865,6 +377883,11 @@ declare const DTOSubscription: z$1.ZodObject<{
377865
377883
  errorReason: string;
377866
377884
  enabled: boolean;
377867
377885
  };
377886
+ customLogin: {
377887
+ errorMessage: string;
377888
+ errorReason: string;
377889
+ enabled: boolean;
377890
+ };
377868
377891
  npmRegistry: {
377869
377892
  errorMessage: string;
377870
377893
  errorReason: string;
@@ -378156,6 +378179,11 @@ declare const DTOSubscription: z$1.ZodObject<{
378156
378179
  errorReason: string;
378157
378180
  enabled: boolean;
378158
378181
  };
378182
+ customLogin: {
378183
+ errorMessage: string;
378184
+ errorReason: string;
378185
+ enabled: boolean;
378186
+ };
378159
378187
  npmRegistry: {
378160
378188
  errorMessage: string;
378161
378189
  errorReason: string;
@@ -378383,6 +378411,11 @@ declare const DTOSubscription: z$1.ZodObject<{
378383
378411
  errorReason: string;
378384
378412
  enabled: boolean;
378385
378413
  };
378414
+ customLogin: {
378415
+ errorMessage: string;
378416
+ errorReason: string;
378417
+ enabled: boolean;
378418
+ };
378386
378419
  npmRegistry: {
378387
378420
  errorMessage: string;
378388
378421
  errorReason: string;
@@ -378677,6 +378710,19 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
378677
378710
  errorReason: string;
378678
378711
  enabled: boolean;
378679
378712
  }>;
378713
+ customLogin: z$1.ZodObject<{
378714
+ enabled: z$1.ZodBoolean;
378715
+ errorMessage: z$1.ZodString;
378716
+ errorReason: z$1.ZodString;
378717
+ }, "strip", z$1.ZodTypeAny, {
378718
+ errorMessage: string;
378719
+ errorReason: string;
378720
+ enabled: boolean;
378721
+ }, {
378722
+ errorMessage: string;
378723
+ errorReason: string;
378724
+ enabled: boolean;
378725
+ }>;
378680
378726
  npmRegistry: z$1.ZodObject<{
378681
378727
  enabled: z$1.ZodBoolean;
378682
378728
  errorMessage: z$1.ZodString;
@@ -379057,6 +379103,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379057
379103
  errorReason: string;
379058
379104
  enabled: boolean;
379059
379105
  };
379106
+ customLogin: {
379107
+ errorMessage: string;
379108
+ errorReason: string;
379109
+ enabled: boolean;
379110
+ };
379060
379111
  npmRegistry: {
379061
379112
  errorMessage: string;
379062
379113
  errorReason: string;
@@ -379240,6 +379291,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379240
379291
  errorReason: string;
379241
379292
  enabled: boolean;
379242
379293
  };
379294
+ customLogin: {
379295
+ errorMessage: string;
379296
+ errorReason: string;
379297
+ enabled: boolean;
379298
+ };
379243
379299
  npmRegistry: {
379244
379300
  errorMessage: string;
379245
379301
  errorReason: string;
@@ -379531,6 +379587,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379531
379587
  errorReason: string;
379532
379588
  enabled: boolean;
379533
379589
  };
379590
+ customLogin: {
379591
+ errorMessage: string;
379592
+ errorReason: string;
379593
+ enabled: boolean;
379594
+ };
379534
379595
  npmRegistry: {
379535
379596
  errorMessage: string;
379536
379597
  errorReason: string;
@@ -379758,6 +379819,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
379758
379819
  errorReason: string;
379759
379820
  enabled: boolean;
379760
379821
  };
379822
+ customLogin: {
379823
+ errorMessage: string;
379824
+ errorReason: string;
379825
+ enabled: boolean;
379826
+ };
379761
379827
  npmRegistry: {
379762
379828
  errorMessage: string;
379763
379829
  errorReason: string;
@@ -380156,6 +380222,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
380156
380222
  errorReason: string;
380157
380223
  enabled: boolean;
380158
380224
  };
380225
+ customLogin: {
380226
+ errorMessage: string;
380227
+ errorReason: string;
380228
+ enabled: boolean;
380229
+ };
380159
380230
  npmRegistry: {
380160
380231
  errorMessage: string;
380161
380232
  errorReason: string;
@@ -380422,6 +380493,11 @@ declare const DTOSubscriptionResponse: z$1.ZodObject<{
380422
380493
  errorReason: string;
380423
380494
  enabled: boolean;
380424
380495
  };
380496
+ customLogin: {
380497
+ errorMessage: string;
380498
+ errorReason: string;
380499
+ enabled: boolean;
380500
+ };
380425
380501
  npmRegistry: {
380426
380502
  errorMessage: string;
380427
380503
  errorReason: string;
@@ -386570,12 +386646,15 @@ type IntegrationOauthCallbackState = z.infer<typeof IntegrationOauthCallbackStat
386570
386646
  declare const DTOWorkspaceIntegrationOauthInput: z.ZodObject<{
386571
386647
  type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
386572
386648
  platform: z.ZodDefault<z.ZodOptional<z.ZodEnum<["Desktop", "Browser"]>>>;
386649
+ authId: z.ZodOptional<z.ZodString>;
386573
386650
  }, "strip", z.ZodTypeAny, {
386574
386651
  type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
386575
386652
  platform: "Desktop" | "Browser";
386653
+ authId?: string | undefined;
386576
386654
  }, {
386577
386655
  type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
386578
386656
  platform?: "Desktop" | "Browser" | undefined;
386657
+ authId?: string | undefined;
386579
386658
  }>;
386580
386659
  type DTOWorkspaceIntegrationOauthInput = z.infer<typeof DTOWorkspaceIntegrationOauthInput>;
386581
386660
  declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
@@ -403545,6 +403624,11 @@ declare class WorkspaceSubscriptionEndpoint {
403545
403624
  errorReason: string;
403546
403625
  enabled: boolean;
403547
403626
  };
403627
+ customLogin: {
403628
+ errorMessage: string;
403629
+ errorReason: string;
403630
+ enabled: boolean;
403631
+ };
403548
403632
  npmRegistry: {
403549
403633
  errorMessage: string;
403550
403634
  errorReason: string;
package/dist/index.js CHANGED
@@ -136,6 +136,7 @@ var FeaturesSummary = _zod.z.object({
136
136
  designSystemSourceAutoImport: featureToggleSchema,
137
137
  designSystemSlug: featureToggleSchema,
138
138
  ipWhitelisting: featureToggleSchema,
139
+ customLogin: featureToggleSchema,
139
140
  npmRegistry: featureToggleSchema,
140
141
  sso: featureToggleSchema,
141
142
  workspacePaidSeats: featureLimitedSchema,
@@ -8690,7 +8691,9 @@ var IntegrationOauthPlatform = _zod.z.enum(["Desktop", "Browser"]);
8690
8691
  var IntegrationOauthCallbackState = _zod.z.enum(["Success", "Error"]);
8691
8692
  var DTOWorkspaceIntegrationOauthInput = _zod.z.object({
8692
8693
  type: IntegrationType,
8693
- platform: IntegrationOauthPlatform.optional().default("Browser")
8694
+ platform: IntegrationOauthPlatform.optional().default("Browser"),
8695
+ authId: _zod.z.string().optional()
8696
+ // Allow FE client to distinguish between multiple parallel OAuth flows, useful for desktop where multiple flows can be initiated in parallel
8694
8697
  });
8695
8698
  var DTOWorkspaceIntegrationPATInput = _zod.z.object({
8696
8699
  type: IntegrationType,
@@ -10367,7 +10370,7 @@ var DTOProvisionFeatureSandboxInput = _zod2.default.object({
10367
10370
  parentMessageId: _zod2.default.string().optional()
10368
10371
  });
10369
10372
  var DTOProvisionFeatureSandboxResponse = _zod2.default.object({
10370
- iterationId: _zod2.default.string()
10373
+ ok: _zod2.default.boolean()
10371
10374
  });
10372
10375
  var DTOKeepAliveFeatureSandboxResponse = _zod2.default.object({
10373
10376
  sandbox: DTOFeatureSandbox