@terrantula/sdk 0.3.0 → 0.5.0

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/local.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as SchemaFn, S as SnapshotOp, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminMetricsOverview } from './audit-export-DweJuhQT.mjs';
1
+ import { a as SchemaFn, S as SnapshotOp, A as AuditExportConfigResponse, b as TestConnectionResponse, c as AuditExportRunResponse, E as ExportCatalogResult, d as AdminAuditListResponse, e as AdminOrgListResponse, f as AdminOrgDetail, g as AdminSuspendResponse, h as AdminMetricsOverview, i as AdminGitHubInstallationListResponse } from './audit-export-B3I2Y03n.mjs';
2
2
  import * as _terrantula_types from '@terrantula/types';
3
3
  import * as hono_utils_types from 'hono/utils/types';
4
4
  import * as zod from 'zod';
@@ -264,11 +264,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
264
264
  name: string;
265
265
  slug: string;
266
266
  isDemo: boolean;
267
- githubRepos: {
268
- installationId: string;
269
- owner: string;
270
- name: string;
271
- }[];
272
267
  metadata: {
273
268
  [x: string]: hono_utils_types.JSONValue;
274
269
  };
@@ -303,11 +298,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
303
298
  };
304
299
  orgId: string;
305
300
  isDemo: boolean;
306
- githubRepos: {
307
- installationId: string;
308
- owner: string;
309
- name: string;
310
- }[];
311
301
  lastDriftRunAt: string | null;
312
302
  }>;
313
303
  get: SchemaFn<zod.ZodObject<{
@@ -325,11 +315,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
325
315
  name: string;
326
316
  slug: string;
327
317
  isDemo: boolean;
328
- githubRepos: {
329
- installationId: string;
330
- owner: string;
331
- name: string;
332
- }[];
333
318
  metadata: {
334
319
  [x: string]: hono_utils_types.JSONValue;
335
320
  };
@@ -387,11 +372,6 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
387
372
  name: string;
388
373
  slug: string;
389
374
  isDemo: boolean;
390
- githubRepos: {
391
- installationId: string;
392
- owner: string;
393
- name: string;
394
- }[];
395
375
  metadata: {
396
376
  [x: string]: hono_utils_types.JSONValue;
397
377
  };
@@ -612,67 +592,45 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
612
592
  }>, unknown>;
613
593
  };
614
594
  projects: {
595
+ list: SchemaFn<zod.ZodObject<{
596
+ orgId: zod.ZodString;
597
+ projectId: zod.ZodString;
598
+ }, "strip", zod.ZodTypeAny, {
599
+ orgId: string;
600
+ projectId: string;
601
+ }, {
602
+ orgId: string;
603
+ projectId: string;
604
+ }>, unknown>;
615
605
  linkRepo: SchemaFn<zod.ZodObject<{
616
606
  orgId: zod.ZodString;
617
607
  projectId: zod.ZodString;
618
608
  installationId: zod.ZodString;
619
- owner: zod.ZodString;
620
- name: zod.ZodString;
609
+ repoFullName: zod.ZodString;
621
610
  }, "strip", zod.ZodTypeAny, {
622
- name: string;
623
- owner: string;
624
611
  orgId: string;
625
612
  projectId: string;
626
613
  installationId: string;
614
+ repoFullName: string;
627
615
  }, {
628
- name: string;
629
- owner: string;
630
616
  orgId: string;
631
617
  projectId: string;
632
618
  installationId: string;
633
- }>, {
634
- error: string;
635
- } | {
636
- error: string;
637
- } | {
638
- error: string;
639
- } | {
640
- error: string;
641
- } | {
642
- githubRepos: {
643
- installationId: string;
644
- owner: string;
645
- name: string;
646
- }[];
647
- }>;
619
+ repoFullName: string;
620
+ }>, unknown>;
648
621
  unlinkRepo: SchemaFn<zod.ZodObject<{
649
622
  orgId: zod.ZodString;
650
623
  projectId: zod.ZodString;
651
- owner: zod.ZodString;
652
- name: zod.ZodString;
624
+ id: zod.ZodString;
653
625
  }, "strip", zod.ZodTypeAny, {
654
- name: string;
655
- owner: string;
626
+ id: string;
656
627
  orgId: string;
657
628
  projectId: string;
658
629
  }, {
659
- name: string;
660
- owner: string;
630
+ id: string;
661
631
  orgId: string;
662
632
  projectId: string;
663
- }>, {
664
- error: string;
665
- } | {
666
- error: string;
667
- } | {
668
- error: string;
669
- } | {
670
- githubRepos: {
671
- installationId: string;
672
- owner: string;
673
- name: string;
674
- }[];
675
- }>;
633
+ }>, unknown>;
676
634
  };
677
635
  };
