@supernova-studio/client 0.59.8 → 0.59.9

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 CHANGED
@@ -88870,18 +88870,17 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
88870
88870
  destination?: "Documentation" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | undefined;
88871
88871
  }>;
88872
88872
  type DTOPipelineCreateBody = z.infer<typeof DTOPipelineCreateBody>;
88873
- declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
88874
- name: z.ZodString;
88875
- exporterId: z.ZodString;
88876
- designSystemId: z.ZodString;
88877
- isEnabled: z.ZodBoolean;
88878
- eventType: z.ZodEnum<["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]>;
88873
+ declare const DTOPipelineUpdateBody: z.ZodObject<{
88874
+ exporterId: z.ZodOptional<z.ZodString>;
88875
+ name: z.ZodOptional<z.ZodString>;
88876
+ isEnabled: z.ZodOptional<z.ZodBoolean>;
88877
+ eventType: z.ZodOptional<z.ZodEnum<["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]>>;
88879
88878
  brandPersistentId: z.ZodOptional<z.ZodString>;
88880
88879
  themePersistentId: z.ZodOptional<z.ZodString>;
88881
88880
  themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88882
88881
  exporterConfigurationProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>, z.ZodString]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
88883
88882
  destination: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Github", "Gitlab", "Bitbucket", "Azure"]>, z.ZodEnum<["WebhookUrl", "S3", "Documentation"]>]>>;
88884
- gitQuery: z.ZodObject<{
88883
+ gitQuery: z.ZodOptional<z.ZodObject<{
88885
88884
  organization: z.ZodOptional<z.ZodString>;
88886
88885
  project: z.ZodOptional<z.ZodString>;
88887
88886
  repository: z.ZodOptional<z.ZodString>;
@@ -88899,8 +88898,8 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
88899
88898
  repository?: string | undefined;
88900
88899
  user?: string | undefined;
88901
88900
  branch?: string | undefined;
88902
- }>;
88903
- destinations: z.ZodObject<{
88901
+ }>>;
88902
+ destinations: z.ZodOptional<z.ZodObject<{
88904
88903
  s3: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
88905
88904
  azure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
88906
88905
  credentialId: z.ZodOptional<z.ZodString>;
@@ -89193,24 +89192,25 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
89193
89192
  } | null | undefined;
89194
89193
  } | null | undefined;
89195
89194
  webhookUrl?: string | null | undefined;
89196
- }>;
89197
- }, {
89198
- id: z.ZodString;
89199
- }>, "strip", z.ZodTypeAny, {
89200
- id: string;
89201
- name: string;
89202
- designSystemId: string;
89203
- exporterId: string;
89204
- isEnabled: boolean;
89205
- eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
89206
- gitQuery: {
89195
+ }>>;
89196
+ }, "strip", z.ZodTypeAny, {
89197
+ brandPersistentId?: string | undefined;
89198
+ name?: string | undefined;
89199
+ exporterId?: string | undefined;
89200
+ isEnabled?: boolean | undefined;
89201
+ eventType?: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None" | undefined;
89202
+ themePersistentId?: string | undefined;
89203
+ themePersistentIds?: string[] | undefined;
89204
+ exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
89205
+ destination?: "Documentation" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | undefined;
89206
+ gitQuery?: {
89207
89207
  organization?: string | undefined;
89208
89208
  project?: string | undefined;
89209
89209
  repository?: string | undefined;
89210
89210
  user?: string | undefined;
89211
89211
  branch?: string | undefined;
89212
- };
89213
- destinations: {
89212
+ } | undefined;
89213
+ destinations?: {
89214
89214
  s3?: {} | null | undefined;
89215
89215
  azure?: {
89216
89216
  branch: string;
@@ -89270,27 +89270,25 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
89270
89270
  } | undefined;
89271
89271
  } | null | undefined;
89272
89272
  webhookUrl?: string | null | undefined;
89273
- };
89273
+ } | undefined;
89274
+ }, {
89274
89275
  brandPersistentId?: string | undefined;
89276
+ name?: string | undefined;
89277
+ exporterId?: string | undefined;
89278
+ isEnabled?: boolean | undefined;
89279
+ eventType?: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None" | undefined;
89275
89280
  themePersistentId?: string | undefined;
89276
89281
  themePersistentIds?: string[] | undefined;
89277
89282
  exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
89278
89283
  destination?: "Documentation" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | undefined;
89279
- }, {
89280
- id: string;
89281
- name: string;
89282
- designSystemId: string;
89283
- exporterId: string;
89284
- isEnabled: boolean;
89285
- eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
89286
- gitQuery: {
89284
+ gitQuery?: {
89287
89285
  organization?: string | undefined;
89288
89286
  project?: string | undefined;
89289
89287
  repository?: string | undefined;
89290
89288
  user?: string | undefined;
89291
89289
  branch?: string | undefined;
89292
- };
89293
- destinations: {
89290
+ } | undefined;
89291
+ destinations?: {
89294
89292
  s3?: {} | null | undefined;
89295
89293
  azure?: {
89296
89294
  branch: string;
@@ -89350,12 +89348,7 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
89350
89348
  } | null | undefined;
89351
89349
  } | null | undefined;
89352
89350
  webhookUrl?: string | null | undefined;
89353
- };
89354
- brandPersistentId?: string | undefined;
89355
- themePersistentId?: string | undefined;
89356
- themePersistentIds?: string[] | undefined;
89357
- exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
89358
- destination?: "Documentation" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | undefined;
89351
+ } | undefined;
89359
89352
  }>;
