@numa-tech/numa 1.12.11 → 1.13.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/README.md +83 -2
- package/dist/application-onboarding/client.d.ts +83 -8
- package/dist/application-onboarding/client.js +23 -1
- package/dist/application-onboarding/client.js.map +1 -1
- package/dist/application-onboarding/commands.js +66 -4
- package/dist/application-onboarding/commands.js.map +1 -1
- package/dist/application-onboarding/schemas.d.ts +301 -58
- package/dist/application-onboarding/schemas.js +134 -8
- package/dist/application-onboarding/schemas.js.map +1 -1
- package/dist/application-onboarding/tui-model.d.ts +18 -0
- package/dist/application-onboarding/tui-model.js +215 -3
- package/dist/application-onboarding/tui-model.js.map +1 -1
- package/dist/application-onboarding/tui.d.ts +1 -1
- package/dist/application-onboarding/tui.js +20 -6
- package/dist/application-onboarding/tui.js.map +1 -1
- package/dist/cli.js +50 -8
- package/dist/cli.js.map +1 -1
- package/dist/clusters/client.d.ts +436 -0
- package/dist/clusters/client.js +207 -0
- package/dist/clusters/client.js.map +1 -0
- package/dist/clusters/commands.d.ts +11 -0
- package/dist/clusters/commands.js +373 -0
- package/dist/clusters/commands.js.map +1 -0
- package/dist/clusters/errors.d.ts +10 -0
- package/dist/clusters/errors.js +61 -0
- package/dist/clusters/errors.js.map +1 -0
- package/dist/clusters/kubeconfig-discovery.d.ts +48 -0
- package/dist/clusters/kubeconfig-discovery.js +280 -0
- package/dist/clusters/kubeconfig-discovery.js.map +1 -0
- package/dist/clusters/schemas.d.ts +510 -0
- package/dist/clusters/schemas.js +201 -0
- package/dist/clusters/schemas.js.map +1 -0
- package/dist/command-catalog.js +354 -0
- package/dist/command-catalog.js.map +1 -1
- package/dist/gitops/client.d.ts +499 -0
- package/dist/gitops/client.js +163 -0
- package/dist/gitops/client.js.map +1 -0
- package/dist/gitops/commands.d.ts +11 -0
- package/dist/gitops/commands.js +367 -0
- package/dist/gitops/commands.js.map +1 -0
- package/dist/gitops/errors.d.ts +10 -0
- package/dist/gitops/errors.js +59 -0
- package/dist/gitops/errors.js.map +1 -0
- package/dist/gitops/schemas.d.ts +1712 -0
- package/dist/gitops/schemas.js +360 -0
- package/dist/gitops/schemas.js.map +1 -0
- package/dist/repositories/client.d.ts +540 -0
- package/dist/repositories/client.js +215 -0
- package/dist/repositories/client.js.map +1 -0
- package/dist/repositories/commands.d.ts +10 -0
- package/dist/repositories/commands.js +347 -0
- package/dist/repositories/commands.js.map +1 -0
- package/dist/repositories/errors.d.ts +10 -0
- package/dist/repositories/errors.js +60 -0
- package/dist/repositories/errors.js.map +1 -0
- package/dist/repositories/schemas.d.ts +1692 -0
- package/dist/repositories/schemas.js +255 -0
- package/dist/repositories/schemas.js.map +1 -0
- package/package.json +4 -4
|
@@ -40,7 +40,7 @@ export type JsonValue = z.infer<typeof JsonPrimitiveSchema> | JsonValue[] | {
|
|
|
40
40
|
export declare const JsonValueSchema: z.ZodType<JsonValue>;
|
|
41
41
|
export declare const JsonObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
42
42
|
export declare const CredentialFreeOnboardingValueSchema: z.ZodUnknown;
|
|
43
|
-
export declare const OnboardingSpecSchema: z.ZodObject<{
|
|
43
|
+
export declare const OnboardingSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
44
44
|
schemaVersion: z.ZodLiteral<1>;
|
|
45
45
|
mode: z.ZodEnum<{
|
|
46
46
|
EXISTING: "EXISTING";
|
|
@@ -70,7 +70,48 @@ export declare const OnboardingSpecSchema: z.ZodObject<{
|
|
|
70
70
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
71
71
|
}, z.core.$loose>>;
|
|
72
72
|
delivery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
73
|
-
}, z.core.$loose
|
|
73
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
74
|
+
schemaVersion: z.ZodLiteral<2>;
|
|
75
|
+
mode: z.ZodEnum<{
|
|
76
|
+
EXISTING: "EXISTING";
|
|
77
|
+
NEW: "NEW";
|
|
78
|
+
}>;
|
|
79
|
+
application: z.ZodObject<{
|
|
80
|
+
code: z.ZodString;
|
|
81
|
+
name: z.ZodString;
|
|
82
|
+
teamId: z.ZodNumber;
|
|
83
|
+
systemId: z.ZodNumber;
|
|
84
|
+
defaultEnvironmentId: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
}, z.core.$loose>;
|
|
86
|
+
repositoryStrategy: z.ZodEnum<{
|
|
87
|
+
ATTACH_EXISTING: "ATTACH_EXISTING";
|
|
88
|
+
CREATE_NEW: "CREATE_NEW";
|
|
89
|
+
}>;
|
|
90
|
+
projectStrategy: z.ZodEnum<{
|
|
91
|
+
ADD_MODULE_CHANGE: "ADD_MODULE_CHANGE";
|
|
92
|
+
ASSESS_ONLY: "ASSESS_ONLY";
|
|
93
|
+
BOOTSTRAP_TEMPLATE: "BOOTSTRAP_TEMPLATE";
|
|
94
|
+
}>;
|
|
95
|
+
repositoryPlanRef: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
planNo: z.ZodString;
|
|
97
|
+
planHash: z.ZodString;
|
|
98
|
+
}, z.core.$strict>>;
|
|
99
|
+
repositoryRef: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
repositoryKey: z.ZodString;
|
|
101
|
+
expectedHead: z.ZodString;
|
|
102
|
+
}, z.core.$strict>>;
|
|
103
|
+
technology: z.ZodObject<{
|
|
104
|
+
stackCode: z.ZodString;
|
|
105
|
+
templateCode: z.ZodOptional<z.ZodString>;
|
|
106
|
+
repoMode: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
ADD_MODULE: "ADD_MODULE";
|
|
108
|
+
ASSESS_ONLY: "ASSESS_ONLY";
|
|
109
|
+
STANDALONE: "STANDALONE";
|
|
110
|
+
}>>;
|
|
111
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
112
|
+
}, z.core.$loose>;
|
|
113
|
+
delivery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
114
|
+
}, z.core.$loose>]>;
|
|
74
115
|
export declare const OnboardingSessionSchema: z.ZodObject<{
|
|
75
116
|
sessionNo: z.ZodString;
|
|
76
117
|
mode: z.ZodEnum<{
|
|
@@ -132,6 +173,19 @@ export declare const OnboardingEventOutputSchema: z.ZodObject<{
|
|
|
132
173
|
warnCount: z.ZodOptional<z.ZodNumber>;
|
|
133
174
|
jenkinsCandidateBindingIds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
134
175
|
jenkinsPendingTiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
176
|
+
gitopsPlanNumber: z.ZodOptional<z.ZodString>;
|
|
177
|
+
gitopsPlanHash: z.ZodOptional<z.ZodString>;
|
|
178
|
+
gitopsPlanFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
179
|
+
gitopsWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
+
gitopsSideEffects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
181
|
+
gitopsRunNo: z.ZodOptional<z.ZodString>;
|
|
182
|
+
gitopsLastEventSequence: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
gitopsState: z.ZodOptional<z.ZodString>;
|
|
184
|
+
gitopsBindingId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
185
|
+
gitopsTargetKey: z.ZodOptional<z.ZodString>;
|
|
186
|
+
gitopsBaseRevision: z.ZodOptional<z.ZodString>;
|
|
187
|
+
gitopsResultRevision: z.ZodOptional<z.ZodString>;
|
|
188
|
+
gitopsReviewUrl: z.ZodOptional<z.ZodString>;
|
|
135
189
|
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
136
190
|
recoveryAction: z.ZodOptional<z.ZodString>;
|
|
137
191
|
bundleDigest: z.ZodOptional<z.ZodString>;
|
|
@@ -172,6 +226,19 @@ export declare const OnboardingEventSchema: z.ZodObject<{
|
|
|
172
226
|
warnCount: z.ZodOptional<z.ZodNumber>;
|
|
173
227
|
jenkinsCandidateBindingIds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
174
228
|
jenkinsPendingTiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
229
|
+
gitopsPlanNumber: z.ZodOptional<z.ZodString>;
|
|
230
|
+
gitopsPlanHash: z.ZodOptional<z.ZodString>;
|
|
231
|
+
gitopsPlanFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
232
|
+
gitopsWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
233
|
+
gitopsSideEffects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
234
|
+
gitopsRunNo: z.ZodOptional<z.ZodString>;
|
|
235
|
+
gitopsLastEventSequence: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
gitopsState: z.ZodOptional<z.ZodString>;
|
|
237
|
+
gitopsBindingId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
238
|
+
gitopsTargetKey: z.ZodOptional<z.ZodString>;
|
|
239
|
+
gitopsBaseRevision: z.ZodOptional<z.ZodString>;
|
|
240
|
+
gitopsResultRevision: z.ZodOptional<z.ZodString>;
|
|
241
|
+
gitopsReviewUrl: z.ZodOptional<z.ZodString>;
|
|
175
242
|
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
176
243
|
recoveryAction: z.ZodOptional<z.ZodString>;
|
|
177
244
|
bundleDigest: z.ZodOptional<z.ZodString>;
|
|
@@ -409,6 +476,19 @@ export declare const OnboardingEventListSchema: z.ZodPipe<z.ZodUnion<readonly [z
|
|
|
409
476
|
warnCount: z.ZodOptional<z.ZodNumber>;
|
|
410
477
|
jenkinsCandidateBindingIds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
411
478
|
jenkinsPendingTiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
479
|
+
gitopsPlanNumber: z.ZodOptional<z.ZodString>;
|
|
480
|
+
gitopsPlanHash: z.ZodOptional<z.ZodString>;
|
|
481
|
+
gitopsPlanFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
482
|
+
gitopsWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
483
|
+
gitopsSideEffects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
484
|
+
gitopsRunNo: z.ZodOptional<z.ZodString>;
|
|
485
|
+
gitopsLastEventSequence: z.ZodOptional<z.ZodNumber>;
|
|
486
|
+
gitopsState: z.ZodOptional<z.ZodString>;
|
|
487
|
+
gitopsBindingId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
488
|
+
gitopsTargetKey: z.ZodOptional<z.ZodString>;
|
|
489
|
+
gitopsBaseRevision: z.ZodOptional<z.ZodString>;
|
|
490
|
+
gitopsResultRevision: z.ZodOptional<z.ZodString>;
|
|
491
|
+
gitopsReviewUrl: z.ZodOptional<z.ZodString>;
|
|
412
492
|
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
413
493
|
recoveryAction: z.ZodOptional<z.ZodString>;
|
|
414
494
|
bundleDigest: z.ZodOptional<z.ZodString>;
|
|
@@ -459,6 +539,19 @@ export declare const OnboardingEventListSchema: z.ZodPipe<z.ZodUnion<readonly [z
|
|
|
459
539
|
warnCount: z.ZodOptional<z.ZodNumber>;
|
|
460
540
|
jenkinsCandidateBindingIds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
461
541
|
jenkinsPendingTiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
542
|
+
gitopsPlanNumber: z.ZodOptional<z.ZodString>;
|
|
543
|
+
gitopsPlanHash: z.ZodOptional<z.ZodString>;
|
|
544
|
+
gitopsPlanFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
545
|
+
gitopsWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
546
|
+
gitopsSideEffects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
547
|
+
gitopsRunNo: z.ZodOptional<z.ZodString>;
|
|
548
|
+
gitopsLastEventSequence: z.ZodOptional<z.ZodNumber>;
|
|
549
|
+
gitopsState: z.ZodOptional<z.ZodString>;
|
|
550
|
+
gitopsBindingId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
551
|
+
gitopsTargetKey: z.ZodOptional<z.ZodString>;
|
|
552
|
+
gitopsBaseRevision: z.ZodOptional<z.ZodString>;
|
|
553
|
+
gitopsResultRevision: z.ZodOptional<z.ZodString>;
|
|
554
|
+
gitopsReviewUrl: z.ZodOptional<z.ZodString>;
|
|
462
555
|
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
463
556
|
recoveryAction: z.ZodOptional<z.ZodString>;
|
|
464
557
|
bundleDigest: z.ZodOptional<z.ZodString>;
|
|
@@ -510,6 +603,19 @@ export declare const OnboardingEventListSchema: z.ZodPipe<z.ZodUnion<readonly [z
|
|
|
510
603
|
warnCount: z.ZodOptional<z.ZodNumber>;
|
|
511
604
|
jenkinsCandidateBindingIds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
512
605
|
jenkinsPendingTiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
606
|
+
gitopsPlanNumber: z.ZodOptional<z.ZodString>;
|
|
607
|
+
gitopsPlanHash: z.ZodOptional<z.ZodString>;
|
|
608
|
+
gitopsPlanFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
609
|
+
gitopsWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
610
|
+
gitopsSideEffects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
611
|
+
gitopsRunNo: z.ZodOptional<z.ZodString>;
|
|
612
|
+
gitopsLastEventSequence: z.ZodOptional<z.ZodNumber>;
|
|
613
|
+
gitopsState: z.ZodOptional<z.ZodString>;
|
|
614
|
+
gitopsBindingId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
615
|
+
gitopsTargetKey: z.ZodOptional<z.ZodString>;
|
|
616
|
+
gitopsBaseRevision: z.ZodOptional<z.ZodString>;
|
|
617
|
+
gitopsResultRevision: z.ZodOptional<z.ZodString>;
|
|
618
|
+
gitopsReviewUrl: z.ZodOptional<z.ZodString>;
|
|
513
619
|
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
514
620
|
recoveryAction: z.ZodOptional<z.ZodString>;
|
|
515
621
|
bundleDigest: z.ZodOptional<z.ZodString>;
|
|
@@ -553,6 +659,19 @@ export declare const OnboardingEventListSchema: z.ZodPipe<z.ZodUnion<readonly [z
|
|
|
553
659
|
warnCount?: number | undefined;
|
|
554
660
|
jenkinsCandidateBindingIds?: (string | number)[] | undefined;
|
|
555
661
|
jenkinsPendingTiers?: string[] | undefined;
|
|
662
|
+
gitopsPlanNumber?: string | undefined;
|
|
663
|
+
gitopsPlanHash?: string | undefined;
|
|
664
|
+
gitopsPlanFiles?: string[] | undefined;
|
|
665
|
+
gitopsWarnings?: string[] | undefined;
|
|
666
|
+
gitopsSideEffects?: string[] | undefined;
|
|
667
|
+
gitopsRunNo?: string | undefined;
|
|
668
|
+
gitopsLastEventSequence?: number | undefined;
|
|
669
|
+
gitopsState?: string | undefined;
|
|
670
|
+
gitopsBindingId?: string | number | undefined;
|
|
671
|
+
gitopsTargetKey?: string | undefined;
|
|
672
|
+
gitopsBaseRevision?: string | undefined;
|
|
673
|
+
gitopsResultRevision?: string | undefined;
|
|
674
|
+
gitopsReviewUrl?: string | undefined;
|
|
556
675
|
retryAfterSeconds?: number | undefined;
|
|
557
676
|
recoveryAction?: string | undefined;
|
|
558
677
|
bundleDigest?: string | undefined;
|
|
@@ -593,6 +712,19 @@ export declare const OnboardingEventListSchema: z.ZodPipe<z.ZodUnion<readonly [z
|
|
|
593
712
|
warnCount?: number | undefined;
|
|
594
713
|
jenkinsCandidateBindingIds?: (string | number)[] | undefined;
|
|
595
714
|
jenkinsPendingTiers?: string[] | undefined;
|
|
715
|
+
gitopsPlanNumber?: string | undefined;
|
|
716
|
+
gitopsPlanHash?: string | undefined;
|
|
717
|
+
gitopsPlanFiles?: string[] | undefined;
|
|
718
|
+
gitopsWarnings?: string[] | undefined;
|
|
719
|
+
gitopsSideEffects?: string[] | undefined;
|
|
720
|
+
gitopsRunNo?: string | undefined;
|
|
721
|
+
gitopsLastEventSequence?: number | undefined;
|
|
722
|
+
gitopsState?: string | undefined;
|
|
723
|
+
gitopsBindingId?: string | number | undefined;
|
|
724
|
+
gitopsTargetKey?: string | undefined;
|
|
725
|
+
gitopsBaseRevision?: string | undefined;
|
|
726
|
+
gitopsResultRevision?: string | undefined;
|
|
727
|
+
gitopsReviewUrl?: string | undefined;
|
|
596
728
|
retryAfterSeconds?: number | undefined;
|
|
597
729
|
recoveryAction?: string | undefined;
|
|
598
730
|
bundleDigest?: string | undefined;
|
|
@@ -633,6 +765,19 @@ export declare const OnboardingEventListSchema: z.ZodPipe<z.ZodUnion<readonly [z
|
|
|
633
765
|
warnCount?: number | undefined;
|
|
634
766
|
jenkinsCandidateBindingIds?: (string | number)[] | undefined;
|
|
635
767
|
jenkinsPendingTiers?: string[] | undefined;
|
|
768
|
+
gitopsPlanNumber?: string | undefined;
|
|
769
|
+
gitopsPlanHash?: string | undefined;
|
|
770
|
+
gitopsPlanFiles?: string[] | undefined;
|
|
771
|
+
gitopsWarnings?: string[] | undefined;
|
|
772
|
+
gitopsSideEffects?: string[] | undefined;
|
|
773
|
+
gitopsRunNo?: string | undefined;
|
|
774
|
+
gitopsLastEventSequence?: number | undefined;
|
|
775
|
+
gitopsState?: string | undefined;
|
|
776
|
+
gitopsBindingId?: string | number | undefined;
|
|
777
|
+
gitopsTargetKey?: string | undefined;
|
|
778
|
+
gitopsBaseRevision?: string | undefined;
|
|
779
|
+
gitopsResultRevision?: string | undefined;
|
|
780
|
+
gitopsReviewUrl?: string | undefined;
|
|
636
781
|
retryAfterSeconds?: number | undefined;
|
|
637
782
|
recoveryAction?: string | undefined;
|
|
638
783
|
bundleDigest?: string | undefined;
|
|
@@ -672,6 +817,19 @@ export declare const OnboardingEventListSchema: z.ZodPipe<z.ZodUnion<readonly [z
|
|
|
672
817
|
warnCount?: number | undefined;
|
|
673
818
|
jenkinsCandidateBindingIds?: (string | number)[] | undefined;
|
|
674
819
|
jenkinsPendingTiers?: string[] | undefined;
|
|
820
|
+
gitopsPlanNumber?: string | undefined;
|
|
821
|
+
gitopsPlanHash?: string | undefined;
|
|
822
|
+
gitopsPlanFiles?: string[] | undefined;
|
|
823
|
+
gitopsWarnings?: string[] | undefined;
|
|
824
|
+
gitopsSideEffects?: string[] | undefined;
|
|
825
|
+
gitopsRunNo?: string | undefined;
|
|
826
|
+
gitopsLastEventSequence?: number | undefined;
|
|
827
|
+
gitopsState?: string | undefined;
|
|
828
|
+
gitopsBindingId?: string | number | undefined;
|
|
829
|
+
gitopsTargetKey?: string | undefined;
|
|
830
|
+
gitopsBaseRevision?: string | undefined;
|
|
831
|
+
gitopsResultRevision?: string | undefined;
|
|
832
|
+
gitopsReviewUrl?: string | undefined;
|
|
675
833
|
retryAfterSeconds?: number | undefined;
|
|
676
834
|
recoveryAction?: string | undefined;
|
|
677
835
|
bundleDigest?: string | undefined;
|
|
@@ -820,114 +978,195 @@ export declare const ScmConnectionListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
|
|
|
820
978
|
}>>;
|
|
821
979
|
export declare const ScmRepositorySchema: z.ZodObject<{
|
|
822
980
|
externalId: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>, z.ZodString>;
|
|
823
|
-
namespace: z.ZodOptional<z.ZodString
|
|
981
|
+
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
824
982
|
name: z.ZodString;
|
|
825
|
-
fullName: z.ZodOptional<z.ZodString
|
|
826
|
-
namespacePath: z.ZodOptional<z.ZodString
|
|
827
|
-
defaultBranch: z.ZodString
|
|
828
|
-
headRevision: z.ZodString
|
|
829
|
-
visibility: z.ZodOptional<z.ZodString
|
|
983
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
984
|
+
namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
985
|
+
defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
986
|
+
headRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
987
|
+
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
830
988
|
archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
831
|
-
webUrl: z.ZodOptional<z.ZodString
|
|
989
|
+
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
990
|
+
httpCloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
991
|
+
sshCloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
832
992
|
}, z.core.$strip>;
|
|
833
993
|
export declare const ScmRepositoryPageSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
834
994
|
items: z.ZodArray<z.ZodObject<{
|
|
835
995
|
externalId: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>, z.ZodString>;
|
|
836
|
-
namespace: z.ZodOptional<z.ZodString
|
|
996
|
+
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
837
997
|
name: z.ZodString;
|
|
838
|
-
fullName: z.ZodOptional<z.ZodString
|
|
839
|
-
namespacePath: z.ZodOptional<z.ZodString
|
|
840
|
-
defaultBranch: z.ZodString
|
|
841
|
-
headRevision: z.ZodString
|
|
842
|
-
visibility: z.ZodOptional<z.ZodString
|
|
998
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
999
|
+
namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1000
|
+
defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1001
|
+
headRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1002
|
+
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
843
1003
|
archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
844
|
-
webUrl: z.ZodOptional<z.ZodString
|
|
1004
|
+
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1005
|
+
httpCloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1006
|
+
sshCloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
845
1007
|
}, z.core.$strip>>;
|
|
846
1008
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
847
1009
|
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
848
1010
|
}, z.core.$strip>, z.ZodObject<{
|
|
849
1011
|
content: z.ZodArray<z.ZodObject<{
|
|
850
1012
|
externalId: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>, z.ZodString>;
|
|
851
|
-
namespace: z.ZodOptional<z.ZodString
|
|
1013
|
+
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
852
1014
|
name: z.ZodString;
|
|
853
|
-
fullName: z.ZodOptional<z.ZodString
|
|
854
|
-
namespacePath: z.ZodOptional<z.ZodString
|
|
855
|
-
defaultBranch: z.ZodString
|
|
856
|
-
headRevision: z.ZodString
|
|
857
|
-
visibility: z.ZodOptional<z.ZodString
|
|
1015
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1016
|
+
namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1017
|
+
defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1018
|
+
headRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1019
|
+
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
858
1020
|
archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
859
|
-
webUrl: z.ZodOptional<z.ZodString
|
|
1021
|
+
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1022
|
+
httpCloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1023
|
+
sshCloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
860
1024
|
}, z.core.$strip>>;
|
|
861
1025
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
862
1026
|
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
863
1027
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
864
1028
|
externalId: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>, z.ZodString>;
|
|
865
|
-
namespace: z.ZodOptional<z.ZodString
|
|
1029
|
+
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
866
1030
|
name: z.ZodString;
|
|
867
|
-
fullName: z.ZodOptional<z.ZodString
|
|
868
|
-
namespacePath: z.ZodOptional<z.ZodString
|
|
869
|
-
defaultBranch: z.ZodString
|
|
870
|
-
headRevision: z.ZodString
|
|
871
|
-
visibility: z.ZodOptional<z.ZodString
|
|
1031
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1032
|
+
namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1033
|
+
defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1034
|
+
headRevision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1035
|
+
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
872
1036
|
archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
873
|
-
webUrl: z.ZodOptional<z.ZodString
|
|
1037
|
+
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1038
|
+
httpCloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1039
|
+
sshCloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
874
1040
|
}, z.core.$strip>>]>, z.ZodTransform<{
|
|
875
1041
|
items: {
|
|
876
1042
|
externalId: string;
|
|
877
|
-
namespace?: string | undefined;
|
|
1043
|
+
namespace?: string | null | undefined;
|
|
878
1044
|
name: string;
|
|
879
|
-
fullName?: string | undefined;
|
|
880
|
-
namespacePath?: string | undefined;
|
|
881
|
-
defaultBranch
|
|
882
|
-
headRevision
|
|
883
|
-
visibility?: string | undefined;
|
|
1045
|
+
fullName?: string | null | undefined;
|
|
1046
|
+
namespacePath?: string | null | undefined;
|
|
1047
|
+
defaultBranch?: string | null | undefined;
|
|
1048
|
+
headRevision?: string | null | undefined;
|
|
1049
|
+
visibility?: string | null | undefined;
|
|
884
1050
|
archived: boolean;
|
|
885
|
-
webUrl?: string | undefined;
|
|
1051
|
+
webUrl?: string | null | undefined;
|
|
1052
|
+
httpCloneUrl?: string | null | undefined;
|
|
1053
|
+
sshCloneUrl?: string | null | undefined;
|
|
886
1054
|
}[];
|
|
887
1055
|
nextCursor: string | null;
|
|
888
1056
|
hasMore: boolean;
|
|
889
1057
|
}, {
|
|
890
1058
|
externalId: string;
|
|
891
|
-
namespace?: string | undefined;
|
|
1059
|
+
namespace?: string | null | undefined;
|
|
892
1060
|
name: string;
|
|
893
|
-
fullName?: string | undefined;
|
|
894
|
-
namespacePath?: string | undefined;
|
|
895
|
-
defaultBranch
|
|
896
|
-
headRevision
|
|
897
|
-
visibility?: string | undefined;
|
|
1061
|
+
fullName?: string | null | undefined;
|
|
1062
|
+
namespacePath?: string | null | undefined;
|
|
1063
|
+
defaultBranch?: string | null | undefined;
|
|
1064
|
+
headRevision?: string | null | undefined;
|
|
1065
|
+
visibility?: string | null | undefined;
|
|
898
1066
|
archived: boolean;
|
|
899
|
-
webUrl?: string | undefined;
|
|
1067
|
+
webUrl?: string | null | undefined;
|
|
1068
|
+
httpCloneUrl?: string | null | undefined;
|
|
1069
|
+
sshCloneUrl?: string | null | undefined;
|
|
900
1070
|
}[] | {
|
|
901
1071
|
items: {
|
|
902
1072
|
externalId: string;
|
|
903
|
-
namespace?: string | undefined;
|
|
1073
|
+
namespace?: string | null | undefined;
|
|
904
1074
|
name: string;
|
|
905
|
-
fullName?: string | undefined;
|
|
906
|
-
namespacePath?: string | undefined;
|
|
907
|
-
defaultBranch
|
|
908
|
-
headRevision
|
|
909
|
-
visibility?: string | undefined;
|
|
1075
|
+
fullName?: string | null | undefined;
|
|
1076
|
+
namespacePath?: string | null | undefined;
|
|
1077
|
+
defaultBranch?: string | null | undefined;
|
|
1078
|
+
headRevision?: string | null | undefined;
|
|
1079
|
+
visibility?: string | null | undefined;
|
|
910
1080
|
archived: boolean;
|
|
911
|
-
webUrl?: string | undefined;
|
|
1081
|
+
webUrl?: string | null | undefined;
|
|
1082
|
+
httpCloneUrl?: string | null | undefined;
|
|
1083
|
+
sshCloneUrl?: string | null | undefined;
|
|
912
1084
|
}[];
|
|
913
1085
|
nextCursor?: string | null | undefined;
|
|
914
1086
|
hasMore?: boolean | undefined;
|
|
915
1087
|
} | {
|
|
916
1088
|
content: {
|
|
917
1089
|
externalId: string;
|
|
918
|
-
namespace?: string | undefined;
|
|
1090
|
+
namespace?: string | null | undefined;
|
|
919
1091
|
name: string;
|
|
920
|
-
fullName?: string | undefined;
|
|
921
|
-
namespacePath?: string | undefined;
|
|
922
|
-
defaultBranch
|
|
923
|
-
headRevision
|
|
924
|
-
visibility?: string | undefined;
|
|
1092
|
+
fullName?: string | null | undefined;
|
|
1093
|
+
namespacePath?: string | null | undefined;
|
|
1094
|
+
defaultBranch?: string | null | undefined;
|
|
1095
|
+
headRevision?: string | null | undefined;
|
|
1096
|
+
visibility?: string | null | undefined;
|
|
925
1097
|
archived: boolean;
|
|
926
|
-
webUrl?: string | undefined;
|
|
1098
|
+
webUrl?: string | null | undefined;
|
|
1099
|
+
httpCloneUrl?: string | null | undefined;
|
|
1100
|
+
sshCloneUrl?: string | null | undefined;
|
|
1101
|
+
}[];
|
|
1102
|
+
nextCursor?: string | null | undefined;
|
|
1103
|
+
hasMore?: boolean | undefined;
|
|
1104
|
+
}>>;
|
|
1105
|
+
export declare const ScmNamespaceSchema: z.ZodObject<{
|
|
1106
|
+
externalId: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>, z.ZodString>;
|
|
1107
|
+
name: z.ZodString;
|
|
1108
|
+
fullPath: z.ZodString;
|
|
1109
|
+
parentExternalId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>, z.ZodString>>>;
|
|
1110
|
+
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1111
|
+
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1112
|
+
}, z.core.$strip>;
|
|
1113
|
+
export declare const ScmNamespacePageSchema: z.ZodPipe<z.ZodObject<{
|
|
1114
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1115
|
+
externalId: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>, z.ZodString>;
|
|
1116
|
+
name: z.ZodString;
|
|
1117
|
+
fullPath: z.ZodString;
|
|
1118
|
+
parentExternalId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>, z.ZodString>>>;
|
|
1119
|
+
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1120
|
+
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1121
|
+
}, z.core.$strip>>;
|
|
1122
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1123
|
+
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
1124
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
1125
|
+
items: {
|
|
1126
|
+
externalId: string;
|
|
1127
|
+
name: string;
|
|
1128
|
+
fullPath: string;
|
|
1129
|
+
parentExternalId?: string | null | undefined;
|
|
1130
|
+
webUrl?: string | null | undefined;
|
|
1131
|
+
visibility?: string | null | undefined;
|
|
1132
|
+
}[];
|
|
1133
|
+
nextCursor: string | null;
|
|
1134
|
+
hasMore: boolean;
|
|
1135
|
+
}, {
|
|
1136
|
+
items: {
|
|
1137
|
+
externalId: string;
|
|
1138
|
+
name: string;
|
|
1139
|
+
fullPath: string;
|
|
1140
|
+
parentExternalId?: string | null | undefined;
|
|
1141
|
+
webUrl?: string | null | undefined;
|
|
1142
|
+
visibility?: string | null | undefined;
|
|
927
1143
|
}[];
|
|
928
1144
|
nextCursor?: string | null | undefined;
|
|
929
1145
|
hasMore?: boolean | undefined;
|
|
930
1146
|
}>>;
|
|
1147
|
+
export declare const ScmRepositoryInitializationSchema: z.ZodEnum<{
|
|
1148
|
+
EMPTY: "EMPTY";
|
|
1149
|
+
README: "README";
|
|
1150
|
+
}>;
|
|
1151
|
+
export declare const ScmRepositoryVisibilitySchema: z.ZodEnum<{
|
|
1152
|
+
INTERNAL: "INTERNAL";
|
|
1153
|
+
PRIVATE: "PRIVATE";
|
|
1154
|
+
PUBLIC: "PUBLIC";
|
|
1155
|
+
}>;
|
|
1156
|
+
export declare const ScmRepositoryCreateInputSchema: z.ZodObject<{
|
|
1157
|
+
namespace: z.ZodString;
|
|
1158
|
+
name: z.ZodString;
|
|
1159
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
visibility: z.ZodEnum<{
|
|
1161
|
+
INTERNAL: "INTERNAL";
|
|
1162
|
+
PRIVATE: "PRIVATE";
|
|
1163
|
+
PUBLIC: "PUBLIC";
|
|
1164
|
+
}>;
|
|
1165
|
+
initialization: z.ZodEnum<{
|
|
1166
|
+
EMPTY: "EMPTY";
|
|
1167
|
+
README: "README";
|
|
1168
|
+
}>;
|
|
1169
|
+
}, z.core.$strict>;
|
|
931
1170
|
export declare const ScmAdminConnectionInputSchema: z.ZodObject<{
|
|
932
1171
|
code: z.ZodString;
|
|
933
1172
|
name: z.ZodString;
|
|
@@ -1157,6 +1396,10 @@ export type ScmProvider = z.infer<typeof ScmProviderSchema>;
|
|
|
1157
1396
|
export type ScmAuthType = z.infer<typeof ScmAuthTypeSchema>;
|
|
1158
1397
|
export type ScmConnection = z.infer<typeof ScmConnectionSchema>;
|
|
1159
1398
|
export type ScmRepository = z.infer<typeof ScmRepositorySchema>;
|
|
1399
|
+
export type ScmNamespace = z.infer<typeof ScmNamespaceSchema>;
|
|
1400
|
+
export type ScmRepositoryCreateInput = z.infer<typeof ScmRepositoryCreateInputSchema>;
|
|
1401
|
+
export type ScmRepositoryInitialization = z.infer<typeof ScmRepositoryInitializationSchema>;
|
|
1402
|
+
export type ScmRepositoryVisibility = z.infer<typeof ScmRepositoryVisibilitySchema>;
|
|
1160
1403
|
export type ScmAdminConnectionInput = z.infer<typeof ScmAdminConnectionInputSchema>;
|
|
1161
1404
|
export type ScmAdminConnection = z.infer<typeof ScmAdminConnectionSchema>;
|
|
1162
1405
|
export type GithubAppCredential = z.infer<typeof GithubAppCredentialSchema>;
|