@supernova-studio/client 0.54.9 → 0.54.11
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 +27 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/conversion/export/pipeline.ts +1 -0
- package/src/api/dto/export/job.ts +1 -0
- package/src/api/dto/export/pipeline.ts +3 -0
- package/src/api/payloads/export/pipeline.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -8523,6 +8523,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8523
8523
|
}>>;
|
|
8524
8524
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
8525
8525
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
8526
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8526
8527
|
}, "strip", z.ZodTypeAny, {
|
|
8527
8528
|
status: "InProgress" | "Success" | "Failed" | "Timeout";
|
|
8528
8529
|
id: string;
|
|
@@ -8603,6 +8604,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8603
8604
|
};
|
|
8604
8605
|
brandPersistentId?: string | undefined;
|
|
8605
8606
|
themePersistentId?: string | undefined;
|
|
8607
|
+
themePersistentIds?: string[] | undefined;
|
|
8606
8608
|
finishedAt?: Date | undefined;
|
|
8607
8609
|
index?: number | undefined;
|
|
8608
8610
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -8723,6 +8725,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8723
8725
|
};
|
|
8724
8726
|
brandPersistentId?: string | undefined;
|
|
8725
8727
|
themePersistentId?: string | undefined;
|
|
8728
|
+
themePersistentIds?: string[] | undefined;
|
|
8726
8729
|
finishedAt?: Date | undefined;
|
|
8727
8730
|
index?: number | undefined;
|
|
8728
8731
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -8845,6 +8848,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8845
8848
|
};
|
|
8846
8849
|
brandPersistentId?: string | undefined;
|
|
8847
8850
|
themePersistentId?: string | undefined;
|
|
8851
|
+
themePersistentIds?: string[] | undefined;
|
|
8848
8852
|
finishedAt?: Date | undefined;
|
|
8849
8853
|
index?: number | undefined;
|
|
8850
8854
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -8967,6 +8971,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8967
8971
|
};
|
|
8968
8972
|
brandPersistentId?: string | undefined;
|
|
8969
8973
|
themePersistentId?: string | undefined;
|
|
8974
|
+
themePersistentIds?: string[] | undefined;
|
|
8970
8975
|
finishedAt?: Date | undefined;
|
|
8971
8976
|
index?: number | undefined;
|
|
8972
8977
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -30249,6 +30254,7 @@ declare const DTOExportJob: z.ZodObject<{
|
|
|
30249
30254
|
}>>;
|
|
30250
30255
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
30251
30256
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
30257
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30252
30258
|
}, "strip", z.ZodTypeAny, {
|
|
30253
30259
|
status: "InProgress" | "Success" | "Failed" | "Timeout";
|
|
30254
30260
|
id: string;
|
|
@@ -30329,6 +30335,7 @@ declare const DTOExportJob: z.ZodObject<{
|
|
|
30329
30335
|
};
|
|
30330
30336
|
brandPersistentId?: string | undefined;
|
|
30331
30337
|
themePersistentId?: string | undefined;
|
|
30338
|
+
themePersistentIds?: string[] | undefined;
|
|
30332
30339
|
finishedAt?: Date | undefined;
|
|
30333
30340
|
index?: number | undefined;
|
|
30334
30341
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -30449,6 +30456,7 @@ declare const DTOExportJob: z.ZodObject<{
|
|
|
30449
30456
|
};
|
|
30450
30457
|
brandPersistentId?: string | undefined;
|
|
30451
30458
|
themePersistentId?: string | undefined;
|
|
30459
|
+
themePersistentIds?: string[] | undefined;
|
|
30452
30460
|
finishedAt?: Date | undefined;
|
|
30453
30461
|
index?: number | undefined;
|
|
30454
30462
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -31011,6 +31019,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31011
31019
|
}>>;
|
|
31012
31020
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
31013
31021
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
31022
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31014
31023
|
}, "strip", z.ZodTypeAny, {
|
|
31015
31024
|
status: "InProgress" | "Success" | "Failed" | "Timeout";
|
|
31016
31025
|
id: string;
|
|
@@ -31091,6 +31100,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31091
31100
|
};
|
|
31092
31101
|
brandPersistentId?: string | undefined;
|
|
31093
31102
|
themePersistentId?: string | undefined;
|
|
31103
|
+
themePersistentIds?: string[] | undefined;
|
|
31094
31104
|
finishedAt?: Date | undefined;
|
|
31095
31105
|
index?: number | undefined;
|
|
31096
31106
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -31211,6 +31221,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31211
31221
|
};
|
|
31212
31222
|
brandPersistentId?: string | undefined;
|
|
31213
31223
|
themePersistentId?: string | undefined;
|
|
31224
|
+
themePersistentIds?: string[] | undefined;
|
|
31214
31225
|
finishedAt?: Date | undefined;
|
|
31215
31226
|
index?: number | undefined;
|
|
31216
31227
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -31333,6 +31344,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31333
31344
|
};
|
|
31334
31345
|
brandPersistentId?: string | undefined;
|
|
31335
31346
|
themePersistentId?: string | undefined;
|
|
31347
|
+
themePersistentIds?: string[] | undefined;
|
|
31336
31348
|
finishedAt?: Date | undefined;
|
|
31337
31349
|
index?: number | undefined;
|
|
31338
31350
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -31455,6 +31467,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31455
31467
|
};
|
|
31456
31468
|
brandPersistentId?: string | undefined;
|
|
31457
31469
|
themePersistentId?: string | undefined;
|
|
31470
|
+
themePersistentIds?: string[] | undefined;
|
|
31458
31471
|
finishedAt?: Date | undefined;
|
|
31459
31472
|
index?: number | undefined;
|
|
31460
31473
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32019,6 +32032,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32019
32032
|
}>>;
|
|
32020
32033
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
32021
32034
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
32035
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32022
32036
|
}, "strip", z.ZodTypeAny, {
|
|
32023
32037
|
status: "InProgress" | "Success" | "Failed" | "Timeout";
|
|
32024
32038
|
id: string;
|
|
@@ -32099,6 +32113,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32099
32113
|
};
|
|
32100
32114
|
brandPersistentId?: string | undefined;
|
|
32101
32115
|
themePersistentId?: string | undefined;
|
|
32116
|
+
themePersistentIds?: string[] | undefined;
|
|
32102
32117
|
finishedAt?: Date | undefined;
|
|
32103
32118
|
index?: number | undefined;
|
|
32104
32119
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32219,6 +32234,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32219
32234
|
};
|
|
32220
32235
|
brandPersistentId?: string | undefined;
|
|
32221
32236
|
themePersistentId?: string | undefined;
|
|
32237
|
+
themePersistentIds?: string[] | undefined;
|
|
32222
32238
|
finishedAt?: Date | undefined;
|
|
32223
32239
|
index?: number | undefined;
|
|
32224
32240
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32429,6 +32445,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32429
32445
|
exporterId: z.ZodString;
|
|
32430
32446
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
32431
32447
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
32448
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32432
32449
|
}, "strip", z.ZodTypeAny, {
|
|
32433
32450
|
id: string;
|
|
32434
32451
|
workspaceId: string;
|
|
@@ -32517,6 +32534,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32517
32534
|
};
|
|
32518
32535
|
brandPersistentId?: string | undefined;
|
|
32519
32536
|
themePersistentId?: string | undefined;
|
|
32537
|
+
themePersistentIds?: string[] | undefined;
|
|
32520
32538
|
finishedAt?: Date | undefined;
|
|
32521
32539
|
index?: number | undefined;
|
|
32522
32540
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32560,6 +32578,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32560
32578
|
}[];
|
|
32561
32579
|
brandPersistentId?: string | undefined;
|
|
32562
32580
|
themePersistentId?: string | undefined;
|
|
32581
|
+
themePersistentIds?: string[] | undefined;
|
|
32563
32582
|
webhookUrl?: string | undefined;
|
|
32564
32583
|
destinationSnDocs?: {
|
|
32565
32584
|
environment: "Live" | "Preview";
|
|
@@ -32703,6 +32722,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32703
32722
|
};
|
|
32704
32723
|
brandPersistentId?: string | undefined;
|
|
32705
32724
|
themePersistentId?: string | undefined;
|
|
32725
|
+
themePersistentIds?: string[] | undefined;
|
|
32706
32726
|
finishedAt?: Date | undefined;
|
|
32707
32727
|
index?: number | undefined;
|
|
32708
32728
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32746,6 +32766,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32746
32766
|
}[];
|
|
32747
32767
|
brandPersistentId?: string | undefined;
|
|
32748
32768
|
themePersistentId?: string | undefined;
|
|
32769
|
+
themePersistentIds?: string[] | undefined;
|
|
32749
32770
|
webhookUrl?: string | undefined;
|
|
32750
32771
|
destinationSnDocs?: {
|
|
32751
32772
|
environment: "Live" | "Preview";
|
|
@@ -40503,6 +40524,7 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
|
|
|
40503
40524
|
eventType: z.ZodEnum<["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]>;
|
|
40504
40525
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
40505
40526
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
40527
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
40506
40528
|
destination: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Github", "Gitlab", "Bitbucket", "Azure"]>, z.ZodEnum<["WebhookUrl", "S3", "Documentation"]>]>>;
|
|
40507
40529
|
gitQuery: z.ZodObject<{
|
|
40508
40530
|
organization: z.ZodOptional<z.ZodString>;
|
|
@@ -40869,6 +40891,7 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
|
|
|
40869
40891
|
};
|
|
40870
40892
|
brandPersistentId?: string | undefined;
|
|
40871
40893
|
themePersistentId?: string | undefined;
|
|
40894
|
+
themePersistentIds?: string[] | undefined;
|
|
40872
40895
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
40873
40896
|
}, {
|
|
40874
40897
|
name: string;
|
|
@@ -40942,6 +40965,7 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
|
|
|
40942
40965
|
};
|
|
40943
40966
|
brandPersistentId?: string | undefined;
|
|
40944
40967
|
themePersistentId?: string | undefined;
|
|
40968
|
+
themePersistentIds?: string[] | undefined;
|
|
40945
40969
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
40946
40970
|
}>;
|
|
40947
40971
|
type DTOPipelineCreateBody = z.infer<typeof DTOPipelineCreateBody>;
|
|
@@ -40953,6 +40977,7 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
40953
40977
|
eventType: z.ZodEnum<["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]>;
|
|
40954
40978
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
40955
40979
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
40980
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
40956
40981
|
destination: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Github", "Gitlab", "Bitbucket", "Azure"]>, z.ZodEnum<["WebhookUrl", "S3", "Documentation"]>]>>;
|
|
40957
40982
|
gitQuery: z.ZodObject<{
|
|
40958
40983
|
organization: z.ZodOptional<z.ZodString>;
|
|
@@ -41322,6 +41347,7 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
41322
41347
|
};
|
|
41323
41348
|
brandPersistentId?: string | undefined;
|
|
41324
41349
|
themePersistentId?: string | undefined;
|
|
41350
|
+
themePersistentIds?: string[] | undefined;
|
|
41325
41351
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
41326
41352
|
}, {
|
|
41327
41353
|
id: string;
|
|
@@ -41396,6 +41422,7 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
41396
41422
|
};
|
|
41397
41423
|
brandPersistentId?: string | undefined;
|
|
41398
41424
|
themePersistentId?: string | undefined;
|
|
41425
|
+
themePersistentIds?: string[] | undefined;
|
|
41399
41426
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
41400
41427
|
}>;
|
|
41401
41428
|
type DTOPipelineUpdateBody = z.infer<typeof DTOPipelineUpdateBody>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8523,6 +8523,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8523
8523
|
}>>;
|
|
8524
8524
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
8525
8525
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
8526
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8526
8527
|
}, "strip", z.ZodTypeAny, {
|
|
8527
8528
|
status: "InProgress" | "Success" | "Failed" | "Timeout";
|
|
8528
8529
|
id: string;
|
|
@@ -8603,6 +8604,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8603
8604
|
};
|
|
8604
8605
|
brandPersistentId?: string | undefined;
|
|
8605
8606
|
themePersistentId?: string | undefined;
|
|
8607
|
+
themePersistentIds?: string[] | undefined;
|
|
8606
8608
|
finishedAt?: Date | undefined;
|
|
8607
8609
|
index?: number | undefined;
|
|
8608
8610
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -8723,6 +8725,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8723
8725
|
};
|
|
8724
8726
|
brandPersistentId?: string | undefined;
|
|
8725
8727
|
themePersistentId?: string | undefined;
|
|
8728
|
+
themePersistentIds?: string[] | undefined;
|
|
8726
8729
|
finishedAt?: Date | undefined;
|
|
8727
8730
|
index?: number | undefined;
|
|
8728
8731
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -8845,6 +8848,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8845
8848
|
};
|
|
8846
8849
|
brandPersistentId?: string | undefined;
|
|
8847
8850
|
themePersistentId?: string | undefined;
|
|
8851
|
+
themePersistentIds?: string[] | undefined;
|
|
8848
8852
|
finishedAt?: Date | undefined;
|
|
8849
8853
|
index?: number | undefined;
|
|
8850
8854
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -8967,6 +8971,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
8967
8971
|
};
|
|
8968
8972
|
brandPersistentId?: string | undefined;
|
|
8969
8973
|
themePersistentId?: string | undefined;
|
|
8974
|
+
themePersistentIds?: string[] | undefined;
|
|
8970
8975
|
finishedAt?: Date | undefined;
|
|
8971
8976
|
index?: number | undefined;
|
|
8972
8977
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -30249,6 +30254,7 @@ declare const DTOExportJob: z.ZodObject<{
|
|
|
30249
30254
|
}>>;
|
|
30250
30255
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
30251
30256
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
30257
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30252
30258
|
}, "strip", z.ZodTypeAny, {
|
|
30253
30259
|
status: "InProgress" | "Success" | "Failed" | "Timeout";
|
|
30254
30260
|
id: string;
|
|
@@ -30329,6 +30335,7 @@ declare const DTOExportJob: z.ZodObject<{
|
|
|
30329
30335
|
};
|
|
30330
30336
|
brandPersistentId?: string | undefined;
|
|
30331
30337
|
themePersistentId?: string | undefined;
|
|
30338
|
+
themePersistentIds?: string[] | undefined;
|
|
30332
30339
|
finishedAt?: Date | undefined;
|
|
30333
30340
|
index?: number | undefined;
|
|
30334
30341
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -30449,6 +30456,7 @@ declare const DTOExportJob: z.ZodObject<{
|
|
|
30449
30456
|
};
|
|
30450
30457
|
brandPersistentId?: string | undefined;
|
|
30451
30458
|
themePersistentId?: string | undefined;
|
|
30459
|
+
themePersistentIds?: string[] | undefined;
|
|
30452
30460
|
finishedAt?: Date | undefined;
|
|
30453
30461
|
index?: number | undefined;
|
|
30454
30462
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -31011,6 +31019,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31011
31019
|
}>>;
|
|
31012
31020
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
31013
31021
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
31022
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31014
31023
|
}, "strip", z.ZodTypeAny, {
|
|
31015
31024
|
status: "InProgress" | "Success" | "Failed" | "Timeout";
|
|
31016
31025
|
id: string;
|
|
@@ -31091,6 +31100,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31091
31100
|
};
|
|
31092
31101
|
brandPersistentId?: string | undefined;
|
|
31093
31102
|
themePersistentId?: string | undefined;
|
|
31103
|
+
themePersistentIds?: string[] | undefined;
|
|
31094
31104
|
finishedAt?: Date | undefined;
|
|
31095
31105
|
index?: number | undefined;
|
|
31096
31106
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -31211,6 +31221,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31211
31221
|
};
|
|
31212
31222
|
brandPersistentId?: string | undefined;
|
|
31213
31223
|
themePersistentId?: string | undefined;
|
|
31224
|
+
themePersistentIds?: string[] | undefined;
|
|
31214
31225
|
finishedAt?: Date | undefined;
|
|
31215
31226
|
index?: number | undefined;
|
|
31216
31227
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -31333,6 +31344,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31333
31344
|
};
|
|
31334
31345
|
brandPersistentId?: string | undefined;
|
|
31335
31346
|
themePersistentId?: string | undefined;
|
|
31347
|
+
themePersistentIds?: string[] | undefined;
|
|
31336
31348
|
finishedAt?: Date | undefined;
|
|
31337
31349
|
index?: number | undefined;
|
|
31338
31350
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -31455,6 +31467,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
31455
31467
|
};
|
|
31456
31468
|
brandPersistentId?: string | undefined;
|
|
31457
31469
|
themePersistentId?: string | undefined;
|
|
31470
|
+
themePersistentIds?: string[] | undefined;
|
|
31458
31471
|
finishedAt?: Date | undefined;
|
|
31459
31472
|
index?: number | undefined;
|
|
31460
31473
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32019,6 +32032,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32019
32032
|
}>>;
|
|
32020
32033
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
32021
32034
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
32035
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32022
32036
|
}, "strip", z.ZodTypeAny, {
|
|
32023
32037
|
status: "InProgress" | "Success" | "Failed" | "Timeout";
|
|
32024
32038
|
id: string;
|
|
@@ -32099,6 +32113,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32099
32113
|
};
|
|
32100
32114
|
brandPersistentId?: string | undefined;
|
|
32101
32115
|
themePersistentId?: string | undefined;
|
|
32116
|
+
themePersistentIds?: string[] | undefined;
|
|
32102
32117
|
finishedAt?: Date | undefined;
|
|
32103
32118
|
index?: number | undefined;
|
|
32104
32119
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32219,6 +32234,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32219
32234
|
};
|
|
32220
32235
|
brandPersistentId?: string | undefined;
|
|
32221
32236
|
themePersistentId?: string | undefined;
|
|
32237
|
+
themePersistentIds?: string[] | undefined;
|
|
32222
32238
|
finishedAt?: Date | undefined;
|
|
32223
32239
|
index?: number | undefined;
|
|
32224
32240
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32429,6 +32445,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32429
32445
|
exporterId: z.ZodString;
|
|
32430
32446
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
32431
32447
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
32448
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32432
32449
|
}, "strip", z.ZodTypeAny, {
|
|
32433
32450
|
id: string;
|
|
32434
32451
|
workspaceId: string;
|
|
@@ -32517,6 +32534,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32517
32534
|
};
|
|
32518
32535
|
brandPersistentId?: string | undefined;
|
|
32519
32536
|
themePersistentId?: string | undefined;
|
|
32537
|
+
themePersistentIds?: string[] | undefined;
|
|
32520
32538
|
finishedAt?: Date | undefined;
|
|
32521
32539
|
index?: number | undefined;
|
|
32522
32540
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32560,6 +32578,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32560
32578
|
}[];
|
|
32561
32579
|
brandPersistentId?: string | undefined;
|
|
32562
32580
|
themePersistentId?: string | undefined;
|
|
32581
|
+
themePersistentIds?: string[] | undefined;
|
|
32563
32582
|
webhookUrl?: string | undefined;
|
|
32564
32583
|
destinationSnDocs?: {
|
|
32565
32584
|
environment: "Live" | "Preview";
|
|
@@ -32703,6 +32722,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32703
32722
|
};
|
|
32704
32723
|
brandPersistentId?: string | undefined;
|
|
32705
32724
|
themePersistentId?: string | undefined;
|
|
32725
|
+
themePersistentIds?: string[] | undefined;
|
|
32706
32726
|
finishedAt?: Date | undefined;
|
|
32707
32727
|
index?: number | undefined;
|
|
32708
32728
|
estimatedExecutionTime?: number | undefined;
|
|
@@ -32746,6 +32766,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
32746
32766
|
}[];
|
|
32747
32767
|
brandPersistentId?: string | undefined;
|
|
32748
32768
|
themePersistentId?: string | undefined;
|
|
32769
|
+
themePersistentIds?: string[] | undefined;
|
|
32749
32770
|
webhookUrl?: string | undefined;
|
|
32750
32771
|
destinationSnDocs?: {
|
|
32751
32772
|
environment: "Live" | "Preview";
|
|
@@ -40503,6 +40524,7 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
|
|
|
40503
40524
|
eventType: z.ZodEnum<["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]>;
|
|
40504
40525
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
40505
40526
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
40527
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
40506
40528
|
destination: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Github", "Gitlab", "Bitbucket", "Azure"]>, z.ZodEnum<["WebhookUrl", "S3", "Documentation"]>]>>;
|
|
40507
40529
|
gitQuery: z.ZodObject<{
|
|
40508
40530
|
organization: z.ZodOptional<z.ZodString>;
|
|
@@ -40869,6 +40891,7 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
|
|
|
40869
40891
|
};
|
|
40870
40892
|
brandPersistentId?: string | undefined;
|
|
40871
40893
|
themePersistentId?: string | undefined;
|
|
40894
|
+
themePersistentIds?: string[] | undefined;
|
|
40872
40895
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
40873
40896
|
}, {
|
|
40874
40897
|
name: string;
|
|
@@ -40942,6 +40965,7 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
|
|
|
40942
40965
|
};
|
|
40943
40966
|
brandPersistentId?: string | undefined;
|
|
40944
40967
|
themePersistentId?: string | undefined;
|
|
40968
|
+
themePersistentIds?: string[] | undefined;
|
|
40945
40969
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
40946
40970
|
}>;
|
|
40947
40971
|
type DTOPipelineCreateBody = z.infer<typeof DTOPipelineCreateBody>;
|
|
@@ -40953,6 +40977,7 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
40953
40977
|
eventType: z.ZodEnum<["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]>;
|
|
40954
40978
|
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
40955
40979
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
40980
|
+
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
40956
40981
|
destination: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Github", "Gitlab", "Bitbucket", "Azure"]>, z.ZodEnum<["WebhookUrl", "S3", "Documentation"]>]>>;
|
|
40957
40982
|
gitQuery: z.ZodObject<{
|
|
40958
40983
|
organization: z.ZodOptional<z.ZodString>;
|
|
@@ -41322,6 +41347,7 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
41322
41347
|
};
|
|
41323
41348
|
brandPersistentId?: string | undefined;
|
|
41324
41349
|
themePersistentId?: string | undefined;
|
|
41350
|
+
themePersistentIds?: string[] | undefined;
|
|
41325
41351
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
41326
41352
|
}, {
|
|
41327
41353
|
id: string;
|
|
@@ -41396,6 +41422,7 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
41396
41422
|
};
|
|
41397
41423
|
brandPersistentId?: string | undefined;
|
|
41398
41424
|
themePersistentId?: string | undefined;
|
|
41425
|
+
themePersistentIds?: string[] | undefined;
|
|
41399
41426
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
41400
41427
|
}>;
|
|
41401
41428
|
type DTOPipelineUpdateBody = z.infer<typeof DTOPipelineUpdateBody>;
|
package/dist/index.js
CHANGED
|
@@ -3840,6 +3840,7 @@ var Pipeline = _zod.z.object({
|
|
|
3840
3840
|
exporterId: _zod.z.string(),
|
|
3841
3841
|
brandPersistentId: _zod.z.string().optional(),
|
|
3842
3842
|
themePersistentId: _zod.z.string().optional(),
|
|
3843
|
+
themePersistentIds: _zod.z.string().array().optional(),
|
|
3843
3844
|
// Destinations
|
|
3844
3845
|
...ExportDestinationsMap.shape
|
|
3845
3846
|
});
|
|
@@ -4295,6 +4296,7 @@ var ExportJobContext = _zod.z.object({
|
|
|
4295
4296
|
versionId: _zod.z.string(),
|
|
4296
4297
|
brandId: _zod.z.string().optional(),
|
|
4297
4298
|
themeId: _zod.z.string().optional(),
|
|
4299
|
+
themePersistentIds: _zod.z.string().array().optional(),
|
|
4298
4300
|
exporterName: _zod.z.string(),
|
|
4299
4301
|
exporterPackageUrl: _zod.z.string(),
|
|
4300
4302
|
exporterPropertyValues: ExporterPropertyValue.array(),
|
|
@@ -4358,6 +4360,7 @@ var ExportJob = _zod.z.object({
|
|
|
4358
4360
|
exporterId: _zod.z.string(),
|
|
4359
4361
|
brandId: _zod.z.string().optional(),
|
|
4360
4362
|
themeId: _zod.z.string().optional(),
|
|
4363
|
+
themePersistentIds: _zod.z.string().array().optional(),
|
|
4361
4364
|
estimatedExecutionTime: _zod.z.number().optional(),
|
|
4362
4365
|
status: ExportJobStatus,
|
|
4363
4366
|
result: ExportJobResult.optional(),
|
|
@@ -4909,6 +4912,7 @@ function pipelineToDto(pipeline) {
|
|
|
4909
4912
|
exporterId: pipeline.exporterId,
|
|
4910
4913
|
brandPersistentId: pipeline.brandPersistentId,
|
|
4911
4914
|
themePersistentId: pipeline.themePersistentId,
|
|
4915
|
+
themePersistentIds: pipeline.themePersistentIds,
|
|
4912
4916
|
destinationAzure: pipeline.destinationAzure,
|
|
4913
4917
|
destinationBitbucket: pipeline.destinationBitbucket,
|
|
4914
4918
|
destinationSnDocs: pipeline.destinationSnDocs,
|
|
@@ -5220,6 +5224,7 @@ var DTOPipelineCreateBody = _zod.z.object({
|
|
|
5220
5224
|
eventType: PipelineEventType,
|
|
5221
5225
|
brandPersistentId: _zod.z.string().optional(),
|
|
5222
5226
|
themePersistentId: _zod.z.string().optional(),
|
|
5227
|
+
themePersistentIds: _zod.z.string().array().optional(),
|
|
5223
5228
|
destination: PipelineDestinationType.optional(),
|
|
5224
5229
|
gitQuery: GitObjectsQuery,
|
|
5225
5230
|
destinations: _zod.z.object({
|
|
@@ -5653,7 +5658,8 @@ var DTOExportJob = _zod.z.object({
|
|
|
5653
5658
|
scheduleId: _zod.z.string().optional(),
|
|
5654
5659
|
result: DTOExportJobResult.optional(),
|
|
5655
5660
|
brandPersistentId: _zod.z.string().optional(),
|
|
5656
|
-
themePersistentId: _zod.z.string().optional()
|
|
5661
|
+
themePersistentId: _zod.z.string().optional(),
|
|
5662
|
+
themePersistentIds: _zod.z.string().array().optional()
|
|
5657
5663
|
});
|
|
5658
5664
|
var DTOExportJobResponse = _zod.z.object({
|
|
5659
5665
|
job: DTOExportJob
|
|
@@ -5671,6 +5677,7 @@ var DTOPipeline = _zod.z.object({
|
|
|
5671
5677
|
exporterId: _zod.z.string(),
|
|
5672
5678
|
brandPersistentId: _zod.z.string().optional(),
|
|
5673
5679
|
themePersistentId: _zod.z.string().optional(),
|
|
5680
|
+
themePersistentIds: _zod.z.string().array().optional(),
|
|
5674
5681
|
...ExportDestinationsMap.shape,
|
|
5675
5682
|
latestJobs: DTOExportJob.array()
|
|
5676
5683
|
});
|