678
636
  environments: {
@@ -2527,8 +2485,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2527
2485
  type: "pull-request";
2528
2486
  title: string;
2529
2487
  auth: {
2530
- token: string;
2531
2488
  type: "token";
2489
+ token?: string | undefined;
2532
2490
  };
2533
2491
  repo: string;
2534
2492
  head: string;
@@ -2562,6 +2520,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2562
2520
  };
2563
2521
  workflow: string;
2564
2522
  eventType: string;
2523
+ repo?: string | undefined;
2565
2524
  } | undefined;
2566
2525
  } | {
2567
2526
  type: "terraform-cloud";
@@ -2725,6 +2684,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
2725
2684
  labels?: string[] | undefined;
2726
2685
  reviewers?: string[] | undefined;
2727
2686
  teamReviewers?: string[] | undefined;
2687
+ postMergeDispatch?: {
2688
+ repo?: string | undefined;
2689
+ workflow?: string | undefined;
2690
+ inputs?: {
2691
+ [x: string]: string | number | boolean;
2692
+ } | undefined;
2693
+ } | undefined;
2728
2694
  } | {
2729
2695
  type: "terraform-cloud";
2730
2696
  message?: string | undefined;
@@ -3017,8 +2983,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3017
2983
  type: "pull-request";
3018
2984
  title: string;
3019
2985
  auth: {
3020
- token: string;
3021
2986
  type: "token";
2987
+ token?: string | undefined;
3022
2988
  };
3023
2989
  repo: string;
3024
2990
  head: string;
@@ -3052,6 +3018,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3052
3018
  };
3053
3019
  workflow: string;
3054
3020
  eventType: string;
3021
+ repo?: string | undefined;
3055
3022
  } | undefined;
3056
3023
  } | {
3057
3024
  type: "terraform-cloud";
@@ -3215,6 +3182,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3215
3182
  labels?: string[] | undefined;
3216
3183
  reviewers?: string[] | undefined;
3217
3184
  teamReviewers?: string[] | undefined;
3185
+ postMergeDispatch?: {
3186
+ repo?: string | undefined;
3187
+ workflow?: string | undefined;
3188
+ inputs?: {
3189
+ [x: string]: string | number | boolean;
3190
+ } | undefined;
3191
+ } | undefined;
3218
3192
  } | {
3219
3193
  type: "terraform-cloud";
3220
3194
  message?: string | undefined;
@@ -3933,13 +3907,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
3933
3907
  repo: zod.ZodString;
3934
3908
  auth: zod.ZodObject<{
3935
3909
  type: zod.ZodLiteral<"token">;
3936
- token: zod.ZodString;
3910
+ token: zod.ZodOptional<zod.ZodString>;
3937
3911
  }, "strip", zod.ZodTypeAny, {
3938
- token: string;
3939
3912
  type: "token";
3913
+ token?: string | undefined;
3940
3914
  }, {
3941
- token: string;
3942
3915
  type: "token";
3916
+ token?: string | undefined;
3943
3917
  }>;
3944
3918
  title: zod.ZodString;
3945
3919
  body: zod.ZodOptional<zod.ZodString>;
@@ -4062,22 +4036,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4062
4036
  postMergeDispatch: zod.ZodOptional<zod.ZodObject<{
4063
4037
  workflow: zod.ZodString;
4064
4038
  eventType: zod.ZodString;
4039
+ repo: zod.ZodOptional<zod.ZodString>;
4065
4040
  payload: zod.ZodRecord<zod.ZodString, zod.ZodString>;
4066
4041
  }, "strip", zod.ZodTypeAny, {
4067
4042
  payload: Record<string, string>;
4068
4043
  workflow: string;
4069
4044
  eventType: string;
4045
+ repo?: string | undefined;
4070
4046
  }, {
4071
4047
  payload: Record<string, string>;
4072
4048
  workflow: string;
4073
4049
  eventType: string;
4050
+ repo?: string | undefined;
4074
4051
  }>>;
4075
4052
  }, "strip", zod.ZodTypeAny, {
4076
4053
  type: "pull-request";
4077
4054
  title: string;
4078
4055
  auth: {
4079
- token: string;
4080
4056
  type: "token";
4057
+ token?: string | undefined;
4081
4058
  };
4082
4059
  repo: string;
4083
4060
  head: string;
@@ -4109,13 +4086,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4109
4086
  payload: Record<string, string>;
4110
4087
  workflow: string;
4111
4088
  eventType: string;
4089
+ repo?: string | undefined;
4112
4090
  } | undefined;
4113
4091
  }, {
4114
4092
  type: "pull-request";
4115
4093
  title: string;
4116
4094
  auth: {
4117
- token: string;
4118
4095
  type: "token";
4096
+ token?: string | undefined;
4119
4097
  };
4120
4098
  repo: string;
4121
4099
  head: string;
@@ -4147,6 +4125,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4147
4125
  payload: Record<string, string>;
4148
4126
  workflow: string;
4149
4127
  eventType: string;
4128
+ repo?: string | undefined;
4150
4129
  } | undefined;
