@supernova-studio/model 0.47.12 → 0.47.14
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 +22 -18
- package/dist/index.d.ts +22 -18
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/export/export-runner/export-context.ts +4 -1
- package/src/integrations/integration.ts +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -97131,8 +97131,9 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
97131
97131
|
apiUrl: z.ZodString;
|
|
97132
97132
|
accessToken: z.ZodString;
|
|
97133
97133
|
designSystemId: z.ZodString;
|
|
97134
|
-
|
|
97134
|
+
versionId: z.ZodString;
|
|
97135
97135
|
brandId: z.ZodOptional<z.ZodString>;
|
|
97136
|
+
themeId: z.ZodOptional<z.ZodString>;
|
|
97136
97137
|
exporterPackageUrl: z.ZodString;
|
|
97137
97138
|
exporterPropertyValues: z.ZodArray<z.ZodObject<{
|
|
97138
97139
|
key: z.ZodString;
|
|
@@ -97951,7 +97952,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
97951
97952
|
}, "strip", z.ZodTypeAny, {
|
|
97952
97953
|
designSystemId: string;
|
|
97953
97954
|
accessToken: string;
|
|
97954
|
-
|
|
97955
|
+
versionId: string;
|
|
97955
97956
|
apiUrl: string;
|
|
97956
97957
|
exporterPackageUrl: string;
|
|
97957
97958
|
exporterPropertyValues: {
|
|
@@ -98062,10 +98063,11 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
98062
98063
|
versionSlug: string;
|
|
98063
98064
|
} | undefined;
|
|
98064
98065
|
brandId?: string | undefined;
|
|
98066
|
+
themeId?: string | undefined;
|
|
98065
98067
|
}, {
|
|
98066
98068
|
designSystemId: string;
|
|
98067
98069
|
accessToken: string;
|
|
98068
|
-
|
|
98070
|
+
versionId: string;
|
|
98069
98071
|
apiUrl: string;
|
|
98070
98072
|
exporterPackageUrl: string;
|
|
98071
98073
|
exporterPropertyValues: {
|
|
@@ -98176,6 +98178,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
98176
98178
|
versionSlug: string;
|
|
98177
98179
|
} | undefined;
|
|
98178
98180
|
brandId?: string | undefined;
|
|
98181
|
+
themeId?: string | undefined;
|
|
98179
98182
|
}>;
|
|
98180
98183
|
type ExportJobContext = z.infer<typeof ExportJobContext>;
|
|
98181
98184
|
|
|
@@ -100208,7 +100211,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100208
100211
|
type: z.ZodOptional<z.ZodString>;
|
|
100209
100212
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100210
100213
|
organization: z.ZodOptional<z.ZodString>;
|
|
100211
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100212
100214
|
}, "strip", z.ZodTypeAny, {
|
|
100213
100215
|
id: string;
|
|
100214
100216
|
type?: string | undefined;
|
|
@@ -100216,7 +100218,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100216
100218
|
handle?: string | undefined;
|
|
100217
100219
|
avatarUrl?: string | undefined;
|
|
100218
100220
|
organization?: string | undefined;
|
|
100219
|
-
installation?: string | undefined;
|
|
100220
100221
|
}, {
|
|
100221
100222
|
id: string;
|
|
100222
100223
|
type?: string | undefined;
|
|
@@ -100224,7 +100225,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100224
100225
|
handle?: string | undefined;
|
|
100225
100226
|
avatarUrl?: string | undefined;
|
|
100226
100227
|
organization?: string | undefined;
|
|
100227
|
-
installation?: string | undefined;
|
|
100228
100228
|
}>;
|
|
100229
100229
|
type IntegrationCredentialsProfile = z.infer<typeof IntegrationCredentialsProfile>;
|
|
100230
100230
|
declare const IntegrationCredentials: z.ZodObject<{
|
|
@@ -100237,6 +100237,8 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100237
100237
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
100238
100238
|
tokenName: z.ZodOptional<z.ZodString>;
|
|
100239
100239
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100240
|
+
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100241
|
+
username: z.ZodOptional<z.ZodString>;
|
|
100240
100242
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100241
100243
|
id: z.ZodString;
|
|
100242
100244
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -100244,7 +100246,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100244
100246
|
type: z.ZodOptional<z.ZodString>;
|
|
100245
100247
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100246
100248
|
organization: z.ZodOptional<z.ZodString>;
|
|
100247
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100248
100249
|
}, "strip", z.ZodTypeAny, {
|
|
100249
100250
|
id: string;
|
|
100250
100251
|
type?: string | undefined;
|
|
@@ -100252,7 +100253,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100252
100253
|
handle?: string | undefined;
|
|
100253
100254
|
avatarUrl?: string | undefined;
|
|
100254
100255
|
organization?: string | undefined;
|
|
100255
|
-
installation?: string | undefined;
|
|
100256
100256
|
}, {
|
|
100257
100257
|
id: string;
|
|
100258
100258
|
type?: string | undefined;
|
|
@@ -100260,7 +100260,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100260
100260
|
handle?: string | undefined;
|
|
100261
100261
|
avatarUrl?: string | undefined;
|
|
100262
100262
|
organization?: string | undefined;
|
|
100263
|
-
installation?: string | undefined;
|
|
100264
100263
|
}>>;
|
|
100265
100264
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100266
100265
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100287,6 +100286,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100287
100286
|
accessToken: string;
|
|
100288
100287
|
integrationId: string;
|
|
100289
100288
|
customUrl?: string | undefined;
|
|
100289
|
+
username?: string | undefined;
|
|
100290
100290
|
profile?: {
|
|
100291
100291
|
id: string;
|
|
100292
100292
|
type?: string | undefined;
|
|
@@ -100294,7 +100294,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100294
100294
|
handle?: string | undefined;
|
|
100295
100295
|
avatarUrl?: string | undefined;
|
|
100296
100296
|
organization?: string | undefined;
|
|
100297
|
-
installation?: string | undefined;
|
|
100298
100297
|
} | undefined;
|
|
100299
100298
|
user?: {
|
|
100300
100299
|
id: string;
|
|
@@ -100305,6 +100304,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100305
100304
|
expiresAt?: Date | undefined;
|
|
100306
100305
|
refreshToken?: string | undefined;
|
|
100307
100306
|
tokenName?: string | undefined;
|
|
100307
|
+
refreshedAt?: Date | undefined;
|
|
100308
100308
|
}, {
|
|
100309
100309
|
id: string;
|
|
100310
100310
|
createdAt: Date;
|
|
@@ -100313,6 +100313,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100313
100313
|
accessToken: string;
|
|
100314
100314
|
integrationId: string;
|
|
100315
100315
|
customUrl?: string | undefined;
|
|
100316
|
+
username?: string | undefined;
|
|
100316
100317
|
profile?: {
|
|
100317
100318
|
id: string;
|
|
100318
100319
|
type?: string | undefined;
|
|
@@ -100320,7 +100321,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100320
100321
|
handle?: string | undefined;
|
|
100321
100322
|
avatarUrl?: string | undefined;
|
|
100322
100323
|
organization?: string | undefined;
|
|
100323
|
-
installation?: string | undefined;
|
|
100324
100324
|
} | undefined;
|
|
100325
100325
|
user?: {
|
|
100326
100326
|
id: string;
|
|
@@ -100331,6 +100331,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100331
100331
|
expiresAt?: Date | undefined;
|
|
100332
100332
|
refreshToken?: string | undefined;
|
|
100333
100333
|
tokenName?: string | undefined;
|
|
100334
|
+
refreshedAt?: Date | undefined;
|
|
100334
100335
|
}>;
|
|
100335
100336
|
type IntegrationCredentials = z.infer<typeof IntegrationCredentials>;
|
|
100336
100337
|
declare const ExtendedIntegrationType: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
@@ -100352,6 +100353,8 @@ declare const Integration: z.ZodObject<{
|
|
|
100352
100353
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
100353
100354
|
tokenName: z.ZodOptional<z.ZodString>;
|
|
100354
100355
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100356
|
+
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100357
|
+
username: z.ZodOptional<z.ZodString>;
|
|
100355
100358
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100356
100359
|
id: z.ZodString;
|
|
100357
100360
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -100359,7 +100362,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100359
100362
|
type: z.ZodOptional<z.ZodString>;
|
|
100360
100363
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100361
100364
|
organization: z.ZodOptional<z.ZodString>;
|
|
100362
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100363
100365
|
}, "strip", z.ZodTypeAny, {
|
|
100364
100366
|
id: string;
|
|
100365
100367
|
type?: string | undefined;
|
|
@@ -100367,7 +100369,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100367
100369
|
handle?: string | undefined;
|
|
100368
100370
|
avatarUrl?: string | undefined;
|
|
100369
100371
|
organization?: string | undefined;
|
|
100370
|
-
installation?: string | undefined;
|
|
100371
100372
|
}, {
|
|
100372
100373
|
id: string;
|
|
100373
100374
|
type?: string | undefined;
|
|
@@ -100375,7 +100376,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100375
100376
|
handle?: string | undefined;
|
|
100376
100377
|
avatarUrl?: string | undefined;
|
|
100377
100378
|
organization?: string | undefined;
|
|
100378
|
-
installation?: string | undefined;
|
|
100379
100379
|
}>>;
|
|
100380
100380
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100381
100381
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100402,6 +100402,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100402
100402
|
accessToken: string;
|
|
100403
100403
|
integrationId: string;
|
|
100404
100404
|
customUrl?: string | undefined;
|
|
100405
|
+
username?: string | undefined;
|
|
100405
100406
|
profile?: {
|
|
100406
100407
|
id: string;
|
|
100407
100408
|
type?: string | undefined;
|
|
@@ -100409,7 +100410,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100409
100410
|
handle?: string | undefined;
|
|
100410
100411
|
avatarUrl?: string | undefined;
|
|
100411
100412
|
organization?: string | undefined;
|
|
100412
|
-
installation?: string | undefined;
|
|
100413
100413
|
} | undefined;
|
|
100414
100414
|
user?: {
|
|
100415
100415
|
id: string;
|
|
@@ -100420,6 +100420,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100420
100420
|
expiresAt?: Date | undefined;
|
|
100421
100421
|
refreshToken?: string | undefined;
|
|
100422
100422
|
tokenName?: string | undefined;
|
|
100423
|
+
refreshedAt?: Date | undefined;
|
|
100423
100424
|
}, {
|
|
100424
100425
|
id: string;
|
|
100425
100426
|
createdAt: Date;
|
|
@@ -100428,6 +100429,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100428
100429
|
accessToken: string;
|
|
100429
100430
|
integrationId: string;
|
|
100430
100431
|
customUrl?: string | undefined;
|
|
100432
|
+
username?: string | undefined;
|
|
100431
100433
|
profile?: {
|
|
100432
100434
|
id: string;
|
|
100433
100435
|
type?: string | undefined;
|
|
@@ -100435,7 +100437,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100435
100437
|
handle?: string | undefined;
|
|
100436
100438
|
avatarUrl?: string | undefined;
|
|
100437
100439
|
organization?: string | undefined;
|
|
100438
|
-
installation?: string | undefined;
|
|
100439
100440
|
} | undefined;
|
|
100440
100441
|
user?: {
|
|
100441
100442
|
id: string;
|
|
@@ -100446,6 +100447,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100446
100447
|
expiresAt?: Date | undefined;
|
|
100447
100448
|
refreshToken?: string | undefined;
|
|
100448
100449
|
tokenName?: string | undefined;
|
|
100450
|
+
refreshedAt?: Date | undefined;
|
|
100449
100451
|
}>, "many">>;
|
|
100450
100452
|
}, "strip", z.ZodTypeAny, {
|
|
100451
100453
|
id: string;
|
|
@@ -100460,6 +100462,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100460
100462
|
accessToken: string;
|
|
100461
100463
|
integrationId: string;
|
|
100462
100464
|
customUrl?: string | undefined;
|
|
100465
|
+
username?: string | undefined;
|
|
100463
100466
|
profile?: {
|
|
100464
100467
|
id: string;
|
|
100465
100468
|
type?: string | undefined;
|
|
@@ -100467,7 +100470,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100467
100470
|
handle?: string | undefined;
|
|
100468
100471
|
avatarUrl?: string | undefined;
|
|
100469
100472
|
organization?: string | undefined;
|
|
100470
|
-
installation?: string | undefined;
|
|
100471
100473
|
} | undefined;
|
|
100472
100474
|
user?: {
|
|
100473
100475
|
id: string;
|
|
@@ -100478,6 +100480,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100478
100480
|
expiresAt?: Date | undefined;
|
|
100479
100481
|
refreshToken?: string | undefined;
|
|
100480
100482
|
tokenName?: string | undefined;
|
|
100483
|
+
refreshedAt?: Date | undefined;
|
|
100481
100484
|
}[] | undefined;
|
|
100482
100485
|
}, {
|
|
100483
100486
|
id: string;
|
|
@@ -100492,6 +100495,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100492
100495
|
accessToken: string;
|
|
100493
100496
|
integrationId: string;
|
|
100494
100497
|
customUrl?: string | undefined;
|
|
100498
|
+
username?: string | undefined;
|
|
100495
100499
|
profile?: {
|
|
100496
100500
|
id: string;
|
|
100497
100501
|
type?: string | undefined;
|
|
@@ -100499,7 +100503,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100499
100503
|
handle?: string | undefined;
|
|
100500
100504
|
avatarUrl?: string | undefined;
|
|
100501
100505
|
organization?: string | undefined;
|
|
100502
|
-
installation?: string | undefined;
|
|
100503
100506
|
} | undefined;
|
|
100504
100507
|
user?: {
|
|
100505
100508
|
id: string;
|
|
@@ -100510,6 +100513,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100510
100513
|
expiresAt?: Date | undefined;
|
|
100511
100514
|
refreshToken?: string | undefined;
|
|
100512
100515
|
tokenName?: string | undefined;
|
|
100516
|
+
refreshedAt?: Date | undefined;
|
|
100513
100517
|
}[] | undefined;
|
|
100514
100518
|
}>;
|
|
100515
100519
|
type Integration = z.infer<typeof Integration>;
|
package/dist/index.d.ts
CHANGED
|
@@ -97131,8 +97131,9 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
97131
97131
|
apiUrl: z.ZodString;
|
|
97132
97132
|
accessToken: z.ZodString;
|
|
97133
97133
|
designSystemId: z.ZodString;
|
|
97134
|
-
|
|
97134
|
+
versionId: z.ZodString;
|
|
97135
97135
|
brandId: z.ZodOptional<z.ZodString>;
|
|
97136
|
+
themeId: z.ZodOptional<z.ZodString>;
|
|
97136
97137
|
exporterPackageUrl: z.ZodString;
|
|
97137
97138
|
exporterPropertyValues: z.ZodArray<z.ZodObject<{
|
|
97138
97139
|
key: z.ZodString;
|
|
@@ -97951,7 +97952,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
97951
97952
|
}, "strip", z.ZodTypeAny, {
|
|
97952
97953
|
designSystemId: string;
|
|
97953
97954
|
accessToken: string;
|
|
97954
|
-
|
|
97955
|
+
versionId: string;
|
|
97955
97956
|
apiUrl: string;
|
|
97956
97957
|
exporterPackageUrl: string;
|
|
97957
97958
|
exporterPropertyValues: {
|
|
@@ -98062,10 +98063,11 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
98062
98063
|
versionSlug: string;
|
|
98063
98064
|
} | undefined;
|
|
98064
98065
|
brandId?: string | undefined;
|
|
98066
|
+
themeId?: string | undefined;
|
|
98065
98067
|
}, {
|
|
98066
98068
|
designSystemId: string;
|
|
98067
98069
|
accessToken: string;
|
|
98068
|
-
|
|
98070
|
+
versionId: string;
|
|
98069
98071
|
apiUrl: string;
|
|
98070
98072
|
exporterPackageUrl: string;
|
|
98071
98073
|
exporterPropertyValues: {
|
|
@@ -98176,6 +98178,7 @@ declare const ExportJobContext: z.ZodObject<{
|
|
|
98176
98178
|
versionSlug: string;
|
|
98177
98179
|
} | undefined;
|
|
98178
98180
|
brandId?: string | undefined;
|
|
98181
|
+
themeId?: string | undefined;
|
|
98179
98182
|
}>;
|
|
98180
98183
|
type ExportJobContext = z.infer<typeof ExportJobContext>;
|
|
98181
98184
|
|
|
@@ -100208,7 +100211,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100208
100211
|
type: z.ZodOptional<z.ZodString>;
|
|
100209
100212
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100210
100213
|
organization: z.ZodOptional<z.ZodString>;
|
|
100211
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100212
100214
|
}, "strip", z.ZodTypeAny, {
|
|
100213
100215
|
id: string;
|
|
100214
100216
|
type?: string | undefined;
|
|
@@ -100216,7 +100218,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100216
100218
|
handle?: string | undefined;
|
|
100217
100219
|
avatarUrl?: string | undefined;
|
|
100218
100220
|
organization?: string | undefined;
|
|
100219
|
-
installation?: string | undefined;
|
|
100220
100221
|
}, {
|
|
100221
100222
|
id: string;
|
|
100222
100223
|
type?: string | undefined;
|
|
@@ -100224,7 +100225,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100224
100225
|
handle?: string | undefined;
|
|
100225
100226
|
avatarUrl?: string | undefined;
|
|
100226
100227
|
organization?: string | undefined;
|
|
100227
|
-
installation?: string | undefined;
|
|
100228
100228
|
}>;
|
|
100229
100229
|
type IntegrationCredentialsProfile = z.infer<typeof IntegrationCredentialsProfile>;
|
|
100230
100230
|
declare const IntegrationCredentials: z.ZodObject<{
|
|
@@ -100237,6 +100237,8 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100237
100237
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
100238
100238
|
tokenName: z.ZodOptional<z.ZodString>;
|
|
100239
100239
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100240
|
+
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100241
|
+
username: z.ZodOptional<z.ZodString>;
|
|
100240
100242
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100241
100243
|
id: z.ZodString;
|
|
100242
100244
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -100244,7 +100246,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100244
100246
|
type: z.ZodOptional<z.ZodString>;
|
|
100245
100247
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100246
100248
|
organization: z.ZodOptional<z.ZodString>;
|
|
100247
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100248
100249
|
}, "strip", z.ZodTypeAny, {
|
|
100249
100250
|
id: string;
|
|
100250
100251
|
type?: string | undefined;
|
|
@@ -100252,7 +100253,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100252
100253
|
handle?: string | undefined;
|
|
100253
100254
|
avatarUrl?: string | undefined;
|
|
100254
100255
|
organization?: string | undefined;
|
|
100255
|
-
installation?: string | undefined;
|
|
100256
100256
|
}, {
|
|
100257
100257
|
id: string;
|
|
100258
100258
|
type?: string | undefined;
|
|
@@ -100260,7 +100260,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100260
100260
|
handle?: string | undefined;
|
|
100261
100261
|
avatarUrl?: string | undefined;
|
|
100262
100262
|
organization?: string | undefined;
|
|
100263
|
-
installation?: string | undefined;
|
|
100264
100263
|
}>>;
|
|
100265
100264
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100266
100265
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100287,6 +100286,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100287
100286
|
accessToken: string;
|
|
100288
100287
|
integrationId: string;
|
|
100289
100288
|
customUrl?: string | undefined;
|
|
100289
|
+
username?: string | undefined;
|
|
100290
100290
|
profile?: {
|
|
100291
100291
|
id: string;
|
|
100292
100292
|
type?: string | undefined;
|
|
@@ -100294,7 +100294,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100294
100294
|
handle?: string | undefined;
|
|
100295
100295
|
avatarUrl?: string | undefined;
|
|
100296
100296
|
organization?: string | undefined;
|
|
100297
|
-
installation?: string | undefined;
|
|
100298
100297
|
} | undefined;
|
|
100299
100298
|
user?: {
|
|
100300
100299
|
id: string;
|
|
@@ -100305,6 +100304,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100305
100304
|
expiresAt?: Date | undefined;
|
|
100306
100305
|
refreshToken?: string | undefined;
|
|
100307
100306
|
tokenName?: string | undefined;
|
|
100307
|
+
refreshedAt?: Date | undefined;
|
|
100308
100308
|
}, {
|
|
100309
100309
|
id: string;
|
|
100310
100310
|
createdAt: Date;
|
|
@@ -100313,6 +100313,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100313
100313
|
accessToken: string;
|
|
100314
100314
|
integrationId: string;
|
|
100315
100315
|
customUrl?: string | undefined;
|
|
100316
|
+
username?: string | undefined;
|
|
100316
100317
|
profile?: {
|
|
100317
100318
|
id: string;
|
|
100318
100319
|
type?: string | undefined;
|
|
@@ -100320,7 +100321,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100320
100321
|
handle?: string | undefined;
|
|
100321
100322
|
avatarUrl?: string | undefined;
|
|
100322
100323
|
organization?: string | undefined;
|
|
100323
|
-
installation?: string | undefined;
|
|
100324
100324
|
} | undefined;
|
|
100325
100325
|
user?: {
|
|
100326
100326
|
id: string;
|
|
@@ -100331,6 +100331,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100331
100331
|
expiresAt?: Date | undefined;
|
|
100332
100332
|
refreshToken?: string | undefined;
|
|
100333
100333
|
tokenName?: string | undefined;
|
|
100334
|
+
refreshedAt?: Date | undefined;
|
|
100334
100335
|
}>;
|
|
100335
100336
|
type IntegrationCredentials = z.infer<typeof IntegrationCredentials>;
|
|
100336
100337
|
declare const ExtendedIntegrationType: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
@@ -100352,6 +100353,8 @@ declare const Integration: z.ZodObject<{
|
|
|
100352
100353
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
100353
100354
|
tokenName: z.ZodOptional<z.ZodString>;
|
|
100354
100355
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100356
|
+
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100357
|
+
username: z.ZodOptional<z.ZodString>;
|
|
100355
100358
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100356
100359
|
id: z.ZodString;
|
|
100357
100360
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -100359,7 +100362,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100359
100362
|
type: z.ZodOptional<z.ZodString>;
|
|
100360
100363
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100361
100364
|
organization: z.ZodOptional<z.ZodString>;
|
|
100362
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100363
100365
|
}, "strip", z.ZodTypeAny, {
|
|
100364
100366
|
id: string;
|
|
100365
100367
|
type?: string | undefined;
|
|
@@ -100367,7 +100369,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100367
100369
|
handle?: string | undefined;
|
|
100368
100370
|
avatarUrl?: string | undefined;
|
|
100369
100371
|
organization?: string | undefined;
|
|
100370
|
-
installation?: string | undefined;
|
|
100371
100372
|
}, {
|
|
100372
100373
|
id: string;
|
|
100373
100374
|
type?: string | undefined;
|
|
@@ -100375,7 +100376,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100375
100376
|
handle?: string | undefined;
|
|
100376
100377
|
avatarUrl?: string | undefined;
|
|
100377
100378
|
organization?: string | undefined;
|
|
100378
|
-
installation?: string | undefined;
|
|
100379
100379
|
}>>;
|
|
100380
100380
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100381
100381
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100402,6 +100402,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100402
100402
|
accessToken: string;
|
|
100403
100403
|
integrationId: string;
|
|
100404
100404
|
customUrl?: string | undefined;
|
|
100405
|
+
username?: string | undefined;
|
|
100405
100406
|
profile?: {
|
|
100406
100407
|
id: string;
|
|
100407
100408
|
type?: string | undefined;
|
|
@@ -100409,7 +100410,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100409
100410
|
handle?: string | undefined;
|
|
100410
100411
|
avatarUrl?: string | undefined;
|
|
100411
100412
|
organization?: string | undefined;
|
|
100412
|
-
installation?: string | undefined;
|
|
100413
100413
|
} | undefined;
|
|
100414
100414
|
user?: {
|
|
100415
100415
|
id: string;
|
|
@@ -100420,6 +100420,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100420
100420
|
expiresAt?: Date | undefined;
|
|
100421
100421
|
refreshToken?: string | undefined;
|
|
100422
100422
|
tokenName?: string | undefined;
|
|
100423
|
+
refreshedAt?: Date | undefined;
|
|
100423
100424
|
}, {
|
|
100424
100425
|
id: string;
|
|
100425
100426
|
createdAt: Date;
|
|
@@ -100428,6 +100429,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100428
100429
|
accessToken: string;
|
|
100429
100430
|
integrationId: string;
|
|
100430
100431
|
customUrl?: string | undefined;
|
|
100432
|
+
username?: string | undefined;
|
|
100431
100433
|
profile?: {
|
|
100432
100434
|
id: string;
|
|
100433
100435
|
type?: string | undefined;
|
|
@@ -100435,7 +100437,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100435
100437
|
handle?: string | undefined;
|
|
100436
100438
|
avatarUrl?: string | undefined;
|
|
100437
100439
|
organization?: string | undefined;
|
|
100438
|
-
installation?: string | undefined;
|
|
100439
100440
|
} | undefined;
|
|
100440
100441
|
user?: {
|
|
100441
100442
|
id: string;
|
|
@@ -100446,6 +100447,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100446
100447
|
expiresAt?: Date | undefined;
|
|
100447
100448
|
refreshToken?: string | undefined;
|
|
100448
100449
|
tokenName?: string | undefined;
|
|
100450
|
+
refreshedAt?: Date | undefined;
|
|
100449
100451
|
}>, "many">>;
|
|
100450
100452
|
}, "strip", z.ZodTypeAny, {
|
|
100451
100453
|
id: string;
|
|
@@ -100460,6 +100462,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100460
100462
|
accessToken: string;
|
|
100461
100463
|
integrationId: string;
|
|
100462
100464
|
customUrl?: string | undefined;
|
|
100465
|
+
username?: string | undefined;
|
|
100463
100466
|
profile?: {
|
|
100464
100467
|
id: string;
|
|
100465
100468
|
type?: string | undefined;
|
|
@@ -100467,7 +100470,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100467
100470
|
handle?: string | undefined;
|
|
100468
100471
|
avatarUrl?: string | undefined;
|
|
100469
100472
|
organization?: string | undefined;
|
|
100470
|
-
installation?: string | undefined;
|
|
100471
100473
|
} | undefined;
|
|
100472
100474
|
user?: {
|
|
100473
100475
|
id: string;
|
|
@@ -100478,6 +100480,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100478
100480
|
expiresAt?: Date | undefined;
|
|
100479
100481
|
refreshToken?: string | undefined;
|
|
100480
100482
|
tokenName?: string | undefined;
|
|
100483
|
+
refreshedAt?: Date | undefined;
|
|
100481
100484
|
}[] | undefined;
|
|
100482
100485
|
}, {
|
|
100483
100486
|
id: string;
|
|
@@ -100492,6 +100495,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100492
100495
|
accessToken: string;
|
|
100493
100496
|
integrationId: string;
|
|
100494
100497
|
customUrl?: string | undefined;
|
|
100498
|
+
username?: string | undefined;
|
|
100495
100499
|
profile?: {
|
|
100496
100500
|
id: string;
|
|
100497
100501
|
type?: string | undefined;
|
|
@@ -100499,7 +100503,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100499
100503
|
handle?: string | undefined;
|
|
100500
100504
|
avatarUrl?: string | undefined;
|
|
100501
100505
|
organization?: string | undefined;
|
|
100502
|
-
installation?: string | undefined;
|
|
100503
100506
|
} | undefined;
|
|
100504
100507
|
user?: {
|
|
100505
100508
|
id: string;
|
|
@@ -100510,6 +100513,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100510
100513
|
expiresAt?: Date | undefined;
|
|
100511
100514
|
refreshToken?: string | undefined;
|
|
100512
100515
|
tokenName?: string | undefined;
|
|
100516
|
+
refreshedAt?: Date | undefined;
|
|
100513
100517
|
}[] | undefined;
|
|
100514
100518
|
}>;
|
|
100515
100519
|
type Integration = z.infer<typeof Integration>;
|
package/dist/index.js
CHANGED
|
@@ -3185,8 +3185,9 @@ var ExportJobContext = _zod.z.object({
|
|
|
3185
3185
|
apiUrl: _zod.z.string(),
|
|
3186
3186
|
accessToken: _zod.z.string(),
|
|
3187
3187
|
designSystemId: _zod.z.string(),
|
|
3188
|
-
|
|
3188
|
+
versionId: _zod.z.string(),
|
|
3189
3189
|
brandId: _zod.z.string().optional(),
|
|
3190
|
+
themeId: _zod.z.string().optional(),
|
|
3190
3191
|
exporterPackageUrl: _zod.z.string(),
|
|
3191
3192
|
exporterPropertyValues: ExporterPropertyValue.array(),
|
|
3192
3193
|
documentation: ExportJobDocumentationContext.optional()
|
|
@@ -3524,8 +3525,7 @@ var IntegrationCredentialsProfile = _zod.z.object({
|
|
|
3524
3525
|
handle: _zod.z.string().optional(),
|
|
3525
3526
|
type: _zod.z.string().optional(),
|
|
3526
3527
|
avatarUrl: _zod.z.string().optional(),
|
|
3527
|
-
organization: _zod.z.string().optional()
|
|
3528
|
-
installation: _zod.z.string().optional()
|
|
3528
|
+
organization: _zod.z.string().optional()
|
|
3529
3529
|
});
|
|
3530
3530
|
var IntegrationCredentials = _zod.z.object({
|
|
3531
3531
|
id: _zod.z.string(),
|
|
@@ -3537,6 +3537,8 @@ var IntegrationCredentials = _zod.z.object({
|
|
|
3537
3537
|
refreshToken: _zod.z.string().optional(),
|
|
3538
3538
|
tokenName: _zod.z.string().optional(),
|
|
3539
3539
|
expiresAt: _zod.z.coerce.date().optional(),
|
|
3540
|
+
refreshedAt: _zod.z.coerce.date().optional(),
|
|
3541
|
+
username: _zod.z.string().optional(),
|
|
3540
3542
|
profile: IntegrationCredentialsProfile.optional(),
|
|
3541
3543
|
customUrl: _zod.z.string().optional(),
|
|
3542
3544
|
user: UserMinified.optional()
|