@supernova-studio/client 1.48.9 → 1.48.11

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
@@ -646,6 +646,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
646
646
  effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
647
647
  seatType: z.ZodEnum<["Full", "Builder", "None"]>;
648
648
  effectiveSeatType: z.ZodEnum<["Full", "Builder", "None"]>;
649
+ isDeactivated: z.ZodBoolean;
649
650
  }, "strip", z.ZodTypeAny, {
650
651
  workspace: {
651
652
  id: string;
@@ -725,6 +726,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
725
726
  } | undefined;
726
727
  aiCustomInstruction?: string | undefined;
727
728
  };
729
+ isDeactivated: boolean;
728
730
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
729
731
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
730
732
  seatType: "Full" | "Builder" | "None";
@@ -808,6 +810,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
808
810
  aiAskFeaturesEnabled?: boolean | undefined;
809
811
  aiCustomInstruction?: string | undefined;
810
812
  };
813
+ isDeactivated: boolean;
811
814
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
812
815
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
813
816
  seatType: "Full" | "Builder" | "None";
@@ -1122,6 +1125,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1122
1125
  } | undefined;
1123
1126
  aiCustomInstruction?: string | undefined;
1124
1127
  };
1128
+ isDeactivated: boolean;
1125
1129
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
1126
1130
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
1127
1131
  seatType: "Full" | "Builder" | "None";
@@ -1258,6 +1262,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1258
1262
  aiAskFeaturesEnabled?: boolean | undefined;
1259
1263
  aiCustomInstruction?: string | undefined;
1260
1264
  };
1265
+ isDeactivated: boolean;
1261
1266
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
1262
1267
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
1263
1268
  seatType: "Full" | "Builder" | "None";
@@ -9178,11 +9183,14 @@ declare const DTODesignSystemMember: z.ZodObject<{
9178
9183
  * undefined if set to inherit from workspace
9179
9184
  */
9180
9185
  designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
9186
+ isDeactivated: z.ZodBoolean;
9181
9187
  }, "strip", z.ZodTypeAny, {
9182
9188
  userId: string;
9189
+ isDeactivated: boolean;
9183
9190
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
9184
9191
  }, {
9185
9192
  userId: string;
9193
+ isDeactivated: boolean;
9186
9194
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
9187
9195
  }>;
9188
9196
  type DTODesignSystemMember = z.infer<typeof DTODesignSystemMember>;
@@ -9212,11 +9220,14 @@ declare const DTODesignSystemMemberListResponse: z.ZodObject<{
9212
9220
  * undefined if set to inherit from workspace
9213
9221
  */
9214
9222
  designSystemRole: z.ZodOptional<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
9223
+ isDeactivated: z.ZodBoolean;
9215
9224
  }, "strip", z.ZodTypeAny, {
9216
9225
  userId: string;
9226
+ isDeactivated: boolean;
9217
9227
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
9218
9228
  }, {
9219
9229
  userId: string;
9230
+ isDeactivated: boolean;
9220
9231
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
9221
9232
  }>, "many">;