89360
89353
  type DTOPipelineUpdateBody = z.infer<typeof DTOPipelineUpdateBody>;
89361
89354
  declare const DTOPipelineTriggerBody: z.ZodObject<{
@@ -90512,6 +90505,207 @@ declare class PipelinesEndpoint {
90512
90505
  } | undefined;
90513
90506
  };
90514
90507
  }>;
90508
+ update(designSystemId: string, pipelineId: string, payload: DTOPipelineUpdateBody): Promise<{
90509
+ pipeline: {
90510
+ id: string;
90511
+ name: string;
90512
+ workspaceId: string;
90513
+ designSystemId: string;
90514
+ exporterId: string;
90515
+ isEnabled: boolean;
90516
+ eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
90517
+ latestJobs: {
90518
+ status: "InProgress" | "Failed" | "Success" | "Timeout";
90519
+ id: string;
90520
+ createdAt: Date;
90521
+ designSystem: {
90522
+ id: string;
90523
+ meta: {
90524
+ name: string;
90525
+ description?: string | undefined;
90526
+ };
90527
+ };
90528
+ exporterId: string;
90529
+ destinations: {
90530
+ s3?: {} | undefined;
90531
+ azure?: {
90532
+ branch: string;
90533
+ organizationId: string;
90534
+ projectId: string;
90535
+ repositoryId: string;
90536
+ url?: string | undefined;
90537
+ userId?: number | undefined;
90538
+ credentialId?: string | undefined;
90539
+ relativePath?: string | undefined;
90540
+ purgeDirectory?: boolean | undefined;
90541
+ commitAuthorName?: string | undefined;
90542
+ commitAuthorEmail?: string | undefined;
90543
+ connectionId?: string | undefined;
90544
+ } | undefined;
90545
+ bitbucket?: {
90546
+ branch: string;
90547
+ workspaceSlug: string;
90548
+ projectKey: string;
90549
+ repoSlug: string;
90550
+ userId?: number | undefined;
90551
+ credentialId?: string | undefined;
90552
+ relativePath?: string | undefined;
90553
+ purgeDirectory?: boolean | undefined;
90554
+ commitAuthorName?: string | undefined;
90555
+ commitAuthorEmail?: string | undefined;
90556
+ connectionId?: string | undefined;
90557
+ } | undefined;
90558
+ github?: {
90559
+ url: string;
90560
+ branch: string;
90561
+ userId?: number | undefined;
90562
+ credentialId?: string | undefined;
90563
+ relativePath?: string | undefined;
90564
+ purgeDirectory?: boolean | undefined;
90565
+ commitAuthorName?: string | undefined;
90566
+ commitAuthorEmail?: string | undefined;
90567
+ connectionId?: string | undefined;
90568
+ } | undefined;
90569
+ gitlab?: {
90570
+ branch: string;
90571
+ projectId: string;
90572
+ url?: string | undefined;
90573
+ userId?: number | undefined;
90574
+ credentialId?: string | undefined;
90575
+ relativePath?: string | undefined;
90576
+ purgeDirectory?: boolean | undefined;
90577
+ commitAuthorName?: string | undefined;
90578
+ commitAuthorEmail?: string | undefined;
90579
+ connectionId?: string | undefined;
90580
+ } | undefined;
90581
+ documentation?: {
90582
+ environment: "Live" | "Preview";
90583
+ changes?: {
90584
+ pagePersistentIds: string[];
90585
+ groupPersistentIds: string[];
90586
+ } | undefined;
90587
+ } | undefined;
90588
+ webhookUrl?: string | undefined;
90589
+ };
90590
+ designSystemVersion: {
90591
+ id: string;
90592
+ meta: {
90593
+ name: string;
90594
+ description?: string | undefined;
90595
+ };
90596
+ version: string;
90597
+ isReadonly: boolean;
90598
+ };
90599
+ brandPersistentId?: string | undefined;
90600
+ themePersistentId?: string | undefined;
90601
+ themePersistentIds?: string[] | undefined;
90602
+ exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
90603
+ finishedAt?: Date | undefined;
90604
+ index?: number | undefined;
90605
+ estimatedExecutionTime?: number | undefined;
90606
+ createdBy?: {
90607
+ userId: string;
90608
+ userName: string;
90609
+ } | undefined;
90610
+ scheduleId?: string | undefined;
90611
+ result?: {
90612
+ s3?: {
90613
+ path: string;
90614
+ files: string[];
90615
+ bucket: string;
90616
+ url?: string | undefined;
90617
+ urlPrefix?: string | undefined;
90618
+ urls?: string[] | undefined;
90619
+ } | undefined;
90620
+ azure?: {
90621
+ pullRequestUrl: string;
90622
+ } | undefined;
90623
+ bitbucket?: {
90624
+ pullRequestUrl: string;
90625
+ } | undefined;
90626
+ github?: {
90627
+ pullRequestUrl: string;
90628
+ } | undefined;
90629
+ gitlab?: {
90630
+ pullRequestUrl: string;
90631
+ } | undefined;
90632
+ documentation?: {
90633
+ url: string;
90634
+ } | undefined;
90635
+ error?: string | undefined;
90636
+ logs?: {
90637
+ message: string;
90638
+ type: "error" | "info" | "user" | "success" | "warning";
90639
+ time: Date;
90640
+ id?: string | undefined;
90641
+ }[] | undefined;
90642
+ } | undefined;
90643
+ }[];
90644
+ brandPersistentId?: string | undefined;
90645
+ themePersistentId?: string | undefined;
90646
+ themePersistentIds?: string[] | undefined;
90647
+ exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
90648
+ webhookUrl?: string | undefined;
90649
+ destinationSnDocs?: {
90650
+ environment: "Live" | "Preview";
90651
+ changes?: {
90652
+ pagePersistentIds: string[];
90653
+ groupPersistentIds: string[];
90654
+ } | undefined;
90655
+ } | undefined;
90656
+ destinationS3?: {} | undefined;
90657
+ destinationGithub?: {
90658
+ url: string;
90659
+ branch: string;
90660
+ userId?: number | undefined;
90661
+ credentialId?: string | undefined;
90662
+ relativePath?: string | undefined;
90663
+ purgeDirectory?: boolean | undefined;
90664
+ commitAuthorName?: string | undefined;
90665
+ commitAuthorEmail?: string | undefined;
90666
+ connectionId?: string | undefined;
90667
+ } | undefined;
90668
+ destinationAzure?: {
90669
+ branch: string;
90670
+ organizationId: string;
90671
+ projectId: string;
90672
+ repositoryId: string;
90673
+ url?: string | undefined;
90674
+ userId?: number | undefined;
90675
+ credentialId?: string | undefined;
90676
+ relativePath?: string | undefined;
90677
+ purgeDirectory?: boolean | undefined;
90678
+ commitAuthorName?: string | undefined;
90679
+ commitAuthorEmail?: string | undefined;
90680
+ connectionId?: string | undefined;
90681
+ } | undefined;
90682
+ destinationGitlab?: {
90683
+ branch: string;
90684
+ projectId: string;
90685
+ url?: string | undefined;
90686
+ userId?: number | undefined;
90687
+ credentialId?: string | undefined;
90688
+ relativePath?: string | undefined;
90689
+ purgeDirectory?: boolean | undefined;
90690
+ commitAuthorName?: string | undefined;
90691
+ commitAuthorEmail?: string | undefined;
90692
+ connectionId?: string | undefined;
90693
+ } | undefined;
90694
+ destinationBitbucket?: {
90695
+ branch: string;
90696
+ workspaceSlug: string;
90697
+ projectKey: string;
90698
+ repoSlug: string;
90699
+ userId?: number | undefined;
90700
+ credentialId?: string | undefined;
90701
+ relativePath?: string | undefined;
90702
+ purgeDirectory?: boolean | undefined;
90703
+ commitAuthorName?: string | undefined;
90704
+ commitAuthorEmail?: string | undefined;
90705
+ connectionId?: string | undefined;
90706
+ } | undefined;
90707
+ };
90708
+ }>;
90515
90709
  trigger(workspaceId: string, pipelineId: string, payload: DTOPipelineTriggerBody): Promise<{
90516
90710
  job: {
90517
90711
  status: "InProgress" | "Failed" | "Success" | "Timeout";
package/dist/index.d.ts CHANGED
@@ -88870,18 +88870,17 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
88870
88870
  destination?: "Documentation" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | undefined;
88871
88871
  }>;
88872
88872
  type DTOPipelineCreateBody = z.infer<typeof DTOPipelineCreateBody>;
88873
- declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
88874
- name: z.ZodString;
88875
- exporterId: z.ZodString;
88876
- designSystemId: z.ZodString;
88877
- isEnabled: z.ZodBoolean;
88878
- eventType: z.ZodEnum<["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]>;
88873
+ declare const DTOPipelineUpdateBody: z.ZodObject<{
88874
+ exporterId: z.ZodOptional<z.ZodString>;
88875
+ name: z.ZodOptional<z.ZodString>;
88876
+ isEnabled: z.ZodOptional<z.ZodBoolean>;
88877
+ eventType: z.ZodOptional<z.ZodEnum<["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]>>;
88879
88878
  brandPersistentId: z.ZodOptional<z.ZodString>;
88880
88879
  themePersistentId: z.ZodOptional<z.ZodString>;
88881
88880
  themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88882
88881
  exporterConfigurationProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>, z.ZodString]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
88883
88882
  destination: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["Github", "Gitlab", "Bitbucket", "Azure"]>, z.ZodEnum<["WebhookUrl", "S3", "Documentation"]>]>>;
88884
- gitQuery: z.ZodObject<{
88883
+ gitQuery: z.ZodOptional<z.ZodObject<{
88885
88884
  organization: z.ZodOptional<z.ZodString>;
88886
88885
  project: z.ZodOptional<z.ZodString>;
88887
88886
  repository: z.ZodOptional<z.ZodString>;
@@ -88899,8 +88898,8 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
88899
88898
  repository?: string | undefined;
88900
88899
  user?: string | undefined;
88901
88900
  branch?: string | undefined;
88902
- }>;
88903
- destinations: z.ZodObject<{
88901
+ }>>;
88902
+ destinations: z.ZodOptional<z.ZodObject<{
88904
88903
  s3: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
88905
88904
  azure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
88906
88905
  credentialId: z.ZodOptional<z.ZodString>;
@@ -89193,24 +89192,25 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
89193
89192
  } | null | undefined;
89194
89193
  } | null | undefined;
89195
89194
  webhookUrl?: string | null | undefined;
89196
- }>;
89197
- }, {
89198
- id: z.ZodString;
89199
- }>, "strip", z.ZodTypeAny, {
89200
- id: string;
89201
- name: string;
89202
- designSystemId: string;
89203
- exporterId: string;
89204
- isEnabled: boolean;
89205
- eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
89206
- gitQuery: {
89195
+ }>>;
89196
+ }, "strip", z.ZodTypeAny, {
89197
+ brandPersistentId?: string | undefined;
89198
+ name?: string | undefined;
89199
+ exporterId?: string | undefined;
89200
+ isEnabled?: boolean | undefined;
89201
+ eventType?: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None" | undefined;
89202
+ themePersistentId?: string | undefined;
89203
+ themePersistentIds?: string[] | undefined;
89204
+ exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
89205
+ destination?: "Documentation" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | undefined;
89206
+ gitQuery?: {
89207
89207
  organization?: string | undefined;
89208
89208
  project?: string | undefined;
89209
89209
  repository?: string | undefined;
89210
89210
  user?: string | undefined;
89211
89211
  branch?: string | undefined;
89212
- };
89213
- destinations: {
89212
+ } | undefined;
89213
+ destinations?: {
89214
89214
  s3?: {} | null | undefined;
89215
89215
  azure?: {
89216
89216
  branch: string;
@@ -89270,27 +89270,25 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
89270
89270
  } | undefined;
89271
89271
  } | null | undefined;
89272
89272
  webhookUrl?: string | null | undefined;
89273
- };
89273
+ } | undefined;
89274
+ }, {
89274
89275
  brandPersistentId?: string | undefined;
89276
+ name?: string | undefined;
89277
+ exporterId?: string | undefined;
89278
+ isEnabled?: boolean | undefined;
89279
+ eventType?: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None" | undefined;
89275
89280
  themePersistentId?: string | undefined;
89276
89281
  themePersistentIds?: string[] | undefined;
89277
89282
  exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
89278
89283
  destination?: "Documentation" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | undefined;
89279
- }, {
89280
- id: string;
89281
- name: string;
89282
- designSystemId: string;
89283
- exporterId: string;
89284
- isEnabled: boolean;
89285
- eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
89286
- gitQuery: {
89284
+ gitQuery?: {
89287
89285
  organization?: string | undefined;
89288
89286
  project?: string | undefined;
89289
89287
  repository?: string | undefined;
89290
89288
  user?: string | undefined;
89291
89289
  branch?: string | undefined;
89292
- };
89293
- destinations: {
89290
+ } | undefined;
89291
+ destinations?: {
89294
89292
  s3?: {} | null | undefined;
89295
89293
  azure?: {
89296
89294
  branch: string;
@@ -89350,12 +89348,7 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
89350
89348
  } | null | undefined;
89351
89349
  } | null | undefined;
89352
89350
  webhookUrl?: string | null | undefined;
89353
- };
89354
- brandPersistentId?: string | undefined;
89355
- themePersistentId?: string | undefined;
89356
- themePersistentIds?: string[] | undefined;
89357
- exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
89358
- destination?: "Documentation" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | undefined;
89351
+ } | undefined;
89359
89352
  }>;