4151
4130
  }>, zod.ZodObject<{
4152
4131
  type: zod.ZodLiteral<"terraform-cloud">;
@@ -4657,8 +4636,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4657
4636
  type: "pull-request";
4658
4637
  title: string;
4659
4638
  auth: {
4660
- token: string;
4661
4639
  type: "token";
4640
+ token?: string | undefined;
4662
4641
  };
4663
4642
  repo: string;
4664
4643
  head: string;
@@ -4690,6 +4669,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4690
4669
  payload: Record<string, string>;
4691
4670
  workflow: string;
4692
4671
  eventType: string;
4672
+ repo?: string | undefined;
4693
4673
  } | undefined;
4694
4674
  } | {
4695
4675
  type: "terraform-cloud";
@@ -4810,8 +4790,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4810
4790
  type: "pull-request";
4811
4791
  title: string;
4812
4792
  auth: {
4813
- token: string;
4814
4793
  type: "token";
4794
+ token?: string | undefined;
4815
4795
  };
4816
4796
  repo: string;
4817
4797
  head: string;
@@ -4843,6 +4823,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
4843
4823
  payload: Record<string, string>;
4844
4824
  workflow: string;
4845
4825
  eventType: string;
4826
+ repo?: string | undefined;
4846
4827
  } | undefined;
4847
4828
  } | {
4848
4829
  type: "terraform-cloud";
@@ -5183,6 +5164,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5183
5164
  reviewers: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
5184
5165
  teamReviewers: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
5185
5166
  webhookSecret: zod.ZodOptional<zod.ZodString>;
5167
+ postMergeDispatch: zod.ZodOptional<zod.ZodObject<{
5168
+ repo: zod.ZodOptional<zod.ZodString>;
5169
+ workflow: zod.ZodOptional<zod.ZodString>;
5170
+ inputs: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>>>;
5171
+ }, "strip", zod.ZodTypeAny, {
5172
+ repo?: string | undefined;
5173
+ workflow?: string | undefined;
5174
+ inputs?: Record<string, string | number | boolean> | undefined;
5175
+ }, {
5176
+ repo?: string | undefined;
5177
+ workflow?: string | undefined;
5178
+ inputs?: Record<string, string | number | boolean> | undefined;
5179
+ }>>;
5186
5180
  }, "strip", zod.ZodTypeAny, {
5187
5181
  type: "pull-request";
5188
5182
  webhookSecret?: string | undefined;
@@ -5216,6 +5210,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5216
5210
  labels?: string[] | undefined;
5217
5211
  reviewers?: string[] | undefined;
5218
5212
  teamReviewers?: string[] | undefined;
5213
+ postMergeDispatch?: {
5214
+ repo?: string | undefined;
5215
+ workflow?: string | undefined;
5216
+ inputs?: Record<string, string | number | boolean> | undefined;
5217
+ } | undefined;
5219
5218
  }, {
5220
5219
  type: "pull-request";
5221
5220
  webhookSecret?: string | undefined;
@@ -5249,6 +5248,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5249
5248
  labels?: string[] | undefined;
5250
5249
  reviewers?: string[] | undefined;
5251
5250
  teamReviewers?: string[] | undefined;
5251
+ postMergeDispatch?: {
5252
+ repo?: string | undefined;
5253
+ workflow?: string | undefined;
5254
+ inputs?: Record<string, string | number | boolean> | undefined;
5255
+ } | undefined;
5252
5256
  }>, zod.ZodObject<{
5253
5257
  type: zod.ZodLiteral<"terraform-cloud">;
5254
5258
  organization: zod.ZodOptional<zod.ZodString>;
@@ -5895,8 +5899,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5895
5899
  type: "pull-request";
5896
5900
  title: string;
5897
5901
  auth: {
5898
- token: string;
5899
5902
  type: "token";
5903
+ token?: string | undefined;
5900
5904
  };
5901
5905
  repo: string;
5902
5906
  head: string;
@@ -5928,6 +5932,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
5928
5932
  payload: Record<string, string>;
5929
5933
  workflow: string;
5930
5934
  eventType: string;
5935
+ repo?: string | undefined;
5931
5936
  } | undefined;