9222
9233
  invitations: z.ZodArray<z.ZodObject<{
@@ -9239,6 +9250,7 @@ declare const DTODesignSystemMemberListResponse: z.ZodObject<{
9239
9250
  }, "strip", z.ZodTypeAny, {
9240
9251
  members: {
9241
9252
  userId: string;
9253
+ isDeactivated: boolean;
9242
9254
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
9243
9255
  }[];
9244
9256
  invitations: {
@@ -9249,6 +9261,7 @@ declare const DTODesignSystemMemberListResponse: z.ZodObject<{
9249
9261
  }, {
9250
9262
  members: {
9251
9263
  userId: string;
9264
+ isDeactivated: boolean;
9252
9265
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
9253
9266
  }[];
9254
9267
  invitations: {
@@ -158349,6 +158362,7 @@ declare const DTOForgeProjectMember: z.ZodObject<{
158349
158362
  };
158350
158363
  }>;
158351
158364
  effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
158365
+ isDeactivated: z.ZodBoolean;
158352
158366
  }, "strip", z.ZodTypeAny, {
158353
158367
  user: {
158354
158368
  id: string;
@@ -158360,6 +158374,7 @@ declare const DTOForgeProjectMember: z.ZodObject<{
158360
158374
  };
158361
158375
  };
158362
158376
  userId: string;
158377
+ isDeactivated: boolean;
158363
158378
  role: "Admin" | "Viewer" | "Builder";
158364
158379
  effectiveRole: "Admin" | "Viewer" | "Builder";
158365
158380
  forgeProjectId: string;
@@ -158376,6 +158391,7 @@ declare const DTOForgeProjectMember: z.ZodObject<{
158376
158391
  };
158377
158392
  };
158378
158393
  userId: string;
158394
+ isDeactivated: boolean;
158379
158395
  role: "Admin" | "Viewer" | "Builder";
158380
158396
  effectiveRole: "Admin" | "Viewer" | "Builder";
158381
158397
  forgeProjectId: string;
@@ -158424,6 +158440,7 @@ declare const DTOCreateForgeProjectMember: z.ZodObject<Pick<{
158424
158440
  };
158425
158441
  }>;
158426
158442
  effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
158443
+ isDeactivated: z.ZodBoolean;
158427
158444
  }, "userId" | "role">, "strip", z.ZodTypeAny, {
158428
158445
  userId: string;
158429
158446
  role: "Admin" | "Viewer" | "Builder";
@@ -158473,6 +158490,7 @@ declare const DTOUpdateForgeProjectMember: z.ZodObject<Pick<{
158473
158490
  };
158474
158491
  }>;
158475
158492
  effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
158493
+ isDeactivated: z.ZodBoolean;
158476
158494
  }, "userId" | "role">, "strip", z.ZodTypeAny, {
158477
158495
  userId: string;
158478
158496
  role: "Admin" | "Viewer" | "Builder";
@@ -158522,6 +158540,7 @@ declare const DTORemoveForgeProjectMember: z.ZodObject<Pick<{
158522
158540
  };
158523
158541
  }>;
158524
158542
  effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
158543
+ isDeactivated: z.ZodBoolean;
158525
158544
  }, "userId">, "strip", z.ZodTypeAny, {
158526
158545
  userId: string;
158527
158546
  }, {
@@ -158570,6 +158589,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
158570
158589
  };
158571
158590
  }>;
158572
158591
  effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
158592
+ isDeactivated: z.ZodBoolean;
158573
158593
  }, "strip", z.ZodTypeAny, {
158574
158594
  user: {
158575
158595
  id: string;
@@ -158581,6 +158601,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
158581
158601
  };
158582
158602
  };
158583
158603
  userId: string;
158604
+ isDeactivated: boolean;
158584
158605
  role: "Admin" | "Viewer" | "Builder";
158585
158606
  effectiveRole: "Admin" | "Viewer" | "Builder";
158586
158607
  forgeProjectId: string;
@@ -158597,6 +158618,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
158597
158618
  };
158598
158619
  };
158599
158620
  userId: string;
158621
+ isDeactivated: boolean;
158600
158622
  role: "Admin" | "Viewer" | "Builder";
158601
158623
  effectiveRole: "Admin" | "Viewer" | "Builder";
158602
158624
  forgeProjectId: string;
@@ -158640,6 +158662,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
158640
158662
  };
158641
158663
  };
158642
158664
  userId: string;
158665
+ isDeactivated: boolean;
158643
158666
  role: "Admin" | "Viewer" | "Builder";
158644
158667
  effectiveRole: "Admin" | "Viewer" | "Builder";
158645
158668
  forgeProjectId: string;
@@ -158667,6 +158690,7 @@ declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
158667
158690
  };
158668
158691
  };
158669
158692
  userId: string;
158693
+ isDeactivated: boolean;
158670
158694
  role: "Admin" | "Viewer" | "Builder";
158671
158695
  effectiveRole: "Admin" | "Viewer" | "Builder";
158672
158696
  forgeProjectId: string;
@@ -158726,6 +158750,7 @@ declare const DTOForgeProjectMemberGetResponse: z.ZodObject<{
158726
158750
  };
158727
158751
  }>;
158728
158752
  effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
