@n8n/api-types 1.40.0 → 1.41.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.
Files changed (127) hide show
  1. package/dist/agents/types.d.ts +2 -0
  2. package/dist/agents/types.js.map +1 -1
  3. package/dist/build.tsbuildinfo +1 -1
  4. package/dist/dto/credentials/create-credential.dto.d.ts +2 -0
  5. package/dist/dto/credentials/create-credential.dto.js +2 -0
  6. package/dist/dto/credentials/create-credential.dto.js.map +1 -1
  7. package/dist/dto/credentials/credential-public.dto.d.ts +26 -2
  8. package/dist/dto/credentials/credential-public.dto.js +31 -2
  9. package/dist/dto/credentials/credential-public.dto.js.map +1 -1
  10. package/dist/dto/credentials/test-credential-request.dto.d.ts +29 -0
  11. package/dist/dto/credentials/test-credential-request.dto.js +16 -0
  12. package/dist/dto/credentials/test-credential-request.dto.js.map +1 -0
  13. package/dist/dto/executions/compare-execution-list-items.d.ts +7 -0
  14. package/dist/dto/executions/compare-execution-list-items.js +20 -0
  15. package/dist/dto/executions/compare-execution-list-items.js.map +1 -0
  16. package/dist/dto/executions/execution-list-pagination.d.ts +9 -0
  17. package/dist/dto/executions/execution-list-pagination.js +3 -0
  18. package/dist/dto/executions/execution-list-pagination.js.map +1 -0
  19. package/dist/dto/folders/folder-public.dto.d.ts +421 -0
  20. package/dist/dto/folders/folder-public.dto.js +75 -0
  21. package/dist/dto/folders/folder-public.dto.js.map +1 -0
  22. package/dist/dto/folders/folder-public.openapi.d.ts +82 -0
  23. package/dist/dto/folders/folder-public.openapi.js +56 -0
  24. package/dist/dto/folders/folder-public.openapi.js.map +1 -0
  25. package/dist/dto/folders/list-folder-query.dto.d.ts +11 -0
  26. package/dist/dto/folders/list-folder-query.dto.js +14 -18
  27. package/dist/dto/folders/list-folder-query.dto.js.map +1 -1
  28. package/dist/dto/index.d.ts +20 -16
  29. package/dist/dto/index.js +48 -20
  30. package/dist/dto/index.js.map +1 -1
  31. package/dist/dto/insights/insights-summary-public.dto.d.ts +109 -0
  32. package/dist/dto/insights/insights-summary-public.dto.js +33 -0
  33. package/dist/dto/insights/insights-summary-public.dto.js.map +1 -0
  34. package/dist/dto/insights/insights-summary-public.openapi.d.ts +12 -0
  35. package/dist/dto/insights/insights-summary-public.openapi.js +12 -0
  36. package/dist/dto/insights/insights-summary-public.openapi.js.map +1 -0
  37. package/dist/dto/promotions/promotable-resource.dto.d.ts +101 -0
  38. package/dist/dto/promotions/promotable-resource.dto.js +8 -1
  39. package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
  40. package/dist/dto/promotions/promotion-binding-preflight.dto.d.ts +3842 -0
  41. package/dist/dto/promotions/promotion-binding-preflight.dto.js +120 -0
  42. package/dist/dto/promotions/promotion-binding-preflight.dto.js.map +1 -0
  43. package/dist/dto/promotions/promotion-config.dto.d.ts +360 -0
  44. package/dist/dto/promotions/promotion-config.dto.js +16 -1
  45. package/dist/dto/promotions/promotion-config.dto.js.map +1 -1
  46. package/dist/dto/promotions/promotion-connection.dto.d.ts +442 -12
  47. package/dist/dto/promotions/promotion-connection.dto.js +5 -2
  48. package/dist/dto/promotions/promotion-connection.dto.js.map +1 -1
  49. package/dist/dto/promotions/promotion-operations.dto.d.ts +4893 -285
  50. package/dist/dto/promotions/promotion-operations.dto.js +33 -6
  51. package/dist/dto/promotions/promotion-operations.dto.js.map +1 -1
  52. package/dist/dto/tag/tag-public.dto.d.ts +26 -0
  53. package/dist/dto/tag/tag-public.dto.js +14 -3
  54. package/dist/dto/tag/tag-public.dto.js.map +1 -1
  55. package/dist/dto/type-availability-policies/create-policy-document.dto.js.map +1 -0
  56. package/dist/dto/type-availability-policies/node-type-policy-public.dto.d.ts +565 -0
  57. package/dist/dto/type-availability-policies/node-type-policy-public.dto.js +70 -0
  58. package/dist/dto/type-availability-policies/node-type-policy-public.dto.js.map +1 -0
  59. package/dist/dto/type-availability-policies/policy-rule.schema.js.map +1 -0
  60. package/dist/dto/type-availability-policies/policy-rule.types.js.map +1 -0
  61. package/dist/dto/type-availability-policies/policy-selector.schema.js.map +1 -0
  62. package/dist/dto/type-availability-policies/put-instance-policy.dto.js.map +1 -0
  63. package/dist/dto/type-availability-policies/put-project-policy.dto.js.map +1 -0
  64. package/dist/dto/type-availability-policies/replace-attachments.dto.js.map +1 -0
  65. package/dist/dto/type-availability-policies/update-policy-document.dto.js.map +1 -0
  66. package/dist/dto/user/user-update-request.dto.d.ts +0 -6
  67. package/dist/dto/user/user-update-request.dto.js +0 -3
  68. package/dist/dto/user/user-update-request.dto.js.map +1 -1
  69. package/dist/frontend-settings.d.ts +1 -0
  70. package/dist/index.d.ts +12 -8
  71. package/dist/index.js +36 -8
  72. package/dist/index.js.map +1 -1
  73. package/dist/push/agents.d.ts +2 -0
  74. package/dist/schemas/agent-run-reducer.js +7 -1
  75. package/dist/schemas/agent-run-reducer.js.map +1 -1
  76. package/dist/schemas/ai-preference.schema.d.ts +4 -0
  77. package/dist/schemas/ai-preference.schema.js +5 -2
  78. package/dist/schemas/ai-preference.schema.js.map +1 -1
  79. package/dist/schemas/credential-description.schema.d.ts +3 -0
  80. package/dist/schemas/credential-description.schema.js +14 -0
  81. package/dist/schemas/credential-description.schema.js.map +1 -0
  82. package/dist/schemas/instance-ai-approval.schema.d.ts +380 -0
  83. package/dist/schemas/instance-ai-approval.schema.js +77 -0
  84. package/dist/schemas/instance-ai-approval.schema.js.map +1 -0
  85. package/dist/schemas/instance-ai.schema.d.ts +1766 -121
  86. package/dist/schemas/instance-ai.schema.js +171 -14
  87. package/dist/schemas/instance-ai.schema.js.map +1 -1
  88. package/dist/schemas/llm-step-display.d.ts +1 -0
  89. package/dist/schemas/llm-step-display.js +16 -5
  90. package/dist/schemas/llm-step-display.js.map +1 -1
  91. package/dist/schemas/mcp.schema.d.ts +1 -2
  92. package/dist/schemas/mcp.schema.js +3 -2
  93. package/dist/schemas/mcp.schema.js.map +1 -1
  94. package/dist/schemas/public-api-path-params.schema.d.ts +4 -0
  95. package/dist/schemas/public-api-path-params.schema.js +10 -4
  96. package/dist/schemas/public-api-path-params.schema.js.map +1 -1
  97. package/package.json +3 -3
  98. package/dist/dto/instance-ai-examples/instance-ai-examples-query.dto.d.ts +0 -15
  99. package/dist/dto/instance-ai-examples/instance-ai-examples-query.dto.js +0 -28
  100. package/dist/dto/instance-ai-examples/instance-ai-examples-query.dto.js.map +0 -1
  101. package/dist/dto/node-type-policies/create-policy-document.dto.js.map +0 -1
  102. package/dist/dto/node-type-policies/node-type-policy-public.dto.d.ts +0 -146
  103. package/dist/dto/node-type-policies/node-type-policy-public.dto.js +0 -27
  104. package/dist/dto/node-type-policies/node-type-policy-public.dto.js.map +0 -1
  105. package/dist/dto/node-type-policies/policy-rule.schema.js.map +0 -1
  106. package/dist/dto/node-type-policies/policy-rule.types.js.map +0 -1
  107. package/dist/dto/node-type-policies/policy-selector.schema.js.map +0 -1
  108. package/dist/dto/node-type-policies/put-instance-policy.dto.js.map +0 -1
  109. package/dist/dto/node-type-policies/put-project-policy.dto.js.map +0 -1
  110. package/dist/dto/node-type-policies/replace-attachments.dto.js.map +0 -1
  111. package/dist/dto/node-type-policies/update-policy-document.dto.js.map +0 -1
  112. /package/dist/dto/{node-type-policies → type-availability-policies}/create-policy-document.dto.d.ts +0 -0
  113. /package/dist/dto/{node-type-policies → type-availability-policies}/create-policy-document.dto.js +0 -0
  114. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-rule.schema.d.ts +0 -0
  115. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-rule.schema.js +0 -0
  116. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-rule.types.d.ts +0 -0
  117. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-rule.types.js +0 -0
  118. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-selector.schema.d.ts +0 -0
  119. /package/dist/dto/{node-type-policies → type-availability-policies}/policy-selector.schema.js +0 -0
  120. /package/dist/dto/{node-type-policies → type-availability-policies}/put-instance-policy.dto.d.ts +0 -0
  121. /package/dist/dto/{node-type-policies → type-availability-policies}/put-instance-policy.dto.js +0 -0
  122. /package/dist/dto/{node-type-policies → type-availability-policies}/put-project-policy.dto.d.ts +0 -0
  123. /package/dist/dto/{node-type-policies → type-availability-policies}/put-project-policy.dto.js +0 -0
  124. /package/dist/dto/{node-type-policies → type-availability-policies}/replace-attachments.dto.d.ts +0 -0
  125. /package/dist/dto/{node-type-policies → type-availability-policies}/replace-attachments.dto.js +0 -0
  126. /package/dist/dto/{node-type-policies → type-availability-policies}/update-policy-document.dto.d.ts +0 -0
  127. /package/dist/dto/{node-type-policies → type-availability-policies}/update-policy-document.dto.js +0 -0