5932
5937
  } | {
5933
5938
  type: "terraform-cloud";
@@ -6080,6 +6085,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6080
6085
  labels?: string[] | undefined;
6081
6086
  reviewers?: string[] | undefined;
6082
6087
  teamReviewers?: string[] | undefined;
6088
+ postMergeDispatch?: {
6089
+ repo?: string | undefined;
6090
+ workflow?: string | undefined;
6091
+ inputs?: Record<string, string | number | boolean> | undefined;
6092
+ } | undefined;
6083
6093
  } | {
6084
6094
  type: "terraform-cloud";
6085
6095
  message?: string | undefined;
@@ -6310,8 +6320,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6310
6320
  type: "pull-request";
6311
6321
  title: string;
6312
6322
  auth: {
6313
- token: string;
6314
6323
  type: "token";
6324
+ token?: string | undefined;
6315
6325
  };
6316
6326
  repo: string;
6317
6327
  head: string;
@@ -6343,6 +6353,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6343
6353
  payload: Record<string, string>;
6344
6354
  workflow: string;
6345
6355
  eventType: string;
6356
+ repo?: string | undefined;
6346
6357
  } | undefined;
6347
6358
  } | {
6348
6359
  type: "terraform-cloud";
@@ -6517,6 +6528,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6517
6528
  labels?: string[] | undefined;
6518
6529
  reviewers?: string[] | undefined;
6519
6530
  teamReviewers?: string[] | undefined;
6531
+ postMergeDispatch?: {
6532
+ repo?: string | undefined;
6533
+ workflow?: string | undefined;
6534
+ inputs?: Record<string, string | number | boolean> | undefined;
6535
+ } | undefined;
6520
6536
  } | {
6521
6537
  type: "terraform-cloud";
6522
6538
  message?: string | undefined;
@@ -6792,8 +6808,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6792
6808
  type: "pull-request";
6793
6809
  title: string;
6794
6810
  auth: {
6795
- token: string;
6796
6811
  type: "token";
6812
+ token?: string | undefined;
6797
6813
  };
6798
6814
  repo: string;
6799
6815
  head: string;
@@ -6827,6 +6843,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6827
6843
  };
6828
6844
  workflow: string;
6829
6845
  eventType: string;
6846
+ repo?: string | undefined;
6830
6847
  } | undefined;
6831
6848
  } | {
6832
6849
  type: "terraform-cloud";
@@ -6990,6 +7007,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
6990
7007
  labels?: string[] | undefined;
6991
7008
  reviewers?: string[] | undefined;
6992
7009
  teamReviewers?: string[] | undefined;
7010
+ postMergeDispatch?: {
7011
+ repo?: string | undefined;
7012
+ workflow?: string | undefined;
7013
+ inputs?: {
7014
+ [x: string]: string | number | boolean;
7015
+ } | undefined;
7016
+ } | undefined;
6993
7017
  } | {
6994
7018
  type: "terraform-cloud";
6995
7019
  message?: string | undefined;
@@ -7708,13 +7732,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7708
7732
  repo: zod.ZodString;
7709
7733
  auth: zod.ZodObject<{
7710
7734
  type: zod.ZodLiteral<"token">;
7711
- token: zod.ZodString;
7735
+ token: zod.ZodOptional<zod.ZodString>;
7712
7736
  }, "strip", zod.ZodTypeAny, {
7713
- token: string;
7714
7737
  type: "token";
7738
+ token?: string | undefined;
7715
7739
  }, {
7716
- token: string;
7717
7740
  type: "token";
7741
+ token?: string | undefined;
7718
7742
  }>;
7719
7743
  title: zod.ZodString;
7720
7744
  body: zod.ZodOptional<zod.ZodString>;
@@ -7837,22 +7861,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7837
7861
  postMergeDispatch: zod.ZodOptional<zod.ZodObject<{
7838
7862
  workflow: zod.ZodString;
7839
7863
  eventType: zod.ZodString;
7864
+ repo: zod.ZodOptional<zod.ZodString>;
7840
7865
  payload: zod.ZodRecord<zod.ZodString, zod.ZodString>;
7841
7866
  }, "strip", zod.ZodTypeAny, {
7842
7867
  payload: Record<string, string>;
7843
7868
  workflow: string;
7844
7869
  eventType: string;
7870
+ repo?: string | undefined;
7845
7871
  }, {
7846
7872
  payload: Record<string, string>;
7847
7873
  workflow: string;
7848
7874
  eventType: string;
7875
+ repo?: string | undefined;
7849
7876
  }>>;
7850
7877
  }, "strip", zod.ZodTypeAny, {
7851
7878
  type: "pull-request";
7852
7879
  title: string;
7853
7880
  auth: {
7854
- token: string;
7855
7881
  type: "token";
7882
+ token?: string | undefined;
7856
7883
  };
7857
7884
  repo: string;
7858
7885
  head: string;
@@ -7884,13 +7911,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7884
7911
  payload: Record<string, string>;
7885
7912
  workflow: string;
7886
7913
  eventType: string;
7914
+ repo?: string | undefined;
7887
7915
  } | undefined;
