@temps-sdk/cli 0.1.27 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +493 -135
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1020,7 +1020,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1020
1020
|
this._exitCallback = (err) => {
|
|
1021
1021
|
if (err.code !== "commander.executeSubCommandAsync") {
|
|
1022
1022
|
throw err;
|
|
1023
|
-
}
|
|
1023
|
+
}
|
|
1024
1024
|
};
|
|
1025
1025
|
}
|
|
1026
1026
|
return this;
|
|
@@ -12654,7 +12654,7 @@ var require_dist = __commonJS((exports, module) => {
|
|
|
12654
12654
|
exports.default = formatsPlugin;
|
|
12655
12655
|
});
|
|
12656
12656
|
|
|
12657
|
-
// node_modules/
|
|
12657
|
+
// node_modules/semver/internal/constants.js
|
|
12658
12658
|
var require_constants = __commonJS((exports, module) => {
|
|
12659
12659
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
12660
12660
|
var MAX_LENGTH = 256;
|
|
@@ -12682,13 +12682,13 @@ var require_constants = __commonJS((exports, module) => {
|
|
|
12682
12682
|
};
|
|
12683
12683
|
});
|
|
12684
12684
|
|
|
12685
|
-
// node_modules/
|
|
12685
|
+
// node_modules/semver/internal/debug.js
|
|
12686
12686
|
var require_debug = __commonJS((exports, module) => {
|
|
12687
12687
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
12688
12688
|
module.exports = debug;
|
|
12689
12689
|
});
|
|
12690
12690
|
|
|
12691
|
-
// node_modules/
|
|
12691
|
+
// node_modules/semver/internal/re.js
|
|
12692
12692
|
var require_re = __commonJS((exports, module) => {
|
|
12693
12693
|
var {
|
|
12694
12694
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -12773,7 +12773,7 @@ var require_re = __commonJS((exports, module) => {
|
|
|
12773
12773
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
12774
12774
|
});
|
|
12775
12775
|
|
|
12776
|
-
// node_modules/
|
|
12776
|
+
// node_modules/semver/internal/parse-options.js
|
|
12777
12777
|
var require_parse_options = __commonJS((exports, module) => {
|
|
12778
12778
|
var looseOption = Object.freeze({ loose: true });
|
|
12779
12779
|
var emptyOpts = Object.freeze({});
|
|
@@ -12789,7 +12789,7 @@ var require_parse_options = __commonJS((exports, module) => {
|
|
|
12789
12789
|
module.exports = parseOptions;
|
|
12790
12790
|
});
|
|
12791
12791
|
|
|
12792
|
-
// node_modules/
|
|
12792
|
+
// node_modules/semver/internal/identifiers.js
|
|
12793
12793
|
var require_identifiers = __commonJS((exports, module) => {
|
|
12794
12794
|
var numeric = /^[0-9]+$/;
|
|
12795
12795
|
var compareIdentifiers = (a, b) => {
|
|
@@ -12811,7 +12811,7 @@ var require_identifiers = __commonJS((exports, module) => {
|
|
|
12811
12811
|
};
|
|
12812
12812
|
});
|
|
12813
12813
|
|
|
12814
|
-
// node_modules/
|
|
12814
|
+
// node_modules/semver/classes/semver.js
|
|
12815
12815
|
var require_semver = __commonJS((exports, module) => {
|
|
12816
12816
|
var debug = require_debug();
|
|
12817
12817
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
@@ -13080,7 +13080,7 @@ var require_semver = __commonJS((exports, module) => {
|
|
|
13080
13080
|
module.exports = SemVer;
|
|
13081
13081
|
});
|
|
13082
13082
|
|
|
13083
|
-
// node_modules/
|
|
13083
|
+
// node_modules/semver/functions/parse.js
|
|
13084
13084
|
var require_parse = __commonJS((exports, module) => {
|
|
13085
13085
|
var SemVer = require_semver();
|
|
13086
13086
|
var parse = (version, options, throwErrors = false) => {
|
|
@@ -13099,7 +13099,7 @@ var require_parse = __commonJS((exports, module) => {
|
|
|
13099
13099
|
module.exports = parse;
|
|
13100
13100
|
});
|
|
13101
13101
|
|
|
13102
|
-
// node_modules/
|
|
13102
|
+
// node_modules/semver/functions/valid.js
|
|
13103
13103
|
var require_valid = __commonJS((exports, module) => {
|
|
13104
13104
|
var parse = require_parse();
|
|
13105
13105
|
var valid = (version, options) => {
|
|
@@ -13109,7 +13109,7 @@ var require_valid = __commonJS((exports, module) => {
|
|
|
13109
13109
|
module.exports = valid;
|
|
13110
13110
|
});
|
|
13111
13111
|
|
|
13112
|
-
// node_modules/
|
|
13112
|
+
// node_modules/semver/functions/clean.js
|
|
13113
13113
|
var require_clean = __commonJS((exports, module) => {
|
|
13114
13114
|
var parse = require_parse();
|
|
13115
13115
|
var clean = (version, options) => {
|
|
@@ -13119,7 +13119,7 @@ var require_clean = __commonJS((exports, module) => {
|
|
|
13119
13119
|
module.exports = clean;
|
|
13120
13120
|
});
|
|
13121
13121
|
|
|
13122
|
-
// node_modules/
|
|
13122
|
+
// node_modules/semver/functions/inc.js
|
|
13123
13123
|
var require_inc = __commonJS((exports, module) => {
|
|
13124
13124
|
var SemVer = require_semver();
|
|
13125
13125
|
var inc = (version, release, options, identifier, identifierBase) => {
|
|
@@ -13137,7 +13137,7 @@ var require_inc = __commonJS((exports, module) => {
|
|
|
13137
13137
|
module.exports = inc;
|
|
13138
13138
|
});
|
|
13139
13139
|
|
|
13140
|
-
// node_modules/
|
|
13140
|
+
// node_modules/semver/functions/diff.js
|
|
13141
13141
|
var require_diff = __commonJS((exports, module) => {
|
|
13142
13142
|
var parse = require_parse();
|
|
13143
13143
|
var diff = (version1, version2) => {
|
|
@@ -13178,28 +13178,28 @@ var require_diff = __commonJS((exports, module) => {
|
|
|
13178
13178
|
module.exports = diff;
|
|
13179
13179
|
});
|
|
13180
13180
|
|
|
13181
|
-
// node_modules/
|
|
13181
|
+
// node_modules/semver/functions/major.js
|
|
13182
13182
|
var require_major = __commonJS((exports, module) => {
|
|
13183
13183
|
var SemVer = require_semver();
|
|
13184
13184
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
13185
13185
|
module.exports = major;
|
|
13186
13186
|
});
|
|
13187
13187
|
|
|
13188
|
-
// node_modules/
|
|
13188
|
+
// node_modules/semver/functions/minor.js
|
|
13189
13189
|
var require_minor = __commonJS((exports, module) => {
|
|
13190
13190
|
var SemVer = require_semver();
|
|
13191
13191
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
13192
13192
|
module.exports = minor;
|
|
13193
13193
|
});
|
|
13194
13194
|
|
|
13195
|
-
// node_modules/
|
|
13195
|
+
// node_modules/semver/functions/patch.js
|
|
13196
13196
|
var require_patch = __commonJS((exports, module) => {
|
|
13197
13197
|
var SemVer = require_semver();
|
|
13198
13198
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
13199
13199
|
module.exports = patch;
|
|
13200
13200
|
});
|
|
13201
13201
|
|
|
13202
|
-
// node_modules/
|
|
13202
|
+
// node_modules/semver/functions/prerelease.js
|
|
13203
13203
|
var require_prerelease = __commonJS((exports, module) => {
|
|
13204
13204
|
var parse = require_parse();
|
|
13205
13205
|
var prerelease = (version, options) => {
|
|
@@ -13209,28 +13209,28 @@ var require_prerelease = __commonJS((exports, module) => {
|
|
|
13209
13209
|
module.exports = prerelease;
|
|
13210
13210
|
});
|
|
13211
13211
|
|
|
13212
|
-
// node_modules/
|
|
13212
|
+
// node_modules/semver/functions/compare.js
|
|
13213
13213
|
var require_compare = __commonJS((exports, module) => {
|
|
13214
13214
|
var SemVer = require_semver();
|
|
13215
13215
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
13216
13216
|
module.exports = compare;
|
|
13217
13217
|
});
|
|
13218
13218
|
|
|
13219
|
-
// node_modules/
|
|
13219
|
+
// node_modules/semver/functions/rcompare.js
|
|
13220
13220
|
var require_rcompare = __commonJS((exports, module) => {
|
|
13221
13221
|
var compare = require_compare();
|
|
13222
13222
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
13223
13223
|
module.exports = rcompare;
|
|
13224
13224
|
});
|
|
13225
13225
|
|
|
13226
|
-
// node_modules/
|
|
13226
|
+
// node_modules/semver/functions/compare-loose.js
|
|
13227
13227
|
var require_compare_loose = __commonJS((exports, module) => {
|
|
13228
13228
|
var compare = require_compare();
|
|
13229
13229
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
13230
13230
|
module.exports = compareLoose;
|
|
13231
13231
|
});
|
|
13232
13232
|
|
|
13233
|
-
// node_modules/
|
|
13233
|
+
// node_modules/semver/functions/compare-build.js
|
|
13234
13234
|
var require_compare_build = __commonJS((exports, module) => {
|
|
13235
13235
|
var SemVer = require_semver();
|
|
13236
13236
|
var compareBuild = (a, b, loose) => {
|
|
@@ -13241,63 +13241,63 @@ var require_compare_build = __commonJS((exports, module) => {
|
|
|
13241
13241
|
module.exports = compareBuild;
|
|
13242
13242
|
});
|
|
13243
13243
|
|
|
13244
|
-
// node_modules/
|
|
13244
|
+
// node_modules/semver/functions/sort.js
|
|
13245
13245
|
var require_sort = __commonJS((exports, module) => {
|
|
13246
13246
|
var compareBuild = require_compare_build();
|
|
13247
13247
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
13248
13248
|
module.exports = sort;
|
|
13249
13249
|
});
|
|
13250
13250
|
|
|
13251
|
-
// node_modules/
|
|
13251
|
+
// node_modules/semver/functions/rsort.js
|
|
13252
13252
|
var require_rsort = __commonJS((exports, module) => {
|
|
13253
13253
|
var compareBuild = require_compare_build();
|
|
13254
13254
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
13255
13255
|
module.exports = rsort;
|
|
13256
13256
|
});
|
|
13257
13257
|
|
|
13258
|
-
// node_modules/
|
|
13258
|
+
// node_modules/semver/functions/gt.js
|
|
13259
13259
|
var require_gt = __commonJS((exports, module) => {
|
|
13260
13260
|
var compare = require_compare();
|
|
13261
13261
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
13262
13262
|
module.exports = gt;
|
|
13263
13263
|
});
|
|
13264
13264
|
|
|
13265
|
-
// node_modules/
|
|
13265
|
+
// node_modules/semver/functions/lt.js
|
|
13266
13266
|
var require_lt = __commonJS((exports, module) => {
|
|
13267
13267
|
var compare = require_compare();
|
|
13268
13268
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
13269
13269
|
module.exports = lt;
|
|
13270
13270
|
});
|
|
13271
13271
|
|
|
13272
|
-
// node_modules/
|
|
13272
|
+
// node_modules/semver/functions/eq.js
|
|
13273
13273
|
var require_eq = __commonJS((exports, module) => {
|
|
13274
13274
|
var compare = require_compare();
|
|
13275
13275
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
13276
13276
|
module.exports = eq;
|
|
13277
13277
|
});
|
|
13278
13278
|
|
|
13279
|
-
// node_modules/
|
|
13279
|
+
// node_modules/semver/functions/neq.js
|
|
13280
13280
|
var require_neq = __commonJS((exports, module) => {
|
|
13281
13281
|
var compare = require_compare();
|
|
13282
13282
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
13283
13283
|
module.exports = neq;
|
|
13284
13284
|
});
|
|
13285
13285
|
|
|
13286
|
-
// node_modules/
|
|
13286
|
+
// node_modules/semver/functions/gte.js
|
|
13287
13287
|
var require_gte = __commonJS((exports, module) => {
|
|
13288
13288
|
var compare = require_compare();
|
|
13289
13289
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
13290
13290
|
module.exports = gte;
|
|
13291
13291
|
});
|
|
13292
13292
|
|
|
13293
|
-
// node_modules/
|
|
13293
|
+
// node_modules/semver/functions/lte.js
|
|
13294
13294
|
var require_lte = __commonJS((exports, module) => {
|
|
13295
13295
|
var compare = require_compare();
|
|
13296
13296
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
13297
13297
|
module.exports = lte;
|
|
13298
13298
|
});
|
|
13299
13299
|
|
|
13300
|
-
// node_modules/
|
|
13300
|
+
// node_modules/semver/functions/cmp.js
|
|
13301
13301
|
var require_cmp = __commonJS((exports, module) => {
|
|
13302
13302
|
var eq = require_eq();
|
|
13303
13303
|
var neq = require_neq();
|
|
@@ -13344,7 +13344,7 @@ var require_cmp = __commonJS((exports, module) => {
|
|
|
13344
13344
|
module.exports = cmp;
|
|
13345
13345
|
});
|
|
13346
13346
|
|
|
13347
|
-
// node_modules/
|
|
13347
|
+
// node_modules/semver/functions/coerce.js
|
|
13348
13348
|
var require_coerce = __commonJS((exports, module) => {
|
|
13349
13349
|
var SemVer = require_semver();
|
|
13350
13350
|
var parse = require_parse();
|
|
@@ -13387,7 +13387,7 @@ var require_coerce = __commonJS((exports, module) => {
|
|
|
13387
13387
|
module.exports = coerce;
|
|
13388
13388
|
});
|
|
13389
13389
|
|
|
13390
|
-
// node_modules/
|
|
13390
|
+
// node_modules/semver/internal/lrucache.js
|
|
13391
13391
|
var require_lrucache = __commonJS((exports, module) => {
|
|
13392
13392
|
class LRUCache {
|
|
13393
13393
|
constructor() {
|
|
@@ -13422,7 +13422,7 @@ var require_lrucache = __commonJS((exports, module) => {
|
|
|
13422
13422
|
module.exports = LRUCache;
|
|
13423
13423
|
});
|
|
13424
13424
|
|
|
13425
|
-
// node_modules/
|
|
13425
|
+
// node_modules/semver/classes/range.js
|
|
13426
13426
|
var require_range = __commonJS((exports, module) => {
|
|
13427
13427
|
var SPACE_CHARACTERS = /\s+/g;
|
|
13428
13428
|
|
|
@@ -13796,7 +13796,7 @@ var require_range = __commonJS((exports, module) => {
|
|
|
13796
13796
|
};
|
|
13797
13797
|
});
|
|
13798
13798
|
|
|
13799
|
-
// node_modules/
|
|
13799
|
+
// node_modules/semver/classes/comparator.js
|
|
13800
13800
|
var require_comparator = __commonJS((exports, module) => {
|
|
13801
13801
|
var ANY = Symbol("SemVer ANY");
|
|
13802
13802
|
|
|
@@ -13907,7 +13907,7 @@ var require_comparator = __commonJS((exports, module) => {
|
|
|
13907
13907
|
var Range = require_range();
|
|
13908
13908
|
});
|
|
13909
13909
|
|
|
13910
|
-
// node_modules/
|
|
13910
|
+
// node_modules/semver/functions/satisfies.js
|
|
13911
13911
|
var require_satisfies = __commonJS((exports, module) => {
|
|
13912
13912
|
var Range = require_range();
|
|
13913
13913
|
var satisfies = (version, range, options) => {
|
|
@@ -13921,14 +13921,14 @@ var require_satisfies = __commonJS((exports, module) => {
|
|
|
13921
13921
|
module.exports = satisfies;
|
|
13922
13922
|
});
|
|
13923
13923
|
|
|
13924
|
-
// node_modules/
|
|
13924
|
+
// node_modules/semver/ranges/to-comparators.js
|
|
13925
13925
|
var require_to_comparators = __commonJS((exports, module) => {
|
|
13926
13926
|
var Range = require_range();
|
|
13927
13927
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
13928
13928
|
module.exports = toComparators;
|
|
13929
13929
|
});
|
|
13930
13930
|
|
|
13931
|
-
// node_modules/
|
|
13931
|
+
// node_modules/semver/ranges/max-satisfying.js
|
|
13932
13932
|
var require_max_satisfying = __commonJS((exports, module) => {
|
|
13933
13933
|
var SemVer = require_semver();
|
|
13934
13934
|
var Range = require_range();
|
|
@@ -13954,7 +13954,7 @@ var require_max_satisfying = __commonJS((exports, module) => {
|
|
|
13954
13954
|
module.exports = maxSatisfying;
|
|
13955
13955
|
});
|
|
13956
13956
|
|
|
13957
|
-
// node_modules/
|
|
13957
|
+
// node_modules/semver/ranges/min-satisfying.js
|
|
13958
13958
|
var require_min_satisfying = __commonJS((exports, module) => {
|
|
13959
13959
|
var SemVer = require_semver();
|
|
13960
13960
|
var Range = require_range();
|
|
@@ -13980,7 +13980,7 @@ var require_min_satisfying = __commonJS((exports, module) => {
|
|
|
13980
13980
|
module.exports = minSatisfying;
|
|
13981
13981
|
});
|
|
13982
13982
|
|
|
13983
|
-
// node_modules/
|
|
13983
|
+
// node_modules/semver/ranges/min-version.js
|
|
13984
13984
|
var require_min_version = __commonJS((exports, module) => {
|
|
13985
13985
|
var SemVer = require_semver();
|
|
13986
13986
|
var Range = require_range();
|
|
@@ -14034,7 +14034,7 @@ var require_min_version = __commonJS((exports, module) => {
|
|
|
14034
14034
|
module.exports = minVersion;
|
|
14035
14035
|
});
|
|
14036
14036
|
|
|
14037
|
-
// node_modules/
|
|
14037
|
+
// node_modules/semver/ranges/valid.js
|
|
14038
14038
|
var require_valid2 = __commonJS((exports, module) => {
|
|
14039
14039
|
var Range = require_range();
|
|
14040
14040
|
var validRange = (range, options) => {
|
|
@@ -14047,7 +14047,7 @@ var require_valid2 = __commonJS((exports, module) => {
|
|
|
14047
14047
|
module.exports = validRange;
|
|
14048
14048
|
});
|
|
14049
14049
|
|
|
14050
|
-
// node_modules/
|
|
14050
|
+
// node_modules/semver/ranges/outside.js
|
|
14051
14051
|
var require_outside = __commonJS((exports, module) => {
|
|
14052
14052
|
var SemVer = require_semver();
|
|
14053
14053
|
var Comparator = require_comparator();
|
|
@@ -14113,21 +14113,21 @@ var require_outside = __commonJS((exports, module) => {
|
|
|
14113
14113
|
module.exports = outside;
|
|
14114
14114
|
});
|
|
14115
14115
|
|
|
14116
|
-
// node_modules/
|
|
14116
|
+
// node_modules/semver/ranges/gtr.js
|
|
14117
14117
|
var require_gtr = __commonJS((exports, module) => {
|
|
14118
14118
|
var outside = require_outside();
|
|
14119
14119
|
var gtr = (version, range, options) => outside(version, range, ">", options);
|
|
14120
14120
|
module.exports = gtr;
|
|
14121
14121
|
});
|
|
14122
14122
|
|
|
14123
|
-
// node_modules/
|
|
14123
|
+
// node_modules/semver/ranges/ltr.js
|
|
14124
14124
|
var require_ltr = __commonJS((exports, module) => {
|
|
14125
14125
|
var outside = require_outside();
|
|
14126
14126
|
var ltr = (version, range, options) => outside(version, range, "<", options);
|
|
14127
14127
|
module.exports = ltr;
|
|
14128
14128
|
});
|
|
14129
14129
|
|
|
14130
|
-
// node_modules/
|
|
14130
|
+
// node_modules/semver/ranges/intersects.js
|
|
14131
14131
|
var require_intersects = __commonJS((exports, module) => {
|
|
14132
14132
|
var Range = require_range();
|
|
14133
14133
|
var intersects = (r1, r2, options) => {
|
|
@@ -14138,7 +14138,7 @@ var require_intersects = __commonJS((exports, module) => {
|
|
|
14138
14138
|
module.exports = intersects;
|
|
14139
14139
|
});
|
|
14140
14140
|
|
|
14141
|
-
// node_modules/
|
|
14141
|
+
// node_modules/semver/ranges/simplify.js
|
|
14142
14142
|
var require_simplify = __commonJS((exports, module) => {
|
|
14143
14143
|
var satisfies = require_satisfies();
|
|
14144
14144
|
var compare = require_compare();
|
|
@@ -14185,7 +14185,7 @@ var require_simplify = __commonJS((exports, module) => {
|
|
|
14185
14185
|
};
|
|
14186
14186
|
});
|
|
14187
14187
|
|
|
14188
|
-
// node_modules/
|
|
14188
|
+
// node_modules/semver/ranges/subset.js
|
|
14189
14189
|
var require_subset = __commonJS((exports, module) => {
|
|
14190
14190
|
var Range = require_range();
|
|
14191
14191
|
var Comparator = require_comparator();
|
|
@@ -14345,7 +14345,7 @@ var require_subset = __commonJS((exports, module) => {
|
|
|
14345
14345
|
module.exports = subset;
|
|
14346
14346
|
});
|
|
14347
14347
|
|
|
14348
|
-
// node_modules/
|
|
14348
|
+
// node_modules/semver/index.js
|
|
14349
14349
|
var require_semver2 = __commonJS((exports, module) => {
|
|
14350
14350
|
var internalRe = require_re();
|
|
14351
14351
|
var constants = require_constants();
|
|
@@ -23791,7 +23791,7 @@ var require_dbcs_codec = __commonJS((exports) => {
|
|
|
23791
23791
|
if (resCode !== undefined) {
|
|
23792
23792
|
dbcsCode = resCode;
|
|
23793
23793
|
nextChar = uCode;
|
|
23794
|
-
}
|
|
23794
|
+
}
|
|
23795
23795
|
}
|
|
23796
23796
|
seqObj = undefined;
|
|
23797
23797
|
} else if (uCode >= 0) {
|
|
@@ -23856,7 +23856,7 @@ var require_dbcs_codec = __commonJS((exports) => {
|
|
|
23856
23856
|
newBuf[j++] = dbcsCode >> 8;
|
|
23857
23857
|
newBuf[j++] = dbcsCode & 255;
|
|
23858
23858
|
}
|
|
23859
|
-
}
|
|
23859
|
+
}
|
|
23860
23860
|
this.seqObj = undefined;
|
|
23861
23861
|
}
|
|
23862
23862
|
if (this.leadSurrogate !== -1) {
|
|
@@ -33777,6 +33777,7 @@ __export(exports_sdk_gen, {
|
|
|
33777
33777
|
updatePreferences: () => updatePreferences,
|
|
33778
33778
|
updateOidcProvider: () => updateOidcProvider,
|
|
33779
33779
|
updateNotificationProvider: () => updateNotificationProvider,
|
|
33780
|
+
updateNotificationEmailProvider: () => updateNotificationEmailProvider,
|
|
33780
33781
|
updateMcp: () => updateMcp,
|
|
33781
33782
|
updateIpAccessControl: () => updateIpAccessControl,
|
|
33782
33783
|
updateIncidentStatus: () => updateIncidentStatus,
|
|
@@ -33789,14 +33790,16 @@ __export(exports_sdk_gen, {
|
|
|
33789
33790
|
updateEnvironmentVariable: () => updateEnvironmentVariable,
|
|
33790
33791
|
updateEnvironmentSubdomain: () => updateEnvironmentSubdomain,
|
|
33791
33792
|
updateEnvironmentSettings: () => updateEnvironmentSettings,
|
|
33792
|
-
updateEmailProvider2: () => updateEmailProvider2,
|
|
33793
33793
|
updateEmailProvider: () => updateEmailProvider,
|
|
33794
|
+
updateDashboard: () => updateDashboard,
|
|
33794
33795
|
updateCustomDomain: () => updateCustomDomain,
|
|
33795
33796
|
updateConnectionToken: () => updateConnectionToken,
|
|
33797
|
+
updateCloudflareProvider: () => updateCloudflareProvider,
|
|
33796
33798
|
updateBackupSchedule: () => updateBackupSchedule,
|
|
33797
33799
|
updateAutomaticDeploy: () => updateAutomaticDeploy,
|
|
33798
33800
|
updateApiKey: () => updateApiKey,
|
|
33799
33801
|
updateAlertRule: () => updateAlertRule,
|
|
33802
|
+
updateAlert: () => updateAlert,
|
|
33800
33803
|
updateAiProvider: () => updateAiProvider,
|
|
33801
33804
|
updateAgent: () => updateAgent,
|
|
33802
33805
|
unlinkServiceFromProject: () => unlinkServiceFromProject,
|
|
@@ -33843,6 +33846,7 @@ __export(exports_sdk_gen, {
|
|
|
33843
33846
|
setupDns: () => setupDns,
|
|
33844
33847
|
setPreviewPassword: () => setPreviewPassword,
|
|
33845
33848
|
setDefaultS3Source: () => setDefaultS3Source,
|
|
33849
|
+
sendMessage: () => sendMessage,
|
|
33846
33850
|
sendEmail: () => sendEmail,
|
|
33847
33851
|
searchLogs: () => searchLogs,
|
|
33848
33852
|
saveAiProviderCredential: () => saveAiProviderCredential,
|
|
@@ -33854,6 +33858,7 @@ __export(exports_sdk_gen, {
|
|
|
33854
33858
|
rollbackToDeployment: () => rollbackToDeployment,
|
|
33855
33859
|
rollbackPgUpgrade: () => rollbackPgUpgrade,
|
|
33856
33860
|
revokeJoinToken: () => revokeJoinToken,
|
|
33861
|
+
revokeEnrollmentToken: () => revokeEnrollmentToken,
|
|
33857
33862
|
revokeDsn: () => revokeDsn,
|
|
33858
33863
|
revenueUpdateSecret: () => revenueUpdateSecret,
|
|
33859
33864
|
revenueUpdateConfig: () => revenueUpdateConfig,
|
|
@@ -33881,6 +33886,7 @@ __export(exports_sdk_gen, {
|
|
|
33881
33886
|
restartSandbox: () => restartSandbox,
|
|
33882
33887
|
restartPreviewGateway: () => restartPreviewGateway,
|
|
33883
33888
|
restartContainer: () => restartContainer,
|
|
33889
|
+
resolveAlarm: () => resolveAlarm,
|
|
33884
33890
|
resetPassword: () => resetPassword,
|
|
33885
33891
|
requestPasswordReset: () => requestPasswordReset,
|
|
33886
33892
|
requestMagicLink: () => requestMagicLink,
|
|
@@ -33912,6 +33918,7 @@ __export(exports_sdk_gen, {
|
|
|
33912
33918
|
promoteDeployment: () => promoteDeployment,
|
|
33913
33919
|
promoteClusterMember: () => promoteClusterMember,
|
|
33914
33920
|
previewFunnelMetrics: () => previewFunnelMetrics,
|
|
33921
|
+
previewAlert: () => previewAlert,
|
|
33915
33922
|
postDnsAck: () => postDnsAck,
|
|
33916
33923
|
planRestore: () => planRestore,
|
|
33917
33924
|
pauseSandbox: () => pauseSandbox,
|
|
@@ -33921,8 +33928,10 @@ __export(exports_sdk_gen, {
|
|
|
33921
33928
|
oidcCallback: () => oidcCallback,
|
|
33922
33929
|
observabilityListEvents: () => observabilityListEvents,
|
|
33923
33930
|
observabilityFullEvent: () => observabilityFullEvent,
|
|
33931
|
+
nodeMetricsGetRange: () => nodeMetricsGetRange,
|
|
33924
33932
|
nodeHeartbeat: () => nodeHeartbeat,
|
|
33925
33933
|
mkdir: () => mkdir3,
|
|
33934
|
+
mintEnrollmentToken: () => mintEnrollmentToken,
|
|
33926
33935
|
lookupDnsARecords: () => lookupDnsARecords,
|
|
33927
33936
|
logout: () => logout,
|
|
33928
33937
|
login: () => login,
|
|
@@ -33959,10 +33968,12 @@ __export(exports_sdk_gen, {
|
|
|
33959
33968
|
listProjectServices: () => listProjectServices,
|
|
33960
33969
|
listProjectSecrets: () => listProjectSecrets,
|
|
33961
33970
|
listProjectScans: () => listProjectScans,
|
|
33971
|
+
listProjectAlarms: () => listProjectAlarms,
|
|
33962
33972
|
listPresets: () => listPresets,
|
|
33963
33973
|
listPgUpgrades: () => listPgUpgrades,
|
|
33964
33974
|
listPeers: () => listPeers,
|
|
33965
33975
|
listOrders: () => listOrders,
|
|
33976
|
+
listOnDemandCerts: () => listOnDemandCerts,
|
|
33966
33977
|
listOidcRoleMappings: () => listOidcRoleMappings,
|
|
33967
33978
|
listOidcProviders: () => listOidcProviders,
|
|
33968
33979
|
listOidcProviderUsers: () => listOidcProviderUsers,
|
|
@@ -33970,6 +33981,8 @@ __export(exports_sdk_gen, {
|
|
|
33970
33981
|
listMonitors: () => listMonitors,
|
|
33971
33982
|
listModels: () => listModels,
|
|
33972
33983
|
listMetricNames: () => listMetricNames,
|
|
33984
|
+
listMetricLabelValues: () => listMetricLabelValues,
|
|
33985
|
+
listMetricLabelKeys: () => listMetricLabelKeys,
|
|
33973
33986
|
listMcps: () => listMcps,
|
|
33974
33987
|
listManagedDomains: () => listManagedDomains,
|
|
33975
33988
|
listKnownAiAgents: () => listKnownAiAgents,
|
|
@@ -33988,14 +34001,18 @@ __export(exports_sdk_gen, {
|
|
|
33988
34001
|
listErrorGroups: () => listErrorGroups,
|
|
33989
34002
|
listErrorEvents: () => listErrorEvents,
|
|
33990
34003
|
listEntities: () => listEntities,
|
|
34004
|
+
listEnrollmentTokens: () => listEnrollmentTokens,
|
|
33991
34005
|
listEmails: () => listEmails,
|
|
33992
34006
|
listEmailProviders: () => listEmailProviders,
|
|
33993
34007
|
listEmailDomains: () => listEmailDomains,
|
|
33994
34008
|
listDsns: () => listDsns,
|
|
33995
34009
|
listDomains: () => listDomains,
|
|
33996
34010
|
listDnsProviders: () => listDnsProviders,
|
|
34011
|
+
listDeploymentContainerLogs: () => listDeploymentContainerLogs,
|
|
33997
34012
|
listDeliveries: () => listDeliveries,
|
|
34013
|
+
listDashboards: () => listDashboards,
|
|
33998
34014
|
listCustomDomainsForProject: () => listCustomDomainsForProject,
|
|
34015
|
+
listConversations: () => listConversations,
|
|
33999
34016
|
listContainersAtPath: () => listContainersAtPath,
|
|
34000
34017
|
listContainers: () => listContainers,
|
|
34001
34018
|
listConnections: () => listConnections,
|
|
@@ -34008,6 +34025,8 @@ __export(exports_sdk_gen, {
|
|
|
34008
34025
|
listAuditLogs: () => listAuditLogs,
|
|
34009
34026
|
listApiKeys: () => listApiKeys,
|
|
34010
34027
|
listAllRuns: () => listAllRuns,
|
|
34028
|
+
listAllConversations: () => listAllConversations,
|
|
34029
|
+
listAlerts: () => listAlerts,
|
|
34011
34030
|
listAlertRules: () => listAlertRules,
|
|
34012
34031
|
listAiProviders: () => listAiProviders,
|
|
34013
34032
|
listAgents: () => listAgents,
|
|
@@ -34128,6 +34147,7 @@ __export(exports_sdk_gen, {
|
|
|
34128
34147
|
getProjectServiceEnvironmentVariables: () => getProjectServiceEnvironmentVariables,
|
|
34129
34148
|
getProjectDeployments: () => getProjectDeployments,
|
|
34130
34149
|
getProjectBySlug: () => getProjectBySlug,
|
|
34150
|
+
getProjectAlarmsSummary: () => getProjectAlarmsSummary,
|
|
34131
34151
|
getProject: () => getProject,
|
|
34132
34152
|
getPrivateIp: () => getPrivateIp,
|
|
34133
34153
|
getPricing: () => getPricing,
|
|
@@ -34148,6 +34168,7 @@ __export(exports_sdk_gen, {
|
|
|
34148
34168
|
getPageHourlySessions: () => getPageHourlySessions,
|
|
34149
34169
|
getPageFlow: () => getPageFlow,
|
|
34150
34170
|
getOrCreateDsn: () => getOrCreateDsn,
|
|
34171
|
+
getOnDemandCertStatus: () => getOnDemandCertStatus,
|
|
34151
34172
|
getNotificationProvider: () => getNotificationProvider,
|
|
34152
34173
|
getMonitor: () => getMonitor,
|
|
34153
34174
|
getMetricsOverTime: () => getMetricsOverTime,
|
|
@@ -34214,9 +34235,11 @@ __export(exports_sdk_gen, {
|
|
|
34214
34235
|
getDeploymentOperationStatus: () => getDeploymentOperationStatus,
|
|
34215
34236
|
getDeploymentJobs: () => getDeploymentJobs,
|
|
34216
34237
|
getDeploymentJobLogs: () => getDeploymentJobLogs,
|
|
34238
|
+
getDeploymentContainerLogContent: () => getDeploymentContainerLogContent,
|
|
34217
34239
|
getDeployment: () => getDeployment,
|
|
34218
34240
|
getDelivery: () => getDelivery,
|
|
34219
34241
|
getDashboardProjectsAnalytics: () => getDashboardProjectsAnalytics,
|
|
34242
|
+
getDashboard: () => getDashboard,
|
|
34220
34243
|
getCustomDomain: () => getCustomDomain,
|
|
34221
34244
|
getCurrentUser: () => getCurrentUser,
|
|
34222
34245
|
getCurrentMonitorStatus: () => getCurrentMonitorStatus,
|
|
@@ -34224,6 +34247,7 @@ __export(exports_sdk_gen, {
|
|
|
34224
34247
|
getCronById: () => getCronById,
|
|
34225
34248
|
getConversations: () => getConversations,
|
|
34226
34249
|
getConversationDetail: () => getConversationDetail,
|
|
34250
|
+
getConversation: () => getConversation,
|
|
34227
34251
|
getContainerMetrics: () => getContainerMetrics,
|
|
34228
34252
|
getContainerLogsById: () => getContainerLogsById,
|
|
34229
34253
|
getContainerLogs: () => getContainerLogs,
|
|
@@ -34248,7 +34272,11 @@ __export(exports_sdk_gen, {
|
|
|
34248
34272
|
getAnalyticsActiveVisitors: () => getAnalyticsActiveVisitors,
|
|
34249
34273
|
getAllRepositoriesByName: () => getAllRepositoriesByName,
|
|
34250
34274
|
getAlertRule: () => getAlertRule,
|
|
34275
|
+
getAlert: () => getAlert,
|
|
34276
|
+
getAiStatusBreakdown: () => getAiStatusBreakdown,
|
|
34251
34277
|
getAiPageBreakdown: () => getAiPageBreakdown,
|
|
34278
|
+
getAiAgentTimeline: () => getAiAgentTimeline,
|
|
34279
|
+
getAiAgentPages: () => getAiAgentPages,
|
|
34252
34280
|
getAiAgentBreakdown: () => getAiAgentBreakdown,
|
|
34253
34281
|
getAggregatedBuckets: () => getAggregatedBuckets,
|
|
34254
34282
|
getAgent: () => getAgent,
|
|
@@ -34258,8 +34286,18 @@ __export(exports_sdk_gen, {
|
|
|
34258
34286
|
getAccessInfo: () => getAccessInfo,
|
|
34259
34287
|
generatePresetDockerfile: () => generatePresetDockerfile,
|
|
34260
34288
|
generateJoinToken: () => generateJoinToken,
|
|
34289
|
+
findConversation: () => findConversation,
|
|
34261
34290
|
finalizeProjectRelease: () => finalizeProjectRelease,
|
|
34262
34291
|
finalizeOrder: () => finalizeOrder,
|
|
34292
|
+
externalServiceMetricsUpdateAlertRule: () => externalServiceMetricsUpdateAlertRule,
|
|
34293
|
+
externalServiceMetricsToggle: () => externalServiceMetricsToggle,
|
|
34294
|
+
externalServiceMetricsStatus: () => externalServiceMetricsStatus,
|
|
34295
|
+
externalServiceMetricsGetRange: () => externalServiceMetricsGetRange,
|
|
34296
|
+
externalServiceMetricsGetLatest: () => externalServiceMetricsGetLatest,
|
|
34297
|
+
externalServiceMetricsGetAlertRules: () => externalServiceMetricsGetAlertRules,
|
|
34298
|
+
externalServiceMetricsDeleteAlertRule: () => externalServiceMetricsDeleteAlertRule,
|
|
34299
|
+
externalServiceMetricsCreateAlertRule: () => externalServiceMetricsCreateAlertRule,
|
|
34300
|
+
externalServiceMetricsByDatabase: () => externalServiceMetricsByDatabase,
|
|
34263
34301
|
extendTimeout: () => extendTimeout,
|
|
34264
34302
|
executeImport: () => executeImport,
|
|
34265
34303
|
executeDeploymentOperation: () => executeDeploymentOperation,
|
|
@@ -34279,6 +34317,9 @@ __export(exports_sdk_gen, {
|
|
|
34279
34317
|
detectPublicPresets: () => detectPublicPresets,
|
|
34280
34318
|
detachScheduleService: () => detachScheduleService,
|
|
34281
34319
|
destroySandbox: () => destroySandbox,
|
|
34320
|
+
deploymentMetricsToggle: () => deploymentMetricsToggle,
|
|
34321
|
+
deploymentMetricsGetRange: () => deploymentMetricsGetRange,
|
|
34322
|
+
deploymentMetricsGetLatest: () => deploymentMetricsGetLatest,
|
|
34282
34323
|
deployFromStatic: () => deployFromStatic,
|
|
34283
34324
|
deployFromImageUpload: () => deployFromImageUpload,
|
|
34284
34325
|
deployFromImage: () => deployFromImage,
|
|
@@ -34317,11 +34358,13 @@ __export(exports_sdk_gen, {
|
|
|
34317
34358
|
deleteEmailDomain: () => deleteEmailDomain,
|
|
34318
34359
|
deleteDomain: () => deleteDomain,
|
|
34319
34360
|
deleteDnsProvider: () => deleteDnsProvider,
|
|
34361
|
+
deleteDashboard: () => deleteDashboard,
|
|
34320
34362
|
deleteCustomDomain: () => deleteCustomDomain,
|
|
34321
34363
|
deleteConnection: () => deleteConnection,
|
|
34322
34364
|
deleteBackupSchedule: () => deleteBackupSchedule,
|
|
34323
34365
|
deleteApiKey: () => deleteApiKey,
|
|
34324
34366
|
deleteAlertRule: () => deleteAlertRule,
|
|
34367
|
+
deleteAlert: () => deleteAlert,
|
|
34325
34368
|
deleteAgent: () => deleteAgent,
|
|
34326
34369
|
deactivateProvider: () => deactivateProvider,
|
|
34327
34370
|
deactivateConnection: () => deactivateConnection,
|
|
@@ -34357,7 +34400,9 @@ __export(exports_sdk_gen, {
|
|
|
34357
34400
|
createGitlabPatProvider: () => createGitlabPatProvider,
|
|
34358
34401
|
createGitlabOauthProvider: () => createGitlabOauthProvider,
|
|
34359
34402
|
createGithubPatProvider: () => createGithubPatProvider,
|
|
34403
|
+
createGiteaPatProvider: () => createGiteaPatProvider,
|
|
34360
34404
|
createGitProvider: () => createGitProvider,
|
|
34405
|
+
createGenericProvider: () => createGenericProvider,
|
|
34361
34406
|
createFunnel: () => createFunnel,
|
|
34362
34407
|
createEnvironmentVariable: () => createEnvironmentVariable,
|
|
34363
34408
|
createEnvironment: () => createEnvironment,
|
|
@@ -34366,10 +34411,15 @@ __export(exports_sdk_gen, {
|
|
|
34366
34411
|
createDsn: () => createDsn,
|
|
34367
34412
|
createDomain: () => createDomain,
|
|
34368
34413
|
createDnsProvider: () => createDnsProvider,
|
|
34414
|
+
createDashboard: () => createDashboard,
|
|
34369
34415
|
createCustomDomain: () => createCustomDomain,
|
|
34416
|
+
createConversation: () => createConversation,
|
|
34417
|
+
createCloudflareProvider: () => createCloudflareProvider,
|
|
34418
|
+
createBitbucketProvider: () => createBitbucketProvider,
|
|
34370
34419
|
createBackupSchedule: () => createBackupSchedule,
|
|
34371
34420
|
createApiKey: () => createApiKey,
|
|
34372
34421
|
createAlertRule: () => createAlertRule,
|
|
34422
|
+
createAlert: () => createAlert,
|
|
34373
34423
|
createAgent: () => createAgent,
|
|
34374
34424
|
cmdLogs: () => cmdLogs,
|
|
34375
34425
|
cmdKill: () => cmdKill,
|
|
@@ -34408,6 +34458,7 @@ __export(exports_sdk_gen, {
|
|
|
34408
34458
|
blobCopy: () => blobCopy,
|
|
34409
34459
|
attachScheduleServices: () => attachScheduleServices,
|
|
34410
34460
|
assignRole: () => assignRole,
|
|
34461
|
+
archiveConversation: () => archiveConversation,
|
|
34411
34462
|
adminUndrainNode: () => adminUndrainNode,
|
|
34412
34463
|
adminRemoveNode: () => adminRemoveNode,
|
|
34413
34464
|
adminListNodes: () => adminListNodes,
|
|
@@ -34424,7 +34475,8 @@ __export(exports_sdk_gen, {
|
|
|
34424
34475
|
activateProvider: () => activateProvider,
|
|
34425
34476
|
activateConnection: () => activateConnection,
|
|
34426
34477
|
activateApiKey: () => activateApiKey,
|
|
34427
|
-
activateAiProvider: () => activateAiProvider
|
|
34478
|
+
activateAiProvider: () => activateAiProvider,
|
|
34479
|
+
acknowledgeAlarm: () => acknowledgeAlarm
|
|
34428
34480
|
});
|
|
34429
34481
|
var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
34430
34482
|
security: [{ scheme: "bearer", type: "http" }],
|
|
@@ -34546,6 +34598,10 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
34546
34598
|
"Content-Type": "application/json",
|
|
34547
34599
|
...options.headers
|
|
34548
34600
|
}
|
|
34601
|
+
}), listAllConversations = (options) => (options?.client ?? client).get({
|
|
34602
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
34603
|
+
url: "/ai/conversations",
|
|
34604
|
+
...options
|
|
34549
34605
|
}), getPricing = (options) => (options?.client ?? client).get({
|
|
34550
34606
|
security: [{ scheme: "bearer", type: "http" }],
|
|
34551
34607
|
url: "/ai/pricing",
|
|
@@ -35082,6 +35138,22 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
35082
35138
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35083
35139
|
url: "/deployments/{deployment_id}/vulnerability-scan",
|
|
35084
35140
|
...options
|
|
35141
|
+
}), deploymentMetricsGetRange = (options) => (options.client ?? client).get({
|
|
35142
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35143
|
+
url: "/deployments/{id}/metrics",
|
|
35144
|
+
...options
|
|
35145
|
+
}), deploymentMetricsToggle = (options) => (options.client ?? client).patch({
|
|
35146
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35147
|
+
url: "/deployments/{id}/metrics/enable",
|
|
35148
|
+
...options,
|
|
35149
|
+
headers: {
|
|
35150
|
+
"Content-Type": "application/json",
|
|
35151
|
+
...options.headers
|
|
35152
|
+
}
|
|
35153
|
+
}), deploymentMetricsGetLatest = (options) => (options.client ?? client).get({
|
|
35154
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35155
|
+
url: "/deployments/{id}/metrics/latest",
|
|
35156
|
+
...options
|
|
35085
35157
|
}), listDnsProviders = (options) => (options?.client ?? client).get({
|
|
35086
35158
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35087
35159
|
url: "/dns-providers",
|
|
@@ -35154,6 +35226,14 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
35154
35226
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35155
35227
|
url: "/domains/by-host/{hostname}",
|
|
35156
35228
|
...options
|
|
35229
|
+
}), getOnDemandCertStatus = (options) => (options.client ?? client).get({
|
|
35230
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35231
|
+
url: "/domains/by-host/{hostname}/cert-status",
|
|
35232
|
+
...options
|
|
35233
|
+
}), listOnDemandCerts = (options) => (options?.client ?? client).get({
|
|
35234
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35235
|
+
url: "/domains/on-demand-certs",
|
|
35236
|
+
...options
|
|
35157
35237
|
}), cancelDomainOrder = (options) => (options.client ?? client).delete({
|
|
35158
35238
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35159
35239
|
url: "/domains/{domain_id}/order",
|
|
@@ -35380,6 +35460,54 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
35380
35460
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35381
35461
|
url: "/external-services/{id}/members/{member_id}/promote",
|
|
35382
35462
|
...options
|
|
35463
|
+
}), externalServiceMetricsGetRange = (options) => (options.client ?? client).get({
|
|
35464
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35465
|
+
url: "/external-services/{id}/metrics",
|
|
35466
|
+
...options
|
|
35467
|
+
}), externalServiceMetricsGetAlertRules = (options) => (options.client ?? client).get({
|
|
35468
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35469
|
+
url: "/external-services/{id}/metrics/alert-rules",
|
|
35470
|
+
...options
|
|
35471
|
+
}), externalServiceMetricsCreateAlertRule = (options) => (options.client ?? client).post({
|
|
35472
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35473
|
+
url: "/external-services/{id}/metrics/alert-rules",
|
|
35474
|
+
...options,
|
|
35475
|
+
headers: {
|
|
35476
|
+
"Content-Type": "application/json",
|
|
35477
|
+
...options.headers
|
|
35478
|
+
}
|
|
35479
|
+
}), externalServiceMetricsDeleteAlertRule = (options) => (options.client ?? client).delete({
|
|
35480
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35481
|
+
url: "/external-services/{id}/metrics/alert-rules/{rule_id}",
|
|
35482
|
+
...options
|
|
35483
|
+
}), externalServiceMetricsUpdateAlertRule = (options) => (options.client ?? client).put({
|
|
35484
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35485
|
+
url: "/external-services/{id}/metrics/alert-rules/{rule_id}",
|
|
35486
|
+
...options,
|
|
35487
|
+
headers: {
|
|
35488
|
+
"Content-Type": "application/json",
|
|
35489
|
+
...options.headers
|
|
35490
|
+
}
|
|
35491
|
+
}), externalServiceMetricsByDatabase = (options) => (options.client ?? client).get({
|
|
35492
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35493
|
+
url: "/external-services/{id}/metrics/by-database",
|
|
35494
|
+
...options
|
|
35495
|
+
}), externalServiceMetricsToggle = (options) => (options.client ?? client).patch({
|
|
35496
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35497
|
+
url: "/external-services/{id}/metrics/enable",
|
|
35498
|
+
...options,
|
|
35499
|
+
headers: {
|
|
35500
|
+
"Content-Type": "application/json",
|
|
35501
|
+
...options.headers
|
|
35502
|
+
}
|
|
35503
|
+
}), externalServiceMetricsGetLatest = (options) => (options.client ?? client).get({
|
|
35504
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35505
|
+
url: "/external-services/{id}/metrics/latest",
|
|
35506
|
+
...options
|
|
35507
|
+
}), externalServiceMetricsStatus = (options) => (options.client ?? client).get({
|
|
35508
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35509
|
+
url: "/external-services/{id}/metrics/status",
|
|
35510
|
+
...options
|
|
35383
35511
|
}), getServicePreviewEnvironmentVariablesMasked = (options) => (options.client ?? client).get({ url: "/external-services/{id}/preview-environment-masked", ...options }), getServicePreviewEnvironmentVariableNames = (options) => (options.client ?? client).get({ url: "/external-services/{id}/preview-environment-names", ...options }), listServiceProjects = (options) => (options.client ?? client).get({ url: "/external-services/{id}/projects", ...options }), linkServiceToProject = (options) => (options.client ?? client).post({
|
|
35384
35512
|
url: "/external-services/{id}/projects",
|
|
35385
35513
|
...options,
|
|
@@ -35553,6 +35681,30 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
35553
35681
|
"Content-Type": "application/json",
|
|
35554
35682
|
...options.headers
|
|
35555
35683
|
}
|
|
35684
|
+
}), createBitbucketProvider = (options) => (options.client ?? client).post({
|
|
35685
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35686
|
+
url: "/git-providers/bitbucket",
|
|
35687
|
+
...options,
|
|
35688
|
+
headers: {
|
|
35689
|
+
"Content-Type": "application/json",
|
|
35690
|
+
...options.headers
|
|
35691
|
+
}
|
|
35692
|
+
}), createGenericProvider = (options) => (options.client ?? client).post({
|
|
35693
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35694
|
+
url: "/git-providers/generic",
|
|
35695
|
+
...options,
|
|
35696
|
+
headers: {
|
|
35697
|
+
"Content-Type": "application/json",
|
|
35698
|
+
...options.headers
|
|
35699
|
+
}
|
|
35700
|
+
}), createGiteaPatProvider = (options) => (options.client ?? client).post({
|
|
35701
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
35702
|
+
url: "/git-providers/gitea/pat",
|
|
35703
|
+
...options,
|
|
35704
|
+
headers: {
|
|
35705
|
+
"Content-Type": "application/json",
|
|
35706
|
+
...options.headers
|
|
35707
|
+
}
|
|
35556
35708
|
}), createGithubPatProvider = (options) => (options.client ?? client).post({
|
|
35557
35709
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35558
35710
|
url: "/git-providers/github/pat",
|
|
@@ -35880,6 +36032,10 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
35880
36032
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35881
36033
|
url: "/monitors/{monitor_id}/uptime",
|
|
35882
36034
|
...options
|
|
36035
|
+
}), nodeMetricsGetRange = (options) => (options.client ?? client).get({
|
|
36036
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36037
|
+
url: "/nodes/{id}/metrics",
|
|
36038
|
+
...options
|
|
35883
36039
|
}), deletePreferences = (options) => (options?.client ?? client).delete({
|
|
35884
36040
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35885
36041
|
url: "/notification-preferences",
|
|
@@ -35908,6 +36064,22 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
35908
36064
|
"Content-Type": "application/json",
|
|
35909
36065
|
...options.headers
|
|
35910
36066
|
}
|
|
36067
|
+
}), createCloudflareProvider = (options) => (options.client ?? client).post({
|
|
36068
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36069
|
+
url: "/notification-providers/cloudflare",
|
|
36070
|
+
...options,
|
|
36071
|
+
headers: {
|
|
36072
|
+
"Content-Type": "application/json",
|
|
36073
|
+
...options.headers
|
|
36074
|
+
}
|
|
36075
|
+
}), updateCloudflareProvider = (options) => (options.client ?? client).put({
|
|
36076
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36077
|
+
url: "/notification-providers/cloudflare/{id}",
|
|
36078
|
+
...options,
|
|
36079
|
+
headers: {
|
|
36080
|
+
"Content-Type": "application/json",
|
|
36081
|
+
...options.headers
|
|
36082
|
+
}
|
|
35911
36083
|
}), createNotificationEmailProvider = (options) => (options.client ?? client).post({
|
|
35912
36084
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35913
36085
|
url: "/notification-providers/email",
|
|
@@ -35916,7 +36088,7 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
35916
36088
|
"Content-Type": "application/json",
|
|
35917
36089
|
...options.headers
|
|
35918
36090
|
}
|
|
35919
|
-
}),
|
|
36091
|
+
}), updateNotificationEmailProvider = (options) => (options.client ?? client).put({
|
|
35920
36092
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35921
36093
|
url: "/notification-providers/email/{id}",
|
|
35922
36094
|
...options,
|
|
@@ -35980,6 +36152,70 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
35980
36152
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35981
36153
|
url: "/orders",
|
|
35982
36154
|
...options
|
|
36155
|
+
}), listAlerts = (options) => (options.client ?? client).get({
|
|
36156
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36157
|
+
url: "/otel/alerts",
|
|
36158
|
+
...options
|
|
36159
|
+
}), createAlert = (options) => (options.client ?? client).post({
|
|
36160
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36161
|
+
url: "/otel/alerts",
|
|
36162
|
+
...options,
|
|
36163
|
+
headers: {
|
|
36164
|
+
"Content-Type": "application/json",
|
|
36165
|
+
...options.headers
|
|
36166
|
+
}
|
|
36167
|
+
}), previewAlert = (options) => (options.client ?? client).post({
|
|
36168
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36169
|
+
url: "/otel/alerts/preview",
|
|
36170
|
+
...options,
|
|
36171
|
+
headers: {
|
|
36172
|
+
"Content-Type": "application/json",
|
|
36173
|
+
...options.headers
|
|
36174
|
+
}
|
|
36175
|
+
}), deleteAlert = (options) => (options.client ?? client).delete({
|
|
36176
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36177
|
+
url: "/otel/alerts/{id}",
|
|
36178
|
+
...options
|
|
36179
|
+
}), getAlert = (options) => (options.client ?? client).get({
|
|
36180
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36181
|
+
url: "/otel/alerts/{id}",
|
|
36182
|
+
...options
|
|
36183
|
+
}), updateAlert = (options) => (options.client ?? client).patch({
|
|
36184
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36185
|
+
url: "/otel/alerts/{id}",
|
|
36186
|
+
...options,
|
|
36187
|
+
headers: {
|
|
36188
|
+
"Content-Type": "application/json",
|
|
36189
|
+
...options.headers
|
|
36190
|
+
}
|
|
36191
|
+
}), listDashboards = (options) => (options.client ?? client).get({
|
|
36192
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36193
|
+
url: "/otel/dashboards",
|
|
36194
|
+
...options
|
|
36195
|
+
}), createDashboard = (options) => (options.client ?? client).post({
|
|
36196
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36197
|
+
url: "/otel/dashboards",
|
|
36198
|
+
...options,
|
|
36199
|
+
headers: {
|
|
36200
|
+
"Content-Type": "application/json",
|
|
36201
|
+
...options.headers
|
|
36202
|
+
}
|
|
36203
|
+
}), deleteDashboard = (options) => (options.client ?? client).delete({
|
|
36204
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36205
|
+
url: "/otel/dashboards/{id}",
|
|
36206
|
+
...options
|
|
36207
|
+
}), getDashboard = (options) => (options.client ?? client).get({
|
|
36208
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36209
|
+
url: "/otel/dashboards/{id}",
|
|
36210
|
+
...options
|
|
36211
|
+
}), updateDashboard = (options) => (options.client ?? client).patch({
|
|
36212
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36213
|
+
url: "/otel/dashboards/{id}",
|
|
36214
|
+
...options,
|
|
36215
|
+
headers: {
|
|
36216
|
+
"Content-Type": "application/json",
|
|
36217
|
+
...options.headers
|
|
36218
|
+
}
|
|
35983
36219
|
}), queryGenaiTraces = (options) => (options.client ?? client).get({
|
|
35984
36220
|
security: [{ scheme: "bearer", type: "http" }],
|
|
35985
36221
|
url: "/otel/genai/traces",
|
|
@@ -36000,6 +36236,14 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
36000
36236
|
security: [{ scheme: "bearer", type: "http" }],
|
|
36001
36237
|
url: "/otel/logs",
|
|
36002
36238
|
...options
|
|
36239
|
+
}), listMetricLabelKeys = (options) => (options.client ?? client).get({
|
|
36240
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36241
|
+
url: "/otel/metric-label-keys",
|
|
36242
|
+
...options
|
|
36243
|
+
}), listMetricLabelValues = (options) => (options.client ?? client).get({
|
|
36244
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36245
|
+
url: "/otel/metric-label-values",
|
|
36246
|
+
...options
|
|
36003
36247
|
}), listMetricNames = (options) => (options.client ?? client).get({
|
|
36004
36248
|
security: [{ scheme: "bearer", type: "http" }],
|
|
36005
36249
|
url: "/otel/metric-names/{project_id}",
|
|
@@ -36261,6 +36505,54 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
36261
36505
|
security: [{ scheme: "bearer", type: "http" }],
|
|
36262
36506
|
url: "/projects/{project_id}/aggregated-buckets",
|
|
36263
36507
|
...options
|
|
36508
|
+
}), findConversation = (options) => (options.client ?? client).get({
|
|
36509
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36510
|
+
url: "/projects/{project_id}/ai/conversations",
|
|
36511
|
+
...options
|
|
36512
|
+
}), createConversation = (options) => (options.client ?? client).post({
|
|
36513
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36514
|
+
url: "/projects/{project_id}/ai/conversations",
|
|
36515
|
+
...options,
|
|
36516
|
+
headers: {
|
|
36517
|
+
"Content-Type": "application/json",
|
|
36518
|
+
...options.headers
|
|
36519
|
+
}
|
|
36520
|
+
}), listConversations = (options) => (options.client ?? client).get({
|
|
36521
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36522
|
+
url: "/projects/{project_id}/ai/conversations/list",
|
|
36523
|
+
...options
|
|
36524
|
+
}), getConversation = (options) => (options.client ?? client).get({
|
|
36525
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36526
|
+
url: "/projects/{project_id}/ai/conversations/{public_id}",
|
|
36527
|
+
...options
|
|
36528
|
+
}), archiveConversation = (options) => (options.client ?? client).post({
|
|
36529
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36530
|
+
url: "/projects/{project_id}/ai/conversations/{public_id}/archive",
|
|
36531
|
+
...options
|
|
36532
|
+
}), sendMessage = (options) => (options.client ?? client).sse.post({
|
|
36533
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36534
|
+
url: "/projects/{project_id}/ai/conversations/{public_id}/messages",
|
|
36535
|
+
...options,
|
|
36536
|
+
headers: {
|
|
36537
|
+
"Content-Type": "application/json",
|
|
36538
|
+
...options.headers
|
|
36539
|
+
}
|
|
36540
|
+
}), listProjectAlarms = (options) => (options.client ?? client).get({
|
|
36541
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36542
|
+
url: "/projects/{project_id}/alarms",
|
|
36543
|
+
...options
|
|
36544
|
+
}), getProjectAlarmsSummary = (options) => (options.client ?? client).get({
|
|
36545
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36546
|
+
url: "/projects/{project_id}/alarms/summary",
|
|
36547
|
+
...options
|
|
36548
|
+
}), acknowledgeAlarm = (options) => (options.client ?? client).post({
|
|
36549
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36550
|
+
url: "/projects/{project_id}/alarms/{alarm_id}/acknowledge",
|
|
36551
|
+
...options
|
|
36552
|
+
}), resolveAlarm = (options) => (options.client ?? client).post({
|
|
36553
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
36554
|
+
url: "/projects/{project_id}/alarms/{alarm_id}/resolve",
|
|
36555
|
+
...options
|
|
36264
36556
|
}), startAnalysis = (options) => (options.client ?? client).post({
|
|
36265
36557
|
security: [{ scheme: "bearer", type: "http" }],
|
|
36266
36558
|
url: "/projects/{project_id}/autofixer/analyze",
|
|
@@ -36349,7 +36641,7 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
36349
36641
|
"Content-Type": "application/json",
|
|
36350
36642
|
...options.headers
|
|
36351
36643
|
}
|
|
36352
|
-
}), getDeployment = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}", ...options }), cancelDeployment = (options) => (options.client ?? client).post({ url: "/projects/{project_id}/deployments/{deployment_id}/cancel", ...options }), getDeploymentJobs = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}/jobs", ...options }), getDeploymentJobLogs = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}/jobs/{job_id}/logs", ...options }), tailDeploymentJobLogs = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}/jobs/{job_id}/logs/tail", ...options }), getDeploymentOperations = (options) => (options.client ?? client).get({
|
|
36644
|
+
}), getDeployment = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}", ...options }), cancelDeployment = (options) => (options.client ?? client).post({ url: "/projects/{project_id}/deployments/{deployment_id}/cancel", ...options }), listDeploymentContainerLogs = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}/container-logs", ...options }), getDeploymentContainerLogContent = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}/container-logs/{log_id}", ...options }), getDeploymentJobs = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}/jobs", ...options }), getDeploymentJobLogs = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}/jobs/{job_id}/logs", ...options }), tailDeploymentJobLogs = (options) => (options.client ?? client).get({ url: "/projects/{project_id}/deployments/{deployment_id}/jobs/{job_id}/logs/tail", ...options }), getDeploymentOperations = (options) => (options.client ?? client).get({
|
|
36353
36645
|
security: [{ scheme: "bearer", type: "http" }],
|
|
36354
36646
|
url: "/projects/{project_id}/deployments/{deployment_id}/operations",
|
|
36355
36647
|
...options
|
|
@@ -36919,7 +37211,7 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
36919
37211
|
"Content-Type": "application/json",
|
|
36920
37212
|
...options.headers
|
|
36921
37213
|
}
|
|
36922
|
-
}), getProxyLogs = (options) => (options?.client ?? client).get({ url: "/proxy-logs", ...options }), listKnownAiAgents = (options) => (options?.client ?? client).get({ url: "/proxy-logs/ai-agents/known", ...options }), getProxyLogByRequestId = (options) => (options.client ?? client).get({ url: "/proxy-logs/request/{request_id}", ...options }), getAiAgentBreakdown = (options) => (options?.client ?? client).get({ url: "/proxy-logs/stats/ai-agents", ...options }), getAiPageBreakdown = (options) => (options?.client ?? client).get({ url: "/proxy-logs/stats/ai-pages", ...options }), getProjectsHealth = (options) => (options.client ?? client).get({ url: "/proxy-logs/stats/projects-health", ...options }), getTimeBucketStats = (options) => (options.client ?? client).get({ url: "/proxy-logs/stats/time-buckets", ...options }), getTodayStats = (options) => (options?.client ?? client).get({ url: "/proxy-logs/stats/today", ...options }), getProxyLogById = (options) => (options.client ?? client).get({ url: "/proxy-logs/{id}", ...options }), listSyncedRepositories = (options) => (options?.client ?? client).get({
|
|
37214
|
+
}), getProxyLogs = (options) => (options?.client ?? client).get({ url: "/proxy-logs", ...options }), listKnownAiAgents = (options) => (options?.client ?? client).get({ url: "/proxy-logs/ai-agents/known", ...options }), getProxyLogByRequestId = (options) => (options.client ?? client).get({ url: "/proxy-logs/request/{request_id}", ...options }), getAiAgentPages = (options) => (options.client ?? client).get({ url: "/proxy-logs/stats/ai-agent-pages", ...options }), getAiAgentBreakdown = (options) => (options?.client ?? client).get({ url: "/proxy-logs/stats/ai-agents", ...options }), getAiAgentTimeline = (options) => (options?.client ?? client).get({ url: "/proxy-logs/stats/ai-agents/timeline", ...options }), getAiPageBreakdown = (options) => (options?.client ?? client).get({ url: "/proxy-logs/stats/ai-pages", ...options }), getAiStatusBreakdown = (options) => (options?.client ?? client).get({ url: "/proxy-logs/stats/ai-status", ...options }), getProjectsHealth = (options) => (options.client ?? client).get({ url: "/proxy-logs/stats/projects-health", ...options }), getTimeBucketStats = (options) => (options.client ?? client).get({ url: "/proxy-logs/stats/time-buckets", ...options }), getTodayStats = (options) => (options?.client ?? client).get({ url: "/proxy-logs/stats/today", ...options }), getProxyLogById = (options) => (options.client ?? client).get({ url: "/proxy-logs/{id}", ...options }), listSyncedRepositories = (options) => (options?.client ?? client).get({
|
|
36923
37215
|
security: [{ scheme: "bearer", type: "http" }],
|
|
36924
37216
|
url: "/repositories",
|
|
36925
37217
|
...options
|
|
@@ -37039,6 +37331,22 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
37039
37331
|
security: [{ scheme: "bearer", type: "http" }],
|
|
37040
37332
|
url: "/settings/disk-status",
|
|
37041
37333
|
...options
|
|
37334
|
+
}), listEnrollmentTokens = (options) => (options?.client ?? client).get({
|
|
37335
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
37336
|
+
url: "/settings/enrollment-tokens",
|
|
37337
|
+
...options
|
|
37338
|
+
}), mintEnrollmentToken = (options) => (options.client ?? client).post({
|
|
37339
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
37340
|
+
url: "/settings/enrollment-tokens",
|
|
37341
|
+
...options,
|
|
37342
|
+
headers: {
|
|
37343
|
+
"Content-Type": "application/json",
|
|
37344
|
+
...options.headers
|
|
37345
|
+
}
|
|
37346
|
+
}), revokeEnrollmentToken = (options) => (options.client ?? client).delete({
|
|
37347
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
37348
|
+
url: "/settings/enrollment-tokens/{id}",
|
|
37349
|
+
...options
|
|
37042
37350
|
}), revokeJoinToken = (options) => (options?.client ?? client).delete({
|
|
37043
37351
|
security: [{ scheme: "bearer", type: "http" }],
|
|
37044
37352
|
url: "/settings/join-token",
|
|
@@ -37449,7 +37757,7 @@ var getPlatformInfo = (options) => (options?.client ?? client).get({
|
|
|
37449
37757
|
"Content-Type": "application/json",
|
|
37450
37758
|
...options.headers
|
|
37451
37759
|
}
|
|
37452
|
-
}), listAuditLogs = (options) => (options
|
|
37760
|
+
}), listAuditLogs = (options) => (options?.client ?? client).get({ url: "audit/logs", ...options }), getAuditLog = (options) => (options.client ?? client).get({ url: "audit/logs/{id}", ...options });
|
|
37453
37761
|
var init_sdk_gen = __esm(() => {
|
|
37454
37762
|
init_client();
|
|
37455
37763
|
init_client_gen2();
|
|
@@ -38594,7 +38902,7 @@ var require_cell = __commonJS((exports, module) => {
|
|
|
38594
38902
|
let content = utils.truncate(this.content, 10, this.truncate);
|
|
38595
38903
|
if (!lineNum) {
|
|
38596
38904
|
info3(`${this.y}-${this.x}: ${this.rowSpan - lineNum}x${this.colSpan} Cell ${content}`);
|
|
38597
|
-
}
|
|
38905
|
+
}
|
|
38598
38906
|
let padLen = Math.max(this.height - this.lines.length, 0);
|
|
38599
38907
|
let padTop;
|
|
38600
38908
|
switch (this.vAlign) {
|
|
@@ -46932,7 +47240,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
46932
47240
|
offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
|
|
46933
47241
|
wasHidden && !hoistableRoot && !prevOffscreenSubtreeIsHidden && !prevOffscreenSubtreeWasHidden && (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared(finishedWork, componentEffectStartTime, componentEffectEndTime);
|
|
46934
47242
|
commitReconciliationEffects(finishedWork);
|
|
46935
|
-
if (flags & 8192 && (root = finishedWork.stateNode, root._visibility = hoistableRoot ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, !hoistableRoot || current2 === null || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || (recursivelyTraverseDisappearLayoutEffects(finishedWork), (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect")), supportsMutation))
|
|
47243
|
+
if (flags & 8192 && (root = finishedWork.stateNode, root._visibility = hoistableRoot ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, !hoistableRoot || current2 === null || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || (recursivelyTraverseDisappearLayoutEffects(finishedWork), (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect")), supportsMutation)) {
|
|
46936
47244
|
a:
|
|
46937
47245
|
if (current2 = null, supportsMutation)
|
|
46938
47246
|
for (root = finishedWork;; ) {
|
|
@@ -46982,6 +47290,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
46982
47290
|
root.sibling.return = root.return;
|
|
46983
47291
|
root = root.sibling;
|
|
46984
47292
|
}
|
|
47293
|
+
}
|
|
46985
47294
|
flags & 4 && (flags = finishedWork.updateQueue, flags !== null && (current2 = flags.retryQueue, current2 !== null && (flags.retryQueue = null, attachSuspenseRetryListeners(finishedWork, current2))));
|
|
46986
47295
|
break;
|
|
46987
47296
|
case 19:
|
|
@@ -54507,7 +54816,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
54507
54816
|
987: (module2, __unused_webpack_exports, __webpack_require__2) => {
|
|
54508
54817
|
if (true) {
|
|
54509
54818
|
module2.exports = __webpack_require__2(786);
|
|
54510
|
-
}
|
|
54819
|
+
}
|
|
54511
54820
|
},
|
|
54512
54821
|
126: (__unused_webpack_module, exports2, __webpack_require__2) => {
|
|
54513
54822
|
var process30 = __webpack_require__2(169);
|
|
@@ -54957,7 +55266,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
54957
55266
|
189: (module2, __unused_webpack_exports, __webpack_require__2) => {
|
|
54958
55267
|
if (true) {
|
|
54959
55268
|
module2.exports = __webpack_require__2(126);
|
|
54960
|
-
}
|
|
55269
|
+
}
|
|
54961
55270
|
},
|
|
54962
55271
|
206: function(module2, exports2, __webpack_require__2) {
|
|
54963
55272
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
@@ -54972,7 +55281,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
54972
55281
|
(function(root, factory) {
|
|
54973
55282
|
if (true) {
|
|
54974
55283
|
__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__2(430)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function" ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports2, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module2.exports = __WEBPACK_AMD_DEFINE_RESULT__);
|
|
54975
|
-
}
|
|
55284
|
+
}
|
|
54976
55285
|
})(this, function ErrorStackParser(StackFrame) {
|
|
54977
55286
|
var FIREFOX_SAFARI_STACK_REGEXP = /(^|@)\S+:\d+/;
|
|
54978
55287
|
var CHROME_IE_STACK_REGEXP = /^\s*at .*(\S+:\d+|\(native\))/m;
|
|
@@ -55668,7 +55977,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
55668
55977
|
(function(root, factory) {
|
|
55669
55978
|
if (true) {
|
|
55670
55979
|
__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function" ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports2, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module2.exports = __WEBPACK_AMD_DEFINE_RESULT__);
|
|
55671
|
-
}
|
|
55980
|
+
}
|
|
55672
55981
|
})(this, function() {
|
|
55673
55982
|
function _isNumber(n) {
|
|
55674
55983
|
return !isNaN(parseFloat(n)) && isFinite(n);
|
|
@@ -61042,7 +61351,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61042
61351
|
var suffix = "";
|
|
61043
61352
|
if (true) {
|
|
61044
61353
|
suffix = " (<anonymous>)";
|
|
61045
|
-
}
|
|
61354
|
+
}
|
|
61046
61355
|
return `
|
|
61047
61356
|
` + prefix + name + suffix;
|
|
61048
61357
|
}
|
|
@@ -63771,7 +64080,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
63771
64080
|
hasChanges = true;
|
|
63772
64081
|
updateMostRecentlyInspectedElementIfNecessary(devtoolsInstance.id);
|
|
63773
64082
|
}
|
|
63774
|
-
}
|
|
64083
|
+
}
|
|
63775
64084
|
}
|
|
63776
64085
|
} catch (err) {
|
|
63777
64086
|
_iterator2.e(err);
|
|
@@ -65550,7 +65859,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
65550
65859
|
if (contentFiber === null) {
|
|
65551
65860
|
throw new Error("There should always be an Offscreen Fiber child in a hydrated Suspense boundary.");
|
|
65552
65861
|
}
|
|
65553
|
-
}
|
|
65862
|
+
}
|
|
65554
65863
|
var _isTimedOut = fiber.memoizedState !== null;
|
|
65555
65864
|
if (!_isTimedOut) {
|
|
65556
65865
|
newSuspenseNode.rects = measureInstance(newInstance);
|
|
@@ -65584,7 +65893,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
65584
65893
|
if (_contentFiber === null) {
|
|
65585
65894
|
throw new Error("There should always be an Offscreen Fiber child in a hydrated Suspense boundary.");
|
|
65586
65895
|
}
|
|
65587
|
-
}
|
|
65896
|
+
}
|
|
65588
65897
|
var suspenseState = fiber.memoizedState;
|
|
65589
65898
|
var _isTimedOut3 = suspenseState !== null;
|
|
65590
65899
|
if (!_isTimedOut3) {
|
|
@@ -65684,7 +65993,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
65684
65993
|
trackThrownPromisesFromRetryCache(newSuspenseNode, fiber.stateNode);
|
|
65685
65994
|
mountSuspenseChildrenRecursively(_contentFiber2, traceNearestHostComponentUpdate, stashedSuspenseParent, stashedSuspensePrevious, stashedSuspenseRemaining);
|
|
65686
65995
|
shouldPopSuspenseNode = false;
|
|
65687
|
-
}
|
|
65996
|
+
}
|
|
65688
65997
|
} else {
|
|
65689
65998
|
if (fiber.child !== null) {
|
|
65690
65999
|
mountChildrenRecursively(fiber.child, traceNearestHostComponentUpdate);
|
|
@@ -66270,7 +66579,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66270
66579
|
shouldPopSuspenseNode = false;
|
|
66271
66580
|
} else if (previousHydrated && !nextHydrated) {
|
|
66272
66581
|
throw new Error("Encountered a dehydrated Suspense boundary that was previously hydrated.");
|
|
66273
|
-
}
|
|
66582
|
+
}
|
|
66274
66583
|
} else {
|
|
66275
66584
|
if (nextFiber.child !== prevFiber.child) {
|
|
66276
66585
|
updateFlags |= updateChildrenRecursively(nextFiber.child, prevFiber.child, traceNearestHostComponentUpdate);
|
|
@@ -66316,8 +66625,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66316
66625
|
recordResetChildren(fiberInstance);
|
|
66317
66626
|
}
|
|
66318
66627
|
updateFlags &= ~ShouldResetChildren;
|
|
66319
|
-
}
|
|
66320
|
-
}
|
|
66628
|
+
}
|
|
66629
|
+
}
|
|
66321
66630
|
if ((updateFlags & ShouldResetSuspenseChildren) !== NoUpdate) {
|
|
66322
66631
|
if (fiberInstance !== null && fiberInstance.kind === FIBER_INSTANCE) {
|
|
66323
66632
|
var _suspenseNode3 = fiberInstance.suspenseNode;
|
|
@@ -66325,7 +66634,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66325
66634
|
recordResetSuspenseChildren(_suspenseNode3);
|
|
66326
66635
|
updateFlags &= ~ShouldResetSuspenseChildren;
|
|
66327
66636
|
}
|
|
66328
|
-
}
|
|
66637
|
+
}
|
|
66329
66638
|
}
|
|
66330
66639
|
if ((updateFlags & ShouldResetParentSuspenseChildren) !== NoUpdate) {
|
|
66331
66640
|
if (fiberInstance !== null && fiberInstance.kind === FIBER_INSTANCE) {
|
|
@@ -66334,7 +66643,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
66334
66643
|
updateFlags &= ~ShouldResetParentSuspenseChildren;
|
|
66335
66644
|
updateFlags |= ShouldResetSuspenseChildren;
|
|
66336
66645
|
}
|
|
66337
|
-
}
|
|
66646
|
+
}
|
|
66338
66647
|
}
|
|
66339
66648
|
return updateFlags;
|
|
66340
66649
|
} finally {
|
|
@@ -69398,7 +69707,7 @@ The error thrown in the component is:
|
|
|
69398
69707
|
rendererInterface = renderer_attach(hook, id, renderer, global10, shouldStartProfilingNow, profilingSettings);
|
|
69399
69708
|
} else if (renderer.ComponentTree) {
|
|
69400
69709
|
rendererInterface = legacy_renderer_attach(hook, id, renderer, global10);
|
|
69401
|
-
}
|
|
69710
|
+
}
|
|
69402
69711
|
}
|
|
69403
69712
|
return rendererInterface;
|
|
69404
69713
|
}
|
|
@@ -82872,7 +83181,11 @@ async function deployLocalImage(options) {
|
|
|
82872
83181
|
` + `Image Tag: ${colors.bold(imageName)}` + (allBuildArgs.length ? `
|
|
82873
83182
|
Build Args: ${colors.bold(allBuildArgs.join(", "))}` : ""), `${icons.package} Docker Build`);
|
|
82874
83183
|
newline();
|
|
82875
|
-
|
|
83184
|
+
const quiet = isQuietMode();
|
|
83185
|
+
if (!quiet) {
|
|
83186
|
+
info2("Building Docker image...");
|
|
83187
|
+
newline();
|
|
83188
|
+
}
|
|
82876
83189
|
try {
|
|
82877
83190
|
await dockerBuild({
|
|
82878
83191
|
dockerfile: resolvedDockerfile,
|
|
@@ -82880,16 +83193,20 @@ Build Args: ${colors.bold(allBuildArgs.join(", "))}` : ""), `${icons.package} Do
|
|
|
82880
83193
|
tag: imageName,
|
|
82881
83194
|
buildArgs: allBuildArgs,
|
|
82882
83195
|
onOutput: (line) => {
|
|
82883
|
-
const trimmed = line.
|
|
82884
|
-
if (trimmed) {
|
|
82885
|
-
|
|
83196
|
+
const trimmed = line.trimEnd();
|
|
83197
|
+
if (trimmed && !quiet) {
|
|
83198
|
+
console.log(colors.dim(` ${trimmed}`));
|
|
82886
83199
|
}
|
|
82887
83200
|
}
|
|
82888
83201
|
});
|
|
82889
|
-
|
|
83202
|
+
if (!quiet)
|
|
83203
|
+
newline();
|
|
83204
|
+
success2(`Image built: ${imageName}`);
|
|
82890
83205
|
didBuild = true;
|
|
82891
83206
|
} catch (err) {
|
|
82892
|
-
|
|
83207
|
+
if (!quiet)
|
|
83208
|
+
newline();
|
|
83209
|
+
warning2("Docker build failed");
|
|
82893
83210
|
if (err instanceof Error) {
|
|
82894
83211
|
warning2(err.message);
|
|
82895
83212
|
}
|
|
@@ -83053,6 +83370,7 @@ async function dockerBuild(options) {
|
|
|
83053
83370
|
return new Promise((resolve3, reject2) => {
|
|
83054
83371
|
const args = [
|
|
83055
83372
|
"build",
|
|
83373
|
+
"--progress=plain",
|
|
83056
83374
|
"-f",
|
|
83057
83375
|
options.dockerfile,
|
|
83058
83376
|
"-t",
|
|
@@ -83063,7 +83381,8 @@ async function dockerBuild(options) {
|
|
|
83063
83381
|
}
|
|
83064
83382
|
args.push(options.context);
|
|
83065
83383
|
const docker = spawn3("docker", args, {
|
|
83066
|
-
stdio: ["ignore", "pipe", "pipe"]
|
|
83384
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
83385
|
+
env: { ...process.env, BUILDKIT_PROGRESS: "plain" }
|
|
83067
83386
|
});
|
|
83068
83387
|
let stderr = "";
|
|
83069
83388
|
docker.stdout.on("data", (chunk2) => {
|
|
@@ -86241,7 +86560,7 @@ init_output();
|
|
|
86241
86560
|
function registerProvidersCommands(program2) {
|
|
86242
86561
|
const providers = program2.command("providers").alias("provider").description("Manage Git providers");
|
|
86243
86562
|
providers.command("list").alias("ls").description("List configured Git providers").option("--json", "Output in JSON format").action(listProviders);
|
|
86244
|
-
providers.command("add").description("Add a new Git provider").option("-p, --provider <provider>", "Provider type (github, gitlab)").option("-n, --name <name>", "Provider name").option("-t, --token <token>", "Personal access token").option("--base-url <url>", "
|
|
86563
|
+
providers.command("add").description("Add a new Git provider").option("-p, --provider <provider>", "Provider type (github, gitlab, bitbucket, gitea, generic)").option("-n, --name <name>", "Provider name").option("-t, --token <token>", "Personal access token (or Bitbucket access token / app password)").option("--base-url <url>", "Instance base URL (GitLab/Gitea self-hosted; required for gitea)").option("--username <username>", "Bitbucket username (selects app-password auth)").option("--password <password>", "Bitbucket app password (used with --username)").option("--clone-url <url>", "HTTPS clone URL (generic provider)").option("--token-username <username>", "HTTP Basic username for the token (generic; default x-access-token)").option("-y, --yes", "Skip confirmation prompts (for automation)").action(addProvider);
|
|
86245
86564
|
providers.command("remove").alias("rm").description("Remove a Git provider").requiredOption("--id <id>", "Provider ID").option("-f, --force", "Skip confirmation").option("-y, --yes", "Skip confirmation prompts (alias for --force)").action(removeProvider);
|
|
86246
86565
|
providers.command("show").description("Show Git provider details").requiredOption("--id <id>", "Provider ID").option("--json", "Output in JSON format").action(showProvider);
|
|
86247
86566
|
providers.command("activate").description("Activate a Git provider").requiredOption("--id <id>", "Provider ID").action(activateProviderAction);
|
|
@@ -86249,7 +86568,7 @@ function registerProvidersCommands(program2) {
|
|
|
86249
86568
|
providers.command("safe-delete").description("Safely delete a Git provider (checks dependencies first)").requiredOption("--id <id>", "Provider ID").option("-f, --force", "Skip confirmation").option("-y, --yes", "Skip confirmation prompts (alias for --force)").action(safeDeleteProviderAction);
|
|
86250
86569
|
providers.command("deletion-check").description("Check if a Git provider can be safely deleted").requiredOption("--id <id>", "Provider ID").option("--json", "Output in JSON format").action(deletionCheckAction);
|
|
86251
86570
|
const git = providers.command("git").description("Manage Git providers");
|
|
86252
|
-
git.command("connect").description("Connect a Git provider (github, gitlab)").requiredOption("-p, --provider <provider>", "Provider type (github, gitlab)").option("-n, --name <name>", "Provider name").option("-t, --token <token>", "Personal access token").option("--base-url <url>", "
|
|
86571
|
+
git.command("connect").description("Connect a Git provider (github, gitlab, bitbucket, gitea, generic)").requiredOption("-p, --provider <provider>", "Provider type (github, gitlab, bitbucket, gitea, generic)").option("-n, --name <name>", "Provider name").option("-t, --token <token>", "Personal access token (or Bitbucket access token / app password)").option("--base-url <url>", "Instance base URL (GitLab/Gitea self-hosted; required for gitea)").option("--username <username>", "Bitbucket username (selects app-password auth)").option("--password <password>", "Bitbucket app password (used with --username)").option("--clone-url <url>", "HTTPS clone URL (generic provider)").option("--token-username <username>", "HTTP Basic username for the token (generic; default x-access-token)").option("-y, --yes", "Skip confirmation prompts (for automation)").action(connectGitProvider);
|
|
86253
86572
|
git.command("repos").description("List available repositories").option("--id <id>", "Provider ID (optional, lists all if not provided)").option("--json", "Output in JSON format").option("--search <term>", "Search repositories by name").option("--page <n>", "Page number").option("--per-page <n>", "Items per page (max: 100)").option("--sort <field>", "Sort by field (name, created_at, updated_at, stars)").option("--direction <dir>", "Sort direction: asc or desc").option("--language <lang>", "Filter by programming language").option("--owner <owner>", "Filter by repository owner").action(listRepos);
|
|
86254
86573
|
const connections = providers.command("connections").alias("conn").description("Manage Git provider connections");
|
|
86255
86574
|
connections.command("list").alias("ls").description("List all Git connections").option("--json", "Output in JSON format").option("--page <n>", "Page number").option("--per-page <n>", "Items per page (default: 30, max: 100)").option("--sort <field>", "Sort by field (created_at, updated_at, account_name)").option("--direction <dir>", "Sort direction: asc or desc (default: desc)").action(listConnectionsAction);
|
|
@@ -86293,79 +86612,114 @@ async function listProviders(options) {
|
|
|
86293
86612
|
printTable(providers, columns, { style: "minimal" });
|
|
86294
86613
|
newline();
|
|
86295
86614
|
}
|
|
86615
|
+
var SUPPORTED_PROVIDERS = ["github", "gitlab", "bitbucket", "gitea", "generic"];
|
|
86296
86616
|
async function addProvider(options) {
|
|
86297
86617
|
await requireAuth();
|
|
86298
86618
|
await setupClient();
|
|
86299
|
-
|
|
86300
|
-
let
|
|
86301
|
-
|
|
86302
|
-
|
|
86303
|
-
const isAutomation = options.yes && options.provider && options.name && options.token;
|
|
86304
|
-
if (isAutomation) {
|
|
86305
|
-
provider = options.provider;
|
|
86306
|
-
name = options.name;
|
|
86307
|
-
token = options.token;
|
|
86308
|
-
baseUrl = options.baseUrl || null;
|
|
86309
|
-
if (provider !== "github" && provider !== "gitlab") {
|
|
86310
|
-
warning2(`Invalid provider: ${provider}. Supported: github, gitlab`);
|
|
86311
|
-
return;
|
|
86312
|
-
}
|
|
86313
|
-
} else {
|
|
86314
|
-
provider = options.provider || await promptSelect({
|
|
86619
|
+
const interactive = !options.yes;
|
|
86620
|
+
let provider = options.provider;
|
|
86621
|
+
if (!provider && interactive) {
|
|
86622
|
+
provider = await promptSelect({
|
|
86315
86623
|
message: "Git provider",
|
|
86316
86624
|
choices: [
|
|
86317
86625
|
{ name: "GitHub", value: "github" },
|
|
86318
|
-
{ name: "GitLab", value: "gitlab" }
|
|
86626
|
+
{ name: "GitLab", value: "gitlab" },
|
|
86627
|
+
{ name: "Bitbucket", value: "bitbucket" },
|
|
86628
|
+
{ name: "Gitea / Forgejo", value: "gitea" },
|
|
86629
|
+
{ name: "Other Git Providers (generic HTTPS)", value: "generic" }
|
|
86319
86630
|
]
|
|
86320
86631
|
});
|
|
86321
|
-
if (provider !== "github" && provider !== "gitlab") {
|
|
86322
|
-
warning2(`Invalid provider: ${provider}. Supported: github, gitlab`);
|
|
86323
|
-
return;
|
|
86324
|
-
}
|
|
86325
|
-
info2(`
|
|
86326
|
-
To connect ${provider}, you'll need to create a personal access token.`);
|
|
86327
|
-
const tokenUrl = {
|
|
86328
|
-
github: "https://github.com/settings/tokens/new",
|
|
86329
|
-
gitlab: "https://gitlab.com/-/profile/personal_access_tokens"
|
|
86330
|
-
};
|
|
86331
|
-
info2(`Visit: ${colors.primary(tokenUrl[provider])}
|
|
86332
|
-
`);
|
|
86333
|
-
name = options.name || await promptText({
|
|
86334
|
-
message: "Provider name",
|
|
86335
|
-
default: `${provider}-connection`,
|
|
86336
|
-
required: true
|
|
86337
|
-
});
|
|
86338
|
-
token = options.token || await promptPassword({
|
|
86339
|
-
message: "Personal access token"
|
|
86340
|
-
});
|
|
86341
|
-
if (provider === "gitlab") {
|
|
86342
|
-
baseUrl = options.baseUrl || await promptText({
|
|
86343
|
-
message: "GitLab base URL (leave empty for gitlab.com)",
|
|
86344
|
-
default: ""
|
|
86345
|
-
}) || null;
|
|
86346
|
-
}
|
|
86347
86632
|
}
|
|
86633
|
+
if (!provider || !SUPPORTED_PROVIDERS.includes(provider)) {
|
|
86634
|
+
warning2(`Invalid provider: ${provider}. Supported: ${SUPPORTED_PROVIDERS.join(", ")}`);
|
|
86635
|
+
return;
|
|
86636
|
+
}
|
|
86637
|
+
const name = options.name || (interactive ? await promptText({ message: "Provider name", default: `${provider}-connection`, required: true }) : "");
|
|
86638
|
+
if (!name) {
|
|
86639
|
+
warning2("Provider name is required (use -n/--name)");
|
|
86640
|
+
return;
|
|
86641
|
+
}
|
|
86642
|
+
const getToken = async () => {
|
|
86643
|
+
const t = options.token || (interactive ? await promptPassword({ message: "Personal access token" }) : "");
|
|
86644
|
+
return t;
|
|
86645
|
+
};
|
|
86348
86646
|
await withSpinner(`Connecting to ${provider}...`, async () => {
|
|
86349
86647
|
if (provider === "github") {
|
|
86350
|
-
const
|
|
86351
|
-
|
|
86352
|
-
|
|
86353
|
-
});
|
|
86354
|
-
if (error3)
|
|
86648
|
+
const token = await getToken();
|
|
86649
|
+
if (!token)
|
|
86650
|
+
throw new Error("A token is required (use -t/--token)");
|
|
86651
|
+
const { error: error3 } = await createGithubPatProvider({ client, body: { name, token } });
|
|
86652
|
+
if (error3)
|
|
86355
86653
|
throw new Error(getErrorMessage(error3));
|
|
86356
|
-
}
|
|
86357
86654
|
} else if (provider === "gitlab") {
|
|
86358
|
-
const
|
|
86655
|
+
const token = await getToken();
|
|
86656
|
+
if (!token)
|
|
86657
|
+
throw new Error("A token is required (use -t/--token)");
|
|
86658
|
+
const baseUrl = options.baseUrl || (interactive ? await promptText({ message: "GitLab base URL (leave empty for gitlab.com)", default: "" }) || null : null);
|
|
86659
|
+
const { error: error3 } = await createGitlabPatProvider({ client, body: { name, token, base_url: baseUrl } });
|
|
86660
|
+
if (error3)
|
|
86661
|
+
throw new Error(getErrorMessage(error3));
|
|
86662
|
+
} else if (provider === "gitea") {
|
|
86663
|
+
const baseUrl = options.baseUrl || (interactive ? await promptText({ message: "Gitea instance URL (https://...)", required: true }) : "");
|
|
86664
|
+
if (!baseUrl)
|
|
86665
|
+
throw new Error("Gitea requires --base-url (the HTTPS instance URL)");
|
|
86666
|
+
const token = await getToken();
|
|
86667
|
+
if (!token)
|
|
86668
|
+
throw new Error("A token is required (use -t/--token)");
|
|
86669
|
+
const { error: error3 } = await createGiteaPatProvider({ client, body: { name, token, base_url: baseUrl } });
|
|
86670
|
+
if (error3)
|
|
86671
|
+
throw new Error(getErrorMessage(error3));
|
|
86672
|
+
} else if (provider === "bitbucket") {
|
|
86673
|
+
let auth;
|
|
86674
|
+
if (options.username) {
|
|
86675
|
+
const password = options.password || options.token || (interactive ? await promptPassword({ message: "Bitbucket app password" }) : "");
|
|
86676
|
+
if (!password)
|
|
86677
|
+
throw new Error("Bitbucket app password is required (use --password or -t/--token)");
|
|
86678
|
+
auth = { type: "app_password", username: options.username, password };
|
|
86679
|
+
} else if (options.token || !interactive) {
|
|
86680
|
+
if (!options.token)
|
|
86681
|
+
throw new Error("Bitbucket access token is required (use -t/--token), or --username for app-password auth");
|
|
86682
|
+
auth = { type: "access_token", token: options.token };
|
|
86683
|
+
} else {
|
|
86684
|
+
const method2 = await promptSelect({
|
|
86685
|
+
message: "Bitbucket authentication",
|
|
86686
|
+
choices: [
|
|
86687
|
+
{ name: "Access token (recommended)", value: "access_token" },
|
|
86688
|
+
{ name: "App password", value: "app_password" }
|
|
86689
|
+
]
|
|
86690
|
+
});
|
|
86691
|
+
if (method2 === "app_password") {
|
|
86692
|
+
const username = await promptText({ message: "Atlassian username", required: true });
|
|
86693
|
+
const password = await promptPassword({ message: "App password" });
|
|
86694
|
+
auth = { type: "app_password", username, password };
|
|
86695
|
+
} else {
|
|
86696
|
+
const token = await promptPassword({ message: "Access token" });
|
|
86697
|
+
auth = { type: "access_token", token };
|
|
86698
|
+
}
|
|
86699
|
+
}
|
|
86700
|
+
const { error: error3 } = await createBitbucketProvider({ client, body: { name, auth } });
|
|
86701
|
+
if (error3)
|
|
86702
|
+
throw new Error(getErrorMessage(error3));
|
|
86703
|
+
} else if (provider === "generic") {
|
|
86704
|
+
const cloneUrl = options.cloneUrl || (interactive ? await promptText({ message: "HTTPS clone URL (https://...)", required: true }) : "");
|
|
86705
|
+
if (!cloneUrl)
|
|
86706
|
+
throw new Error("The generic provider requires --clone-url (an HTTPS clone URL)");
|
|
86707
|
+
let token = options.token ?? null;
|
|
86708
|
+
if (token === null && interactive) {
|
|
86709
|
+
token = await promptText({ message: "Access token (leave empty for a public repo)", default: "" }) || null;
|
|
86710
|
+
}
|
|
86711
|
+
const { error: error3 } = await createGenericProvider({
|
|
86359
86712
|
client,
|
|
86360
86713
|
body: {
|
|
86361
86714
|
name,
|
|
86715
|
+
clone_url: cloneUrl,
|
|
86716
|
+
base_url: options.baseUrl ?? null,
|
|
86362
86717
|
token,
|
|
86363
|
-
|
|
86718
|
+
token_username: options.tokenUsername ?? null
|
|
86364
86719
|
}
|
|
86365
86720
|
});
|
|
86366
|
-
if (error3)
|
|
86721
|
+
if (error3)
|
|
86367
86722
|
throw new Error(getErrorMessage(error3));
|
|
86368
|
-
}
|
|
86369
86723
|
}
|
|
86370
86724
|
});
|
|
86371
86725
|
success2(`${provider} connected successfully`);
|
|
@@ -86568,8 +86922,8 @@ async function deletionCheckAction(options) {
|
|
|
86568
86922
|
newline();
|
|
86569
86923
|
}
|
|
86570
86924
|
async function connectGitProvider(options) {
|
|
86571
|
-
if (
|
|
86572
|
-
warning2(`Unsupported provider: ${options.provider}. Supported:
|
|
86925
|
+
if (!SUPPORTED_PROVIDERS.includes(options.provider)) {
|
|
86926
|
+
warning2(`Unsupported provider: ${options.provider}. Supported: ${SUPPORTED_PROVIDERS.join(", ")}`);
|
|
86573
86927
|
return;
|
|
86574
86928
|
}
|
|
86575
86929
|
await addProvider({
|
|
@@ -86577,6 +86931,10 @@ async function connectGitProvider(options) {
|
|
|
86577
86931
|
name: options.name,
|
|
86578
86932
|
token: options.token,
|
|
86579
86933
|
baseUrl: options.baseUrl,
|
|
86934
|
+
username: options.username,
|
|
86935
|
+
password: options.password,
|
|
86936
|
+
cloneUrl: options.cloneUrl,
|
|
86937
|
+
tokenUsername: options.tokenUsername,
|
|
86580
86938
|
yes: options.yes
|
|
86581
86939
|
});
|
|
86582
86940
|
}
|