@dokploy/cli 0.29.2 → 0.29.4

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.
@@ -32,6 +32,24 @@ export function registerGeneratedCommands(program) {
32
32
  }
33
33
  });
34
34
  const g_ai = program.command('ai').description('ai commands');
35
+ g_ai
36
+ .command('analyze-logs')
37
+ .description('ai analyzeLogs')
38
+ .requiredOption('--aiId <value>', 'aiId')
39
+ .requiredOption('--logs <value>', 'logs')
40
+ .requiredOption('--context <value>', 'context (build, runtime)')
41
+ .option('--json', 'Output raw JSON')
42
+ .action(async (opts) => {
43
+ const jsonOutput = opts.json;
44
+ delete opts.json;
45
+ const data = await apiPost("ai.analyzeLogs", opts);
46
+ if (jsonOutput) {
47
+ console.log(JSON.stringify(data, null, 2));
48
+ }
49
+ else {
50
+ printOutput(data);
51
+ }
52
+ });
35
53
  g_ai
36
54
  .command('create')
37
55
  .description('ai create')
@@ -125,6 +143,21 @@ export function registerGeneratedCommands(program) {
125
143
  printOutput(data);
126
144
  }
127
145
  });
146
+ g_ai
147
+ .command('get-enabled-providers')
148
+ .description('ai getEnabledProviders')
149
+ .option('--json', 'Output raw JSON')
150
+ .action(async (opts) => {
151
+ const jsonOutput = opts.json;
152
+ delete opts.json;
153
+ const data = await apiGet("ai.getEnabledProviders", opts);
154
+ if (jsonOutput) {
155
+ console.log(JSON.stringify(data, null, 2));
156
+ }
157
+ else {
158
+ printOutput(data);
159
+ }
160
+ });
128
161
  g_ai
129
162
  .command('get-models')
130
163
  .description('ai getModels')
@@ -176,6 +209,24 @@ export function registerGeneratedCommands(program) {
176
209
  printOutput(data);
177
210
  }
178
211
  });
212
+ g_ai
213
+ .command('test-connection')
214
+ .description('ai testConnection')
215
+ .requiredOption('--apiUrl <value>', 'apiUrl')
216
+ .requiredOption('--apiKey <value>', 'apiKey')
217
+ .requiredOption('--model <value>', 'model')
218
+ .option('--json', 'Output raw JSON')
219
+ .action(async (opts) => {
220
+ const jsonOutput = opts.json;
221
+ delete opts.json;
222
+ const data = await apiPost("ai.testConnection", opts);
223
+ if (jsonOutput) {
224
+ console.log(JSON.stringify(data, null, 2));
225
+ }
226
+ else {
227
+ printOutput(data);
228
+ }
229
+ });
179
230
  g_ai
180
231
  .command('update')
181
232
  .description('ai update')
@@ -319,6 +370,21 @@ export function registerGeneratedCommands(program) {
319
370
  printOutput(data);
320
371
  }
321
372
  });
373
+ g_application
374
+ .command('drop-deployment')
375
+ .description('application dropDeployment')
376
+ .option('--json', 'Output raw JSON')
377
+ .action(async (opts) => {
378
+ const jsonOutput = opts.json;
379
+ delete opts.json;
380
+ const data = await apiPost("application.dropDeployment", opts);
381
+ if (jsonOutput) {
382
+ console.log(JSON.stringify(data, null, 2));
383
+ }
384
+ else {
385
+ printOutput(data);
386
+ }
387
+ });
322
388
  g_application
323
389
  .command('kill-build')
324
390
  .description('application killBuild')
@@ -400,6 +466,27 @@ export function registerGeneratedCommands(program) {
400
466
  printOutput(data);
401
467
  }
402
468
  });
469
+ g_application
470
+ .command('read-logs')
471
+ .description('application readLogs')
472
+ .requiredOption('--applicationId <value>', 'applicationId')
473
+ .option('--tail <value>', 'tail')
474
+ .option('--since <value>', 'since')
475
+ .option('--search <value>', 'search')
476
+ .option('--json', 'Output raw JSON')
477
+ .action(async (opts) => {
478
+ const jsonOutput = opts.json;
479
+ delete opts.json;
480
+ if (opts["tail"] != null)
481
+ opts["tail"] = Number(opts["tail"]);
482
+ const data = await apiGet("application.readLogs", opts);
483
+ if (jsonOutput) {
484
+ console.log(JSON.stringify(data, null, 2));
485
+ }
486
+ else {
487
+ printOutput(data);
488
+ }
489
+ });
403
490
  g_application
404
491
  .command('read-traefik-config')
405
492
  .description('application readTraefikConfig')
@@ -470,13 +557,13 @@ export function registerGeneratedCommands(program) {
470
557
  g_application
471
558
  .command('save-bitbucket-provider')
472
559
  .description('application saveBitbucketProvider')
473
- .requiredOption('--bitbucketBranch <value>', 'bitbucketBranch')
474
560
  .requiredOption('--bitbucketBuildPath <value>', 'bitbucketBuildPath')
475
561
  .requiredOption('--bitbucketOwner <value>', 'bitbucketOwner')
476
562
  .requiredOption('--bitbucketRepository <value>', 'bitbucketRepository')
477
563
  .requiredOption('--bitbucketRepositorySlug <value>', 'bitbucketRepositorySlug')
478
564
  .requiredOption('--bitbucketId <value>', 'bitbucketId')
479
565
  .requiredOption('--applicationId <value>', 'applicationId')
566
+ .requiredOption('--bitbucketBranch <value>', 'bitbucketBranch')
480
567
  .option('--enableSubmodules', 'enableSubmodules')
481
568
  .option('--watchPaths <value>', 'watchPaths')
482
569
  .option('--json', 'Output raw JSON')
@@ -565,11 +652,11 @@ export function registerGeneratedCommands(program) {
565
652
  .command('save-gitea-provider')
566
653
  .description('application saveGiteaProvider')
567
654
  .requiredOption('--applicationId <value>', 'applicationId')
568
- .requiredOption('--giteaBranch <value>', 'giteaBranch')
569
655
  .requiredOption('--giteaBuildPath <value>', 'giteaBuildPath')
570
656
  .requiredOption('--giteaOwner <value>', 'giteaOwner')
571
657
  .requiredOption('--giteaRepository <value>', 'giteaRepository')
572
658
  .requiredOption('--giteaId <value>', 'giteaId')
659
+ .requiredOption('--giteaBranch <value>', 'giteaBranch')
573
660
  .option('--enableSubmodules', 'enableSubmodules')
574
661
  .option('--watchPaths <value>', 'watchPaths')
575
662
  .option('--json', 'Output raw JSON')
@@ -591,10 +678,10 @@ export function registerGeneratedCommands(program) {
591
678
  .description('application saveGithubProvider')
592
679
  .requiredOption('--applicationId <value>', 'applicationId')
593
680
  .requiredOption('--repository <value>', 'repository')
594
- .requiredOption('--branch <value>', 'branch')
595
681
  .requiredOption('--owner <value>', 'owner')
596
682
  .requiredOption('--buildPath <value>', 'buildPath')
597
683
  .requiredOption('--githubId <value>', 'githubId')
684
+ .requiredOption('--branch <value>', 'branch')
598
685
  .requiredOption('--triggerType <value>', 'triggerType (push, tag)')
599
686
  .option('--enableSubmodules', 'enableSubmodules')
600
687
  .option('--watchPaths <value>', 'watchPaths')
@@ -616,13 +703,13 @@ export function registerGeneratedCommands(program) {
616
703
  .command('save-gitlab-provider')
617
704
  .description('application saveGitlabProvider')
618
705
  .requiredOption('--applicationId <value>', 'applicationId')
619
- .requiredOption('--gitlabBranch <value>', 'gitlabBranch')
620
706
  .requiredOption('--gitlabBuildPath <value>', 'gitlabBuildPath')
621
707
  .requiredOption('--gitlabOwner <value>', 'gitlabOwner')
622
708
  .requiredOption('--gitlabRepository <value>', 'gitlabRepository')
623
709
  .requiredOption('--gitlabId <value>', 'gitlabId')
624
710
  .requiredOption('--gitlabProjectId <value>', 'gitlabProjectId')
625
711
  .requiredOption('--gitlabPathNamespace <value>', 'gitlabPathNamespace')
712
+ .requiredOption('--gitlabBranch <value>', 'gitlabBranch')
626
713
  .option('--enableSubmodules', 'enableSubmodules')
627
714
  .option('--watchPaths <value>', 'watchPaths')
628
715
  .option('--json', 'Output raw JSON')
@@ -644,12 +731,12 @@ export function registerGeneratedCommands(program) {
644
731
  g_application
645
732
  .command('save-git-provider')
646
733
  .description('application saveGitProvider')
647
- .requiredOption('--customGitBranch <value>', 'customGitBranch')
648
734
  .requiredOption('--applicationId <value>', 'applicationId')
649
735
  .requiredOption('--customGitBuildPath <value>', 'customGitBuildPath')
650
736
  .requiredOption('--customGitUrl <value>', 'customGitUrl')
651
737
  .requiredOption('--watchPaths <value>', 'watchPaths')
652
738
  .option('--enableSubmodules', 'enableSubmodules')
739
+ .requiredOption('--customGitBranch <value>', 'customGitBranch')
653
740
  .option('--customGitSSHKeyId <value>', 'customGitSSHKeyId')
654
741
  .option('--json', 'Output raw JSON')
655
742
  .action(async (opts) => {
@@ -761,6 +848,7 @@ export function registerGeneratedCommands(program) {
761
848
  .option('--subtitle <value>', 'subtitle')
762
849
  .option('--command <value>', 'command')
763
850
  .option('--args <value>', 'args')
851
+ .option('--icon <value>', 'icon')
764
852
  .option('--refreshToken <value>', 'refreshToken')
765
853
  .option('--sourceType <value>', 'sourceType (github, docker, git, gitlab, bitbucket, gitea, drop)')
766
854
  .option('--cleanCache', 'cleanCache')
@@ -884,6 +972,35 @@ export function registerGeneratedCommands(program) {
884
972
  printOutput(data);
885
973
  }
886
974
  });
975
+ const g_auditLog = program.command('audit-log').description('audit-log commands');
976
+ g_auditLog
977
+ .command('all')
978
+ .description('auditLog all')
979
+ .option('--userId <value>', 'userId')
980
+ .option('--userEmail <value>', 'userEmail')
981
+ .option('--resourceName <value>', 'resourceName')
982
+ .option('--action <value>', 'action (create, update, delete, deploy, cancel, redeploy, login, logout)')
983
+ .option('--resourceType <value>', 'resourceType (project, service, environment, deployment, user, customRole, domain, certificate, registry, server, sshKey, gitProvider, notification, settings, session)')
984
+ .option('--from <value>', 'from')
985
+ .option('--to <value>', 'to')
986
+ .option('--limit <value>', 'limit')
987
+ .option('--offset <value>', 'offset')
988
+ .option('--json', 'Output raw JSON')
989
+ .action(async (opts) => {
990
+ const jsonOutput = opts.json;
991
+ delete opts.json;
992
+ if (opts["limit"] != null)
993
+ opts["limit"] = Number(opts["limit"]);
994
+ if (opts["offset"] != null)
995
+ opts["offset"] = Number(opts["offset"]);
996
+ const data = await apiGet("auditLog.all", opts);
997
+ if (jsonOutput) {
998
+ console.log(JSON.stringify(data, null, 2));
999
+ }
1000
+ else {
1001
+ printOutput(data);
1002
+ }
1003
+ });
887
1004
  const g_backup = program.command('backup').description('backup commands');
888
1005
  g_backup
889
1006
  .command('create')
@@ -898,7 +1015,8 @@ export function registerGeneratedCommands(program) {
898
1015
  .option('--mysqlId <value>', 'mysqlId')
899
1016
  .option('--postgresId <value>', 'postgresId')
900
1017
  .option('--mongoId <value>', 'mongoId')
901
- .requiredOption('--databaseType <value>', 'databaseType (postgres, mariadb, mysql, mongo, web-server)')
1018
+ .option('--libsqlId <value>', 'libsqlId')
1019
+ .requiredOption('--databaseType <value>', 'databaseType (postgres, mariadb, mysql, mongo, web-server, libsql)')
902
1020
  .option('--userId <value>', 'userId')
903
1021
  .option('--backupType <value>', 'backupType (database, compose)')
904
1022
  .option('--composeId <value>', 'composeId')
@@ -954,6 +1072,22 @@ export function registerGeneratedCommands(program) {
954
1072
  printOutput(data);
955
1073
  }
956
1074
  });
1075
+ g_backup
1076
+ .command('manual-backup-libsql')
1077
+ .description('backup manualBackupLibsql')
1078
+ .requiredOption('--backupId <value>', 'backupId')
1079
+ .option('--json', 'Output raw JSON')
1080
+ .action(async (opts) => {
1081
+ const jsonOutput = opts.json;
1082
+ delete opts.json;
1083
+ const data = await apiPost("backup.manualBackupLibsql", opts);
1084
+ if (jsonOutput) {
1085
+ console.log(JSON.stringify(data, null, 2));
1086
+ }
1087
+ else {
1088
+ printOutput(data);
1089
+ }
1090
+ });
957
1091
  g_backup
958
1092
  .command('manual-backup-mariadb')
959
1093
  .description('backup manualBackupMariadb')
@@ -1078,7 +1212,7 @@ export function registerGeneratedCommands(program) {
1078
1212
  .requiredOption('--keepLatestCount <value>', 'keepLatestCount')
1079
1213
  .requiredOption('--serviceName <value>', 'serviceName')
1080
1214
  .requiredOption('--metadata <value>', 'metadata')
1081
- .requiredOption('--databaseType <value>', 'databaseType (postgres, mariadb, mysql, mongo, web-server)')
1215
+ .requiredOption('--databaseType <value>', 'databaseType (postgres, mariadb, mysql, mongo, web-server, libsql)')
1082
1216
  .option('--json', 'Output raw JSON')
1083
1217
  .action(async (opts) => {
1084
1218
  const jsonOutput = opts.json;
@@ -1303,6 +1437,25 @@ export function registerGeneratedCommands(program) {
1303
1437
  printOutput(data);
1304
1438
  }
1305
1439
  });
1440
+ g_certificates
1441
+ .command('update')
1442
+ .description('certificates update')
1443
+ .requiredOption('--certificateId <value>', 'certificateId')
1444
+ .option('--name <value>', 'name')
1445
+ .option('--certificateData <value>', 'certificateData')
1446
+ .option('--privateKey <value>', 'privateKey')
1447
+ .option('--json', 'Output raw JSON')
1448
+ .action(async (opts) => {
1449
+ const jsonOutput = opts.json;
1450
+ delete opts.json;
1451
+ const data = await apiPost("certificates.update", opts);
1452
+ if (jsonOutput) {
1453
+ console.log(JSON.stringify(data, null, 2));
1454
+ }
1455
+ else {
1456
+ printOutput(data);
1457
+ }
1458
+ });
1306
1459
  const g_cluster = program.command('cluster').description('cluster commands');
1307
1460
  g_cluster
1308
1461
  .command('add-manager')
@@ -1693,6 +1846,24 @@ export function registerGeneratedCommands(program) {
1693
1846
  printOutput(data);
1694
1847
  }
1695
1848
  });
1849
+ g_compose
1850
+ .command('preview-template')
1851
+ .description('compose previewTemplate')
1852
+ .requiredOption('--base64 <value>', 'base64')
1853
+ .requiredOption('--appName <value>', 'appName')
1854
+ .option('--serverId <value>', 'serverId')
1855
+ .option('--json', 'Output raw JSON')
1856
+ .action(async (opts) => {
1857
+ const jsonOutput = opts.json;
1858
+ delete opts.json;
1859
+ const data = await apiPost("compose.previewTemplate", opts);
1860
+ if (jsonOutput) {
1861
+ console.log(JSON.stringify(data, null, 2));
1862
+ }
1863
+ else {
1864
+ printOutput(data);
1865
+ }
1866
+ });
1696
1867
  g_compose
1697
1868
  .command('process-template')
1698
1869
  .description('compose processTemplate')
@@ -1727,6 +1898,28 @@ export function registerGeneratedCommands(program) {
1727
1898
  printOutput(data);
1728
1899
  }
1729
1900
  });
1901
+ g_compose
1902
+ .command('read-logs')
1903
+ .description('compose readLogs')
1904
+ .requiredOption('--composeId <value>', 'composeId')
1905
+ .requiredOption('--containerId <value>', 'containerId')
1906
+ .option('--tail <value>', 'tail')
1907
+ .option('--since <value>', 'since')
1908
+ .option('--search <value>', 'search')
1909
+ .option('--json', 'Output raw JSON')
1910
+ .action(async (opts) => {
1911
+ const jsonOutput = opts.json;
1912
+ delete opts.json;
1913
+ if (opts["tail"] != null)
1914
+ opts["tail"] = Number(opts["tail"]);
1915
+ const data = await apiGet("compose.readLogs", opts);
1916
+ if (jsonOutput) {
1917
+ console.log(JSON.stringify(data, null, 2));
1918
+ }
1919
+ else {
1920
+ printOutput(data);
1921
+ }
1922
+ });
1730
1923
  g_compose
1731
1924
  .command('redeploy')
1732
1925
  .description('compose redeploy')
@@ -1761,6 +1954,23 @@ export function registerGeneratedCommands(program) {
1761
1954
  printOutput(data);
1762
1955
  }
1763
1956
  });