158753
+ isDeactivated: z.ZodBoolean;
158729
158754
  }, "strip", z.ZodTypeAny, {
158730
158755
  user: {
158731
158756
  id: string;
@@ -158737,6 +158762,7 @@ declare const DTOForgeProjectMemberGetResponse: z.ZodObject<{
158737
158762
  };
158738
158763
  };
158739
158764
  userId: string;
158765
+ isDeactivated: boolean;
158740
158766
  role: "Admin" | "Viewer" | "Builder";
158741
158767
  effectiveRole: "Admin" | "Viewer" | "Builder";
158742
158768
  forgeProjectId: string;
@@ -158753,6 +158779,7 @@ declare const DTOForgeProjectMemberGetResponse: z.ZodObject<{
158753
158779
  };
158754
158780
  };
158755
158781
  userId: string;
158782
+ isDeactivated: boolean;
158756
158783
  role: "Admin" | "Viewer" | "Builder";
158757
158784
  effectiveRole: "Admin" | "Viewer" | "Builder";
158758
158785
  forgeProjectId: string;
@@ -158771,6 +158798,7 @@ declare const DTOForgeProjectMemberGetResponse: z.ZodObject<{
158771
158798
  };
158772
158799
  };
158773
158800
  userId: string;
158801
+ isDeactivated: boolean;
158774
158802
  role: "Admin" | "Viewer" | "Builder";
158775
158803
  effectiveRole: "Admin" | "Viewer" | "Builder";
158776
158804
  forgeProjectId: string;
@@ -158789,6 +158817,7 @@ declare const DTOForgeProjectMemberGetResponse: z.ZodObject<{
158789
158817
  };
158790
158818
  };
158791
158819
  userId: string;
158820
+ isDeactivated: boolean;
158792
158821
  role: "Admin" | "Viewer" | "Builder";
158793
158822
  effectiveRole: "Admin" | "Viewer" | "Builder";
158794
158823
  forgeProjectId: string;
@@ -158839,6 +158868,7 @@ declare const DTOForgeProjectMemberCreateResponse: z.ZodObject<{
158839
158868
  };
158840
158869
  }>;
158841
158870
  effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
158871
+ isDeactivated: z.ZodBoolean;
158842
158872
  }, "strip", z.ZodTypeAny, {
158843
158873
  user: {
158844
158874
  id: string;
@@ -158850,6 +158880,7 @@ declare const DTOForgeProjectMemberCreateResponse: z.ZodObject<{
158850
158880
  };
158851
158881
  };
158852
158882
  userId: string;
158883
+ isDeactivated: boolean;
158853
158884
  role: "Admin" | "Viewer" | "Builder";
158854
158885
  effectiveRole: "Admin" | "Viewer" | "Builder";
158855
158886
  forgeProjectId: string;
@@ -158866,6 +158897,7 @@ declare const DTOForgeProjectMemberCreateResponse: z.ZodObject<{
158866
158897
  };
158867
158898
  };
158868
158899
  userId: string;
158900
+ isDeactivated: boolean;
158869
158901
  role: "Admin" | "Viewer" | "Builder";
158870
158902
  effectiveRole: "Admin" | "Viewer" | "Builder";
158871
158903
  forgeProjectId: string;
@@ -158884,6 +158916,7 @@ declare const DTOForgeProjectMemberCreateResponse: z.ZodObject<{
158884
158916
  };
158885
158917
  };
158886
158918
  userId: string;
158919
+ isDeactivated: boolean;
158887
158920
  role: "Admin" | "Viewer" | "Builder";
158888
158921
  effectiveRole: "Admin" | "Viewer" | "Builder";
158889
158922
  forgeProjectId: string;
@@ -158902,6 +158935,7 @@ declare const DTOForgeProjectMemberCreateResponse: z.ZodObject<{
158902
158935
  };
158903
158936
  };
158904
158937
  userId: string;
158938
+ isDeactivated: boolean;
158905
158939
  role: "Admin" | "Viewer" | "Builder";
158906
158940
  effectiveRole: "Admin" | "Viewer" | "Builder";
158907
158941
  forgeProjectId: string;
