@supernova-studio/client 1.91.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 +41 -37
- package/dist/index.d.ts +41 -37
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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.
|
|
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
|
-
}[]
|
|
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
|
-
}[]
|
|
14242
|
+
}[];
|
|
14243
14243
|
}>;
|
|
14244
14244
|
type Integration = z.infer<typeof Integration>;
|
|
14245
14245
|
type ExtendedIntegration = Omit<Integration, "type"> & {
|
|
@@ -16490,6 +16490,8 @@ type DTOCodeHistoryRepositoryFilter = z$1.infer<typeof DTOCodeHistoryRepositoryF
|
|
|
16490
16490
|
declare const DTOCodeHistoryQuery: z$1.ZodObject<{
|
|
16491
16491
|
/** Filters components and usages by component package name (e.g. `@supernovaio/dm`) */
|
|
16492
16492
|
packageNames: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
16493
|
+
/** Filters usages by component name (e.g. `Button`, `Icon`) */
|
|
16494
|
+
componentNames: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
16493
16495
|
/**
|
|
16494
16496
|
* Filters usages by repository and optionally by usage package within that repository.
|
|
16495
16497
|
*
|
|
@@ -16513,6 +16515,7 @@ declare const DTOCodeHistoryQuery: z$1.ZodObject<{
|
|
|
16513
16515
|
timeFrameTo: z$1.ZodOptional<z$1.ZodString>;
|
|
16514
16516
|
}, "strip", z$1.ZodTypeAny, {
|
|
16515
16517
|
packageNames?: string[] | undefined;
|
|
16518
|
+
componentNames?: string[] | undefined;
|
|
16516
16519
|
repositoryFilters?: {
|
|
16517
16520
|
repositoryName: string;
|
|
16518
16521
|
usagePackageNames?: string[] | undefined;
|
|
@@ -16521,6 +16524,7 @@ declare const DTOCodeHistoryQuery: z$1.ZodObject<{
|
|
|
16521
16524
|
timeFrameTo?: string | undefined;
|
|
16522
16525
|
}, {
|
|
16523
16526
|
packageNames?: string[] | undefined;
|
|
16527
|
+
componentNames?: string[] | undefined;
|
|
16524
16528
|
repositoryFilters?: {
|
|
16525
16529
|
repositoryName: string;
|
|
16526
16530
|
usagePackageNames?: string[] | undefined;
|
|
@@ -372554,7 +372558,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372554
372558
|
collection?: string | null | undefined;
|
|
372555
372559
|
}>>;
|
|
372556
372560
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
372557
|
-
state: z.ZodEnum<["Active", "Inactive"]>;
|
|
372561
|
+
state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
|
|
372558
372562
|
user: z.ZodOptional<z.ZodObject<{
|
|
372559
372563
|
id: z.ZodString;
|
|
372560
372564
|
name: z.ZodString;
|
|
@@ -372574,7 +372578,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372574
372578
|
}, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
|
|
372575
372579
|
type: "OAuth2" | "PAT";
|
|
372576
372580
|
id: string;
|
|
372577
|
-
state: "Active" | "Inactive";
|
|
372581
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372578
372582
|
createdAt: Date;
|
|
372579
372583
|
userId: string;
|
|
372580
372584
|
integrationId: string;
|
|
@@ -372602,7 +372606,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372602
372606
|
}, {
|
|
372603
372607
|
type: "OAuth2" | "PAT";
|
|
372604
372608
|
id: string;
|
|
372605
|
-
state: "Active" | "Inactive";
|
|
372609
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372606
372610
|
createdAt: Date;
|
|
372607
372611
|
userId: string;
|
|
372608
372612
|
integrationId: string;
|
|
@@ -372655,7 +372659,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372655
372659
|
integrationCredentials?: {
|
|
372656
372660
|
type: "OAuth2" | "PAT";
|
|
372657
372661
|
id: string;
|
|
372658
|
-
state: "Active" | "Inactive";
|
|
372662
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372659
372663
|
createdAt: Date;
|
|
372660
372664
|
userId: string;
|
|
372661
372665
|
integrationId: string;
|
|
@@ -372696,7 +372700,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372696
372700
|
integrationCredentials?: {
|
|
372697
372701
|
type: "OAuth2" | "PAT";
|
|
372698
372702
|
id: string;
|
|
372699
|
-
state: "Active" | "Inactive";
|
|
372703
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372700
372704
|
createdAt: Date;
|
|
372701
372705
|
userId: string;
|
|
372702
372706
|
integrationId: string;
|
|
@@ -372770,7 +372774,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
|
372770
372774
|
collection?: string | null | undefined;
|
|
372771
372775
|
}>>;
|
|
372772
372776
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
372773
|
-
state: z.ZodEnum<["Active", "Inactive"]>;
|
|
372777
|
+
state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
|
|
372774
372778
|
user: z.ZodOptional<z.ZodObject<{
|
|
372775
372779
|
id: z.ZodString;
|
|
372776
372780
|
name: z.ZodString;
|
|
@@ -372790,7 +372794,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
|
372790
372794
|
}, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
|
|
372791
372795
|
type: "OAuth2" | "PAT";
|
|
372792
372796
|
id: string;
|
|
372793
|
-
state: "Active" | "Inactive";
|
|
372797
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372794
372798
|
createdAt: Date;
|
|
372795
372799
|
userId: string;
|
|
372796
372800
|
integrationId: string;
|
|
@@ -372818,7 +372822,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
|
372818
372822
|
}, {
|
|
372819
372823
|
type: "OAuth2" | "PAT";
|
|
372820
372824
|
id: string;
|
|
372821
|
-
state: "Active" | "Inactive";
|
|
372825
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372822
372826
|
createdAt: Date;
|
|
372823
372827
|
userId: string;
|
|
372824
372828
|
integrationId: string;
|
|
@@ -372898,7 +372902,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
372898
372902
|
collection?: string | null | undefined;
|
|
372899
372903
|
}>>;
|
|
372900
372904
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
372901
|
-
state: z.ZodEnum<["Active", "Inactive"]>;
|
|
372905
|
+
state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
|
|
372902
372906
|
user: z.ZodOptional<z.ZodObject<{
|
|
372903
372907
|
id: z.ZodString;
|
|
372904
372908
|
name: z.ZodString;
|
|
@@ -372918,7 +372922,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
372918
372922
|
}, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
|
|
372919
372923
|
type: "OAuth2" | "PAT";
|
|
372920
372924
|
id: string;
|
|
372921
|
-
state: "Active" | "Inactive";
|
|
372925
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372922
372926
|
createdAt: Date;
|
|
372923
372927
|
userId: string;
|
|
372924
372928
|
integrationId: string;
|
|
@@ -372946,7 +372950,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
372946
372950
|
}, {
|
|
372947
372951
|
type: "OAuth2" | "PAT";
|
|
372948
372952
|
id: string;
|
|
372949
|
-
state: "Active" | "Inactive";
|
|
372953
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372950
372954
|
createdAt: Date;
|
|
372951
372955
|
userId: string;
|
|
372952
372956
|
integrationId: string;
|
|
@@ -372999,7 +373003,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
372999
373003
|
integrationCredentials?: {
|
|
373000
373004
|
type: "OAuth2" | "PAT";
|
|
373001
373005
|
id: string;
|
|
373002
|
-
state: "Active" | "Inactive";
|
|
373006
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373003
373007
|
createdAt: Date;
|
|
373004
373008
|
userId: string;
|
|
373005
373009
|
integrationId: string;
|
|
@@ -373040,7 +373044,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
373040
373044
|
integrationCredentials?: {
|
|
373041
373045
|
type: "OAuth2" | "PAT";
|
|
373042
373046
|
id: string;
|
|
373043
|
-
state: "Active" | "Inactive";
|
|
373047
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373044
373048
|
createdAt: Date;
|
|
373045
373049
|
userId: string;
|
|
373046
373050
|
integrationId: string;
|
|
@@ -373083,7 +373087,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
373083
373087
|
integrationCredentials?: {
|
|
373084
373088
|
type: "OAuth2" | "PAT";
|
|
373085
373089
|
id: string;
|
|
373086
|
-
state: "Active" | "Inactive";
|
|
373090
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373087
373091
|
createdAt: Date;
|
|
373088
373092
|
userId: string;
|
|
373089
373093
|
integrationId: string;
|
|
@@ -373126,7 +373130,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
373126
373130
|
integrationCredentials?: {
|
|
373127
373131
|
type: "OAuth2" | "PAT";
|
|
373128
373132
|
id: string;
|
|
373129
|
-
state: "Active" | "Inactive";
|
|
373133
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373130
373134
|
createdAt: Date;
|
|
373131
373135
|
userId: string;
|
|
373132
373136
|
integrationId: string;
|
|
@@ -373207,7 +373211,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373207
373211
|
collection?: string | null | undefined;
|
|
373208
373212
|
}>>;
|
|
373209
373213
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
373210
|
-
state: z.ZodEnum<["Active", "Inactive"]>;
|
|
373214
|
+
state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
|
|
373211
373215
|
user: z.ZodOptional<z.ZodObject<{
|
|
373212
373216
|
id: z.ZodString;
|
|
373213
373217
|
name: z.ZodString;
|
|
@@ -373227,7 +373231,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373227
373231
|
}, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
|
|
373228
373232
|
type: "OAuth2" | "PAT";
|
|
373229
373233
|
id: string;
|
|
373230
|
-
state: "Active" | "Inactive";
|
|
373234
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373231
373235
|
createdAt: Date;
|
|
373232
373236
|
userId: string;
|
|
373233
373237
|
integrationId: string;
|
|
@@ -373255,7 +373259,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373255
373259
|
}, {
|
|
373256
373260
|
type: "OAuth2" | "PAT";
|
|
373257
373261
|
id: string;
|
|
373258
|
-
state: "Active" | "Inactive";
|
|
373262
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373259
373263
|
createdAt: Date;
|
|
373260
373264
|
userId: string;
|
|
373261
373265
|
integrationId: string;
|
|
@@ -373308,7 +373312,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373308
373312
|
integrationCredentials?: {
|
|
373309
373313
|
type: "OAuth2" | "PAT";
|
|
373310
373314
|
id: string;
|
|
373311
|
-
state: "Active" | "Inactive";
|
|
373315
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373312
373316
|
createdAt: Date;
|
|
373313
373317
|
userId: string;
|
|
373314
373318
|
integrationId: string;
|
|
@@ -373349,7 +373353,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373349
373353
|
integrationCredentials?: {
|
|
373350
373354
|
type: "OAuth2" | "PAT";
|
|
373351
373355
|
id: string;
|
|
373352
|
-
state: "Active" | "Inactive";
|
|
373356
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373353
373357
|
createdAt: Date;
|
|
373354
373358
|
userId: string;
|
|
373355
373359
|
integrationId: string;
|
|
@@ -373392,7 +373396,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373392
373396
|
integrationCredentials?: {
|
|
373393
373397
|
type: "OAuth2" | "PAT";
|
|
373394
373398
|
id: string;
|
|
373395
|
-
state: "Active" | "Inactive";
|
|
373399
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373396
373400
|
createdAt: Date;
|
|
373397
373401
|
userId: string;
|
|
373398
373402
|
integrationId: string;
|
|
@@ -373435,7 +373439,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373435
373439
|
integrationCredentials?: {
|
|
373436
373440
|
type: "OAuth2" | "PAT";
|
|
373437
373441
|
id: string;
|
|
373438
|
-
state: "Active" | "Inactive";
|
|
373442
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373439
373443
|
createdAt: Date;
|
|
373440
373444
|
userId: string;
|
|
373441
373445
|
integrationId: string;
|
|
@@ -404584,7 +404588,7 @@ declare class WorkspaceIntegrationsEndpoint {
|
|
|
404584
404588
|
integrationCredentials?: {
|
|
404585
404589
|
type: "OAuth2" | "PAT";
|
|
404586
404590
|
id: string;
|
|
404587
|
-
state: "Active" | "Inactive";
|
|
404591
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
404588
404592
|
createdAt: Date;
|
|
404589
404593
|
userId: string;
|
|
404590
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.
|
|
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
|
-
}[]
|
|
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
|
-
}[]
|
|
14242
|
+
}[];
|
|
14243
14243
|
}>;
|
|
14244
14244
|
type Integration = z.infer<typeof Integration>;
|
|
14245
14245
|
type ExtendedIntegration = Omit<Integration, "type"> & {
|
|
@@ -16490,6 +16490,8 @@ type DTOCodeHistoryRepositoryFilter = z$1.infer<typeof DTOCodeHistoryRepositoryF
|
|
|
16490
16490
|
declare const DTOCodeHistoryQuery: z$1.ZodObject<{
|
|
16491
16491
|
/** Filters components and usages by component package name (e.g. `@supernovaio/dm`) */
|
|
16492
16492
|
packageNames: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
16493
|
+
/** Filters usages by component name (e.g. `Button`, `Icon`) */
|
|
16494
|
+
componentNames: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
16493
16495
|
/**
|
|
16494
16496
|
* Filters usages by repository and optionally by usage package within that repository.
|
|
16495
16497
|
*
|
|
@@ -16513,6 +16515,7 @@ declare const DTOCodeHistoryQuery: z$1.ZodObject<{
|
|
|
16513
16515
|
timeFrameTo: z$1.ZodOptional<z$1.ZodString>;
|
|
16514
16516
|
}, "strip", z$1.ZodTypeAny, {
|
|
16515
16517
|
packageNames?: string[] | undefined;
|
|
16518
|
+
componentNames?: string[] | undefined;
|
|
16516
16519
|
repositoryFilters?: {
|
|
16517
16520
|
repositoryName: string;
|
|
16518
16521
|
usagePackageNames?: string[] | undefined;
|
|
@@ -16521,6 +16524,7 @@ declare const DTOCodeHistoryQuery: z$1.ZodObject<{
|
|
|
16521
16524
|
timeFrameTo?: string | undefined;
|
|
16522
16525
|
}, {
|
|
16523
16526
|
packageNames?: string[] | undefined;
|
|
16527
|
+
componentNames?: string[] | undefined;
|
|
16524
16528
|
repositoryFilters?: {
|
|
16525
16529
|
repositoryName: string;
|
|
16526
16530
|
usagePackageNames?: string[] | undefined;
|
|
@@ -372554,7 +372558,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372554
372558
|
collection?: string | null | undefined;
|
|
372555
372559
|
}>>;
|
|
372556
372560
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
372557
|
-
state: z.ZodEnum<["Active", "Inactive"]>;
|
|
372561
|
+
state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
|
|
372558
372562
|
user: z.ZodOptional<z.ZodObject<{
|
|
372559
372563
|
id: z.ZodString;
|
|
372560
372564
|
name: z.ZodString;
|
|
@@ -372574,7 +372578,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372574
372578
|
}, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
|
|
372575
372579
|
type: "OAuth2" | "PAT";
|
|
372576
372580
|
id: string;
|
|
372577
|
-
state: "Active" | "Inactive";
|
|
372581
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372578
372582
|
createdAt: Date;
|
|
372579
372583
|
userId: string;
|
|
372580
372584
|
integrationId: string;
|
|
@@ -372602,7 +372606,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372602
372606
|
}, {
|
|
372603
372607
|
type: "OAuth2" | "PAT";
|
|
372604
372608
|
id: string;
|
|
372605
|
-
state: "Active" | "Inactive";
|
|
372609
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372606
372610
|
createdAt: Date;
|
|
372607
372611
|
userId: string;
|
|
372608
372612
|
integrationId: string;
|
|
@@ -372655,7 +372659,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372655
372659
|
integrationCredentials?: {
|
|
372656
372660
|
type: "OAuth2" | "PAT";
|
|
372657
372661
|
id: string;
|
|
372658
|
-
state: "Active" | "Inactive";
|
|
372662
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372659
372663
|
createdAt: Date;
|
|
372660
372664
|
userId: string;
|
|
372661
372665
|
integrationId: string;
|
|
@@ -372696,7 +372700,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
372696
372700
|
integrationCredentials?: {
|
|
372697
372701
|
type: "OAuth2" | "PAT";
|
|
372698
372702
|
id: string;
|
|
372699
|
-
state: "Active" | "Inactive";
|
|
372703
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372700
372704
|
createdAt: Date;
|
|
372701
372705
|
userId: string;
|
|
372702
372706
|
integrationId: string;
|
|
@@ -372770,7 +372774,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
|
372770
372774
|
collection?: string | null | undefined;
|
|
372771
372775
|
}>>;
|
|
372772
372776
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
372773
|
-
state: z.ZodEnum<["Active", "Inactive"]>;
|
|
372777
|
+
state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
|
|
372774
372778
|
user: z.ZodOptional<z.ZodObject<{
|
|
372775
372779
|
id: z.ZodString;
|
|
372776
372780
|
name: z.ZodString;
|
|
@@ -372790,7 +372794,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
|
372790
372794
|
}, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
|
|
372791
372795
|
type: "OAuth2" | "PAT";
|
|
372792
372796
|
id: string;
|
|
372793
|
-
state: "Active" | "Inactive";
|
|
372797
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372794
372798
|
createdAt: Date;
|
|
372795
372799
|
userId: string;
|
|
372796
372800
|
integrationId: string;
|
|
@@ -372818,7 +372822,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
|
372818
372822
|
}, {
|
|
372819
372823
|
type: "OAuth2" | "PAT";
|
|
372820
372824
|
id: string;
|
|
372821
|
-
state: "Active" | "Inactive";
|
|
372825
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372822
372826
|
createdAt: Date;
|
|
372823
372827
|
userId: string;
|
|
372824
372828
|
integrationId: string;
|
|
@@ -372898,7 +372902,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
372898
372902
|
collection?: string | null | undefined;
|
|
372899
372903
|
}>>;
|
|
372900
372904
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
372901
|
-
state: z.ZodEnum<["Active", "Inactive"]>;
|
|
372905
|
+
state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
|
|
372902
372906
|
user: z.ZodOptional<z.ZodObject<{
|
|
372903
372907
|
id: z.ZodString;
|
|
372904
372908
|
name: z.ZodString;
|
|
@@ -372918,7 +372922,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
372918
372922
|
}, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
|
|
372919
372923
|
type: "OAuth2" | "PAT";
|
|
372920
372924
|
id: string;
|
|
372921
|
-
state: "Active" | "Inactive";
|
|
372925
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372922
372926
|
createdAt: Date;
|
|
372923
372927
|
userId: string;
|
|
372924
372928
|
integrationId: string;
|
|
@@ -372946,7 +372950,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
372946
372950
|
}, {
|
|
372947
372951
|
type: "OAuth2" | "PAT";
|
|
372948
372952
|
id: string;
|
|
372949
|
-
state: "Active" | "Inactive";
|
|
372953
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
372950
372954
|
createdAt: Date;
|
|
372951
372955
|
userId: string;
|
|
372952
372956
|
integrationId: string;
|
|
@@ -372999,7 +373003,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
372999
373003
|
integrationCredentials?: {
|
|
373000
373004
|
type: "OAuth2" | "PAT";
|
|
373001
373005
|
id: string;
|
|
373002
|
-
state: "Active" | "Inactive";
|
|
373006
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373003
373007
|
createdAt: Date;
|
|
373004
373008
|
userId: string;
|
|
373005
373009
|
integrationId: string;
|
|
@@ -373040,7 +373044,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
373040
373044
|
integrationCredentials?: {
|
|
373041
373045
|
type: "OAuth2" | "PAT";
|
|
373042
373046
|
id: string;
|
|
373043
|
-
state: "Active" | "Inactive";
|
|
373047
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373044
373048
|
createdAt: Date;
|
|
373045
373049
|
userId: string;
|
|
373046
373050
|
integrationId: string;
|
|
@@ -373083,7 +373087,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
373083
373087
|
integrationCredentials?: {
|
|
373084
373088
|
type: "OAuth2" | "PAT";
|
|
373085
373089
|
id: string;
|
|
373086
|
-
state: "Active" | "Inactive";
|
|
373090
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373087
373091
|
createdAt: Date;
|
|
373088
373092
|
userId: string;
|
|
373089
373093
|
integrationId: string;
|
|
@@ -373126,7 +373130,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
373126
373130
|
integrationCredentials?: {
|
|
373127
373131
|
type: "OAuth2" | "PAT";
|
|
373128
373132
|
id: string;
|
|
373129
|
-
state: "Active" | "Inactive";
|
|
373133
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373130
373134
|
createdAt: Date;
|
|
373131
373135
|
userId: string;
|
|
373132
373136
|
integrationId: string;
|
|
@@ -373207,7 +373211,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373207
373211
|
collection?: string | null | undefined;
|
|
373208
373212
|
}>>;
|
|
373209
373213
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
373210
|
-
state: z.ZodEnum<["Active", "Inactive"]>;
|
|
373214
|
+
state: z.ZodEnum<["Active", "Pending", "Suspended", "Inactive"]>;
|
|
373211
373215
|
user: z.ZodOptional<z.ZodObject<{
|
|
373212
373216
|
id: z.ZodString;
|
|
373213
373217
|
name: z.ZodString;
|
|
@@ -373227,7 +373231,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373227
373231
|
}, "refreshToken" | "accessToken">, "strip", z.ZodTypeAny, {
|
|
373228
373232
|
type: "OAuth2" | "PAT";
|
|
373229
373233
|
id: string;
|
|
373230
|
-
state: "Active" | "Inactive";
|
|
373234
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373231
373235
|
createdAt: Date;
|
|
373232
373236
|
userId: string;
|
|
373233
373237
|
integrationId: string;
|
|
@@ -373255,7 +373259,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373255
373259
|
}, {
|
|
373256
373260
|
type: "OAuth2" | "PAT";
|
|
373257
373261
|
id: string;
|
|
373258
|
-
state: "Active" | "Inactive";
|
|
373262
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373259
373263
|
createdAt: Date;
|
|
373260
373264
|
userId: string;
|
|
373261
373265
|
integrationId: string;
|
|
@@ -373308,7 +373312,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373308
373312
|
integrationCredentials?: {
|
|
373309
373313
|
type: "OAuth2" | "PAT";
|
|
373310
373314
|
id: string;
|
|
373311
|
-
state: "Active" | "Inactive";
|
|
373315
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373312
373316
|
createdAt: Date;
|
|
373313
373317
|
userId: string;
|
|
373314
373318
|
integrationId: string;
|
|
@@ -373349,7 +373353,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373349
373353
|
integrationCredentials?: {
|
|
373350
373354
|
type: "OAuth2" | "PAT";
|
|
373351
373355
|
id: string;
|
|
373352
|
-
state: "Active" | "Inactive";
|
|
373356
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373353
373357
|
createdAt: Date;
|
|
373354
373358
|
userId: string;
|
|
373355
373359
|
integrationId: string;
|
|
@@ -373392,7 +373396,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373392
373396
|
integrationCredentials?: {
|
|
373393
373397
|
type: "OAuth2" | "PAT";
|
|
373394
373398
|
id: string;
|
|
373395
|
-
state: "Active" | "Inactive";
|
|
373399
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373396
373400
|
createdAt: Date;
|
|
373397
373401
|
userId: string;
|
|
373398
373402
|
integrationId: string;
|
|
@@ -373435,7 +373439,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
373435
373439
|
integrationCredentials?: {
|
|
373436
373440
|
type: "OAuth2" | "PAT";
|
|
373437
373441
|
id: string;
|
|
373438
|
-
state: "Active" | "Inactive";
|
|
373442
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
373439
373443
|
createdAt: Date;
|
|
373440
373444
|
userId: string;
|
|
373441
373445
|
integrationId: string;
|
|
@@ -404584,7 +404588,7 @@ declare class WorkspaceIntegrationsEndpoint {
|
|
|
404584
404588
|
integrationCredentials?: {
|
|
404585
404589
|
type: "OAuth2" | "PAT";
|
|
404586
404590
|
id: string;
|
|
404587
|
-
state: "Active" | "Inactive";
|
|
404591
|
+
state: "Pending" | "Active" | "Suspended" | "Inactive";
|
|
404588
404592
|
createdAt: Date;
|
|
404589
404593
|
userId: string;
|
|
404590
404594
|
integrationId: string;
|