@supernova-studio/model 0.47.19 → 0.47.23
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 +214 -61
- package/dist/index.d.ts +214 -61
- package/dist/index.js +26 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/export/export-destinations.ts +16 -0
- package/src/integrations/integration.ts +8 -6
- package/src/utils/errors.ts +6 -1
package/dist/index.d.mts
CHANGED
|
@@ -2656,7 +2656,7 @@ declare const ContentLoaderPayload: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
2656
2656
|
}>]>;
|
|
2657
2657
|
type ContentLoaderPayload = z.infer<typeof ContentLoaderPayload>;
|
|
2658
2658
|
|
|
2659
|
-
type SupernovaExceptionType = "AccessDenied" | "ResourceNotFound" | "WrongFormat" | "TooMuchWork" | "Timeout" | "Conflict" | "NotImplemented" | "BadRequest" | "WrongActionOrder" | "InvalidOperation" | "UnexpectedError" | "IPRestricted" | "PlanRestricted" | "MissingWorkspacePermission" | "MissingExporterPermission" | "MissingIntegration" | "NoAccess" | "MissingCredentials" | "ValidationError";
|
|
2659
|
+
type SupernovaExceptionType = "AccessDenied" | "ResourceNotFound" | "WrongFormat" | "TooMuchWork" | "Timeout" | "Conflict" | "NotImplemented" | "BadRequest" | "WrongActionOrder" | "InvalidOperation" | "UnexpectedError" | "IPRestricted" | "PlanRestricted" | "MissingWorkspacePermission" | "MissingExporterPermission" | "MissingIntegration" | "NoAccess" | "MissingCredentials" | "ValidationError" | "ThirdPartyError";
|
|
2660
2660
|
declare class SupernovaException extends Error {
|
|
2661
2661
|
readonly type: SupernovaExceptionType;
|
|
2662
2662
|
static wrongFormat(message?: string): SupernovaException;
|
|
@@ -2677,6 +2677,7 @@ declare class SupernovaException extends Error {
|
|
|
2677
2677
|
static missingIntegration(message?: string): SupernovaException;
|
|
2678
2678
|
static noAccess(message?: string): SupernovaException;
|
|
2679
2679
|
static missingCredentials(message?: string): SupernovaException;
|
|
2680
|
+
static thirdPartyError(message?: string): SupernovaException;
|
|
2680
2681
|
static badRequest(message?: string): SupernovaException;
|
|
2681
2682
|
constructor(type: SupernovaExceptionType, message?: string);
|
|
2682
2683
|
}
|
|
@@ -98216,16 +98217,22 @@ declare const ExporterDestinationGithub: z.ZodObject<{
|
|
|
98216
98217
|
url: z.ZodString;
|
|
98217
98218
|
branch: z.ZodString;
|
|
98218
98219
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98220
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98221
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98219
98222
|
}, "strip", z.ZodTypeAny, {
|
|
98220
98223
|
url: string;
|
|
98221
98224
|
branch: string;
|
|
98225
|
+
userId?: number | undefined;
|
|
98222
98226
|
credentialId?: string | undefined;
|
|
98223
98227
|
relativePath?: string | undefined;
|
|
98228
|
+
connectionId?: string | undefined;
|
|
98224
98229
|
}, {
|
|
98225
98230
|
url: string;
|
|
98226
98231
|
branch: string;
|
|
98232
|
+
userId?: number | undefined;
|
|
98227
98233
|
credentialId?: string | undefined;
|
|
98228
98234
|
relativePath?: string | null | undefined;
|
|
98235
|
+
connectionId?: string | undefined;
|
|
98229
98236
|
}>;
|
|
98230
98237
|
type ExporterDestinationGithub = z.infer<typeof ExporterDestinationGithub>;
|
|
98231
98238
|
declare const ExporterDestinationAzure: z.ZodObject<{
|
|
@@ -98236,22 +98243,28 @@ declare const ExporterDestinationAzure: z.ZodObject<{
|
|
|
98236
98243
|
branch: z.ZodString;
|
|
98237
98244
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98238
98245
|
url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98246
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98247
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98239
98248
|
}, "strip", z.ZodTypeAny, {
|
|
98240
98249
|
branch: string;
|
|
98241
98250
|
organizationId: string;
|
|
98242
98251
|
projectId: string;
|
|
98243
98252
|
repositoryId: string;
|
|
98244
98253
|
url?: string | undefined;
|
|
98254
|
+
userId?: number | undefined;
|
|
98245
98255
|
credentialId?: string | undefined;
|
|
98246
98256
|
relativePath?: string | undefined;
|
|
98257
|
+
connectionId?: string | undefined;
|
|
98247
98258
|
}, {
|
|
98248
98259
|
branch: string;
|
|
98249
98260
|
organizationId: string;
|
|
98250
98261
|
projectId: string;
|
|
98251
98262
|
repositoryId: string;
|
|
98252
98263
|
url?: string | null | undefined;
|
|
98264
|
+
userId?: number | undefined;
|
|
98253
98265
|
credentialId?: string | undefined;
|
|
98254
98266
|
relativePath?: string | null | undefined;
|
|
98267
|
+
connectionId?: string | undefined;
|
|
98255
98268
|
}>;
|
|
98256
98269
|
type ExporterDestinationAzure = z.infer<typeof ExporterDestinationAzure>;
|
|
98257
98270
|
declare const ExporterDestinationGitlab: z.ZodObject<{
|
|
@@ -98260,18 +98273,24 @@ declare const ExporterDestinationGitlab: z.ZodObject<{
|
|
|
98260
98273
|
branch: z.ZodString;
|
|
98261
98274
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98262
98275
|
url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98276
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98277
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98263
98278
|
}, "strip", z.ZodTypeAny, {
|
|
98264
98279
|
branch: string;
|
|
98265
98280
|
projectId: string;
|
|
98266
98281
|
url?: string | undefined;
|
|
98282
|
+
userId?: number | undefined;
|
|
98267
98283
|
credentialId?: string | undefined;
|
|
98268
98284
|
relativePath?: string | undefined;
|
|
98285
|
+
connectionId?: string | undefined;
|
|
98269
98286
|
}, {
|
|
98270
98287
|
branch: string;
|
|
98271
98288
|
projectId: string;
|
|
98272
98289
|
url?: string | null | undefined;
|
|
98290
|
+
userId?: number | undefined;
|
|
98273
98291
|
credentialId?: string | undefined;
|
|
98274
98292
|
relativePath?: string | null | undefined;
|
|
98293
|
+
connectionId?: string | undefined;
|
|
98275
98294
|
}>;
|
|
98276
98295
|
type ExporterDestinationGitlab = z.infer<typeof ExporterDestinationGitlab>;
|
|
98277
98296
|
declare const ExporterDestinationBitbucket: z.ZodObject<{
|
|
@@ -98281,20 +98300,26 @@ declare const ExporterDestinationBitbucket: z.ZodObject<{
|
|
|
98281
98300
|
repoSlug: z.ZodString;
|
|
98282
98301
|
branch: z.ZodString;
|
|
98283
98302
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98303
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98304
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98284
98305
|
}, "strip", z.ZodTypeAny, {
|
|
98285
98306
|
branch: string;
|
|
98286
98307
|
workspaceSlug: string;
|
|
98287
98308
|
projectKey: string;
|
|
98288
98309
|
repoSlug: string;
|
|
98310
|
+
userId?: number | undefined;
|
|
98289
98311
|
credentialId?: string | undefined;
|
|
98290
98312
|
relativePath?: string | undefined;
|
|
98313
|
+
connectionId?: string | undefined;
|
|
98291
98314
|
}, {
|
|
98292
98315
|
branch: string;
|
|
98293
98316
|
workspaceSlug: string;
|
|
98294
98317
|
projectKey: string;
|
|
98295
98318
|
repoSlug: string;
|
|
98319
|
+
userId?: number | undefined;
|
|
98296
98320
|
credentialId?: string | undefined;
|
|
98297
98321
|
relativePath?: string | null | undefined;
|
|
98322
|
+
connectionId?: string | undefined;
|
|
98298
98323
|
}>;
|
|
98299
98324
|
type ExporterDestinationBitbucket = z.infer<typeof ExporterDestinationBitbucket>;
|
|
98300
98325
|
declare const ExportDestinationsMap: z.ZodObject<{
|
|
@@ -98312,16 +98337,22 @@ declare const ExportDestinationsMap: z.ZodObject<{
|
|
|
98312
98337
|
url: z.ZodString;
|
|
98313
98338
|
branch: z.ZodString;
|
|
98314
98339
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98340
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98341
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98315
98342
|
}, "strip", z.ZodTypeAny, {
|
|
98316
98343
|
url: string;
|
|
98317
98344
|
branch: string;
|
|
98345
|
+
userId?: number | undefined;
|
|
98318
98346
|
credentialId?: string | undefined;
|
|
98319
98347
|
relativePath?: string | undefined;
|
|
98348
|
+
connectionId?: string | undefined;
|
|
98320
98349
|
}, {
|
|
98321
98350
|
url: string;
|
|
98322
98351
|
branch: string;
|
|
98352
|
+
userId?: number | undefined;
|
|
98323
98353
|
credentialId?: string | undefined;
|
|
98324
98354
|
relativePath?: string | null | undefined;
|
|
98355
|
+
connectionId?: string | undefined;
|
|
98325
98356
|
}>>;
|
|
98326
98357
|
destinationAzure: z.ZodOptional<z.ZodObject<{
|
|
98327
98358
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -98331,22 +98362,28 @@ declare const ExportDestinationsMap: z.ZodObject<{
|
|
|
98331
98362
|
branch: z.ZodString;
|
|
98332
98363
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98333
98364
|
url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98365
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98366
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98334
98367
|
}, "strip", z.ZodTypeAny, {
|
|
98335
98368
|
branch: string;
|
|
98336
98369
|
organizationId: string;
|
|
98337
98370
|
projectId: string;
|
|
98338
98371
|
repositoryId: string;
|
|
98339
98372
|
url?: string | undefined;
|
|
98373
|
+
userId?: number | undefined;
|
|
98340
98374
|
credentialId?: string | undefined;
|
|
98341
98375
|
relativePath?: string | undefined;
|
|
98376
|
+
connectionId?: string | undefined;
|
|
98342
98377
|
}, {
|
|
98343
98378
|
branch: string;
|
|
98344
98379
|
organizationId: string;
|
|
98345
98380
|
projectId: string;
|
|
98346
98381
|
repositoryId: string;
|
|
98347
98382
|
url?: string | null | undefined;
|
|
98383
|
+
userId?: number | undefined;
|
|
98348
98384
|
credentialId?: string | undefined;
|
|
98349
98385
|
relativePath?: string | null | undefined;
|
|
98386
|
+
connectionId?: string | undefined;
|
|
98350
98387
|
}>>;
|
|
98351
98388
|
destinationGitlab: z.ZodOptional<z.ZodObject<{
|
|
98352
98389
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -98354,18 +98391,24 @@ declare const ExportDestinationsMap: z.ZodObject<{
|
|
|
98354
98391
|
branch: z.ZodString;
|
|
98355
98392
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98356
98393
|
url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98394
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98395
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98357
98396
|
}, "strip", z.ZodTypeAny, {
|
|
98358
98397
|
branch: string;
|
|
98359
98398
|
projectId: string;
|
|
98360
98399
|
url?: string | undefined;
|
|
98400
|
+
userId?: number | undefined;
|
|
98361
98401
|
credentialId?: string | undefined;
|
|
98362
98402
|
relativePath?: string | undefined;
|
|
98403
|
+
connectionId?: string | undefined;
|
|
98363
98404
|
}, {
|
|
98364
98405
|
branch: string;
|
|
98365
98406
|
projectId: string;
|
|
98366
98407
|
url?: string | null | undefined;
|
|
98408
|
+
userId?: number | undefined;
|
|
98367
98409
|
credentialId?: string | undefined;
|
|
98368
98410
|
relativePath?: string | null | undefined;
|
|
98411
|
+
connectionId?: string | undefined;
|
|
98369
98412
|
}>>;
|
|
98370
98413
|
destinationBitbucket: z.ZodOptional<z.ZodObject<{
|
|
98371
98414
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -98374,20 +98417,26 @@ declare const ExportDestinationsMap: z.ZodObject<{
|
|
|
98374
98417
|
repoSlug: z.ZodString;
|
|
98375
98418
|
branch: z.ZodString;
|
|
98376
98419
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98420
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98421
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98377
98422
|
}, "strip", z.ZodTypeAny, {
|
|
98378
98423
|
branch: string;
|
|
98379
98424
|
workspaceSlug: string;
|
|
98380
98425
|
projectKey: string;
|
|
98381
98426
|
repoSlug: string;
|
|
98427
|
+
userId?: number | undefined;
|
|
98382
98428
|
credentialId?: string | undefined;
|
|
98383
98429
|
relativePath?: string | undefined;
|
|
98430
|
+
connectionId?: string | undefined;
|
|
98384
98431
|
}, {
|
|
98385
98432
|
branch: string;
|
|
98386
98433
|
workspaceSlug: string;
|
|
98387
98434
|
projectKey: string;
|
|
98388
98435
|
repoSlug: string;
|
|
98436
|
+
userId?: number | undefined;
|
|
98389
98437
|
credentialId?: string | undefined;
|
|
98390
98438
|
relativePath?: string | null | undefined;
|
|
98439
|
+
connectionId?: string | undefined;
|
|
98391
98440
|
}>>;
|
|
98392
98441
|
}, "strip", z.ZodTypeAny, {
|
|
98393
98442
|
webhookUrl?: string | undefined;
|
|
@@ -98398,8 +98447,10 @@ declare const ExportDestinationsMap: z.ZodObject<{
|
|
|
98398
98447
|
destinationGithub?: {
|
|
98399
98448
|
url: string;
|
|
98400
98449
|
branch: string;
|
|
98450
|
+
userId?: number | undefined;
|
|
98401
98451
|
credentialId?: string | undefined;
|
|
98402
98452
|
relativePath?: string | undefined;
|
|
98453
|
+
connectionId?: string | undefined;
|
|
98403
98454
|
} | undefined;
|
|
98404
98455
|
destinationAzure?: {
|
|
98405
98456
|
branch: string;
|
|
@@ -98407,23 +98458,29 @@ declare const ExportDestinationsMap: z.ZodObject<{
|
|
|
98407
98458
|
projectId: string;
|
|
98408
98459
|
repositoryId: string;
|
|
98409
98460
|
url?: string | undefined;
|
|
98461
|
+
userId?: number | undefined;
|
|
98410
98462
|
credentialId?: string | undefined;
|
|
98411
98463
|
relativePath?: string | undefined;
|
|
98464
|
+
connectionId?: string | undefined;
|
|
98412
98465
|
} | undefined;
|
|
98413
98466
|
destinationGitlab?: {
|
|
98414
98467
|
branch: string;
|
|
98415
98468
|
projectId: string;
|
|
98416
98469
|
url?: string | undefined;
|
|
98470
|
+
userId?: number | undefined;
|
|
98417
98471
|
credentialId?: string | undefined;
|
|
98418
98472
|
relativePath?: string | undefined;
|
|
98473
|
+
connectionId?: string | undefined;
|
|
98419
98474
|
} | undefined;
|
|
98420
98475
|
destinationBitbucket?: {
|
|
98421
98476
|
branch: string;
|
|
98422
98477
|
workspaceSlug: string;
|
|
98423
98478
|
projectKey: string;
|
|
98424
98479
|
repoSlug: string;
|
|
98480
|
+
userId?: number | undefined;
|
|
98425
98481
|
credentialId?: string | undefined;
|
|
98426
98482
|
relativePath?: string | undefined;
|
|
98483
|
+
connectionId?: string | undefined;
|
|
98427
98484
|
} | undefined;
|
|
98428
98485
|
}, {
|
|
98429
98486
|
webhookUrl?: string | undefined;
|
|
@@ -98434,8 +98491,10 @@ declare const ExportDestinationsMap: z.ZodObject<{
|
|
|
98434
98491
|
destinationGithub?: {
|
|
98435
98492
|
url: string;
|
|
98436
98493
|
branch: string;
|
|
98494
|
+
userId?: number | undefined;
|
|
98437
98495
|
credentialId?: string | undefined;
|
|
98438
98496
|
relativePath?: string | null | undefined;
|
|
98497
|
+
connectionId?: string | undefined;
|
|
98439
98498
|
} | undefined;
|
|
98440
98499
|
destinationAzure?: {
|
|
98441
98500
|
branch: string;
|
|
@@ -98443,23 +98502,29 @@ declare const ExportDestinationsMap: z.ZodObject<{
|
|
|
98443
98502
|
projectId: string;
|
|
98444
98503
|
repositoryId: string;
|
|
98445
98504
|
url?: string | null | undefined;
|
|
98505
|
+
userId?: number | undefined;
|
|
98446
98506
|
credentialId?: string | undefined;
|
|
98447
98507
|
relativePath?: string | null | undefined;
|
|
98508
|
+
connectionId?: string | undefined;
|
|
98448
98509
|
} | undefined;
|
|
98449
98510
|
destinationGitlab?: {
|
|
98450
98511
|
branch: string;
|
|
98451
98512
|
projectId: string;
|
|
98452
98513
|
url?: string | null | undefined;
|
|
98514
|
+
userId?: number | undefined;
|
|
98453
98515
|
credentialId?: string | undefined;
|
|
98454
98516
|
relativePath?: string | null | undefined;
|
|
98517
|
+
connectionId?: string | undefined;
|
|
98455
98518
|
} | undefined;
|
|
98456
98519
|
destinationBitbucket?: {
|
|
98457
98520
|
branch: string;
|
|
98458
98521
|
workspaceSlug: string;
|
|
98459
98522
|
projectKey: string;
|
|
98460
98523
|
repoSlug: string;
|
|
98524
|
+
userId?: number | undefined;
|
|
98461
98525
|
credentialId?: string | undefined;
|
|
98462
98526
|
relativePath?: string | null | undefined;
|
|
98527
|
+
connectionId?: string | undefined;
|
|
98463
98528
|
} | undefined;
|
|
98464
98529
|
}>;
|
|
98465
98530
|
type ExportDestinationsMap = z.infer<typeof ExportDestinationsMap>;
|
|
@@ -98636,16 +98701,22 @@ declare const ExportJob: z.ZodObject<{
|
|
|
98636
98701
|
url: z.ZodString;
|
|
98637
98702
|
branch: z.ZodString;
|
|
98638
98703
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98704
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98705
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98639
98706
|
}, "strip", z.ZodTypeAny, {
|
|
98640
98707
|
url: string;
|
|
98641
98708
|
branch: string;
|
|
98709
|
+
userId?: number | undefined;
|
|
98642
98710
|
credentialId?: string | undefined;
|
|
98643
98711
|
relativePath?: string | undefined;
|
|
98712
|
+
connectionId?: string | undefined;
|
|
98644
98713
|
}, {
|
|
98645
98714
|
url: string;
|
|
98646
98715
|
branch: string;
|
|
98716
|
+
userId?: number | undefined;
|
|
98647
98717
|
credentialId?: string | undefined;
|
|
98648
98718
|
relativePath?: string | null | undefined;
|
|
98719
|
+
connectionId?: string | undefined;
|
|
98649
98720
|
}>>;
|
|
98650
98721
|
destinationAzure: z.ZodOptional<z.ZodObject<{
|
|
98651
98722
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -98655,22 +98726,28 @@ declare const ExportJob: z.ZodObject<{
|
|
|
98655
98726
|
branch: z.ZodString;
|
|
98656
98727
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98657
98728
|
url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98729
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98730
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98658
98731
|
}, "strip", z.ZodTypeAny, {
|
|
98659
98732
|
branch: string;
|
|
98660
98733
|
organizationId: string;
|
|
98661
98734
|
projectId: string;
|
|
98662
98735
|
repositoryId: string;
|
|
98663
98736
|
url?: string | undefined;
|
|
98737
|
+
userId?: number | undefined;
|
|
98664
98738
|
credentialId?: string | undefined;
|
|
98665
98739
|
relativePath?: string | undefined;
|
|
98740
|
+
connectionId?: string | undefined;
|
|
98666
98741
|
}, {
|
|
98667
98742
|
branch: string;
|
|
98668
98743
|
organizationId: string;
|
|
98669
98744
|
projectId: string;
|
|
98670
98745
|
repositoryId: string;
|
|
98671
98746
|
url?: string | null | undefined;
|
|
98747
|
+
userId?: number | undefined;
|
|
98672
98748
|
credentialId?: string | undefined;
|
|
98673
98749
|
relativePath?: string | null | undefined;
|
|
98750
|
+
connectionId?: string | undefined;
|
|
98674
98751
|
}>>;
|
|
98675
98752
|
destinationGitlab: z.ZodOptional<z.ZodObject<{
|
|
98676
98753
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -98678,18 +98755,24 @@ declare const ExportJob: z.ZodObject<{
|
|
|
98678
98755
|
branch: z.ZodString;
|
|
98679
98756
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98680
98757
|
url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98758
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98759
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98681
98760
|
}, "strip", z.ZodTypeAny, {
|
|
98682
98761
|
branch: string;
|
|
98683
98762
|
projectId: string;
|
|
98684
98763
|
url?: string | undefined;
|
|
98764
|
+
userId?: number | undefined;
|
|
98685
98765
|
credentialId?: string | undefined;
|
|
98686
98766
|
relativePath?: string | undefined;
|
|
98767
|
+
connectionId?: string | undefined;
|
|
98687
98768
|
}, {
|
|
98688
98769
|
branch: string;
|
|
98689
98770
|
projectId: string;
|
|
98690
98771
|
url?: string | null | undefined;
|
|
98772
|
+
userId?: number | undefined;
|
|
98691
98773
|
credentialId?: string | undefined;
|
|
98692
98774
|
relativePath?: string | null | undefined;
|
|
98775
|
+
connectionId?: string | undefined;
|
|
98693
98776
|
}>>;
|
|
98694
98777
|
destinationBitbucket: z.ZodOptional<z.ZodObject<{
|
|
98695
98778
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -98698,20 +98781,26 @@ declare const ExportJob: z.ZodObject<{
|
|
|
98698
98781
|
repoSlug: z.ZodString;
|
|
98699
98782
|
branch: z.ZodString;
|
|
98700
98783
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
98784
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
98785
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
98701
98786
|
}, "strip", z.ZodTypeAny, {
|
|
98702
98787
|
branch: string;
|
|
98703
98788
|
workspaceSlug: string;
|
|
98704
98789
|
projectKey: string;
|
|
98705
98790
|
repoSlug: string;
|
|
98791
|
+
userId?: number | undefined;
|
|
98706
98792
|
credentialId?: string | undefined;
|
|
98707
98793
|
relativePath?: string | undefined;
|
|
98794
|
+
connectionId?: string | undefined;
|
|
98708
98795
|
}, {
|
|
98709
98796
|
branch: string;
|
|
98710
98797
|
workspaceSlug: string;
|
|
98711
98798
|
projectKey: string;
|
|
98712
98799
|
repoSlug: string;
|
|
98800
|
+
userId?: number | undefined;
|
|
98713
98801
|
credentialId?: string | undefined;
|
|
98714
98802
|
relativePath?: string | null | undefined;
|
|
98803
|
+
connectionId?: string | undefined;
|
|
98715
98804
|
}>>;
|
|
98716
98805
|
id: z.ZodString;
|
|
98717
98806
|
createdAt: z.ZodDate;
|
|
@@ -98845,8 +98934,10 @@ declare const ExportJob: z.ZodObject<{
|
|
|
98845
98934
|
destinationGithub?: {
|
|
98846
98935
|
url: string;
|
|
98847
98936
|
branch: string;
|
|
98937
|
+
userId?: number | undefined;
|
|
98848
98938
|
credentialId?: string | undefined;
|
|
98849
98939
|
relativePath?: string | undefined;
|
|
98940
|
+
connectionId?: string | undefined;
|
|
98850
98941
|
} | undefined;
|
|
98851
98942
|
destinationAzure?: {
|
|
98852
98943
|
branch: string;
|
|
@@ -98854,23 +98945,29 @@ declare const ExportJob: z.ZodObject<{
|
|
|
98854
98945
|
projectId: string;
|
|
98855
98946
|
repositoryId: string;
|
|
98856
98947
|
url?: string | undefined;
|
|
98948
|
+
userId?: number | undefined;
|
|
98857
98949
|
credentialId?: string | undefined;
|
|
98858
98950
|
relativePath?: string | undefined;
|
|
98951
|
+
connectionId?: string | undefined;
|
|
98859
98952
|
} | undefined;
|
|
98860
98953
|
destinationGitlab?: {
|
|
98861
98954
|
branch: string;
|
|
98862
98955
|
projectId: string;
|
|
98863
98956
|
url?: string | undefined;
|
|
98957
|
+
userId?: number | undefined;
|
|
98864
98958
|
credentialId?: string | undefined;
|
|
98865
98959
|
relativePath?: string | undefined;
|
|
98960
|
+
connectionId?: string | undefined;
|
|
98866
98961
|
} | undefined;
|
|
98867
98962
|
destinationBitbucket?: {
|
|
98868
98963
|
branch: string;
|
|
98869
98964
|
workspaceSlug: string;
|
|
98870
98965
|
projectKey: string;
|
|
98871
98966
|
repoSlug: string;
|
|
98967
|
+
userId?: number | undefined;
|
|
98872
98968
|
credentialId?: string | undefined;
|
|
98873
98969
|
relativePath?: string | undefined;
|
|
98970
|
+
connectionId?: string | undefined;
|
|
98874
98971
|
} | undefined;
|
|
98875
98972
|
finishedAt?: Date | undefined;
|
|
98876
98973
|
scheduleId?: string | null | undefined;
|
|
@@ -98918,8 +99015,10 @@ declare const ExportJob: z.ZodObject<{
|
|
|
98918
99015
|
destinationGithub?: {
|
|
98919
99016
|
url: string;
|
|
98920
99017
|
branch: string;
|
|
99018
|
+
userId?: number | undefined;
|
|
98921
99019
|
credentialId?: string | undefined;
|
|
98922
99020
|
relativePath?: string | null | undefined;
|
|
99021
|
+
connectionId?: string | undefined;
|
|
98923
99022
|
} | undefined;
|
|
98924
99023
|
destinationAzure?: {
|
|
98925
99024
|
branch: string;
|
|
@@ -98927,23 +99026,29 @@ declare const ExportJob: z.ZodObject<{
|
|
|
98927
99026
|
projectId: string;
|
|
98928
99027
|
repositoryId: string;
|
|
98929
99028
|
url?: string | null | undefined;
|
|
99029
|
+
userId?: number | undefined;
|
|
98930
99030
|
credentialId?: string | undefined;
|
|
98931
99031
|
relativePath?: string | null | undefined;
|
|
99032
|
+
connectionId?: string | undefined;
|
|
98932
99033
|
} | undefined;
|
|
98933
99034
|
destinationGitlab?: {
|
|
98934
99035
|
branch: string;
|
|
98935
99036
|
projectId: string;
|
|
98936
99037
|
url?: string | null | undefined;
|
|
99038
|
+
userId?: number | undefined;
|
|
98937
99039
|
credentialId?: string | undefined;
|
|
98938
99040
|
relativePath?: string | null | undefined;
|
|
99041
|
+
connectionId?: string | undefined;
|
|
98939
99042
|
} | undefined;
|
|
98940
99043
|
destinationBitbucket?: {
|
|
98941
99044
|
branch: string;
|
|
98942
99045
|
workspaceSlug: string;
|
|
98943
99046
|
projectKey: string;
|
|
98944
99047
|
repoSlug: string;
|
|
99048
|
+
userId?: number | undefined;
|
|
98945
99049
|
credentialId?: string | undefined;
|
|
98946
99050
|
relativePath?: string | null | undefined;
|
|
99051
|
+
connectionId?: string | undefined;
|
|
98947
99052
|
} | undefined;
|
|
98948
99053
|
finishedAt?: Date | undefined;
|
|
98949
99054
|
scheduleId?: string | null | undefined;
|
|
@@ -99981,16 +100086,22 @@ declare const Pipeline: z.ZodObject<{
|
|
|
99981
100086
|
url: z.ZodString;
|
|
99982
100087
|
branch: z.ZodString;
|
|
99983
100088
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100089
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
100090
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
99984
100091
|
}, "strip", z.ZodTypeAny, {
|
|
99985
100092
|
url: string;
|
|
99986
100093
|
branch: string;
|
|
100094
|
+
userId?: number | undefined;
|
|
99987
100095
|
credentialId?: string | undefined;
|
|
99988
100096
|
relativePath?: string | undefined;
|
|
100097
|
+
connectionId?: string | undefined;
|
|
99989
100098
|
}, {
|
|
99990
100099
|
url: string;
|
|
99991
100100
|
branch: string;
|
|
100101
|
+
userId?: number | undefined;
|
|
99992
100102
|
credentialId?: string | undefined;
|
|
99993
100103
|
relativePath?: string | null | undefined;
|
|
100104
|
+
connectionId?: string | undefined;
|
|
99994
100105
|
}>>;
|
|
99995
100106
|
destinationAzure: z.ZodOptional<z.ZodObject<{
|
|
99996
100107
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -100000,22 +100111,28 @@ declare const Pipeline: z.ZodObject<{
|
|
|
100000
100111
|
branch: z.ZodString;
|
|
100001
100112
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100002
100113
|
url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100114
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
100115
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
100003
100116
|
}, "strip", z.ZodTypeAny, {
|
|
100004
100117
|
branch: string;
|
|
100005
100118
|
organizationId: string;
|
|
100006
100119
|
projectId: string;
|
|
100007
100120
|
repositoryId: string;
|
|
100008
100121
|
url?: string | undefined;
|
|
100122
|
+
userId?: number | undefined;
|
|
100009
100123
|
credentialId?: string | undefined;
|
|
100010
100124
|
relativePath?: string | undefined;
|
|
100125
|
+
connectionId?: string | undefined;
|
|
100011
100126
|
}, {
|
|
100012
100127
|
branch: string;
|
|
100013
100128
|
organizationId: string;
|
|
100014
100129
|
projectId: string;
|
|
100015
100130
|
repositoryId: string;
|
|
100016
100131
|
url?: string | null | undefined;
|
|
100132
|
+
userId?: number | undefined;
|
|
100017
100133
|
credentialId?: string | undefined;
|
|
100018
100134
|
relativePath?: string | null | undefined;
|
|
100135
|
+
connectionId?: string | undefined;
|
|
100019
100136
|
}>>;
|
|
100020
100137
|
destinationGitlab: z.ZodOptional<z.ZodObject<{
|
|
100021
100138
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -100023,18 +100140,24 @@ declare const Pipeline: z.ZodObject<{
|
|
|
100023
100140
|
branch: z.ZodString;
|
|
100024
100141
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100025
100142
|
url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100143
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
100144
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
100026
100145
|
}, "strip", z.ZodTypeAny, {
|
|
100027
100146
|
branch: string;
|
|
100028
100147
|
projectId: string;
|
|
100029
100148
|
url?: string | undefined;
|
|
100149
|
+
userId?: number | undefined;
|
|
100030
100150
|
credentialId?: string | undefined;
|
|
100031
100151
|
relativePath?: string | undefined;
|
|
100152
|
+
connectionId?: string | undefined;
|
|
100032
100153
|
}, {
|
|
100033
100154
|
branch: string;
|
|
100034
100155
|
projectId: string;
|
|
100035
100156
|
url?: string | null | undefined;
|
|
100157
|
+
userId?: number | undefined;
|
|
100036
100158
|
credentialId?: string | undefined;
|
|
100037
100159
|
relativePath?: string | null | undefined;
|
|
100160
|
+
connectionId?: string | undefined;
|
|
100038
100161
|
}>>;
|
|
100039
100162
|
destinationBitbucket: z.ZodOptional<z.ZodObject<{
|
|
100040
100163
|
credentialId: z.ZodOptional<z.ZodString>;
|
|
@@ -100043,20 +100166,26 @@ declare const Pipeline: z.ZodObject<{
|
|
|
100043
100166
|
repoSlug: z.ZodString;
|
|
100044
100167
|
branch: z.ZodString;
|
|
100045
100168
|
relativePath: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100169
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
100170
|
+
userId: z.ZodOptional<z.ZodNumber>;
|
|
100046
100171
|
}, "strip", z.ZodTypeAny, {
|
|
100047
100172
|
branch: string;
|
|
100048
100173
|
workspaceSlug: string;
|
|
100049
100174
|
projectKey: string;
|
|
100050
100175
|
repoSlug: string;
|
|
100176
|
+
userId?: number | undefined;
|
|
100051
100177
|
credentialId?: string | undefined;
|
|
100052
100178
|
relativePath?: string | undefined;
|
|
100179
|
+
connectionId?: string | undefined;
|
|
100053
100180
|
}, {
|
|
100054
100181
|
branch: string;
|
|
100055
100182
|
workspaceSlug: string;
|
|
100056
100183
|
projectKey: string;
|
|
100057
100184
|
repoSlug: string;
|
|
100185
|
+
userId?: number | undefined;
|
|
100058
100186
|
credentialId?: string | undefined;
|
|
100059
100187
|
relativePath?: string | null | undefined;
|
|
100188
|
+
connectionId?: string | undefined;
|
|
100060
100189
|
}>>;
|
|
100061
100190
|
id: z.ZodString;
|
|
100062
100191
|
name: z.ZodString;
|
|
@@ -100085,8 +100214,10 @@ declare const Pipeline: z.ZodObject<{
|
|
|
100085
100214
|
destinationGithub?: {
|
|
100086
100215
|
url: string;
|
|
100087
100216
|
branch: string;
|
|
100217
|
+
userId?: number | undefined;
|
|
100088
100218
|
credentialId?: string | undefined;
|
|
100089
100219
|
relativePath?: string | undefined;
|
|
100220
|
+
connectionId?: string | undefined;
|
|
100090
100221
|
} | undefined;
|
|
100091
100222
|
destinationAzure?: {
|
|
100092
100223
|
branch: string;
|
|
@@ -100094,23 +100225,29 @@ declare const Pipeline: z.ZodObject<{
|
|
|
100094
100225
|
projectId: string;
|
|
100095
100226
|
repositoryId: string;
|
|
100096
100227
|
url?: string | undefined;
|
|
100228
|
+
userId?: number | undefined;
|
|
100097
100229
|
credentialId?: string | undefined;
|
|
100098
100230
|
relativePath?: string | undefined;
|
|
100231
|
+
connectionId?: string | undefined;
|
|
100099
100232
|
} | undefined;
|
|
100100
100233
|
destinationGitlab?: {
|
|
100101
100234
|
branch: string;
|
|
100102
100235
|
projectId: string;
|
|
100103
100236
|
url?: string | undefined;
|
|
100237
|
+
userId?: number | undefined;
|
|
100104
100238
|
credentialId?: string | undefined;
|
|
100105
100239
|
relativePath?: string | undefined;
|
|
100240
|
+
connectionId?: string | undefined;
|
|
100106
100241
|
} | undefined;
|
|
100107
100242
|
destinationBitbucket?: {
|
|
100108
100243
|
branch: string;
|
|
100109
100244
|
workspaceSlug: string;
|
|
100110
100245
|
projectKey: string;
|
|
100111
100246
|
repoSlug: string;
|
|
100247
|
+
userId?: number | undefined;
|
|
100112
100248
|
credentialId?: string | undefined;
|
|
100113
100249
|
relativePath?: string | undefined;
|
|
100250
|
+
connectionId?: string | undefined;
|
|
100114
100251
|
} | undefined;
|
|
100115
100252
|
}, {
|
|
100116
100253
|
id: string;
|
|
@@ -100130,8 +100267,10 @@ declare const Pipeline: z.ZodObject<{
|
|
|
100130
100267
|
destinationGithub?: {
|
|
100131
100268
|
url: string;
|
|
100132
100269
|
branch: string;
|
|
100270
|
+
userId?: number | undefined;
|
|
100133
100271
|
credentialId?: string | undefined;
|
|
100134
100272
|
relativePath?: string | null | undefined;
|
|
100273
|
+
connectionId?: string | undefined;
|
|
100135
100274
|
} | undefined;
|
|
100136
100275
|
destinationAzure?: {
|
|
100137
100276
|
branch: string;
|
|
@@ -100139,23 +100278,29 @@ declare const Pipeline: z.ZodObject<{
|
|
|
100139
100278
|
projectId: string;
|
|
100140
100279
|
repositoryId: string;
|
|
100141
100280
|
url?: string | null | undefined;
|
|
100281
|
+
userId?: number | undefined;
|
|
100142
100282
|
credentialId?: string | undefined;
|
|
100143
100283
|
relativePath?: string | null | undefined;
|
|
100284
|
+
connectionId?: string | undefined;
|
|
100144
100285
|
} | undefined;
|
|
100145
100286
|
destinationGitlab?: {
|
|
100146
100287
|
branch: string;
|
|
100147
100288
|
projectId: string;
|
|
100148
100289
|
url?: string | null | undefined;
|
|
100290
|
+
userId?: number | undefined;
|
|
100149
100291
|
credentialId?: string | undefined;
|
|
100150
100292
|
relativePath?: string | null | undefined;
|
|
100293
|
+
connectionId?: string | undefined;
|
|
100151
100294
|
} | undefined;
|
|
100152
100295
|
destinationBitbucket?: {
|
|
100153
100296
|
branch: string;
|
|
100154
100297
|
workspaceSlug: string;
|
|
100155
100298
|
projectKey: string;
|
|
100156
100299
|
repoSlug: string;
|
|
100300
|
+
userId?: number | undefined;
|
|
100157
100301
|
credentialId?: string | undefined;
|
|
100158
100302
|
relativePath?: string | null | undefined;
|
|
100303
|
+
connectionId?: string | undefined;
|
|
100159
100304
|
} | undefined;
|
|
100160
100305
|
}>;
|
|
100161
100306
|
type Pipeline = z.infer<typeof Pipeline>;
|
|
@@ -100500,26 +100645,26 @@ type IntegrationDesignSystem = z.infer<typeof IntegrationDesignSystem>;
|
|
|
100500
100645
|
declare const IntegrationCredentialsType: z.ZodEnum<["OAuth2", "PAT", "GithubApp"]>;
|
|
100501
100646
|
type IntegrationCredentialsType = z.infer<typeof IntegrationCredentialsType>;
|
|
100502
100647
|
declare const IntegrationCredentialsProfile: z.ZodObject<{
|
|
100503
|
-
id: z.
|
|
100504
|
-
email: z.ZodOptional<z.
|
|
100505
|
-
handle: z.ZodOptional<z.
|
|
100506
|
-
type: z.ZodOptional<z.
|
|
100507
|
-
avatarUrl: z.ZodOptional<z.
|
|
100508
|
-
organization: z.ZodOptional<z.
|
|
100648
|
+
id: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100649
|
+
email: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100650
|
+
handle: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100651
|
+
type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100652
|
+
avatarUrl: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100653
|
+
organization: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100509
100654
|
}, "strip", z.ZodTypeAny, {
|
|
100510
|
-
id
|
|
100655
|
+
id?: string | undefined;
|
|
100511
100656
|
type?: string | undefined;
|
|
100512
100657
|
email?: string | undefined;
|
|
100513
100658
|
handle?: string | undefined;
|
|
100514
100659
|
avatarUrl?: string | undefined;
|
|
100515
100660
|
organization?: string | undefined;
|
|
100516
100661
|
}, {
|
|
100517
|
-
id
|
|
100518
|
-
type?: string | undefined;
|
|
100519
|
-
email?: string | undefined;
|
|
100520
|
-
handle?: string | undefined;
|
|
100521
|
-
avatarUrl?: string | undefined;
|
|
100522
|
-
organization?: string | undefined;
|
|
100662
|
+
id?: string | null | undefined;
|
|
100663
|
+
type?: string | null | undefined;
|
|
100664
|
+
email?: string | null | undefined;
|
|
100665
|
+
handle?: string | null | undefined;
|
|
100666
|
+
avatarUrl?: string | null | undefined;
|
|
100667
|
+
organization?: string | null | undefined;
|
|
100523
100668
|
}>;
|
|
100524
100669
|
type IntegrationCredentialsProfile = z.infer<typeof IntegrationCredentialsProfile>;
|
|
100525
100670
|
declare const IntegrationCredentials: z.ZodObject<{
|
|
@@ -100534,27 +100679,28 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100534
100679
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100535
100680
|
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100536
100681
|
username: z.ZodOptional<z.ZodString>;
|
|
100682
|
+
appInstallationId: z.ZodOptional<z.ZodString>;
|
|
100537
100683
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100538
|
-
id: z.
|
|
100539
|
-
email: z.ZodOptional<z.
|
|
100540
|
-
handle: z.ZodOptional<z.
|
|
100541
|
-
type: z.ZodOptional<z.
|
|
100542
|
-
avatarUrl: z.ZodOptional<z.
|
|
100543
|
-
organization: z.ZodOptional<z.
|
|
100684
|
+
id: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100685
|
+
email: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100686
|
+
handle: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100687
|
+
type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100688
|
+
avatarUrl: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100689
|
+
organization: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100544
100690
|
}, "strip", z.ZodTypeAny, {
|
|
100545
|
-
id
|
|
100691
|
+
id?: string | undefined;
|
|
100546
100692
|
type?: string | undefined;
|
|
100547
100693
|
email?: string | undefined;
|
|
100548
100694
|
handle?: string | undefined;
|
|
100549
100695
|
avatarUrl?: string | undefined;
|
|
100550
100696
|
organization?: string | undefined;
|
|
100551
100697
|
}, {
|
|
100552
|
-
id
|
|
100553
|
-
type?: string | undefined;
|
|
100554
|
-
email?: string | undefined;
|
|
100555
|
-
handle?: string | undefined;
|
|
100556
|
-
avatarUrl?: string | undefined;
|
|
100557
|
-
organization?: string | undefined;
|
|
100698
|
+
id?: string | null | undefined;
|
|
100699
|
+
type?: string | null | undefined;
|
|
100700
|
+
email?: string | null | undefined;
|
|
100701
|
+
handle?: string | null | undefined;
|
|
100702
|
+
avatarUrl?: string | null | undefined;
|
|
100703
|
+
organization?: string | null | undefined;
|
|
100558
100704
|
}>>;
|
|
100559
100705
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100560
100706
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100583,7 +100729,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100583
100729
|
customUrl?: string | undefined;
|
|
100584
100730
|
username?: string | undefined;
|
|
100585
100731
|
profile?: {
|
|
100586
|
-
id
|
|
100732
|
+
id?: string | undefined;
|
|
100587
100733
|
type?: string | undefined;
|
|
100588
100734
|
email?: string | undefined;
|
|
100589
100735
|
handle?: string | undefined;
|
|
@@ -100600,6 +100746,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100600
100746
|
refreshToken?: string | undefined;
|
|
100601
100747
|
tokenName?: string | undefined;
|
|
100602
100748
|
refreshedAt?: Date | undefined;
|
|
100749
|
+
appInstallationId?: string | undefined;
|
|
100603
100750
|
}, {
|
|
100604
100751
|
id: string;
|
|
100605
100752
|
createdAt: Date;
|
|
@@ -100610,12 +100757,12 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100610
100757
|
customUrl?: string | undefined;
|
|
100611
100758
|
username?: string | undefined;
|
|
100612
100759
|
profile?: {
|
|
100613
|
-
id
|
|
100614
|
-
type?: string | undefined;
|
|
100615
|
-
email?: string | undefined;
|
|
100616
|
-
handle?: string | undefined;
|
|
100617
|
-
avatarUrl?: string | undefined;
|
|
100618
|
-
organization?: string | undefined;
|
|
100760
|
+
id?: string | null | undefined;
|
|
100761
|
+
type?: string | null | undefined;
|
|
100762
|
+
email?: string | null | undefined;
|
|
100763
|
+
handle?: string | null | undefined;
|
|
100764
|
+
avatarUrl?: string | null | undefined;
|
|
100765
|
+
organization?: string | null | undefined;
|
|
100619
100766
|
} | undefined;
|
|
100620
100767
|
user?: {
|
|
100621
100768
|
id: string;
|
|
@@ -100627,6 +100774,7 @@ declare const IntegrationCredentials: z.ZodObject<{
|
|
|
100627
100774
|
refreshToken?: string | undefined;
|
|
100628
100775
|
tokenName?: string | undefined;
|
|
100629
100776
|
refreshedAt?: Date | undefined;
|
|
100777
|
+
appInstallationId?: string | undefined;
|
|
100630
100778
|
}>;
|
|
100631
100779
|
type IntegrationCredentials = z.infer<typeof IntegrationCredentials>;
|
|
100632
100780
|
declare const ExtendedIntegrationType: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
@@ -100652,27 +100800,28 @@ declare const Integration: z.ZodObject<{
|
|
|
100652
100800
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
100653
100801
|
refreshedAt: z.ZodOptional<z.ZodDate>;
|
|
100654
100802
|
username: z.ZodOptional<z.ZodString>;
|
|
100803
|
+
appInstallationId: z.ZodOptional<z.ZodString>;
|
|
100655
100804
|
profile: z.ZodOptional<z.ZodObject<{
|
|
100656
|
-
id: z.
|
|
100657
|
-
email: z.ZodOptional<z.
|
|
100658
|
-
handle: z.ZodOptional<z.
|
|
100659
|
-
type: z.ZodOptional<z.
|
|
100660
|
-
avatarUrl: z.ZodOptional<z.
|
|
100661
|
-
organization: z.ZodOptional<z.
|
|
100805
|
+
id: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100806
|
+
email: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100807
|
+
handle: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100808
|
+
type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100809
|
+
avatarUrl: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100810
|
+
organization: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
100662
100811
|
}, "strip", z.ZodTypeAny, {
|
|
100663
|
-
id
|
|
100812
|
+
id?: string | undefined;
|
|
100664
100813
|
type?: string | undefined;
|
|
100665
100814
|
email?: string | undefined;
|
|
100666
100815
|
handle?: string | undefined;
|
|
100667
100816
|
avatarUrl?: string | undefined;
|
|
100668
100817
|
organization?: string | undefined;
|
|
100669
100818
|
}, {
|
|
100670
|
-
id
|
|
100671
|
-
type?: string | undefined;
|
|
100672
|
-
email?: string | undefined;
|
|
100673
|
-
handle?: string | undefined;
|
|
100674
|
-
avatarUrl?: string | undefined;
|
|
100675
|
-
organization?: string | undefined;
|
|
100819
|
+
id?: string | null | undefined;
|
|
100820
|
+
type?: string | null | undefined;
|
|
100821
|
+
email?: string | null | undefined;
|
|
100822
|
+
handle?: string | null | undefined;
|
|
100823
|
+
avatarUrl?: string | null | undefined;
|
|
100824
|
+
organization?: string | null | undefined;
|
|
100676
100825
|
}>>;
|
|
100677
100826
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
100678
100827
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -100701,7 +100850,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100701
100850
|
customUrl?: string | undefined;
|
|
100702
100851
|
username?: string | undefined;
|
|
100703
100852
|
profile?: {
|
|
100704
|
-
id
|
|
100853
|
+
id?: string | undefined;
|
|
100705
100854
|
type?: string | undefined;
|
|
100706
100855
|
email?: string | undefined;
|
|
100707
100856
|
handle?: string | undefined;
|
|
@@ -100718,6 +100867,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100718
100867
|
refreshToken?: string | undefined;
|
|
100719
100868
|
tokenName?: string | undefined;
|
|
100720
100869
|
refreshedAt?: Date | undefined;
|
|
100870
|
+
appInstallationId?: string | undefined;
|
|
100721
100871
|
}, {
|
|
100722
100872
|
id: string;
|
|
100723
100873
|
createdAt: Date;
|
|
@@ -100728,12 +100878,12 @@ declare const Integration: z.ZodObject<{
|
|
|
100728
100878
|
customUrl?: string | undefined;
|
|
100729
100879
|
username?: string | undefined;
|
|
100730
100880
|
profile?: {
|
|
100731
|
-
id
|
|
100732
|
-
type?: string | undefined;
|
|
100733
|
-
email?: string | undefined;
|
|
100734
|
-
handle?: string | undefined;
|
|
100735
|
-
avatarUrl?: string | undefined;
|
|
100736
|
-
organization?: string | undefined;
|
|
100881
|
+
id?: string | null | undefined;
|
|
100882
|
+
type?: string | null | undefined;
|
|
100883
|
+
email?: string | null | undefined;
|
|
100884
|
+
handle?: string | null | undefined;
|
|
100885
|
+
avatarUrl?: string | null | undefined;
|
|
100886
|
+
organization?: string | null | undefined;
|
|
100737
100887
|
} | undefined;
|
|
100738
100888
|
user?: {
|
|
100739
100889
|
id: string;
|
|
@@ -100745,6 +100895,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100745
100895
|
refreshToken?: string | undefined;
|
|
100746
100896
|
tokenName?: string | undefined;
|
|
100747
100897
|
refreshedAt?: Date | undefined;
|
|
100898
|
+
appInstallationId?: string | undefined;
|
|
100748
100899
|
}>, "many">>;
|
|
100749
100900
|
}, "strip", z.ZodTypeAny, {
|
|
100750
100901
|
id: string;
|
|
@@ -100761,7 +100912,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100761
100912
|
customUrl?: string | undefined;
|
|
100762
100913
|
username?: string | undefined;
|
|
100763
100914
|
profile?: {
|
|
100764
|
-
id
|
|
100915
|
+
id?: string | undefined;
|
|
100765
100916
|
type?: string | undefined;
|
|
100766
100917
|
email?: string | undefined;
|
|
100767
100918
|
handle?: string | undefined;
|
|
@@ -100778,6 +100929,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100778
100929
|
refreshToken?: string | undefined;
|
|
100779
100930
|
tokenName?: string | undefined;
|
|
100780
100931
|
refreshedAt?: Date | undefined;
|
|
100932
|
+
appInstallationId?: string | undefined;
|
|
100781
100933
|
}[] | undefined;
|
|
100782
100934
|
}, {
|
|
100783
100935
|
id: string;
|
|
@@ -100794,12 +100946,12 @@ declare const Integration: z.ZodObject<{
|
|
|
100794
100946
|
customUrl?: string | undefined;
|
|
100795
100947
|
username?: string | undefined;
|
|
100796
100948
|
profile?: {
|
|
100797
|
-
id
|
|
100798
|
-
type?: string | undefined;
|
|
100799
|
-
email?: string | undefined;
|
|
100800
|
-
handle?: string | undefined;
|
|
100801
|
-
avatarUrl?: string | undefined;
|
|
100802
|
-
organization?: string | undefined;
|
|
100949
|
+
id?: string | null | undefined;
|
|
100950
|
+
type?: string | null | undefined;
|
|
100951
|
+
email?: string | null | undefined;
|
|
100952
|
+
handle?: string | null | undefined;
|
|
100953
|
+
avatarUrl?: string | null | undefined;
|
|
100954
|
+
organization?: string | null | undefined;
|
|
100803
100955
|
} | undefined;
|
|
100804
100956
|
user?: {
|
|
100805
100957
|
id: string;
|
|
@@ -100811,6 +100963,7 @@ declare const Integration: z.ZodObject<{
|
|
|
100811
100963
|
refreshToken?: string | undefined;
|
|
100812
100964
|
tokenName?: string | undefined;
|
|
100813
100965
|
refreshedAt?: Date | undefined;
|
|
100966
|
+
appInstallationId?: string | undefined;
|
|
100814
100967
|
}[] | undefined;
|
|
100815
100968
|
}>;
|
|
100816
100969
|
type Integration = z.infer<typeof Integration>;
|