@epilot/cli 0.1.25 → 0.1.26
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/app.json +14 -390
- package/definitions/automation.json +0 -42
- package/definitions/configuration-hub.json +7 -134
- package/definitions/customer-portal.json +12 -271
- package/definitions/entity.json +4 -391
- package/definitions/kanban.json +1 -2
- package/definitions/notes.json +130 -175
- package/definitions/pricing.json +84 -163
- package/definitions/workflow-definition.json +0 -52
- package/definitions/workflow.json +0 -24
- package/dist/bin/epilot.js +6 -6
- package/dist/{chunk-SGI6WZ57.js → chunk-QSYX2PUB.js} +6 -19
- package/dist/{completion-W6JFZKZI.js → completion-AZYWK6IZ.js} +1 -1
- package/dist/{upgrade-EZO5QXKC.js → upgrade-O5G6HRVY.js} +1 -1
- package/package.json +1 -1
package/definitions/pricing.json
CHANGED
|
@@ -2036,6 +2036,7 @@
|
|
|
2036
2036
|
"unit_amount_gross_decimal": "25",
|
|
2037
2037
|
"unit_amount_net": 25,
|
|
2038
2038
|
"unit_amount_net_decimal": "25",
|
|
2039
|
+
"billing_period": null,
|
|
2039
2040
|
"type": "one_time",
|
|
2040
2041
|
"taxes": [],
|
|
2041
2042
|
"pricing_model": "per_unit",
|
|
@@ -2108,22 +2109,20 @@
|
|
|
2108
2109
|
"amount_subtotal_decimal": "25",
|
|
2109
2110
|
"amount_subtotal": 2500,
|
|
2110
2111
|
"unit_amount": 25,
|
|
2111
|
-
"unit_amount_gross":
|
|
2112
|
+
"unit_amount_gross": 29.75,
|
|
2112
2113
|
"unit_amount_gross_decimal": "29.75",
|
|
2113
2114
|
"unit_amount_net": 25,
|
|
2114
2115
|
"unit_amount_net_decimal": "25",
|
|
2116
|
+
"billing_period": null,
|
|
2115
2117
|
"type": "one_time",
|
|
2116
2118
|
"taxes": [
|
|
2117
2119
|
{
|
|
2118
2120
|
"tax": {
|
|
2119
|
-
"_id": "
|
|
2120
|
-
"
|
|
2121
|
-
"_org": "728",
|
|
2122
|
-
"_schema": "tax",
|
|
2123
|
-
"_created_at": "2024-01-01T00:00:00.000Z",
|
|
2124
|
-
"_updated_at": "2024-01-01T00:00:00.000Z",
|
|
2121
|
+
"_id": "tax-vat-19",
|
|
2122
|
+
"name": "VAT",
|
|
2125
2123
|
"type": "VAT",
|
|
2126
|
-
"rate": 19
|
|
2124
|
+
"rate": 19,
|
|
2125
|
+
"region": "DE"
|
|
2127
2126
|
},
|
|
2128
2127
|
"amount": 475
|
|
2129
2128
|
}
|
|
@@ -2141,16 +2140,15 @@
|
|
|
2141
2140
|
"is_composite_price": false,
|
|
2142
2141
|
"pricing_model": "per_unit",
|
|
2143
2142
|
"price_display_in_journeys": "show_price",
|
|
2144
|
-
"tax":
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
}
|
|
2143
|
+
"tax": [
|
|
2144
|
+
{
|
|
2145
|
+
"_id": "tax-vat-19",
|
|
2146
|
+
"name": "VAT",
|
|
2147
|
+
"type": "VAT",
|
|
2148
|
+
"rate": 19,
|
|
2149
|
+
"region": "DE"
|
|
2150
|
+
}
|
|
2151
|
+
]
|
|
2154
2152
|
},
|
|
2155
2153
|
"_product": {
|
|
2156
2154
|
"_id": "product-93f857a4",
|
|
@@ -2170,14 +2168,11 @@
|
|
|
2170
2168
|
"taxes": [
|
|
2171
2169
|
{
|
|
2172
2170
|
"tax": {
|
|
2173
|
-
"_id": "
|
|
2174
|
-
"
|
|
2175
|
-
"_org": "728",
|
|
2176
|
-
"_schema": "tax",
|
|
2177
|
-
"_created_at": "2024-01-01T00:00:00.000Z",
|
|
2178
|
-
"_updated_at": "2024-01-01T00:00:00.000Z",
|
|
2171
|
+
"_id": "tax-vat-19",
|
|
2172
|
+
"name": "VAT",
|
|
2179
2173
|
"type": "VAT",
|
|
2180
|
-
"rate": 19
|
|
2174
|
+
"rate": 19,
|
|
2175
|
+
"region": "DE"
|
|
2181
2176
|
},
|
|
2182
2177
|
"amount": 475
|
|
2183
2178
|
}
|
|
@@ -2727,17 +2722,6 @@
|
|
|
2727
2722
|
"tags": [
|
|
2728
2723
|
"External Catalog API"
|
|
2729
2724
|
],
|
|
2730
|
-
"parameters": [
|
|
2731
|
-
{
|
|
2732
|
-
"in": "header",
|
|
2733
|
-
"name": "x-epilot-org-id",
|
|
2734
|
-
"schema": {
|
|
2735
|
-
"type": "string"
|
|
2736
|
-
},
|
|
2737
|
-
"required": false,
|
|
2738
|
-
"description": "Organization ID (required when not using EpilotPublicAuth token)"
|
|
2739
|
-
}
|
|
2740
|
-
],
|
|
2741
2725
|
"requestBody": {
|
|
2742
2726
|
"required": true,
|
|
2743
2727
|
"content": {
|
|
@@ -2888,17 +2872,6 @@
|
|
|
2888
2872
|
"tags": [
|
|
2889
2873
|
"External Catalog API"
|
|
2890
2874
|
],
|
|
2891
|
-
"parameters": [
|
|
2892
|
-
{
|
|
2893
|
-
"in": "header",
|
|
2894
|
-
"name": "x-epilot-org-id",
|
|
2895
|
-
"schema": {
|
|
2896
|
-
"type": "string"
|
|
2897
|
-
},
|
|
2898
|
-
"required": false,
|
|
2899
|
-
"description": "Organization ID (required when not using EpilotPublicAuth token)"
|
|
2900
|
-
}
|
|
2901
|
-
],
|
|
2902
2875
|
"requestBody": {
|
|
2903
2876
|
"required": true,
|
|
2904
2877
|
"content": {
|
|
@@ -3030,6 +3003,7 @@
|
|
|
3030
3003
|
"unit_amount_gross_decimal": "25",
|
|
3031
3004
|
"unit_amount_net": 25,
|
|
3032
3005
|
"unit_amount_net_decimal": "25",
|
|
3006
|
+
"billing_period": null,
|
|
3033
3007
|
"type": "one_time",
|
|
3034
3008
|
"taxes": [],
|
|
3035
3009
|
"pricing_model": "per_unit",
|
|
@@ -3102,22 +3076,20 @@
|
|
|
3102
3076
|
"amount_subtotal_decimal": "25",
|
|
3103
3077
|
"amount_subtotal": 2500,
|
|
3104
3078
|
"unit_amount": 25,
|
|
3105
|
-
"unit_amount_gross":
|
|
3079
|
+
"unit_amount_gross": 29.75,
|
|
3106
3080
|
"unit_amount_gross_decimal": "29.75",
|
|
3107
3081
|
"unit_amount_net": 25,
|
|
3108
3082
|
"unit_amount_net_decimal": "25",
|
|
3083
|
+
"billing_period": null,
|
|
3109
3084
|
"type": "one_time",
|
|
3110
3085
|
"taxes": [
|
|
3111
3086
|
{
|
|
3112
3087
|
"tax": {
|
|
3113
|
-
"_id": "
|
|
3114
|
-
"
|
|
3115
|
-
"_org": "728",
|
|
3116
|
-
"_schema": "tax",
|
|
3117
|
-
"_created_at": "2024-01-01T00:00:00.000Z",
|
|
3118
|
-
"_updated_at": "2024-01-01T00:00:00.000Z",
|
|
3088
|
+
"_id": "tax-vat-19",
|
|
3089
|
+
"name": "VAT",
|
|
3119
3090
|
"type": "VAT",
|
|
3120
|
-
"rate": 19
|
|
3091
|
+
"rate": 19,
|
|
3092
|
+
"region": "DE"
|
|
3121
3093
|
},
|
|
3122
3094
|
"amount": 475
|
|
3123
3095
|
}
|
|
@@ -3135,16 +3107,15 @@
|
|
|
3135
3107
|
"is_composite_price": false,
|
|
3136
3108
|
"pricing_model": "per_unit",
|
|
3137
3109
|
"price_display_in_journeys": "show_price",
|
|
3138
|
-
"tax":
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
}
|
|
3110
|
+
"tax": [
|
|
3111
|
+
{
|
|
3112
|
+
"_id": "tax-vat-19",
|
|
3113
|
+
"name": "VAT",
|
|
3114
|
+
"type": "VAT",
|
|
3115
|
+
"rate": 19,
|
|
3116
|
+
"region": "DE"
|
|
3117
|
+
}
|
|
3118
|
+
]
|
|
3148
3119
|
},
|
|
3149
3120
|
"_product": {
|
|
3150
3121
|
"_id": "product-93f857a4",
|
|
@@ -3164,14 +3135,11 @@
|
|
|
3164
3135
|
"taxes": [
|
|
3165
3136
|
{
|
|
3166
3137
|
"tax": {
|
|
3167
|
-
"_id": "
|
|
3168
|
-
"
|
|
3169
|
-
"_org": "728",
|
|
3170
|
-
"_schema": "tax",
|
|
3171
|
-
"_created_at": "2024-01-01T00:00:00.000Z",
|
|
3172
|
-
"_updated_at": "2024-01-01T00:00:00.000Z",
|
|
3138
|
+
"_id": "tax-vat-19",
|
|
3139
|
+
"name": "VAT",
|
|
3173
3140
|
"type": "VAT",
|
|
3174
|
-
"rate": 19
|
|
3141
|
+
"rate": 19,
|
|
3142
|
+
"region": "DE"
|
|
3175
3143
|
},
|
|
3176
3144
|
"amount": 475
|
|
3177
3145
|
}
|
|
@@ -7582,12 +7550,8 @@
|
|
|
7582
7550
|
},
|
|
7583
7551
|
"CashbackAmount": {
|
|
7584
7552
|
"type": "object",
|
|
7585
|
-
"description": "
|
|
7553
|
+
"description": "An amount associated with a specific cashback period.",
|
|
7586
7554
|
"properties": {
|
|
7587
|
-
"cashback_name": {
|
|
7588
|
-
"type": "string",
|
|
7589
|
-
"description": "The name of the cashback."
|
|
7590
|
-
},
|
|
7591
7555
|
"cashback_period": {
|
|
7592
7556
|
"$ref": "#/components/schemas/CashbackPeriod"
|
|
7593
7557
|
},
|
|
@@ -9148,8 +9112,8 @@
|
|
|
9148
9112
|
"description": "Description of the contract"
|
|
9149
9113
|
},
|
|
9150
9114
|
"billing_account": {
|
|
9151
|
-
"type": "
|
|
9152
|
-
"description": "Billing Account relation"
|
|
9115
|
+
"type": "string",
|
|
9116
|
+
"description": "Billing Account relation ID"
|
|
9153
9117
|
},
|
|
9154
9118
|
"account_number": {
|
|
9155
9119
|
"type": "string",
|
|
@@ -9157,7 +9121,14 @@
|
|
|
9157
9121
|
},
|
|
9158
9122
|
"branch": {
|
|
9159
9123
|
"type": "string",
|
|
9160
|
-
"description": "Branch/commodity type
|
|
9124
|
+
"description": "Branch/commodity type",
|
|
9125
|
+
"enum": [
|
|
9126
|
+
"power",
|
|
9127
|
+
"gas",
|
|
9128
|
+
"water",
|
|
9129
|
+
"waste_water",
|
|
9130
|
+
"district_heating"
|
|
9131
|
+
]
|
|
9161
9132
|
},
|
|
9162
9133
|
"move_in_date": {
|
|
9163
9134
|
"type": "string",
|
|
@@ -9170,15 +9141,12 @@
|
|
|
9170
9141
|
"description": "Move Out Date"
|
|
9171
9142
|
},
|
|
9172
9143
|
"billing_address": {
|
|
9173
|
-
"
|
|
9174
|
-
"
|
|
9144
|
+
"type": "object",
|
|
9145
|
+
"description": "Billing Address"
|
|
9175
9146
|
},
|
|
9176
9147
|
"delivery_address": {
|
|
9177
|
-
"
|
|
9178
|
-
"
|
|
9179
|
-
"items": {
|
|
9180
|
-
"type": "object"
|
|
9181
|
-
}
|
|
9148
|
+
"type": "object",
|
|
9149
|
+
"description": "Delivery Address"
|
|
9182
9150
|
},
|
|
9183
9151
|
"additional_addresses": {
|
|
9184
9152
|
"type": "array",
|
|
@@ -9207,8 +9175,11 @@
|
|
|
9207
9175
|
"description": "End Date"
|
|
9208
9176
|
},
|
|
9209
9177
|
"customer": {
|
|
9210
|
-
"type": "
|
|
9211
|
-
"description": "Customer relation (contact or account)"
|
|
9178
|
+
"type": "array",
|
|
9179
|
+
"description": "Customer relation (contact or account)",
|
|
9180
|
+
"items": {
|
|
9181
|
+
"type": "string"
|
|
9182
|
+
}
|
|
9212
9183
|
},
|
|
9213
9184
|
"order": {
|
|
9214
9185
|
"type": "string",
|
|
@@ -9294,11 +9265,30 @@
|
|
|
9294
9265
|
"description": "Billing Due Day"
|
|
9295
9266
|
},
|
|
9296
9267
|
"installment_amount": {
|
|
9297
|
-
"type": "
|
|
9268
|
+
"type": "object",
|
|
9269
|
+
"description": "Installment Amount",
|
|
9270
|
+
"properties": {
|
|
9271
|
+
"value": {
|
|
9272
|
+
"type": "number"
|
|
9273
|
+
},
|
|
9274
|
+
"currency": {
|
|
9275
|
+
"type": "string",
|
|
9276
|
+
"default": "EUR"
|
|
9277
|
+
}
|
|
9278
|
+
}
|
|
9298
9279
|
},
|
|
9299
9280
|
"balance": {
|
|
9300
|
-
"type": "
|
|
9301
|
-
"description": "Balance"
|
|
9281
|
+
"type": "object",
|
|
9282
|
+
"description": "Balance",
|
|
9283
|
+
"properties": {
|
|
9284
|
+
"value": {
|
|
9285
|
+
"type": "number"
|
|
9286
|
+
},
|
|
9287
|
+
"currency": {
|
|
9288
|
+
"type": "string",
|
|
9289
|
+
"default": "EUR"
|
|
9290
|
+
}
|
|
9291
|
+
}
|
|
9302
9292
|
},
|
|
9303
9293
|
"meters": {
|
|
9304
9294
|
"type": "array",
|
|
@@ -9308,8 +9298,8 @@
|
|
|
9308
9298
|
}
|
|
9309
9299
|
},
|
|
9310
9300
|
"payment": {
|
|
9311
|
-
"type": "
|
|
9312
|
-
"description": "Payment Details relation"
|
|
9301
|
+
"type": "string",
|
|
9302
|
+
"description": "Payment Details relation ID"
|
|
9313
9303
|
},
|
|
9314
9304
|
"last_sync_at": {
|
|
9315
9305
|
"type": "string",
|
|
@@ -9517,65 +9507,6 @@
|
|
|
9517
9507
|
"readOnly": true
|
|
9518
9508
|
}
|
|
9519
9509
|
}
|
|
9520
|
-
},
|
|
9521
|
-
"availability_address": {
|
|
9522
|
-
"type": "object",
|
|
9523
|
-
"description": "Address to use for product availability checks. Include when the catalog should filter products by serviceable area (e.g. postal code coverage).\n",
|
|
9524
|
-
"properties": {
|
|
9525
|
-
"postal_code": {
|
|
9526
|
-
"type": "string",
|
|
9527
|
-
"description": "Postal Code"
|
|
9528
|
-
},
|
|
9529
|
-
"city": {
|
|
9530
|
-
"type": "string",
|
|
9531
|
-
"description": "City"
|
|
9532
|
-
},
|
|
9533
|
-
"street": {
|
|
9534
|
-
"type": "string",
|
|
9535
|
-
"description": "Street"
|
|
9536
|
-
},
|
|
9537
|
-
"street_number": {
|
|
9538
|
-
"type": "string",
|
|
9539
|
-
"description": "Street Number"
|
|
9540
|
-
},
|
|
9541
|
-
"journey_target_block": {
|
|
9542
|
-
"type": "string",
|
|
9543
|
-
"description": "The journey target block of the availability address <step_index>/<block_name>"
|
|
9544
|
-
}
|
|
9545
|
-
}
|
|
9546
|
-
},
|
|
9547
|
-
"variable_inputs": {
|
|
9548
|
-
"type": "array",
|
|
9549
|
-
"description": "Variable inputs (e.g. energy or water consumption) extracted/provided by the portal so the external catalog service can compute amounts for variable prices.\n",
|
|
9550
|
-
"items": {
|
|
9551
|
-
"type": "object",
|
|
9552
|
-
"properties": {
|
|
9553
|
-
"value": {
|
|
9554
|
-
"type": "number",
|
|
9555
|
-
"description": "The value of the variable input"
|
|
9556
|
-
},
|
|
9557
|
-
"unit": {
|
|
9558
|
-
"type": "string",
|
|
9559
|
-
"description": "The unit of the variable input"
|
|
9560
|
-
},
|
|
9561
|
-
"frequency_unit": {
|
|
9562
|
-
"type": "string",
|
|
9563
|
-
"description": "The frequency unit of the variable input",
|
|
9564
|
-
"enum": [
|
|
9565
|
-
"weekly",
|
|
9566
|
-
"monthly",
|
|
9567
|
-
"every_quarter",
|
|
9568
|
-
"every_6_months",
|
|
9569
|
-
"yearly",
|
|
9570
|
-
"one_time"
|
|
9571
|
-
]
|
|
9572
|
-
},
|
|
9573
|
-
"journey_target_block": {
|
|
9574
|
-
"type": "string",
|
|
9575
|
-
"description": "The journey target block of the variable input <step_index>/<block_name>"
|
|
9576
|
-
}
|
|
9577
|
-
}
|
|
9578
|
-
}
|
|
9579
9510
|
}
|
|
9580
9511
|
},
|
|
9581
9512
|
"required": [
|
|
@@ -9927,11 +9858,6 @@
|
|
|
9927
9858
|
{
|
|
9928
9859
|
"tax": {
|
|
9929
9860
|
"_id": "936db2a1-3748-45b6-bb9d-04943280ceeb",
|
|
9930
|
-
"_title": "VAT 23%",
|
|
9931
|
-
"_org": "728",
|
|
9932
|
-
"_schema": "tax",
|
|
9933
|
-
"_created_at": "2021-09-24T15:06:13.859Z",
|
|
9934
|
-
"_updated_at": "2021-09-24T15:06:13.859Z",
|
|
9935
9861
|
"type": "VAT",
|
|
9936
9862
|
"rate": 23
|
|
9937
9863
|
},
|
|
@@ -9940,11 +9866,6 @@
|
|
|
9940
9866
|
{
|
|
9941
9867
|
"tax": {
|
|
9942
9868
|
"_id": "936db2a1-3748-45b6-bb9d-04943280cee4",
|
|
9943
|
-
"_title": "VAT 7%",
|
|
9944
|
-
"_org": "728",
|
|
9945
|
-
"_schema": "tax",
|
|
9946
|
-
"_created_at": "2021-09-24T15:06:13.859Z",
|
|
9947
|
-
"_updated_at": "2021-09-24T15:06:13.859Z",
|
|
9948
9869
|
"type": "VAT",
|
|
9949
9870
|
"rate": 7
|
|
9950
9871
|
},
|
|
@@ -638,16 +638,6 @@
|
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
},
|
|
641
|
-
"409": {
|
|
642
|
-
"description": "Conflict - the workflow was modified by another user since it was last loaded",
|
|
643
|
-
"content": {
|
|
644
|
-
"application/json": {
|
|
645
|
-
"schema": {
|
|
646
|
-
"$ref": "#/components/schemas/ErrorResp"
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
},
|
|
651
641
|
"500": {
|
|
652
642
|
"description": "Other errors",
|
|
653
643
|
"content": {
|
|
@@ -1805,15 +1795,6 @@
|
|
|
1805
1795
|
"type": "string",
|
|
1806
1796
|
"description": "Id of the automation config that triggers this workflow"
|
|
1807
1797
|
},
|
|
1808
|
-
"input_entity": {
|
|
1809
|
-
"type": "string",
|
|
1810
|
-
"enum": [
|
|
1811
|
-
"thread",
|
|
1812
|
-
"first_email",
|
|
1813
|
-
"last_email"
|
|
1814
|
-
],
|
|
1815
|
-
"description": "For email thread triggers, specifies which entity from the triggered email thread to use as the primary input for automation and decision tasks. Defaults to `thread` when not specified.\n"
|
|
1816
|
-
},
|
|
1817
1798
|
"trigger_config": {
|
|
1818
1799
|
"type": "array",
|
|
1819
1800
|
"items": {
|
|
@@ -2055,34 +2036,6 @@
|
|
|
2055
2036
|
},
|
|
2056
2037
|
"additionalProperties": true,
|
|
2057
2038
|
"description": "Transient field. The full automation action configuration following the automation API action schema. Processed by the backend during create/update and stripped before storage. When present without a flow_id, a new automation flow is created. When present with a flow_id, the existing automation flow is updated.\n"
|
|
2058
|
-
},
|
|
2059
|
-
"duplicated_flow_id": {
|
|
2060
|
-
"type": "string",
|
|
2061
|
-
"description": "Transient field. When present, the backend clones the automation flow referenced by this ID and assigns the new flow_id to the task. Used when duplicating an automation task to give it an independent automation. Stripped before storage.\n"
|
|
2062
|
-
},
|
|
2063
|
-
"input_context": {
|
|
2064
|
-
"$ref": "#/components/schemas/AutomationInputContext"
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2067
|
-
},
|
|
2068
|
-
"AutomationInputContext": {
|
|
2069
|
-
"type": "object",
|
|
2070
|
-
"description": "Optional. Source of the entity fed into this automation task. If omitted, the workflow's primary entity is used.\n",
|
|
2071
|
-
"required": [
|
|
2072
|
-
"source"
|
|
2073
|
-
],
|
|
2074
|
-
"properties": {
|
|
2075
|
-
"source": {
|
|
2076
|
-
"type": "string",
|
|
2077
|
-
"enum": [
|
|
2078
|
-
"trigger",
|
|
2079
|
-
"task"
|
|
2080
|
-
],
|
|
2081
|
-
"description": "`trigger` = workflow's primary (trigger) entity. `task` = entity produced by an upstream task in the graph.\n"
|
|
2082
|
-
},
|
|
2083
|
-
"task_id": {
|
|
2084
|
-
"type": "string",
|
|
2085
|
-
"description": "Required when source is `task`. The id of the upstream task whose output entity should feed this task."
|
|
2086
2039
|
}
|
|
2087
2040
|
}
|
|
2088
2041
|
},
|
|
@@ -2243,11 +2196,6 @@
|
|
|
2243
2196
|
"$ref": "#/components/schemas/Condition"
|
|
2244
2197
|
}
|
|
2245
2198
|
},
|
|
2246
|
-
"allow_parallel_execution": {
|
|
2247
|
-
"type": "boolean",
|
|
2248
|
-
"description": "When true, all branches with met conditions execute in parallel. When false, only the first branch with a met condition is executed. Defaults to true for backwards compatibility.",
|
|
2249
|
-
"default": true
|
|
2250
|
-
},
|
|
2251
2199
|
"schedule": {
|
|
2252
2200
|
"anyOf": [
|
|
2253
2201
|
{
|
|
@@ -3764,36 +3764,12 @@
|
|
|
3764
3764
|
},
|
|
3765
3765
|
"error_reason": {
|
|
3766
3766
|
"type": "string"
|
|
3767
|
-
},
|
|
3768
|
-
"input_context": {
|
|
3769
|
-
"$ref": "#/components/schemas/AutomationInputContext"
|
|
3770
3767
|
}
|
|
3771
3768
|
},
|
|
3772
3769
|
"required": [
|
|
3773
3770
|
"flow_id"
|
|
3774
3771
|
]
|
|
3775
3772
|
},
|
|
3776
|
-
"AutomationInputContext": {
|
|
3777
|
-
"type": "object",
|
|
3778
|
-
"description": "Optional. Source of the entity fed into this automation task. If omitted, the workflow's primary entity is used.\n",
|
|
3779
|
-
"required": [
|
|
3780
|
-
"source"
|
|
3781
|
-
],
|
|
3782
|
-
"properties": {
|
|
3783
|
-
"source": {
|
|
3784
|
-
"type": "string",
|
|
3785
|
-
"enum": [
|
|
3786
|
-
"trigger",
|
|
3787
|
-
"task"
|
|
3788
|
-
],
|
|
3789
|
-
"description": "`trigger` = workflow's primary (trigger) entity. `task` = entity produced by an upstream task in the graph.\n"
|
|
3790
|
-
},
|
|
3791
|
-
"task_id": {
|
|
3792
|
-
"type": "string",
|
|
3793
|
-
"description": "Required when source is `task`. The id of the upstream task whose output entity should feed this task."
|
|
3794
|
-
}
|
|
3795
|
-
}
|
|
3796
|
-
},
|
|
3797
3773
|
"AnalyticsInfo": {
|
|
3798
3774
|
"type": "object",
|
|
3799
3775
|
"properties": {
|
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-QSYX2PUB.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.19",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -30,8 +30,8 @@ var main = defineCommand({
|
|
|
30
30
|
auth: () => import("../auth-CN5EFFDE.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-AZYWK6IZ.js").then((m) => m.default),
|
|
34
|
+
upgrade: () => import("../upgrade-O5G6HRVY.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),
|
|
@@ -133,13 +133,13 @@ process.stderr.on("error", (err) => {
|
|
|
133
133
|
if (err.code === "EPIPE") process.exit(0);
|
|
134
134
|
throw err;
|
|
135
135
|
});
|
|
136
|
-
var VERSION = true ? "0.1.
|
|
136
|
+
var VERSION = true ? "0.1.26" : (await null).default.version;
|
|
137
137
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
138
138
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
139
139
|
var args = process.argv.slice(2);
|
|
140
140
|
var completionsIdx = args.indexOf("--_completions");
|
|
141
141
|
if (completionsIdx >= 0) {
|
|
142
|
-
const { handleCompletions } = await import("../completion-
|
|
142
|
+
const { handleCompletions } = await import("../completion-AZYWK6IZ.js");
|
|
143
143
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
144
144
|
process.exit(0);
|
|
145
145
|
}
|
|
@@ -60,7 +60,7 @@ var API_LIST = [
|
|
|
60
60
|
kebabName: "app",
|
|
61
61
|
title: "App API",
|
|
62
62
|
serverUrl: "https://app.sls.epilot.io",
|
|
63
|
-
operationCount:
|
|
63
|
+
operationCount: 30,
|
|
64
64
|
operationIds: [
|
|
65
65
|
"getPublicFacingComponent",
|
|
66
66
|
"listConfigurations",
|
|
@@ -91,9 +91,7 @@ var API_LIST = [
|
|
|
91
91
|
"patchInstallation",
|
|
92
92
|
"uninstall",
|
|
93
93
|
"promoteVersion",
|
|
94
|
-
"ingestEvent"
|
|
95
|
-
"publicProxyGet",
|
|
96
|
-
"publicProxyPost"
|
|
94
|
+
"ingestEvent"
|
|
97
95
|
]
|
|
98
96
|
},
|
|
99
97
|
{
|
|
@@ -218,15 +216,8 @@ var API_LIST = [
|
|
|
218
216
|
kebabName: "configuration-hub",
|
|
219
217
|
title: "Configuration Hub API",
|
|
220
218
|
serverUrl: "https://configuration-hub.sls.epilot.io",
|
|
221
|
-
operationCount:
|
|
222
|
-
operationIds: [
|
|
223
|
-
"listConfigTypes",
|
|
224
|
-
"listConfigs",
|
|
225
|
-
"getConfigDependencies",
|
|
226
|
-
"getConfigUsedBy",
|
|
227
|
-
"getIndex",
|
|
228
|
-
"rebuildIndex"
|
|
229
|
-
]
|
|
219
|
+
operationCount: 4,
|
|
220
|
+
operationIds: ["listConfigTypes", "listConfigs", "getConfigDependencies", "rebuildIndex"]
|
|
230
221
|
},
|
|
231
222
|
{
|
|
232
223
|
apiName: "consent",
|
|
@@ -241,7 +232,7 @@ var API_LIST = [
|
|
|
241
232
|
kebabName: "customer-portal",
|
|
242
233
|
title: "Portal API",
|
|
243
234
|
serverUrl: "https://customer-portal-api.sls.epilot.io",
|
|
244
|
-
operationCount:
|
|
235
|
+
operationCount: 142,
|
|
245
236
|
operationIds: [
|
|
246
237
|
"upsertPortal",
|
|
247
238
|
"createUser",
|
|
@@ -256,7 +247,6 @@ var API_LIST = [
|
|
|
256
247
|
"getPortalExtensionsV3",
|
|
257
248
|
"getPublicPortalExtensionDetailsV3",
|
|
258
249
|
"getConsumption",
|
|
259
|
-
"prepareVisualizationExport",
|
|
260
250
|
"getCosts",
|
|
261
251
|
"getPrices",
|
|
262
252
|
"getExternalLinks",
|
|
@@ -526,7 +516,7 @@ var API_LIST = [
|
|
|
526
516
|
kebabName: "entity",
|
|
527
517
|
title: "Entity API",
|
|
528
518
|
serverUrl: "https://entity.sls.epilot.io",
|
|
529
|
-
operationCount:
|
|
519
|
+
operationCount: 84,
|
|
530
520
|
operationIds: [
|
|
531
521
|
"listSchemas",
|
|
532
522
|
"listSchemasV2",
|
|
@@ -559,9 +549,6 @@ var API_LIST = [
|
|
|
559
549
|
"createActivity",
|
|
560
550
|
"getActivity",
|
|
561
551
|
"attachActivity",
|
|
562
|
-
"applyChangeset",
|
|
563
|
-
"dismissChangeset",
|
|
564
|
-
"listChangesets",
|
|
565
552
|
"getEntityActivityFeed",
|
|
566
553
|
"getRelations",
|
|
567
554
|
"addRelations",
|
|
@@ -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.26";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|