@supernova-studio/client 0.46.4 → 0.46.5
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 +144 -0
- package/dist/index.d.ts +144 -0
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +547 -533
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/conversion/integrations/integration.ts +7 -0
package/dist/index.d.mts
CHANGED
|
@@ -15053,6 +15053,22 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15053
15053
|
avatarUrl?: string | undefined;
|
|
15054
15054
|
}>>;
|
|
15055
15055
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
15056
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
15057
|
+
id: z.ZodString;
|
|
15058
|
+
name: z.ZodString;
|
|
15059
|
+
email: z.ZodString;
|
|
15060
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
15061
|
+
}, "strip", z.ZodTypeAny, {
|
|
15062
|
+
id: string;
|
|
15063
|
+
name: string;
|
|
15064
|
+
email: string;
|
|
15065
|
+
avatar?: string | undefined;
|
|
15066
|
+
}, {
|
|
15067
|
+
id: string;
|
|
15068
|
+
name: string;
|
|
15069
|
+
email: string;
|
|
15070
|
+
avatar?: string | undefined;
|
|
15071
|
+
}>>;
|
|
15056
15072
|
}, "strip", z.ZodTypeAny, {
|
|
15057
15073
|
id: string;
|
|
15058
15074
|
createdAt: Date;
|
|
@@ -15070,6 +15086,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15070
15086
|
avatarUrl?: string | undefined;
|
|
15071
15087
|
} | undefined;
|
|
15072
15088
|
customUrl?: string | undefined;
|
|
15089
|
+
user?: {
|
|
15090
|
+
id: string;
|
|
15091
|
+
name: string;
|
|
15092
|
+
email: string;
|
|
15093
|
+
avatar?: string | undefined;
|
|
15094
|
+
} | undefined;
|
|
15073
15095
|
}, {
|
|
15074
15096
|
id: string;
|
|
15075
15097
|
createdAt: Date;
|
|
@@ -15087,6 +15109,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15087
15109
|
avatarUrl?: string | undefined;
|
|
15088
15110
|
} | undefined;
|
|
15089
15111
|
customUrl?: string | undefined;
|
|
15112
|
+
user?: {
|
|
15113
|
+
id: string;
|
|
15114
|
+
name: string;
|
|
15115
|
+
email: string;
|
|
15116
|
+
avatar?: string | undefined;
|
|
15117
|
+
} | undefined;
|
|
15090
15118
|
}>, "many">>;
|
|
15091
15119
|
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15092
15120
|
designSystemId: z.ZodString;
|
|
@@ -15129,6 +15157,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15129
15157
|
avatarUrl?: string | undefined;
|
|
15130
15158
|
} | undefined;
|
|
15131
15159
|
customUrl?: string | undefined;
|
|
15160
|
+
user?: {
|
|
15161
|
+
id: string;
|
|
15162
|
+
name: string;
|
|
15163
|
+
email: string;
|
|
15164
|
+
avatar?: string | undefined;
|
|
15165
|
+
} | undefined;
|
|
15132
15166
|
}[] | undefined;
|
|
15133
15167
|
integrationDesignSystems?: {
|
|
15134
15168
|
designSystemId: string;
|
|
@@ -15159,6 +15193,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15159
15193
|
avatarUrl?: string | undefined;
|
|
15160
15194
|
} | undefined;
|
|
15161
15195
|
customUrl?: string | undefined;
|
|
15196
|
+
user?: {
|
|
15197
|
+
id: string;
|
|
15198
|
+
name: string;
|
|
15199
|
+
email: string;
|
|
15200
|
+
avatar?: string | undefined;
|
|
15201
|
+
} | undefined;
|
|
15162
15202
|
}[] | undefined;
|
|
15163
15203
|
integrationDesignSystems?: {
|
|
15164
15204
|
designSystemId: string;
|
|
@@ -15210,6 +15250,22 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15210
15250
|
avatarUrl?: string | undefined;
|
|
15211
15251
|
}>>;
|
|
15212
15252
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
15253
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
15254
|
+
id: z.ZodString;
|
|
15255
|
+
name: z.ZodString;
|
|
15256
|
+
email: z.ZodString;
|
|
15257
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
15258
|
+
}, "strip", z.ZodTypeAny, {
|
|
15259
|
+
id: string;
|
|
15260
|
+
name: string;
|
|
15261
|
+
email: string;
|
|
15262
|
+
avatar?: string | undefined;
|
|
15263
|
+
}, {
|
|
15264
|
+
id: string;
|
|
15265
|
+
name: string;
|
|
15266
|
+
email: string;
|
|
15267
|
+
avatar?: string | undefined;
|
|
15268
|
+
}>>;
|
|
15213
15269
|
}, "strip", z.ZodTypeAny, {
|
|
15214
15270
|
id: string;
|
|
15215
15271
|
createdAt: Date;
|
|
@@ -15227,6 +15283,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15227
15283
|
avatarUrl?: string | undefined;
|
|
15228
15284
|
} | undefined;
|
|
15229
15285
|
customUrl?: string | undefined;
|
|
15286
|
+
user?: {
|
|
15287
|
+
id: string;
|
|
15288
|
+
name: string;
|
|
15289
|
+
email: string;
|
|
15290
|
+
avatar?: string | undefined;
|
|
15291
|
+
} | undefined;
|
|
15230
15292
|
}, {
|
|
15231
15293
|
id: string;
|
|
15232
15294
|
createdAt: Date;
|
|
@@ -15244,6 +15306,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15244
15306
|
avatarUrl?: string | undefined;
|
|
15245
15307
|
} | undefined;
|
|
15246
15308
|
customUrl?: string | undefined;
|
|
15309
|
+
user?: {
|
|
15310
|
+
id: string;
|
|
15311
|
+
name: string;
|
|
15312
|
+
email: string;
|
|
15313
|
+
avatar?: string | undefined;
|
|
15314
|
+
} | undefined;
|
|
15247
15315
|
}>, "many">>;
|
|
15248
15316
|
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15249
15317
|
designSystemId: z.ZodString;
|
|
@@ -15286,6 +15354,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15286
15354
|
avatarUrl?: string | undefined;
|
|
15287
15355
|
} | undefined;
|
|
15288
15356
|
customUrl?: string | undefined;
|
|
15357
|
+
user?: {
|
|
15358
|
+
id: string;
|
|
15359
|
+
name: string;
|
|
15360
|
+
email: string;
|
|
15361
|
+
avatar?: string | undefined;
|
|
15362
|
+
} | undefined;
|
|
15289
15363
|
}[] | undefined;
|
|
15290
15364
|
integrationDesignSystems?: {
|
|
15291
15365
|
designSystemId: string;
|
|
@@ -15316,6 +15390,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15316
15390
|
avatarUrl?: string | undefined;
|
|
15317
15391
|
} | undefined;
|
|
15318
15392
|
customUrl?: string | undefined;
|
|
15393
|
+
user?: {
|
|
15394
|
+
id: string;
|
|
15395
|
+
name: string;
|
|
15396
|
+
email: string;
|
|
15397
|
+
avatar?: string | undefined;
|
|
15398
|
+
} | undefined;
|
|
15319
15399
|
}[] | undefined;
|
|
15320
15400
|
integrationDesignSystems?: {
|
|
15321
15401
|
designSystemId: string;
|
|
@@ -15348,6 +15428,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15348
15428
|
avatarUrl?: string | undefined;
|
|
15349
15429
|
} | undefined;
|
|
15350
15430
|
customUrl?: string | undefined;
|
|
15431
|
+
user?: {
|
|
15432
|
+
id: string;
|
|
15433
|
+
name: string;
|
|
15434
|
+
email: string;
|
|
15435
|
+
avatar?: string | undefined;
|
|
15436
|
+
} | undefined;
|
|
15351
15437
|
}[] | undefined;
|
|
15352
15438
|
integrationDesignSystems?: {
|
|
15353
15439
|
designSystemId: string;
|
|
@@ -15380,6 +15466,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15380
15466
|
avatarUrl?: string | undefined;
|
|
15381
15467
|
} | undefined;
|
|
15382
15468
|
customUrl?: string | undefined;
|
|
15469
|
+
user?: {
|
|
15470
|
+
id: string;
|
|
15471
|
+
name: string;
|
|
15472
|
+
email: string;
|
|
15473
|
+
avatar?: string | undefined;
|
|
15474
|
+
} | undefined;
|
|
15383
15475
|
}[] | undefined;
|
|
15384
15476
|
integrationDesignSystems?: {
|
|
15385
15477
|
designSystemId: string;
|
|
@@ -15424,6 +15516,22 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15424
15516
|
avatarUrl?: string | undefined;
|
|
15425
15517
|
}>>;
|
|
15426
15518
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
15519
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
15520
|
+
id: z.ZodString;
|
|
15521
|
+
name: z.ZodString;
|
|
15522
|
+
email: z.ZodString;
|
|
15523
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
15524
|
+
}, "strip", z.ZodTypeAny, {
|
|
15525
|
+
id: string;
|
|
15526
|
+
name: string;
|
|
15527
|
+
email: string;
|
|
15528
|
+
avatar?: string | undefined;
|
|
15529
|
+
}, {
|
|
15530
|
+
id: string;
|
|
15531
|
+
name: string;
|
|
15532
|
+
email: string;
|
|
15533
|
+
avatar?: string | undefined;
|
|
15534
|
+
}>>;
|
|
15427
15535
|
}, "strip", z.ZodTypeAny, {
|
|
15428
15536
|
id: string;
|
|
15429
15537
|
createdAt: Date;
|
|
@@ -15441,6 +15549,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15441
15549
|
avatarUrl?: string | undefined;
|
|
15442
15550
|
} | undefined;
|
|
15443
15551
|
customUrl?: string | undefined;
|
|
15552
|
+
user?: {
|
|
15553
|
+
id: string;
|
|
15554
|
+
name: string;
|
|
15555
|
+
email: string;
|
|
15556
|
+
avatar?: string | undefined;
|
|
15557
|
+
} | undefined;
|
|
15444
15558
|
}, {
|
|
15445
15559
|
id: string;
|
|
15446
15560
|
createdAt: Date;
|
|
@@ -15458,6 +15572,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15458
15572
|
avatarUrl?: string | undefined;
|
|
15459
15573
|
} | undefined;
|
|
15460
15574
|
customUrl?: string | undefined;
|
|
15575
|
+
user?: {
|
|
15576
|
+
id: string;
|
|
15577
|
+
name: string;
|
|
15578
|
+
email: string;
|
|
15579
|
+
avatar?: string | undefined;
|
|
15580
|
+
} | undefined;
|
|
15461
15581
|
}>, "many">>;
|
|
15462
15582
|
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15463
15583
|
designSystemId: z.ZodString;
|
|
@@ -15500,6 +15620,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15500
15620
|
avatarUrl?: string | undefined;
|
|
15501
15621
|
} | undefined;
|
|
15502
15622
|
customUrl?: string | undefined;
|
|
15623
|
+
user?: {
|
|
15624
|
+
id: string;
|
|
15625
|
+
name: string;
|
|
15626
|
+
email: string;
|
|
15627
|
+
avatar?: string | undefined;
|
|
15628
|
+
} | undefined;
|
|
15503
15629
|
}[] | undefined;
|
|
15504
15630
|
integrationDesignSystems?: {
|
|
15505
15631
|
designSystemId: string;
|
|
@@ -15530,6 +15656,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15530
15656
|
avatarUrl?: string | undefined;
|
|
15531
15657
|
} | undefined;
|
|
15532
15658
|
customUrl?: string | undefined;
|
|
15659
|
+
user?: {
|
|
15660
|
+
id: string;
|
|
15661
|
+
name: string;
|
|
15662
|
+
email: string;
|
|
15663
|
+
avatar?: string | undefined;
|
|
15664
|
+
} | undefined;
|
|
15533
15665
|
}[] | undefined;
|
|
15534
15666
|
integrationDesignSystems?: {
|
|
15535
15667
|
designSystemId: string;
|
|
@@ -15562,6 +15694,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15562
15694
|
avatarUrl?: string | undefined;
|
|
15563
15695
|
} | undefined;
|
|
15564
15696
|
customUrl?: string | undefined;
|
|
15697
|
+
user?: {
|
|
15698
|
+
id: string;
|
|
15699
|
+
name: string;
|
|
15700
|
+
email: string;
|
|
15701
|
+
avatar?: string | undefined;
|
|
15702
|
+
} | undefined;
|
|
15565
15703
|
}[] | undefined;
|
|
15566
15704
|
integrationDesignSystems?: {
|
|
15567
15705
|
designSystemId: string;
|
|
@@ -15594,6 +15732,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15594
15732
|
avatarUrl?: string | undefined;
|
|
15595
15733
|
} | undefined;
|
|
15596
15734
|
customUrl?: string | undefined;
|
|
15735
|
+
user?: {
|
|
15736
|
+
id: string;
|
|
15737
|
+
name: string;
|
|
15738
|
+
email: string;
|
|
15739
|
+
avatar?: string | undefined;
|
|
15740
|
+
} | undefined;
|
|
15597
15741
|
}[] | undefined;
|
|
15598
15742
|
integrationDesignSystems?: {
|
|
15599
15743
|
designSystemId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -15053,6 +15053,22 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15053
15053
|
avatarUrl?: string | undefined;
|
|
15054
15054
|
}>>;
|
|
15055
15055
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
15056
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
15057
|
+
id: z.ZodString;
|
|
15058
|
+
name: z.ZodString;
|
|
15059
|
+
email: z.ZodString;
|
|
15060
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
15061
|
+
}, "strip", z.ZodTypeAny, {
|
|
15062
|
+
id: string;
|
|
15063
|
+
name: string;
|
|
15064
|
+
email: string;
|
|
15065
|
+
avatar?: string | undefined;
|
|
15066
|
+
}, {
|
|
15067
|
+
id: string;
|
|
15068
|
+
name: string;
|
|
15069
|
+
email: string;
|
|
15070
|
+
avatar?: string | undefined;
|
|
15071
|
+
}>>;
|
|
15056
15072
|
}, "strip", z.ZodTypeAny, {
|
|
15057
15073
|
id: string;
|
|
15058
15074
|
createdAt: Date;
|
|
@@ -15070,6 +15086,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15070
15086
|
avatarUrl?: string | undefined;
|
|
15071
15087
|
} | undefined;
|
|
15072
15088
|
customUrl?: string | undefined;
|
|
15089
|
+
user?: {
|
|
15090
|
+
id: string;
|
|
15091
|
+
name: string;
|
|
15092
|
+
email: string;
|
|
15093
|
+
avatar?: string | undefined;
|
|
15094
|
+
} | undefined;
|
|
15073
15095
|
}, {
|
|
15074
15096
|
id: string;
|
|
15075
15097
|
createdAt: Date;
|
|
@@ -15087,6 +15109,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15087
15109
|
avatarUrl?: string | undefined;
|
|
15088
15110
|
} | undefined;
|
|
15089
15111
|
customUrl?: string | undefined;
|
|
15112
|
+
user?: {
|
|
15113
|
+
id: string;
|
|
15114
|
+
name: string;
|
|
15115
|
+
email: string;
|
|
15116
|
+
avatar?: string | undefined;
|
|
15117
|
+
} | undefined;
|
|
15090
15118
|
}>, "many">>;
|
|
15091
15119
|
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15092
15120
|
designSystemId: z.ZodString;
|
|
@@ -15129,6 +15157,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15129
15157
|
avatarUrl?: string | undefined;
|
|
15130
15158
|
} | undefined;
|
|
15131
15159
|
customUrl?: string | undefined;
|
|
15160
|
+
user?: {
|
|
15161
|
+
id: string;
|
|
15162
|
+
name: string;
|
|
15163
|
+
email: string;
|
|
15164
|
+
avatar?: string | undefined;
|
|
15165
|
+
} | undefined;
|
|
15132
15166
|
}[] | undefined;
|
|
15133
15167
|
integrationDesignSystems?: {
|
|
15134
15168
|
designSystemId: string;
|
|
@@ -15159,6 +15193,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15159
15193
|
avatarUrl?: string | undefined;
|
|
15160
15194
|
} | undefined;
|
|
15161
15195
|
customUrl?: string | undefined;
|
|
15196
|
+
user?: {
|
|
15197
|
+
id: string;
|
|
15198
|
+
name: string;
|
|
15199
|
+
email: string;
|
|
15200
|
+
avatar?: string | undefined;
|
|
15201
|
+
} | undefined;
|
|
15162
15202
|
}[] | undefined;
|
|
15163
15203
|
integrationDesignSystems?: {
|
|
15164
15204
|
designSystemId: string;
|
|
@@ -15210,6 +15250,22 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15210
15250
|
avatarUrl?: string | undefined;
|
|
15211
15251
|
}>>;
|
|
15212
15252
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
15253
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
15254
|
+
id: z.ZodString;
|
|
15255
|
+
name: z.ZodString;
|
|
15256
|
+
email: z.ZodString;
|
|
15257
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
15258
|
+
}, "strip", z.ZodTypeAny, {
|
|
15259
|
+
id: string;
|
|
15260
|
+
name: string;
|
|
15261
|
+
email: string;
|
|
15262
|
+
avatar?: string | undefined;
|
|
15263
|
+
}, {
|
|
15264
|
+
id: string;
|
|
15265
|
+
name: string;
|
|
15266
|
+
email: string;
|
|
15267
|
+
avatar?: string | undefined;
|
|
15268
|
+
}>>;
|
|
15213
15269
|
}, "strip", z.ZodTypeAny, {
|
|
15214
15270
|
id: string;
|
|
15215
15271
|
createdAt: Date;
|
|
@@ -15227,6 +15283,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15227
15283
|
avatarUrl?: string | undefined;
|
|
15228
15284
|
} | undefined;
|
|
15229
15285
|
customUrl?: string | undefined;
|
|
15286
|
+
user?: {
|
|
15287
|
+
id: string;
|
|
15288
|
+
name: string;
|
|
15289
|
+
email: string;
|
|
15290
|
+
avatar?: string | undefined;
|
|
15291
|
+
} | undefined;
|
|
15230
15292
|
}, {
|
|
15231
15293
|
id: string;
|
|
15232
15294
|
createdAt: Date;
|
|
@@ -15244,6 +15306,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15244
15306
|
avatarUrl?: string | undefined;
|
|
15245
15307
|
} | undefined;
|
|
15246
15308
|
customUrl?: string | undefined;
|
|
15309
|
+
user?: {
|
|
15310
|
+
id: string;
|
|
15311
|
+
name: string;
|
|
15312
|
+
email: string;
|
|
15313
|
+
avatar?: string | undefined;
|
|
15314
|
+
} | undefined;
|
|
15247
15315
|
}>, "many">>;
|
|
15248
15316
|
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15249
15317
|
designSystemId: z.ZodString;
|
|
@@ -15286,6 +15354,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15286
15354
|
avatarUrl?: string | undefined;
|
|
15287
15355
|
} | undefined;
|
|
15288
15356
|
customUrl?: string | undefined;
|
|
15357
|
+
user?: {
|
|
15358
|
+
id: string;
|
|
15359
|
+
name: string;
|
|
15360
|
+
email: string;
|
|
15361
|
+
avatar?: string | undefined;
|
|
15362
|
+
} | undefined;
|
|
15289
15363
|
}[] | undefined;
|
|
15290
15364
|
integrationDesignSystems?: {
|
|
15291
15365
|
designSystemId: string;
|
|
@@ -15316,6 +15390,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15316
15390
|
avatarUrl?: string | undefined;
|
|
15317
15391
|
} | undefined;
|
|
15318
15392
|
customUrl?: string | undefined;
|
|
15393
|
+
user?: {
|
|
15394
|
+
id: string;
|
|
15395
|
+
name: string;
|
|
15396
|
+
email: string;
|
|
15397
|
+
avatar?: string | undefined;
|
|
15398
|
+
} | undefined;
|
|
15319
15399
|
}[] | undefined;
|
|
15320
15400
|
integrationDesignSystems?: {
|
|
15321
15401
|
designSystemId: string;
|
|
@@ -15348,6 +15428,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15348
15428
|
avatarUrl?: string | undefined;
|
|
15349
15429
|
} | undefined;
|
|
15350
15430
|
customUrl?: string | undefined;
|
|
15431
|
+
user?: {
|
|
15432
|
+
id: string;
|
|
15433
|
+
name: string;
|
|
15434
|
+
email: string;
|
|
15435
|
+
avatar?: string | undefined;
|
|
15436
|
+
} | undefined;
|
|
15351
15437
|
}[] | undefined;
|
|
15352
15438
|
integrationDesignSystems?: {
|
|
15353
15439
|
designSystemId: string;
|
|
@@ -15380,6 +15466,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15380
15466
|
avatarUrl?: string | undefined;
|
|
15381
15467
|
} | undefined;
|
|
15382
15468
|
customUrl?: string | undefined;
|
|
15469
|
+
user?: {
|
|
15470
|
+
id: string;
|
|
15471
|
+
name: string;
|
|
15472
|
+
email: string;
|
|
15473
|
+
avatar?: string | undefined;
|
|
15474
|
+
} | undefined;
|
|
15383
15475
|
}[] | undefined;
|
|
15384
15476
|
integrationDesignSystems?: {
|
|
15385
15477
|
designSystemId: string;
|
|
@@ -15424,6 +15516,22 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15424
15516
|
avatarUrl?: string | undefined;
|
|
15425
15517
|
}>>;
|
|
15426
15518
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
15519
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
15520
|
+
id: z.ZodString;
|
|
15521
|
+
name: z.ZodString;
|
|
15522
|
+
email: z.ZodString;
|
|
15523
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
15524
|
+
}, "strip", z.ZodTypeAny, {
|
|
15525
|
+
id: string;
|
|
15526
|
+
name: string;
|
|
15527
|
+
email: string;
|
|
15528
|
+
avatar?: string | undefined;
|
|
15529
|
+
}, {
|
|
15530
|
+
id: string;
|
|
15531
|
+
name: string;
|
|
15532
|
+
email: string;
|
|
15533
|
+
avatar?: string | undefined;
|
|
15534
|
+
}>>;
|
|
15427
15535
|
}, "strip", z.ZodTypeAny, {
|
|
15428
15536
|
id: string;
|
|
15429
15537
|
createdAt: Date;
|
|
@@ -15441,6 +15549,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15441
15549
|
avatarUrl?: string | undefined;
|
|
15442
15550
|
} | undefined;
|
|
15443
15551
|
customUrl?: string | undefined;
|
|
15552
|
+
user?: {
|
|
15553
|
+
id: string;
|
|
15554
|
+
name: string;
|
|
15555
|
+
email: string;
|
|
15556
|
+
avatar?: string | undefined;
|
|
15557
|
+
} | undefined;
|
|
15444
15558
|
}, {
|
|
15445
15559
|
id: string;
|
|
15446
15560
|
createdAt: Date;
|
|
@@ -15458,6 +15572,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15458
15572
|
avatarUrl?: string | undefined;
|
|
15459
15573
|
} | undefined;
|
|
15460
15574
|
customUrl?: string | undefined;
|
|
15575
|
+
user?: {
|
|
15576
|
+
id: string;
|
|
15577
|
+
name: string;
|
|
15578
|
+
email: string;
|
|
15579
|
+
avatar?: string | undefined;
|
|
15580
|
+
} | undefined;
|
|
15461
15581
|
}>, "many">>;
|
|
15462
15582
|
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15463
15583
|
designSystemId: z.ZodString;
|
|
@@ -15500,6 +15620,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15500
15620
|
avatarUrl?: string | undefined;
|
|
15501
15621
|
} | undefined;
|
|
15502
15622
|
customUrl?: string | undefined;
|
|
15623
|
+
user?: {
|
|
15624
|
+
id: string;
|
|
15625
|
+
name: string;
|
|
15626
|
+
email: string;
|
|
15627
|
+
avatar?: string | undefined;
|
|
15628
|
+
} | undefined;
|
|
15503
15629
|
}[] | undefined;
|
|
15504
15630
|
integrationDesignSystems?: {
|
|
15505
15631
|
designSystemId: string;
|
|
@@ -15530,6 +15656,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15530
15656
|
avatarUrl?: string | undefined;
|
|
15531
15657
|
} | undefined;
|
|
15532
15658
|
customUrl?: string | undefined;
|
|
15659
|
+
user?: {
|
|
15660
|
+
id: string;
|
|
15661
|
+
name: string;
|
|
15662
|
+
email: string;
|
|
15663
|
+
avatar?: string | undefined;
|
|
15664
|
+
} | undefined;
|
|
15533
15665
|
}[] | undefined;
|
|
15534
15666
|
integrationDesignSystems?: {
|
|
15535
15667
|
designSystemId: string;
|
|
@@ -15562,6 +15694,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15562
15694
|
avatarUrl?: string | undefined;
|
|
15563
15695
|
} | undefined;
|
|
15564
15696
|
customUrl?: string | undefined;
|
|
15697
|
+
user?: {
|
|
15698
|
+
id: string;
|
|
15699
|
+
name: string;
|
|
15700
|
+
email: string;
|
|
15701
|
+
avatar?: string | undefined;
|
|
15702
|
+
} | undefined;
|
|
15565
15703
|
}[] | undefined;
|
|
15566
15704
|
integrationDesignSystems?: {
|
|
15567
15705
|
designSystemId: string;
|
|
@@ -15594,6 +15732,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15594
15732
|
avatarUrl?: string | undefined;
|
|
15595
15733
|
} | undefined;
|
|
15596
15734
|
customUrl?: string | undefined;
|
|
15735
|
+
user?: {
|
|
15736
|
+
id: string;
|
|
15737
|
+
name: string;
|
|
15738
|
+
email: string;
|
|
15739
|
+
avatar?: string | undefined;
|
|
15740
|
+
} | undefined;
|
|
15597
15741
|
}[] | undefined;
|
|
15598
15742
|
integrationDesignSystems?: {
|
|
15599
15743
|
designSystemId: string;
|
package/dist/index.js
CHANGED
|
@@ -154,6 +154,7 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
|
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
157
|
+
|
|
157
158
|
|
|
158
159
|
|
|
159
160
|
var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequireDefault(_slugify);
|
|
@@ -2807,6 +2808,12 @@ var UserIdentity = _zod.z.object({
|
|
|
2807
2808
|
id: _zod.z.string(),
|
|
2808
2809
|
userId: _zod.z.string()
|
|
2809
2810
|
});
|
|
2811
|
+
var UserMinified = _zod.z.object({
|
|
2812
|
+
id: _zod.z.string(),
|
|
2813
|
+
name: _zod.z.string(),
|
|
2814
|
+
email: _zod.z.string(),
|
|
2815
|
+
avatar: _zod.z.string().optional()
|
|
2816
|
+
});
|
|
2810
2817
|
var UserOnboardingDepartment = _zod.z.enum(["Design", "Engineering", "Brand", "Other"]);
|
|
2811
2818
|
var UserOnboardingJobLevel = _zod.z.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
|
|
2812
2819
|
var UserOnboarding = _zod.z.object({
|
|
@@ -2912,7 +2919,8 @@ var IntegrationCredentials = _zod.z.object({
|
|
|
2912
2919
|
tokenName: _zod.z.string().optional(),
|
|
2913
2920
|
expiresAt: _zod.z.coerce.date().optional(),
|
|
2914
2921
|
profile: IntegrationCredentialsProfile.optional(),
|
|
2915
|
-
customUrl: _zod.z.string().optional()
|
|
2922
|
+
customUrl: _zod.z.string().optional(),
|
|
2923
|
+
user: UserMinified.optional()
|
|
2916
2924
|
});
|
|
2917
2925
|
var ExtendedIntegrationType = _zod.z.enum([
|
|
2918
2926
|
"Figma",
|
|
@@ -4134,6 +4142,12 @@ function documentationPageToDTOV1(page, pagePathMap) {
|
|
|
4134
4142
|
|
|
4135
4143
|
// src/api/conversion/integrations/integration.ts
|
|
4136
4144
|
function integrationToDto(integration) {
|
|
4145
|
+
if (integration.integrationCredentials) {
|
|
4146
|
+
integration.integrationCredentials.forEach((credential) => {
|
|
4147
|
+
credential.accessToken = "";
|
|
4148
|
+
delete credential.refreshToken;
|
|
4149
|
+
});
|
|
4150
|
+
}
|
|
4137
4151
|
return {
|
|
4138
4152
|
id: integration.id,
|
|
4139
4153
|
workspaceId: integration.workspaceId,
|