@@ -158952,6 +158986,7 @@ declare const DTOForgeProjectMemberUpdateResponse: z.ZodObject<{
158952
158986
  };
158953
158987
  }>;
158954
158988
  effectiveRole: z.ZodEnum<["Viewer", "Builder", "Admin"]>;
158989
+ isDeactivated: z.ZodBoolean;
158955
158990
  }, "strip", z.ZodTypeAny, {
158956
158991
  user: {
158957
158992
  id: string;
@@ -158963,6 +158998,7 @@ declare const DTOForgeProjectMemberUpdateResponse: z.ZodObject<{
158963
158998
  };
158964
158999
  };
158965
159000
  userId: string;
159001
+ isDeactivated: boolean;
158966
159002
  role: "Admin" | "Viewer" | "Builder";
158967
159003
  effectiveRole: "Admin" | "Viewer" | "Builder";
158968
159004
  forgeProjectId: string;
@@ -158979,6 +159015,7 @@ declare const DTOForgeProjectMemberUpdateResponse: z.ZodObject<{
158979
159015
  };
158980
159016
  };
158981
159017
  userId: string;
159018
+ isDeactivated: boolean;
158982
159019
  role: "Admin" | "Viewer" | "Builder";
158983
159020
  effectiveRole: "Admin" | "Viewer" | "Builder";
158984
159021
  forgeProjectId: string;
@@ -158997,6 +159034,7 @@ declare const DTOForgeProjectMemberUpdateResponse: z.ZodObject<{
158997
159034
  };
158998
159035
  };
158999
159036
  userId: string;
159037
+ isDeactivated: boolean;
159000
159038
  role: "Admin" | "Viewer" | "Builder";
159001
159039
  effectiveRole: "Admin" | "Viewer" | "Builder";
159002
159040
  forgeProjectId: string;
@@ -159015,6 +159053,7 @@ declare const DTOForgeProjectMemberUpdateResponse: z.ZodObject<{
159015
159053
  };
159016
159054
  };
159017
159055
  userId: string;
159056
+ isDeactivated: boolean;
159018
159057
  role: "Admin" | "Viewer" | "Builder";
159019
159058
  effectiveRole: "Admin" | "Viewer" | "Builder";
159020
159059
  forgeProjectId: string;
@@ -207026,7 +207065,6 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
207026
207065
  }, {
207027
207066
  type: "FunctionCallOutput";
207028
207067
  }>]>>;
207029
- opikTraceId: z.ZodOptional<z.ZodString>;
207030
207068
  }, "strip", z.ZodTypeAny, {
207031
207069
  payload: string;
207032
207070
  sender?: {
@@ -207042,7 +207080,6 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
207042
207080
  } | {
207043
207081
  type: "FunctionCallOutput";
207044
207082
  } | undefined;
207045
- opikTraceId?: string | undefined;
207046
207083
  }, {
207047
207084
  payload: string;
207048
207085
  sender?: {
@@ -207058,7 +207095,6 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
207058
207095
  } | {
207059
207096
  type: "FunctionCallOutput";
207060
207097
  } | undefined;
207061
- opikTraceId?: string | undefined;
207062
207098
  }>;
207063
207099
  type DTOForgeChatMessageCreateInput = z.infer<typeof DTOForgeChatMessageCreateInput>;
207064
207100
  /**
@@ -234275,6 +234311,7 @@ declare const DTOWorkspaceInvitationUpdateResponse: z.ZodObject<{
234275
234311
  type DTOWorkspaceInvitationUpdateResponse = z.infer<typeof DTOWorkspaceInvitationUpdateResponse>;
234276
234312
 
234277
234313
  declare const DTOUserWorkspaceMembership: z.ZodObject<{
234314
+ /** Workspace the user is a member of */
234278
234315
  workspace: z.ZodObject<{
234279
234316
  id: z.ZodString;
234280
234317
  profile: z.ZodObject<{
@@ -234705,10 +234742,18 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
234705
234742
  aiAskFeaturesEnabled?: boolean | undefined;
234706
234743
  aiCustomInstruction?: string | undefined;
234707
234744
  }>;
234745
+ /** Assigned and stored role the user has in the workspace */
234708
234746
  role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
234747
+ /** Role that determines actual permissions the user has in the workspace
234748
+ * E.g. this is different from the default role when editors are downgraded to viewers
234749
+ * when a workspace's subscription is downgraded to free tier
234750
+ */
234709
234751
  effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
234752
+ /** Assigned and stored seat type the user has in the workspace */
234710
234753
  seatType: z.ZodEnum<["Full", "Builder", "None"]>;
234754
+ /** Seat type that determines actual permissions the user has in the workspace. */
234711
234755
  effectiveSeatType: z.ZodEnum<["Full", "Builder", "None"]>;
234756
+ isDeactivated: z.ZodBoolean;
234712
234757
  }, "strip", z.ZodTypeAny, {
234713
234758
  workspace: {
234714
234759
  id: string;
@@ -234788,6 +234833,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
234788
234833
  } | undefined;
234789
234834
  aiCustomInstruction?: string | undefined;
234790
234835
  };