7888
7916
  }, {
7889
7917
  type: "pull-request";
7890
7918
  title: string;
7891
7919
  auth: {
7892
- token: string;
7893
7920
  type: "token";
7921
+ token?: string | undefined;
7894
7922
  };
7895
7923
  repo: string;
7896
7924
  head: string;
@@ -7922,6 +7950,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
7922
7950
  payload: Record<string, string>;
7923
7951
  workflow: string;
7924
7952
  eventType: string;
7953
+ repo?: string | undefined;
7925
7954
  } | undefined;
7926
7955
  }>, zod.ZodObject<{
7927
7956
  type: zod.ZodLiteral<"terraform-cloud">;
@@ -8432,8 +8461,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8432
8461
  type: "pull-request";
8433
8462
  title: string;
8434
8463
  auth: {
8435
- token: string;
8436
8464
  type: "token";
8465
+ token?: string | undefined;
8437
8466
  };
8438
8467
  repo: string;
8439
8468
  head: string;
@@ -8465,6 +8494,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8465
8494
  payload: Record<string, string>;
8466
8495
  workflow: string;
8467
8496
  eventType: string;
8497
+ repo?: string | undefined;
8468
8498
  } | undefined;
8469
8499
  } | {
8470
8500
  type: "terraform-cloud";
@@ -8585,8 +8615,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8585
8615
  type: "pull-request";
8586
8616
  title: string;
8587
8617
  auth: {
8588
- token: string;
8589
8618
  type: "token";
8619
+ token?: string | undefined;
8590
8620
  };
8591
8621
  repo: string;
8592
8622
  head: string;
@@ -8618,6 +8648,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8618
8648
  payload: Record<string, string>;
8619
8649
  workflow: string;
8620
8650
  eventType: string;
8651
+ repo?: string | undefined;
8621
8652
  } | undefined;
8622
8653
  } | {
8623
8654
  type: "terraform-cloud";
@@ -8958,6 +8989,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8958
8989
  reviewers: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
8959
8990
  teamReviewers: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
8960
8991
  webhookSecret: zod.ZodOptional<zod.ZodString>;
8992
+ postMergeDispatch: zod.ZodOptional<zod.ZodObject<{
8993
+ repo: zod.ZodOptional<zod.ZodString>;
8994
+ workflow: zod.ZodOptional<zod.ZodString>;
8995
+ inputs: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>>>;
8996
+ }, "strip", zod.ZodTypeAny, {
8997
+ repo?: string | undefined;
8998
+ workflow?: string | undefined;
8999
+ inputs?: Record<string, string | number | boolean> | undefined;
9000
+ }, {
9001
+ repo?: string | undefined;
9002
+ workflow?: string | undefined;
9003
+ inputs?: Record<string, string | number | boolean> | undefined;
9004
+ }>>;
8961
9005
  }, "strip", zod.ZodTypeAny, {
8962
9006
  type: "pull-request";
8963
9007
  webhookSecret?: string | undefined;
@@ -8991,6 +9035,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
8991
9035
  labels?: string[] | undefined;
8992
9036
  reviewers?: string[] | undefined;
8993
9037
  teamReviewers?: string[] | undefined;
9038
+ postMergeDispatch?: {
9039
+ repo?: string | undefined;
9040
+ workflow?: string | undefined;
9041
+ inputs?: Record<string, string | number | boolean> | undefined;
9042
+ } | undefined;
8994
9043
  }, {
8995
9044
  type: "pull-request";
8996
9045
  webhookSecret?: string | undefined;
@@ -9024,6 +9073,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9024
9073
  labels?: string[] | undefined;
9025
9074
  reviewers?: string[] | undefined;
9026
9075
  teamReviewers?: string[] | undefined;
9076
+ postMergeDispatch?: {
9077
+ repo?: string | undefined;
9078
+ workflow?: string | undefined;
9079
+ inputs?: Record<string, string | number | boolean> | undefined;
9080
+ } | undefined;
9027
9081
  }>, zod.ZodObject<{
9028
9082
  type: zod.ZodLiteral<"terraform-cloud">;
9029
9083
  organization: zod.ZodOptional<zod.ZodString>;
@@ -9670,8 +9724,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9670
9724
  type: "pull-request";
9671
9725
  title: string;
9672
9726
  auth: {
9673
- token: string;
9674
9727
  type: "token";
9728
+ token?: string | undefined;
9675
9729
  };
9676
9730
  repo: string;
9677
9731
  head: string;
@@ -9703,6 +9757,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9703
9757
  payload: Record<string, string>;
9704
9758
  workflow: string;
9705
9759
  eventType: string;
9760
+ repo?: string | undefined;
9706
9761
  } | undefined;