89360
89353
  type DTOPipelineUpdateBody = z.infer<typeof DTOPipelineUpdateBody>;
89361
89354
  declare const DTOPipelineTriggerBody: z.ZodObject<{
@@ -90512,6 +90505,207 @@ declare class PipelinesEndpoint {
90512
90505
  } | undefined;
90513
90506
  };
90514
90507
  }>;
90508
+ update(designSystemId: string, pipelineId: string, payload: DTOPipelineUpdateBody): Promise<{
90509
+ pipeline: {
90510
+ id: string;
90511
+ name: string;
90512
+ workspaceId: string;
90513
+ designSystemId: string;
90514
+ exporterId: string;
90515
+ isEnabled: boolean;
90516
+ eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
90517
+ latestJobs: {
90518
+ status: "InProgress" | "Failed" | "Success" | "Timeout";
90519
+ id: string;
90520
+ createdAt: Date;
90521
+ designSystem: {
90522
+ id: string;
90523
+ meta: {
90524
+ name: string;
90525
+ description?: string | undefined;
90526
+ };
90527
+ };
90528
+ exporterId: string;
90529
+ destinations: {
90530
+ s3?: {} | undefined;
90531
+ azure?: {
90532
+ branch: string;
90533
+ organizationId: string;
90534
+ projectId: string;
90535
+ repositoryId: string;
90536
+ url?: string | undefined;
90537
+ userId?: number | undefined;
90538
+ credentialId?: string | undefined;
90539
+ relativePath?: string | undefined;
90540
+ purgeDirectory?: boolean | undefined;
90541
+ commitAuthorName?: string | undefined;
90542
+ commitAuthorEmail?: string | undefined;
90543
+ connectionId?: string | undefined;
90544
+ } | undefined;
90545
+ bitbucket?: {
90546
+ branch: string;
90547
+ workspaceSlug: string;
90548
+ projectKey: string;
90549
+ repoSlug: string;
90550
+ userId?: number | undefined;
90551
+ credentialId?: string | undefined;
90552
+ relativePath?: string | undefined;
90553
+ purgeDirectory?: boolean | undefined;
90554
+ commitAuthorName?: string | undefined;
90555
+ commitAuthorEmail?: string | undefined;
90556
+ connectionId?: string | undefined;
90557
+ } | undefined;
90558
+ github?: {
90559
+ url: string;
90560
+ branch: string;
90561
+ userId?: number | undefined;
90562
+ credentialId?: string | undefined;
90563
+ relativePath?: string | undefined;
90564
+ purgeDirectory?: boolean | undefined;
90565
+ commitAuthorName?: string | undefined;
90566
+ commitAuthorEmail?: string | undefined;
90567
+ connectionId?: string | undefined;
90568
+ } | undefined;
90569
+ gitlab?: {
90570
+ branch: string;
90571
+ projectId: string;
90572
+ url?: string | undefined;
90573
+ userId?: number | undefined;
90574
+ credentialId?: string | undefined;
90575
+ relativePath?: string | undefined;
90576
+ purgeDirectory?: boolean | undefined;
90577
+ commitAuthorName?: string | undefined;
90578
+ commitAuthorEmail?: string | undefined;
90579
+ connectionId?: string | undefined;
90580
+ } | undefined;
90581
+ documentation?: {
90582
+ environment: "Live" | "Preview";
90583
+ changes?: {
90584
+ pagePersistentIds: string[];
90585
+ groupPersistentIds: string[];
90586
+ } | undefined;
90587
+ } | undefined;
90588
+ webhookUrl?: string | undefined;
90589
+ };
90590
+ designSystemVersion: {
90591
+ id: string;
90592
+ meta: {
90593
+ name: string;
90594
+ description?: string | undefined;
90595
+ };
90596
+ version: string;
90597
+ isReadonly: boolean;
90598
+ };
90599
+ brandPersistentId?: string | undefined;
90600
+ themePersistentId?: string | undefined;
90601
+ themePersistentIds?: string[] | undefined;
90602
+ exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
90603
+ finishedAt?: Date | undefined;
90604
+ index?: number | undefined;
90605
+ estimatedExecutionTime?: number | undefined;
90606
+ createdBy?: {
90607
+ userId: string;
90608
+ userName: string;
90609
+ } | undefined;
90610
+ scheduleId?: string | undefined;
90611
+ result?: {
90612
+ s3?: {
90613
+ path: string;
90614
+ files: string[];
90615
+ bucket: string;
90616
+ url?: string | undefined;
90617
+ urlPrefix?: string | undefined;
90618
+ urls?: string[] | undefined;
90619
+ } | undefined;
90620
+ azure?: {
90621
+ pullRequestUrl: string;
90622
+ } | undefined;
90623
+ bitbucket?: {
90624
+ pullRequestUrl: string;
90625
+ } | undefined;
90626
+ github?: {
90627
+ pullRequestUrl: string;
90628
+ } | undefined;
90629
+ gitlab?: {
90630
+ pullRequestUrl: string;
90631
+ } | undefined;
90632
+ documentation?: {
90633
+ url: string;
90634
+ } | undefined;
90635
+ error?: string | undefined;
90636
+ logs?: {
90637
+ message: string;
90638
+ type: "error" | "info" | "user" | "success" | "warning";
90639
+ time: Date;
90640
+ id?: string | undefined;
90641
+ }[] | undefined;
90642
+ } | undefined;
90643
+ }[];
90644
+ brandPersistentId?: string | undefined;
90645
+ themePersistentId?: string | undefined;
90646
+ themePersistentIds?: string[] | undefined;
90647
+ exporterConfigurationProperties?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
90648
+ webhookUrl?: string | undefined;
90649
+ destinationSnDocs?: {
90650
+ environment: "Live" | "Preview";
90651
+ changes?: {
90652
+ pagePersistentIds: string[];
90653
+ groupPersistentIds: string[];
90654
+ } | undefined;
90655
+ } | undefined;
90656
+ destinationS3?: {} | undefined;
90657
+ destinationGithub?: {
90658
+ url: string;
90659
+ branch: string;
90660
+ userId?: number | undefined;
90661
+ credentialId?: string | undefined;
90662
+ relativePath?: string | undefined;
90663
+ purgeDirectory?: boolean | undefined;
90664
+ commitAuthorName?: string | undefined;
90665
+ commitAuthorEmail?: string | undefined;
90666
+ connectionId?: string | undefined;
90667
+ } | undefined;
90668
+ destinationAzure?: {
90669
+ branch: string;
90670
+ organizationId: string;
90671
+ projectId: string;
90672
+ repositoryId: string;
90673
+ url?: string | undefined;
90674
+ userId?: number | undefined;
90675
+ credentialId?: string | undefined;
90676
+ relativePath?: string | undefined;
90677
+ purgeDirectory?: boolean | undefined;
90678
+ commitAuthorName?: string | undefined;
90679
+ commitAuthorEmail?: string | undefined;
90680
+ connectionId?: string | undefined;
90681
+ } | undefined;
90682
+ destinationGitlab?: {
90683
+ branch: string;
90684
+ projectId: string;
90685
+ url?: string | undefined;
90686
+ userId?: number | undefined;
90687
+ credentialId?: string | undefined;
90688
+ relativePath?: string | undefined;
90689
+ purgeDirectory?: boolean | undefined;
90690
+ commitAuthorName?: string | undefined;
90691
+ commitAuthorEmail?: string | undefined;
90692
+ connectionId?: string | undefined;
90693
+ } | undefined;
90694
+ destinationBitbucket?: {
90695
+ branch: string;
90696
+ workspaceSlug: string;
90697
+ projectKey: string;
90698
+ repoSlug: string;
90699
+ userId?: number | undefined;
90700
+ credentialId?: string | undefined;
90701
+ relativePath?: string | undefined;
90702
+ purgeDirectory?: boolean | undefined;
90703
+ commitAuthorName?: string | undefined;
90704
+ commitAuthorEmail?: string | undefined;
90705
+ connectionId?: string | undefined;
90706
+ } | undefined;
90707
+ };
90708
+ }>;
90515
90709
  trigger(workspaceId: string, pipelineId: string, payload: DTOPipelineTriggerBody): Promise<{
90516
90710
  job: {
90517
90711
  status: "InProgress" | "Failed" | "Success" | "Timeout";