@supernova-studio/model 0.58.8 → 0.58.9
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 +43 -25
- package/dist/index.d.ts +43 -25
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/import/support/figma-files.ts +1 -0
- package/src/integrations/integration.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -17170,7 +17170,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17170
17170
|
createdAt: z.ZodDate;
|
|
17171
17171
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17172
17172
|
id: z.ZodString;
|
|
17173
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
17173
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
17174
17174
|
integrationId: z.ZodString;
|
|
17175
17175
|
accessToken: z.ZodString;
|
|
17176
17176
|
userId: z.ZodString;
|
|
@@ -17227,7 +17227,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17227
17227
|
}, "strip", z.ZodTypeAny, {
|
|
17228
17228
|
id: string;
|
|
17229
17229
|
createdAt: Date;
|
|
17230
|
-
type: "OAuth2" | "PAT"
|
|
17230
|
+
type: "OAuth2" | "PAT";
|
|
17231
17231
|
state: "Active" | "Inactive";
|
|
17232
17232
|
accessToken: string;
|
|
17233
17233
|
userId: string;
|
|
@@ -17257,7 +17257,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17257
17257
|
}, {
|
|
17258
17258
|
id: string;
|
|
17259
17259
|
createdAt: Date;
|
|
17260
|
-
type: "OAuth2" | "PAT"
|
|
17260
|
+
type: "OAuth2" | "PAT";
|
|
17261
17261
|
state: "Active" | "Inactive";
|
|
17262
17262
|
accessToken: string;
|
|
17263
17263
|
userId: string;
|
|
@@ -17293,7 +17293,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17293
17293
|
integrationCredentials?: {
|
|
17294
17294
|
id: string;
|
|
17295
17295
|
createdAt: Date;
|
|
17296
|
-
type: "OAuth2" | "PAT"
|
|
17296
|
+
type: "OAuth2" | "PAT";
|
|
17297
17297
|
state: "Active" | "Inactive";
|
|
17298
17298
|
accessToken: string;
|
|
17299
17299
|
userId: string;
|
|
@@ -17329,7 +17329,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17329
17329
|
integrationCredentials?: {
|
|
17330
17330
|
id: string;
|
|
17331
17331
|
createdAt: Date;
|
|
17332
|
-
type: "OAuth2" | "PAT"
|
|
17332
|
+
type: "OAuth2" | "PAT";
|
|
17333
17333
|
state: "Active" | "Inactive";
|
|
17334
17334
|
accessToken: string;
|
|
17335
17335
|
userId: string;
|
|
@@ -18158,7 +18158,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
18158
18158
|
integrationCredentials?: {
|
|
18159
18159
|
id: string;
|
|
18160
18160
|
createdAt: Date;
|
|
18161
|
-
type: "OAuth2" | "PAT"
|
|
18161
|
+
type: "OAuth2" | "PAT";
|
|
18162
18162
|
state: "Active" | "Inactive";
|
|
18163
18163
|
accessToken: string;
|
|
18164
18164
|
userId: string;
|
|
@@ -18987,7 +18987,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
18987
18987
|
integrationCredentials?: {
|
|
18988
18988
|
id: string;
|
|
18989
18989
|
createdAt: Date;
|
|
18990
|
-
type: "OAuth2" | "PAT"
|
|
18990
|
+
type: "OAuth2" | "PAT";
|
|
18991
18991
|
state: "Active" | "Inactive";
|
|
18992
18992
|
accessToken: string;
|
|
18993
18993
|
userId: string;
|
|
@@ -19818,7 +19818,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
19818
19818
|
integrationCredentials?: {
|
|
19819
19819
|
id: string;
|
|
19820
19820
|
createdAt: Date;
|
|
19821
|
-
type: "OAuth2" | "PAT"
|
|
19821
|
+
type: "OAuth2" | "PAT";
|
|
19822
19822
|
state: "Active" | "Inactive";
|
|
19823
19823
|
accessToken: string;
|
|
19824
19824
|
userId: string;
|
|
@@ -20720,7 +20720,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
20720
20720
|
integrationCredentials?: {
|
|
20721
20721
|
id: string;
|
|
20722
20722
|
createdAt: Date;
|
|
20723
|
-
type: "OAuth2" | "PAT"
|
|
20723
|
+
type: "OAuth2" | "PAT";
|
|
20724
20724
|
state: "Active" | "Inactive";
|
|
20725
20725
|
accessToken: string;
|
|
20726
20726
|
userId: string;
|
|
@@ -27410,7 +27410,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27410
27410
|
createdAt: z.ZodDate;
|
|
27411
27411
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27412
27412
|
id: z.ZodString;
|
|
27413
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
27413
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
27414
27414
|
integrationId: z.ZodString;
|
|
27415
27415
|
accessToken: z.ZodString;
|
|
27416
27416
|
userId: z.ZodString;
|
|
@@ -27467,7 +27467,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27467
27467
|
}, "strip", z.ZodTypeAny, {
|
|
27468
27468
|
id: string;
|
|
27469
27469
|
createdAt: Date;
|
|
27470
|
-
type: "OAuth2" | "PAT"
|
|
27470
|
+
type: "OAuth2" | "PAT";
|
|
27471
27471
|
state: "Active" | "Inactive";
|
|
27472
27472
|
accessToken: string;
|
|
27473
27473
|
userId: string;
|
|
@@ -27497,7 +27497,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27497
27497
|
}, {
|
|
27498
27498
|
id: string;
|
|
27499
27499
|
createdAt: Date;
|
|
27500
|
-
type: "OAuth2" | "PAT"
|
|
27500
|
+
type: "OAuth2" | "PAT";
|
|
27501
27501
|
state: "Active" | "Inactive";
|
|
27502
27502
|
accessToken: string;
|
|
27503
27503
|
userId: string;
|
|
@@ -27533,7 +27533,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27533
27533
|
integrationCredentials?: {
|
|
27534
27534
|
id: string;
|
|
27535
27535
|
createdAt: Date;
|
|
27536
|
-
type: "OAuth2" | "PAT"
|
|
27536
|
+
type: "OAuth2" | "PAT";
|
|
27537
27537
|
state: "Active" | "Inactive";
|
|
27538
27538
|
accessToken: string;
|
|
27539
27539
|
userId: string;
|
|
@@ -27569,7 +27569,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27569
27569
|
integrationCredentials?: {
|
|
27570
27570
|
id: string;
|
|
27571
27571
|
createdAt: Date;
|
|
27572
|
-
type: "OAuth2" | "PAT"
|
|
27572
|
+
type: "OAuth2" | "PAT";
|
|
27573
27573
|
state: "Active" | "Inactive";
|
|
27574
27574
|
accessToken: string;
|
|
27575
27575
|
userId: string;
|
|
@@ -28398,7 +28398,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
28398
28398
|
integrationCredentials?: {
|
|
28399
28399
|
id: string;
|
|
28400
28400
|
createdAt: Date;
|
|
28401
|
-
type: "OAuth2" | "PAT"
|
|
28401
|
+
type: "OAuth2" | "PAT";
|
|
28402
28402
|
state: "Active" | "Inactive";
|
|
28403
28403
|
accessToken: string;
|
|
28404
28404
|
userId: string;
|
|
@@ -29227,7 +29227,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
29227
29227
|
integrationCredentials?: {
|
|
29228
29228
|
id: string;
|
|
29229
29229
|
createdAt: Date;
|
|
29230
|
-
type: "OAuth2" | "PAT"
|
|
29230
|
+
type: "OAuth2" | "PAT";
|
|
29231
29231
|
state: "Active" | "Inactive";
|
|
29232
29232
|
accessToken: string;
|
|
29233
29233
|
userId: string;
|
|
@@ -77739,10 +77739,13 @@ declare const FigmaFileDownloadScope: z.ZodObject<{
|
|
|
77739
77739
|
type FigmaFileDownloadScope = z.infer<typeof FigmaFileDownloadScope>;
|
|
77740
77740
|
declare const FigmaFileAccessData: z.ZodObject<{
|
|
77741
77741
|
accessToken: z.ZodString;
|
|
77742
|
+
accessTokenType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
77742
77743
|
}, "strip", z.ZodTypeAny, {
|
|
77743
77744
|
accessToken: string;
|
|
77745
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
77744
77746
|
}, {
|
|
77745
77747
|
accessToken: string;
|
|
77748
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
77746
77749
|
}>;
|
|
77747
77750
|
type FigmaFileAccessData = z.infer<typeof FigmaFileAccessData>;
|
|
77748
77751
|
|
|
@@ -77979,10 +77982,13 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
77979
77982
|
*/
|
|
77980
77983
|
fileAccessByFileId: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
77981
77984
|
accessToken: z.ZodString;
|
|
77985
|
+
accessTokenType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
77982
77986
|
}, "strip", z.ZodTypeAny, {
|
|
77983
77987
|
accessToken: string;
|
|
77988
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
77984
77989
|
}, {
|
|
77985
77990
|
accessToken: string;
|
|
77991
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
77986
77992
|
}>>;
|
|
77987
77993
|
/**
|
|
77988
77994
|
* Figma source data for which import was requested
|
|
@@ -78236,6 +78242,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
78236
78242
|
designSystemId: string;
|
|
78237
78243
|
fileAccessByFileId: Record<string, {
|
|
78238
78244
|
accessToken: string;
|
|
78245
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78239
78246
|
}>;
|
|
78240
78247
|
importedSourceDataBySourceId: Record<string, {
|
|
78241
78248
|
sourceId: string;
|
|
@@ -78284,6 +78291,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
78284
78291
|
designSystemId: string;
|
|
78285
78292
|
fileAccessByFileId: Record<string, {
|
|
78286
78293
|
accessToken: string;
|
|
78294
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78287
78295
|
}>;
|
|
78288
78296
|
importedSourceDataBySourceId: Record<string, {
|
|
78289
78297
|
sourceId: string;
|
|
@@ -78340,10 +78348,13 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<z.objectUtil.exten
|
|
|
78340
78348
|
*/
|
|
78341
78349
|
fileAccessByFileId: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
78342
78350
|
accessToken: z.ZodString;
|
|
78351
|
+
accessTokenType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
78343
78352
|
}, "strip", z.ZodTypeAny, {
|
|
78344
78353
|
accessToken: string;
|
|
78354
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78345
78355
|
}, {
|
|
78346
78356
|
accessToken: string;
|
|
78357
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78347
78358
|
}>>;
|
|
78348
78359
|
/**
|
|
78349
78360
|
* Figma source data for which import was requested
|
|
@@ -78601,6 +78612,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<z.objectUtil.exten
|
|
|
78601
78612
|
designSystemId: string;
|
|
78602
78613
|
fileAccessByFileId: Record<string, {
|
|
78603
78614
|
accessToken: string;
|
|
78615
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78604
78616
|
}>;
|
|
78605
78617
|
importedSourceDataBySourceId: Record<string, {
|
|
78606
78618
|
sourceId: string;
|
|
@@ -78652,6 +78664,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<z.objectUtil.exten
|
|
|
78652
78664
|
designSystemId: string;
|
|
78653
78665
|
fileAccessByFileId: Record<string, {
|
|
78654
78666
|
accessToken: string;
|
|
78667
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78655
78668
|
}>;
|
|
78656
78669
|
importedSourceDataBySourceId: Record<string, {
|
|
78657
78670
|
sourceId: string;
|
|
@@ -78988,10 +79001,13 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<z.objectUtil.ext
|
|
|
78988
79001
|
*/
|
|
78989
79002
|
fileAccessByFileId: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
78990
79003
|
accessToken: z.ZodString;
|
|
79004
|
+
accessTokenType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
78991
79005
|
}, "strip", z.ZodTypeAny, {
|
|
78992
79006
|
accessToken: string;
|
|
79007
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78993
79008
|
}, {
|
|
78994
79009
|
accessToken: string;
|
|
79010
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78995
79011
|
}>>;
|
|
78996
79012
|
/**
|
|
78997
79013
|
* Figma source data for which import was requested
|
|
@@ -79563,6 +79579,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<z.objectUtil.ext
|
|
|
79563
79579
|
designSystemId: string;
|
|
79564
79580
|
fileAccessByFileId: Record<string, {
|
|
79565
79581
|
accessToken: string;
|
|
79582
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
79566
79583
|
}>;
|
|
79567
79584
|
importedSourceDataBySourceId: Record<string, {
|
|
79568
79585
|
sourceId: string;
|
|
@@ -79668,6 +79685,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<z.objectUtil.ext
|
|
|
79668
79685
|
designSystemId: string;
|
|
79669
79686
|
fileAccessByFileId: Record<string, {
|
|
79670
79687
|
accessToken: string;
|
|
79688
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
79671
79689
|
}>;
|
|
79672
79690
|
importedSourceDataBySourceId: Record<string, {
|
|
79673
79691
|
sourceId: string;
|
|
@@ -147363,7 +147381,7 @@ declare const IntegrationDesignSystem: z.ZodObject<{
|
|
|
147363
147381
|
userId?: string | undefined;
|
|
147364
147382
|
}>;
|
|
147365
147383
|
type IntegrationDesignSystem = z.infer<typeof IntegrationDesignSystem>;
|
|
147366
|
-
declare const IntegrationCredentialsType: z.ZodEnum<["OAuth2", "PAT"
|
|
147384
|
+
declare const IntegrationCredentialsType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
147367
147385
|
type IntegrationCredentialsType = z.infer<typeof IntegrationCredentialsType>;
|
|
147368
147386
|
declare const IntegrationCredentialsState: z.ZodEnum<["Active", "Inactive"]>;
|
|
147369
147387
|
type IntegrationCredentialsState = z.infer<typeof IntegrationCredentialsState>;
|
|
@@ -147395,7 +147413,7 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
147395
147413
|
type IntegrationCredentialsProfile = z.infer<typeof IntegrationCredentialsProfile>;
|
|
147396
147414
|
declare const IntegrationCredentials: z.ZodObject<{
|
|
147397
147415
|
id: z.ZodString;
|
|
147398
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
147416
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
147399
147417
|
integrationId: z.ZodString;
|
|
147400
147418
|
accessToken: z.ZodString;
|
|
147401
147419
|
userId: z.ZodString;
|
|
@@ -147452,7 +147470,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
147452
147470
|
}, "strip", z.ZodTypeAny, {
|
|
147453
147471
|
id: string;
|
|
147454
147472
|
createdAt: Date;
|
|
147455
|
-
type: "OAuth2" | "PAT"
|
|
147473
|
+
type: "OAuth2" | "PAT";
|
|
147456
147474
|
state: "Active" | "Inactive";
|
|
147457
147475
|
accessToken: string;
|
|
147458
147476
|
userId: string;
|
|
@@ -147482,7 +147500,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
147482
147500
|
}, {
|
|
147483
147501
|
id: string;
|
|
147484
147502
|
createdAt: Date;
|
|
147485
|
-
type: "OAuth2" | "PAT"
|
|
147503
|
+
type: "OAuth2" | "PAT";
|
|
147486
147504
|
state: "Active" | "Inactive";
|
|
147487
147505
|
accessToken: string;
|
|
147488
147506
|
userId: string;
|
|
@@ -147524,7 +147542,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147524
147542
|
createdAt: z.ZodDate;
|
|
147525
147543
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
147526
147544
|
id: z.ZodString;
|
|
147527
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
147545
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
147528
147546
|
integrationId: z.ZodString;
|
|
147529
147547
|
accessToken: z.ZodString;
|
|
147530
147548
|
userId: z.ZodString;
|
|
@@ -147581,7 +147599,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147581
147599
|
}, "strip", z.ZodTypeAny, {
|
|
147582
147600
|
id: string;
|
|
147583
147601
|
createdAt: Date;
|
|
147584
|
-
type: "OAuth2" | "PAT"
|
|
147602
|
+
type: "OAuth2" | "PAT";
|
|
147585
147603
|
state: "Active" | "Inactive";
|
|
147586
147604
|
accessToken: string;
|
|
147587
147605
|
userId: string;
|
|
@@ -147611,7 +147629,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147611
147629
|
}, {
|
|
147612
147630
|
id: string;
|
|
147613
147631
|
createdAt: Date;
|
|
147614
|
-
type: "OAuth2" | "PAT"
|
|
147632
|
+
type: "OAuth2" | "PAT";
|
|
147615
147633
|
state: "Active" | "Inactive";
|
|
147616
147634
|
accessToken: string;
|
|
147617
147635
|
userId: string;
|
|
@@ -147647,7 +147665,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147647
147665
|
integrationCredentials?: {
|
|
147648
147666
|
id: string;
|
|
147649
147667
|
createdAt: Date;
|
|
147650
|
-
type: "OAuth2" | "PAT"
|
|
147668
|
+
type: "OAuth2" | "PAT";
|
|
147651
147669
|
state: "Active" | "Inactive";
|
|
147652
147670
|
accessToken: string;
|
|
147653
147671
|
userId: string;
|
|
@@ -147683,7 +147701,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147683
147701
|
integrationCredentials?: {
|
|
147684
147702
|
id: string;
|
|
147685
147703
|
createdAt: Date;
|
|
147686
|
-
type: "OAuth2" | "PAT"
|
|
147704
|
+
type: "OAuth2" | "PAT";
|
|
147687
147705
|
state: "Active" | "Inactive";
|
|
147688
147706
|
accessToken: string;
|
|
147689
147707
|
userId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -17170,7 +17170,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17170
17170
|
createdAt: z.ZodDate;
|
|
17171
17171
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17172
17172
|
id: z.ZodString;
|
|
17173
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
17173
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
17174
17174
|
integrationId: z.ZodString;
|
|
17175
17175
|
accessToken: z.ZodString;
|
|
17176
17176
|
userId: z.ZodString;
|
|
@@ -17227,7 +17227,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17227
17227
|
}, "strip", z.ZodTypeAny, {
|
|
17228
17228
|
id: string;
|
|
17229
17229
|
createdAt: Date;
|
|
17230
|
-
type: "OAuth2" | "PAT"
|
|
17230
|
+
type: "OAuth2" | "PAT";
|
|
17231
17231
|
state: "Active" | "Inactive";
|
|
17232
17232
|
accessToken: string;
|
|
17233
17233
|
userId: string;
|
|
@@ -17257,7 +17257,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17257
17257
|
}, {
|
|
17258
17258
|
id: string;
|
|
17259
17259
|
createdAt: Date;
|
|
17260
|
-
type: "OAuth2" | "PAT"
|
|
17260
|
+
type: "OAuth2" | "PAT";
|
|
17261
17261
|
state: "Active" | "Inactive";
|
|
17262
17262
|
accessToken: string;
|
|
17263
17263
|
userId: string;
|
|
@@ -17293,7 +17293,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17293
17293
|
integrationCredentials?: {
|
|
17294
17294
|
id: string;
|
|
17295
17295
|
createdAt: Date;
|
|
17296
|
-
type: "OAuth2" | "PAT"
|
|
17296
|
+
type: "OAuth2" | "PAT";
|
|
17297
17297
|
state: "Active" | "Inactive";
|
|
17298
17298
|
accessToken: string;
|
|
17299
17299
|
userId: string;
|
|
@@ -17329,7 +17329,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
17329
17329
|
integrationCredentials?: {
|
|
17330
17330
|
id: string;
|
|
17331
17331
|
createdAt: Date;
|
|
17332
|
-
type: "OAuth2" | "PAT"
|
|
17332
|
+
type: "OAuth2" | "PAT";
|
|
17333
17333
|
state: "Active" | "Inactive";
|
|
17334
17334
|
accessToken: string;
|
|
17335
17335
|
userId: string;
|
|
@@ -18158,7 +18158,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
18158
18158
|
integrationCredentials?: {
|
|
18159
18159
|
id: string;
|
|
18160
18160
|
createdAt: Date;
|
|
18161
|
-
type: "OAuth2" | "PAT"
|
|
18161
|
+
type: "OAuth2" | "PAT";
|
|
18162
18162
|
state: "Active" | "Inactive";
|
|
18163
18163
|
accessToken: string;
|
|
18164
18164
|
userId: string;
|
|
@@ -18987,7 +18987,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
18987
18987
|
integrationCredentials?: {
|
|
18988
18988
|
id: string;
|
|
18989
18989
|
createdAt: Date;
|
|
18990
|
-
type: "OAuth2" | "PAT"
|
|
18990
|
+
type: "OAuth2" | "PAT";
|
|
18991
18991
|
state: "Active" | "Inactive";
|
|
18992
18992
|
accessToken: string;
|
|
18993
18993
|
userId: string;
|
|
@@ -19818,7 +19818,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
19818
19818
|
integrationCredentials?: {
|
|
19819
19819
|
id: string;
|
|
19820
19820
|
createdAt: Date;
|
|
19821
|
-
type: "OAuth2" | "PAT"
|
|
19821
|
+
type: "OAuth2" | "PAT";
|
|
19822
19822
|
state: "Active" | "Inactive";
|
|
19823
19823
|
accessToken: string;
|
|
19824
19824
|
userId: string;
|
|
@@ -20720,7 +20720,7 @@ declare const UserDump: z.ZodObject<{
|
|
|
20720
20720
|
integrationCredentials?: {
|
|
20721
20721
|
id: string;
|
|
20722
20722
|
createdAt: Date;
|
|
20723
|
-
type: "OAuth2" | "PAT"
|
|
20723
|
+
type: "OAuth2" | "PAT";
|
|
20724
20724
|
state: "Active" | "Inactive";
|
|
20725
20725
|
accessToken: string;
|
|
20726
20726
|
userId: string;
|
|
@@ -27410,7 +27410,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27410
27410
|
createdAt: z.ZodDate;
|
|
27411
27411
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27412
27412
|
id: z.ZodString;
|
|
27413
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
27413
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
27414
27414
|
integrationId: z.ZodString;
|
|
27415
27415
|
accessToken: z.ZodString;
|
|
27416
27416
|
userId: z.ZodString;
|
|
@@ -27467,7 +27467,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27467
27467
|
}, "strip", z.ZodTypeAny, {
|
|
27468
27468
|
id: string;
|
|
27469
27469
|
createdAt: Date;
|
|
27470
|
-
type: "OAuth2" | "PAT"
|
|
27470
|
+
type: "OAuth2" | "PAT";
|
|
27471
27471
|
state: "Active" | "Inactive";
|
|
27472
27472
|
accessToken: string;
|
|
27473
27473
|
userId: string;
|
|
@@ -27497,7 +27497,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27497
27497
|
}, {
|
|
27498
27498
|
id: string;
|
|
27499
27499
|
createdAt: Date;
|
|
27500
|
-
type: "OAuth2" | "PAT"
|
|
27500
|
+
type: "OAuth2" | "PAT";
|
|
27501
27501
|
state: "Active" | "Inactive";
|
|
27502
27502
|
accessToken: string;
|
|
27503
27503
|
userId: string;
|
|
@@ -27533,7 +27533,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27533
27533
|
integrationCredentials?: {
|
|
27534
27534
|
id: string;
|
|
27535
27535
|
createdAt: Date;
|
|
27536
|
-
type: "OAuth2" | "PAT"
|
|
27536
|
+
type: "OAuth2" | "PAT";
|
|
27537
27537
|
state: "Active" | "Inactive";
|
|
27538
27538
|
accessToken: string;
|
|
27539
27539
|
userId: string;
|
|
@@ -27569,7 +27569,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
27569
27569
|
integrationCredentials?: {
|
|
27570
27570
|
id: string;
|
|
27571
27571
|
createdAt: Date;
|
|
27572
|
-
type: "OAuth2" | "PAT"
|
|
27572
|
+
type: "OAuth2" | "PAT";
|
|
27573
27573
|
state: "Active" | "Inactive";
|
|
27574
27574
|
accessToken: string;
|
|
27575
27575
|
userId: string;
|
|
@@ -28398,7 +28398,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
28398
28398
|
integrationCredentials?: {
|
|
28399
28399
|
id: string;
|
|
28400
28400
|
createdAt: Date;
|
|
28401
|
-
type: "OAuth2" | "PAT"
|
|
28401
|
+
type: "OAuth2" | "PAT";
|
|
28402
28402
|
state: "Active" | "Inactive";
|
|
28403
28403
|
accessToken: string;
|
|
28404
28404
|
userId: string;
|
|
@@ -29227,7 +29227,7 @@ declare const WorkspaceDump: z.ZodObject<{
|
|
|
29227
29227
|
integrationCredentials?: {
|
|
29228
29228
|
id: string;
|
|
29229
29229
|
createdAt: Date;
|
|
29230
|
-
type: "OAuth2" | "PAT"
|
|
29230
|
+
type: "OAuth2" | "PAT";
|
|
29231
29231
|
state: "Active" | "Inactive";
|
|
29232
29232
|
accessToken: string;
|
|
29233
29233
|
userId: string;
|
|
@@ -77739,10 +77739,13 @@ declare const FigmaFileDownloadScope: z.ZodObject<{
|
|
|
77739
77739
|
type FigmaFileDownloadScope = z.infer<typeof FigmaFileDownloadScope>;
|
|
77740
77740
|
declare const FigmaFileAccessData: z.ZodObject<{
|
|
77741
77741
|
accessToken: z.ZodString;
|
|
77742
|
+
accessTokenType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
77742
77743
|
}, "strip", z.ZodTypeAny, {
|
|
77743
77744
|
accessToken: string;
|
|
77745
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
77744
77746
|
}, {
|
|
77745
77747
|
accessToken: string;
|
|
77748
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
77746
77749
|
}>;
|
|
77747
77750
|
type FigmaFileAccessData = z.infer<typeof FigmaFileAccessData>;
|
|
77748
77751
|
|
|
@@ -77979,10 +77982,13 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
77979
77982
|
*/
|
|
77980
77983
|
fileAccessByFileId: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
77981
77984
|
accessToken: z.ZodString;
|
|
77985
|
+
accessTokenType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
77982
77986
|
}, "strip", z.ZodTypeAny, {
|
|
77983
77987
|
accessToken: string;
|
|
77988
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
77984
77989
|
}, {
|
|
77985
77990
|
accessToken: string;
|
|
77991
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
77986
77992
|
}>>;
|
|
77987
77993
|
/**
|
|
77988
77994
|
* Figma source data for which import was requested
|
|
@@ -78236,6 +78242,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
78236
78242
|
designSystemId: string;
|
|
78237
78243
|
fileAccessByFileId: Record<string, {
|
|
78238
78244
|
accessToken: string;
|
|
78245
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78239
78246
|
}>;
|
|
78240
78247
|
importedSourceDataBySourceId: Record<string, {
|
|
78241
78248
|
sourceId: string;
|
|
@@ -78284,6 +78291,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
78284
78291
|
designSystemId: string;
|
|
78285
78292
|
fileAccessByFileId: Record<string, {
|
|
78286
78293
|
accessToken: string;
|
|
78294
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78287
78295
|
}>;
|
|
78288
78296
|
importedSourceDataBySourceId: Record<string, {
|
|
78289
78297
|
sourceId: string;
|
|
@@ -78340,10 +78348,13 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<z.objectUtil.exten
|
|
|
78340
78348
|
*/
|
|
78341
78349
|
fileAccessByFileId: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
78342
78350
|
accessToken: z.ZodString;
|
|
78351
|
+
accessTokenType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
78343
78352
|
}, "strip", z.ZodTypeAny, {
|
|
78344
78353
|
accessToken: string;
|
|
78354
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78345
78355
|
}, {
|
|
78346
78356
|
accessToken: string;
|
|
78357
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78347
78358
|
}>>;
|
|
78348
78359
|
/**
|
|
78349
78360
|
* Figma source data for which import was requested
|
|
@@ -78601,6 +78612,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<z.objectUtil.exten
|
|
|
78601
78612
|
designSystemId: string;
|
|
78602
78613
|
fileAccessByFileId: Record<string, {
|
|
78603
78614
|
accessToken: string;
|
|
78615
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78604
78616
|
}>;
|
|
78605
78617
|
importedSourceDataBySourceId: Record<string, {
|
|
78606
78618
|
sourceId: string;
|
|
@@ -78652,6 +78664,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<z.objectUtil.exten
|
|
|
78652
78664
|
designSystemId: string;
|
|
78653
78665
|
fileAccessByFileId: Record<string, {
|
|
78654
78666
|
accessToken: string;
|
|
78667
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78655
78668
|
}>;
|
|
78656
78669
|
importedSourceDataBySourceId: Record<string, {
|
|
78657
78670
|
sourceId: string;
|
|
@@ -78988,10 +79001,13 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<z.objectUtil.ext
|
|
|
78988
79001
|
*/
|
|
78989
79002
|
fileAccessByFileId: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
78990
79003
|
accessToken: z.ZodString;
|
|
79004
|
+
accessTokenType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
78991
79005
|
}, "strip", z.ZodTypeAny, {
|
|
78992
79006
|
accessToken: string;
|
|
79007
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78993
79008
|
}, {
|
|
78994
79009
|
accessToken: string;
|
|
79010
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
78995
79011
|
}>>;
|
|
78996
79012
|
/**
|
|
78997
79013
|
* Figma source data for which import was requested
|
|
@@ -79563,6 +79579,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<z.objectUtil.ext
|
|
|
79563
79579
|
designSystemId: string;
|
|
79564
79580
|
fileAccessByFileId: Record<string, {
|
|
79565
79581
|
accessToken: string;
|
|
79582
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
79566
79583
|
}>;
|
|
79567
79584
|
importedSourceDataBySourceId: Record<string, {
|
|
79568
79585
|
sourceId: string;
|
|
@@ -79668,6 +79685,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<z.objectUtil.ext
|
|
|
79668
79685
|
designSystemId: string;
|
|
79669
79686
|
fileAccessByFileId: Record<string, {
|
|
79670
79687
|
accessToken: string;
|
|
79688
|
+
accessTokenType: "OAuth2" | "PAT";
|
|
79671
79689
|
}>;
|
|
79672
79690
|
importedSourceDataBySourceId: Record<string, {
|
|
79673
79691
|
sourceId: string;
|
|
@@ -147363,7 +147381,7 @@ declare const IntegrationDesignSystem: z.ZodObject<{
|
|
|
147363
147381
|
userId?: string | undefined;
|
|
147364
147382
|
}>;
|
|
147365
147383
|
type IntegrationDesignSystem = z.infer<typeof IntegrationDesignSystem>;
|
|
147366
|
-
declare const IntegrationCredentialsType: z.ZodEnum<["OAuth2", "PAT"
|
|
147384
|
+
declare const IntegrationCredentialsType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
147367
147385
|
type IntegrationCredentialsType = z.infer<typeof IntegrationCredentialsType>;
|
|
147368
147386
|
declare const IntegrationCredentialsState: z.ZodEnum<["Active", "Inactive"]>;
|
|
147369
147387
|
type IntegrationCredentialsState = z.infer<typeof IntegrationCredentialsState>;
|
|
@@ -147395,7 +147413,7 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
147395
147413
|
type IntegrationCredentialsProfile = z.infer<typeof IntegrationCredentialsProfile>;
|
|
147396
147414
|
declare const IntegrationCredentials: z.ZodObject<{
|
|
147397
147415
|
id: z.ZodString;
|
|
147398
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
147416
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
147399
147417
|
integrationId: z.ZodString;
|
|
147400
147418
|
accessToken: z.ZodString;
|
|
147401
147419
|
userId: z.ZodString;
|
|
@@ -147452,7 +147470,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
147452
147470
|
}, "strip", z.ZodTypeAny, {
|
|
147453
147471
|
id: string;
|
|
147454
147472
|
createdAt: Date;
|
|
147455
|
-
type: "OAuth2" | "PAT"
|
|
147473
|
+
type: "OAuth2" | "PAT";
|
|
147456
147474
|
state: "Active" | "Inactive";
|
|
147457
147475
|
accessToken: string;
|
|
147458
147476
|
userId: string;
|
|
@@ -147482,7 +147500,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
147482
147500
|
}, {
|
|
147483
147501
|
id: string;
|
|
147484
147502
|
createdAt: Date;
|
|
147485
|
-
type: "OAuth2" | "PAT"
|
|
147503
|
+
type: "OAuth2" | "PAT";
|
|
147486
147504
|
state: "Active" | "Inactive";
|
|
147487
147505
|
accessToken: string;
|
|
147488
147506
|
userId: string;
|
|
@@ -147524,7 +147542,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147524
147542
|
createdAt: z.ZodDate;
|
|
147525
147543
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
147526
147544
|
id: z.ZodString;
|
|
147527
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
147545
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
147528
147546
|
integrationId: z.ZodString;
|
|
147529
147547
|
accessToken: z.ZodString;
|
|
147530
147548
|
userId: z.ZodString;
|
|
@@ -147581,7 +147599,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147581
147599
|
}, "strip", z.ZodTypeAny, {
|
|
147582
147600
|
id: string;
|
|
147583
147601
|
createdAt: Date;
|
|
147584
|
-
type: "OAuth2" | "PAT"
|
|
147602
|
+
type: "OAuth2" | "PAT";
|
|
147585
147603
|
state: "Active" | "Inactive";
|
|
147586
147604
|
accessToken: string;
|
|
147587
147605
|
userId: string;
|
|
@@ -147611,7 +147629,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147611
147629
|
}, {
|
|
147612
147630
|
id: string;
|
|
147613
147631
|
createdAt: Date;
|
|
147614
|
-
type: "OAuth2" | "PAT"
|
|
147632
|
+
type: "OAuth2" | "PAT";
|
|
147615
147633
|
state: "Active" | "Inactive";
|
|
147616
147634
|
accessToken: string;
|
|
147617
147635
|
userId: string;
|
|
@@ -147647,7 +147665,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147647
147665
|
integrationCredentials?: {
|
|
147648
147666
|
id: string;
|
|
147649
147667
|
createdAt: Date;
|
|
147650
|
-
type: "OAuth2" | "PAT"
|
|
147668
|
+
type: "OAuth2" | "PAT";
|
|
147651
147669
|
state: "Active" | "Inactive";
|
|
147652
147670
|
accessToken: string;
|
|
147653
147671
|
userId: string;
|
|
@@ -147683,7 +147701,7 @@ declare const Integration: z.ZodObject<{
|
|
|
147683
147701
|
integrationCredentials?: {
|
|
147684
147702
|
id: string;
|
|
147685
147703
|
createdAt: Date;
|
|
147686
|
-
type: "OAuth2" | "PAT"
|
|
147704
|
+
type: "OAuth2" | "PAT";
|
|
147687
147705
|
state: "Active" | "Inactive";
|
|
147688
147706
|
accessToken: string;
|
|
147689
147707
|
userId: string;
|
package/dist/index.js
CHANGED
|
@@ -474,7 +474,8 @@ var FigmaFileDownloadScope = _zod.z.object({
|
|
|
474
474
|
maxFileDepth: _zod.z.number().optional()
|
|
475
475
|
});
|
|
476
476
|
var FigmaFileAccessData = _zod.z.object({
|
|
477
|
-
accessToken: _zod.z.string()
|
|
477
|
+
accessToken: _zod.z.string(),
|
|
478
|
+
accessTokenType: _zod.z.enum(["OAuth2", "PAT"])
|
|
478
479
|
});
|
|
479
480
|
|
|
480
481
|
// src/dsm/import/support/import-context.ts
|
|
@@ -4971,7 +4972,7 @@ var IntegrationDesignSystem = _zod.z.object({
|
|
|
4971
4972
|
userId: _zod.z.string().optional(),
|
|
4972
4973
|
date: _zod.z.coerce.date().optional()
|
|
4973
4974
|
});
|
|
4974
|
-
var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT"
|
|
4975
|
+
var IntegrationCredentialsType = _zod.z.enum(["OAuth2", "PAT"]);
|
|
4975
4976
|
var IntegrationCredentialsState = _zod.z.enum(["Active", "Inactive"]);
|
|
4976
4977
|
var IntegrationCredentialsProfile = _zod.z.object({
|
|
4977
4978
|
id: nullishToOptional(_zod.z.string()),
|