9707
9762
  } | {
9708
9763
  type: "terraform-cloud";
@@ -9855,6 +9910,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
9855
9910
  labels?: string[] | undefined;
9856
9911
  reviewers?: string[] | undefined;
9857
9912
  teamReviewers?: string[] | undefined;
9913
+ postMergeDispatch?: {
9914
+ repo?: string | undefined;
9915
+ workflow?: string | undefined;
9916
+ inputs?: Record<string, string | number | boolean> | undefined;
9917
+ } | undefined;
9858
9918
  } | {
9859
9919
  type: "terraform-cloud";
9860
9920
  message?: string | undefined;
@@ -10085,8 +10145,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10085
10145
  type: "pull-request";
10086
10146
  title: string;
10087
10147
  auth: {
10088
- token: string;
10089
10148
  type: "token";
10149
+ token?: string | undefined;
10090
10150
  };
10091
10151
  repo: string;
10092
10152
  head: string;
@@ -10118,6 +10178,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10118
10178
  payload: Record<string, string>;
10119
10179
  workflow: string;
10120
10180
  eventType: string;
10181
+ repo?: string | undefined;
10121
10182
  } | undefined;
10122
10183
  } | {
10123
10184
  type: "terraform-cloud";
@@ -10292,6 +10353,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10292
10353
  labels?: string[] | undefined;
10293
10354
  reviewers?: string[] | undefined;
10294
10355
  teamReviewers?: string[] | undefined;
10356
+ postMergeDispatch?: {
10357
+ repo?: string | undefined;
10358
+ workflow?: string | undefined;
10359
+ inputs?: Record<string, string | number | boolean> | undefined;
10360
+ } | undefined;
10295
10361
  } | {
10296
10362
  type: "terraform-cloud";
10297
10363
  message?: string | undefined;
@@ -10567,8 +10633,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10567
10633
  type: "pull-request";
10568
10634
  title: string;
10569
10635
  auth: {
10570
- token: string;
10571
10636
  type: "token";
10637
+ token?: string | undefined;
10572
10638
  };
10573
10639
  repo: string;
10574
10640
  head: string;
@@ -10602,6 +10668,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10602
10668
  };
10603
10669
  workflow: string;
10604
10670
  eventType: string;
10671
+ repo?: string | undefined;
10605
10672
  } | undefined;
10606
10673
  } | {
10607
10674
  type: "terraform-cloud";
@@ -10765,6 +10832,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
10765
10832
  labels?: string[] | undefined;
10766
10833
  reviewers?: string[] | undefined;
10767
10834
  teamReviewers?: string[] | undefined;
10835
+ postMergeDispatch?: {
10836
+ repo?: string | undefined;
10837
+ workflow?: string | undefined;
10838
+ inputs?: {
10839
+ [x: string]: string | number | boolean;
10840
+ } | undefined;
10841
+ } | undefined;
10768
10842
  } | {
10769
10843
  type: "terraform-cloud";
10770
10844
  message?: string | undefined;
@@ -12087,13 +12161,13 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12087
12161
  repo: zod.ZodString;
12088
12162
  auth: zod.ZodObject<{
12089
12163
  type: zod.ZodLiteral<"token">;
12090
- token: zod.ZodString;
12164
+ token: zod.ZodOptional<zod.ZodString>;
12091
12165
  }, "strip", zod.ZodTypeAny, {
12092
- token: string;
12093
12166
  type: "token";
12167
+ token?: string | undefined;
12094
12168
  }, {
12095
- token: string;
12096
12169
  type: "token";
12170
+ token?: string | undefined;
12097
12171
  }>;
12098
12172
  title: zod.ZodString;
12099
12173
  body: zod.ZodOptional<zod.ZodString>;
@@ -12216,22 +12290,25 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12216
12290
  postMergeDispatch: zod.ZodOptional<zod.ZodObject<{
12217
12291
  workflow: zod.ZodString;
12218
12292
  eventType: zod.ZodString;
12293
+ repo: zod.ZodOptional<zod.ZodString>;
12219
12294
  payload: zod.ZodRecord<zod.ZodString, zod.ZodString>;
12220
12295
  }, "strip", zod.ZodTypeAny, {
12221
12296
  payload: Record<string, string>;
12222
12297
  workflow: string;
12223
12298
  eventType: string;
12299
+ repo?: string | undefined;
12224
12300
  }, {
12225
12301
  payload: Record<string, string>;
12226
12302
  workflow: string;
12227
12303
  eventType: string;
12304
+ repo?: string | undefined;
12228
12305
  }>>;
12229
12306
  }, "strip", zod.ZodTypeAny, {
12230
12307
  type: "pull-request";
12231
12308
  title: string;
12232
12309
  auth: {
12233
- token: string;
12234
12310
  type: "token";
12311
+ token?: string | undefined;
12235
12312
  };
12236
12313
  repo: string;
12237
12314
  head: string;
@@ -12263,13 +12340,14 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12263
12340
  payload: Record<string, string>;
12264
12341
  workflow: string;
12265
12342
  eventType: string;
12343
+ repo?: string | undefined;
12266
12344
  } | undefined;