234836
+ isDeactivated: boolean;
234791
234837
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
234792
234838
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
234793
234839
  seatType: "Full" | "Builder" | "None";
@@ -234871,6 +234917,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
234871
234917
  aiAskFeaturesEnabled?: boolean | undefined;
234872
234918
  aiCustomInstruction?: string | undefined;
234873
234919
  };
234920
+ isDeactivated: boolean;
234874
234921
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
234875
234922
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
234876
234923
  seatType: "Full" | "Builder" | "None";
@@ -235204,6 +235251,7 @@ declare const DTOWorkspaceMember: z.ZodObject<{
235204
235251
  effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
235205
235252
  seatType: z.ZodEnum<["Full", "Builder", "None"]>;
235206
235253
  effectiveSeatType: z.ZodEnum<["Full", "Builder", "None"]>;
235254
+ isDeactivated: z.ZodBoolean;
235207
235255
  }, "strip", z.ZodTypeAny, {
235208
235256
  user: {
235209
235257
  email: string;
@@ -235255,6 +235303,7 @@ declare const DTOWorkspaceMember: z.ZodObject<{
235255
235303
  marketingEmails: boolean;
235256
235304
  } | undefined;
235257
235305
  };
235306
+ isDeactivated: boolean;
235258
235307
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
235259
235308
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
235260
235309
  seatType: "Full" | "Builder" | "None";
@@ -235311,6 +235360,7 @@ declare const DTOWorkspaceMember: z.ZodObject<{
235311
235360
  marketingEmails: boolean;
235312
235361
  } | undefined;
235313
235362
  };
235363
+ isDeactivated: boolean;
235314
235364
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
235315
235365
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
235316
235366
  seatType: "Full" | "Builder" | "None";
@@ -235320,6 +235370,7 @@ declare const DTOWorkspaceMember: z.ZodObject<{
235320
235370
  type DTOWorkspaceMember = z.infer<typeof DTOWorkspaceMember>;
235321
235371
  declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
235322
235372
  membership: z.ZodArray<z.ZodObject<{
235373
+ /** Workspace the user is a member of */
235323
235374
  workspace: z.ZodObject<{
235324
235375
  id: z.ZodString;
235325
235376
  profile: z.ZodObject<{
@@ -235750,10 +235801,18 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
235750
235801
  aiAskFeaturesEnabled?: boolean | undefined;
235751
235802
  aiCustomInstruction?: string | undefined;
235752
235803
  }>;
235804
+ /** Assigned and stored role the user has in the workspace */
235753
235805
  role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
235806
+ /** Role that determines actual permissions the user has in the workspace
235807
+ * E.g. this is different from the default role when editors are downgraded to viewers
235808
+ * when a workspace's subscription is downgraded to free tier
235809
+ */
235754
235810
  effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
235811
+ /** Assigned and stored seat type the user has in the workspace */
235755
235812
  seatType: z.ZodEnum<["Full", "Builder", "None"]>;
235813
+ /** Seat type that determines actual permissions the user has in the workspace. */
235756
235814
  effectiveSeatType: z.ZodEnum<["Full", "Builder", "None"]>;
235815
+ isDeactivated: z.ZodBoolean;
235757
235816
  }, "strip", z.ZodTypeAny, {
235758
235817
  workspace: {
235759
235818
  id: string;
@@ -235833,6 +235892,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
235833
235892
  } | undefined;
235834
235893
  aiCustomInstruction?: string | undefined;
235835
235894
  };
235895
+ isDeactivated: boolean;
235836
235896
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
235837
235897
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
235838
235898
  seatType: "Full" | "Builder" | "None";
@@ -235916,6 +235976,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
235916
235976
  aiAskFeaturesEnabled?: boolean | undefined;
235917
235977
  aiCustomInstruction?: string | undefined;
235918
235978
  };
235979
+ isDeactivated: boolean;
235919
235980
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
235920
235981
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
235921
235982
  seatType: "Full" | "Builder" | "None";
@@ -236001,6 +236062,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
236001
236062
  } | undefined;
