@supernova-studio/model 0.47.12 → 0.47.13
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 +16 -15
- package/dist/index.d.ts +16 -15
- 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/integrations/integration.ts +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -100208,7 +100208,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100208
100208
|
type: z.ZodOptional<z.ZodString>;
|
|
100209
100209
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100210
100210
|
organization: z.ZodOptional<z.ZodString>;
|
|
100211
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100212
100211
|
}, "strip", z.ZodTypeAny, {
|
|
100213
100212
|
id: string;
|
|
100214
100213
|
type?: string | undefined;
|
|
@@ -100216,7 +100215,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100216
100215
|
handle?: string | undefined;
|
|
100217
100216
|
avatarUrl?: string | undefined;
|
|
100218
100217
|
organization?: string | undefined;
|
|
100219
|
-
installation?: string | undefined;
|
|
100220
100218
|
}, {
|
|
100221
100219
|
id: string;
|
|
100222
100220
|
type?: string | undefined;
|
|
@@ -100224,7 +100222,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100224
100222
|
handle?: string | undefined;
|
|
100225
100223
|
avatarUrl?: string | undefined;
|
|
100226
100224
|
organization?: string | undefined;
|
|
100227
|
-
installation?: string | undefined;
|
|
100228
100225
|
}>;
|
|
100229
100226
|
type IntegrationCredentialsProfile = z.infer<typeof IntegrationCredentialsProfile>;
|
|
100230
100227
|
declare const IntegrationCredentials: z.ZodObject<{
|
|
@@ -100237,6 +100234,8 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100237
100234
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
100238
100235
|
tokenName: z.ZodOptional<z.ZodString>;
|
|
100239
100236
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100237
|
+
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100238
|
+
username: z.ZodOptional<z.ZodString>;
|
|
100240
100239
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100241
100240
|
id: z.ZodString;
|
|
100242
100241
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -100244,7 +100243,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100244
100243
|
type: z.ZodOptional<z.ZodString>;
|
|
100245
100244
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100246
100245
|
organization: z.ZodOptional<z.ZodString>;
|
|
100247
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100248
100246
|
}, "strip", z.ZodTypeAny, {
|
|
100249
100247
|
id: string;
|
|
100250
100248
|
type?: string | undefined;
|
|
@@ -100252,7 +100250,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100252
100250
|
handle?: string | undefined;
|
|
100253
100251
|
avatarUrl?: string | undefined;
|
|
100254
100252
|
organization?: string | undefined;
|
|
100255
|
-
installation?: string | undefined;
|
|
100256
100253
|
}, {
|
|
100257
100254
|
id: string;
|
|
100258
100255
|
type?: string | undefined;
|
|
@@ -100260,7 +100257,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100260
100257
|
handle?: string | undefined;
|
|
100261
100258
|
avatarUrl?: string | undefined;
|
|
100262
100259
|
organization?: string | undefined;
|
|
100263
|
-
installation?: string | undefined;
|
|
100264
100260
|
}>>;
|
|
100265
100261
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100266
100262
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100287,6 +100283,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100287
100283
|
accessToken: string;
|
|
100288
100284
|
integrationId: string;
|
|
100289
100285
|
customUrl?: string | undefined;
|
|
100286
|
+
username?: string | undefined;
|
|
100290
100287
|
profile?: {
|
|
100291
100288
|
id: string;
|
|
100292
100289
|
type?: string | undefined;
|
|
@@ -100294,7 +100291,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100294
100291
|
handle?: string | undefined;
|
|
100295
100292
|
avatarUrl?: string | undefined;
|
|
100296
100293
|
organization?: string | undefined;
|
|
100297
|
-
installation?: string | undefined;
|
|
100298
100294
|
} | undefined;
|
|
100299
100295
|
user?: {
|
|
100300
100296
|
id: string;
|
|
@@ -100305,6 +100301,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100305
100301
|
expiresAt?: Date | undefined;
|
|
100306
100302
|
refreshToken?: string | undefined;
|
|
100307
100303
|
tokenName?: string | undefined;
|
|
100304
|
+
refreshedAt?: Date | undefined;
|
|
100308
100305
|
}, {
|
|
100309
100306
|
id: string;
|
|
100310
100307
|
createdAt: Date;
|
|
@@ -100313,6 +100310,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100313
100310
|
accessToken: string;
|
|
100314
100311
|
integrationId: string;
|
|
100315
100312
|
customUrl?: string | undefined;
|
|
100313
|
+
username?: string | undefined;
|
|
100316
100314
|
profile?: {
|
|
100317
100315
|
id: string;
|
|
100318
100316
|
type?: string | undefined;
|
|
@@ -100320,7 +100318,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100320
100318
|
handle?: string | undefined;
|
|
100321
100319
|
avatarUrl?: string | undefined;
|
|
100322
100320
|
organization?: string | undefined;
|
|
100323
|
-
installation?: string | undefined;
|
|
100324
100321
|
} | undefined;
|
|
100325
100322
|
user?: {
|
|
100326
100323
|
id: string;
|
|
@@ -100331,6 +100328,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100331
100328
|
expiresAt?: Date | undefined;
|
|
100332
100329
|
refreshToken?: string | undefined;
|
|
100333
100330
|
tokenName?: string | undefined;
|
|
100331
|
+
refreshedAt?: Date | undefined;
|
|
100334
100332
|
}>;
|
|
100335
100333
|
type IntegrationCredentials = z.infer<typeof IntegrationCredentials>;
|
|
100336
100334
|
declare const ExtendedIntegrationType: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
@@ -100352,6 +100350,8 @@ declare const Integration: z.ZodObject<{
|
|
|
100352
100350
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
100353
100351
|
tokenName: z.ZodOptional<z.ZodString>;
|
|
100354
100352
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100353
|
+
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100354
|
+
username: z.ZodOptional<z.ZodString>;
|
|
100355
100355
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100356
100356
|
id: z.ZodString;
|
|
100357
100357
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -100359,7 +100359,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100359
100359
|
type: z.ZodOptional<z.ZodString>;
|
|
100360
100360
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100361
100361
|
organization: z.ZodOptional<z.ZodString>;
|
|
100362
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100363
100362
|
}, "strip", z.ZodTypeAny, {
|
|
100364
100363
|
id: string;
|
|
100365
100364
|
type?: string | undefined;
|
|
@@ -100367,7 +100366,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100367
100366
|
handle?: string | undefined;
|
|
100368
100367
|
avatarUrl?: string | undefined;
|
|
100369
100368
|
organization?: string | undefined;
|
|
100370
|
-
installation?: string | undefined;
|
|
100371
100369
|
}, {
|
|
100372
100370
|
id: string;
|
|
100373
100371
|
type?: string | undefined;
|
|
@@ -100375,7 +100373,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100375
100373
|
handle?: string | undefined;
|
|
100376
100374
|
avatarUrl?: string | undefined;
|
|
100377
100375
|
organization?: string | undefined;
|
|
100378
|
-
installation?: string | undefined;
|
|
100379
100376
|
}>>;
|
|
100380
100377
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100381
100378
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100402,6 +100399,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100402
100399
|
accessToken: string;
|
|
100403
100400
|
integrationId: string;
|
|
100404
100401
|
customUrl?: string | undefined;
|
|
100402
|
+
username?: string | undefined;
|
|
100405
100403
|
profile?: {
|
|
100406
100404
|
id: string;
|
|
100407
100405
|
type?: string | undefined;
|
|
@@ -100409,7 +100407,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100409
100407
|
handle?: string | undefined;
|
|
100410
100408
|
avatarUrl?: string | undefined;
|
|
100411
100409
|
organization?: string | undefined;
|
|
100412
|
-
installation?: string | undefined;
|
|
100413
100410
|
} | undefined;
|
|
100414
100411
|
user?: {
|
|
100415
100412
|
id: string;
|
|
@@ -100420,6 +100417,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100420
100417
|
expiresAt?: Date | undefined;
|
|
100421
100418
|
refreshToken?: string | undefined;
|
|
100422
100419
|
tokenName?: string | undefined;
|
|
100420
|
+
refreshedAt?: Date | undefined;
|
|
100423
100421
|
}, {
|
|
100424
100422
|
id: string;
|
|
100425
100423
|
createdAt: Date;
|
|
@@ -100428,6 +100426,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100428
100426
|
accessToken: string;
|
|
100429
100427
|
integrationId: string;
|
|
100430
100428
|
customUrl?: string | undefined;
|
|
100429
|
+
username?: string | undefined;
|
|
100431
100430
|
profile?: {
|
|
100432
100431
|
id: string;
|
|
100433
100432
|
type?: string | undefined;
|
|
@@ -100435,7 +100434,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100435
100434
|
handle?: string | undefined;
|
|
100436
100435
|
avatarUrl?: string | undefined;
|
|
100437
100436
|
organization?: string | undefined;
|
|
100438
|
-
installation?: string | undefined;
|
|
100439
100437
|
} | undefined;
|
|
100440
100438
|
user?: {
|
|
100441
100439
|
id: string;
|
|
@@ -100446,6 +100444,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100446
100444
|
expiresAt?: Date | undefined;
|
|
100447
100445
|
refreshToken?: string | undefined;
|
|
100448
100446
|
tokenName?: string | undefined;
|
|
100447
|
+
refreshedAt?: Date | undefined;
|
|
100449
100448
|
}>, "many">>;
|
|
100450
100449
|
}, "strip", z.ZodTypeAny, {
|
|
100451
100450
|
id: string;
|
|
@@ -100460,6 +100459,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100460
100459
|
accessToken: string;
|
|
100461
100460
|
integrationId: string;
|
|
100462
100461
|
customUrl?: string | undefined;
|
|
100462
|
+
username?: string | undefined;
|
|
100463
100463
|
profile?: {
|
|
100464
100464
|
id: string;
|
|
100465
100465
|
type?: string | undefined;
|
|
@@ -100467,7 +100467,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100467
100467
|
handle?: string | undefined;
|
|
100468
100468
|
avatarUrl?: string | undefined;
|
|
100469
100469
|
organization?: string | undefined;
|
|
100470
|
-
installation?: string | undefined;
|
|
100471
100470
|
} | undefined;
|
|
100472
100471
|
user?: {
|
|
100473
100472
|
id: string;
|
|
@@ -100478,6 +100477,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100478
100477
|
expiresAt?: Date | undefined;
|
|
100479
100478
|
refreshToken?: string | undefined;
|
|
100480
100479
|
tokenName?: string | undefined;
|
|
100480
|
+
refreshedAt?: Date | undefined;
|
|
100481
100481
|
}[] | undefined;
|
|
100482
100482
|
}, {
|
|
100483
100483
|
id: string;
|
|
@@ -100492,6 +100492,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100492
100492
|
accessToken: string;
|
|
100493
100493
|
integrationId: string;
|
|
100494
100494
|
customUrl?: string | undefined;
|
|
100495
|
+
username?: string | undefined;
|
|
100495
100496
|
profile?: {
|
|
100496
100497
|
id: string;
|
|
100497
100498
|
type?: string | undefined;
|
|
@@ -100499,7 +100500,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100499
100500
|
handle?: string | undefined;
|
|
100500
100501
|
avatarUrl?: string | undefined;
|
|
100501
100502
|
organization?: string | undefined;
|
|
100502
|
-
installation?: string | undefined;
|
|
100503
100503
|
} | undefined;
|
|
100504
100504
|
user?: {
|
|
100505
100505
|
id: string;
|
|
@@ -100510,6 +100510,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100510
100510
|
expiresAt?: Date | undefined;
|
|
100511
100511
|
refreshToken?: string | undefined;
|
|
100512
100512
|
tokenName?: string | undefined;
|
|
100513
|
+
refreshedAt?: Date | undefined;
|
|
100513
100514
|
}[] | undefined;
|
|
100514
100515
|
}>;
|
|
100515
100516
|
type Integration = z.infer<typeof Integration>;
|
package/dist/index.d.ts
CHANGED
|
@@ -100208,7 +100208,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100208
100208
|
type: z.ZodOptional<z.ZodString>;
|
|
100209
100209
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100210
100210
|
organization: z.ZodOptional<z.ZodString>;
|
|
100211
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100212
100211
|
}, "strip", z.ZodTypeAny, {
|
|
100213
100212
|
id: string;
|
|
100214
100213
|
type?: string | undefined;
|
|
@@ -100216,7 +100215,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100216
100215
|
handle?: string | undefined;
|
|
100217
100216
|
avatarUrl?: string | undefined;
|
|
100218
100217
|
organization?: string | undefined;
|
|
100219
|
-
installation?: string | undefined;
|
|
100220
100218
|
}, {
|
|
100221
100219
|
id: string;
|
|
100222
100220
|
type?: string | undefined;
|
|
@@ -100224,7 +100222,6 @@ declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
|
100224
100222
|
handle?: string | undefined;
|
|
100225
100223
|
avatarUrl?: string | undefined;
|
|
100226
100224
|
organization?: string | undefined;
|
|
100227
|
-
installation?: string | undefined;
|
|
100228
100225
|
}>;
|
|
100229
100226
|
type IntegrationCredentialsProfile = z.infer<typeof IntegrationCredentialsProfile>;
|
|
100230
100227
|
declare const IntegrationCredentials: z.ZodObject<{
|
|
@@ -100237,6 +100234,8 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100237
100234
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
100238
100235
|
tokenName: z.ZodOptional<z.ZodString>;
|
|
100239
100236
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100237
|
+
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100238
|
+
username: z.ZodOptional<z.ZodString>;
|
|
100240
100239
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100241
100240
|
id: z.ZodString;
|
|
100242
100241
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -100244,7 +100243,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100244
100243
|
type: z.ZodOptional<z.ZodString>;
|
|
100245
100244
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100246
100245
|
organization: z.ZodOptional<z.ZodString>;
|
|
100247
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100248
100246
|
}, "strip", z.ZodTypeAny, {
|
|
100249
100247
|
id: string;
|
|
100250
100248
|
type?: string | undefined;
|
|
@@ -100252,7 +100250,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100252
100250
|
handle?: string | undefined;
|
|
100253
100251
|
avatarUrl?: string | undefined;
|
|
100254
100252
|
organization?: string | undefined;
|
|
100255
|
-
installation?: string | undefined;
|
|
100256
100253
|
}, {
|
|
100257
100254
|
id: string;
|
|
100258
100255
|
type?: string | undefined;
|
|
@@ -100260,7 +100257,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100260
100257
|
handle?: string | undefined;
|
|
100261
100258
|
avatarUrl?: string | undefined;
|
|
100262
100259
|
organization?: string | undefined;
|
|
100263
|
-
installation?: string | undefined;
|
|
100264
100260
|
}>>;
|
|
100265
100261
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100266
100262
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100287,6 +100283,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100287
100283
|
accessToken: string;
|
|
100288
100284
|
integrationId: string;
|
|
100289
100285
|
customUrl?: string | undefined;
|
|
100286
|
+
username?: string | undefined;
|
|
100290
100287
|
profile?: {
|
|
100291
100288
|
id: string;
|
|
100292
100289
|
type?: string | undefined;
|
|
@@ -100294,7 +100291,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100294
100291
|
handle?: string | undefined;
|
|
100295
100292
|
avatarUrl?: string | undefined;
|
|
100296
100293
|
organization?: string | undefined;
|
|
100297
|
-
installation?: string | undefined;
|
|
100298
100294
|
} | undefined;
|
|
100299
100295
|
user?: {
|
|
100300
100296
|
id: string;
|
|
@@ -100305,6 +100301,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100305
100301
|
expiresAt?: Date | undefined;
|
|
100306
100302
|
refreshToken?: string | undefined;
|
|
100307
100303
|
tokenName?: string | undefined;
|
|
100304
|
+
refreshedAt?: Date | undefined;
|
|
100308
100305
|
}, {
|
|
100309
100306
|
id: string;
|
|
100310
100307
|
createdAt: Date;
|
|
@@ -100313,6 +100310,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100313
100310
|
accessToken: string;
|
|
100314
100311
|
integrationId: string;
|
|
100315
100312
|
customUrl?: string | undefined;
|
|
100313
|
+
username?: string | undefined;
|
|
100316
100314
|
profile?: {
|
|
100317
100315
|
id: string;
|
|
100318
100316
|
type?: string | undefined;
|
|
@@ -100320,7 +100318,6 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100320
100318
|
handle?: string | undefined;
|
|
100321
100319
|
avatarUrl?: string | undefined;
|
|
100322
100320
|
organization?: string | undefined;
|
|
100323
|
-
installation?: string | undefined;
|
|
100324
100321
|
} | undefined;
|
|
100325
100322
|
user?: {
|
|
100326
100323
|
id: string;
|
|
@@ -100331,6 +100328,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100331
100328
|
expiresAt?: Date | undefined;
|
|
100332
100329
|
refreshToken?: string | undefined;
|
|
100333
100330
|
tokenName?: string | undefined;
|
|
100331
|
+
refreshedAt?: Date | undefined;
|
|
100334
100332
|
}>;
|
|
100335
100333
|
type IntegrationCredentials = z.infer<typeof IntegrationCredentials>;
|
|
100336
100334
|
declare const ExtendedIntegrationType: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
@@ -100352,6 +100350,8 @@ declare const Integration: z.ZodObject<{
|
|
|
100352
100350
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
100353
100351
|
tokenName: z.ZodOptional<z.ZodString>;
|
|
100354
100352
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100353
|
+
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100354
|
+
username: z.ZodOptional<z.ZodString>;
|
|
100355
100355
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100356
100356
|
id: z.ZodString;
|
|
100357
100357
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -100359,7 +100359,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100359
100359
|
type: z.ZodOptional<z.ZodString>;
|
|
100360
100360
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
100361
100361
|
organization: z.ZodOptional<z.ZodString>;
|
|
100362
|
-
installation: z.ZodOptional<z.ZodString>;
|
|
100363
100362
|
}, "strip", z.ZodTypeAny, {
|
|
100364
100363
|
id: string;
|
|
100365
100364
|
type?: string | undefined;
|
|
@@ -100367,7 +100366,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100367
100366
|
handle?: string | undefined;
|
|
100368
100367
|
avatarUrl?: string | undefined;
|
|
100369
100368
|
organization?: string | undefined;
|
|
100370
|
-
installation?: string | undefined;
|
|
100371
100369
|
}, {
|
|
100372
100370
|
id: string;
|
|
100373
100371
|
type?: string | undefined;
|
|
@@ -100375,7 +100373,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100375
100373
|
handle?: string | undefined;
|
|
100376
100374
|
avatarUrl?: string | undefined;
|
|
100377
100375
|
organization?: string | undefined;
|
|
100378
|
-
installation?: string | undefined;
|
|
100379
100376
|
}>>;
|
|
100380
100377
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100381
100378
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100402,6 +100399,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100402
100399
|
accessToken: string;
|
|
100403
100400
|
integrationId: string;
|
|
100404
100401
|
customUrl?: string | undefined;
|
|
100402
|
+
username?: string | undefined;
|
|
100405
100403
|
profile?: {
|
|
100406
100404
|
id: string;
|
|
100407
100405
|
type?: string | undefined;
|
|
@@ -100409,7 +100407,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100409
100407
|
handle?: string | undefined;
|
|
100410
100408
|
avatarUrl?: string | undefined;
|
|
100411
100409
|
organization?: string | undefined;
|
|
100412
|
-
installation?: string | undefined;
|
|
100413
100410
|
} | undefined;
|
|
100414
100411
|
user?: {
|
|
100415
100412
|
id: string;
|
|
@@ -100420,6 +100417,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100420
100417
|
expiresAt?: Date | undefined;
|
|
100421
100418
|
refreshToken?: string | undefined;
|
|
100422
100419
|
tokenName?: string | undefined;
|
|
100420
|
+
refreshedAt?: Date | undefined;
|
|
100423
100421
|
}, {
|
|
100424
100422
|
id: string;
|
|
100425
100423
|
createdAt: Date;
|
|
@@ -100428,6 +100426,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100428
100426
|
accessToken: string;
|
|
100429
100427
|
integrationId: string;
|
|
100430
100428
|
customUrl?: string | undefined;
|
|
100429
|
+
username?: string | undefined;
|
|
100431
100430
|
profile?: {
|
|
100432
100431
|
id: string;
|
|
100433
100432
|
type?: string | undefined;
|
|
@@ -100435,7 +100434,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100435
100434
|
handle?: string | undefined;
|
|
100436
100435
|
avatarUrl?: string | undefined;
|
|
100437
100436
|
organization?: string | undefined;
|
|
100438
|
-
installation?: string | undefined;
|
|
100439
100437
|
} | undefined;
|
|
100440
100438
|
user?: {
|
|
100441
100439
|
id: string;
|
|
@@ -100446,6 +100444,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100446
100444
|
expiresAt?: Date | undefined;
|
|
100447
100445
|
refreshToken?: string | undefined;
|
|
100448
100446
|
tokenName?: string | undefined;
|
|
100447
|
+
refreshedAt?: Date | undefined;
|
|
100449
100448
|
}>, "many">>;
|
|
100450
100449
|
}, "strip", z.ZodTypeAny, {
|
|
100451
100450
|
id: string;
|
|
@@ -100460,6 +100459,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100460
100459
|
accessToken: string;
|
|
100461
100460
|
integrationId: string;
|
|
100462
100461
|
customUrl?: string | undefined;
|
|
100462
|
+
username?: string | undefined;
|
|
100463
100463
|
profile?: {
|
|
100464
100464
|
id: string;
|
|
100465
100465
|
type?: string | undefined;
|
|
@@ -100467,7 +100467,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100467
100467
|
handle?: string | undefined;
|
|
100468
100468
|
avatarUrl?: string | undefined;
|
|
100469
100469
|
organization?: string | undefined;
|
|
100470
|
-
installation?: string | undefined;
|
|
100471
100470
|
} | undefined;
|
|
100472
100471
|
user?: {
|
|
100473
100472
|
id: string;
|
|
@@ -100478,6 +100477,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100478
100477
|
expiresAt?: Date | undefined;
|
|
100479
100478
|
refreshToken?: string | undefined;
|
|
100480
100479
|
tokenName?: string | undefined;
|
|
100480
|
+
refreshedAt?: Date | undefined;
|
|
100481
100481
|
}[] | undefined;
|
|
100482
100482
|
}, {
|
|
100483
100483
|
id: string;
|
|
@@ -100492,6 +100492,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100492
100492
|
accessToken: string;
|
|
100493
100493
|
integrationId: string;
|
|
100494
100494
|
customUrl?: string | undefined;
|
|
100495
|
+
username?: string | undefined;
|
|
100495
100496
|
profile?: {
|
|
100496
100497
|
id: string;
|
|
100497
100498
|
type?: string | undefined;
|
|
@@ -100499,7 +100500,6 @@ declare const Integration: z.ZodObject<{
|
|
|
100499
100500
|
handle?: string | undefined;
|
|
100500
100501
|
avatarUrl?: string | undefined;
|
|
100501
100502
|
organization?: string | undefined;
|
|
100502
|
-
installation?: string | undefined;
|
|
100503
100503
|
} | undefined;
|
|
100504
100504
|
user?: {
|
|
100505
100505
|
id: string;
|
|
@@ -100510,6 +100510,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100510
100510
|
expiresAt?: Date | undefined;
|
|
100511
100511
|
refreshToken?: string | undefined;
|
|
100512
100512
|
tokenName?: string | undefined;
|
|
100513
|
+
refreshedAt?: Date | undefined;
|
|
100513
100514
|
}[] | undefined;
|
|
100514
100515
|
}>;
|
|
100515
100516
|
type Integration = z.infer<typeof Integration>;
|
package/dist/index.js
CHANGED
|
@@ -3524,8 +3524,7 @@ var IntegrationCredentialsProfile = _zod.z.object({
|
|
|
3524
3524
|
handle: _zod.z.string().optional(),
|
|
3525
3525
|
type: _zod.z.string().optional(),
|
|
3526
3526
|
avatarUrl: _zod.z.string().optional(),
|
|
3527
|
-
organization: _zod.z.string().optional()
|
|
3528
|
-
installation: _zod.z.string().optional()
|
|
3527
|
+
organization: _zod.z.string().optional()
|
|
3529
3528
|
});
|
|
3530
3529
|
var IntegrationCredentials = _zod.z.object({
|
|
3531
3530
|
id: _zod.z.string(),
|
|
@@ -3537,6 +3536,8 @@ var IntegrationCredentials = _zod.z.object({
|
|
|
3537
3536
|
refreshToken: _zod.z.string().optional(),
|
|
3538
3537
|
tokenName: _zod.z.string().optional(),
|
|
3539
3538
|
expiresAt: _zod.z.coerce.date().optional(),
|
|
3539
|
+
refreshedAt: _zod.z.coerce.date().optional(),
|
|
3540
|
+
username: _zod.z.string().optional(),
|
|
3540
3541
|
profile: IntegrationCredentialsProfile.optional(),
|
|
3541
3542
|
customUrl: _zod.z.string().optional(),
|
|
3542
3543
|
user: UserMinified.optional()
|