dcdx 1.3.0-next.44 → 1.3.0-next.46

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 (37) hide show
  1. package/assets/versions.json +1 -1
  2. package/lib/commands/apt.js +217 -8995
  3. package/lib/commands/build.js +394 -9008
  4. package/lib/commands/configure.js +560 -0
  5. package/lib/commands/database.js +15 -8968
  6. package/lib/commands/debug.js +774 -9019
  7. package/lib/commands/install.js +463 -9587
  8. package/lib/commands/reset.js +413 -8975
  9. package/lib/commands/run.js +467 -9006
  10. package/lib/commands/stop.js +413 -8975
  11. package/lib/commands/update.js +7 -8957
  12. package/lib/index.js +33 -2
  13. package/lib/types/src/applications/base.d.ts +2 -0
  14. package/lib/types/src/apt/helpers/downloadFile.d.ts +1 -0
  15. package/lib/types/src/apt/helpers/getRunForStage.d.ts +1 -1
  16. package/lib/types/src/apt/helpers/getUrlByAppKey.d.ts +1 -0
  17. package/lib/types/src/apt/helpers/installAppInCluster.d.ts +2 -0
  18. package/lib/types/src/commands/configure.d.ts +2 -0
  19. package/lib/types/src/helpers/ActionHandler.d.ts +1 -40
  20. package/lib/types/src/helpers/getConfig.d.ts +2 -0
  21. package/lib/types/src/helpers/getMainArtifactFromOBR.d.ts +1 -0
  22. package/lib/types/src/helpers/installFromMPAC.d.ts +2 -0
  23. package/lib/types/src/helpers/installFromURL.d.ts +2 -0
  24. package/lib/types/src/helpers/installWithQuickReload.d.ts +2 -0
  25. package/lib/types/src/helpers/setupHost.d.ts +3 -0
  26. package/lib/types/src/helpers/validateAtlassianPlugin.d.ts +4 -0
  27. package/lib/types/src/types/AMPS.d.ts +12 -0
  28. package/lib/types/src/types/Application.d.ts +6 -0
  29. package/lib/types/src/types/Config.d.ts +328 -0
  30. package/lib/types/src/types/Configure.d.ts +145 -0
  31. package/lib/types/src/types/DCAPT.d.ts +135 -36
  32. package/lib/types/src/types/FileWatcher.d.ts +3 -0
  33. package/lib/types/src/types/Install.d.ts +179 -39
  34. package/package.json +1 -1
  35. package/lib/types/src/apt/helpers/downloadApp.d.ts +0 -1
  36. package/lib/types/src/apt/helpers/installApp.d.ts +0 -2
  37. package/lib/types/src/helpers/Installer.d.ts +0 -3