236002
236063
  aiCustomInstruction?: string | undefined;
236003
236064
  };
236065
+ isDeactivated: boolean;
236004
236066
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236005
236067
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236006
236068
  seatType: "Full" | "Builder" | "None";
@@ -236086,6 +236148,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
236086
236148
  aiAskFeaturesEnabled?: boolean | undefined;
236087
236149
  aiCustomInstruction?: string | undefined;
236088
236150
  };
236151
+ isDeactivated: boolean;
236089
236152
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236090
236153
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236091
236154
  seatType: "Full" | "Builder" | "None";
@@ -236421,6 +236484,7 @@ declare const DTOWorkspaceMembersListResponse: z.ZodObject<{
236421
236484
  effectiveRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
236422
236485
  seatType: z.ZodEnum<["Full", "Builder", "None"]>;
236423
236486
  effectiveSeatType: z.ZodEnum<["Full", "Builder", "None"]>;
236487
+ isDeactivated: z.ZodBoolean;
236424
236488
  }, "strip", z.ZodTypeAny, {
236425
236489
  user: {
236426
236490
  email: string;
@@ -236472,6 +236536,7 @@ declare const DTOWorkspaceMembersListResponse: z.ZodObject<{
236472
236536
  marketingEmails: boolean;
236473
236537
  } | undefined;
236474
236538
  };
236539
+ isDeactivated: boolean;
236475
236540
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236476
236541
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236477
236542
  seatType: "Full" | "Builder" | "None";
@@ -236528,6 +236593,7 @@ declare const DTOWorkspaceMembersListResponse: z.ZodObject<{
236528
236593
  marketingEmails: boolean;
236529
236594
  } | undefined;
236530
236595
  };
236596
+ isDeactivated: boolean;
236531
236597
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236532
236598
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236533
236599
  seatType: "Full" | "Builder" | "None";
@@ -236586,6 +236652,7 @@ declare const DTOWorkspaceMembersListResponse: z.ZodObject<{
236586
236652
  marketingEmails: boolean;
236587
236653
  } | undefined;
236588
236654
  };
236655
+ isDeactivated: boolean;
236589
236656
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236590
236657
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236591
236658
  seatType: "Full" | "Builder" | "None";
@@ -236644,6 +236711,7 @@ declare const DTOWorkspaceMembersListResponse: z.ZodObject<{
236644
236711
  marketingEmails: boolean;
236645
236712
  } | undefined;
236646
236713
  };
236714
+ isDeactivated: boolean;
236647
236715
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236648
236716
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
236649
236717
  seatType: "Full" | "Builder" | "None";
@@ -251384,6 +251452,7 @@ declare class DesignSystemMembersEndpoint {
251384
251452
  list(dsId: string): Promise<{
251385
251453
  members: {
251386
251454
  userId: string;
251455
+ isDeactivated: boolean;
251387
251456
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
251388
251457
  }[];
251389
251458
  invitations: {
@@ -256221,6 +256290,7 @@ declare class ForgeProjectInvitationsEndpoint {
256221
256290
  };
256222
256291
  };
256223
256292
  userId: string;
256293
+ isDeactivated: boolean;
256224
256294
  role: "Admin" | "Viewer" | "Builder";
256225
256295
  effectiveRole: "Admin" | "Viewer" | "Builder";
256226
256296
  forgeProjectId: string;
@@ -256249,6 +256319,7 @@ declare class ForgeProjectInvitationsEndpoint {
256249
256319
  };
256250
256320
  };
256251
256321
  userId: string;
256322
+ isDeactivated: boolean;
256252
256323
  role: "Admin" | "Viewer" | "Builder";
256253
256324
  effectiveRole: "Admin" | "Viewer" | "Builder";
256254
256325
  forgeProjectId: string;
@@ -256296,6 +256367,7 @@ declare class ForgeProjectMembersEndpoint {
256296
256367
  };
256297
256368
  };
