@epilot/sdk 2.3.2 → 2.3.5
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/README.md +2 -0
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +239 -12
- package/definitions/configuration-hub-runtime.json +1 -0
- package/definitions/configuration-hub.json +399 -0
- package/definitions/environments-runtime.json +1 -1
- package/definitions/environments.json +2 -2
- package/definitions/query-runtime.json +1 -0
- package/definitions/query.json +3178 -0
- package/dist/README-6MG272KM.cjs +7 -0
- package/dist/README-7N542PBL.js +7 -0
- package/dist/{_index-O7JDGRSE.cjs → _index-55HAH24D.cjs} +7 -1
- package/dist/{_index-CLT2KTVS.js → _index-HE4B6FOA.js} +6 -0
- 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.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/configuration-hub.cjs +38 -0
- package/dist/apis/configuration-hub.d.cts +18 -0
- package/dist/apis/configuration-hub.d.ts +18 -0
- package/dist/apis/configuration-hub.js +38 -0
- 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 +8 -8
- package/dist/apis/environments.d.cts +2 -2
- package/dist/apis/environments.d.ts +2 -2
- package/dist/apis/environments.js +2 -2
- 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 +38 -0
- package/dist/apis/query.d.cts +18 -0
- package/dist/apis/query.d.ts +18 -0
- package/dist/apis/query.js +38 -0
- 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/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +38 -0
- package/dist/apis/target.d.cts +597 -0
- package/dist/apis/target.d.ts +597 -0
- package/dist/apis/target.js +38 -0
- package/dist/apis/targeting.cjs +6 -6
- 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/blueprint-manifest-DBEY5PPI.js +7 -0
- package/dist/blueprint-manifest-IEQ6YBY7.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-E2FN43TB.js → blueprint-manifest-runtime-5UN52LW5.js} +1 -1
- package/dist/{blueprint-manifest-runtime-G4UK5VEX.cjs → blueprint-manifest-runtime-QN2IECSA.cjs} +2 -2
- package/dist/{blueprint-manifest.d-BGrGU787.d.cts → blueprint-manifest.d-BPyzoR0X.d.cts} +228 -9
- package/dist/{blueprint-manifest.d-BGrGU787.d.ts → blueprint-manifest.d-BPyzoR0X.d.ts} +228 -9
- package/dist/{chunk-6IMAKHA4.js → chunk-2LEEXRJX.js} +1 -1
- package/dist/chunk-4JAOFRYX.js +14 -0
- package/dist/{chunk-5JN243WJ.js → chunk-7C4FQXMS.js} +12 -6
- package/dist/chunk-EYKEVZME.cjs +14 -0
- package/dist/{chunk-VTJQTEQX.cjs → chunk-GGMGJYHO.cjs} +12 -6
- package/dist/{chunk-BDKLBHIN.cjs → chunk-I6DG26UJ.cjs} +1 -1
- package/dist/{chunk-5APJZUIH.cjs → chunk-L544VG3B.cjs} +1 -1
- package/dist/chunk-MM5JDJFO.js +14 -0
- package/dist/{chunk-VPDA5SAH.js → chunk-O2YVXGPZ.js} +1 -1
- package/dist/chunk-Q7OKRNUG.cjs +14 -0
- package/dist/chunk-RMP2HHCR.js +14 -0
- package/dist/chunk-XDZ2JKJ4.cjs +14 -0
- package/dist/configuration-hub-LKSRCGYT.cjs +7 -0
- package/dist/configuration-hub-TZ2ULWV4.js +7 -0
- package/dist/configuration-hub-runtime-B7KKIHHY.cjs +5 -0
- package/dist/configuration-hub-runtime-TEDEKI7E.js +5 -0
- package/dist/configuration-hub.d-CqvhcMOn.d.cts +166 -0
- package/dist/configuration-hub.d-CqvhcMOn.d.ts +166 -0
- package/dist/environments-PXJOTQVM.js +7 -0
- package/dist/environments-QJ4UMJ5C.cjs +7 -0
- package/dist/{environments-runtime-FMSNJF5S.js → environments-runtime-NKHLZJB3.js} +1 -1
- package/dist/{environments-runtime-5DVTRV2Z.cjs → environments-runtime-QC2BUHBW.cjs} +2 -2
- package/dist/{environments.d-H3LK_KuH.d.ts → environments.d-BvqvN-PD.d.cts} +134 -5
- package/dist/{environments.d-H3LK_KuH.d.cts → environments.d-BvqvN-PD.d.ts} +134 -5
- package/dist/index.cjs +43 -27
- package/dist/index.d.cts +81 -77
- package/dist/index.d.ts +81 -77
- package/dist/index.js +39 -23
- package/dist/query-JSDB2F2U.cjs +7 -0
- package/dist/query-RJ4M25PA.js +7 -0
- package/dist/query-runtime-NLOSMDAJ.cjs +5 -0
- package/dist/query-runtime-SYJTDUNG.js +5 -0
- package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
- package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
- package/dist/target-3RS5BN2B.cjs +7 -0
- package/dist/target-5MKRXCHX.js +7 -0
- package/dist/target-runtime-BMJ7EARM.cjs +5 -0
- package/dist/target-runtime-PBF3WYL7.js +5 -0
- package/docs/blueprint-manifest.md +418 -40
- package/docs/configuration-hub.md +256 -0
- package/docs/environments.md +3 -5
- package/docs/query.md +1609 -0
- package/docs/target.md +741 -0
- package/package.json +19 -1
- package/dist/README-KX4XC2HB.js +0 -7
- package/dist/README-PTYV6PQI.cjs +0 -7
- package/dist/blueprint-manifest-ELK4SGN7.js +0 -7
- package/dist/blueprint-manifest-VBOWPK52.cjs +0 -7
- package/dist/environments-I6RWPVHA.js +0 -7
- package/dist/environments-TZYXLYXA.cjs +0 -7
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# Configuration Hub API
|
|
2
|
+
|
|
3
|
+
- **Base URL:** `https://configuration-hub.dev.sls.epilot.io`
|
|
4
|
+
- **Full API Docs:** [https://docs.epilot.io/api/configuration-hub](https://docs.epilot.io/api/configuration-hub)
|
|
5
|
+
|
|
6
|
+
## Usage
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
import { epilot } from '@epilot/sdk'
|
|
10
|
+
|
|
11
|
+
epilot.authorize(() => '<token>')
|
|
12
|
+
const { data } = await epilot.configurationHub.listConfigTypes(...)
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Tree-shakeable import
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import { getClient, authorize } from '@epilot/sdk/configuration-hub'
|
|
19
|
+
|
|
20
|
+
const configurationHubClient = getClient()
|
|
21
|
+
authorize(configurationHubClient, () => '<token>')
|
|
22
|
+
const { data } = await configurationHubClient.listConfigTypes(...)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Operations
|
|
26
|
+
|
|
27
|
+
**Configs**
|
|
28
|
+
- [`listConfigTypes`](#listconfigtypes)
|
|
29
|
+
- [`listConfigs`](#listconfigs)
|
|
30
|
+
- [`getConfigDependencies`](#getconfigdependencies)
|
|
31
|
+
|
|
32
|
+
**Schemas**
|
|
33
|
+
- [`ResourceType`](#resourcetype)
|
|
34
|
+
- [`ConfigTypeInfo`](#configtypeinfo)
|
|
35
|
+
- [`ConfigNode`](#confignode)
|
|
36
|
+
- [`ConfigListResponse`](#configlistresponse)
|
|
37
|
+
- [`ConfigDependenciesResponse`](#configdependenciesresponse)
|
|
38
|
+
- [`ErrorResponse`](#errorresponse)
|
|
39
|
+
|
|
40
|
+
### `listConfigTypes`
|
|
41
|
+
|
|
42
|
+
Returns the static list of available configuration types with display metadata.
|
|
43
|
+
This is a cheap call — no fan-out to downstream APIs. Returns all known types
|
|
44
|
+
with labels and icons. The frontend should
|
|
45
|
+
|
|
46
|
+
`GET /v1/configs/types`
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
const { data } = await client.listConfigTypes()
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
<details>
|
|
53
|
+
<summary>Response</summary>
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"results": [
|
|
58
|
+
{
|
|
59
|
+
"type": "journey",
|
|
60
|
+
"label": "Journeys",
|
|
61
|
+
"icon": "Route",
|
|
62
|
+
"source_api": "https://journey.sls.epilot.io",
|
|
63
|
+
"sdk_client": "@epilot/sdk/journey"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
</details>
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### `listConfigs`
|
|
74
|
+
|
|
75
|
+
List configs of a given type with pagination. Returns summary metadata only
|
|
76
|
+
(not full payloads). The frontend calls this per type folder when expanding.
|
|
77
|
+
|
|
78
|
+
`GET /v1/configs/{type}`
|
|
79
|
+
|
|
80
|
+
```ts
|
|
81
|
+
const { data } = await client.listConfigs({
|
|
82
|
+
type: 'example',
|
|
83
|
+
cursor: 'example',
|
|
84
|
+
size: 1,
|
|
85
|
+
})
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
<details>
|
|
89
|
+
<summary>Response</summary>
|
|
90
|
+
|
|
91
|
+
```json
|
|
92
|
+
{
|
|
93
|
+
"type": "journey",
|
|
94
|
+
"label": "string",
|
|
95
|
+
"icon": "string",
|
|
96
|
+
"total": 0,
|
|
97
|
+
"next_cursor": "string",
|
|
98
|
+
"items": [
|
|
99
|
+
{
|
|
100
|
+
"type": "journey",
|
|
101
|
+
"id": "string",
|
|
102
|
+
"title": "string",
|
|
103
|
+
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
104
|
+
"updated_by": "string",
|
|
105
|
+
"tags": ["string"],
|
|
106
|
+
"purposes": ["string"],
|
|
107
|
+
"link": "https://example.com/path"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
</details>
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
### `getConfigDependencies`
|
|
118
|
+
|
|
119
|
+
Get configs that are referenced by the given config.
|
|
120
|
+
Used to render children when expanding a config node in the tree.
|
|
121
|
+
|
|
122
|
+
`GET /v1/configs/{type}/{id}/dependencies`
|
|
123
|
+
|
|
124
|
+
```ts
|
|
125
|
+
const { data } = await client.getConfigDependencies({
|
|
126
|
+
type: 'example',
|
|
127
|
+
id: '123e4567-e89b-12d3-a456-426614174000',
|
|
128
|
+
cursor: 'example',
|
|
129
|
+
size: 1,
|
|
130
|
+
})
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
<details>
|
|
134
|
+
<summary>Response</summary>
|
|
135
|
+
|
|
136
|
+
```json
|
|
137
|
+
{
|
|
138
|
+
"total": 0,
|
|
139
|
+
"next_cursor": "string",
|
|
140
|
+
"results": [
|
|
141
|
+
{
|
|
142
|
+
"type": "journey",
|
|
143
|
+
"id": "string",
|
|
144
|
+
"title": "string",
|
|
145
|
+
"updated_at": "1970-01-01T00:00:00.000Z",
|
|
146
|
+
"updated_by": "string",
|
|
147
|
+
"tags": ["string"],
|
|
148
|
+
"purposes": ["string"],
|
|
149
|
+
"link": "https://example.com/path"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
</details>
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Schemas
|
|
160
|
+
|
|
161
|
+
### `ResourceType`
|
|
162
|
+
|
|
163
|
+
Configuration resource type identifier.
|
|
164
|
+
Matches blueprint-manifest-api V3 naming conventions.
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
```ts
|
|
168
|
+
type ResourceType = "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### `ConfigTypeInfo`
|
|
172
|
+
|
|
173
|
+
Static metadata for a config type folder in the tree.
|
|
174
|
+
No downstream API calls — just type + label + icon + source API info.
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
```ts
|
|
178
|
+
type ConfigTypeInfo = {
|
|
179
|
+
type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"
|
|
180
|
+
label: string
|
|
181
|
+
icon: string
|
|
182
|
+
source_api: string
|
|
183
|
+
sdk_client: string
|
|
184
|
+
}
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### `ConfigNode`
|
|
188
|
+
|
|
189
|
+
Summary metadata for a single configuration item in the tree
|
|
190
|
+
|
|
191
|
+
```ts
|
|
192
|
+
type ConfigNode = {
|
|
193
|
+
type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"
|
|
194
|
+
id: string
|
|
195
|
+
title: string
|
|
196
|
+
updated_at?: string // date-time
|
|
197
|
+
updated_by?: string
|
|
198
|
+
tags?: string[]
|
|
199
|
+
purposes?: string[]
|
|
200
|
+
link?: string // uri
|
|
201
|
+
}
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### `ConfigListResponse`
|
|
205
|
+
|
|
206
|
+
Cursor-paginated list of configs for a specific type
|
|
207
|
+
|
|
208
|
+
```ts
|
|
209
|
+
type ConfigListResponse = {
|
|
210
|
+
type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"
|
|
211
|
+
label: string
|
|
212
|
+
icon: string
|
|
213
|
+
total?: number
|
|
214
|
+
next_cursor?: string
|
|
215
|
+
items: Array<{
|
|
216
|
+
type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"
|
|
217
|
+
id: string
|
|
218
|
+
title: string
|
|
219
|
+
updated_at?: string // date-time
|
|
220
|
+
updated_by?: string
|
|
221
|
+
tags?: string[]
|
|
222
|
+
purposes?: string[]
|
|
223
|
+
link?: string // uri
|
|
224
|
+
}>
|
|
225
|
+
}
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### `ConfigDependenciesResponse`
|
|
229
|
+
|
|
230
|
+
Cursor-paginated list of configs referenced by a given config
|
|
231
|
+
|
|
232
|
+
```ts
|
|
233
|
+
type ConfigDependenciesResponse = {
|
|
234
|
+
total?: number
|
|
235
|
+
next_cursor?: string
|
|
236
|
+
results: Array<{
|
|
237
|
+
type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"
|
|
238
|
+
id: string
|
|
239
|
+
title: string
|
|
240
|
+
updated_at?: string // date-time
|
|
241
|
+
updated_by?: string
|
|
242
|
+
tags?: string[]
|
|
243
|
+
purposes?: string[]
|
|
244
|
+
link?: string // uri
|
|
245
|
+
}>
|
|
246
|
+
}
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### `ErrorResponse`
|
|
250
|
+
|
|
251
|
+
```ts
|
|
252
|
+
type ErrorResponse = {
|
|
253
|
+
status: number
|
|
254
|
+
error: string
|
|
255
|
+
}
|
|
256
|
+
```
|
package/docs/environments.md
CHANGED
|
@@ -28,7 +28,7 @@ const { data } = await environmentsClient.listEnvironmentVariables(...)
|
|
|
28
28
|
- [`listEnvironmentVariables`](#listenvironmentvariables)
|
|
29
29
|
- [`createEnvironmentVariable`](#createenvironmentvariable)
|
|
30
30
|
- [`listEnvironmentGroups`](#listenvironmentgroups)
|
|
31
|
-
- [`
|
|
31
|
+
- [`putEnvironmentGroup`](#putenvironmentgroup)
|
|
32
32
|
- [`deleteEnvironmentGroup`](#deleteenvironmentgroup)
|
|
33
33
|
- [`getEnvironmentVariable`](#getenvironmentvariable)
|
|
34
34
|
- [`updateEnvironmentVariable`](#updateenvironmentvariable)
|
|
@@ -146,14 +146,12 @@ const { data } = await client.listEnvironmentGroups()
|
|
|
146
146
|
|
|
147
147
|
---
|
|
148
148
|
|
|
149
|
-
### `
|
|
150
|
-
|
|
151
|
-
Create or update an environment group
|
|
149
|
+
### `putEnvironmentGroup`
|
|
152
150
|
|
|
153
151
|
`PUT /v1/environments/groups/{name}`
|
|
154
152
|
|
|
155
153
|
```ts
|
|
156
|
-
const { data } = await client.
|
|
154
|
+
const { data } = await client.putEnvironmentGroup(
|
|
157
155
|
{
|
|
158
156
|
name: 'example',
|
|
159
157
|
},
|