@epilot/sdk 2.19.6-alpha.0 → 2.19.7
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/definitions/billing.json +8 -0
- package/definitions/environments.json +17 -135
- package/definitions/targeting.json +65 -2
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.d.cts +2 -2
- package/dist/apis/billing.d.ts +2 -2
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.d.cts +2 -2
- package/dist/apis/environments.d.ts +2 -2
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{billing-MN36KAKQ.cjs → billing-CKCFSK6K.cjs} +1 -1
- package/dist/{billing-UAVEPNBZ.js → billing-UJ6I7FPG.js} +1 -1
- package/dist/{billing.d-Blv16_el.d.cts → billing.d-DA3sViEF.d.cts} +25 -0
- package/dist/{billing.d-Blv16_el.d.ts → billing.d-DA3sViEF.d.ts} +25 -0
- package/dist/bin/cli.js +1 -1
- package/dist/{chunk-F4OENWBE.cjs → chunk-NTRNKUXE.cjs} +3 -3
- package/dist/{chunk-JCBXIJ45.js → chunk-VV2VFPUQ.js} +3 -3
- package/dist/environments-PXJOTQVM.js +7 -0
- package/dist/environments-QJ4UMJ5C.cjs +7 -0
- package/dist/{environments.d-840_mC07.d.ts → environments.d-BvqvN-PD.d.cts} +32 -144
- package/dist/{environments.d-840_mC07.d.cts → environments.d-BvqvN-PD.d.ts} +32 -144
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/dist/targeting-2JCGF4IR.cjs +7 -0
- package/dist/targeting-2NHAG7B5.js +7 -0
- package/dist/{targeting.d-KcawmWBB.d.cts → targeting.d-BYVSahmV.d.cts} +44 -1
- package/dist/{targeting.d-KcawmWBB.d.ts → targeting.d-BYVSahmV.d.ts} +44 -1
- package/docs/billing.md +6 -0
- package/docs/environments.md +20 -128
- package/docs/targeting.md +80 -1
- package/package.json +11 -12
- package/dist/environments-JP2CPDH2.cjs +0 -7
- package/dist/environments-PGRMZY5G.js +0 -7
- package/dist/targeting-5U4XGOXY.cjs +0 -7
- package/dist/targeting-R3G32HI4.js +0 -7
|
@@ -1281,6 +1281,31 @@ declare namespace Components {
|
|
|
1281
1281
|
tariffs?: ContractTariffContext[];
|
|
1282
1282
|
} | null;
|
|
1283
1283
|
changed_fields: ("tariff" | "base_price" | "working_price" | "discount" | "dynamic_tariff_configuration")[];
|
|
1284
|
+
/**
|
|
1285
|
+
* Installment amount effective when the pricing change was recorded.
|
|
1286
|
+
*/
|
|
1287
|
+
installment_amount?: {
|
|
1288
|
+
/**
|
|
1289
|
+
* Amount in cents when available or derivable.
|
|
1290
|
+
* example:
|
|
1291
|
+
* 10050
|
|
1292
|
+
*/
|
|
1293
|
+
amount?: number;
|
|
1294
|
+
/**
|
|
1295
|
+
* Decimal amount string when available or derivable.
|
|
1296
|
+
* example:
|
|
1297
|
+
* 100.50
|
|
1298
|
+
*/
|
|
1299
|
+
amount_decimal?: string;
|
|
1300
|
+
currency?: /**
|
|
1301
|
+
* Currency code in ISO 4217 format (Währungscode).
|
|
1302
|
+
* Common values: EUR (Euro), CHF (Swiss Franc)
|
|
1303
|
+
*
|
|
1304
|
+
* example:
|
|
1305
|
+
* EUR
|
|
1306
|
+
*/
|
|
1307
|
+
Currency;
|
|
1308
|
+
};
|
|
1284
1309
|
}
|
|
1285
1310
|
export interface ContractPricingContext {
|
|
1286
1311
|
base_price?: PriceContext;
|
|
@@ -1281,6 +1281,31 @@ declare namespace Components {
|
|
|
1281
1281
|
tariffs?: ContractTariffContext[];
|
|
1282
1282
|
} | null;
|
|
1283
1283
|
changed_fields: ("tariff" | "base_price" | "working_price" | "discount" | "dynamic_tariff_configuration")[];
|
|
1284
|
+
/**
|
|
1285
|
+
* Installment amount effective when the pricing change was recorded.
|
|
1286
|
+
*/
|
|
1287
|
+
installment_amount?: {
|
|
1288
|
+
/**
|
|
1289
|
+
* Amount in cents when available or derivable.
|
|
1290
|
+
* example:
|
|
1291
|
+
* 10050
|
|
1292
|
+
*/
|
|
1293
|
+
amount?: number;
|
|
1294
|
+
/**
|
|
1295
|
+
* Decimal amount string when available or derivable.
|
|
1296
|
+
* example:
|
|
1297
|
+
* 100.50
|
|
1298
|
+
*/
|
|
1299
|
+
amount_decimal?: string;
|
|
1300
|
+
currency?: /**
|
|
1301
|
+
* Currency code in ISO 4217 format (Währungscode).
|
|
1302
|
+
* Common values: EUR (Euro), CHF (Swiss Franc)
|
|
1303
|
+
*
|
|
1304
|
+
* example:
|
|
1305
|
+
* EUR
|
|
1306
|
+
*/
|
|
1307
|
+
Currency;
|
|
1308
|
+
};
|
|
1284
1309
|
}
|
|
1285
1310
|
export interface ContractPricingContext {
|
|
1286
1311
|
base_price?: PriceContext;
|
package/dist/bin/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ Examples:
|
|
|
22
22
|
};
|
|
23
23
|
var isYamlFile = (filePath) => filePath.endsWith(".yaml") || filePath.endsWith(".yml");
|
|
24
24
|
var parseYaml = async (content) => {
|
|
25
|
-
const { load } = await import("../js-yaml-
|
|
25
|
+
const { load } = await import("../js-yaml-DLCVPJ7G.js");
|
|
26
26
|
return load(content);
|
|
27
27
|
};
|
|
28
28
|
var readOverrides = () => {
|
|
@@ -36,7 +36,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
36
36
|
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-U7UEBBWK.cjs"))),
|
|
37
37
|
"./docs/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-D2LFUA2R.cjs"))),
|
|
38
38
|
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-3HMHBP6P.cjs"))),
|
|
39
|
-
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-
|
|
39
|
+
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-CKCFSK6K.cjs"))),
|
|
40
40
|
"./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-4IAJOK2O.cjs"))),
|
|
41
41
|
"./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-UADWQX7G.cjs"))),
|
|
42
42
|
"./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-6TSL5AGX.cjs"))),
|
|
@@ -51,7 +51,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
51
51
|
"./docs/email-template.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./email-template-M2VVL4TI.cjs"))),
|
|
52
52
|
"./docs/entity-mapping.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-mapping-ZNMFCUKK.cjs"))),
|
|
53
53
|
"./docs/entity.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./entity-5EFSNTP7.cjs"))),
|
|
54
|
-
"./docs/environments.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./environments-
|
|
54
|
+
"./docs/environments.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./environments-QJ4UMJ5C.cjs"))),
|
|
55
55
|
"./docs/erp-integration.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./erp-integration-PAVHSUDM.cjs"))),
|
|
56
56
|
"./docs/event-catalog.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./event-catalog-6ZSSF5JU.cjs"))),
|
|
57
57
|
"./docs/file.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./file-M5HNKOPG.cjs"))),
|
|
@@ -75,7 +75,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
75
75
|
"./docs/snapshot.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./snapshot-NKK6BNQB.cjs"))),
|
|
76
76
|
"./docs/submission.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./submission-Q24BU4GS.cjs"))),
|
|
77
77
|
"./docs/target.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./target-3RS5BN2B.cjs"))),
|
|
78
|
-
"./docs/targeting.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./targeting-
|
|
78
|
+
"./docs/targeting.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./targeting-2JCGF4IR.cjs"))),
|
|
79
79
|
"./docs/template-variables.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./template-variables-I72B5WS6.cjs"))),
|
|
80
80
|
"./docs/user.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./user-DR7IAWFI.cjs"))),
|
|
81
81
|
"./docs/validation-rules.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./validation-rules-GR2IVLGJ.cjs"))),
|
|
@@ -36,7 +36,7 @@ var globImport_docs = __glob({
|
|
|
36
36
|
"./docs/app.json": () => import("./app-RZ2JCNZ7.js"),
|
|
37
37
|
"./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
|
|
38
38
|
"./docs/automation.json": () => import("./automation-GIJB3MOI.js"),
|
|
39
|
-
"./docs/billing.json": () => import("./billing-
|
|
39
|
+
"./docs/billing.json": () => import("./billing-UJ6I7FPG.js"),
|
|
40
40
|
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-U6SC54EI.js"),
|
|
41
41
|
"./docs/calendar.json": () => import("./calendar-2H4RGMV3.js"),
|
|
42
42
|
"./docs/configuration-hub.json": () => import("./configuration-hub-ZYOLN7ZX.js"),
|
|
@@ -51,7 +51,7 @@ var globImport_docs = __glob({
|
|
|
51
51
|
"./docs/email-template.json": () => import("./email-template-WYROV3UG.js"),
|
|
52
52
|
"./docs/entity-mapping.json": () => import("./entity-mapping-7J3IAGKQ.js"),
|
|
53
53
|
"./docs/entity.json": () => import("./entity-62ROADV5.js"),
|
|
54
|
-
"./docs/environments.json": () => import("./environments-
|
|
54
|
+
"./docs/environments.json": () => import("./environments-PXJOTQVM.js"),
|
|
55
55
|
"./docs/erp-integration.json": () => import("./erp-integration-SBQJ6HEG.js"),
|
|
56
56
|
"./docs/event-catalog.json": () => import("./event-catalog-RS4LJMY2.js"),
|
|
57
57
|
"./docs/file.json": () => import("./file-ZUNCUDBY.js"),
|
|
@@ -75,7 +75,7 @@ var globImport_docs = __glob({
|
|
|
75
75
|
"./docs/snapshot.json": () => import("./snapshot-5XHTEB2U.js"),
|
|
76
76
|
"./docs/submission.json": () => import("./submission-7BISSPO6.js"),
|
|
77
77
|
"./docs/target.json": () => import("./target-5MKRXCHX.js"),
|
|
78
|
-
"./docs/targeting.json": () => import("./targeting-
|
|
78
|
+
"./docs/targeting.json": () => import("./targeting-2NHAG7B5.js"),
|
|
79
79
|
"./docs/template-variables.json": () => import("./template-variables-6CLOG67C.js"),
|
|
80
80
|
"./docs/user.json": () => import("./user-7W5JUUKB.js"),
|
|
81
81
|
"./docs/validation-rules.json": () => import("./validation-rules-B2KQKMLO.js"),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/environments.json
|
|
4
|
+
var environments_default = '# Environments API\n\n- **Base URL:** `https://environments.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/environments](https://docs.epilot.io/api/environments)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.environments.listEnvironmentVariables(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/environments\'\n\nconst environmentsClient = getClient()\nauthorize(environmentsClient, () => \'<token>\')\nconst { data } = await environmentsClient.listEnvironmentVariables(...)\n```\n\n## Operations\n\n**environments**\n- [`listEnvironmentVariables`](#listenvironmentvariables)\n- [`createEnvironmentVariable`](#createenvironmentvariable)\n- [`listEnvironmentGroups`](#listenvironmentgroups)\n- [`putEnvironmentGroup`](#putenvironmentgroup)\n- [`deleteEnvironmentGroup`](#deleteenvironmentgroup)\n- [`getEnvironmentVariable`](#getenvironmentvariable)\n- [`updateEnvironmentVariable`](#updateenvironmentvariable)\n- [`deleteEnvironmentVariable`](#deleteenvironmentvariable)\n\n**Schemas**\n- [`EnvironmentValueType`](#environmentvaluetype)\n- [`EnvironmentVariable`](#environmentvariable)\n- [`EnvironmentVariableListItem`](#environmentvariablelistitem)\n- [`EnvironmentVariableList`](#environmentvariablelist)\n- [`EnvironmentVariableCreateRequest`](#environmentvariablecreaterequest)\n- [`EnvironmentVariableUpdateRequest`](#environmentvariableupdaterequest)\n- [`EnvironmentGroup`](#environmentgroup)\n- [`EnvironmentGroupList`](#environmentgrouplist)\n- [`EnvironmentGroupUpsertRequest`](#environmentgroupupsertrequest)\n\n### `listEnvironmentVariables`\n\nList environment variables\n\n`GET /v1/environments`\n\n```ts\nconst { data } = await client.listEnvironmentVariables()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "items": [\n {\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createEnvironmentVariable`\n\nCreate environment variable\n\n`POST /v1/environments`\n\n```ts\nconst { data } = await client.createEnvironmentVariable(\n null,\n {\n key: \'string\',\n type: \'String\',\n description: \'string\',\n group: \'string\',\n value: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `listEnvironmentGroups`\n\nList environment groups\n\n`GET /v1/environments/groups`\n\n```ts\nconst { data } = await client.listEnvironmentGroups()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "items": [\n {\n "name": "string",\n "description": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `putEnvironmentGroup`\n\n`PUT /v1/environments/groups/{name}`\n\n```ts\nconst { data } = await client.putEnvironmentGroup(\n {\n name: \'example\',\n },\n {\n description: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "name": "string",\n "description": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `deleteEnvironmentGroup`\n\nDelete an environment group\n\n`DELETE /v1/environments/groups/{name}`\n\n```ts\nconst { data } = await client.deleteEnvironmentGroup({\n name: \'example\',\n})\n```\n\n---\n\n### `getEnvironmentVariable`\n\nGet environment variable\n\n`GET /v1/environments/{key}`\n\n```ts\nconst { data } = await client.getEnvironmentVariable({\n key: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `updateEnvironmentVariable`\n\nUpdate environment variable\n\n`PUT /v1/environments/{key}`\n\n```ts\nconst { data } = await client.updateEnvironmentVariable(\n {\n key: \'example\',\n },\n {\n type: \'String\',\n value: \'string\',\n description: \'string\',\n group: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `deleteEnvironmentVariable`\n\nDelete environment variable\n\n`DELETE /v1/environments/{key}`\n\n```ts\nconst { data } = await client.deleteEnvironmentVariable({\n key: \'example\',\n})\n```\n\n---\n\n## Schemas\n\n### `EnvironmentValueType`\n\n```ts\ntype EnvironmentValueType = "String" | "SecretString"\n```\n\n### `EnvironmentVariable`\n\n```ts\ntype EnvironmentVariable = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentVariableListItem`\n\n```ts\ntype EnvironmentVariableListItem = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentVariableList`\n\n```ts\ntype EnvironmentVariableList = {\n items: Array<{\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n }>\n}\n```\n\n### `EnvironmentVariableCreateRequest`\n\n```ts\ntype EnvironmentVariableCreateRequest = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n}\n```\n\n### `EnvironmentVariableUpdateRequest`\n\n```ts\ntype EnvironmentVariableUpdateRequest = {\n type?: "String" | "SecretString"\n value?: string\n description?: string\n group?: string\n}\n```\n\n### `EnvironmentGroup`\n\n```ts\ntype EnvironmentGroup = {\n name: string\n description?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentGroupList`\n\n```ts\ntype EnvironmentGroupList = {\n items: Array<{\n name: string\n description?: string\n created_at: string // date-time\n updated_at: string // date-time\n }>\n}\n```\n\n### `EnvironmentGroupUpsertRequest`\n\n```ts\ntype EnvironmentGroupUpsertRequest = {\n description?: string\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
environments_default as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/environments.json
|
|
4
|
+
var environments_default = '# Environments API\n\n- **Base URL:** `https://environments.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/environments](https://docs.epilot.io/api/environments)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.environments.listEnvironmentVariables(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/environments\'\n\nconst environmentsClient = getClient()\nauthorize(environmentsClient, () => \'<token>\')\nconst { data } = await environmentsClient.listEnvironmentVariables(...)\n```\n\n## Operations\n\n**environments**\n- [`listEnvironmentVariables`](#listenvironmentvariables)\n- [`createEnvironmentVariable`](#createenvironmentvariable)\n- [`listEnvironmentGroups`](#listenvironmentgroups)\n- [`putEnvironmentGroup`](#putenvironmentgroup)\n- [`deleteEnvironmentGroup`](#deleteenvironmentgroup)\n- [`getEnvironmentVariable`](#getenvironmentvariable)\n- [`updateEnvironmentVariable`](#updateenvironmentvariable)\n- [`deleteEnvironmentVariable`](#deleteenvironmentvariable)\n\n**Schemas**\n- [`EnvironmentValueType`](#environmentvaluetype)\n- [`EnvironmentVariable`](#environmentvariable)\n- [`EnvironmentVariableListItem`](#environmentvariablelistitem)\n- [`EnvironmentVariableList`](#environmentvariablelist)\n- [`EnvironmentVariableCreateRequest`](#environmentvariablecreaterequest)\n- [`EnvironmentVariableUpdateRequest`](#environmentvariableupdaterequest)\n- [`EnvironmentGroup`](#environmentgroup)\n- [`EnvironmentGroupList`](#environmentgrouplist)\n- [`EnvironmentGroupUpsertRequest`](#environmentgroupupsertrequest)\n\n### `listEnvironmentVariables`\n\nList environment variables\n\n`GET /v1/environments`\n\n```ts\nconst { data } = await client.listEnvironmentVariables()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "items": [\n {\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createEnvironmentVariable`\n\nCreate environment variable\n\n`POST /v1/environments`\n\n```ts\nconst { data } = await client.createEnvironmentVariable(\n null,\n {\n key: \'string\',\n type: \'String\',\n description: \'string\',\n group: \'string\',\n value: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `listEnvironmentGroups`\n\nList environment groups\n\n`GET /v1/environments/groups`\n\n```ts\nconst { data } = await client.listEnvironmentGroups()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "items": [\n {\n "name": "string",\n "description": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `putEnvironmentGroup`\n\n`PUT /v1/environments/groups/{name}`\n\n```ts\nconst { data } = await client.putEnvironmentGroup(\n {\n name: \'example\',\n },\n {\n description: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "name": "string",\n "description": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `deleteEnvironmentGroup`\n\nDelete an environment group\n\n`DELETE /v1/environments/groups/{name}`\n\n```ts\nconst { data } = await client.deleteEnvironmentGroup({\n name: \'example\',\n})\n```\n\n---\n\n### `getEnvironmentVariable`\n\nGet environment variable\n\n`GET /v1/environments/{key}`\n\n```ts\nconst { data } = await client.getEnvironmentVariable({\n key: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `updateEnvironmentVariable`\n\nUpdate environment variable\n\n`PUT /v1/environments/{key}`\n\n```ts\nconst { data } = await client.updateEnvironmentVariable(\n {\n key: \'example\',\n },\n {\n type: \'String\',\n value: \'string\',\n description: \'string\',\n group: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `deleteEnvironmentVariable`\n\nDelete environment variable\n\n`DELETE /v1/environments/{key}`\n\n```ts\nconst { data } = await client.deleteEnvironmentVariable({\n key: \'example\',\n})\n```\n\n---\n\n## Schemas\n\n### `EnvironmentValueType`\n\n```ts\ntype EnvironmentValueType = "String" | "SecretString"\n```\n\n### `EnvironmentVariable`\n\n```ts\ntype EnvironmentVariable = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentVariableListItem`\n\n```ts\ntype EnvironmentVariableListItem = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentVariableList`\n\n```ts\ntype EnvironmentVariableList = {\n items: Array<{\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n }>\n}\n```\n\n### `EnvironmentVariableCreateRequest`\n\n```ts\ntype EnvironmentVariableCreateRequest = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n}\n```\n\n### `EnvironmentVariableUpdateRequest`\n\n```ts\ntype EnvironmentVariableUpdateRequest = {\n type?: "String" | "SecretString"\n value?: string\n description?: string\n group?: string\n}\n```\n\n### `EnvironmentGroup`\n\n```ts\ntype EnvironmentGroup = {\n name: string\n description?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentGroupList`\n\n```ts\ntype EnvironmentGroupList = {\n items: Array<{\n name: string\n description?: string\n created_at: string // date-time\n updated_at: string // date-time\n }>\n}\n```\n\n### `EnvironmentGroupUpsertRequest`\n\n```ts\ntype EnvironmentGroupUpsertRequest = {\n description?: string\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = environments_default;
|
|
@@ -17,129 +17,44 @@ declare namespace Components {
|
|
|
17
17
|
export interface EnvironmentGroupUpsertRequest {
|
|
18
18
|
description?: string;
|
|
19
19
|
}
|
|
20
|
-
export type
|
|
21
|
-
value: string;
|
|
22
|
-
label: string;
|
|
23
|
-
} | {
|
|
24
|
-
value: string;
|
|
25
|
-
labels: {
|
|
26
|
-
[name: string]: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
31
|
-
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
32
|
-
* `Boolean` is a boolean, and `Options` is an object. Numbers are IEEE 754
|
|
33
|
-
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
export type EnvironmentValue = /**
|
|
37
|
-
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
38
|
-
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
39
|
-
* `Boolean` is a boolean, and `Options` is an object. Numbers are IEEE 754
|
|
40
|
-
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
string | number | boolean | OptionsValue;
|
|
44
|
-
/**
|
|
45
|
-
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
46
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `Options` may be
|
|
47
|
-
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export type EnvironmentValueType = "String" | "SecretString" | "Text" | "Number" | "Boolean" | "Options";
|
|
20
|
+
export type EnvironmentValueType = "String" | "SecretString";
|
|
51
21
|
export interface EnvironmentVariable {
|
|
52
22
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
53
|
-
type:
|
|
54
|
-
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
55
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `Options` may be
|
|
56
|
-
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
EnvironmentValueType;
|
|
23
|
+
type: EnvironmentValueType;
|
|
60
24
|
description?: string;
|
|
61
25
|
/**
|
|
62
26
|
* Optional group name for organising variables in the UI
|
|
63
27
|
*/
|
|
64
28
|
group?: string;
|
|
65
29
|
/**
|
|
66
|
-
*
|
|
67
|
-
* the variable has been created without a value — for example by a blueprint
|
|
68
|
-
* install, which syncs a variable's key and type but never its value.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
|
-
value?: /**
|
|
72
|
-
* Returned for non-secret types, omitted for SecretString. Also omitted when
|
|
73
|
-
* the variable has been created without a value — for example by a blueprint
|
|
74
|
-
* install, which syncs a variable's key and type but never its value.
|
|
75
|
-
*
|
|
30
|
+
* Value is returned for String type, omitted for SecretString
|
|
76
31
|
*/
|
|
77
|
-
string
|
|
78
|
-
/**
|
|
79
|
-
* Whether the variable is protected from editing
|
|
80
|
-
*/
|
|
81
|
-
protected?: boolean;
|
|
32
|
+
value?: string;
|
|
82
33
|
created_at: string; // date-time
|
|
83
34
|
updated_at: string; // date-time
|
|
84
35
|
}
|
|
85
36
|
export interface EnvironmentVariableCreateRequest {
|
|
86
37
|
key: string; // ^[a-z0-9][a-z0-9_.\-]{0,127}$
|
|
87
|
-
type:
|
|
88
|
-
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
89
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `Options` may be
|
|
90
|
-
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
91
|
-
*
|
|
92
|
-
*/
|
|
93
|
-
EnvironmentValueType;
|
|
38
|
+
type: EnvironmentValueType;
|
|
94
39
|
description?: string;
|
|
95
40
|
group?: string;
|
|
96
|
-
value?:
|
|
97
|
-
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
98
|
-
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
99
|
-
* `Boolean` is a boolean, and `Options` is an object. Numbers are IEEE 754
|
|
100
|
-
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
101
|
-
*
|
|
102
|
-
*/
|
|
103
|
-
EnvironmentValue;
|
|
104
|
-
/**
|
|
105
|
-
* Whether the variable is protected from editing
|
|
106
|
-
*/
|
|
107
|
-
protected?: boolean;
|
|
41
|
+
value?: string;
|
|
108
42
|
}
|
|
109
43
|
export interface EnvironmentVariableList {
|
|
110
44
|
items: EnvironmentVariableListItem[];
|
|
111
45
|
}
|
|
112
46
|
export interface EnvironmentVariableListItem {
|
|
113
47
|
key: string;
|
|
114
|
-
type:
|
|
115
|
-
* The structure a variable's value holds. `SecretString` is encrypted at rest and
|
|
116
|
-
* its value is never returned. `Text`, `Number`, `Boolean` and `Options` may be
|
|
117
|
-
* served to browser-facing consumers; `String` and `SecretString` may not.
|
|
118
|
-
*
|
|
119
|
-
*/
|
|
120
|
-
EnvironmentValueType;
|
|
48
|
+
type: EnvironmentValueType;
|
|
121
49
|
description?: string;
|
|
122
50
|
/**
|
|
123
51
|
* Optional group name for organising variables in the UI
|
|
124
52
|
*/
|
|
125
53
|
group?: string;
|
|
126
54
|
/**
|
|
127
|
-
*
|
|
128
|
-
* the variable has been created without a value — for example by a blueprint
|
|
129
|
-
* install, which syncs a variable's key and type but never its value.
|
|
130
|
-
*
|
|
131
|
-
*/
|
|
132
|
-
value?: /**
|
|
133
|
-
* Returned for non-secret types, omitted for SecretString. Also omitted when
|
|
134
|
-
* the variable has been created without a value — for example by a blueprint
|
|
135
|
-
* install, which syncs a variable's key and type but never its value.
|
|
136
|
-
*
|
|
137
|
-
*/
|
|
138
|
-
string | number | boolean | OptionsValue;
|
|
139
|
-
/**
|
|
140
|
-
* Whether the variable is protected from editing
|
|
55
|
+
* Value is returned for String type, omitted for SecretString
|
|
141
56
|
*/
|
|
142
|
-
|
|
57
|
+
value?: string;
|
|
143
58
|
created_at: string; // date-time
|
|
144
59
|
updated_at: string; // date-time
|
|
145
60
|
}
|
|
@@ -147,28 +62,10 @@ declare namespace Components {
|
|
|
147
62
|
/**
|
|
148
63
|
* Type of variable. Used when creating a new variable. Defaults to String.
|
|
149
64
|
*/
|
|
150
|
-
type?: "String" | "SecretString"
|
|
151
|
-
value?:
|
|
152
|
-
* A variable's value. The JSON type corresponds to the variable's `type`:
|
|
153
|
-
* `String`, `SecretString` and `Text` are strings, `Number` is a number,
|
|
154
|
-
* `Boolean` is a boolean, and `Options` is an object. Numbers are IEEE 754
|
|
155
|
-
* doubles; integers above 2^53 may lose precision on round-trip.
|
|
156
|
-
*
|
|
157
|
-
*/
|
|
158
|
-
EnvironmentValue;
|
|
65
|
+
type?: "String" | "SecretString";
|
|
66
|
+
value?: string;
|
|
159
67
|
description?: string;
|
|
160
68
|
group?: string;
|
|
161
|
-
/**
|
|
162
|
-
* Whether the variable is protected from editing
|
|
163
|
-
*/
|
|
164
|
-
protected?: boolean;
|
|
165
|
-
}
|
|
166
|
-
export interface OptionsValue {
|
|
167
|
-
fallbackLanguage?: string;
|
|
168
|
-
options: [
|
|
169
|
-
EnvironmentOption,
|
|
170
|
-
...EnvironmentOption[]
|
|
171
|
-
];
|
|
172
69
|
}
|
|
173
70
|
}
|
|
174
71
|
}
|
|
@@ -276,8 +173,6 @@ declare namespace Paths {
|
|
|
276
173
|
}
|
|
277
174
|
export interface $403 {
|
|
278
175
|
}
|
|
279
|
-
export interface $409 {
|
|
280
|
-
}
|
|
281
176
|
export interface $500 {
|
|
282
177
|
}
|
|
283
178
|
}
|
|
@@ -303,7 +198,7 @@ declare namespace Paths {
|
|
|
303
198
|
|
|
304
199
|
interface OperationMethods {
|
|
305
200
|
/**
|
|
306
|
-
* listEnvironmentVariables -
|
|
201
|
+
* listEnvironmentVariables - List environment variables
|
|
307
202
|
*
|
|
308
203
|
* List all environment variables for the organization. Returns metadata only, no secret values.
|
|
309
204
|
*/
|
|
@@ -313,9 +208,9 @@ interface OperationMethods {
|
|
|
313
208
|
config?: AxiosRequestConfig
|
|
314
209
|
): OperationResponse<Paths.ListEnvironmentVariables.Responses.$200>
|
|
315
210
|
/**
|
|
316
|
-
* createEnvironmentVariable -
|
|
211
|
+
* createEnvironmentVariable - Create environment variable
|
|
317
212
|
*
|
|
318
|
-
* Create a new environment variable or secret for the organization.
|
|
213
|
+
* Create a new environment variable or secret for the organization.
|
|
319
214
|
*/
|
|
320
215
|
'createEnvironmentVariable'(
|
|
321
216
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
@@ -323,7 +218,7 @@ interface OperationMethods {
|
|
|
323
218
|
config?: AxiosRequestConfig
|
|
324
219
|
): OperationResponse<Paths.CreateEnvironmentVariable.Responses.$201>
|
|
325
220
|
/**
|
|
326
|
-
* listEnvironmentGroups -
|
|
221
|
+
* listEnvironmentGroups - List environment groups
|
|
327
222
|
*
|
|
328
223
|
* List all environment groups for the organization.
|
|
329
224
|
*/
|
|
@@ -334,8 +229,6 @@ interface OperationMethods {
|
|
|
334
229
|
): OperationResponse<Paths.ListEnvironmentGroups.Responses.$200>
|
|
335
230
|
/**
|
|
336
231
|
* putEnvironmentGroup - putEnvironmentGroup
|
|
337
|
-
*
|
|
338
|
-
* Create or update an environment group by name. Acts as an upsert — creates the group if it does not exist.
|
|
339
232
|
*/
|
|
340
233
|
'putEnvironmentGroup'(
|
|
341
234
|
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
@@ -343,7 +236,7 @@ interface OperationMethods {
|
|
|
343
236
|
config?: AxiosRequestConfig
|
|
344
237
|
): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
|
|
345
238
|
/**
|
|
346
|
-
* deleteEnvironmentGroup -
|
|
239
|
+
* deleteEnvironmentGroup - Delete an environment group
|
|
347
240
|
*
|
|
348
241
|
* Deletes a group. Variables assigned to this group become ungrouped.
|
|
349
242
|
*/
|
|
@@ -353,9 +246,9 @@ interface OperationMethods {
|
|
|
353
246
|
config?: AxiosRequestConfig
|
|
354
247
|
): OperationResponse<Paths.DeleteEnvironmentGroup.Responses.$204>
|
|
355
248
|
/**
|
|
356
|
-
* getEnvironmentVariable -
|
|
249
|
+
* getEnvironmentVariable - Get environment variable
|
|
357
250
|
*
|
|
358
|
-
* Get an environment variable by key. Returns value for
|
|
251
|
+
* Get an environment variable by key. Returns value only for String type, omitted for SecretString.
|
|
359
252
|
*/
|
|
360
253
|
'getEnvironmentVariable'(
|
|
361
254
|
parameters?: Parameters<Paths.V1Environments$Key.PathParameters> | null,
|
|
@@ -363,9 +256,9 @@ interface OperationMethods {
|
|
|
363
256
|
config?: AxiosRequestConfig
|
|
364
257
|
): OperationResponse<Paths.GetEnvironmentVariable.Responses.$200>
|
|
365
258
|
/**
|
|
366
|
-
* updateEnvironmentVariable -
|
|
259
|
+
* updateEnvironmentVariable - Update environment variable
|
|
367
260
|
*
|
|
368
|
-
* Create or update an environment variable. Acts as an upsert — creates the variable if it does not exist.
|
|
261
|
+
* Create or update an environment variable. Acts as an upsert — creates the variable if it does not exist.
|
|
369
262
|
*/
|
|
370
263
|
'updateEnvironmentVariable'(
|
|
371
264
|
parameters?: Parameters<Paths.V1Environments$Key.PathParameters> | null,
|
|
@@ -373,7 +266,7 @@ interface OperationMethods {
|
|
|
373
266
|
config?: AxiosRequestConfig
|
|
374
267
|
): OperationResponse<Paths.UpdateEnvironmentVariable.Responses.$200 | Paths.UpdateEnvironmentVariable.Responses.$201>
|
|
375
268
|
/**
|
|
376
|
-
* deleteEnvironmentVariable -
|
|
269
|
+
* deleteEnvironmentVariable - Delete environment variable
|
|
377
270
|
*
|
|
378
271
|
* Delete an environment variable by key.
|
|
379
272
|
*/
|
|
@@ -387,7 +280,7 @@ interface OperationMethods {
|
|
|
387
280
|
interface PathsDictionary {
|
|
388
281
|
['/v1/environments']: {
|
|
389
282
|
/**
|
|
390
|
-
* listEnvironmentVariables -
|
|
283
|
+
* listEnvironmentVariables - List environment variables
|
|
391
284
|
*
|
|
392
285
|
* List all environment variables for the organization. Returns metadata only, no secret values.
|
|
393
286
|
*/
|
|
@@ -397,9 +290,9 @@ interface PathsDictionary {
|
|
|
397
290
|
config?: AxiosRequestConfig
|
|
398
291
|
): OperationResponse<Paths.ListEnvironmentVariables.Responses.$200>
|
|
399
292
|
/**
|
|
400
|
-
* createEnvironmentVariable -
|
|
293
|
+
* createEnvironmentVariable - Create environment variable
|
|
401
294
|
*
|
|
402
|
-
* Create a new environment variable or secret for the organization.
|
|
295
|
+
* Create a new environment variable or secret for the organization.
|
|
403
296
|
*/
|
|
404
297
|
'post'(
|
|
405
298
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
@@ -409,7 +302,7 @@ interface PathsDictionary {
|
|
|
409
302
|
}
|
|
410
303
|
['/v1/environments/groups']: {
|
|
411
304
|
/**
|
|
412
|
-
* listEnvironmentGroups -
|
|
305
|
+
* listEnvironmentGroups - List environment groups
|
|
413
306
|
*
|
|
414
307
|
* List all environment groups for the organization.
|
|
415
308
|
*/
|
|
@@ -422,8 +315,6 @@ interface PathsDictionary {
|
|
|
422
315
|
['/v1/environments/groups/{name}']: {
|
|
423
316
|
/**
|
|
424
317
|
* putEnvironmentGroup - putEnvironmentGroup
|
|
425
|
-
*
|
|
426
|
-
* Create or update an environment group by name. Acts as an upsert — creates the group if it does not exist.
|
|
427
318
|
*/
|
|
428
319
|
'put'(
|
|
429
320
|
parameters?: Parameters<Paths.V1EnvironmentsGroups$Name.PathParameters> | null,
|
|
@@ -431,7 +322,7 @@ interface PathsDictionary {
|
|
|
431
322
|
config?: AxiosRequestConfig
|
|
432
323
|
): OperationResponse<Paths.PutEnvironmentGroup.Responses.$200 | Paths.PutEnvironmentGroup.Responses.$201>
|
|
433
324
|
/**
|
|
434
|
-
* deleteEnvironmentGroup -
|
|
325
|
+
* deleteEnvironmentGroup - Delete an environment group
|
|
435
326
|
*
|
|
436
327
|
* Deletes a group. Variables assigned to this group become ungrouped.
|
|
437
328
|
*/
|
|
@@ -443,9 +334,9 @@ interface PathsDictionary {
|
|
|
443
334
|
}
|
|
444
335
|
['/v1/environments/{key}']: {
|
|
445
336
|
/**
|
|
446
|
-
* getEnvironmentVariable -
|
|
337
|
+
* getEnvironmentVariable - Get environment variable
|
|
447
338
|
*
|
|
448
|
-
* Get an environment variable by key. Returns value for
|
|
339
|
+
* Get an environment variable by key. Returns value only for String type, omitted for SecretString.
|
|
449
340
|
*/
|
|
450
341
|
'get'(
|
|
451
342
|
parameters?: Parameters<Paths.V1Environments$Key.PathParameters> | null,
|
|
@@ -453,9 +344,9 @@ interface PathsDictionary {
|
|
|
453
344
|
config?: AxiosRequestConfig
|
|
454
345
|
): OperationResponse<Paths.GetEnvironmentVariable.Responses.$200>
|
|
455
346
|
/**
|
|
456
|
-
* updateEnvironmentVariable -
|
|
347
|
+
* updateEnvironmentVariable - Update environment variable
|
|
457
348
|
*
|
|
458
|
-
* Create or update an environment variable. Acts as an upsert — creates the variable if it does not exist.
|
|
349
|
+
* Create or update an environment variable. Acts as an upsert — creates the variable if it does not exist.
|
|
459
350
|
*/
|
|
460
351
|
'put'(
|
|
461
352
|
parameters?: Parameters<Paths.V1Environments$Key.PathParameters> | null,
|
|
@@ -463,7 +354,7 @@ interface PathsDictionary {
|
|
|
463
354
|
config?: AxiosRequestConfig
|
|
464
355
|
): OperationResponse<Paths.UpdateEnvironmentVariable.Responses.$200 | Paths.UpdateEnvironmentVariable.Responses.$201>
|
|
465
356
|
/**
|
|
466
|
-
* deleteEnvironmentVariable -
|
|
357
|
+
* deleteEnvironmentVariable - Delete environment variable
|
|
467
358
|
*
|
|
468
359
|
* Delete an environment variable by key.
|
|
469
360
|
*/
|
|
@@ -481,14 +372,11 @@ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
|
481
372
|
type EnvironmentGroup = Components.Schemas.EnvironmentGroup;
|
|
482
373
|
type EnvironmentGroupList = Components.Schemas.EnvironmentGroupList;
|
|
483
374
|
type EnvironmentGroupUpsertRequest = Components.Schemas.EnvironmentGroupUpsertRequest;
|
|
484
|
-
type EnvironmentOption = Components.Schemas.EnvironmentOption;
|
|
485
|
-
type EnvironmentValue = Components.Schemas.EnvironmentValue;
|
|
486
375
|
type EnvironmentValueType = Components.Schemas.EnvironmentValueType;
|
|
487
376
|
type EnvironmentVariable = Components.Schemas.EnvironmentVariable;
|
|
488
377
|
type EnvironmentVariableCreateRequest = Components.Schemas.EnvironmentVariableCreateRequest;
|
|
489
378
|
type EnvironmentVariableList = Components.Schemas.EnvironmentVariableList;
|
|
490
379
|
type EnvironmentVariableListItem = Components.Schemas.EnvironmentVariableListItem;
|
|
491
380
|
type EnvironmentVariableUpdateRequest = Components.Schemas.EnvironmentVariableUpdateRequest;
|
|
492
|
-
type OptionsValue = Components.Schemas.OptionsValue;
|
|
493
381
|
|
|
494
|
-
export { type Client as C, type EnvironmentGroup as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b, type EnvironmentGroupList as c, type EnvironmentGroupUpsertRequest as d, type
|
|
382
|
+
export { type Client as C, type EnvironmentGroup as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b, type EnvironmentGroupList as c, type EnvironmentGroupUpsertRequest as d, type EnvironmentValueType as e, type EnvironmentVariable as f, type EnvironmentVariableCreateRequest as g, type EnvironmentVariableList as h, type EnvironmentVariableListItem as i, type EnvironmentVariableUpdateRequest as j };
|