256298
256369
  userId: string;
256370
+ isDeactivated: boolean;
256299
256371
  role: "Admin" | "Viewer" | "Builder";
256300
256372
  effectiveRole: "Admin" | "Viewer" | "Builder";
256301
256373
  forgeProjectId: string;
@@ -256324,6 +256396,7 @@ declare class ForgeProjectMembersEndpoint {
256324
256396
  };
256325
256397
  };
256326
256398
  userId: string;
256399
+ isDeactivated: boolean;
256327
256400
  role: "Admin" | "Viewer" | "Builder";
256328
256401
  effectiveRole: "Admin" | "Viewer" | "Builder";
256329
256402
  forgeProjectId: string;
@@ -256352,6 +256425,7 @@ declare class ForgeProjectMembersEndpoint {
256352
256425
  };
256353
256426
  };
256354
256427
  userId: string;
256428
+ isDeactivated: boolean;
256355
256429
  role: "Admin" | "Viewer" | "Builder";
256356
256430
  effectiveRole: "Admin" | "Viewer" | "Builder";
256357
256431
  forgeProjectId: string;
@@ -262392,6 +262466,7 @@ declare class WorkspaceMembersEndpoint {
262392
262466
  marketingEmails: boolean;
262393
262467
  } | undefined;
262394
262468
  };
262469
+ isDeactivated: boolean;
262395
262470
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
262396
262471
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
262397
262472
  seatType: "Full" | "Builder" | "None";
@@ -263012,6 +263087,7 @@ declare class WorkspacesEndpoint {
263012
263087
  } | undefined;
263013
263088
  aiCustomInstruction?: string | undefined;
263014
263089
  };
263090
+ isDeactivated: boolean;
263015
263091
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
263016
263092
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
263017
263093
  seatType: "Full" | "Builder" | "None";
@@ -263536,6 +263612,7 @@ declare class UsersEndpoint {
263536
263612
  } | undefined;
263537
263613
  aiCustomInstruction?: string | undefined;
263538
263614
  };
263615
+ isDeactivated: boolean;
263539
263616
  role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
263540
263617
  effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Contributor";
263541
263618
  seatType: "Full" | "Builder" | "None";
package/dist/index.js CHANGED
@@ -4883,7 +4883,8 @@ var WorkspaceMembership = _zod.z.object({
4883
4883
  workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
4884
4884
  seatType: WorkspaceSeatType,
4885
4885
  notificationSettings: UserNotificationSettings,
4886
- isPrimaryOwner: _zod.z.boolean().nullish()
4886
+ isPrimaryOwner: _zod.z.boolean().nullish(),
4887
+ isDeactivated: _zod.z.boolean()
4887
4888
  });
