@supernova-studio/client 1.92.0 → 1.92.1

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
@@ -13965,7 +13965,7 @@ declare const IntegrationCredentials: z.ZodObject<{
13965
13965
  collection?: string | null | undefined;
13966
13966
  }>>;
13967
13967
  customUrl: z.ZodOptional<z.ZodString>;
13968
- state: z.ZodEnum<["Active", "Inactive"]>;
13968
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
13969
13969
  user: z.ZodOptional<z.ZodObject<{
13970
13970
  id: z.ZodString;
13971
13971
  name: z.ZodString;
@@ -13985,7 +13985,7 @@ declare const IntegrationCredentials: z.ZodObject<{
13985
13985
  }, "strip", z.ZodTypeAny, {
13986
13986
  type: "OAuth2" | "PAT";
13987
13987
  id: string;
13988
- state: "Active" | "Inactive";
13988
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
13989
13989
  createdAt: Date;
13990
13990
  userId: string;
13991
13991
  accessToken: string;
@@ -14015,7 +14015,7 @@ declare const IntegrationCredentials: z.ZodObject<{
14015
14015
  }, {
14016
14016
  type: "OAuth2" | "PAT";
14017
14017
  id: string;
14018
- state: "Active" | "Inactive";
14018
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14019
14019
  createdAt: Date;
14020
14020
  userId: string;
14021
14021
  accessToken: string;
@@ -14051,7 +14051,7 @@ declare const Integration: z.ZodObject<{
14051
14051
  workspaceId: z.ZodString;
14052
14052
  type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
14053
14053
  createdAt: z.ZodDate;
14054
- integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
14054
+ integrationCredentials: z.ZodArray<z.ZodObject<{
14055
14055
  id: z.ZodString;
14056
14056
  type: z.ZodEnum<["OAuth2", "PAT"]>;
14057
14057
  integrationId: z.ZodString;
@@ -14090,7 +14090,7 @@ declare const Integration: z.ZodObject<{
14090
14090
  collection?: string | null | undefined;
14091
14091
  }>>;
14092
14092
  customUrl: z.ZodOptional<z.ZodString>;
14093
- state: z.ZodEnum<["Active", "Inactive"]>;
14093
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
14094
14094
  user: z.ZodOptional<z.ZodObject<{
14095
14095
  id: z.ZodString;
14096
14096
  name: z.ZodString;
@@ -14110,7 +14110,7 @@ declare const Integration: z.ZodObject<{
14110
14110
  }, "strip", z.ZodTypeAny, {
14111
14111
  type: "OAuth2" | "PAT";
14112
14112
  id: string;
14113
- state: "Active" | "Inactive";
14113
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14114
14114
  createdAt: Date;
14115
14115
  userId: string;
14116
14116
  accessToken: string;
@@ -14140,7 +14140,7 @@ declare const Integration: z.ZodObject<{
14140
14140
  }, {
14141
14141
  type: "OAuth2" | "PAT";
14142
14142
  id: string;
14143
- state: "Active" | "Inactive";
14143
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14144
14144
  createdAt: Date;
14145
14145
  userId: string;
14146
14146
  accessToken: string;
@@ -14167,16 +14167,16 @@ declare const Integration: z.ZodObject<{
14167
14167
  tokenName?: string | undefined;
14168
14168
  refreshedAt?: Date | undefined;
14169
14169
  appInstallationId?: string | undefined;
14170
- }>, "many">>;
14170
+ }>, "many">;
14171
14171
  }, "strip", z.ZodTypeAny, {
14172
14172
  type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
14173
14173
  id: string;
14174
14174
  createdAt: Date;
14175
14175
  workspaceId: string;
14176
- integrationCredentials?: {
14176
+ integrationCredentials: {
14177
14177
  type: "OAuth2" | "PAT";
14178
14178
  id: string;
14179
- state: "Active" | "Inactive";
14179
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14180
14180
  createdAt: Date;
14181
14181
  userId: string;
14182
14182
  accessToken: string;
@@ -14203,16 +14203,16 @@ declare const Integration: z.ZodObject<{
14203
14203
  tokenName?: string | undefined;
14204
14204
  refreshedAt?: Date | undefined;
14205
14205
  appInstallationId?: string | undefined;
14206
- }[] | undefined;
14206
+ }[];
14207
14207
  }, {
14208
14208
  type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
14209
14209
  id: string;
14210
14210
  createdAt: Date;
14211
14211
  workspaceId: string;
14212
- integrationCredentials?: {
14212
+ integrationCredentials: {
14213
14213
  type: "OAuth2" | "PAT";
14214
14214
  id: string;
14215
- state: "Active" | "Inactive";
14215
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14216
14216
  createdAt: Date;
14217
14217
  userId: string;
14218
14218
  accessToken: string;
@@ -14239,7 +14239,7 @@ declare const Integration: z.ZodObject<{
14239
14239
  tokenName?: string | undefined;
14240
14240
  refreshedAt?: Date | undefined;
14241
14241
  appInstallationId?: string | undefined;
14242
- }[] | undefined;
14242
+ }[];
14243
14243
  }>;
14244
14244
  type Integration = z.infer<typeof Integration>;
14245
14245
  type ExtendedIntegration = Omit<Integration, "type"> & {
@@ -372558,7 +372558,7 @@ declare const DTOIntegration: z.ZodObject<{
372558
372558
  collection?: string | null | undefined;
372559
372559
  }>>;
372560
372560
  customUrl: z.ZodOptional<z.ZodString>;
372561
- state: z.ZodEnum<["Active", "Inactive"]>;
372561
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
372562
372562
  user: z.ZodOptional<z.ZodObject<{
372563
372563
  id: z.ZodString;
372564
372564
  name: z.ZodString;
@@ -372578,7 +372578,7 @@ declare const DTOIntegration: z.ZodObject<{
372578
372578
  }, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
372579
372579
  type: "OAuth2" | "PAT";
372580
372580
  id: string;
372581
- state: "Active" | "Inactive";
372581
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372582
372582
  createdAt: Date;
372583
372583
  userId: string;
372584
372584
  integrationId: string;
@@ -372606,7 +372606,7 @@ declare const DTOIntegration: z.ZodObject<{
372606
372606
  }, {
372607
372607
  type: "OAuth2" | "PAT";
372608
372608
  id: string;
372609
- state: "Active" | "Inactive";
372609
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372610
372610
  createdAt: Date;
372611
372611
  userId: string;
372612
372612
  integrationId: string;
@@ -372659,7 +372659,7 @@ declare const DTOIntegration: z.ZodObject<{
372659
372659
  integrationCredentials?: {
372660
372660
  type: "OAuth2" | "PAT";
372661
372661
  id: string;
372662
- state: "Active" | "Inactive";
372662
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372663
372663
  createdAt: Date;
372664
372664
  userId: string;
372665
372665
  integrationId: string;
@@ -372700,7 +372700,7 @@ declare const DTOIntegration: z.ZodObject<{
372700
372700
  integrationCredentials?: {
372701
372701
  type: "OAuth2" | "PAT";
372702
372702
  id: string;
372703
- state: "Active" | "Inactive";
372703
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372704
372704
  createdAt: Date;
372705
372705
  userId: string;
372706
372706
  integrationId: string;
@@ -372774,7 +372774,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
372774
372774
  collection?: string | null | undefined;
372775
372775
  }>>;
372776
372776
  customUrl: z.ZodOptional<z.ZodString>;
372777
- state: z.ZodEnum<["Active", "Inactive"]>;
372777
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
372778
372778
  user: z.ZodOptional<z.ZodObject<{
372779
372779
  id: z.ZodString;
372780
372780
  name: z.ZodString;
@@ -372794,7 +372794,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
372794
372794
  }, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
372795
372795
  type: "OAuth2" | "PAT";
372796
372796
  id: string;
372797
- state: "Active" | "Inactive";
372797
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372798
372798
  createdAt: Date;
372799
372799
  userId: string;
372800
372800
  integrationId: string;
@@ -372822,7 +372822,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
372822
372822
  }, {
372823
372823
  type: "OAuth2" | "PAT";
372824
372824
  id: string;
372825
- state: "Active" | "Inactive";
372825
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372826
372826
  createdAt: Date;
372827
372827
  userId: string;
372828
372828
  integrationId: string;
@@ -372902,7 +372902,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
372902
372902
  collection?: string | null | undefined;
372903
372903
  }>>;
372904
372904
  customUrl: z.ZodOptional<z.ZodString>;
372905
- state: z.ZodEnum<["Active", "Inactive"]>;
372905
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
372906
372906
  user: z.ZodOptional<z.ZodObject<{
372907
372907
  id: z.ZodString;
372908
372908
  name: z.ZodString;
@@ -372922,7 +372922,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
372922
372922
  }, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
372923
372923
  type: "OAuth2" | "PAT";
372924
372924
  id: string;
372925
- state: "Active" | "Inactive";
372925
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372926
372926
  createdAt: Date;
372927
372927
  userId: string;
372928
372928
  integrationId: string;
@@ -372950,7 +372950,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
372950
372950
  }, {
372951
372951
  type: "OAuth2" | "PAT";
372952
372952
  id: string;
372953
- state: "Active" | "Inactive";
372953
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372954
372954
  createdAt: Date;
372955
372955
  userId: string;
372956
372956
  integrationId: string;
@@ -373003,7 +373003,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
373003
373003
  integrationCredentials?: {
373004
373004
  type: "OAuth2" | "PAT";
373005
373005
  id: string;
373006
- state: "Active" | "Inactive";
373006
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373007
373007
  createdAt: Date;
373008
373008
  userId: string;
373009
373009
  integrationId: string;
@@ -373044,7 +373044,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
373044
373044
  integrationCredentials?: {
373045
373045
  type: "OAuth2" | "PAT";
373046
373046
  id: string;
373047
- state: "Active" | "Inactive";
373047
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373048
373048
  createdAt: Date;
373049
373049
  userId: string;
373050
373050
  integrationId: string;
@@ -373087,7 +373087,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
373087
373087
  integrationCredentials?: {
373088
373088
  type: "OAuth2" | "PAT";
373089
373089
  id: string;
373090
- state: "Active" | "Inactive";
373090
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373091
373091
  createdAt: Date;
373092
373092
  userId: string;
373093
373093
  integrationId: string;
@@ -373130,7 +373130,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
373130
373130
  integrationCredentials?: {
373131
373131
  type: "OAuth2" | "PAT";
373132
373132
  id: string;
373133
- state: "Active" | "Inactive";
373133
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373134
373134
  createdAt: Date;
373135
373135
  userId: string;
373136
373136
  integrationId: string;
@@ -373211,7 +373211,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373211
373211
  collection?: string | null | undefined;
373212
373212
  }>>;
373213
373213
  customUrl: z.ZodOptional<z.ZodString>;
373214
- state: z.ZodEnum<["Active", "Inactive"]>;
373214
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
373215
373215
  user: z.ZodOptional<z.ZodObject<{
373216
373216
  id: z.ZodString;
373217
373217
  name: z.ZodString;
@@ -373231,7 +373231,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373231
373231
  }, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
373232
373232
  type: "OAuth2" | "PAT";
373233
373233
  id: string;
373234
- state: "Active" | "Inactive";
373234
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373235
373235
  createdAt: Date;
373236
373236
  userId: string;
373237
373237
  integrationId: string;
@@ -373259,7 +373259,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373259
373259
  }, {
373260
373260
  type: "OAuth2" | "PAT";
373261
373261
  id: string;
373262
- state: "Active" | "Inactive";
373262
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373263
373263
  createdAt: Date;
373264
373264
  userId: string;
373265
373265
  integrationId: string;
@@ -373312,7 +373312,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373312
373312
  integrationCredentials?: {
373313
373313
  type: "OAuth2" | "PAT";
373314
373314
  id: string;
373315
- state: "Active" | "Inactive";
373315
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373316
373316
  createdAt: Date;
373317
373317
  userId: string;
373318
373318
  integrationId: string;
@@ -373353,7 +373353,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373353
373353
  integrationCredentials?: {
373354
373354
  type: "OAuth2" | "PAT";
373355
373355
  id: string;
373356
- state: "Active" | "Inactive";
373356
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373357
373357
  createdAt: Date;
373358
373358
  userId: string;
373359
373359
  integrationId: string;
@@ -373396,7 +373396,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373396
373396
  integrationCredentials?: {
373397
373397
  type: "OAuth2" | "PAT";
373398
373398
  id: string;
373399
- state: "Active" | "Inactive";
373399
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373400
373400
  createdAt: Date;
373401
373401
  userId: string;
373402
373402
  integrationId: string;
@@ -373439,7 +373439,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373439
373439
  integrationCredentials?: {
373440
373440
  type: "OAuth2" | "PAT";
373441
373441
  id: string;
373442
- state: "Active" | "Inactive";
373442
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373443
373443
  createdAt: Date;
373444
373444
  userId: string;
373445
373445
  integrationId: string;
@@ -404588,7 +404588,7 @@ declare class WorkspaceIntegrationsEndpoint {
404588
404588
  integrationCredentials?: {
404589
404589
  type: "OAuth2" | "PAT";
404590
404590
  id: string;
404591
- state: "Active" | "Inactive";
404591
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
404592
404592
  createdAt: Date;
404593
404593
  userId: string;
404594
404594
  integrationId: string;
package/dist/index.d.ts CHANGED
@@ -13965,7 +13965,7 @@ declare const IntegrationCredentials: z.ZodObject<{
13965
13965
  collection?: string | null | undefined;
13966
13966
  }>>;
13967
13967
  customUrl: z.ZodOptional<z.ZodString>;
13968
- state: z.ZodEnum<["Active", "Inactive"]>;
13968
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
13969
13969
  user: z.ZodOptional<z.ZodObject<{
13970
13970
  id: z.ZodString;
13971
13971
  name: z.ZodString;
@@ -13985,7 +13985,7 @@ declare const IntegrationCredentials: z.ZodObject<{
13985
13985
  }, "strip", z.ZodTypeAny, {
13986
13986
  type: "OAuth2" | "PAT";
13987
13987
  id: string;
13988
- state: "Active" | "Inactive";
13988
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
13989
13989
  createdAt: Date;
13990
13990
  userId: string;
13991
13991
  accessToken: string;
@@ -14015,7 +14015,7 @@ declare const IntegrationCredentials: z.ZodObject<{
14015
14015
  }, {
14016
14016
  type: "OAuth2" | "PAT";
14017
14017
  id: string;
14018
- state: "Active" | "Inactive";
14018
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14019
14019
  createdAt: Date;
14020
14020
  userId: string;
14021
14021
  accessToken: string;
@@ -14051,7 +14051,7 @@ declare const Integration: z.ZodObject<{
14051
14051
  workspaceId: z.ZodString;
14052
14052
  type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
14053
14053
  createdAt: z.ZodDate;
14054
- integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
14054
+ integrationCredentials: z.ZodArray<z.ZodObject<{
14055
14055
  id: z.ZodString;
14056
14056
  type: z.ZodEnum<["OAuth2", "PAT"]>;
14057
14057
  integrationId: z.ZodString;
@@ -14090,7 +14090,7 @@ declare const Integration: z.ZodObject<{
14090
14090
  collection?: string | null | undefined;
14091
14091
  }>>;
14092
14092
  customUrl: z.ZodOptional<z.ZodString>;
14093
- state: z.ZodEnum<["Active", "Inactive"]>;
14093
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
14094
14094
  user: z.ZodOptional<z.ZodObject<{
14095
14095
  id: z.ZodString;
14096
14096
  name: z.ZodString;
@@ -14110,7 +14110,7 @@ declare const Integration: z.ZodObject<{
14110
14110
  }, "strip", z.ZodTypeAny, {
14111
14111
  type: "OAuth2" | "PAT";
14112
14112
  id: string;
14113
- state: "Active" | "Inactive";
14113
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14114
14114
  createdAt: Date;
14115
14115
  userId: string;
14116
14116
  accessToken: string;
@@ -14140,7 +14140,7 @@ declare const Integration: z.ZodObject<{
14140
14140
  }, {
14141
14141
  type: "OAuth2" | "PAT";
14142
14142
  id: string;
14143
- state: "Active" | "Inactive";
14143
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14144
14144
  createdAt: Date;
14145
14145
  userId: string;
14146
14146
  accessToken: string;
@@ -14167,16 +14167,16 @@ declare const Integration: z.ZodObject<{
14167
14167
  tokenName?: string | undefined;
14168
14168
  refreshedAt?: Date | undefined;
14169
14169
  appInstallationId?: string | undefined;
14170
- }>, "many">>;
14170
+ }>, "many">;
14171
14171
  }, "strip", z.ZodTypeAny, {
14172
14172
  type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
14173
14173
  id: string;
14174
14174
  createdAt: Date;
14175
14175
  workspaceId: string;
14176
- integrationCredentials?: {
14176
+ integrationCredentials: {
14177
14177
  type: "OAuth2" | "PAT";
14178
14178
  id: string;
14179
- state: "Active" | "Inactive";
14179
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14180
14180
  createdAt: Date;
14181
14181
  userId: string;
14182
14182
  accessToken: string;
@@ -14203,16 +14203,16 @@ declare const Integration: z.ZodObject<{
14203
14203
  tokenName?: string | undefined;
14204
14204
  refreshedAt?: Date | undefined;
14205
14205
  appInstallationId?: string | undefined;
14206
- }[] | undefined;
14206
+ }[];
14207
14207
  }, {
14208
14208
  type: "Azure" | "Github" | "Gitlab" | "Bitbucket" | "Figma";
14209
14209
  id: string;
14210
14210
  createdAt: Date;
14211
14211
  workspaceId: string;
14212
- integrationCredentials?: {
14212
+ integrationCredentials: {
14213
14213
  type: "OAuth2" | "PAT";
14214
14214
  id: string;
14215
- state: "Active" | "Inactive";
14215
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
14216
14216
  createdAt: Date;
14217
14217
  userId: string;
14218
14218
  accessToken: string;
@@ -14239,7 +14239,7 @@ declare const Integration: z.ZodObject<{
14239
14239
  tokenName?: string | undefined;
14240
14240
  refreshedAt?: Date | undefined;
14241
14241
  appInstallationId?: string | undefined;
14242
- }[] | undefined;
14242
+ }[];
14243
14243
  }>;
14244
14244
  type Integration = z.infer<typeof Integration>;
14245
14245
  type ExtendedIntegration = Omit<Integration, "type"> & {
@@ -372558,7 +372558,7 @@ declare const DTOIntegration: z.ZodObject<{
372558
372558
  collection?: string | null | undefined;
372559
372559
  }>>;
372560
372560
  customUrl: z.ZodOptional<z.ZodString>;
372561
- state: z.ZodEnum<["Active", "Inactive"]>;
372561
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
372562
372562
  user: z.ZodOptional<z.ZodObject<{
372563
372563
  id: z.ZodString;
372564
372564
  name: z.ZodString;
@@ -372578,7 +372578,7 @@ declare const DTOIntegration: z.ZodObject<{
372578
372578
  }, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
372579
372579
  type: "OAuth2" | "PAT";
372580
372580
  id: string;
372581
- state: "Active" | "Inactive";
372581
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372582
372582
  createdAt: Date;
372583
372583
  userId: string;
372584
372584
  integrationId: string;
@@ -372606,7 +372606,7 @@ declare const DTOIntegration: z.ZodObject<{
372606
372606
  }, {
372607
372607
  type: "OAuth2" | "PAT";
372608
372608
  id: string;
372609
- state: "Active" | "Inactive";
372609
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372610
372610
  createdAt: Date;
372611
372611
  userId: string;
372612
372612
  integrationId: string;
@@ -372659,7 +372659,7 @@ declare const DTOIntegration: z.ZodObject<{
372659
372659
  integrationCredentials?: {
372660
372660
  type: "OAuth2" | "PAT";
372661
372661
  id: string;
372662
- state: "Active" | "Inactive";
372662
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372663
372663
  createdAt: Date;
372664
372664
  userId: string;
372665
372665
  integrationId: string;
@@ -372700,7 +372700,7 @@ declare const DTOIntegration: z.ZodObject<{
372700
372700
  integrationCredentials?: {
372701
372701
  type: "OAuth2" | "PAT";
372702
372702
  id: string;
372703
- state: "Active" | "Inactive";
372703
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372704
372704
  createdAt: Date;
372705
372705
  userId: string;
372706
372706
  integrationId: string;
@@ -372774,7 +372774,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
372774
372774
  collection?: string | null | undefined;
372775
372775
  }>>;
372776
372776
  customUrl: z.ZodOptional<z.ZodString>;
372777
- state: z.ZodEnum<["Active", "Inactive"]>;
372777
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
372778
372778
  user: z.ZodOptional<z.ZodObject<{
372779
372779
  id: z.ZodString;
372780
372780
  name: z.ZodString;
@@ -372794,7 +372794,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
372794
372794
  }, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
372795
372795
  type: "OAuth2" | "PAT";
372796
372796
  id: string;
372797
- state: "Active" | "Inactive";
372797
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372798
372798
  createdAt: Date;
372799
372799
  userId: string;
372800
372800
  integrationId: string;
@@ -372822,7 +372822,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
372822
372822
  }, {
372823
372823
  type: "OAuth2" | "PAT";
372824
372824
  id: string;
372825
- state: "Active" | "Inactive";
372825
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372826
372826
  createdAt: Date;
372827
372827
  userId: string;
372828
372828
  integrationId: string;
@@ -372902,7 +372902,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
372902
372902
  collection?: string | null | undefined;
372903
372903
  }>>;
372904
372904
  customUrl: z.ZodOptional<z.ZodString>;
372905
- state: z.ZodEnum<["Active", "Inactive"]>;
372905
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
372906
372906
  user: z.ZodOptional<z.ZodObject<{
372907
372907
  id: z.ZodString;
372908
372908
  name: z.ZodString;
@@ -372922,7 +372922,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
372922
372922
  }, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
372923
372923
  type: "OAuth2" | "PAT";
372924
372924
  id: string;
372925
- state: "Active" | "Inactive";
372925
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372926
372926
  createdAt: Date;
372927
372927
  userId: string;
372928
372928
  integrationId: string;
@@ -372950,7 +372950,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
372950
372950
  }, {
372951
372951
  type: "OAuth2" | "PAT";
372952
372952
  id: string;
372953
- state: "Active" | "Inactive";
372953
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
372954
372954
  createdAt: Date;
372955
372955
  userId: string;
372956
372956
  integrationId: string;
@@ -373003,7 +373003,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
373003
373003
  integrationCredentials?: {
373004
373004
  type: "OAuth2" | "PAT";
373005
373005
  id: string;
373006
- state: "Active" | "Inactive";
373006
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373007
373007
  createdAt: Date;
373008
373008
  userId: string;
373009
373009
  integrationId: string;
@@ -373044,7 +373044,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
373044
373044
  integrationCredentials?: {
373045
373045
  type: "OAuth2" | "PAT";
373046
373046
  id: string;
373047
- state: "Active" | "Inactive";
373047
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373048
373048
  createdAt: Date;
373049
373049
  userId: string;
373050
373050
  integrationId: string;
@@ -373087,7 +373087,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
373087
373087
  integrationCredentials?: {
373088
373088
  type: "OAuth2" | "PAT";
373089
373089
  id: string;
373090
- state: "Active" | "Inactive";
373090
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373091
373091
  createdAt: Date;
373092
373092
  userId: string;
373093
373093
  integrationId: string;
@@ -373130,7 +373130,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
373130
373130
  integrationCredentials?: {
373131
373131
  type: "OAuth2" | "PAT";
373132
373132
  id: string;
373133
- state: "Active" | "Inactive";
373133
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373134
373134
  createdAt: Date;
373135
373135
  userId: string;
373136
373136
  integrationId: string;
@@ -373211,7 +373211,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373211
373211
  collection?: string | null | undefined;
373212
373212
  }>>;
373213
373213
  customUrl: z.ZodOptional<z.ZodString>;
373214
- state: z.ZodEnum<["Active", "Inactive"]>;
373214
+ state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
373215
373215
  user: z.ZodOptional<z.ZodObject<{
373216
373216
  id: z.ZodString;
373217
373217
  name: z.ZodString;
@@ -373231,7 +373231,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373231
373231
  }, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
373232
373232
  type: "OAuth2" | "PAT";
373233
373233
  id: string;
373234
- state: "Active" | "Inactive";
373234
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373235
373235
  createdAt: Date;
373236
373236
  userId: string;
373237
373237
  integrationId: string;
@@ -373259,7 +373259,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373259
373259
  }, {
373260
373260
  type: "OAuth2" | "PAT";
373261
373261
  id: string;
373262
- state: "Active" | "Inactive";
373262
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373263
373263
  createdAt: Date;
373264
373264
  userId: string;
373265
373265
  integrationId: string;
@@ -373312,7 +373312,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373312
373312
  integrationCredentials?: {
373313
373313
  type: "OAuth2" | "PAT";
373314
373314
  id: string;
373315
- state: "Active" | "Inactive";
373315
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373316
373316
  createdAt: Date;
373317
373317
  userId: string;
373318
373318
  integrationId: string;
@@ -373353,7 +373353,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373353
373353
  integrationCredentials?: {
373354
373354
  type: "OAuth2" | "PAT";
373355
373355
  id: string;
373356
- state: "Active" | "Inactive";
373356
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373357
373357
  createdAt: Date;
373358
373358
  userId: string;
373359
373359
  integrationId: string;
@@ -373396,7 +373396,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373396
373396
  integrationCredentials?: {
373397
373397
  type: "OAuth2" | "PAT";
373398
373398
  id: string;
373399
- state: "Active" | "Inactive";
373399
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373400
373400
  createdAt: Date;
373401
373401
  userId: string;
373402
373402
  integrationId: string;
@@ -373439,7 +373439,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
373439
373439
  integrationCredentials?: {
373440
373440
  type: "OAuth2" | "PAT";
373441
373441
  id: string;
373442
- state: "Active" | "Inactive";
373442
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
373443
373443
  createdAt: Date;
373444
373444
  userId: string;
373445
373445
  integrationId: string;
@@ -404588,7 +404588,7 @@ declare class WorkspaceIntegrationsEndpoint {
404588
404588
  integrationCredentials?: {
404589
404589
  type: "OAuth2" | "PAT";
404590
404590
  id: string;
404591
- state: "Active" | "Inactive";
404591
+ state: "Pending" | "Active" | "Suspended" | "Inactive";
404592
404592
  createdAt: Date;
404593
404593
  userId: string;
404594
404594
  integrationId: string;
package/dist/index.js CHANGED
@@ -5977,6 +5977,16 @@ var DesignSystemDump = _zod.z.object({
5977
5977
 
5978
5978
  // ../model/src/integrations/integration.ts
5979
5979
 
5980
+ var GitHubAppInstallationState = _zod.z.enum(["Active", "Pending", "Suspended", "Deleted"]);
5981
+ var GitHubAppInstallation = _zod.z.object({
5982
+ id: _zod.z.string(),
5983
+ gitHubInstallationId: _zod.z.string().optional(),
5984
+ gitHubRequestId: _zod.z.number().optional(),
5985
+ state: GitHubAppInstallationState,
5986
+ gitHubAccountId: _zod.z.number(),
5987
+ gitHubAccountLogin: _zod.z.string(),
5988
+ gitHubAccountAvatarUrl: _zod.z.string().optional()
5989
+ });
5980
5990
  var IntegrationDesignSystem = _zod.z.object({
5981
5991
  designSystemId: _zod.z.string(),
5982
5992
  brandId: _zod.z.string(),
@@ -5985,7 +5995,7 @@ var IntegrationDesignSystem = _zod.z.object({
5985
5995
  date: _zod.z.coerce.date().optional()
5986
5996
  });
5987
5997
  var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT"]);
5988
- var IntegrationCredentialsState = _zod.z.enum(["Active", "Inactive"]);
5998
+ var IntegrationCredentialsState = _zod.z.enum(["Active", "Pending", "Suspended", "Inactive"]);
5989
5999
  var IntegrationCredentialsProfile = _zod.z.object({
5990
6000
  id: nullishToOptional(_zod.z.string()),
5991
6001
  email: nullishToOptional(_zod.z.string()),
@@ -6029,7 +6039,7 @@ var Integration = _zod.z.object({
6029
6039
  workspaceId: _zod.z.string(),
6030
6040
  type: IntegrationType,
6031
6041
  createdAt: _zod.z.coerce.date(),
6032
- integrationCredentials: _zod.z.array(IntegrationCredentials).optional()
6042
+ integrationCredentials: _zod.z.array(IntegrationCredentials)
6033
6043
  });
6034
6044
  var IntegrationToken = _zod.z.object({
6035
6045
  access_token: _zod.z.string(),