1957
+ g_compose
1958
+ .command('save-environment')
1959
+ .description('compose saveEnvironment')
1960
+ .requiredOption('--composeId <value>', 'composeId')
1961
+ .requiredOption('--env <value>', 'env')
1962
+ .option('--json', 'Output raw JSON')
1963
+ .action(async (opts) => {
1964
+ const jsonOutput = opts.json;
1965
+ delete opts.json;
1966
+ const data = await apiPost("compose.saveEnvironment", opts);
1967
+ if (jsonOutput) {
1968
+ console.log(JSON.stringify(data, null, 2));
1969
+ }
1970
+ else {
1971
+ printOutput(data);
1972
+ }
1973
+ });
1764
1974
  g_compose
1765
1975
  .command('search')
1766
1976
  .description('compose search')
@@ -1907,6 +2117,104 @@ export function registerGeneratedCommands(program) {
1907
2117
  printOutput(data);
1908
2118
  }
1909
2119
  });
2120
+ const g_customRole = program.command('custom-role').description('custom-role commands');
2121
+ g_customRole
2122
+ .command('all')
2123
+ .description('customRole all')
2124
+ .option('--json', 'Output raw JSON')
2125
+ .action(async (opts) => {
2126
+ const jsonOutput = opts.json;
2127
+ delete opts.json;
2128
+ const data = await apiGet("customRole.all", opts);
2129
+ if (jsonOutput) {
2130
+ console.log(JSON.stringify(data, null, 2));
2131
+ }
2132
+ else {
2133
+ printOutput(data);
2134
+ }
2135
+ });
2136
+ g_customRole
2137
+ .command('create')
2138
+ .description('customRole create')
2139
+ .requiredOption('--roleName <value>', 'roleName')
2140
+ .requiredOption('--permissions <value>', 'permissions')
2141
+ .option('--json', 'Output raw JSON')
2142
+ .action(async (opts) => {
2143
+ const jsonOutput = opts.json;
2144
+ delete opts.json;
2145
+ const data = await apiPost("customRole.create", opts);
2146
+ if (jsonOutput) {
2147
+ console.log(JSON.stringify(data, null, 2));
2148
+ }
2149
+ else {
2150
+ printOutput(data);
2151
+ }
2152
+ });
2153
+ g_customRole
2154
+ .command('get-statements')
2155
+ .description('customRole getStatements')
2156
+ .option('--json', 'Output raw JSON')
2157
+ .action(async (opts) => {
2158
+ const jsonOutput = opts.json;
2159
+ delete opts.json;
2160
+ const data = await apiGet("customRole.getStatements", opts);
2161
+ if (jsonOutput) {
2162
+ console.log(JSON.stringify(data, null, 2));
2163
+ }
2164
+ else {
2165
+ printOutput(data);
2166
+ }
2167
+ });
2168
+ g_customRole
2169
+ .command('members-by-role')
2170
+ .description('customRole membersByRole')
2171
+ .requiredOption('--roleName <value>', 'roleName')
2172
+ .option('--json', 'Output raw JSON')
2173
+ .action(async (opts) => {
2174
+ const jsonOutput = opts.json;
2175
+ delete opts.json;
2176
+ const data = await apiGet("customRole.membersByRole", opts);
2177
+ if (jsonOutput) {
2178
+ console.log(JSON.stringify(data, null, 2));
2179
+ }
2180
+ else {
2181
+ printOutput(data);
2182
+ }
2183
+ });
2184
+ g_customRole
2185
+ .command('remove')
2186
+ .description('customRole remove')
2187
+ .requiredOption('--roleName <value>', 'roleName')
2188
+ .option('--json', 'Output raw JSON')
2189
+ .action(async (opts) => {
2190
+ const jsonOutput = opts.json;
2191
+ delete opts.json;
2192
+ const data = await apiPost("customRole.remove", opts);
2193
+ if (jsonOutput) {
2194
+ console.log(JSON.stringify(data, null, 2));
2195
+ }
2196
+ else {
2197
+ printOutput(data);
2198
+ }
2199
+ });
2200
+ g_customRole
2201
+ .command('update')
2202
+ .description('customRole update')
2203
+ .requiredOption('--roleName <value>', 'roleName')
2204
+ .option('--newRoleName <value>', 'newRoleName')
2205
+ .requiredOption('--permissions <value>', 'permissions')
2206
+ .option('--json', 'Output raw JSON')
2207
+ .action(async (opts) => {
2208
+ const jsonOutput = opts.json;
2209
+ delete opts.json;
2210
+ const data = await apiPost("customRole.update", opts);
2211
+ if (jsonOutput) {
2212
+ console.log(JSON.stringify(data, null, 2));
2213
+ }
2214
+ else {
2215
+ printOutput(data);
2216
+ }
2217
+ });
1910
2218
  const g_deployment = program.command('deployment').description('deployment commands');
1911
2219
  g_deployment
1912
2220
  .command('all')