@@ -51,7 +51,6 @@ export declare const APTProvisionOptions: z.ZodObject<{
51
51
  license: z.ZodOptional<z.ZodString>;
52
52
  nodes: z.ZodOptional<z.ZodNumber>;
53
53
  force: z.ZodOptional<z.ZodBoolean>;
54
- appKey: z.ZodOptional<z.ZodString>;
55
54
  }, "strip", z.ZodTypeAny, {
56
55
  cwd: string;
57
56
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
@@ -59,7 +58,6 @@ export declare const APTProvisionOptions: z.ZodObject<{
59
58
  license?: string | undefined;
60
59
  nodes?: number | undefined;
61
60
  force?: boolean | undefined;
62
- appKey?: string | undefined;
63
61
  }, {
64
62
  cwd: string;
65
63
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
@@ -67,7 +65,6 @@ export declare const APTProvisionOptions: z.ZodObject<{
67
65
  license?: string | undefined;
68
66
  nodes?: number | undefined;
69
67
  force?: boolean | undefined;
70
- appKey?: string | undefined;
71
68
  }>;
72
69
  export declare const APTPerformanceTestArgs: z.ZodObject<{
73
70
  cwd: z.ZodString;
@@ -75,8 +72,9 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
75
72
  environment: z.ZodString;
76
73
  license: z.ZodOptional<z.ZodString>;
77
74
  force: z.ZodOptional<z.ZodBoolean>;
78
- appKey: z.ZodString;
79
75
  outputDir: z.ZodOptional<z.ZodString>;
76
+ appKey: z.ZodOptional<z.ZodString>;
77
+ archive: z.ZodOptional<z.ZodString>;
80
78
  appLicense: z.ZodString;
81
79
  restartAfterInstall: z.ZodOptional<z.ZodBoolean>;
82
80
  timestamp: z.ZodOptional<z.ZodString>;
@@ -84,36 +82,39 @@ export declare const APTPerformanceTestArgs: z.ZodObject<{
84
82
  cwd: string;
85
83
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
86
84
  environment: string;
87
- appKey: string;
88
85
  appLicense: string;
89
86
  license?: string | undefined;
90
87
  force?: boolean | undefined;
91
88
  outputDir?: string | undefined;
89
+ appKey?: string | undefined;
90
+ archive?: string | undefined;
92
91
  restartAfterInstall?: boolean | undefined;
93
92
  timestamp?: string | undefined;
94
93
  }, {
95
94
  cwd: string;
96
95
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
97
96
  environment: string;
98
- appKey: string;
99
97
  appLicense: string;
100
98
  license?: string | undefined;
101
99
  force?: boolean | undefined;
102
100
  outputDir?: string | undefined;
101
+ appKey?: string | undefined;
102
+ archive?: string | undefined;
103
103
  restartAfterInstall?: boolean | undefined;
104
104
  timestamp?: string | undefined;
105
105
  }>;
106
- export declare const APTPerformanceTestOptions: z.ZodObject<{
106
+ export declare const APTPerformanceTestOptions: z.ZodEffects<z.ZodObject<{
107
107
  cwd: z.ZodString;
108
108
  product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
109
+ baseUrl: z.ZodOptional<z.ZodString>;
109
110
  environment: z.ZodString;
110
111
  license: z.ZodString;
111
112
  force: z.ZodOptional<z.ZodBoolean>;
112
- appKey: z.ZodOptional<z.ZodString>;
113
113
  outputDir: z.ZodString;
114
+ appKey: z.ZodOptional<z.ZodString>;
115
+ archive: z.ZodOptional<z.ZodString>;
114
116
  appLicense: z.ZodOptional<z.ZodString>;
115
117
  restartAfterInstall: z.ZodOptional<z.ZodBoolean>;
116
- baseUrl: z.ZodOptional<z.ZodString>;
117
118
  aws_access_key_id: z.ZodOptional<z.ZodString>;
118
119
  aws_secret_access_key: z.ZodOptional<z.ZodString>;
119
120
  }, "strip", z.ZodTypeAny, {
@@ -122,11 +123,12 @@ export declare const APTPerformanceTestOptions: z.ZodObject<{
122
123
  environment: string;
123
124
  license: string;
124
125
  outputDir: string;
126
+ baseUrl?: string | undefined;
125
127
  force?: boolean | undefined;
126
128
  appKey?: string | undefined;
129
+ archive?: string | undefined;
127
130
  appLicense?: string | undefined;
128
131
  restartAfterInstall?: boolean | undefined;
129
- baseUrl?: string | undefined;
130
132
  aws_access_key_id?: string | undefined;
131
133
  aws_secret_access_key?: string | undefined;
132
134
  }, {
@@ -135,11 +137,40 @@ export declare const APTPerformanceTestOptions: z.ZodObject<{
135
137
  environment: string;
136
138
  license: string;
137
139
  outputDir: string;
140
+ baseUrl?: string | undefined;
141
+ force?: boolean | undefined;
142
+ appKey?: string | undefined;
143
+ archive?: string | undefined;
144
+ appLicense?: string | undefined;
145
+ restartAfterInstall?: boolean | undefined;
146
+ aws_access_key_id?: string | undefined;
147
+ aws_secret_access_key?: string | undefined;
148
+ }>, {
149
+ cwd: string;
150
+ product: "jira" | "confluence" | "bitbucket" | "bamboo";
151
+ environment: string;
152
+ license: string;
153
+ outputDir: string;
154
+ baseUrl?: string | undefined;
138
155
  force?: boolean | undefined;
139
156
  appKey?: string | undefined;
157
+ archive?: string | undefined;
140
158
  appLicense?: string | undefined;
141
159
  restartAfterInstall?: boolean | undefined;
160
+ aws_access_key_id?: string | undefined;
161
+ aws_secret_access_key?: string | undefined;
162
+ }, {
163
+ cwd: string;
164
+ product: "jira" | "confluence" | "bitbucket" | "bamboo";
165
+ environment: string;
166
+ license: string;
167
+ outputDir: string;
142
168
  baseUrl?: string | undefined;
169
+ force?: boolean | undefined;
170
+ appKey?: string | undefined;
171
+ archive?: string | undefined;
172
+ appLicense?: string | undefined;
173
+ restartAfterInstall?: boolean | undefined;
143
174
  aws_access_key_id?: string | undefined;
144
175
  aws_secret_access_key?: string | undefined;
145
176
  }>;
@@ -190,8 +221,9 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
190
221
  environment: z.ZodString;
191
222
  license: z.ZodOptional<z.ZodString>;
192
223
  force: z.ZodOptional<z.ZodBoolean>;
193
- appKey: z.ZodString;
194
224
  outputDir: z.ZodOptional<z.ZodString>;
225
+ appKey: z.ZodOptional<z.ZodString>;
226
+ archive: z.ZodOptional<z.ZodString>;
195
227
  appLicense: z.ZodOptional<z.ZodString>;
196
228
  restartAfterInstall: z.ZodOptional<z.ZodBoolean>;
197
229
  timestamp: z.ZodOptional<z.ZodString>;
@@ -199,10 +231,11 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
199
231
  cwd: string;
200
232
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
201
233
  environment: string;
202
- appKey: string;
203
234
  license?: string | undefined;
204
235
  force?: boolean | undefined;
205
236
  outputDir?: string | undefined;
237
+ appKey?: string | undefined;
238
+ archive?: string | undefined;
206
239
  appLicense?: string | undefined;
207
240
  restartAfterInstall?: boolean | undefined;
208
241
  timestamp?: string | undefined;
@@ -210,22 +243,24 @@ export declare const APTScalabilityTestArgs: z.ZodObject<{
210
243
  cwd: string;
211
244
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
212
245
  environment: string;
213
- appKey: string;
214
246
  license?: string | undefined;
215
247
  force?: boolean | undefined;
216
248
  outputDir?: string | undefined;
249
+ appKey?: string | undefined;
250
+ archive?: string | undefined;
217
251
  appLicense?: string | undefined;
218
252
  restartAfterInstall?: boolean | undefined;
219
253
  timestamp?: string | undefined;
220
254
  }>;
221
- export declare const APTScalabilityTestOptions: z.ZodObject<{
255
+ export declare const APTScalabilityTestOptions: z.ZodEffects<z.ZodObject<{
222
256
  cwd: z.ZodString;
223
257
  product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
224
258
  environment: z.ZodString;
225
259
  license: z.ZodString;
226
260
  force: z.ZodOptional<z.ZodBoolean>;
227
- appKey: z.ZodOptional<z.ZodString>;
228
261
  outputDir: z.ZodString;
262
+ appKey: z.ZodOptional<z.ZodString>;
263
+ archive: z.ZodOptional<z.ZodString>;
229
264
  appLicense: z.ZodOptional<z.ZodString>;
230
265
  restartAfterInstall: z.ZodOptional<z.ZodBoolean>;
231
266
  }, "strip", z.ZodTypeAny, {
@@ -236,6 +271,7 @@ export declare const APTScalabilityTestOptions: z.ZodObject<{
236
271
  outputDir: string;
237
272
  force?: boolean | undefined;
238
273
  appKey?: string | undefined;
274
+ archive?: string | undefined;
239
275
  appLicense?: string | undefined;
240
276
  restartAfterInstall?: boolean | undefined;
241
277
  }, {
@@ -246,6 +282,29 @@ export declare const APTScalabilityTestOptions: z.ZodObject<{
246
282
  outputDir: string;
247
283
  force?: boolean | undefined;
248
284
  appKey?: string | undefined;
285
+ archive?: string | undefined;
286
+ appLicense?: string | undefined;
287
+ restartAfterInstall?: boolean | undefined;
288
+ }>, {
289
+ cwd: string;
290
+ product: "jira" | "confluence" | "bitbucket" | "bamboo";
291
+ environment: string;
292
+ license: string;
293
+ outputDir: string;
294
+ force?: boolean | undefined;
295
+ appKey?: string | undefined;
296
+ archive?: string | undefined;
297
+ appLicense?: string | undefined;
298
+ restartAfterInstall?: boolean | undefined;
299
+ }, {
300
+ cwd: string;
301
+ product: "jira" | "confluence" | "bitbucket" | "bamboo";
302
+ environment: string;
303
+ license: string;
304
+ outputDir: string;
305
+ force?: boolean | undefined;
306
+ appKey?: string | undefined;
307
+ archive?: string | undefined;
249
308
  appLicense?: string | undefined;
250
309
  restartAfterInstall?: boolean | undefined;
251
310
  }>;
@@ -383,55 +442,95 @@ export declare const APTRestartOptions: z.ZodObject<z.objectUtil.extendShape<{
383
442
  }>;
384
443
  export declare const APTDependencyTreeArgs: z.ZodObject<{
385
444
  activateProfiles: z.ZodOptional<z.ZodString>;
386
- appKey: z.ZodString;
445
+ appKey: z.ZodOptional<z.ZodString>;
446
+ archive: z.ZodOptional<z.ZodString>;
387
447
  outputFile: z.ZodOptional<z.ZodString>;
388
448
  }, "strip", z.ZodTypeAny, {
389
- appKey: string;
390
449
  activateProfiles?: string | undefined;
450
+ appKey?: string | undefined;
451
+ archive?: string | undefined;
391
452
  outputFile?: string | undefined;
392
453
  }, {
393
- appKey: string;
394
454
  activateProfiles?: string | undefined;
455
+ appKey?: string | undefined;
456
+ archive?: string | undefined;
395
457
  outputFile?: string | undefined;
396
458
  }>;
397
- export declare const APTDependencyTreeOptions: z.ZodObject<{
459
+ export declare const APTDependencyTreeOptions: z.ZodEffects<z.ZodObject<{
398
460
  activateProfiles: z.ZodOptional<z.ZodString>;
399
- appKey: z.ZodString;
461
+ appKey: z.ZodOptional<z.ZodString>;
462
+ archive: z.ZodOptional<z.ZodString>;
400
463
  outputFile: z.ZodString;
401
464
  }, "strip", z.ZodTypeAny, {
402
- appKey: string;
403
465
  outputFile: string;
404
466
  activateProfiles?: string | undefined;
467
+ appKey?: string | undefined;
468
+ archive?: string | undefined;
405
469
  }, {
406
- appKey: string;
407
470
  outputFile: string;
408
471
  activateProfiles?: string | undefined;
472
+ appKey?: string | undefined;
473
+ archive?: string | undefined;
474
+ }>, {
475
+ outputFile: string;
476
+ activateProfiles?: string | undefined;
477
+ appKey?: string | undefined;
478
+ archive?: string | undefined;
479
+ }, {
480
+ outputFile: string;
481
+ activateProfiles?: string | undefined;
482
+ appKey?: string | undefined;
483
+ archive?: string | undefined;
409
484
  }>;
410
485
  export declare const APTSCAArgs: z.ZodObject<{
411
- appKey: z.ZodString;
412
486
  outputDir: z.ZodOptional<z.ZodString>;
487
+ appKey: z.ZodOptional<z.ZodString>;
488
+ archive: z.ZodOptional<z.ZodString>;
413
489
  nvdApiKey: z.ZodString;
490
+ dataDir: z.ZodOptional<z.ZodString>;
414
491
  }, "strip", z.ZodTypeAny, {
415
- appKey: string;
416
492
  nvdApiKey: string;
417
493
  outputDir?: string | undefined;
494
+ appKey?: string | undefined;
495
+ archive?: string | undefined;
496
+ dataDir?: string | undefined;
418
497
  }, {
419
- appKey: string;
420
498
  nvdApiKey: string;
421
499
  outputDir?: string | undefined;
500
+ appKey?: string | undefined;
501
+ archive?: string | undefined;
502
+ dataDir?: string | undefined;
422
503
  }>;
423
- export declare const APTSCAOptions: z.ZodObject<{
424
- nvdApiKey: z.ZodString;
425
- appKey: z.ZodString;
504
+ export declare const APTSCAOptions: z.ZodEffects<z.ZodObject<{
426
505
  outputDir: z.ZodString;
506
+ appKey: z.ZodOptional<z.ZodString>;
507
+ archive: z.ZodOptional<z.ZodString>;
508
+ nvdApiKey: z.ZodString;
509
+ dataDir: z.ZodOptional<z.ZodString>;
427
510
  }, "strip", z.ZodTypeAny, {
428
- appKey: string;
429
511
  outputDir: string;
430
512
  nvdApiKey: string;
513
+ appKey?: string | undefined;
514
+ archive?: string | undefined;
515
+ dataDir?: string | undefined;
431
516
  }, {
432
- appKey: string;
433
517
  outputDir: string;
434
518
  nvdApiKey: string;
519
+ appKey?: string | undefined;
520
+ archive?: string | undefined;
521
+ dataDir?: string | undefined;
522
+ }>, {
523
+ outputDir: string;
524
+ nvdApiKey: string;
525
+ appKey?: string | undefined;
526
+ archive?: string | undefined;
527
+ dataDir?: string | undefined;
528
+ }, {
529
+ outputDir: string;
530
+ nvdApiKey: string;
531
+ appKey?: string | undefined;
532
+ archive?: string | undefined;
533
+ dataDir?: string | undefined;
435
534
  }>;
436
535
  export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
437
536
  cwd: z.ZodString;
@@ -440,7 +539,6 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
440
539
  license: z.ZodOptional<z.ZodString>;
441
540
  nodes: z.ZodOptional<z.ZodNumber>;
442
541
  force: z.ZodOptional<z.ZodBoolean>;
443
- appKey: z.ZodOptional<z.ZodString>;
444
542
  }, "strip", z.ZodTypeAny, {
445
543
  cwd: string;
446
544
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
@@ -448,7 +546,6 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
448
546
  license?: string | undefined;
449
547
  nodes?: number | undefined;
450
548
  force?: boolean | undefined;
451
- appKey?: string | undefined;
452
549
  }, {
453
550
  cwd: string;
454
551
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
@@ -456,15 +553,15 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
456
553
  license?: string | undefined;
457
554
  nodes?: number | undefined;
458
555
  force?: boolean | undefined;
459
- appKey?: string | undefined;
460
556
  }>, z.ZodObject<{
461
557
  cwd: z.ZodString;
462
558
  product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
463
559
  environment: z.ZodString;
464
560
  license: z.ZodOptional<z.ZodString>;
465
561
  force: z.ZodOptional<z.ZodBoolean>;
466
- appKey: z.ZodString;
467
562
  outputDir: z.ZodOptional<z.ZodString>;
563
+ appKey: z.ZodOptional<z.ZodString>;
564
+ archive: z.ZodOptional<z.ZodString>;
468
565
  appLicense: z.ZodString;
469
566
  restartAfterInstall: z.ZodOptional<z.ZodBoolean>;
470
567
  timestamp: z.ZodOptional<z.ZodString>;
@@ -472,22 +569,24 @@ export declare const APTArgs: z.ZodIntersection<z.ZodObject<{
472
569
  cwd: string;
473
570
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
474
571
  environment: string;
475
- appKey: string;
476
572
  appLicense: string;
477
573
  license?: string | undefined;
478
574
  force?: boolean | undefined;
479
575
  outputDir?: string | undefined;
576
+ appKey?: string | undefined;
577
+ archive?: string | undefined;
480
578
  restartAfterInstall?: boolean | undefined;
481
579
  timestamp?: string | undefined;
482
580
  }, {
483
581
  cwd: string;
484
582
  product: "jira" | "confluence" | "bitbucket" | "bamboo";
485
583
  environment: string;
486
- appKey: string;
487
584
  appLicense: string;
488
585
  license?: string | undefined;
489
586
  force?: boolean | undefined;
490
587
  outputDir?: string | undefined;
588
+ appKey?: string | undefined;
589
+ archive?: string | undefined;
491
590
  restartAfterInstall?: boolean | undefined;
492
591
  timestamp?: string | undefined;
493
592
  }>>;
@@ -8,6 +8,7 @@ export declare const FileWatcherOptions: z.ZodObject<{
8
8
  outputDirectory: z.ZodOptional<z.ZodString>;
9
9
  activateProfiles: z.ZodOptional<z.ZodString>;
10
10
  cwd: z.ZodOptional<z.ZodString>;
11
+ baseUrl: z.ZodOptional<z.ZodString>;
11
12
  exec: z.ZodOptional<z.ZodString>;
12
13
  obr: z.ZodOptional<z.ZodBoolean>;
13
14
  }, "strip", z.ZodTypeAny, {
@@ -19,6 +20,7 @@ export declare const FileWatcherOptions: z.ZodObject<{
19
20
  outputDirectory?: string | undefined;
20
21
  activateProfiles?: string | undefined;
21
22
  cwd?: string | undefined;
23
+ baseUrl?: string | undefined;
22
24
  exec?: string | undefined;
23
25
  obr?: boolean | undefined;
24
26
  }, {
@@ -30,6 +32,7 @@ export declare const FileWatcherOptions: z.ZodObject<{
30
32
  outputDirectory?: string | undefined;
31
33
  activateProfiles?: string | undefined;
32
34
  cwd?: string | undefined;
35
+ baseUrl?: string | undefined;
33
36
  exec?: string | undefined;
34
37
  obr?: boolean | undefined;
35
38
  }>;
@@ -1,52 +1,16 @@
1
1
  import { z } from 'zod';
2
- export declare const InstallArgs: z.ZodObject<{
3
- username: z.ZodOptional<z.ZodString>;
4
- password: z.ZodOptional<z.ZodString>;
5
- watch: z.ZodBoolean;
6
- outputDirectory: z.ZodOptional<z.ZodString>;
7
- activateProfiles: z.ZodOptional<z.ZodString>;
8
- cwd: z.ZodOptional<z.ZodString>;
9
- license: z.ZodString;
10
- appKey: z.ZodOptional<z.ZodString>;
11
- baseUrl: z.ZodOptional<z.ZodString>;
12
- obr: z.ZodOptional<z.ZodBoolean>;
13
- mpac: z.ZodOptional<z.ZodBoolean>;
14
- }, "strip", z.ZodTypeAny, {
15
- watch: boolean;
16
- license: string;
17
- username?: string | undefined;
18
- password?: string | undefined;
19
- outputDirectory?: string | undefined;
20
- activateProfiles?: string | undefined;
21
- cwd?: string | undefined;
22
- appKey?: string | undefined;
23
- baseUrl?: string | undefined;
24
- obr?: boolean | undefined;
25
- mpac?: boolean | undefined;
26
- }, {
27
- watch: boolean;
28
- license: string;
29
- username?: string | undefined;
30
- password?: string | undefined;
31
- outputDirectory?: string | undefined;
32
- activateProfiles?: string | undefined;
33
- cwd?: string | undefined;
34
- appKey?: string | undefined;
35
- baseUrl?: string | undefined;
36
- obr?: boolean | undefined;
37
- mpac?: boolean | undefined;
38
- }>;
39
2
  export declare const InstallOptions: z.ZodObject<{
40
3
  username: z.ZodOptional<z.ZodString>;
41
4
  password: z.ZodOptional<z.ZodString>;
42
5
  cwd: z.ZodOptional<z.ZodString>;
43
6
  product: z.ZodOptional<z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>>;
7
+ baseUrl: z.ZodString;
44
8
  environment: z.ZodOptional<z.ZodString>;
45
9
  license: z.ZodOptional<z.ZodString>;
46
10
  force: z.ZodOptional<z.ZodBoolean>;
47
11
  appKey: z.ZodOptional<z.ZodString>;
12
+ archive: z.ZodOptional<z.ZodString>;
48
13
  restartAfterInstall: z.ZodOptional<z.ZodBoolean>;
49
- baseUrl: z.ZodString;
50
14
  aws_access_key_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
51
15
  aws_secret_access_key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
52
16
  }, "strip", z.ZodTypeAny, {
@@ -59,6 +23,7 @@ export declare const InstallOptions: z.ZodObject<{
59
23
  license?: string | undefined;
60
24
  force?: boolean | undefined;
61
25
  appKey?: string | undefined;
26
+ archive?: string | undefined;
62
27
  restartAfterInstall?: boolean | undefined;
63
28
  aws_access_key_id?: string | undefined;
64
29
  aws_secret_access_key?: string | undefined;
@@ -72,9 +37,184 @@ export declare const InstallOptions: z.ZodObject<{
72
37
  license?: string | undefined;
73
38
  force?: boolean | undefined;
74
39
  appKey?: string | undefined;
40
+ archive?: string | undefined;
75
41
  restartAfterInstall?: boolean | undefined;
76
42
  aws_access_key_id?: string | undefined;
77
43
  aws_secret_access_key?: string | undefined;
78
44
  }>;
79
- export type TInstallArgs = z.infer<typeof InstallArgs>;
45
+ export declare const InstallFromAMPSArgs: z.ZodObject<{
46
+ username: z.ZodOptional<z.ZodString>;
47
+ password: z.ZodOptional<z.ZodString>;
48
+ watch: z.ZodOptional<z.ZodBoolean>;
49
+ outputDirectory: z.ZodOptional<z.ZodString>;
50
+ activateProfiles: z.ZodOptional<z.ZodString>;
51
+ cwd: z.ZodOptional<z.ZodString>;
52
+ baseUrl: z.ZodOptional<z.ZodString>;
53
+ license: z.ZodOptional<z.ZodString>;
54
+ obr: z.ZodOptional<z.ZodBoolean>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ username?: string | undefined;
57
+ password?: string | undefined;
58
+ watch?: boolean | undefined;
59
+ outputDirectory?: string | undefined;
60
+ activateProfiles?: string | undefined;
61
+ cwd?: string | undefined;
62
+ baseUrl?: string | undefined;
63
+ license?: string | undefined;
64
+ obr?: boolean | undefined;
65
+ }, {
66
+ username?: string | undefined;
67
+ password?: string | undefined;
68
+ watch?: boolean | undefined;
69
+ outputDirectory?: string | undefined;
70
+ activateProfiles?: string | undefined;
71
+ cwd?: string | undefined;
72
+ baseUrl?: string | undefined;
73
+ license?: string | undefined;
74
+ obr?: boolean | undefined;
75
+ }>;
76
+ export declare const InstallFromAMPSOptions: z.ZodObject<{
77
+ watch: z.ZodBoolean;
78
+ outputDirectory: z.ZodString;
79
+ obr: z.ZodBoolean;
80
+ baseUrl: z.ZodString;
81
+ username: z.ZodString;
82
+ password: z.ZodString;
83
+ license: z.ZodString;
84
+ activateProfiles: z.ZodString;
85
+ cwd: z.ZodString;
86
+ }, "strip", z.ZodTypeAny, {
87
+ username: string;
88
+ password: string;
89
+ watch: boolean;
90
+ outputDirectory: string;
91
+ activateProfiles: string;
92
+ cwd: string;
93
+ baseUrl: string;
94
+ license: string;
95
+ obr: boolean;
96
+ }, {
97
+ username: string;
98
+ password: string;
99
+ watch: boolean;
100
+ outputDirectory: string;
101
+ activateProfiles: string;
102
+ cwd: string;
103
+ baseUrl: string;
104
+ license: string;
105
+ obr: boolean;
106
+ }>;
107
+ export declare const InstallFromMPACArgs: z.ZodObject<{
108
+ username: z.ZodOptional<z.ZodString>;
109
+ password: z.ZodOptional<z.ZodString>;
110
+ baseUrl: z.ZodOptional<z.ZodString>;
111
+ license: z.ZodOptional<z.ZodString>;
112
+ appKey: z.ZodString;
113
+ }, "strip", z.ZodTypeAny, {
114
+ appKey: string;
115
+ username?: string | undefined;
116
+ password?: string | undefined;
117
+ baseUrl?: string | undefined;
118
+ license?: string | undefined;
119
+ }, {
120
+ appKey: string;
121
+ username?: string | undefined;
122
+ password?: string | undefined;
123
+ baseUrl?: string | undefined;
124
+ license?: string | undefined;
125
+ }>;
126
+ export declare const InstallFromMPACOptions: z.ZodObject<{
127
+ appKey: z.ZodString;
128
+ baseUrl: z.ZodString;
129
+ username: z.ZodString;
130
+ password: z.ZodString;
131
+ license: z.ZodString;
132
+ }, "strip", z.ZodTypeAny, {
133
+ username: string;
134
+ password: string;
135
+ baseUrl: string;
136
+ license: string;
137
+ appKey: string;
138
+ }, {
139
+ username: string;
140
+ password: string;
141
+ baseUrl: string;
142
+ license: string;
143
+ appKey: string;
144
+ }>;
145
+ export declare const InstallFromURLArgs: z.ZodObject<{
146
+ path: z.ZodString;
147
+ username: z.ZodOptional<z.ZodString>;
148
+ password: z.ZodOptional<z.ZodString>;
149
+ baseUrl: z.ZodOptional<z.ZodString>;
150
+ license: z.ZodOptional<z.ZodString>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ path: string;
153
+ username?: string | undefined;
154
+ password?: string | undefined;
155
+ baseUrl?: string | undefined;
156
+ license?: string | undefined;
157
+ }, {
158
+ path: string;
159
+ username?: string | undefined;
160
+ password?: string | undefined;
161
+ baseUrl?: string | undefined;
162
+ license?: string | undefined;
163
+ }>;
164
+ export declare const InstallFromURLOptions: z.ZodObject<{
165
+ path: z.ZodOptional<z.ZodString>;
166
+ baseUrl: z.ZodOptional<z.ZodString>;
167
+ username: z.ZodOptional<z.ZodString>;
168
+ password: z.ZodOptional<z.ZodString>;
169
+ license: z.ZodOptional<z.ZodString>;
170
+ verbose: z.ZodOptional<z.ZodBoolean>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ path?: string | undefined;
173
+ username?: string | undefined;
174
+ password?: string | undefined;
175
+ verbose?: boolean | undefined;
176
+ baseUrl?: string | undefined;
177
+ license?: string | undefined;
178
+ }, {
179
+ path?: string | undefined;
180
+ username?: string | undefined;
181
+ password?: string | undefined;
182
+ verbose?: boolean | undefined;
183
+ baseUrl?: string | undefined;
184
+ license?: string | undefined;
185
+ }>;
186
+ export declare const InstallWithQuickReloadOptions: z.ZodObject<z.objectUtil.extendShape<{
187
+ path: z.ZodOptional<z.ZodString>;
188
+ baseUrl: z.ZodOptional<z.ZodString>;
189
+ username: z.ZodOptional<z.ZodString>;
190
+ password: z.ZodOptional<z.ZodString>;
191
+ license: z.ZodOptional<z.ZodString>;
192
+ verbose: z.ZodOptional<z.ZodBoolean>;
193
+ }, {
194
+ path: z.ZodString;
195
+ product: z.ZodEnum<["jira", "confluence", "bitbucket", "bamboo"]>;
196
+ }>, "strip", z.ZodTypeAny, {
197
+ path: string;
198
+ product: "jira" | "confluence" | "bitbucket" | "bamboo";
199
+ username?: string | undefined;
200
+ password?: string | undefined;
201
+ verbose?: boolean | undefined;
202
+ baseUrl?: string | undefined;
203
+ license?: string | undefined;
204
+ }, {
205
+ path: string;
206
+ product: "jira" | "confluence" | "bitbucket" | "bamboo";
207
+ username?: string | undefined;
208
+ password?: string | undefined;
209
+ verbose?: boolean | undefined;
210
+ baseUrl?: string | undefined;
211
+ license?: string | undefined;
212
+ }>;
80
213
  export type TInstallOptions = z.infer<typeof InstallOptions>;
214
+ export type TInstallFromAMPSArgs = z.infer<typeof InstallFromAMPSArgs>;
215
+ export type TInstallFromAMPSOptions = z.infer<typeof InstallFromAMPSOptions>;
216
+ export type TInstallFromMPACArgs = z.infer<typeof InstallFromMPACArgs>;
217
+ export type TInstallFromMPACOptions = z.infer<typeof InstallFromMPACOptions>;
218
+ export type TInstallFromURLArgs = z.infer<typeof InstallFromURLArgs>;
219
+ export type TInstallFromURLOptions = z.infer<typeof InstallFromURLOptions>;
220
+ export type TInstallWithQuickReloadOptions = z.infer<typeof InstallWithQuickReloadOptions>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcdx",
3
- "version": "1.3.0-next.44",
3
+ "version": "1.3.0-next.46",
4
4
  "author": "Collabsoft <info@collabsoft.net>",
5
5
  "description": "The Unofficial CLI for Atlassian Data Center Plugin Development",
6
6
  "type": "module",
@@ -1 +0,0 @@
1
- export declare const downloadApp: (addonKey: string) => Promise<string>;
@@ -1,2 +0,0 @@
1
- import { TInstallOptions } from '../../types/Install';
2
- export declare const installApp: (options: TInstallOptions) => Promise<void>;
@@ -1,3 +0,0 @@
1
- import { TSupportedApplications } from '../types/Application';
2
- import { TInstallerOptions } from '../types/Installer';
3
- export declare const Installer: (name: TSupportedApplications, path: string, options: TInstallerOptions) => Promise<void>;