@epilot/cli 0.1.80 → 0.1.82
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 +1 -1
- package/definitions/blueprint-manifest.json +699 -3
- package/definitions/entity.json +373 -3
- package/dist/bin/epilot.js +6 -6
- package/dist/{chunk-VQGZE3VB.js → chunk-5D7GCYYX.js} +8 -2
- package/dist/{completion-QRRDVEAW.js → completion-N6A4VCAE.js} +1 -1
- package/dist/{upgrade-G2IQCB5S.js → upgrade-YBOBA2V7.js} +1 -1
- package/package.json +1 -1
package/definitions/entity.json
CHANGED
|
@@ -1419,6 +1419,9 @@
|
|
|
1419
1419
|
{
|
|
1420
1420
|
"$ref": "#/components/parameters/HydrateEntitiesQueryParam"
|
|
1421
1421
|
},
|
|
1422
|
+
{
|
|
1423
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
1424
|
+
},
|
|
1422
1425
|
{
|
|
1423
1426
|
"in": "query",
|
|
1424
1427
|
"name": "fields",
|
|
@@ -1568,6 +1571,9 @@
|
|
|
1568
1571
|
},
|
|
1569
1572
|
{
|
|
1570
1573
|
"$ref": "#/components/parameters/HydrateEntitiesQueryParam"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
1571
1577
|
}
|
|
1572
1578
|
],
|
|
1573
1579
|
"responses": {
|
|
@@ -1776,6 +1782,9 @@
|
|
|
1776
1782
|
"Entities"
|
|
1777
1783
|
],
|
|
1778
1784
|
"parameters": [
|
|
1785
|
+
{
|
|
1786
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
1787
|
+
},
|
|
1779
1788
|
{
|
|
1780
1789
|
"name": "input",
|
|
1781
1790
|
"in": "query",
|
|
@@ -1944,6 +1953,9 @@
|
|
|
1944
1953
|
"Activity"
|
|
1945
1954
|
],
|
|
1946
1955
|
"parameters": [
|
|
1956
|
+
{
|
|
1957
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
1958
|
+
},
|
|
1947
1959
|
{
|
|
1948
1960
|
"$ref": "#/components/parameters/ActivityIdPathParam"
|
|
1949
1961
|
},
|
|
@@ -2140,6 +2152,9 @@
|
|
|
2140
2152
|
"Entities"
|
|
2141
2153
|
],
|
|
2142
2154
|
"parameters": [
|
|
2155
|
+
{
|
|
2156
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
2157
|
+
},
|
|
2143
2158
|
{
|
|
2144
2159
|
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
2145
2160
|
},
|
|
@@ -2173,6 +2188,9 @@
|
|
|
2173
2188
|
"Activity"
|
|
2174
2189
|
],
|
|
2175
2190
|
"parameters": [
|
|
2191
|
+
{
|
|
2192
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
2193
|
+
},
|
|
2176
2194
|
{
|
|
2177
2195
|
"$ref": "#/components/parameters/EntitySlugPathParam"
|
|
2178
2196
|
},
|
|
@@ -2325,6 +2343,9 @@
|
|
|
2325
2343
|
{
|
|
2326
2344
|
"$ref": "#/components/parameters/HydrateEntitiesQueryParam"
|
|
2327
2345
|
},
|
|
2346
|
+
{
|
|
2347
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
2348
|
+
},
|
|
2328
2349
|
{
|
|
2329
2350
|
"$ref": "#/components/parameters/IncludeReverseQueryParam"
|
|
2330
2351
|
},
|
|
@@ -2551,6 +2572,9 @@
|
|
|
2551
2572
|
{
|
|
2552
2573
|
"$ref": "#/components/parameters/HydrateEntitiesQueryParam"
|
|
2553
2574
|
},
|
|
2575
|
+
{
|
|
2576
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
2577
|
+
},
|
|
2554
2578
|
{
|
|
2555
2579
|
"in": "query",
|
|
2556
2580
|
"name": "query",
|
|
@@ -2620,6 +2644,9 @@
|
|
|
2620
2644
|
{
|
|
2621
2645
|
"$ref": "#/components/parameters/HydrateEntitiesQueryParam"
|
|
2622
2646
|
},
|
|
2647
|
+
{
|
|
2648
|
+
"$ref": "#/components/parameters/AnonymizeQueryParam"
|
|
2649
|
+
},
|
|
2623
2650
|
{
|
|
2624
2651
|
"$ref": "#/components/parameters/IncludeReverseDeprecatedQueryParam"
|
|
2625
2652
|
},
|
|
@@ -2940,6 +2967,69 @@
|
|
|
2940
2967
|
}
|
|
2941
2968
|
}
|
|
2942
2969
|
},
|
|
2970
|
+
"/v1/entity:abortImport": {
|
|
2971
|
+
"post": {
|
|
2972
|
+
"operationId": "abortEntityImport",
|
|
2973
|
+
"summary": "Abort a running entity import",
|
|
2974
|
+
"description": "Asks a running import to stop. Rows already imported are **kept** - this is a stop, not a\nrollback - and the job still produces its result reports for everything that landed before\nthe stop, then reaches the terminal status `CANCELLED`.\n\nThe stop is cooperative: the worker notices the request at its next batch boundary, so the\njob typically reaches `CANCELLED` within seconds. Poll `POST /v1/entity:import` with the\n`job_id` as usual to observe it.\n\nIdempotent - aborting an already-aborted or already-finished job is not an error.\n",
|
|
2975
|
+
"tags": [
|
|
2976
|
+
"Import-Export"
|
|
2977
|
+
],
|
|
2978
|
+
"parameters": [
|
|
2979
|
+
{
|
|
2980
|
+
"in": "query",
|
|
2981
|
+
"name": "job_id",
|
|
2982
|
+
"required": true,
|
|
2983
|
+
"description": "The ID of the import job to stop.",
|
|
2984
|
+
"schema": {
|
|
2985
|
+
"$ref": "#/components/schemas/ExportJobId"
|
|
2986
|
+
}
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"in": "query",
|
|
2990
|
+
"name": "schema",
|
|
2991
|
+
"required": true,
|
|
2992
|
+
"description": "Slug of the schema being imported, used to authorize the caller.",
|
|
2993
|
+
"schema": {
|
|
2994
|
+
"type": "string"
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
],
|
|
2998
|
+
"responses": {
|
|
2999
|
+
"202": {
|
|
3000
|
+
"description": "The stop was requested. The job is still running until the worker picks the request up.\n",
|
|
3001
|
+
"content": {
|
|
3002
|
+
"application/json": {
|
|
3003
|
+
"schema": {
|
|
3004
|
+
"type": "object",
|
|
3005
|
+
"properties": {
|
|
3006
|
+
"status": {
|
|
3007
|
+
"type": "string",
|
|
3008
|
+
"description": "The job status at the time of the request."
|
|
3009
|
+
},
|
|
3010
|
+
"jobPollId": {
|
|
3011
|
+
"type": "string"
|
|
3012
|
+
}
|
|
3013
|
+
}
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
},
|
|
3018
|
+
"400": {
|
|
3019
|
+
"description": "Bad Request"
|
|
3020
|
+
},
|
|
3021
|
+
"403": {
|
|
3022
|
+
"description": "Forbidden"
|
|
3023
|
+
},
|
|
3024
|
+
"404": {
|
|
3025
|
+
"description": "No such import job"
|
|
3026
|
+
},
|
|
3027
|
+
"429": {
|
|
3028
|
+
"$ref": "#/components/responses/TooManyRequestsError"
|
|
3029
|
+
}
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
},
|
|
2943
3033
|
"/v1/entity/views": {
|
|
2944
3034
|
"get": {
|
|
2945
3035
|
"operationId": "listSavedViews",
|
|
@@ -2990,6 +3080,15 @@
|
|
|
2990
3080
|
"maximum": 250
|
|
2991
3081
|
}
|
|
2992
3082
|
},
|
|
3083
|
+
{
|
|
3084
|
+
"in": "query",
|
|
3085
|
+
"name": "q",
|
|
3086
|
+
"description": "Free-text search on the saved view name (case-insensitive)",
|
|
3087
|
+
"required": false,
|
|
3088
|
+
"schema": {
|
|
3089
|
+
"type": "string"
|
|
3090
|
+
}
|
|
3091
|
+
},
|
|
2993
3092
|
{
|
|
2994
3093
|
"in": "query",
|
|
2995
3094
|
"name": "fields",
|
|
@@ -3158,7 +3257,10 @@
|
|
|
3158
3257
|
],
|
|
3159
3258
|
"responses": {
|
|
3160
3259
|
"200": {
|
|
3161
|
-
"description": "
|
|
3260
|
+
"description": "The saved view was deleted"
|
|
3261
|
+
},
|
|
3262
|
+
"404": {
|
|
3263
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
3162
3264
|
},
|
|
3163
3265
|
"429": {
|
|
3164
3266
|
"$ref": "#/components/responses/TooManyRequestsError"
|
|
@@ -3845,7 +3947,7 @@
|
|
|
3845
3947
|
"description": "ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).",
|
|
3846
3948
|
"type": "string",
|
|
3847
3949
|
"format": "date-time",
|
|
3848
|
-
"example": "2023-01-01T00:00:
|
|
3950
|
+
"example": "2023-01-01T00:00:00.000Z"
|
|
3849
3951
|
}
|
|
3850
3952
|
},
|
|
3851
3953
|
{
|
|
@@ -4967,6 +5069,34 @@
|
|
|
4967
5069
|
"example": true
|
|
4968
5070
|
}
|
|
4969
5071
|
}
|
|
5072
|
+
},
|
|
5073
|
+
"grid_layout": {
|
|
5074
|
+
"type": "object",
|
|
5075
|
+
"description": "Widget-grid layout for the entity-details page (builder-authored); columns/cells drive the grid geometry.",
|
|
5076
|
+
"properties": {
|
|
5077
|
+
"id": {
|
|
5078
|
+
"type": "string",
|
|
5079
|
+
"description": "Identifier of the chosen grid-layout preset."
|
|
5080
|
+
},
|
|
5081
|
+
"columns": {
|
|
5082
|
+
"type": "number",
|
|
5083
|
+
"description": "Number of columns in the widget grid."
|
|
5084
|
+
},
|
|
5085
|
+
"cells": {
|
|
5086
|
+
"type": "array",
|
|
5087
|
+
"description": "Per-cell column span, positionally paired with the widgets in order.",
|
|
5088
|
+
"items": {
|
|
5089
|
+
"type": "number"
|
|
5090
|
+
}
|
|
5091
|
+
}
|
|
5092
|
+
}
|
|
5093
|
+
},
|
|
5094
|
+
"widget_order": {
|
|
5095
|
+
"type": "array",
|
|
5096
|
+
"description": "Ordered list of widget ids controlling the entity-details widget-grid order. Each id is a capability widget's `component` (or `summary` for the synthesized summary card); widgets absent from the list keep their natural order at the end.",
|
|
5097
|
+
"items": {
|
|
5098
|
+
"type": "string"
|
|
5099
|
+
}
|
|
4970
5100
|
}
|
|
4971
5101
|
}
|
|
4972
5102
|
},
|
|
@@ -5094,6 +5224,14 @@
|
|
|
5094
5224
|
"items": {
|
|
5095
5225
|
"$ref": "#/components/schemas/GroupHeadline"
|
|
5096
5226
|
}
|
|
5227
|
+
},
|
|
5228
|
+
"conditions": {
|
|
5229
|
+
"type": "array",
|
|
5230
|
+
"nullable": true,
|
|
5231
|
+
"description": "Dimensions that conditional variants of this entity type are keyed by.\n\nAbsent or `null` means entities of this type are not conditional. Attributes whose\nvalues a variant may override are marked with `variant_overridable`.\n",
|
|
5232
|
+
"items": {
|
|
5233
|
+
"$ref": "#/components/schemas/ConditionDefinition"
|
|
5234
|
+
}
|
|
5097
5235
|
}
|
|
5098
5236
|
},
|
|
5099
5237
|
"required": [
|
|
@@ -5523,6 +5661,11 @@
|
|
|
5523
5661
|
"type": "boolean",
|
|
5524
5662
|
"default": false
|
|
5525
5663
|
},
|
|
5664
|
+
"variant_overridable": {
|
|
5665
|
+
"type": "boolean",
|
|
5666
|
+
"default": false,
|
|
5667
|
+
"description": "Allow conditional variants of the entity to override this attribute's value.\nOnly meaningful on schemas that declare `conditions`. Unflagged attributes stay\nfixed on the base entity.\n"
|
|
5668
|
+
},
|
|
5526
5669
|
"default_value": {},
|
|
5527
5670
|
"group": {
|
|
5528
5671
|
"description": "Which group the attribute should appear in. Accepts group ID or group name",
|
|
@@ -5549,6 +5692,14 @@
|
|
|
5549
5692
|
"type": "string",
|
|
5550
5693
|
"description": "Defines the conditional rendering expression for showing this field.\nWhen a valid expression is parsed, their evaluation defines the visibility of this attribute.\nNote: Empty or invalid expression have no effect on the field visibility.\n"
|
|
5551
5694
|
},
|
|
5695
|
+
"data_classification": {
|
|
5696
|
+
"type": "string",
|
|
5697
|
+
"enum": [
|
|
5698
|
+
"public",
|
|
5699
|
+
"pii"
|
|
5700
|
+
],
|
|
5701
|
+
"description": "Data classification of the attribute, used by anonymized responses (`?anonymize=true` or tokens minted with `anonymize: true`).\n\n- `pii`: the attribute value is always anonymized in anonymized responses (use to opt in free-text fields containing personal data)\n- `public`: the attribute value is never anonymized (use to opt out fields matched by built-in defaults, e.g. non-personal identifiers)\n\nWhen unset, built-in defaults apply based on the attribute type (email, phone, address, payment) and a curated list of well-known PII fields.\n"
|
|
5702
|
+
},
|
|
5552
5703
|
"_purpose": {
|
|
5553
5704
|
"type": "array",
|
|
5554
5705
|
"items": {
|
|
@@ -7115,6 +7266,139 @@
|
|
|
7115
7266
|
}
|
|
7116
7267
|
]
|
|
7117
7268
|
},
|
|
7269
|
+
"BaseConditionDefinition": {
|
|
7270
|
+
"type": "object",
|
|
7271
|
+
"properties": {
|
|
7272
|
+
"id": {
|
|
7273
|
+
"type": "string",
|
|
7274
|
+
"format": "uuid",
|
|
7275
|
+
"description": "Stable identity of the condition, generated by the client when the condition is\ncreated. It is what makes a rename distinguishable from a remove + add, so it must\nbe round-tripped unchanged for the lifetime of the condition.\n",
|
|
7276
|
+
"example": "d5839b94-ba20-4225-a78e-76951d352bd6"
|
|
7277
|
+
},
|
|
7278
|
+
"name": {
|
|
7279
|
+
"type": "string",
|
|
7280
|
+
"pattern": "^[a-z0-9_]+$",
|
|
7281
|
+
"description": "The key variant values are stored under. Unique within the schema and immutable\nonce the condition has been saved.\n",
|
|
7282
|
+
"example": "delivery_area"
|
|
7283
|
+
},
|
|
7284
|
+
"label": {
|
|
7285
|
+
"type": "string",
|
|
7286
|
+
"description": "Display label. Always editable.",
|
|
7287
|
+
"example": "Delivery Area"
|
|
7288
|
+
}
|
|
7289
|
+
},
|
|
7290
|
+
"required": [
|
|
7291
|
+
"id",
|
|
7292
|
+
"name",
|
|
7293
|
+
"label"
|
|
7294
|
+
]
|
|
7295
|
+
},
|
|
7296
|
+
"ScalarConditionDefinition": {
|
|
7297
|
+
"allOf": [
|
|
7298
|
+
{
|
|
7299
|
+
"$ref": "#/components/schemas/BaseConditionDefinition"
|
|
7300
|
+
},
|
|
7301
|
+
{
|
|
7302
|
+
"type": "object",
|
|
7303
|
+
"description": "A condition whose value is a plain scalar, with no further configuration.",
|
|
7304
|
+
"properties": {
|
|
7305
|
+
"type": {
|
|
7306
|
+
"type": "string",
|
|
7307
|
+
"description": "Immutable once the condition has been saved.",
|
|
7308
|
+
"enum": [
|
|
7309
|
+
"string",
|
|
7310
|
+
"number",
|
|
7311
|
+
"date",
|
|
7312
|
+
"daterange",
|
|
7313
|
+
"boolean"
|
|
7314
|
+
]
|
|
7315
|
+
}
|
|
7316
|
+
},
|
|
7317
|
+
"required": [
|
|
7318
|
+
"type"
|
|
7319
|
+
]
|
|
7320
|
+
}
|
|
7321
|
+
]
|
|
7322
|
+
},
|
|
7323
|
+
"SelectConditionDefinition": {
|
|
7324
|
+
"allOf": [
|
|
7325
|
+
{
|
|
7326
|
+
"$ref": "#/components/schemas/BaseConditionDefinition"
|
|
7327
|
+
},
|
|
7328
|
+
{
|
|
7329
|
+
"type": "object",
|
|
7330
|
+
"description": "A condition whose value is one of a fixed set of options.",
|
|
7331
|
+
"properties": {
|
|
7332
|
+
"type": {
|
|
7333
|
+
"type": "string",
|
|
7334
|
+
"description": "Immutable once the condition has been saved.",
|
|
7335
|
+
"enum": [
|
|
7336
|
+
"select"
|
|
7337
|
+
]
|
|
7338
|
+
},
|
|
7339
|
+
"values": {
|
|
7340
|
+
"type": "array",
|
|
7341
|
+
"description": "Selectable options. May be empty while the condition is being configured.",
|
|
7342
|
+
"items": {
|
|
7343
|
+
"type": "string"
|
|
7344
|
+
},
|
|
7345
|
+
"example": [
|
|
7346
|
+
"12_months",
|
|
7347
|
+
"24_months"
|
|
7348
|
+
]
|
|
7349
|
+
}
|
|
7350
|
+
},
|
|
7351
|
+
"required": [
|
|
7352
|
+
"type"
|
|
7353
|
+
]
|
|
7354
|
+
}
|
|
7355
|
+
]
|
|
7356
|
+
},
|
|
7357
|
+
"LocationConditionDefinition": {
|
|
7358
|
+
"allOf": [
|
|
7359
|
+
{
|
|
7360
|
+
"$ref": "#/components/schemas/BaseConditionDefinition"
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7363
|
+
"type": "object",
|
|
7364
|
+
"description": "A condition whose value identifies a place.",
|
|
7365
|
+
"properties": {
|
|
7366
|
+
"type": {
|
|
7367
|
+
"type": "string",
|
|
7368
|
+
"description": "Immutable once the condition has been saved.",
|
|
7369
|
+
"enum": [
|
|
7370
|
+
"location"
|
|
7371
|
+
]
|
|
7372
|
+
},
|
|
7373
|
+
"format": {
|
|
7374
|
+
"type": "string",
|
|
7375
|
+
"description": "The shape of the location value. Immutable once the condition has been saved.",
|
|
7376
|
+
"enum": [
|
|
7377
|
+
"zipcode",
|
|
7378
|
+
"zipcode_town"
|
|
7379
|
+
]
|
|
7380
|
+
}
|
|
7381
|
+
},
|
|
7382
|
+
"required": [
|
|
7383
|
+
"type"
|
|
7384
|
+
]
|
|
7385
|
+
}
|
|
7386
|
+
]
|
|
7387
|
+
},
|
|
7388
|
+
"ConditionDefinition": {
|
|
7389
|
+
"description": "One dimension that conditional variants of an entity type are keyed by. `type`\ndiscriminates the variants: only a `select` condition carries `values`, and only a\n`location` condition carries `format`.\n",
|
|
7390
|
+
"oneOf": [
|
|
7391
|
+
{
|
|
7392
|
+
"$ref": "#/components/schemas/ScalarConditionDefinition"
|
|
7393
|
+
},
|
|
7394
|
+
{
|
|
7395
|
+
"$ref": "#/components/schemas/SelectConditionDefinition"
|
|
7396
|
+
},
|
|
7397
|
+
{
|
|
7398
|
+
"$ref": "#/components/schemas/LocationConditionDefinition"
|
|
7399
|
+
}
|
|
7400
|
+
]
|
|
7401
|
+
},
|
|
7118
7402
|
"EntitySlug": {
|
|
7119
7403
|
"description": "URL-friendly identifier for the entity schema",
|
|
7120
7404
|
"type": "string",
|
|
@@ -8090,6 +8374,7 @@
|
|
|
8090
8374
|
"from": {},
|
|
8091
8375
|
"size": {},
|
|
8092
8376
|
"hydrate": {},
|
|
8377
|
+
"anonymize": {},
|
|
8093
8378
|
"fields": {},
|
|
8094
8379
|
"aggs": {},
|
|
8095
8380
|
"include_deleted": {},
|
|
@@ -8174,6 +8459,7 @@
|
|
|
8174
8459
|
"from": {},
|
|
8175
8460
|
"size": {},
|
|
8176
8461
|
"hydrate": {},
|
|
8462
|
+
"anonymize": {},
|
|
8177
8463
|
"fields": {},
|
|
8178
8464
|
"aggs": {},
|
|
8179
8465
|
"include_deleted": {},
|
|
@@ -8398,6 +8684,11 @@
|
|
|
8398
8684
|
"description": "When true, enables entity hydration to resolve nested $relation & $relation_ref references in-place.",
|
|
8399
8685
|
"default": false
|
|
8400
8686
|
},
|
|
8687
|
+
"anonymize": {
|
|
8688
|
+
"type": "boolean",
|
|
8689
|
+
"description": "When true, anonymizes PII in the response: identifiers are replaced with deterministic pseudonyms,\naddresses are generalized and well-known free-text fields are redacted.\nAnonymization is forced (regardless of this parameter) when the access token was created with `anonymize: true`.\n",
|
|
8690
|
+
"default": false
|
|
8691
|
+
},
|
|
8401
8692
|
"fields": {
|
|
8402
8693
|
"$ref": "#/components/schemas/FieldsParam"
|
|
8403
8694
|
},
|
|
@@ -9030,6 +9321,9 @@
|
|
|
9030
9321
|
}
|
|
9031
9322
|
}
|
|
9032
9323
|
},
|
|
9324
|
+
"source_context": {
|
|
9325
|
+
"$ref": "#/components/schemas/EntityOperationSourceContext"
|
|
9326
|
+
},
|
|
9033
9327
|
"_workflow_origin": {
|
|
9034
9328
|
"type": "object",
|
|
9035
9329
|
"description": "Internal property for workflow origin tracking and infinite loop prevention.\nPopulated when an entity update originates from a workflow execution.\nThis allows downstream automation services to prevent circular triggering.\n",
|
|
@@ -9043,6 +9337,13 @@
|
|
|
9043
9337
|
"description": "The flow template ID - used to detect and prevent circular triggering"
|
|
9044
9338
|
}
|
|
9045
9339
|
}
|
|
9340
|
+
},
|
|
9341
|
+
"_automation_chain": {
|
|
9342
|
+
"type": "array",
|
|
9343
|
+
"description": "Ordered automation flow ids that caused this change; used to break multi-automation trigger loops.",
|
|
9344
|
+
"items": {
|
|
9345
|
+
"type": "string"
|
|
9346
|
+
}
|
|
9046
9347
|
}
|
|
9047
9348
|
},
|
|
9048
9349
|
"required": [
|
|
@@ -9051,6 +9352,59 @@
|
|
|
9051
9352
|
"operation"
|
|
9052
9353
|
]
|
|
9053
9354
|
},
|
|
9355
|
+
"EntityOperationSourceContext": {
|
|
9356
|
+
"type": "object",
|
|
9357
|
+
"description": "Billing and audit source context for the operation event.",
|
|
9358
|
+
"properties": {
|
|
9359
|
+
"source": {
|
|
9360
|
+
"type": "string",
|
|
9361
|
+
"description": "Normalized source bucket for the operation.",
|
|
9362
|
+
"enum": [
|
|
9363
|
+
"portal",
|
|
9364
|
+
"epilot",
|
|
9365
|
+
"erp",
|
|
9366
|
+
"system",
|
|
9367
|
+
"api",
|
|
9368
|
+
"external",
|
|
9369
|
+
"journey",
|
|
9370
|
+
"automation",
|
|
9371
|
+
"unknown"
|
|
9372
|
+
]
|
|
9373
|
+
},
|
|
9374
|
+
"source_label": {
|
|
9375
|
+
"type": "string",
|
|
9376
|
+
"description": "Original free-form source label from the caller or changeset, when available."
|
|
9377
|
+
},
|
|
9378
|
+
"source_system": {
|
|
9379
|
+
"type": "string",
|
|
9380
|
+
"description": "Optional upstream system label, for example an ERP system name."
|
|
9381
|
+
},
|
|
9382
|
+
"source_reference": {
|
|
9383
|
+
"type": "string",
|
|
9384
|
+
"description": "Optional upstream change reference."
|
|
9385
|
+
},
|
|
9386
|
+
"actor_type": {
|
|
9387
|
+
"type": "string",
|
|
9388
|
+
"enum": [
|
|
9389
|
+
"user",
|
|
9390
|
+
"portal_user",
|
|
9391
|
+
"api_client",
|
|
9392
|
+
"automation",
|
|
9393
|
+
"system"
|
|
9394
|
+
]
|
|
9395
|
+
},
|
|
9396
|
+
"actor_id": {
|
|
9397
|
+
"type": "string"
|
|
9398
|
+
},
|
|
9399
|
+
"effective_at": {
|
|
9400
|
+
"type": "string",
|
|
9401
|
+
"format": "date-time"
|
|
9402
|
+
}
|
|
9403
|
+
},
|
|
9404
|
+
"required": [
|
|
9405
|
+
"source"
|
|
9406
|
+
]
|
|
9407
|
+
},
|
|
9054
9408
|
"BaseActivityItem": {
|
|
9055
9409
|
"allOf": [
|
|
9056
9410
|
{
|
|
@@ -9192,6 +9546,11 @@
|
|
|
9192
9546
|
"user_id": {
|
|
9193
9547
|
"type": "string",
|
|
9194
9548
|
"example": "10598"
|
|
9549
|
+
},
|
|
9550
|
+
"org_id": {
|
|
9551
|
+
"type": "string",
|
|
9552
|
+
"description": "The organization ID of the user who created the view. Used for partner access control.",
|
|
9553
|
+
"example": "739224"
|
|
9195
9554
|
}
|
|
9196
9555
|
}
|
|
9197
9556
|
},
|
|
@@ -9372,7 +9731,8 @@
|
|
|
9372
9731
|
"message",
|
|
9373
9732
|
"portal_user",
|
|
9374
9733
|
"request",
|
|
9375
|
-
"comment"
|
|
9734
|
+
"comment",
|
|
9735
|
+
"user"
|
|
9376
9736
|
]
|
|
9377
9737
|
},
|
|
9378
9738
|
"TaxonomySearchIncludeArchivedParam": {
|
|
@@ -10052,6 +10412,16 @@
|
|
|
10052
10412
|
}
|
|
10053
10413
|
},
|
|
10054
10414
|
"parameters": {
|
|
10415
|
+
"AnonymizeQueryParam": {
|
|
10416
|
+
"name": "anonymize",
|
|
10417
|
+
"description": "When true, anonymizes PII in the response: identifiers (names, emails, phone numbers, IBANs) are replaced\nwith deterministic pseudonyms (stable within an org), addresses are generalized to postal code / city / country,\nand well-known free-text fields (e.g. note content) are redacted.\n\nUseful for AI agents and data analysis use cases that must not access personal data.\n\nAnonymization is forced (regardless of this parameter) when the access token was created with `anonymize: true`.\n",
|
|
10418
|
+
"in": "query",
|
|
10419
|
+
"required": false,
|
|
10420
|
+
"schema": {
|
|
10421
|
+
"type": "boolean",
|
|
10422
|
+
"default": false
|
|
10423
|
+
}
|
|
10424
|
+
},
|
|
10055
10425
|
"EntityIdPathParam": {
|
|
10056
10426
|
"name": "id",
|
|
10057
10427
|
"description": "Entity id",
|
package/dist/bin/epilot.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
API_LIST
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-5D7GCYYX.js";
|
|
5
5
|
|
|
6
6
|
// bin/epilot.ts
|
|
7
7
|
import { runMain } from "citty";
|
|
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
|
|
|
11
11
|
var main = defineCommand({
|
|
12
12
|
meta: {
|
|
13
13
|
name: "epilot",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.82",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -30,8 +30,8 @@ var main = defineCommand({
|
|
|
30
30
|
auth: () => import("../auth-4HG7B2GC.js").then((m) => m.default),
|
|
31
31
|
profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
|
|
32
32
|
config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
|
|
33
|
-
completion: () => import("../completion-
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
33
|
+
completion: () => import("../completion-N6A4VCAE.js").then((m) => m.default),
|
|
34
|
+
upgrade: () => import("../upgrade-YBOBA2V7.js").then((m) => m.default),
|
|
35
35
|
"access-token": () => import("../access-token-WWE6BDJH.js").then((m) => m.default),
|
|
36
36
|
address: () => import("../address-EH3C4CVB.js").then((m) => m.default),
|
|
37
37
|
"address-suggestions": () => import("../address-suggestions-RRSLOBFW.js").then((m) => m.default),
|
|
@@ -134,13 +134,13 @@ process.stderr.on("error", (err) => {
|
|
|
134
134
|
if (err.code === "EPIPE") process.exit(0);
|
|
135
135
|
throw err;
|
|
136
136
|
});
|
|
137
|
-
var VERSION = true ? "0.1.
|
|
137
|
+
var VERSION = true ? "0.1.82" : (await null).default.version;
|
|
138
138
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
139
139
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
140
140
|
var args = process.argv.slice(2);
|
|
141
141
|
var completionsIdx = args.indexOf("--_completions");
|
|
142
142
|
if (completionsIdx >= 0) {
|
|
143
|
-
const { handleCompletions } = await import("../completion-
|
|
143
|
+
const { handleCompletions } = await import("../completion-N6A4VCAE.js");
|
|
144
144
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
145
145
|
process.exit(0);
|
|
146
146
|
}
|
|
@@ -169,7 +169,7 @@ var API_LIST = [
|
|
|
169
169
|
kebabName: "blueprint-manifest",
|
|
170
170
|
title: "Blueprint Manifest API",
|
|
171
171
|
serverUrl: "https://blueprint-manifest.sls.epilot.io",
|
|
172
|
-
operationCount:
|
|
172
|
+
operationCount: 71,
|
|
173
173
|
operationIds: [
|
|
174
174
|
"getJob",
|
|
175
175
|
"createExport",
|
|
@@ -190,6 +190,8 @@ var API_LIST = [
|
|
|
190
190
|
"getBlueprint",
|
|
191
191
|
"updateBlueprint",
|
|
192
192
|
"deleteBlueprint",
|
|
193
|
+
"addBlueprintNote",
|
|
194
|
+
"deleteBlueprintNote",
|
|
193
195
|
"validateBlueprint",
|
|
194
196
|
"verifyBlueprint",
|
|
195
197
|
"detectPatchChanges",
|
|
@@ -225,9 +227,12 @@ var API_LIST = [
|
|
|
225
227
|
"updateMarketplaceListingVersion",
|
|
226
228
|
"publishMarketplaceListingVersion",
|
|
227
229
|
"publishBlueprintV3",
|
|
230
|
+
"preInstallBlueprintV3",
|
|
228
231
|
"installBlueprintV3",
|
|
229
232
|
"restoreBlueprintDeploymentV3",
|
|
230
233
|
"getRestorePreview",
|
|
234
|
+
"triggerDeploymentHealthCheckV3",
|
|
235
|
+
"getDeploymentHealthReportV3",
|
|
231
236
|
"getBlueprintLineageV3",
|
|
232
237
|
"createBulkInstallV3",
|
|
233
238
|
"getBulkInstallV3",
|
|
@@ -595,7 +600,7 @@ var API_LIST = [
|
|
|
595
600
|
kebabName: "entity",
|
|
596
601
|
title: "Entity API",
|
|
597
602
|
serverUrl: "https://entity.sls.epilot.io",
|
|
598
|
-
operationCount:
|
|
603
|
+
operationCount: 88,
|
|
599
604
|
operationIds: [
|
|
600
605
|
"listSchemas",
|
|
601
606
|
"listSchemasV2",
|
|
@@ -642,6 +647,7 @@ var API_LIST = [
|
|
|
642
647
|
"deleteRelation",
|
|
643
648
|
"exportEntities",
|
|
644
649
|
"importEntities",
|
|
650
|
+
"abortEntityImport",
|
|
645
651
|
"listSavedViews",
|
|
646
652
|
"createSavedView",
|
|
647
653
|
"getSavedView",
|
|
@@ -72,7 +72,7 @@ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
var getCurrentVersion = () => {
|
|
75
|
-
if (true) return "0.1.
|
|
75
|
+
if (true) return "0.1.82";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|