4888
4889
  var UpdateMembershipRolesInput = _zod.z.object({
4889
4890
  members: _zod.z.array(
@@ -4914,7 +4915,8 @@ var DesignSystemMembership = _zod.z.object({
4914
4915
  designSystemId: _zod.z.string(),
4915
4916
  designSystemRole: DesignSystemRole.optional(),
4916
4917
  workspaceMembershipId: _zod.z.string(),
4917
- workspaceRole: WorkspaceRoleSchema
4918
+ workspaceRole: WorkspaceRoleSchema,
4919
+ isDeactivated: _zod.z.boolean()
4918
4920
  });
4919
4921
  var DesignSystemMembers = _zod.z.object({
4920
4922
  members: DesignSystemMembership.array(),
@@ -6831,7 +6833,8 @@ var DTODesignSystemMember = _zod.z.object({
6831
6833
  * Role that the member has in the design system,
6832
6834
  * undefined if set to inherit from workspace
6833
6835
  */
6834
- designSystemRole: DTODesignSystemRole.optional()
6836
+ designSystemRole: DTODesignSystemRole.optional(),
6837
+ isDeactivated: _zod.z.boolean()
6835
6838
  });
6836
6839
  var DTODesignSystemInvitation = _zod.z.object({
6837
6840
  id: _zod.z.string(),
@@ -7423,18 +7426,20 @@ var DTOWorkspaceResponse = _zod.z.object({
7423
7426
 
7424
7427
  // src/api/dto/workspaces/membership.ts
7425
7428
  var DTOUserWorkspaceMembership = _zod.z.object({
7426
- // Workspace the user is a member of
7429
+ /** Workspace the user is a member of */
7427
7430
  workspace: DTOWorkspace,
7428
- // Assigned and stored role the user has in the workspace
7431
+ /** Assigned and stored role the user has in the workspace */
7429
7432
  role: DTOWorkspaceRole,
7430
- // Role that determines actual permissions the user has in the workspace
7431
- // E.g. this is different from the default role when editors are downgraded to viewers
7432
- // when a workspace's subscription is downgraded to free tier
7433
+ /** Role that determines actual permissions the user has in the workspace
7434
+ * E.g. this is different from the default role when editors are downgraded to viewers
7435
+ * when a workspace's subscription is downgraded to free tier
7436
+ */
7433
7437
  effectiveRole: DTOWorkspaceRole,
7434
- // Assigned and stored seat type the user has in the workspace
7438
+ /** Assigned and stored seat type the user has in the workspace */
7435
7439
  seatType: DTOWorkspaceSeatType,
7436
- // Seat type that determines actual permissions the user has in the workspace.
7437
- effectiveSeatType: DTOWorkspaceSeatType
7440
+ /** Seat type that determines actual permissions the user has in the workspace. */
7441
+ effectiveSeatType: DTOWorkspaceSeatType,
7442
+ isDeactivated: _zod.z.boolean()
7438
7443
  });
7439
7444
  var DTOWorkspaceMember = _zod.z.object({
7440
7445
  membershipId: _zod.z.string(),
@@ -7442,7 +7447,8 @@ var DTOWorkspaceMember = _zod.z.object({
7442
7447
  role: DTOWorkspaceRole,
7443
7448
  effectiveRole: DTOWorkspaceRole,
7444
7449
  seatType: DTOWorkspaceSeatType,
7445
- effectiveSeatType: DTOWorkspaceSeatType
7450
+ effectiveSeatType: DTOWorkspaceSeatType,
7451
+ isDeactivated: _zod.z.boolean()
7446
7452
  });
7447
7453
  var DTOUserWorkspaceMembershipsResponse = _zod.z.object({
7448
7454
  membership: _zod.z.array(DTOUserWorkspaceMembership)
@@ -10529,7 +10535,8 @@ var DTOForgeProjectIterationListResponse = _zod.z.object({ iterations: _zod.z.ar
10529
10535
  var DTOForgeProjectMemberRole = ForgeProjectRole;
10530
10536
  var DTOForgeProjectMember = ForgeProjectMembership.extend({
10531
10537
  user: DTOUser,
10532
- effectiveRole: DTOForgeProjectMemberRole
10538
+ effectiveRole: DTOForgeProjectMemberRole,
10539
+ isDeactivated: _zod.z.boolean()
10533
10540
  });
10534
10541
  var DTOCreateForgeProjectMember = DTOForgeProjectMember.pick({
10535
10542
  userId: true,
@@ -10712,8 +10719,7 @@ var DTOForgeChatThreadListResponse = _zod.z.object({
10712
10719
  });
10713
10720
  var DTOForgeChatMessageCreateInput = _zod.z.object({
10714
10721
  payload: _zod.z.string(),
10715
- sender: DTOForgeChatMessageSender.optional(),
10716
- opikTraceId: _zod.z.string().optional()
10722
+ sender: DTOForgeChatMessageSender.optional()
10717
10723
  });
10718
10724
  var DTOForgeChatMessageCreateResponse = _zod.z.object({
10719
10725
  message: DTOForgeChatMessage