@@ -4643,6 +4643,80 @@ var EnvironmentRepository = /** @class */ (function (_super) {
46434643exports.EnvironmentRepository = EnvironmentRepository;
46444644
46454645
4646+ /***/ }),
4647+
4648+ /***/ 6627:
4649+ /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
4650+
4651+ "use strict";
4652+
4653+ var __assign = (this && this.__assign) || function () {
4654+ __assign = Object.assign || function(t) {
4655+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4656+ s = arguments[i];
4657+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
4658+ t[p] = s[p];
4659+ }
4660+ return t;
4661+ };
4662+ return __assign.apply(this, arguments);
4663+ };
4664+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
4665+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4666+ return new (P || (P = Promise))(function (resolve, reject) {
4667+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
4668+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
4669+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
4670+ step((generator = generator.apply(thisArg, _arguments || [])).next());
4671+ });
4672+ };
4673+ var __generator = (this && this.__generator) || function (thisArg, body) {
4674+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
4675+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
4676+ function verb(n) { return function (v) { return step([n, v]); }; }
4677+ function step(op) {
4678+ if (f) throw new TypeError("Generator is already executing.");
4679+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
4680+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
4681+ if (y = 0, t) op = [op[0] & 2, t.value];
4682+ switch (op[0]) {
4683+ case 0: case 1: t = op; break;
4684+ case 4: _.label++; return { value: op[1], done: false };
4685+ case 5: _.label++; y = op[1]; op = [0]; continue;
4686+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
4687+ default:
4688+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
4689+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
4690+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
4691+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
4692+ if (t[2]) _.ops.pop();
4693+ _.trys.pop(); continue;
4694+ }
4695+ op = body.call(thisArg, _);
4696+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
4697+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
4698+ }
4699+ };
4700+ Object.defineProperty(exports, "__esModule", ({ value: true }));
4701+ exports.EnvironmentV2Repository = void 0;
4702+ var __1 = __nccwpck_require__(1212);
4703+ var EnvironmentV2Repository = /** @class */ (function () {
4704+ function EnvironmentV2Repository(client, spaceName) {
4705+ this.client = client;
4706+ this.spaceName = spaceName;
4707+ }
4708+ EnvironmentV2Repository.prototype.list = function (args) {
4709+ return __awaiter(this, void 0, void 0, function () {
4710+ return __generator(this, function (_a) {
4711+ return [2 /*return*/, this.client.request("".concat(__1.spaceScopedRoutePrefix, "/environments/v2{?ids,partialName,type,skip,take}"), __assign({ spaceName: this.spaceName }, args))];
4712+ });
4713+ });
4714+ };
4715+ return EnvironmentV2Repository;
4716+ }());
4717+ exports.EnvironmentV2Repository = EnvironmentV2Repository;
4718+
4719+
46464720/***/ }),
46474721
46484722/***/ 5870:
@@ -4667,6 +4741,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
46674741Object.defineProperty(exports, "__esModule", ({ value: true }));
46684742__exportStar(__nccwpck_require__(7837), exports);
46694743__exportStar(__nccwpck_require__(1611), exports);
4744+ __exportStar(__nccwpck_require__(6627), exports);
46704745
46714746
46724747/***/ }),
0 commit comments