@@ -2061,6 +2369,7 @@ export function registerGeneratedCommands(program) {
2061
2369
  .requiredOption('--region <value>', 'region')
2062
2370
  .requiredOption('--endpoint <value>', 'endpoint')
2063
2371
  .requiredOption('--secretAccessKey <value>', 'secretAccessKey')
2372
+ .requiredOption('--additionalFlags <value>', 'additionalFlags')
2064
2373
  .option('--serverId <value>', 'serverId')
2065
2374
  .option('--json', 'Output raw JSON')
2066
2375
  .action(async (opts) => {
@@ -2116,6 +2425,7 @@ export function registerGeneratedCommands(program) {
2116
2425
  .requiredOption('--region <value>', 'region')
2117
2426
  .requiredOption('--endpoint <value>', 'endpoint')
2118
2427
  .requiredOption('--secretAccessKey <value>', 'secretAccessKey')
2428
+ .requiredOption('--additionalFlags <value>', 'additionalFlags')
2119
2429
  .option('--serverId <value>', 'serverId')
2120
2430
  .option('--json', 'Output raw JSON')
2121
2431
  .action(async (opts) => {
@@ -2140,6 +2450,7 @@ export function registerGeneratedCommands(program) {
2140
2450
  .requiredOption('--secretAccessKey <value>', 'secretAccessKey')
2141
2451
  .requiredOption('--destinationId <value>', 'destinationId')
2142
2452
  .requiredOption('--provider <value>', 'provider')
2453
+ .requiredOption('--additionalFlags <value>', 'additionalFlags')
2143
2454
  .option('--serverId <value>', 'serverId')
2144
2455
  .option('--json', 'Output raw JSON')
2145
2456
  .action(async (opts) => {
@@ -2258,14 +2569,15 @@ export function registerGeneratedCommands(program) {
2258
2569
  }
2259
2570
  });
2260
2571
  g_docker
2261
- .command('restart-container')
2262
- .description('docker restartContainer')
2572
+ .command('kill-container')
2573
+ .description('docker killContainer')
2263
2574
  .requiredOption('--containerId <value>', 'containerId')
2575
+ .option('--serverId <value>', 'serverId')
2264
2576
  .option('--json', 'Output raw JSON')
2265
2577
  .action(async (opts) => {
2266
2578
  const jsonOutput = opts.json;
2267
2579
  delete opts.json;
2268
- const data = await apiPost("docker.restartContainer", opts);
2580
+ const data = await apiPost("docker.killContainer", opts);
2269
2581
  if (jsonOutput) {
2270
2582
  console.log(JSON.stringify(data, null, 2));
2271
2583
  }
@@ -2273,16 +2585,16 @@ export function registerGeneratedCommands(program) {
2273
2585
  printOutput(data);
2274
2586
  }
2275
2587
  });
2276
- const g_domain = program.command('domain').description('domain commands');
2277
- g_domain
2278
- .command('by-application-id')
2279
- .description('domain byApplicationId')
2280
- .requiredOption('--applicationId <value>', 'applicationId')
2588
+ g_docker
2589
+ .command('remove-container')
2590
+ .description('docker removeContainer')
2591
+ .requiredOption('--containerId <value>', 'containerId')
2592
+ .option('--serverId <value>', 'serverId')
2281
2593
  .option('--json', 'Output raw JSON')
2282
2594
  .action(async (opts) => {
2283
2595
  const jsonOutput = opts.json;
2284
2596
  delete opts.json;
2285
- const data = await apiGet("domain.byApplicationId", opts);
2597
+ const data = await apiPost("docker.removeContainer", opts);
2286
2598
  if (jsonOutput) {
2287
2599
  console.log(JSON.stringify(data, null, 2));
2288
2600
  }
@@ -2290,12 +2602,95 @@ export function registerGeneratedCommands(program) {
2290
2602
  printOutput(data);
2291
2603
  }
2292
2604
  });
2293
- g_domain
2294
- .command('by-compose-id')
2295
- .description('domain byComposeId')
2296
- .requiredOption('--composeId <value>', 'composeId')
2297
- .option('--json', 'Output raw JSON')
2298
- .action(async (opts) => {
2605
+ g_docker
2606
+ .command('restart-container')
2607
+ .description('docker restartContainer')
2608
+ .requiredOption('--containerId <value>', 'containerId')
2609
+ .option('--serverId <value>', 'serverId')
2610
+ .option('--json', 'Output raw JSON')
2611
+ .action(async (opts) => {
2612
+ const jsonOutput = opts.json;
2613
+ delete opts.json;
2614
+ const data = await apiPost("docker.restartContainer", opts);
2615
+ if (jsonOutput) {
2616
+ console.log(JSON.stringify(data, null, 2));
2617
+ }
2618
+ else {
2619
+ printOutput(data);
2620
+ }
2621
+ });
2622
+ g_docker
2623
+ .command('start-container')
2624
+ .description('docker startContainer')
2625
+ .requiredOption('--containerId <value>', 'containerId')
2626
+ .option('--serverId <value>', 'serverId')
2627
+ .option('--json', 'Output raw JSON')
2628
+ .action(async (opts) => {
2629
+ const jsonOutput = opts.json;
2630
+ delete opts.json;
2631
+ const data = await apiPost("docker.startContainer", opts);
2632
+ if (jsonOutput) {
2633
+ console.log(JSON.stringify(data, null, 2));
2634
+ }
2635
+ else {
2636
+ printOutput(data);
2637
+ }
2638
+ });
2639
+ g_docker
2640
+ .command('stop-container')
2641
+ .description('docker stopContainer')
2642
+ .requiredOption('--containerId <value>', 'containerId')
2643
+ .option('--serverId <value>', 'serverId')
2644
+ .option('--json', 'Output raw JSON')
2645
+ .action(async (opts) => {
2646
+ const jsonOutput = opts.json;
2647
+ delete opts.json;
2648
+ const data = await apiPost("docker.stopContainer", opts);
2649
+ if (jsonOutput) {
2650
+ console.log(JSON.stringify(data, null, 2));
2651
+ }
2652
+ else {
2653
+ printOutput(data);
2654
+ }
2655
+ });
2656
+ g_docker
2657
+ .command('upload-file-to-container')
2658
+ .description('docker uploadFileToContainer')
2659
+ .option('--json', 'Output raw JSON')
2660
+ .action(async (opts) => {
2661
+ const jsonOutput = opts.json;
2662
+ delete opts.json;
2663
+ const data = await apiPost("docker.uploadFileToContainer", opts);
2664
+ if (jsonOutput) {
2665
+ console.log(JSON.stringify(data, null, 2));
2666
+ }
2667
+ else {
2668
+ printOutput(data);
2669
+ }
2670
+ });
2671
+ const g_domain = program.command('domain').description('domain commands');
2672
+ g_domain
2673
+ .command('by-application-id')
2674
+ .description('domain byApplicationId')
2675
+ .requiredOption('--applicationId <value>', 'applicationId')
2676
+ .option('--json', 'Output raw JSON')
2677
+ .action(async (opts) => {
2678
+ const jsonOutput = opts.json;
2679
+ delete opts.json;
2680
+ const data = await apiGet("domain.byApplicationId", opts);
2681
+ if (jsonOutput) {
2682
+ console.log(JSON.stringify(data, null, 2));
2683
+ }
2684
+ else {
2685
+ printOutput(data);
2686
+ }
2687
+ });
2688
+ g_domain
2689
+ .command('by-compose-id')
2690
+ .description('domain byComposeId')
2691
+ .requiredOption('--composeId <value>', 'composeId')
2692
+ .option('--json', 'Output raw JSON')
2693
+ .action(async (opts) => {
2299
2694
  const jsonOutput = opts.json;
2300
2695
  delete opts.json;
2301
2696
  const data = await apiGet("domain.byComposeId", opts);
@@ -2328,6 +2723,7 @@ export function registerGeneratedCommands(program) {
2328
2723
  .requiredOption('--host <value>', 'host')
2329
2724
  .option('--path <value>', 'path')
2330
2725
  .option('--port <value>', 'port')
2726
+ .option('--customEntrypoint <value>', 'customEntrypoint')
2331
2727
  .option('--https', 'https')
2332
2728
  .option('--applicationId <value>', 'applicationId')
2333
2729
  .option('--certificateType <value>', 'certificateType (letsencrypt, none, custom)')
@@ -2338,6 +2734,7 @@ export function registerGeneratedCommands(program) {
2338
2734
  .option('--previewDeploymentId <value>', 'previewDeploymentId')
2339
2735
  .option('--internalPath <value>', 'internalPath')
2340
2736
  .option('--stripPath', 'stripPath')
2737
+ .option('--middlewares <value>', 'middlewares')
2341
2738
  .option('--json', 'Output raw JSON')
2342
2739
  .action(async (opts) => {
2343
2740
  const jsonOutput = opts.json;
@@ -2411,6 +2808,7 @@ export function registerGeneratedCommands(program) {
2411
2808
  .requiredOption('--host <value>', 'host')
2412
2809
  .option('--path <value>', 'path')
2413
2810
  .option('--port <value>', 'port')
2811
+ .option('--customEntrypoint <value>', 'customEntrypoint')
2414
2812
  .option('--https', 'https')
2415
2813
  .option('--certificateType <value>', 'certificateType (letsencrypt, none, custom)')
2416
2814
  .option('--customCertResolver <value>', 'customCertResolver')
@@ -2418,6 +2816,7 @@ export function registerGeneratedCommands(program) {
2418
2816
  .option('--domainType <value>', 'domainType (compose, application, preview)')
2419
2817
  .option('--internalPath <value>', 'internalPath')
2420
2818
  .option('--stripPath', 'stripPath')
2819
+ .option('--middlewares <value>', 'middlewares')
2421
2820
  .requiredOption('--domainId <value>', 'domainId')
2422
2821
  .option('--json', 'Output raw JSON')
2423
2822
  .action(async (opts) => {
@@ -2987,6 +3386,21 @@ export function registerGeneratedCommands(program) {
2987
3386
  }
2988
3387
  });
2989
3388
  const g_gitProvider = program.command('git-provider').description('git-provider commands');
3389
+ g_gitProvider
3390
+ .command('all-for-permissions')
3391
+ .description('gitProvider allForPermissions')
3392
+ .option('--json', 'Output raw JSON')
3393
+ .action(async (opts) => {
3394
+ const jsonOutput = opts.json;
3395
+ delete opts.json;
3396
+ const data = await apiGet("gitProvider.allForPermissions", opts);
3397
+ if (jsonOutput) {
3398
+ console.log(JSON.stringify(data, null, 2));
3399
+ }
3400
+ else {
3401
+ printOutput(data);
3402
+ }
3403
+ });
2990
3404
  g_gitProvider
2991
3405
  .command('get-all')
2992
3406
  .description('gitProvider getAll')
@@ -3018,6 +3432,322 @@ export function registerGeneratedCommands(program) {
3018
3432
  printOutput(data);
3019
3433
  }
3020
3434
  });
3435
+ g_gitProvider
3436
+ .command('toggle-share')
3437
+ .description('gitProvider toggleShare')
3438
+ .requiredOption('--gitProviderId <value>', 'gitProviderId')
3439
+ .requiredOption('--sharedWithOrganization', 'sharedWithOrganization')
3440
+ .option('--json', 'Output raw JSON')
3441
+ .action(async (opts) => {
3442
+ const jsonOutput = opts.json;
3443
+ delete opts.json;
3444
+ if (opts["sharedWithOrganization"] != null)
3445
+ opts["sharedWithOrganization"] = opts["sharedWithOrganization"] === true || opts["sharedWithOrganization"] === "true";
3446
+ const data = await apiPost("gitProvider.toggleShare", opts);
3447
+ if (jsonOutput) {
3448
+ console.log(JSON.stringify(data, null, 2));
3449
+ }
3450
+ else {
3451
+ printOutput(data);
3452
+ }
3453
+ });
3454
+ const g_libsql = program.command('libsql').description('libsql commands');
3455
+ g_libsql
3456
+ .command('change-status')
3457
+ .description('libsql changeStatus')
3458
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3459
+ .requiredOption('--applicationStatus <value>', 'applicationStatus (idle, running, done, error)')
3460
+ .option('--json', 'Output raw JSON')
3461
+ .action(async (opts) => {
3462
+ const jsonOutput = opts.json;
3463
+ delete opts.json;
3464
+ const data = await apiPost("libsql.changeStatus", opts);
3465
+ if (jsonOutput) {
3466
+ console.log(JSON.stringify(data, null, 2));
3467
+ }
3468
+ else {
3469
+ printOutput(data);
3470
+ }
3471
+ });
3472
+ g_libsql
3473
+ .command('create')
3474
+ .description('libsql create')
3475
+ .requiredOption('--name <value>', 'name')
3476
+ .requiredOption('--appName <value>', 'appName')
3477
+ .requiredOption('--dockerImage <value>', 'dockerImage')
3478
+ .requiredOption('--environmentId <value>', 'environmentId')
3479
+ .requiredOption('--description <value>', 'description')
3480
+ .requiredOption('--databaseUser <value>', 'databaseUser')
3481
+ .requiredOption('--databasePassword <value>', 'databasePassword')
3482
+ .requiredOption('--sqldNode <value>', 'sqldNode (primary, replica)')
3483
+ .requiredOption('--sqldPrimaryUrl <value>', 'sqldPrimaryUrl')
3484
+ .requiredOption('--enableNamespaces', 'enableNamespaces')
3485
+ .requiredOption('--serverId <value>', 'serverId')
3486
+ .option('--json', 'Output raw JSON')
3487
+ .action(async (opts) => {
3488
+ const jsonOutput = opts.json;
3489
+ delete opts.json;
3490
+ if (opts["enableNamespaces"] != null)
3491
+ opts["enableNamespaces"] = opts["enableNamespaces"] === true || opts["enableNamespaces"] === "true";
3492
+ const data = await apiPost("libsql.create", opts);
3493
+ if (jsonOutput) {
3494
+ console.log(JSON.stringify(data, null, 2));
3495
+ }
3496
+ else {
3497
+ printOutput(data);
3498
+ }
3499
+ });
3500
+ g_libsql
3501
+ .command('deploy')
3502
+ .description('libsql deploy')
3503
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3504
+ .option('--json', 'Output raw JSON')
3505
+ .action(async (opts) => {
3506
+ const jsonOutput = opts.json;
3507
+ delete opts.json;
3508
+ const data = await apiPost("libsql.deploy", opts);
3509
+ if (jsonOutput) {
3510
+ console.log(JSON.stringify(data, null, 2));
3511
+ }
3512
+ else {
3513
+ printOutput(data);
3514
+ }
3515
+ });
3516
+ g_libsql
3517
+ .command('move')
3518
+ .description('libsql move')
3519
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3520
+ .requiredOption('--targetEnvironmentId <value>', 'targetEnvironmentId')
3521
+ .option('--json', 'Output raw JSON')
3522
+ .action(async (opts) => {
3523
+ const jsonOutput = opts.json;
3524
+ delete opts.json;
3525
+ const data = await apiPost("libsql.move", opts);
3526
+ if (jsonOutput) {
3527
+ console.log(JSON.stringify(data, null, 2));
3528
+ }
3529
+ else {
3530
+ printOutput(data);
3531
+ }
3532
+ });
3533
+ g_libsql
3534
+ .command('one')
3535
+ .description('libsql one')
3536
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3537
+ .option('--json', 'Output raw JSON')
3538
+ .action(async (opts) => {
3539
+ const jsonOutput = opts.json;
3540
+ delete opts.json;
3541
+ const data = await apiGet("libsql.one", opts);
3542
+ if (jsonOutput) {
3543
+ console.log(JSON.stringify(data, null, 2));
3544
+ }
3545
+ else {
3546
+ printOutput(data);
3547
+ }
3548
+ });
3549
+ g_libsql
3550
+ .command('read-logs')
3551
+ .description('libsql readLogs')
3552
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3553
+ .option('--tail <value>', 'tail')
3554
+ .option('--since <value>', 'since')
3555
+ .option('--search <value>', 'search')
3556
+ .option('--json', 'Output raw JSON')
3557
+ .action(async (opts) => {
3558
+ const jsonOutput = opts.json;
3559
+ delete opts.json;
3560
+ if (opts["tail"] != null)
3561
+ opts["tail"] = Number(opts["tail"]);
3562
+ const data = await apiGet("libsql.readLogs", opts);
3563
+ if (jsonOutput) {
3564
+ console.log(JSON.stringify(data, null, 2));
3565
+ }
3566
+ else {
3567
+ printOutput(data);
3568
+ }
3569
+ });
3570
+ g_libsql
3571
+ .command('rebuild')
3572
+ .description('libsql rebuild')
3573
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3574
+ .option('--json', 'Output raw JSON')
3575
+ .action(async (opts) => {
3576
+ const jsonOutput = opts.json;
3577
+ delete opts.json;
3578
+ const data = await apiPost("libsql.rebuild", opts);
3579
+ if (jsonOutput) {
3580
+ console.log(JSON.stringify(data, null, 2));
3581
+ }
3582
+ else {
3583
+ printOutput(data);
3584
+ }
3585
+ });
3586
+ g_libsql
3587
+ .command('reload')
3588
+ .description('libsql reload')
3589
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3590
+ .requiredOption('--appName <value>', 'appName')
3591
+ .option('--json', 'Output raw JSON')
3592
+ .action(async (opts) => {
3593
+ const jsonOutput = opts.json;
3594
+ delete opts.json;
3595
+ const data = await apiPost("libsql.reload", opts);
3596
+ if (jsonOutput) {
3597
+ console.log(JSON.stringify(data, null, 2));
3598
+ }
3599
+ else {
3600
+ printOutput(data);
3601
+ }
3602
+ });
3603
+ g_libsql
3604
+ .command('remove')
3605
+ .description('libsql remove')
3606
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3607
+ .option('--json', 'Output raw JSON')
3608
+ .action(async (opts) => {
3609
+ const jsonOutput = opts.json;
3610
+ delete opts.json;
3611
+ const data = await apiPost("libsql.remove", opts);
3612
+ if (jsonOutput) {
3613
+ console.log(JSON.stringify(data, null, 2));
3614
+ }
3615
+ else {
3616
+ printOutput(data);
3617
+ }
3618
+ });
3619
+ g_libsql
3620
+ .command('save-environment')
3621
+ .description('libsql saveEnvironment')
3622
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3623
+ .requiredOption('--env <value>', 'env')
3624
+ .option('--json', 'Output raw JSON')
3625
+ .action(async (opts) => {
3626
+ const jsonOutput = opts.json;
3627
+ delete opts.json;
3628
+ const data = await apiPost("libsql.saveEnvironment", opts);
3629
+ if (jsonOutput) {
3630
+ console.log(JSON.stringify(data, null, 2));
3631
+ }
3632
+ else {
3633
+ printOutput(data);
3634
+ }
3635
+ });
3636
+ g_libsql
3637
+ .command('save-external-ports')
3638
+ .description('libsql saveExternalPorts')
3639
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3640
+ .option('--externalPort <value>', 'externalPort')
3641
+ .option('--externalGRPCPort <value>', 'externalGRPCPort')
3642
+ .option('--externalAdminPort <value>', 'externalAdminPort')
3643
+ .option('--json', 'Output raw JSON')
3644
+ .action(async (opts) => {
3645
+ const jsonOutput = opts.json;
3646
+ delete opts.json;
3647
+ if (opts["externalPort"] != null)
3648
+ opts["externalPort"] = Number(opts["externalPort"]);
3649
+ if (opts["externalGRPCPort"] != null)
3650
+ opts["externalGRPCPort"] = Number(opts["externalGRPCPort"]);
3651
+ if (opts["externalAdminPort"] != null)
3652
+ opts["externalAdminPort"] = Number(opts["externalAdminPort"]);
3653
+ const data = await apiPost("libsql.saveExternalPorts", opts);
3654
+ if (jsonOutput) {
3655
+ console.log(JSON.stringify(data, null, 2));
3656
+ }
3657
+ else {
3658
+ printOutput(data);
3659
+ }
3660
+ });
3661
+ g_libsql
3662
+ .command('start')
3663
+ .description('libsql start')
3664
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3665
+ .option('--json', 'Output raw JSON')
3666
+ .action(async (opts) => {
3667
+ const jsonOutput = opts.json;
3668
+ delete opts.json;
3669
+ const data = await apiPost("libsql.start", opts);
3670
+ if (jsonOutput) {
3671
+ console.log(JSON.stringify(data, null, 2));
3672
+ }
3673
+ else {
3674
+ printOutput(data);
3675
+ }
3676
+ });
3677
+ g_libsql
3678
+ .command('stop')
3679
+ .description('libsql stop')
3680
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3681
+ .option('--json', 'Output raw JSON')
3682
+ .action(async (opts) => {
3683
+ const jsonOutput = opts.json;
3684
+ delete opts.json;
3685
+ const data = await apiPost("libsql.stop", opts);
3686
+ if (jsonOutput) {
3687
+ console.log(JSON.stringify(data, null, 2));
3688
+ }
3689
+ else {
3690
+ printOutput(data);
3691
+ }
3692
+ });
3693
+ g_libsql
3694
+ .command('update')
3695
+ .description('libsql update')
3696
+ .requiredOption('--libsqlId <value>', 'libsqlId')
3697
+ .option('--name <value>', 'name')
3698
+ .option('--appName <value>', 'appName')
3699
+ .option('--description <value>', 'description')
3700
+ .option('--databaseUser <value>', 'databaseUser')
3701
+ .option('--databasePassword <value>', 'databasePassword')
3702
+ .option('--sqldNode <value>', 'sqldNode (primary, replica)')
3703
+ .option('--sqldPrimaryUrl <value>', 'sqldPrimaryUrl')
3704
+ .option('--enableNamespaces', 'enableNamespaces')
3705
+ .option('--dockerImage <value>', 'dockerImage')
3706
+ .option('--command <value>', 'command')
3707
+ .option('--env <value>', 'env')
3708
+ .option('--memoryReservation <value>', 'memoryReservation')
3709
+ .option('--memoryLimit <value>', 'memoryLimit')
3710
+ .option('--cpuReservation <value>', 'cpuReservation')
3711
+ .option('--cpuLimit <value>', 'cpuLimit')
3712
+ .option('--externalPort <value>', 'externalPort')
3713
+ .option('--externalGRPCPort <value>', 'externalGRPCPort')
3714
+ .option('--externalAdminPort <value>', 'externalAdminPort')
3715
+ .option('--applicationStatus <value>', 'applicationStatus (idle, running, done, error)')
3716
+ .option('--healthCheckSwarm <value>', 'healthCheckSwarm')
3717
+ .option('--restartPolicySwarm <value>', 'restartPolicySwarm')
3718
+ .option('--placementSwarm <value>', 'placementSwarm')
3719
+ .option('--updateConfigSwarm <value>', 'updateConfigSwarm')
3720
+ .option('--rollbackConfigSwarm <value>', 'rollbackConfigSwarm')
3721
+ .option('--modeSwarm <value>', 'modeSwarm')
3722
+ .option('--labelsSwarm <value>', 'labelsSwarm')
3723
+ .option('--networkSwarm <value>', 'networkSwarm')
3724
+ .option('--stopGracePeriodSwarm <value>', 'stopGracePeriodSwarm')
3725
+ .option('--endpointSpecSwarm <value>', 'endpointSpecSwarm')
3726
+ .option('--replicas <value>', 'replicas')
3727
+ .option('--createdAt <value>', 'createdAt')
3728
+ .option('--environmentId <value>', 'environmentId')
3729
+ .option('--json', 'Output raw JSON')
3730
+ .action(async (opts) => {
3731
+ const jsonOutput = opts.json;
3732
+ delete opts.json;
3733
+ if (opts["enableNamespaces"] != null)
3734
+ opts["enableNamespaces"] = opts["enableNamespaces"] === true || opts["enableNamespaces"] === "true";
3735
+ if (opts["externalPort"] != null)
3736
+ opts["externalPort"] = Number(opts["externalPort"]);
3737
+ if (opts["externalGRPCPort"] != null)
3738
+ opts["externalGRPCPort"] = Number(opts["externalGRPCPort"]);
3739
+ if (opts["externalAdminPort"] != null)
3740
+ opts["externalAdminPort"] = Number(opts["externalAdminPort"]);
3741
+ if (opts["replicas"] != null)
3742
+ opts["replicas"] = Number(opts["replicas"]);
3743
+ const data = await apiPost("libsql.update", opts);
3744
+ if (jsonOutput) {
3745
+ console.log(JSON.stringify(data, null, 2));
3746
+ }
3747
+ else {
3748
+ printOutput(data);
3749
+ }
3750
+ });
3021
3751
  const g_licenseKey = program.command('license-key').description('license-key commands');
3022
3752
  g_licenseKey
3023
3753
  .command('activate')
@@ -3114,6 +3844,24 @@ export function registerGeneratedCommands(program) {
3114
3844
  }
3115
3845
  });
3116
3846
  const g_mariadb = program.command('mariadb').description('mariadb commands');
3847
+ g_mariadb
3848
+ .command('change-password')
3849
+ .description('mariadb changePassword')
3850
+ .requiredOption('--mariadbId <value>', 'mariadbId')
3851
+ .requiredOption('--password <value>', 'password')
3852
+ .option('--type <value>', 'type (user, root)')
3853
+ .option('--json', 'Output raw JSON')
3854
+ .action(async (opts) => {
3855
+ const jsonOutput = opts.json;
3856
+ delete opts.json;
3857
+ const data = await apiPost("mariadb.changePassword", opts);
3858
+ if (jsonOutput) {
3859
+ console.log(JSON.stringify(data, null, 2));
3860
+ }
3861
+ else {
3862
+ printOutput(data);
3863
+ }
3864
+ });
3117
3865
  g_mariadb
3118
3866
  .command('change-status')
3119
3867
  .description('mariadb changeStatus')
@@ -3205,6 +3953,27 @@ export function registerGeneratedCommands(program) {
3205
3953
  printOutput(data);
3206
3954
  }
3207
3955
  });
3956
+ g_mariadb
3957
+ .command('read-logs')
3958
+ .description('mariadb readLogs')
3959
+ .requiredOption('--mariadbId <value>', 'mariadbId')
3960
+ .option('--tail <value>', 'tail')
3961
+ .option('--since <value>', 'since')
3962
+ .option('--search <value>', 'search')
3963
+ .option('--json', 'Output raw JSON')
3964
+ .action(async (opts) => {
3965
+ const jsonOutput = opts.json;
3966
+ delete opts.json;
3967
+ if (opts["tail"] != null)
3968
+ opts["tail"] = Number(opts["tail"]);
3969
+ const data = await apiGet("mariadb.readLogs", opts);
3970
+ if (jsonOutput) {
3971
+ console.log(JSON.stringify(data, null, 2));
3972
+ }
3973
+ else {
3974
+ printOutput(data);
3975
+ }
3976
+ });
3208
3977
  g_mariadb
3209
3978
  .command('rebuild')
3210
3979
  .description('mariadb rebuild')
@@ -3400,7 +4169,24 @@ export function registerGeneratedCommands(program) {
3400
4169
  printOutput(data);
3401
4170
  }
3402
4171
  });
3403
- const g_mongo = program.command('mongo').description('mongo commands');
4172
+ const g_mongo = program.command('mongo').description('mongo commands');
4173
+ g_mongo
4174
+ .command('change-password')
4175
+ .description('mongo changePassword')
4176
+ .requiredOption('--mongoId <value>', 'mongoId')
4177
+ .requiredOption('--password <value>', 'password')
4178
+ .option('--json', 'Output raw JSON')
4179
+ .action(async (opts) => {
4180
+ const jsonOutput = opts.json;
4181
+ delete opts.json;
4182
+ const data = await apiPost("mongo.changePassword", opts);
4183
+ if (jsonOutput) {
4184
+ console.log(JSON.stringify(data, null, 2));
4185
+ }
4186
+ else {
4187
+ printOutput(data);
4188
+ }
4189
+ });
3404
4190
  g_mongo
3405
4191
  .command('change-status')
3406
4192
  .description('mongo changeStatus')
@@ -3493,6 +4279,27 @@ export function registerGeneratedCommands(program) {
3493
4279
  printOutput(data);
3494
4280
  }
3495
4281
  });
4282
+ g_mongo
4283
+ .command('read-logs')
4284
+ .description('mongo readLogs')
4285
+ .requiredOption('--mongoId <value>', 'mongoId')
4286
+ .option('--tail <value>', 'tail')
4287
+ .option('--since <value>', 'since')
4288
+ .option('--search <value>', 'search')
4289
+ .option('--json', 'Output raw JSON')
4290
+ .action(async (opts) => {
4291
+ const jsonOutput = opts.json;
4292
+ delete opts.json;
4293
+ if (opts["tail"] != null)
4294
+ opts["tail"] = Number(opts["tail"]);
4295
+ const data = await apiGet("mongo.readLogs", opts);
4296
+ if (jsonOutput) {
4297
+ console.log(JSON.stringify(data, null, 2));
4298
+ }
4299
+ else {
4300
+ printOutput(data);
4301
+ }
4302
+ });
3496
4303
  g_mongo
3497
4304
  .command('rebuild')
3498
4305
  .description('mongo rebuild')
@@ -3714,8 +4521,8 @@ export function registerGeneratedCommands(program) {
3714
4521
  .option('--volumeName <value>', 'volumeName')
3715
4522
  .option('--content <value>', 'content')
3716
4523
  .requiredOption('--mountPath <value>', 'mountPath')
3717
- .option('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose)')
3718
4524
  .option('--filePath <value>', 'filePath')
4525
+ .option('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose, libsql)')
3719
4526
  .requiredOption('--serviceId <value>', 'serviceId')
3720
4527
  .option('--json', 'Output raw JSON')
3721
4528
  .action(async (opts) => {
@@ -3732,8 +4539,8 @@ export function registerGeneratedCommands(program) {
3732
4539
  g_mounts
3733
4540
  .command('list-by-service-id')
3734
4541
  .description('mounts listByServiceId')
4542
+ .requiredOption('--serviceType <value>', 'serviceType')
3735
4543
  .requiredOption('--serviceId <value>', 'serviceId')
3736
- .requiredOption('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose)')
3737
4544
  .option('--json', 'Output raw JSON')
3738
4545
  .action(async (opts) => {
3739
4546
  const jsonOutput = opts.json;
@@ -3787,15 +4594,16 @@ export function registerGeneratedCommands(program) {
3787
4594
  .option('--volumeName <value>', 'volumeName')
3788
4595
  .option('--filePath <value>', 'filePath')
3789
4596
  .option('--content <value>', 'content')
3790
- .option('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose)')
4597
+ .option('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose, libsql)')
3791
4598
  .option('--mountPath <value>', 'mountPath')
3792
4599
  .option('--applicationId <value>', 'applicationId')
3793
- .option('--postgresId <value>', 'postgresId')
4600
+ .option('--composeId <value>', 'composeId')
4601
+ .option('--libsqlId <value>', 'libsqlId')
3794
4602
  .option('--mariadbId <value>', 'mariadbId')
3795
4603
  .option('--mongoId <value>', 'mongoId')
3796
4604
  .option('--mysqlId <value>', 'mysqlId')
4605
+ .option('--postgresId <value>', 'postgresId')
3797
4606
  .option('--redisId <value>', 'redisId')
3798
- .option('--composeId <value>', 'composeId')
3799
4607
  .option('--json', 'Output raw JSON')
3800
4608
  .action(async (opts) => {
3801
4609
  const jsonOutput = opts.json;
@@ -3809,6 +4617,24 @@ export function registerGeneratedCommands(program) {
3809
4617
  }
3810
4618
  });
3811
4619
  const g_mysql = program.command('mysql').description('mysql commands');
4620
+ g_mysql
4621
+ .command('change-password')
4622
+ .description('mysql changePassword')
4623
+ .requiredOption('--mysqlId <value>', 'mysqlId')
4624
+ .requiredOption('--password <value>', 'password')
4625
+ .option('--type <value>', 'type (user, root)')
4626
+ .option('--json', 'Output raw JSON')
4627
+ .action(async (opts) => {
4628
+ const jsonOutput = opts.json;
4629
+ delete opts.json;
4630
+ const data = await apiPost("mysql.changePassword", opts);
4631
+ if (jsonOutput) {
4632
+ console.log(JSON.stringify(data, null, 2));
4633
+ }
4634
+ else {
4635
+ printOutput(data);
4636
+ }
4637
+ });
3812
4638
  g_mysql
3813
4639
  .command('change-status')
3814
4640
  .description('mysql changeStatus')
@@ -3900,6 +4726,27 @@ export function registerGeneratedCommands(program) {
3900
4726
  printOutput(data);
3901
4727
  }
3902
4728
  });
4729
+ g_mysql
4730
+ .command('read-logs')
4731
+ .description('mysql readLogs')
4732
+ .requiredOption('--mysqlId <value>', 'mysqlId')
4733
+ .option('--tail <value>', 'tail')
4734
+ .option('--since <value>', 'since')
4735
+ .option('--search <value>', 'search')
4736
+ .option('--json', 'Output raw JSON')
4737
+ .action(async (opts) => {
4738
+ const jsonOutput = opts.json;
4739
+ delete opts.json;
4740
+ if (opts["tail"] != null)
4741
+ opts["tail"] = Number(opts["tail"]);
4742
+ const data = await apiGet("mysql.readLogs", opts);
4743
+ if (jsonOutput) {
4744
+ console.log(JSON.stringify(data, null, 2));
4745
+ }
4746
+ else {
4747
+ printOutput(data);
4748
+ }
4749
+ });
3903
4750
  g_mysql
3904
4751
  .command('rebuild')
3905
4752
  .description('mysql rebuild')
@@ -4116,6 +4963,7 @@ export function registerGeneratedCommands(program) {
4116
4963
  .description('notification createCustom')
4117
4964
  .option('--appBuildError', 'appBuildError')
4118
4965
  .option('--databaseBackup', 'databaseBackup')
4966
+ .option('--dokployBackup', 'dokployBackup')
4119
4967
  .option('--volumeBackup', 'volumeBackup')
4120
4968
  .option('--dokployRestart', 'dokployRestart')
4121
4969
  .requiredOption('--name <value>', 'name')
@@ -4132,6 +4980,8 @@ export function registerGeneratedCommands(program) {
4132
4980
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4133
4981
  if (opts["databaseBackup"] != null)
4134
4982
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
4983
+ if (opts["dokployBackup"] != null)
4984
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4135
4985
  if (opts["volumeBackup"] != null)
4136
4986
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4137
4987
  if (opts["dokployRestart"] != null)
@@ -4155,6 +5005,7 @@ export function registerGeneratedCommands(program) {
4155
5005
  .description('notification createDiscord')
4156
5006
  .requiredOption('--appBuildError', 'appBuildError')
4157
5007
  .requiredOption('--databaseBackup', 'databaseBackup')
5008
+ .requiredOption('--dokployBackup', 'dokployBackup')
4158
5009
  .requiredOption('--volumeBackup', 'volumeBackup')
4159
5010
  .requiredOption('--dokployRestart', 'dokployRestart')
4160
5011
  .requiredOption('--name <value>', 'name')
@@ -4171,6 +5022,8 @@ export function registerGeneratedCommands(program) {
4171
5022
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4172
5023
  if (opts["databaseBackup"] != null)
4173
5024
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5025
+ if (opts["dokployBackup"] != null)
5026
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4174
5027
  if (opts["volumeBackup"] != null)
4175
5028
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4176
5029
  if (opts["dokployRestart"] != null)
@@ -4196,6 +5049,7 @@ export function registerGeneratedCommands(program) {
4196
5049
  .description('notification createEmail')
4197
5050
  .requiredOption('--appBuildError', 'appBuildError')
4198
5051
  .requiredOption('--databaseBackup', 'databaseBackup')
5052
+ .requiredOption('--dokployBackup', 'dokployBackup')
4199
5053
  .requiredOption('--volumeBackup', 'volumeBackup')
4200
5054
  .requiredOption('--dokployRestart', 'dokployRestart')
4201
5055
  .requiredOption('--name <value>', 'name')
@@ -4216,6 +5070,8 @@ export function registerGeneratedCommands(program) {
4216
5070
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4217
5071
  if (opts["databaseBackup"] != null)
4218
5072
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5073
+ if (opts["dokployBackup"] != null)
5074
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4219
5075
  if (opts["volumeBackup"] != null)
4220
5076
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4221
5077
  if (opts["dokployRestart"] != null)
@@ -4241,6 +5097,7 @@ export function registerGeneratedCommands(program) {
4241
5097
  .description('notification createGotify')
4242
5098
  .requiredOption('--appBuildError', 'appBuildError')
4243
5099
  .requiredOption('--databaseBackup', 'databaseBackup')
5100
+ .requiredOption('--dokployBackup', 'dokployBackup')
4244
5101
  .requiredOption('--volumeBackup', 'volumeBackup')
4245
5102
  .requiredOption('--dokployRestart', 'dokployRestart')
4246
5103
  .requiredOption('--name <value>', 'name')
@@ -4258,6 +5115,8 @@ export function registerGeneratedCommands(program) {
4258
5115
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4259
5116
  if (opts["databaseBackup"] != null)
4260
5117
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5118
+ if (opts["dokployBackup"] != null)
5119
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4261
5120
  if (opts["volumeBackup"] != null)
4262
5121
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4263
5122
  if (opts["dokployRestart"] != null)
@@ -4283,6 +5142,7 @@ export function registerGeneratedCommands(program) {
4283
5142
  .description('notification createLark')
4284
5143
  .requiredOption('--appBuildError', 'appBuildError')
4285
5144
  .requiredOption('--databaseBackup', 'databaseBackup')
5145
+ .requiredOption('--dokployBackup', 'dokployBackup')
4286
5146
  .requiredOption('--volumeBackup', 'volumeBackup')
4287
5147
  .requiredOption('--dokployRestart', 'dokployRestart')
4288
5148
  .requiredOption('--name <value>', 'name')
@@ -4298,6 +5158,8 @@ export function registerGeneratedCommands(program) {
4298
5158
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4299
5159
  if (opts["databaseBackup"] != null)
4300
5160
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5161
+ if (opts["dokployBackup"] != null)
5162
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4301
5163
  if (opts["volumeBackup"] != null)
4302
5164
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4303
5165
  if (opts["dokployRestart"] != null)
@@ -4316,11 +5178,55 @@ export function registerGeneratedCommands(program) {
4316
5178
  printOutput(data);
4317
5179
  }
4318
5180
  });
5181
+ g_notification
5182
+ .command('create-mattermost')
5183
+ .description('notification createMattermost')
5184
+ .requiredOption('--appBuildError', 'appBuildError')
5185
+ .requiredOption('--databaseBackup', 'databaseBackup')
5186
+ .requiredOption('--dokployBackup', 'dokployBackup')
5187
+ .requiredOption('--volumeBackup', 'volumeBackup')
5188
+ .requiredOption('--dokployRestart', 'dokployRestart')
5189
+ .requiredOption('--name <value>', 'name')
5190
+ .requiredOption('--appDeploy', 'appDeploy')
5191
+ .requiredOption('--dockerCleanup', 'dockerCleanup')
5192
+ .requiredOption('--serverThreshold', 'serverThreshold')
5193
+ .requiredOption('--webhookUrl <value>', 'webhookUrl')
5194
+ .option('--channel <value>', 'channel')
5195
+ .option('--username <value>', 'username')
5196
+ .option('--json', 'Output raw JSON')
5197
+ .action(async (opts) => {
5198
+ const jsonOutput = opts.json;
5199
+ delete opts.json;
5200
+ if (opts["appBuildError"] != null)
5201
+ opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5202
+ if (opts["databaseBackup"] != null)
5203
+ opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5204
+ if (opts["dokployBackup"] != null)
5205
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5206
+ if (opts["volumeBackup"] != null)
5207
+ opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5208
+ if (opts["dokployRestart"] != null)
5209
+ opts["dokployRestart"] = opts["dokployRestart"] === true || opts["dokployRestart"] === "true";
5210
+ if (opts["appDeploy"] != null)
5211
+ opts["appDeploy"] = opts["appDeploy"] === true || opts["appDeploy"] === "true";
5212
+ if (opts["dockerCleanup"] != null)
5213
+ opts["dockerCleanup"] = opts["dockerCleanup"] === true || opts["dockerCleanup"] === "true";
5214
+ if (opts["serverThreshold"] != null)
5215
+ opts["serverThreshold"] = opts["serverThreshold"] === true || opts["serverThreshold"] === "true";
5216
+ const data = await apiPost("notification.createMattermost", opts);
5217
+ if (jsonOutput) {
5218
+ console.log(JSON.stringify(data, null, 2));
5219
+ }
5220
+ else {
5221
+ printOutput(data);
5222
+ }
5223
+ });
4319
5224
  g_notification
4320
5225
  .command('create-ntfy')
4321
5226
  .description('notification createNtfy')
4322
5227
  .requiredOption('--appBuildError', 'appBuildError')
4323
5228
  .requiredOption('--databaseBackup', 'databaseBackup')
5229
+ .requiredOption('--dokployBackup', 'dokployBackup')
4324
5230
  .requiredOption('--volumeBackup', 'volumeBackup')
4325
5231
  .requiredOption('--dokployRestart', 'dokployRestart')
4326
5232
  .requiredOption('--name <value>', 'name')
@@ -4338,6 +5244,8 @@ export function registerGeneratedCommands(program) {
4338
5244
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4339
5245
  if (opts["databaseBackup"] != null)
4340
5246
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5247
+ if (opts["dokployBackup"] != null)
5248
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4341
5249
  if (opts["volumeBackup"] != null)
4342
5250
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4343
5251
  if (opts["dokployRestart"] != null)
@@ -4361,6 +5269,7 @@ export function registerGeneratedCommands(program) {
4361
5269
  .description('notification createPushover')
4362
5270
  .option('--appBuildError', 'appBuildError')
4363
5271
  .option('--databaseBackup', 'databaseBackup')
5272
+ .option('--dokployBackup', 'dokployBackup')
4364
5273
  .option('--volumeBackup', 'volumeBackup')
4365
5274
  .option('--dokployRestart', 'dokployRestart')
4366
5275
  .requiredOption('--name <value>', 'name')
@@ -4380,6 +5289,8 @@ export function registerGeneratedCommands(program) {
4380
5289
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4381
5290
  if (opts["databaseBackup"] != null)
4382
5291
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5292
+ if (opts["dokployBackup"] != null)
5293
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4383
5294
  if (opts["volumeBackup"] != null)
4384
5295
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4385
5296
  if (opts["dokployRestart"] != null)
@@ -4409,6 +5320,7 @@ export function registerGeneratedCommands(program) {
4409
5320
  .description('notification createResend')
4410
5321
  .requiredOption('--appBuildError', 'appBuildError')
4411
5322
  .requiredOption('--databaseBackup', 'databaseBackup')
5323
+ .requiredOption('--dokployBackup', 'dokployBackup')
4412
5324
  .requiredOption('--volumeBackup', 'volumeBackup')
4413
5325
  .requiredOption('--dokployRestart', 'dokployRestart')
4414
5326
  .requiredOption('--name <value>', 'name')
@@ -4426,6 +5338,8 @@ export function registerGeneratedCommands(program) {
4426
5338
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4427
5339
  if (opts["databaseBackup"] != null)
4428
5340
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5341
+ if (opts["dokployBackup"] != null)
5342
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4429
5343
  if (opts["volumeBackup"] != null)
4430
5344
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4431
5345
  if (opts["dokployRestart"] != null)
@@ -4449,6 +5363,7 @@ export function registerGeneratedCommands(program) {
4449
5363
  .description('notification createSlack')
4450
5364
  .requiredOption('--appBuildError', 'appBuildError')
4451
5365
  .requiredOption('--databaseBackup', 'databaseBackup')
5366
+ .requiredOption('--dokployBackup', 'dokployBackup')
4452
5367
  .requiredOption('--volumeBackup', 'volumeBackup')
4453
5368
  .requiredOption('--dokployRestart', 'dokployRestart')
4454
5369
  .requiredOption('--name <value>', 'name')
@@ -4465,6 +5380,8 @@ export function registerGeneratedCommands(program) {
4465
5380
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4466
5381
  if (opts["databaseBackup"] != null)
4467
5382
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5383
+ if (opts["dokployBackup"] != null)
5384
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4468
5385
  if (opts["volumeBackup"] != null)
4469
5386
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4470
5387
  if (opts["dokployRestart"] != null)
@@ -4488,6 +5405,7 @@ export function registerGeneratedCommands(program) {
4488
5405
  .description('notification createTeams')
4489
5406
  .requiredOption('--appBuildError', 'appBuildError')
4490
5407
  .requiredOption('--databaseBackup', 'databaseBackup')
5408
+ .requiredOption('--dokployBackup', 'dokployBackup')
4491
5409
  .requiredOption('--volumeBackup', 'volumeBackup')
4492
5410
  .requiredOption('--dokployRestart', 'dokployRestart')
4493
5411
  .requiredOption('--name <value>', 'name')
@@ -4503,6 +5421,8 @@ export function registerGeneratedCommands(program) {
4503
5421
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4504
5422
  if (opts["databaseBackup"] != null)
4505
5423
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5424
+ if (opts["dokployBackup"] != null)
5425
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4506
5426
  if (opts["volumeBackup"] != null)
4507
5427
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4508
5428
  if (opts["dokployRestart"] != null)
@@ -4526,6 +5446,7 @@ export function registerGeneratedCommands(program) {
4526
5446
  .description('notification createTelegram')
4527
5447
  .requiredOption('--appBuildError', 'appBuildError')
4528
5448
  .requiredOption('--databaseBackup', 'databaseBackup')
5449
+ .requiredOption('--dokployBackup', 'dokployBackup')
4529
5450
  .requiredOption('--volumeBackup', 'volumeBackup')
4530
5451
  .requiredOption('--dokployRestart', 'dokployRestart')
4531
5452
  .requiredOption('--name <value>', 'name')
@@ -4543,6 +5464,8 @@ export function registerGeneratedCommands(program) {
4543
5464
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4544
5465
  if (opts["databaseBackup"] != null)
4545
5466
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5467
+ if (opts["dokployBackup"] != null)
5468
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4546
5469
  if (opts["volumeBackup"] != null)
4547
5470
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4548
5471
  if (opts["dokployRestart"] != null)
@@ -4732,6 +5655,24 @@ export function registerGeneratedCommands(program) {
4732
5655
  printOutput(data);
4733
5656
  }
4734
5657
  });
5658
+ g_notification
5659
+ .command('test-mattermost-connection')
5660
+ .description('notification testMattermostConnection')
5661
+ .requiredOption('--webhookUrl <value>', 'webhookUrl')
5662
+ .option('--channel <value>', 'channel')
5663
+ .option('--username <value>', 'username')
5664
+ .option('--json', 'Output raw JSON')
5665
+ .action(async (opts) => {
5666
+ const jsonOutput = opts.json;
5667
+ delete opts.json;
5668
+ const data = await apiPost("notification.testMattermostConnection", opts);
5669
+ if (jsonOutput) {
5670
+ console.log(JSON.stringify(data, null, 2));
5671
+ }
5672
+ else {
5673
+ printOutput(data);
5674
+ }
5675
+ });
4735
5676
  g_notification
4736
5677
  .command('test-ntfy-connection')
4737
5678
  .description('notification testNtfyConnection')
@@ -4853,6 +5794,7 @@ export function registerGeneratedCommands(program) {
4853
5794
  .description('notification updateCustom')
4854
5795
  .option('--appBuildError', 'appBuildError')
4855
5796
  .option('--databaseBackup', 'databaseBackup')
5797
+ .option('--dokployBackup', 'dokployBackup')
4856
5798
  .option('--volumeBackup', 'volumeBackup')
4857
5799
  .option('--dokployRestart', 'dokployRestart')
4858
5800
  .option('--name <value>', 'name')
@@ -4872,6 +5814,8 @@ export function registerGeneratedCommands(program) {
4872
5814
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4873
5815
  if (opts["databaseBackup"] != null)
4874
5816
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5817
+ if (opts["dokployBackup"] != null)
5818
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4875
5819
  if (opts["volumeBackup"] != null)
4876
5820
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4877
5821
  if (opts["dokployRestart"] != null)
@@ -4895,6 +5839,7 @@ export function registerGeneratedCommands(program) {
4895
5839
  .description('notification updateDiscord')
4896
5840
  .option('--appBuildError', 'appBuildError')
4897
5841
  .option('--databaseBackup', 'databaseBackup')
5842
+ .option('--dokployBackup', 'dokployBackup')
4898
5843
  .option('--volumeBackup', 'volumeBackup')
4899
5844
  .option('--dokployRestart', 'dokployRestart')
4900
5845
  .option('--name <value>', 'name')
@@ -4914,6 +5859,8 @@ export function registerGeneratedCommands(program) {
4914
5859
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4915
5860
  if (opts["databaseBackup"] != null)
4916
5861
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5862
+ if (opts["dokployBackup"] != null)
5863
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4917
5864
  if (opts["volumeBackup"] != null)
4918
5865
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4919
5866
  if (opts["dokployRestart"] != null)
@@ -4939,6 +5886,7 @@ export function registerGeneratedCommands(program) {
4939
5886
  .description('notification updateEmail')
4940
5887
  .option('--appBuildError', 'appBuildError')
4941
5888
  .option('--databaseBackup', 'databaseBackup')
5889
+ .option('--dokployBackup', 'dokployBackup')
4942
5890
  .option('--volumeBackup', 'volumeBackup')
4943
5891
  .option('--dokployRestart', 'dokployRestart')
4944
5892
  .option('--name <value>', 'name')
@@ -4962,6 +5910,8 @@ export function registerGeneratedCommands(program) {
4962
5910
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
4963
5911
  if (opts["databaseBackup"] != null)
4964
5912
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5913
+ if (opts["dokployBackup"] != null)
5914
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
4965
5915
  if (opts["volumeBackup"] != null)
4966
5916
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
4967
5917
  if (opts["dokployRestart"] != null)
@@ -4987,6 +5937,7 @@ export function registerGeneratedCommands(program) {
4987
5937
  .description('notification updateGotify')
4988
5938
  .option('--appBuildError', 'appBuildError')
4989
5939
  .option('--databaseBackup', 'databaseBackup')
5940
+ .option('--dokployBackup', 'dokployBackup')
4990
5941
  .option('--volumeBackup', 'volumeBackup')
4991
5942
  .option('--dokployRestart', 'dokployRestart')
4992
5943
  .option('--name <value>', 'name')
@@ -5007,6 +5958,8 @@ export function registerGeneratedCommands(program) {
5007
5958
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5008
5959
  if (opts["databaseBackup"] != null)
5009
5960
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
5961
+ if (opts["dokployBackup"] != null)
5962
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5010
5963
  if (opts["volumeBackup"] != null)
5011
5964
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5012
5965
  if (opts["dokployRestart"] != null)
@@ -5032,6 +5985,7 @@ export function registerGeneratedCommands(program) {
5032
5985
  .description('notification updateLark')
5033
5986
  .option('--appBuildError', 'appBuildError')
5034
5987
  .option('--databaseBackup', 'databaseBackup')
5988
+ .option('--dokployBackup', 'dokployBackup')
5035
5989
  .option('--volumeBackup', 'volumeBackup')
5036
5990
  .option('--dokployRestart', 'dokployRestart')
5037
5991
  .option('--name <value>', 'name')
@@ -5050,6 +6004,8 @@ export function registerGeneratedCommands(program) {
5050
6004
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5051
6005
  if (opts["databaseBackup"] != null)
5052
6006
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
6007
+ if (opts["dokployBackup"] != null)
6008
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5053
6009
  if (opts["volumeBackup"] != null)
5054
6010
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5055
6011
  if (opts["dokployRestart"] != null)
@@ -5068,11 +6024,58 @@ export function registerGeneratedCommands(program) {
5068
6024
  printOutput(data);
5069
6025
  }
5070
6026
  });
6027
+ g_notification
6028
+ .command('update-mattermost')
6029
+ .description('notification updateMattermost')
6030
+ .option('--appBuildError', 'appBuildError')
6031
+ .option('--databaseBackup', 'databaseBackup')
6032
+ .option('--dokployBackup', 'dokployBackup')
6033
+ .option('--volumeBackup', 'volumeBackup')
6034
+ .option('--dokployRestart', 'dokployRestart')
6035
+ .option('--name <value>', 'name')
6036
+ .option('--appDeploy', 'appDeploy')
6037
+ .option('--dockerCleanup', 'dockerCleanup')
6038
+ .option('--serverThreshold', 'serverThreshold')
6039
+ .option('--webhookUrl <value>', 'webhookUrl')
6040
+ .option('--channel <value>', 'channel')
6041
+ .option('--username <value>', 'username')
6042
+ .requiredOption('--notificationId <value>', 'notificationId')
6043
+ .requiredOption('--mattermostId <value>', 'mattermostId')
6044
+ .option('--organizationId <value>', 'organizationId')
6045
+ .option('--json', 'Output raw JSON')
6046
+ .action(async (opts) => {
6047
+ const jsonOutput = opts.json;
6048
+ delete opts.json;
6049
+ if (opts["appBuildError"] != null)
6050
+ opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
6051
+ if (opts["databaseBackup"] != null)
6052
+ opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
6053
+ if (opts["dokployBackup"] != null)
6054
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
6055
+ if (opts["volumeBackup"] != null)
6056
+ opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
6057
+ if (opts["dokployRestart"] != null)
6058
+ opts["dokployRestart"] = opts["dokployRestart"] === true || opts["dokployRestart"] === "true";
6059
+ if (opts["appDeploy"] != null)
6060
+ opts["appDeploy"] = opts["appDeploy"] === true || opts["appDeploy"] === "true";
6061
+ if (opts["dockerCleanup"] != null)
6062
+ opts["dockerCleanup"] = opts["dockerCleanup"] === true || opts["dockerCleanup"] === "true";
6063
+ if (opts["serverThreshold"] != null)
6064
+ opts["serverThreshold"] = opts["serverThreshold"] === true || opts["serverThreshold"] === "true";
6065
+ const data = await apiPost("notification.updateMattermost", opts);
6066
+ if (jsonOutput) {
6067
+ console.log(JSON.stringify(data, null, 2));
6068
+ }
6069
+ else {
6070
+ printOutput(data);
6071
+ }
6072
+ });
5071
6073
  g_notification
5072
6074
  .command('update-ntfy')
5073
6075
  .description('notification updateNtfy')
5074
6076
  .option('--appBuildError', 'appBuildError')
5075
6077
  .option('--databaseBackup', 'databaseBackup')
6078
+ .option('--dokployBackup', 'dokployBackup')
5076
6079
  .option('--volumeBackup', 'volumeBackup')
5077
6080
  .option('--dokployRestart', 'dokployRestart')
5078
6081
  .option('--name <value>', 'name')
@@ -5093,6 +6096,8 @@ export function registerGeneratedCommands(program) {
5093
6096
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5094
6097
  if (opts["databaseBackup"] != null)
5095
6098
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
6099
+ if (opts["dokployBackup"] != null)
6100
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5096
6101
  if (opts["volumeBackup"] != null)
5097
6102
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5098
6103
  if (opts["dokployRestart"] != null)
@@ -5124,6 +6129,7 @@ export function registerGeneratedCommands(program) {
5124
6129
  .option('--expire <value>', 'expire')
5125
6130
  .option('--appBuildError', 'appBuildError')
5126
6131
  .option('--databaseBackup', 'databaseBackup')
6132
+ .option('--dokployBackup', 'dokployBackup')
5127
6133
  .option('--volumeBackup', 'volumeBackup')
5128
6134
  .option('--dokployRestart', 'dokployRestart')
5129
6135
  .option('--name <value>', 'name')
@@ -5144,6 +6150,8 @@ export function registerGeneratedCommands(program) {
5144
6150
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5145
6151
  if (opts["databaseBackup"] != null)
5146
6152
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
6153
+ if (opts["dokployBackup"] != null)
6154
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5147
6155
  if (opts["volumeBackup"] != null)
5148
6156
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5149
6157
  if (opts["dokployRestart"] != null)
@@ -5167,6 +6175,7 @@ export function registerGeneratedCommands(program) {
5167
6175
  .description('notification updateResend')
5168
6176
  .option('--appBuildError', 'appBuildError')
5169
6177
  .option('--databaseBackup', 'databaseBackup')
6178
+ .option('--dokployBackup', 'dokployBackup')
5170
6179
  .option('--volumeBackup', 'volumeBackup')
5171
6180
  .option('--dokployRestart', 'dokployRestart')
5172
6181
  .option('--name <value>', 'name')
@@ -5187,6 +6196,8 @@ export function registerGeneratedCommands(program) {
5187
6196
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5188
6197
  if (opts["databaseBackup"] != null)
5189
6198
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
6199
+ if (opts["dokployBackup"] != null)
6200
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5190
6201
  if (opts["volumeBackup"] != null)
5191
6202
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5192
6203
  if (opts["dokployRestart"] != null)
@@ -5210,6 +6221,7 @@ export function registerGeneratedCommands(program) {
5210
6221
  .description('notification updateSlack')
5211
6222
  .option('--appBuildError', 'appBuildError')
5212
6223
  .option('--databaseBackup', 'databaseBackup')
6224
+ .option('--dokployBackup', 'dokployBackup')
5213
6225
  .option('--volumeBackup', 'volumeBackup')
5214
6226
  .option('--dokployRestart', 'dokployRestart')
5215
6227
  .option('--name <value>', 'name')
@@ -5229,6 +6241,8 @@ export function registerGeneratedCommands(program) {
5229
6241
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5230
6242
  if (opts["databaseBackup"] != null)
5231
6243
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
6244
+ if (opts["dokployBackup"] != null)
6245
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5232
6246
  if (opts["volumeBackup"] != null)
5233
6247
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5234
6248
  if (opts["dokployRestart"] != null)
@@ -5252,6 +6266,7 @@ export function registerGeneratedCommands(program) {
5252
6266
  .description('notification updateTeams')
5253
6267
  .option('--appBuildError', 'appBuildError')
5254
6268
  .option('--databaseBackup', 'databaseBackup')
6269
+ .option('--dokployBackup', 'dokployBackup')
5255
6270
  .option('--volumeBackup', 'volumeBackup')
5256
6271
  .option('--dokployRestart', 'dokployRestart')
5257
6272
  .option('--name <value>', 'name')
@@ -5270,6 +6285,8 @@ export function registerGeneratedCommands(program) {
5270
6285
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5271
6286
  if (opts["databaseBackup"] != null)
5272
6287
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
6288
+ if (opts["dokployBackup"] != null)
6289
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5273
6290
  if (opts["volumeBackup"] != null)
5274
6291
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5275
6292
  if (opts["dokployRestart"] != null)
@@ -5293,6 +6310,7 @@ export function registerGeneratedCommands(program) {
5293
6310
  .description('notification updateTelegram')
5294
6311
  .option('--appBuildError', 'appBuildError')
5295
6312
  .option('--databaseBackup', 'databaseBackup')
6313
+ .option('--dokployBackup', 'dokployBackup')
5296
6314
  .option('--volumeBackup', 'volumeBackup')
5297
6315
  .option('--dokployRestart', 'dokployRestart')
5298
6316
  .option('--name <value>', 'name')
@@ -5313,6 +6331,8 @@ export function registerGeneratedCommands(program) {
5313
6331
  opts["appBuildError"] = opts["appBuildError"] === true || opts["appBuildError"] === "true";
5314
6332
  if (opts["databaseBackup"] != null)
5315
6333
  opts["databaseBackup"] = opts["databaseBackup"] === true || opts["databaseBackup"] === "true";
6334
+ if (opts["dokployBackup"] != null)
6335
+ opts["dokployBackup"] = opts["dokployBackup"] === true || opts["dokployBackup"] === "true";
5316
6336
  if (opts["volumeBackup"] != null)
5317
6337
  opts["volumeBackup"] = opts["volumeBackup"] === true || opts["volumeBackup"] === "true";
5318
6338
  if (opts["dokployRestart"] != null)
@@ -5410,6 +6430,23 @@ export function registerGeneratedCommands(program) {
5410
6430
  printOutput(data);
5411
6431
  }
5412
6432
  });
6433
+ g_organization
6434
+ .command('invite-member')
6435
+ .description('organization inviteMember')
6436
+ .requiredOption('--email <value>', 'email')
6437
+ .requiredOption('--role <value>', 'role')
6438
+ .option('--json', 'Output raw JSON')
6439
+ .action(async (opts) => {
6440
+ const jsonOutput = opts.json;
6441
+ delete opts.json;
6442
+ const data = await apiPost("organization.inviteMember", opts);
6443
+ if (jsonOutput) {
6444
+ console.log(JSON.stringify(data, null, 2));
6445
+ }
6446
+ else {
6447
+ printOutput(data);
6448
+ }
6449
+ });
5413
6450
  g_organization
5414
6451
  .command('one')
5415
6452
  .description('organization one')
@@ -5480,7 +6517,7 @@ export function registerGeneratedCommands(program) {
5480
6517
  .command('update-member-role')
5481
6518
  .description('organization updateMemberRole')
5482
6519
  .requiredOption('--memberId <value>', 'memberId')
5483
- .requiredOption('--role <value>', 'role (admin, member)')
6520
+ .requiredOption('--role <value>', 'role')
5484
6521
  .option('--json', 'Output raw JSON')
5485
6522
  .action(async (opts) => {
5486
6523
  const jsonOutput = opts.json;
@@ -5798,6 +6835,23 @@ export function registerGeneratedCommands(program) {
5798
6835
  }
5799
6836
  });
5800
6837
  const g_postgres = program.command('postgres').description('postgres commands');
6838
+ g_postgres
6839
+ .command('change-password')
6840
+ .description('postgres changePassword')
6841
+ .requiredOption('--postgresId <value>', 'postgresId')
6842
+ .requiredOption('--password <value>', 'password')
6843
+ .option('--json', 'Output raw JSON')
6844
+ .action(async (opts) => {
6845
+ const jsonOutput = opts.json;
6846
+ delete opts.json;
6847
+ const data = await apiPost("postgres.changePassword", opts);
6848
+ if (jsonOutput) {
6849
+ console.log(JSON.stringify(data, null, 2));
6850
+ }
6851
+ else {
6852
+ printOutput(data);
6853
+ }
6854
+ });
5801
6855
  g_postgres
5802
6856
  .command('change-status')
5803
6857
  .description('postgres changeStatus')
@@ -5888,6 +6942,27 @@ export function registerGeneratedCommands(program) {
5888
6942
  printOutput(data);
5889
6943
  }
5890
6944
  });
6945
+ g_postgres
6946
+ .command('read-logs')
6947
+ .description('postgres readLogs')
6948
+ .requiredOption('--postgresId <value>', 'postgresId')
6949
+ .option('--tail <value>', 'tail')
6950
+ .option('--since <value>', 'since')
6951
+ .option('--search <value>', 'search')
6952
+ .option('--json', 'Output raw JSON')
6953
+ .action(async (opts) => {
6954
+ const jsonOutput = opts.json;
6955
+ delete opts.json;
6956
+ if (opts["tail"] != null)
6957
+ opts["tail"] = Number(opts["tail"]);
6958
+ const data = await apiGet("postgres.readLogs", opts);
6959
+ if (jsonOutput) {
6960
+ console.log(JSON.stringify(data, null, 2));
6961
+ }
6962
+ else {
6963
+ printOutput(data);
6964
+ }
6965
+ });
5891
6966
  g_postgres
5892
6967
  .command('rebuild')
5893
6968
  .description('postgres rebuild')
@@ -6223,6 +7298,21 @@ export function registerGeneratedCommands(program) {
6223
7298
  printOutput(data);
6224
7299
  }
6225
7300
  });
7301
+ g_project
7302
+ .command('home-stats')
7303
+ .description('project homeStats')
7304
+ .option('--json', 'Output raw JSON')
7305
+ .action(async (opts) => {
7306
+ const jsonOutput = opts.json;
7307
+ delete opts.json;
7308
+ const data = await apiGet("project.homeStats", opts);
7309
+ if (jsonOutput) {
7310
+ console.log(JSON.stringify(data, null, 2));
7311
+ }
7312
+ else {
7313
+ printOutput(data);
7314
+ }
7315
+ });
6226
7316
  g_project
6227
7317
  .command('one')
6228
7318
  .description('project one')
@@ -6376,6 +7466,23 @@ export function registerGeneratedCommands(program) {
6376
7466
  }
6377
7467
  });
6378
7468
  const g_redis = program.command('redis').description('redis commands');
7469
+ g_redis
7470
+ .command('change-password')
7471
+ .description('redis changePassword')
7472
+ .requiredOption('--redisId <value>', 'redisId')
7473
+ .requiredOption('--password <value>', 'password')
7474
+ .option('--json', 'Output raw JSON')
7475
+ .action(async (opts) => {
7476
+ const jsonOutput = opts.json;
7477
+ delete opts.json;
7478
+ const data = await apiPost("redis.changePassword", opts);
7479
+ if (jsonOutput) {
7480
+ console.log(JSON.stringify(data, null, 2));
7481
+ }
7482
+ else {
7483
+ printOutput(data);
7484
+ }
7485
+ });
6379
7486
  g_redis
6380
7487
  .command('change-status')
6381
7488
  .description('redis changeStatus')
@@ -6464,6 +7571,27 @@ export function registerGeneratedCommands(program) {
6464
7571
  printOutput(data);
6465
7572
  }
6466
7573
  });
7574
+ g_redis
7575
+ .command('read-logs')
7576
+ .description('redis readLogs')
7577
+ .requiredOption('--redisId <value>', 'redisId')
7578
+ .option('--tail <value>', 'tail')
7579
+ .option('--since <value>', 'since')
7580
+ .option('--search <value>', 'search')
7581
+ .option('--json', 'Output raw JSON')
7582
+ .action(async (opts) => {
7583
+ const jsonOutput = opts.json;
7584
+ delete opts.json;
7585
+ if (opts["tail"] != null)
7586
+ opts["tail"] = Number(opts["tail"]);
7587
+ const data = await apiGet("redis.readLogs", opts);
7588
+ if (jsonOutput) {
7589
+ console.log(JSON.stringify(data, null, 2));
7590
+ }
7591
+ else {
7592
+ printOutput(data);
7593
+ }
7594
+ });
6467
7595
  g_redis
6468
7596
  .command('rebuild')
6469
7597
  .description('redis rebuild')
@@ -6829,6 +7957,7 @@ export function registerGeneratedCommands(program) {
6829
7957
  .description('schedule create')
6830
7958
  .option('--scheduleId <value>', 'scheduleId')
6831
7959
  .requiredOption('--name <value>', 'name')
7960
+ .option('--description <value>', 'description')
6832
7961
  .requiredOption('--cronExpression <value>', 'cronExpression')
6833
7962
  .option('--appName <value>', 'appName')
6834
7963
  .option('--serviceName <value>', 'serviceName')
@@ -6927,6 +8056,7 @@ export function registerGeneratedCommands(program) {
6927
8056
  .description('schedule update')
6928
8057
  .requiredOption('--scheduleId <value>', 'scheduleId')
6929
8058
  .requiredOption('--name <value>', 'name')
8059
+ .option('--description <value>', 'description')
6930
8060
  .requiredOption('--cronExpression <value>', 'cronExpression')
6931
8061
  .option('--appName <value>', 'appName')
6932
8062
  .option('--serviceName <value>', 'serviceName')
@@ -7040,6 +8170,21 @@ export function registerGeneratedCommands(program) {
7040
8170
  printOutput(data);
7041
8171
  }
7042
8172
  });
8173
+ g_server
8174
+ .command('all-for-permissions')
8175
+ .description('server allForPermissions')
8176
+ .option('--json', 'Output raw JSON')
8177
+ .action(async (opts) => {
8178
+ const jsonOutput = opts.json;
8179
+ delete opts.json;
8180
+ const data = await apiGet("server.allForPermissions", opts);
8181
+ if (jsonOutput) {
8182
+ console.log(JSON.stringify(data, null, 2));
8183
+ }
8184
+ else {
8185
+ printOutput(data);
8186
+ }
8187
+ });
7043
8188
  g_server
7044
8189
  .command('build-servers')
7045
8190
  .description('server buildServers')
@@ -7334,6 +8479,21 @@ export function registerGeneratedCommands(program) {
7334
8479
  printOutput(data);
7335
8480
  }
7336
8481
  });
8482
+ g_settings
8483
+ .command('check-infrastructure-health')
8484
+ .description('settings checkInfrastructureHealth')
8485
+ .option('--json', 'Output raw JSON')
8486
+ .action(async (opts) => {
8487
+ const jsonOutput = opts.json;
8488
+ delete opts.json;
8489
+ const data = await apiGet("settings.checkInfrastructureHealth", opts);
8490
+ if (jsonOutput) {
8491
+ console.log(JSON.stringify(data, null, 2));
8492
+ }
8493
+ else {
8494
+ printOutput(data);
8495
+ }
8496
+ });
7337
8497
  g_settings
7338
8498
  .command('clean-all')
7339
8499
  .description('settings cleanAll')
@@ -7466,7 +8626,23 @@ export function registerGeneratedCommands(program) {
7466
8626
  .action(async (opts) => {
7467
8627
  const jsonOutput = opts.json;
7468
8628
  delete opts.json;
7469
- const data = await apiPost("settings.cleanUnusedImages", opts);
8629
+ const data = await apiPost("settings.cleanUnusedImages", opts);
8630
+ if (jsonOutput) {
8631
+ console.log(JSON.stringify(data, null, 2));
8632
+ }
8633
+ else {
8634
+ printOutput(data);
8635
+ }
8636
+ });
8637
+ g_settings
8638
+ .command('clean-unused-volumes')
8639
+ .description('settings cleanUnusedVolumes')
8640
+ .option('--serverId <value>', 'serverId')
8641
+ .option('--json', 'Output raw JSON')
8642
+ .action(async (opts) => {
8643
+ const jsonOutput = opts.json;
8644
+ delete opts.json;
8645
+ const data = await apiPost("settings.cleanUnusedVolumes", opts);
7470
8646
  if (jsonOutput) {
7471
8647
  console.log(JSON.stringify(data, null, 2));
7472
8648
  }
@@ -7475,14 +8651,13 @@ export function registerGeneratedCommands(program) {
7475
8651
  }
7476
8652
  });
7477
8653
  g_settings
7478
- .command('clean-unused-volumes')
7479
- .description('settings cleanUnusedVolumes')
7480
- .option('--serverId <value>', 'serverId')
8654
+ .command('get-docker-disk-usage')
8655
+ .description('settings getDockerDiskUsage')
7481
8656
  .option('--json', 'Output raw JSON')
7482
8657
  .action(async (opts) => {
7483
8658
  const jsonOutput = opts.json;
7484
8659
  delete opts.json;
7485
- const data = await apiPost("settings.cleanUnusedVolumes", opts);
8660
+ const data = await apiGet("settings.getDockerDiskUsage", opts);
7486
8661
  if (jsonOutput) {
7487
8662
  console.log(JSON.stringify(data, null, 2));
7488
8663
  }
@@ -8093,6 +9268,21 @@ export function registerGeneratedCommands(program) {
8093
9268
  printOutput(data);
8094
9269
  }
8095
9270
  });
9271
+ g_sshKey
9272
+ .command('all-for-apps')
9273
+ .description('sshKey allForApps')
9274
+ .option('--json', 'Output raw JSON')
9275
+ .action(async (opts) => {
9276
+ const jsonOutput = opts.json;
9277
+ delete opts.json;
9278
+ const data = await apiGet("sshKey.allForApps", opts);
9279
+ if (jsonOutput) {
9280
+ console.log(JSON.stringify(data, null, 2));
9281
+ }
9282
+ else {
9283
+ printOutput(data);
9284
+ }
9285
+ });
8096
9286
  g_sshKey
8097
9287
  .command('create')
8098
9288
  .description('sshKey create')
@@ -8454,6 +9644,24 @@ export function registerGeneratedCommands(program) {
8454
9644
  printOutput(data);
8455
9645
  }
8456
9646
  });
9647
+ g_stripe
9648
+ .command('update-invoice-notifications')
9649
+ .description('stripe updateInvoiceNotifications')
9650
+ .requiredOption('--enabled', 'enabled')
9651
+ .option('--json', 'Output raw JSON')
9652
+ .action(async (opts) => {
9653
+ const jsonOutput = opts.json;
9654
+ delete opts.json;
9655
+ if (opts["enabled"] != null)
9656
+ opts["enabled"] = opts["enabled"] === true || opts["enabled"] === "true";
9657
+ const data = await apiPost("stripe.updateInvoiceNotifications", opts);
9658
+ if (jsonOutput) {
9659
+ console.log(JSON.stringify(data, null, 2));
9660
+ }
9661
+ else {
9662
+ printOutput(data);
9663
+ }
9664
+ });
8457
9665
  g_stripe
8458
9666
  .command('upgrade-subscription')
8459
9667
  .description('stripe upgradeSubscription')
@@ -8477,6 +9685,22 @@ export function registerGeneratedCommands(program) {
8477
9685
  }
8478
9686
  });
8479
9687
  const g_swarm = program.command('swarm').description('swarm commands');
9688
+ g_swarm
9689
+ .command('get-container-stats')
9690
+ .description('swarm getContainerStats')
9691
+ .option('--serverId <value>', 'serverId')
9692
+ .option('--json', 'Output raw JSON')
9693
+ .action(async (opts) => {
9694
+ const jsonOutput = opts.json;
9695
+ delete opts.json;
9696
+ const data = await apiGet("swarm.getContainerStats", opts);
9697
+ if (jsonOutput) {
9698
+ console.log(JSON.stringify(data, null, 2));
9699
+ }
9700
+ else {
9701
+ printOutput(data);
9702
+ }
9703
+ });
8480
9704
  g_swarm
8481
9705
  .command('get-node-apps')
8482
9706
  .description('swarm getNodeApps')
@@ -8526,6 +9750,142 @@ export function registerGeneratedCommands(program) {
8526
9750
  printOutput(data);
8527
9751
  }
8528
9752
  });
9753
+ const g_tag = program.command('tag').description('tag commands');
9754
+ g_tag
9755
+ .command('all')
9756
+ .description('tag all')
9757
+ .option('--json', 'Output raw JSON')
9758
+ .action(async (opts) => {
9759
+ const jsonOutput = opts.json;
9760
+ delete opts.json;
9761
+ const data = await apiGet("tag.all", opts);
9762
+ if (jsonOutput) {
9763
+ console.log(JSON.stringify(data, null, 2));
9764
+ }
9765
+ else {
9766
+ printOutput(data);
9767
+ }
9768
+ });
9769
+ g_tag
9770
+ .command('assign-to-project')
9771
+ .description('tag assignToProject')
9772
+ .requiredOption('--projectId <value>', 'projectId')
9773
+ .requiredOption('--tagId <value>', 'tagId')
9774
+ .option('--json', 'Output raw JSON')
9775
+ .action(async (opts) => {
9776
+ const jsonOutput = opts.json;
9777
+ delete opts.json;
9778
+ const data = await apiPost("tag.assignToProject", opts);
9779
+ if (jsonOutput) {
9780
+ console.log(JSON.stringify(data, null, 2));
9781
+ }
9782
+ else {
9783
+ printOutput(data);
9784
+ }
9785
+ });
9786
+ g_tag
9787
+ .command('bulk-assign')
9788
+ .description('tag bulkAssign')
9789
+ .requiredOption('--projectId <value>', 'projectId')
9790
+ .requiredOption('--tagIds <value>', 'tagIds')
9791
+ .option('--json', 'Output raw JSON')
9792
+ .action(async (opts) => {
9793
+ const jsonOutput = opts.json;
9794
+ delete opts.json;
9795
+ const data = await apiPost("tag.bulkAssign", opts);
9796
+ if (jsonOutput) {
9797
+ console.log(JSON.stringify(data, null, 2));
9798
+ }
9799
+ else {
9800
+ printOutput(data);
9801
+ }
9802
+ });
9803
+ g_tag
9804
+ .command('create')
9805
+ .description('tag create')
9806
+ .requiredOption('--name <value>', 'name')
9807
+ .option('--color <value>', 'color')
9808
+ .option('--json', 'Output raw JSON')
9809
+ .action(async (opts) => {
9810
+ const jsonOutput = opts.json;
9811
+ delete opts.json;
9812
+ const data = await apiPost("tag.create", opts);
9813
+ if (jsonOutput) {
9814
+ console.log(JSON.stringify(data, null, 2));
9815
+ }
9816
+ else {
9817
+ printOutput(data);
9818
+ }
9819
+ });
9820
+ g_tag
9821
+ .command('one')
9822
+ .description('tag one')
9823
+ .requiredOption('--tagId <value>', 'tagId')
9824
+ .option('--json', 'Output raw JSON')
9825
+ .action(async (opts) => {
9826
+ const jsonOutput = opts.json;
9827
+ delete opts.json;
9828
+ const data = await apiGet("tag.one", opts);
9829
+ if (jsonOutput) {
9830
+ console.log(JSON.stringify(data, null, 2));
9831
+ }
9832
+ else {
9833
+ printOutput(data);
9834
+ }
9835
+ });
9836
+ g_tag
9837
+ .command('remove')
9838
+ .description('tag remove')
9839
+ .requiredOption('--tagId <value>', 'tagId')
9840
+ .option('--json', 'Output raw JSON')
9841
+ .action(async (opts) => {
9842
+ const jsonOutput = opts.json;
9843
+ delete opts.json;
9844
+ const data = await apiPost("tag.remove", opts);
9845
+ if (jsonOutput) {
9846
+ console.log(JSON.stringify(data, null, 2));
9847
+ }
9848
+ else {
9849
+ printOutput(data);
9850
+ }
9851
+ });
9852
+ g_tag
9853
+ .command('remove-from-project')
9854
+ .description('tag removeFromProject')
9855
+ .requiredOption('--projectId <value>', 'projectId')
9856
+ .requiredOption('--tagId <value>', 'tagId')
9857
+ .option('--json', 'Output raw JSON')
9858
+ .action(async (opts) => {
9859
+ const jsonOutput = opts.json;
9860
+ delete opts.json;
9861
+ const data = await apiPost("tag.removeFromProject", opts);
9862
+ if (jsonOutput) {
9863
+ console.log(JSON.stringify(data, null, 2));
9864
+ }
9865
+ else {
9866
+ printOutput(data);
9867
+ }
9868
+ });
9869
+ g_tag
9870
+ .command('update')
9871
+ .description('tag update')
9872
+ .requiredOption('--tagId <value>', 'tagId')
9873
+ .option('--name <value>', 'name')
9874
+ .option('--color <value>', 'color')
9875
+ .option('--createdAt <value>', 'createdAt')
9876
+ .option('--organizationId <value>', 'organizationId')
9877
+ .option('--json', 'Output raw JSON')
9878
+ .action(async (opts) => {
9879
+ const jsonOutput = opts.json;
9880
+ delete opts.json;
9881
+ const data = await apiPost("tag.update", opts);
9882
+ if (jsonOutput) {
9883
+ console.log(JSON.stringify(data, null, 2));
9884
+ }
9885
+ else {
9886
+ printOutput(data);
9887
+ }
9888
+ });
8529
9889
  const g_user = program.command('user').description('user commands');
8530
9890
  g_user
8531
9891
  .command('all')
@@ -8549,6 +9909,8 @@ export function registerGeneratedCommands(program) {
8549
9909
  .requiredOption('--accessedProjects <value>', 'accessedProjects')
8550
9910
  .requiredOption('--accessedEnvironments <value>', 'accessedEnvironments')
8551
9911
  .requiredOption('--accessedServices <value>', 'accessedServices')
9912
+ .requiredOption('--accessedGitProviders <value>', 'accessedGitProviders')
9913
+ .requiredOption('--accessedServers <value>', 'accessedServers')
8552
9914
  .requiredOption('--canCreateProjects', 'canCreateProjects')
8553
9915
  .requiredOption('--canCreateServices', 'canCreateServices')
8554
9916
  .requiredOption('--canDeleteProjects', 'canDeleteProjects')
@@ -8649,6 +10011,24 @@ export function registerGeneratedCommands(program) {
8649
10011
  printOutput(data);
8650
10012
  }
8651
10013
  });
10014
+ g_user
10015
+ .command('create-user-with-credentials')
10016
+ .description('user createUserWithCredentials')
10017
+ .requiredOption('--email <value>', 'email')
10018
+ .requiredOption('--password <value>', 'password')
10019
+ .requiredOption('--role <value>', 'role')
10020
+ .option('--json', 'Output raw JSON')
10021
+ .action(async (opts) => {
10022
+ const jsonOutput = opts.json;
10023
+ delete opts.json;
10024
+ const data = await apiPost("user.createUserWithCredentials", opts);
10025
+ if (jsonOutput) {
10026
+ console.log(JSON.stringify(data, null, 2));
10027
+ }
10028
+ else {
10029
+ printOutput(data);
10030
+ }
10031
+ });
8652
10032
  g_user
8653
10033
  .command('delete-api-key')
8654
10034
  .description('user deleteApiKey')
@@ -8710,6 +10090,21 @@ export function registerGeneratedCommands(program) {
8710
10090
  printOutput(data);
8711
10091
  }
8712
10092
  });
10093
+ g_user
10094
+ .command('get-bookmarked-templates')
10095
+ .description('user getBookmarkedTemplates')
10096
+ .option('--json', 'Output raw JSON')
10097
+ .action(async (opts) => {
10098
+ const jsonOutput = opts.json;
10099
+ delete opts.json;
10100
+ const data = await apiGet("user.getBookmarkedTemplates", opts);
10101
+ if (jsonOutput) {
10102
+ console.log(JSON.stringify(data, null, 2));
10103
+ }
10104
+ else {
10105
+ printOutput(data);
10106
+ }
10107
+ });
8713
10108
  g_user
8714
10109
  .command('get-container-metrics')
8715
10110
  .description('user getContainerMetrics')
@@ -8759,6 +10154,21 @@ export function registerGeneratedCommands(program) {
8759
10154
  printOutput(data);
8760
10155
  }
8761
10156
  });
10157
+ g_user
10158
+ .command('get-permissions')
10159
+ .description('user getPermissions')
10160
+ .option('--json', 'Output raw JSON')
10161
+ .action(async (opts) => {
10162
+ const jsonOutput = opts.json;
10163
+ delete opts.json;
10164
+ const data = await apiGet("user.getPermissions", opts);
10165
+ if (jsonOutput) {
10166
+ console.log(JSON.stringify(data, null, 2));
10167
+ }
10168
+ else {
10169
+ printOutput(data);
10170
+ }
10171
+ });
8762
10172
  g_user
8763
10173
  .command('get-server-metrics')
8764
10174
  .description('user getServerMetrics')
@@ -8854,6 +10264,37 @@ export function registerGeneratedCommands(program) {
8854
10264
  printOutput(data);
8855
10265
  }
8856
10266
  });
10267
+ g_user
10268
+ .command('session')
10269
+ .description('user session')
10270
+ .option('--json', 'Output raw JSON')
10271
+ .action(async (opts) => {
10272
+ const jsonOutput = opts.json;
10273
+ delete opts.json;
10274
+ const data = await apiGet("user.session", opts);
10275
+ if (jsonOutput) {
10276
+ console.log(JSON.stringify(data, null, 2));
10277
+ }
10278
+ else {
10279
+ printOutput(data);
10280
+ }
10281
+ });
10282
+ g_user
10283
+ .command('toggle-template-bookmark')
10284
+ .description('user toggleTemplateBookmark')
10285
+ .requiredOption('--templateId <value>', 'templateId')
10286
+ .option('--json', 'Output raw JSON')
10287
+ .action(async (opts) => {
10288
+ const jsonOutput = opts.json;
10289
+ delete opts.json;
10290
+ const data = await apiPost("user.toggleTemplateBookmark", opts);
10291
+ if (jsonOutput) {
10292
+ console.log(JSON.stringify(data, null, 2));
10293
+ }
10294
+ else {
10295
+ printOutput(data);
10296
+ }
10297
+ });
8857
10298
  g_user
8858
10299
  .command('update')
8859
10300
  .description('user update')
@@ -8879,6 +10320,7 @@ export function registerGeneratedCommands(program) {
8879
10320
  .option('--stripeCustomerId <value>', 'stripeCustomerId')
8880
10321
  .option('--stripeSubscriptionId <value>', 'stripeSubscriptionId')
8881
10322
  .option('--serversQuantity <value>', 'serversQuantity')
10323
+ .option('--sendInvoiceNotifications', 'sendInvoiceNotifications')
8882
10324
  .option('--password <value>', 'password')
8883
10325
  .option('--currentPassword <value>', 'currentPassword')
8884
10326
  .option('--json', 'Output raw JSON')
@@ -8901,6 +10343,8 @@ export function registerGeneratedCommands(program) {
8901
10343
  opts["enableEnterpriseFeatures"] = opts["enableEnterpriseFeatures"] === true || opts["enableEnterpriseFeatures"] === "true";
8902
10344
  if (opts["serversQuantity"] != null)
8903
10345
  opts["serversQuantity"] = Number(opts["serversQuantity"]);
10346
+ if (opts["sendInvoiceNotifications"] != null)
10347
+ opts["sendInvoiceNotifications"] = opts["sendInvoiceNotifications"] === true || opts["sendInvoiceNotifications"] === "true";
8904
10348
  const data = await apiPost("user.update", opts);
8905
10349
  if (jsonOutput) {
8906
10350
  console.log(JSON.stringify(data, null, 2));
@@ -8916,7 +10360,7 @@ export function registerGeneratedCommands(program) {
8916
10360
  .requiredOption('--name <value>', 'name')
8917
10361
  .requiredOption('--volumeName <value>', 'volumeName')
8918
10362
  .requiredOption('--prefix <value>', 'prefix')
8919
- .option('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose)')
10363
+ .option('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose, libsql)')
8920
10364
  .option('--appName <value>', 'appName')
8921
10365
  .option('--serviceName <value>', 'serviceName')
8922
10366
  .option('--turnOff', 'turnOff')
@@ -8929,6 +10373,7 @@ export function registerGeneratedCommands(program) {
8929
10373
  .option('--mongoId <value>', 'mongoId')
8930
10374
  .option('--mysqlId <value>', 'mysqlId')
8931
10375
  .option('--redisId <value>', 'redisId')
10376
+ .option('--libsqlId <value>', 'libsqlId')
8932
10377
  .option('--composeId <value>', 'composeId')
8933
10378
  .option('--createdAt <value>', 'createdAt')
8934
10379
  .requiredOption('--destinationId <value>', 'destinationId')
@@ -8970,7 +10415,7 @@ export function registerGeneratedCommands(program) {
8970
10415
  .command('list')
8971
10416
  .description('volumeBackups list')
8972
10417
  .requiredOption('--id <value>', 'id')
8973
- .requiredOption('--volumeBackupType <value>', 'volumeBackupType (application, postgres, mysql, mariadb, mongo, redis, compose)')
10418
+ .requiredOption('--volumeBackupType <value>', 'volumeBackupType (application, postgres, mysql, mariadb, mongo, redis, compose, libsql)')
8974
10419
  .option('--json', 'Output raw JSON')
8975
10420
  .action(async (opts) => {
8976
10421
  const jsonOutput = opts.json;
@@ -9021,7 +10466,7 @@ export function registerGeneratedCommands(program) {
9021
10466
  .requiredOption('--name <value>', 'name')
9022
10467
  .requiredOption('--volumeName <value>', 'volumeName')
9023
10468
  .requiredOption('--prefix <value>', 'prefix')
9024
- .option('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose)')
10469
+ .option('--serviceType <value>', 'serviceType (application, postgres, mysql, mariadb, mongo, redis, compose, libsql)')
9025
10470
  .option('--appName <value>', 'appName')
9026
10471
  .option('--serviceName <value>', 'serviceName')
9027
10472
  .option('--turnOff', 'turnOff')
@@ -9034,6 +10479,7 @@ export function registerGeneratedCommands(program) {
9034
10479
  .option('--mongoId <value>', 'mongoId')
9035
10480
  .option('--mysqlId <value>', 'mysqlId')
9036
10481
  .option('--redisId <value>', 'redisId')
10482
+ .option('--libsqlId <value>', 'libsqlId')
9037
10483
  .option('--composeId <value>', 'composeId')
9038
10484
  .option('--createdAt <value>', 'createdAt')
9039
10485
  .requiredOption('--destinationId <value>', 'destinationId')
@@ -9056,4 +10502,66 @@ export function registerGeneratedCommands(program) {
9056
10502
  printOutput(data);
9057
10503
  }
9058
10504
  });
10505
+ const g_whitelabeling = program.command('whitelabeling').description('whitelabeling commands');
10506
+ g_whitelabeling
10507
+ .command('get')
10508
+ .description('whitelabeling get')
10509
+ .option('--json', 'Output raw JSON')
10510
+ .action(async (opts) => {
10511
+ const jsonOutput = opts.json;
10512
+ delete opts.json;
10513
+ const data = await apiGet("whitelabeling.get", opts);
10514
+ if (jsonOutput) {
10515
+ console.log(JSON.stringify(data, null, 2));
10516
+ }
10517
+ else {
10518
+ printOutput(data);
10519
+ }
10520
+ });
10521
+ g_whitelabeling
10522
+ .command('get-public')
10523
+ .description('whitelabeling getPublic')
10524
+ .option('--json', 'Output raw JSON')
10525
+ .action(async (opts) => {
10526
+ const jsonOutput = opts.json;
10527
+ delete opts.json;
10528
+ const data = await apiGet("whitelabeling.getPublic", opts);
10529
+ if (jsonOutput) {
10530
+ console.log(JSON.stringify(data, null, 2));
10531
+ }
10532
+ else {
10533
+ printOutput(data);
10534
+ }
10535
+ });
10536
+ g_whitelabeling
10537
+ .command('reset')
10538
+ .description('whitelabeling reset')
10539
+ .option('--json', 'Output raw JSON')
10540
+ .action(async (opts) => {
10541
+ const jsonOutput = opts.json;
10542
+ delete opts.json;
10543
+ const data = await apiPost("whitelabeling.reset", opts);
10544
+ if (jsonOutput) {
10545
+ console.log(JSON.stringify(data, null, 2));
10546
+ }
10547
+ else {
10548
+ printOutput(data);
10549
+ }
10550
+ });
10551
+ g_whitelabeling
10552
+ .command('update')
10553
+ .description('whitelabeling update')
10554
+ .requiredOption('--whitelabelingConfig <value>', 'whitelabelingConfig')
10555
+ .option('--json', 'Output raw JSON')
10556
+ .action(async (opts) => {
10557
+ const jsonOutput = opts.json;
10558
+ delete opts.json;
10559
+ const data = await apiPost("whitelabeling.update", opts);
10560
+ if (jsonOutput) {
10561
+ console.log(JSON.stringify(data, null, 2));
10562
+ }
10563
+ else {
10564
+ printOutput(data);
10565
+ }
10566
+ });
9059
10567
  }