12267
12345
  }, {
12268
12346
  type: "pull-request";
12269
12347
  title: string;
12270
12348
  auth: {
12271
- token: string;
12272
12349
  type: "token";
12350
+ token?: string | undefined;
12273
12351
  };
12274
12352
  repo: string;
12275
12353
  head: string;
@@ -12301,6 +12379,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12301
12379
  payload: Record<string, string>;
12302
12380
  workflow: string;
12303
12381
  eventType: string;
12382
+ repo?: string | undefined;
12304
12383
  } | undefined;
12305
12384
  }>, zod.ZodObject<{
12306
12385
  type: zod.ZodLiteral<"terraform-cloud">;
@@ -12811,8 +12890,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12811
12890
  type: "pull-request";
12812
12891
  title: string;
12813
12892
  auth: {
12814
- token: string;
12815
12893
  type: "token";
12894
+ token?: string | undefined;
12816
12895
  };
12817
12896
  repo: string;
12818
12897
  head: string;
@@ -12844,6 +12923,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12844
12923
  payload: Record<string, string>;
12845
12924
  workflow: string;
12846
12925
  eventType: string;
12926
+ repo?: string | undefined;
12847
12927
  } | undefined;
12848
12928
  } | {
12849
12929
  type: "terraform-cloud";
@@ -12964,8 +13044,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12964
13044
  type: "pull-request";
12965
13045
  title: string;
12966
13046
  auth: {
12967
- token: string;
12968
13047
  type: "token";
13048
+ token?: string | undefined;
12969
13049
  };
12970
13050
  repo: string;
12971
13051
  head: string;
@@ -12997,6 +13077,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
12997
13077
  payload: Record<string, string>;
12998
13078
  workflow: string;
12999
13079
  eventType: string;
13080
+ repo?: string | undefined;
13000
13081
  } | undefined;
13001
13082
  } | {
13002
13083
  type: "terraform-cloud";
@@ -13337,6 +13418,19 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13337
13418
  reviewers: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
13338
13419
  teamReviewers: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
13339
13420
  webhookSecret: zod.ZodOptional<zod.ZodString>;
13421
+ postMergeDispatch: zod.ZodOptional<zod.ZodObject<{
13422
+ repo: zod.ZodOptional<zod.ZodString>;
13423
+ workflow: zod.ZodOptional<zod.ZodString>;
13424
+ inputs: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>>>;
13425
+ }, "strip", zod.ZodTypeAny, {
13426
+ repo?: string | undefined;
13427
+ workflow?: string | undefined;
13428
+ inputs?: Record<string, string | number | boolean> | undefined;
13429
+ }, {
13430
+ repo?: string | undefined;
13431
+ workflow?: string | undefined;
13432
+ inputs?: Record<string, string | number | boolean> | undefined;
13433
+ }>>;
13340
13434
  }, "strip", zod.ZodTypeAny, {
13341
13435
  type: "pull-request";
13342
13436
  webhookSecret?: string | undefined;
@@ -13370,6 +13464,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13370
13464
  labels?: string[] | undefined;
13371
13465
  reviewers?: string[] | undefined;
13372
13466
  teamReviewers?: string[] | undefined;
13467
+ postMergeDispatch?: {
13468
+ repo?: string | undefined;
13469
+ workflow?: string | undefined;
13470
+ inputs?: Record<string, string | number | boolean> | undefined;
13471
+ } | undefined;
13373
13472
  }, {
13374
13473
  type: "pull-request";
13375
13474
  webhookSecret?: string | undefined;
@@ -13403,6 +13502,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
13403
13502
  labels?: string[] | undefined;
13404
13503
  reviewers?: string[] | undefined;
13405
13504
  teamReviewers?: string[] | undefined;
13505
+ postMergeDispatch?: {
13506
+ repo?: string | undefined;
13507
+ workflow?: string | undefined;
13508
+ inputs?: Record<string, string | number | boolean> | undefined;
13509
+ } | undefined;
13406
13510
  }>, zod.ZodObject<{
13407
13511
  type: zod.ZodLiteral<"terraform-cloud">;
13408
13512
  organization: zod.ZodOptional<zod.ZodString>;
@@ -14046,8 +14150,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14046
14150
  type: "pull-request";
14047
14151
  title: string;
14048
14152
  auth: {
14049
- token: string;
14050
14153
  type: "token";
14154
+ token?: string | undefined;
14051
14155
  };
14052
14156
  repo: string;
14053
14157
  head: string;
@@ -14079,6 +14183,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14079
14183
  payload: Record<string, string>;
14080
14184
  workflow: string;
14081
14185
  eventType: string;
14186
+ repo?: string | undefined;
14082
14187
  } | undefined;