@@ -332,6 +332,16 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
332
332
  name: z.ZodString;
333
333
  createdAt: z.ZodString;
334
334
  updatedAt: z.ZodString;
335
+ checkout: z.ZodObject<{
336
+ hasCheckout: z.ZodBoolean;
337
+ matchesConfig: z.ZodBoolean;
338
+ }, "strip", z.ZodTypeAny, {
339
+ hasCheckout: boolean;
340
+ matchesConfig: boolean;
341
+ }, {
342
+ hasCheckout: boolean;
343
+ matchesConfig: boolean;
344
+ }>;
335
345
  settings: z.ZodObject<{
336
346
  schemaVersion: z.ZodLiteral<1>;
337
347
  branchName: z.ZodString;
@@ -347,6 +357,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
347
357
  name: string;
348
358
  createdAt: string;
349
359
  updatedAt: string;
360
+ checkout: {
361
+ hasCheckout: boolean;
362
+ matchesConfig: boolean;
363
+ };
350
364
  settings: {
351
365
  schemaVersion: 1;
352
366
  branchName: string;
@@ -356,6 +370,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
356
370
  name: string;
357
371
  createdAt: string;
358
372
  updatedAt: string;
373
+ checkout: {
374
+ hasCheckout: boolean;
375
+ matchesConfig: boolean;
376
+ };
359
377
  settings: {
360
378
  schemaVersion: 1;
361
379
  branchName: string;
@@ -366,6 +384,16 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
366
384
  name: z.ZodString;
367
385
  createdAt: z.ZodString;
368
386
  updatedAt: z.ZodString;
387
+ checkout: z.ZodObject<{
388
+ hasCheckout: z.ZodBoolean;
389
+ matchesConfig: z.ZodBoolean;
390
+ }, "strip", z.ZodTypeAny, {
391
+ hasCheckout: boolean;
392
+ matchesConfig: boolean;
393
+ }, {
394
+ hasCheckout: boolean;
395
+ matchesConfig: boolean;
396
+ }>;
369
397
  settings: z.ZodObject<{
370
398
  schemaVersion: z.ZodLiteral<1>;
371
399
  baseBranchName: z.ZodString;
@@ -384,6 +412,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
384
412
  name: string;
385
413
  createdAt: string;
386
414
  updatedAt: string;
415
+ checkout: {
416
+ hasCheckout: boolean;
417
+ matchesConfig: boolean;
418
+ };
387
419
  settings: {
388
420
  schemaVersion: 1;
389
421
  baseBranchName: string;
@@ -394,6 +426,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
394
426
  name: string;
395
427
  createdAt: string;
396
428
  updatedAt: string;
429
+ checkout: {
430
+ hasCheckout: boolean;
431
+ matchesConfig: boolean;
432
+ };
397
433
  settings: {
398
434
  schemaVersion: 1;
399
435
  baseBranchName: string;
@@ -406,6 +442,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
406
442
  name: string;
407
443
  createdAt: string;
408
444
  updatedAt: string;
445
+ checkout: {
446
+ hasCheckout: boolean;
447
+ matchesConfig: boolean;
448
+ };
409
449
  settings: {
410
450
  schemaVersion: 1;
411
451
  branchName: string;
@@ -416,6 +456,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
416
456
  name: string;
417
457
  createdAt: string;
418
458
  updatedAt: string;
459
+ checkout: {
460
+ hasCheckout: boolean;
461
+ matchesConfig: boolean;
462
+ };
419
463
  settings: {
420
464
  schemaVersion: 1;
421
465
  baseBranchName: string;
@@ -428,6 +472,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
428
472
  name: string;
429
473
  createdAt: string;
430
474
  updatedAt: string;
475
+ checkout: {
476
+ hasCheckout: boolean;
477
+ matchesConfig: boolean;
478
+ };
431
479
  settings: {
432
480
  schemaVersion: 1;
433
481
  branchName: string;
@@ -438,6 +486,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
438
486
  name: string;
439
487
  createdAt: string;
440
488
  updatedAt: string;
489
+ checkout: {
490
+ hasCheckout: boolean;
491
+ matchesConfig: boolean;
492
+ };
441
493
  settings: {
442
494
  schemaVersion: 1;
443
495
  baseBranchName: string;
@@ -469,6 +521,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
469
521
  name: string;
470
522
  createdAt: string;
471
523
  updatedAt: string;
524
+ checkout: {
525
+ hasCheckout: boolean;
526
+ matchesConfig: boolean;
527
+ };
472
528
  settings: {
473
529
  schemaVersion: 1;
474
530
  branchName: string;
@@ -479,6 +535,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
479
535
  name: string;
480
536
  createdAt: string;
481
537
  updatedAt: string;
538
+ checkout: {
539
+ hasCheckout: boolean;
540
+ matchesConfig: boolean;
541
+ };
482
542
  settings: {
483
543
  schemaVersion: 1;
484
544
  baseBranchName: string;
@@ -510,6 +570,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
510
570
  name: string;
511
571
  createdAt: string;
512
572
  updatedAt: string;
573
+ checkout: {
574
+ hasCheckout: boolean;
575
+ matchesConfig: boolean;
576
+ };
513
577
  settings: {
514
578
  schemaVersion: 1;
515
579
  branchName: string;
@@ -520,6 +584,10 @@ export declare const promotionConnectionPublicSchema: z.ZodObject<{
520
584
  name: string;
521
585
  createdAt: string;
522
586
  updatedAt: string;
587
+ checkout: {
588
+ hasCheckout: boolean;
589
+ matchesConfig: boolean;
590
+ };
523
591
  settings: {
524
592
  schemaVersion: 1;
525
593
  baseBranchName: string;
@@ -552,6 +620,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
552
620
  name: string;
553
621
  createdAt: string;
554
622
  updatedAt: string;
623
+ checkout: {
624
+ hasCheckout: boolean;
625
+ matchesConfig: boolean;
626
+ };
555
627
  settings: {
556
628
  schemaVersion: 1;
557
629
  branchName: string;
@@ -562,6 +634,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
562
634
  name: string;
563
635
  createdAt: string;
564
636
  updatedAt: string;
637
+ checkout: {
638
+ hasCheckout: boolean;
639
+ matchesConfig: boolean;
640
+ };
565
641
  settings: {
566
642
  schemaVersion: 1;
567
643
  baseBranchName: string;
@@ -632,6 +708,16 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
632
708
  name: z.ZodString;
633
709
  createdAt: z.ZodString;
634
710
  updatedAt: z.ZodString;
711
+ checkout: z.ZodObject<{
712
+ hasCheckout: z.ZodBoolean;
713
+ matchesConfig: z.ZodBoolean;
714
+ }, "strip", z.ZodTypeAny, {
715
+ hasCheckout: boolean;
716
+ matchesConfig: boolean;
717
+ }, {
718
+ hasCheckout: boolean;
719
+ matchesConfig: boolean;
720
+ }>;
635
721
  settings: z.ZodObject<{
636
722
  schemaVersion: z.ZodLiteral<1>;
637
723
  branchName: z.ZodString;
@@ -647,6 +733,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
647
733
  name: string;
648
734
  createdAt: string;
649
735
  updatedAt: string;
736
+ checkout: {
737
+ hasCheckout: boolean;
738
+ matchesConfig: boolean;
739
+ };
650
740
  settings: {
651
741
  schemaVersion: 1;
652
742
  branchName: string;
@@ -656,6 +746,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
656
746
  name: string;
657
747
  createdAt: string;
658
748
  updatedAt: string;
749
+ checkout: {
750
+ hasCheckout: boolean;
751
+ matchesConfig: boolean;
752
+ };
659
753
  settings: {
660
754
  schemaVersion: 1;
661
755
  branchName: string;
@@ -666,6 +760,16 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
666
760
  name: z.ZodString;
667
761
  createdAt: z.ZodString;
668
762
  updatedAt: z.ZodString;
763
+ checkout: z.ZodObject<{
764
+ hasCheckout: z.ZodBoolean;
765
+ matchesConfig: z.ZodBoolean;
766
+ }, "strip", z.ZodTypeAny, {
767
+ hasCheckout: boolean;
768
+ matchesConfig: boolean;
769
+ }, {
770
+ hasCheckout: boolean;
771
+ matchesConfig: boolean;
772
+ }>;
669
773
  settings: z.ZodObject<{
670
774
  schemaVersion: z.ZodLiteral<1>;
671
775
  baseBranchName: z.ZodString;
@@ -684,6 +788,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
684
788
  name: string;
685
789
  createdAt: string;
686
790
  updatedAt: string;
791
+ checkout: {
792
+ hasCheckout: boolean;
793
+ matchesConfig: boolean;
794
+ };
687
795
  settings: {
688
796
  schemaVersion: 1;
689
797
  baseBranchName: string;
@@ -694,6 +802,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
694
802
  name: string;
695
803
  createdAt: string;
696
804
  updatedAt: string;
805
+ checkout: {
806
+ hasCheckout: boolean;
807
+ matchesConfig: boolean;
808
+ };
697
809
  settings: {
698
810
  schemaVersion: 1;
699
811
  baseBranchName: string;
@@ -706,6 +818,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
706
818
  name: string;
707
819
  createdAt: string;
708
820
  updatedAt: string;
821
+ checkout: {
822
+ hasCheckout: boolean;
823
+ matchesConfig: boolean;
824
+ };
709
825
  settings: {
710
826
  schemaVersion: 1;
711
827
  branchName: string;
@@ -716,6 +832,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
716
832
  name: string;
717
833
  createdAt: string;
718
834
  updatedAt: string;
835
+ checkout: {
836
+ hasCheckout: boolean;
837
+ matchesConfig: boolean;
838
+ };
719
839
  settings: {
720
840
  schemaVersion: 1;
721
841
  baseBranchName: string;
@@ -728,6 +848,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
728
848
  name: string;
729
849
  createdAt: string;
730
850
  updatedAt: string;
851
+ checkout: {
852
+ hasCheckout: boolean;
853
+ matchesConfig: boolean;
854
+ };
731
855
  settings: {
732
856
  schemaVersion: 1;
733
857
  branchName: string;
@@ -738,6 +862,10 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
738
862
  name: string;
739
863
  createdAt: string;
740
864
  updatedAt: string;
865
+ checkout: {
866
+ hasCheckout: boolean;
867
+ matchesConfig: boolean;
868
+ };
741
869
  settings: {
742
870
  schemaVersion: 1;
743
871
  baseBranchName: string;
@@ -750,6 +878,287 @@ declare const PromotionConnectionPublicDto_base: import("../../zod-class").ZodCl
750
878
  }>;
751
879
  export declare class PromotionConnectionPublicDto extends PromotionConnectionPublicDto_base {
752
880
  }
881
+ export declare const promotionConnectionSummarySchema: z.ZodObject<{
882
+ id: z.ZodString;
883
+ name: z.ZodString;
884
+ scope: z.ZodEnum<["instance", "projects"]>;
885
+ target: z.ZodObject<{
886
+ schemaVersion: z.ZodLiteral<1>;
887
+ remoteUrl: z.ZodString;
888
+ }, "strict", z.ZodTypeAny, {
889
+ schemaVersion: 1;
890
+ remoteUrl: string;
891
+ }, {
892
+ schemaVersion: 1;
893
+ remoteUrl: string;
894
+ }>;
895
+ provider: z.ZodObject<Omit<{
896
+ id: z.ZodString;
897
+ name: z.ZodString;
898
+ type: z.ZodEnum<["git"]>;
899
+ authType: z.ZodEnum<["ssh-key", "token"]>;
900
+ config: z.ZodUnion<[z.ZodObject<{
901
+ schemaVersion: z.ZodLiteral<1>;
902
+ publicKey: z.ZodString;
903
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
904
+ }, "strict", z.ZodTypeAny, {
905
+ schemaVersion: 1;
906
+ publicKey: string;
907
+ keyType: "ed25519" | "rsa";
908
+ }, {
909
+ schemaVersion: 1;
910
+ publicKey: string;
911
+ keyType: "ed25519" | "rsa";
912
+ }>, z.ZodObject<{
913
+ schemaVersion: z.ZodLiteral<1>;
914
+ }, "strict", z.ZodTypeAny, {
915
+ schemaVersion: 1;
916
+ }, {
917
+ schemaVersion: 1;
918
+ }>]>;
919
+ createdAt: z.ZodString;
920
+ updatedAt: z.ZodString;
921
+ }, "config">, "strip", z.ZodTypeAny, {
922
+ id: string;
923
+ name: string;
924
+ type: "git";
925
+ authType: "ssh-key" | "token";
926
+ createdAt: string;
927
+ updatedAt: string;
928
+ }, {
929
+ id: string;
930
+ name: string;
931
+ type: "git";
932
+ authType: "ssh-key" | "token";
933
+ createdAt: string;
934
+ updatedAt: string;
935
+ }>;
936
+ createdAt: z.ZodString;
937
+ updatedAt: z.ZodString;
938
+ } & {
939
+ configs: z.ZodObject<{
940
+ apply: z.ZodOptional<z.ZodObject<Omit<{
941
+ id: z.ZodString;
942
+ name: z.ZodString;
943
+ createdAt: z.ZodString;
944
+ updatedAt: z.ZodString;
945
+ checkout: z.ZodObject<{
946
+ hasCheckout: z.ZodBoolean;
947
+ matchesConfig: z.ZodBoolean;
948
+ }, "strip", z.ZodTypeAny, {
949
+ hasCheckout: boolean;
950
+ matchesConfig: boolean;
951
+ }, {
952
+ hasCheckout: boolean;
953
+ matchesConfig: boolean;
954
+ }>;
955
+ settings: z.ZodObject<{
956
+ schemaVersion: z.ZodLiteral<1>;
957
+ branchName: z.ZodString;
958
+ }, "strict", z.ZodTypeAny, {
959
+ schemaVersion: 1;
960
+ branchName: string;
961
+ }, {
962
+ schemaVersion: 1;
963
+ branchName: string;
964
+ }>;
965
+ }, "checkout">, "strip", z.ZodTypeAny, {
966
+ id: string;
967
+ name: string;
968
+ createdAt: string;
969
+ updatedAt: string;
970
+ settings: {
971
+ schemaVersion: 1;
972
+ branchName: string;
973
+ };
974
+ }, {
975
+ id: string;
976
+ name: string;
977
+ createdAt: string;
978
+ updatedAt: string;
979
+ settings: {
980
+ schemaVersion: 1;
981
+ branchName: string;
982
+ };
983
+ }>>;
984
+ promote: z.ZodOptional<z.ZodObject<Omit<{
985
+ id: z.ZodString;
986
+ name: z.ZodString;
987
+ createdAt: z.ZodString;
988
+ updatedAt: z.ZodString;
989
+ checkout: z.ZodObject<{
990
+ hasCheckout: z.ZodBoolean;
991
+ matchesConfig: z.ZodBoolean;
992
+ }, "strip", z.ZodTypeAny, {
993
+ hasCheckout: boolean;
994
+ matchesConfig: boolean;
995
+ }, {
996
+ hasCheckout: boolean;
997
+ matchesConfig: boolean;
998
+ }>;
999
+ settings: z.ZodObject<{
1000
+ schemaVersion: z.ZodLiteral<1>;
1001
+ baseBranchName: z.ZodString;
1002
+ createBranchOnPromotion: z.ZodBoolean;
1003
+ }, "strict", z.ZodTypeAny, {
1004
+ schemaVersion: 1;
1005
+ baseBranchName: string;
1006
+ createBranchOnPromotion: boolean;
1007
+ }, {
1008
+ schemaVersion: 1;
1009
+ baseBranchName: string;
1010
+ createBranchOnPromotion: boolean;
1011
+ }>;
1012
+ }, "checkout">, "strip", z.ZodTypeAny, {
1013
+ id: string;
1014
+ name: string;
1015
+ createdAt: string;
1016
+ updatedAt: string;
1017
+ settings: {
1018
+ schemaVersion: 1;
1019
+ baseBranchName: string;
1020
+ createBranchOnPromotion: boolean;
1021
+ };
1022
+ }, {
1023
+ id: string;
1024
+ name: string;
1025
+ createdAt: string;
1026
+ updatedAt: string;
1027
+ settings: {
1028
+ schemaVersion: 1;
1029
+ baseBranchName: string;
1030
+ createBranchOnPromotion: boolean;
1031
+ };
1032
+ }>>;
1033
+ }, "strip", z.ZodTypeAny, {
1034
+ apply?: {
1035
+ id: string;
1036
+ name: string;
1037
+ createdAt: string;
1038
+ updatedAt: string;
1039
+ settings: {
1040
+ schemaVersion: 1;
1041
+ branchName: string;
1042
+ };
1043
+ } | undefined;
1044
+ promote?: {
1045
+ id: string;
1046
+ name: string;
1047
+ createdAt: string;
1048
+ updatedAt: string;
1049
+ settings: {
1050
+ schemaVersion: 1;
1051
+ baseBranchName: string;
1052
+ createBranchOnPromotion: boolean;
1053
+ };
1054
+ } | undefined;
1055
+ }, {
1056
+ apply?: {
1057
+ id: string;
1058
+ name: string;
1059
+ createdAt: string;
1060
+ updatedAt: string;
1061
+ settings: {
1062
+ schemaVersion: 1;
1063
+ branchName: string;
1064
+ };
1065
+ } | undefined;
1066
+ promote?: {
1067
+ id: string;
1068
+ name: string;
1069
+ createdAt: string;
1070
+ updatedAt: string;
1071
+ settings: {
1072
+ schemaVersion: 1;
1073
+ baseBranchName: string;
1074
+ createBranchOnPromotion: boolean;
1075
+ };
1076
+ } | undefined;
1077
+ }>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ id: string;
1080
+ name: string;
1081
+ scope: "instance" | "projects";
1082
+ target: {
1083
+ schemaVersion: 1;
1084
+ remoteUrl: string;
1085
+ };
1086
+ provider: {
1087
+ id: string;
1088
+ name: string;
1089
+ type: "git";
1090
+ authType: "ssh-key" | "token";
1091
+ createdAt: string;
1092
+ updatedAt: string;
1093
+ };
1094
+ createdAt: string;
1095
+ updatedAt: string;
1096
+ configs: {
1097
+ apply?: {
1098
+ id: string;
1099
+ name: string;
1100
+ createdAt: string;
1101
+ updatedAt: string;
1102
+ settings: {
1103
+ schemaVersion: 1;
1104
+ branchName: string;
1105
+ };
1106
+ } | undefined;
1107
+ promote?: {
1108
+ id: string;
1109
+ name: string;
1110
+ createdAt: string;
1111
+ updatedAt: string;
1112
+ settings: {
1113
+ schemaVersion: 1;
1114
+ baseBranchName: string;
1115
+ createBranchOnPromotion: boolean;
1116
+ };
1117
+ } | undefined;
1118
+ };
1119
+ }, {
1120
+ id: string;
1121
+ name: string;
1122
+ scope: "instance" | "projects";
1123
+ target: {
1124
+ schemaVersion: 1;
1125
+ remoteUrl: string;
1126
+ };
1127
+ provider: {
1128
+ id: string;
1129
+ name: string;
1130
+ type: "git";
1131
+ authType: "ssh-key" | "token";
1132
+ createdAt: string;
1133
+ updatedAt: string;
1134
+ };
1135
+ createdAt: string;
1136
+ updatedAt: string;
1137
+ configs: {
1138
+ apply?: {
1139
+ id: string;
1140
+ name: string;
1141
+ createdAt: string;
1142
+ updatedAt: string;
1143
+ settings: {
1144
+ schemaVersion: 1;
1145
+ branchName: string;
1146
+ };
1147
+ } | undefined;
1148
+ promote?: {
1149
+ id: string;
1150
+ name: string;
1151
+ createdAt: string;
1152
+ updatedAt: string;
1153
+ settings: {
1154
+ schemaVersion: 1;
1155
+ baseBranchName: string;
1156
+ createBranchOnPromotion: boolean;
1157
+ };
1158
+ } | undefined;
1159
+ };
1160
+ }>;
1161
+ export type PromotionConnectionSummary = z.infer<typeof promotionConnectionSummarySchema>;
753
1162
  declare const PromotionConnectionListPublicDto_base: import("../../zod-class").ZodClass<{
754
1163
  data: {
755
1164
  id: string;
@@ -767,6 +1176,8 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
767
1176
  createdAt: string;
768
1177
  updatedAt: string;
769
1178
  };
1179
+ createdAt: string;
1180
+ updatedAt: string;
770
1181
  configs: {
771
1182
  apply?: {
772
1183
  id: string;
@@ -790,8 +1201,6 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
790
1201
  };
791
1202
  } | undefined;
792
1203
  };
793
- createdAt: string;
794
- updatedAt: string;
795
1204
  }[];
796
1205
  nextCursor: string | null;
797
1206
  }, {
@@ -850,12 +1259,25 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
850
1259
  createdAt: string;
851
1260
  updatedAt: string;
852
1261
  }>;
1262
+ createdAt: z.ZodString;
1263
+ updatedAt: z.ZodString;
1264
+ } & {
853
1265
  configs: z.ZodObject<{
854
- apply: z.ZodOptional<z.ZodObject<{
1266
+ apply: z.ZodOptional<z.ZodObject<Omit<{
855
1267
  id: z.ZodString;
856
1268
  name: z.ZodString;
857
1269
  createdAt: z.ZodString;
858
1270
  updatedAt: z.ZodString;
1271
+ checkout: z.ZodObject<{
1272
+ hasCheckout: z.ZodBoolean;
1273
+ matchesConfig: z.ZodBoolean;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ hasCheckout: boolean;
1276
+ matchesConfig: boolean;
1277
+ }, {
1278
+ hasCheckout: boolean;
1279
+ matchesConfig: boolean;
1280
+ }>;
859
1281
  settings: z.ZodObject<{
860
1282
  schemaVersion: z.ZodLiteral<1>;
861
1283
  branchName: z.ZodString;
@@ -866,7 +1288,7 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
866
1288
  schemaVersion: 1;
867
1289
  branchName: string;
868
1290
  }>;
869
- }, "strip", z.ZodTypeAny, {
1291
+ }, "checkout">, "strip", z.ZodTypeAny, {
870
1292
  id: string;
871
1293
  name: string;
872
1294
  createdAt: string;
@@ -885,11 +1307,21 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
885
1307
  branchName: string;
886
1308
  };
887
1309
  }>>;
888
- promote: z.ZodOptional<z.ZodObject<{
1310
+ promote: z.ZodOptional<z.ZodObject<Omit<{
889
1311
  id: z.ZodString;
890
1312
  name: z.ZodString;
891
1313
  createdAt: z.ZodString;
892
1314
  updatedAt: z.ZodString;
1315
+ checkout: z.ZodObject<{
1316
+ hasCheckout: z.ZodBoolean;
1317
+ matchesConfig: z.ZodBoolean;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ hasCheckout: boolean;
1320
+ matchesConfig: boolean;
1321
+ }, {
1322
+ hasCheckout: boolean;
1323
+ matchesConfig: boolean;
1324
+ }>;
893
1325
  settings: z.ZodObject<{
894
1326
  schemaVersion: z.ZodLiteral<1>;
895
1327
  baseBranchName: z.ZodString;
@@ -903,7 +1335,7 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
903
1335
  baseBranchName: string;
904
1336
  createBranchOnPromotion: boolean;
905
1337
  }>;
906
- }, "strip", z.ZodTypeAny, {
1338
+ }, "checkout">, "strip", z.ZodTypeAny, {
907
1339
  id: string;
908
1340
  name: string;
909
1341
  createdAt: string;
@@ -969,8 +1401,6 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
969
1401
  };
970
1402
  } | undefined;
971
1403
  }>;
972
- createdAt: z.ZodString;
973
- updatedAt: z.ZodString;
974
1404
  }, "strip", z.ZodTypeAny, {
975
1405
  id: string;
976
1406
  name: string;
@@ -987,6 +1417,8 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
987
1417
  createdAt: string;
988
1418
  updatedAt: string;
989
1419
  };
1420
+ createdAt: string;
1421
+ updatedAt: string;
990
1422
  configs: {
991
1423
  apply?: {
992
1424
  id: string;
@@ -1010,8 +1442,6 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
1010
1442
  };
1011
1443
  } | undefined;
1012
1444
  };
1013
- createdAt: string;
1014
- updatedAt: string;
1015
1445
  }, {
1016
1446
  id: string;
1017
1447
  name: string;
@@ -1028,6 +1458,8 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
1028
1458
  createdAt: string;
1029
1459
  updatedAt: string;
1030
1460
  };
1461
+ createdAt: string;
1462
+ updatedAt: string;
1031
1463
  configs: {
1032
1464
  apply?: {
1033
1465
  id: string;
@@ -1051,8 +1483,6 @@ declare const PromotionConnectionListPublicDto_base: import("../../zod-class").Z
1051
1483
  };
1052
1484
  } | undefined;
1053
1485
  };
1054
- createdAt: string;
1055
- updatedAt: string;
1056
1486
  }>, "many">;
1057
1487
  nextCursor: z.ZodNullable<z.ZodString>;
1058
1488
  }>;