14083
14188
  } | {
14084
14189
  type: "terraform-cloud";
@@ -14231,6 +14336,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14231
14336
  labels?: string[] | undefined;
14232
14337
  reviewers?: string[] | undefined;
14233
14338
  teamReviewers?: string[] | undefined;
14339
+ postMergeDispatch?: {
14340
+ repo?: string | undefined;
14341
+ workflow?: string | undefined;
14342
+ inputs?: Record<string, string | number | boolean> | undefined;
14343
+ } | undefined;
14234
14344
  } | {
14235
14345
  type: "terraform-cloud";
14236
14346
  message?: string | undefined;
@@ -14460,8 +14570,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14460
14570
  type: "pull-request";
14461
14571
  title: string;
14462
14572
  auth: {
14463
- token: string;
14464
14573
  type: "token";
14574
+ token?: string | undefined;
14465
14575
  };
14466
14576
  repo: string;
14467
14577
  head: string;
@@ -14493,6 +14603,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14493
14603
  payload: Record<string, string>;
14494
14604
  workflow: string;
14495
14605
  eventType: string;
14606
+ repo?: string | undefined;
14496
14607
  } | undefined;
14497
14608
  } | {
14498
14609
  type: "terraform-cloud";
@@ -14667,6 +14778,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14667
14778
  labels?: string[] | undefined;
14668
14779
  reviewers?: string[] | undefined;
14669
14780
  teamReviewers?: string[] | undefined;
14781
+ postMergeDispatch?: {
14782
+ repo?: string | undefined;
14783
+ workflow?: string | undefined;
14784
+ inputs?: Record<string, string | number | boolean> | undefined;
14785
+ } | undefined;
14670
14786
  } | {
14671
14787
  type: "terraform-cloud";
14672
14788
  message?: string | undefined;
@@ -14994,8 +15110,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
14994
15110
  type: "pull-request";
14995
15111
  title: string;
14996
15112
  auth: {
14997
- token: string;
14998
15113
  type: "token";
15114
+ token?: string | undefined;
14999
15115
  };
15000
15116
  repo: string;
15001
15117
  head: string;
@@ -15027,6 +15143,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15027
15143
  payload: Record<string, string>;
15028
15144
  workflow: string;
15029
15145
  eventType: string;
15146
+ repo?: string | undefined;
15030
15147
  } | undefined;
15031
15148
  } | {
15032
15149
  type: "terraform-cloud";
@@ -15179,6 +15296,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15179
15296
  labels?: string[] | undefined;
15180
15297
  reviewers?: string[] | undefined;
15181
15298
  teamReviewers?: string[] | undefined;
15299
+ postMergeDispatch?: {
15300
+ repo?: string | undefined;
15301
+ workflow?: string | undefined;
15302
+ inputs?: Record<string, string | number | boolean> | undefined;
15303
+ } | undefined;
15182
15304
  } | {
15183
15305
  type: "terraform-cloud";
15184
15306
  message?: string | undefined;
@@ -15513,8 +15635,8 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15513
15635
  type: "pull-request";
15514
15636
  title: string;
15515
15637
  auth: {
15516
- token: string;
15517
15638
  type: "token";
15639
+ token?: string | undefined;
15518
15640
  };
15519
15641
  repo: string;
15520
15642
  head: string;
@@ -15546,6 +15668,7 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15546
15668
  payload: Record<string, string>;
15547
15669
  workflow: string;
15548
15670
  eventType: string;
15671
+ repo?: string | undefined;
15549
15672
  } | undefined;
15550
15673
  } | {
15551
15674
  type: "terraform-cloud";
@@ -15720,6 +15843,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
15720
15843
  labels?: string[] | undefined;
15721
15844
  reviewers?: string[] | undefined;
15722
15845
  teamReviewers?: string[] | undefined;
15846
+ postMergeDispatch?: {
15847
+ repo?: string | undefined;
15848
+ workflow?: string | undefined;
15849
+ inputs?: Record<string, string | number | boolean> | undefined;
15850
+ } | undefined;
15723
15851
  } | {
15724
15852
  type: "terraform-cloud";
15725
15853
  message?: string | undefined;
@@ -16751,6 +16879,11 @@ declare const createLocalClient: (options?: CreateLocalClientOptions) => {
16751
16879
  metrics: {
16752
16880
  overview: SchemaFn<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>, AdminMetricsOverview>;
16753
16881
  };
16882
+ integrations: {
16883
+ githubInstallations: {
16884
+ list: SchemaFn<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>, AdminGitHubInstallationListResponse>;
16885
+ };
16886
+ };
16754
16887
  };
16755
16888
  } & {
16756
16889
  pools: {