@epilot/cli 0.1.24 → 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 +3 -1
- package/definitions/automation.json +0 -42
- package/definitions/calendar.json +675 -0
- package/definitions/configuration-hub.json +7 -134
- package/definitions/entity.json +4 -391
- package/definitions/kanban.json +1 -2
- package/definitions/pricing.json +83 -158
- package/definitions/workflow-definition.json +0 -52
- package/definitions/workflow.json +0 -24
- package/dist/bin/epilot.js +7 -6
- package/dist/calendar-IHVASAEY.js +56 -0
- package/dist/{chunk-U5JW65I3.js → chunk-QSYX2PUB.js} +11 -13
- package/dist/{completion-76TTN5FM.js → completion-AZYWK6IZ.js} +1 -1
- package/dist/{upgrade-3SGNJUWL.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
|
}
|
|
@@ -9144,8 +9112,8 @@
|
|
|
9144
9112
|
"description": "Description of the contract"
|
|
9145
9113
|
},
|
|
9146
9114
|
"billing_account": {
|
|
9147
|
-
"type": "
|
|
9148
|
-
"description": "Billing Account relation"
|
|
9115
|
+
"type": "string",
|
|
9116
|
+
"description": "Billing Account relation ID"
|
|
9149
9117
|
},
|
|
9150
9118
|
"account_number": {
|
|
9151
9119
|
"type": "string",
|
|
@@ -9153,7 +9121,14 @@
|
|
|
9153
9121
|
},
|
|
9154
9122
|
"branch": {
|
|
9155
9123
|
"type": "string",
|
|
9156
|
-
"description": "Branch/commodity type
|
|
9124
|
+
"description": "Branch/commodity type",
|
|
9125
|
+
"enum": [
|
|
9126
|
+
"power",
|
|
9127
|
+
"gas",
|
|
9128
|
+
"water",
|
|
9129
|
+
"waste_water",
|
|
9130
|
+
"district_heating"
|
|
9131
|
+
]
|
|
9157
9132
|
},
|
|
9158
9133
|
"move_in_date": {
|
|
9159
9134
|
"type": "string",
|
|
@@ -9166,15 +9141,12 @@
|
|
|
9166
9141
|
"description": "Move Out Date"
|
|
9167
9142
|
},
|
|
9168
9143
|
"billing_address": {
|
|
9169
|
-
"
|
|
9170
|
-
"
|
|
9144
|
+
"type": "object",
|
|
9145
|
+
"description": "Billing Address"
|
|
9171
9146
|
},
|
|
9172
9147
|
"delivery_address": {
|
|
9173
|
-
"
|
|
9174
|
-
"
|
|
9175
|
-
"items": {
|
|
9176
|
-
"type": "object"
|
|
9177
|
-
}
|
|
9148
|
+
"type": "object",
|
|
9149
|
+
"description": "Delivery Address"
|
|
9178
9150
|
},
|
|
9179
9151
|
"additional_addresses": {
|
|
9180
9152
|
"type": "array",
|
|
@@ -9203,8 +9175,11 @@
|
|
|
9203
9175
|
"description": "End Date"
|
|
9204
9176
|
},
|
|
9205
9177
|
"customer": {
|
|
9206
|
-
"type": "
|
|
9207
|
-
"description": "Customer relation (contact or account)"
|
|
9178
|
+
"type": "array",
|
|
9179
|
+
"description": "Customer relation (contact or account)",
|
|
9180
|
+
"items": {
|
|
9181
|
+
"type": "string"
|
|
9182
|
+
}
|
|
9208
9183
|
},
|
|
9209
9184
|
"order": {
|
|
9210
9185
|
"type": "string",
|
|
@@ -9290,11 +9265,30 @@
|
|
|
9290
9265
|
"description": "Billing Due Day"
|
|
9291
9266
|
},
|
|
9292
9267
|
"installment_amount": {
|
|
9293
|
-
"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
|
+
}
|
|
9294
9279
|
},
|
|
9295
9280
|
"balance": {
|
|
9296
|
-
"type": "
|
|
9297
|
-
"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
|
+
}
|
|
9298
9292
|
},
|
|
9299
9293
|
"meters": {
|
|
9300
9294
|
"type": "array",
|
|
@@ -9304,8 +9298,8 @@
|
|
|
9304
9298
|
}
|
|
9305
9299
|
},
|
|
9306
9300
|
"payment": {
|
|
9307
|
-
"type": "
|
|
9308
|
-
"description": "Payment Details relation"
|
|
9301
|
+
"type": "string",
|
|
9302
|
+
"description": "Payment Details relation ID"
|
|
9309
9303
|
},
|
|
9310
9304
|
"last_sync_at": {
|
|
9311
9305
|
"type": "string",
|
|
@@ -9513,65 +9507,6 @@
|
|
|
9513
9507
|
"readOnly": true
|
|
9514
9508
|
}
|
|
9515
9509
|
}
|
|
9516
|
-
},
|
|
9517
|
-
"availability_address": {
|
|
9518
|
-
"type": "object",
|
|
9519
|
-
"description": "Address to use for product availability checks. Include when the catalog should filter products by serviceable area (e.g. postal code coverage).\n",
|
|
9520
|
-
"properties": {
|
|
9521
|
-
"postal_code": {
|
|
9522
|
-
"type": "string",
|
|
9523
|
-
"description": "Postal Code"
|
|
9524
|
-
},
|
|
9525
|
-
"city": {
|
|
9526
|
-
"type": "string",
|
|
9527
|
-
"description": "City"
|
|
9528
|
-
},
|
|
9529
|
-
"street": {
|
|
9530
|
-
"type": "string",
|
|
9531
|
-
"description": "Street"
|
|
9532
|
-
},
|
|
9533
|
-
"street_number": {
|
|
9534
|
-
"type": "string",
|
|
9535
|
-
"description": "Street Number"
|
|
9536
|
-
},
|
|
9537
|
-
"journey_target_block": {
|
|
9538
|
-
"type": "string",
|
|
9539
|
-
"description": "The journey target block of the availability address <step_index>/<block_name>"
|
|
9540
|
-
}
|
|
9541
|
-
}
|
|
9542
|
-
},
|
|
9543
|
-
"variable_inputs": {
|
|
9544
|
-
"type": "array",
|
|
9545
|
-
"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",
|
|
9546
|
-
"items": {
|
|
9547
|
-
"type": "object",
|
|
9548
|
-
"properties": {
|
|
9549
|
-
"value": {
|
|
9550
|
-
"type": "number",
|
|
9551
|
-
"description": "The value of the variable input"
|
|
9552
|
-
},
|
|
9553
|
-
"unit": {
|
|
9554
|
-
"type": "string",
|
|
9555
|
-
"description": "The unit of the variable input"
|
|
9556
|
-
},
|
|
9557
|
-
"frequency_unit": {
|
|
9558
|
-
"type": "string",
|
|
9559
|
-
"description": "The frequency unit of the variable input",
|
|
9560
|
-
"enum": [
|
|
9561
|
-
"weekly",
|
|
9562
|
-
"monthly",
|
|
9563
|
-
"every_quarter",
|
|
9564
|
-
"every_6_months",
|
|
9565
|
-
"yearly",
|
|
9566
|
-
"one_time"
|
|
9567
|
-
]
|
|
9568
|
-
},
|
|
9569
|
-
"journey_target_block": {
|
|
9570
|
-
"type": "string",
|
|
9571
|
-
"description": "The journey target block of the variable input <step_index>/<block_name>"
|
|
9572
|
-
}
|
|
9573
|
-
}
|
|
9574
|
-
}
|
|
9575
9510
|
}
|
|
9576
9511
|
},
|
|
9577
9512
|
"required": [
|
|
@@ -9923,11 +9858,6 @@
|
|
|
9923
9858
|
{
|
|
9924
9859
|
"tax": {
|
|
9925
9860
|
"_id": "936db2a1-3748-45b6-bb9d-04943280ceeb",
|
|
9926
|
-
"_title": "VAT 23%",
|
|
9927
|
-
"_org": "728",
|
|
9928
|
-
"_schema": "tax",
|
|
9929
|
-
"_created_at": "2021-09-24T15:06:13.859Z",
|
|
9930
|
-
"_updated_at": "2021-09-24T15:06:13.859Z",
|
|
9931
9861
|
"type": "VAT",
|
|
9932
9862
|
"rate": 23
|
|
9933
9863
|
},
|
|
@@ -9936,11 +9866,6 @@
|
|
|
9936
9866
|
{
|
|
9937
9867
|
"tax": {
|
|
9938
9868
|
"_id": "936db2a1-3748-45b6-bb9d-04943280cee4",
|
|
9939
|
-
"_title": "VAT 7%",
|
|
9940
|
-
"_org": "728",
|
|
9941
|
-
"_schema": "tax",
|
|
9942
|
-
"_created_at": "2021-09-24T15:06:13.859Z",
|
|
9943
|
-
"_updated_at": "2021-09-24T15:06:13.859Z",
|
|
9944
9869
|
"type": "VAT",
|
|
9945
9870
|
"rate": 7
|
|
9946
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),
|
|
@@ -41,6 +41,7 @@ var main = defineCommand({
|
|
|
41
41
|
automation: () => import("../automation-4DEE3TUI.js").then((m) => m.default),
|
|
42
42
|
billing: () => import("../billing-XX4VVOPI.js").then((m) => m.default),
|
|
43
43
|
"blueprint-manifest": () => import("../blueprint-manifest-V5MJ3GCA.js").then((m) => m.default),
|
|
44
|
+
calendar: () => import("../calendar-IHVASAEY.js").then((m) => m.default),
|
|
44
45
|
"configuration-hub": () => import("../configuration-hub-ZSYHJZXF.js").then((m) => m.default),
|
|
45
46
|
consent: () => import("../consent-QICGZLMO.js").then((m) => m.default),
|
|
46
47
|
"customer-portal": () => import("../customer-portal-UCDUZO6G.js").then((m) => m.default),
|
|
@@ -132,13 +133,13 @@ process.stderr.on("error", (err) => {
|
|
|
132
133
|
if (err.code === "EPIPE") process.exit(0);
|
|
133
134
|
throw err;
|
|
134
135
|
});
|
|
135
|
-
var VERSION = true ? "0.1.
|
|
136
|
+
var VERSION = true ? "0.1.26" : (await null).default.version;
|
|
136
137
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
137
138
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
138
139
|
var args = process.argv.slice(2);
|
|
139
140
|
var completionsIdx = args.indexOf("--_completions");
|
|
140
141
|
if (completionsIdx >= 0) {
|
|
141
|
-
const { handleCompletions } = await import("../completion-
|
|
142
|
+
const { handleCompletions } = await import("../completion-AZYWK6IZ.js");
|
|
142
143
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
143
144
|
process.exit(0);
|
|
144
145
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
callApi
|
|
4
|
+
} from "./chunk-5ZFPCFKV.js";
|
|
5
|
+
import "./chunk-IOLKUHUB.js";
|
|
6
|
+
import "./chunk-M3M3C5WH.js";
|
|
7
|
+
import "./chunk-YHQA2AVG.js";
|
|
8
|
+
import "./chunk-7ZQ666ZQ.js";
|
|
9
|
+
|
|
10
|
+
// src/commands/apis/calendar.ts
|
|
11
|
+
import { defineCommand } from "citty";
|
|
12
|
+
var calendar_default = defineCommand({
|
|
13
|
+
meta: { name: "calendar", description: "Calendar API" },
|
|
14
|
+
args: {
|
|
15
|
+
operation: { type: "positional", description: "operationId to call", required: false },
|
|
16
|
+
param: { type: "string", alias: "p", description: "Parameter key=value" },
|
|
17
|
+
data: { type: "string", alias: "d", description: "Request body JSON" },
|
|
18
|
+
header: { type: "string", alias: "H", description: "Custom header" },
|
|
19
|
+
include: { type: "boolean", alias: "i", description: "Include response headers" },
|
|
20
|
+
definition: { type: "string", description: "Override OpenAPI spec file/URL" },
|
|
21
|
+
server: { type: "string", alias: "s", description: "Override server base URL" },
|
|
22
|
+
"use-dev": { type: "boolean", description: "Target dev environment" },
|
|
23
|
+
"use-staging": { type: "boolean", description: "Target staging environment" },
|
|
24
|
+
profile: { type: "string", description: "Use a named profile" },
|
|
25
|
+
token: { type: "string", alias: "t", description: "Bearer token" },
|
|
26
|
+
json: { type: "boolean", description: "Output raw JSON" },
|
|
27
|
+
verbose: { type: "boolean", alias: "v", description: "Verbose output" },
|
|
28
|
+
guided: { type: "boolean", description: "Prompt for all parameters interactively" },
|
|
29
|
+
interactive: { type: "boolean", description: "Interactive mode" },
|
|
30
|
+
jsonata: { type: "string", description: "JSONata expression to transform response" },
|
|
31
|
+
_ophelp: { type: "boolean", description: "Show operation help", required: false },
|
|
32
|
+
_apihelp: { type: "boolean", description: "Show API help", required: false }
|
|
33
|
+
},
|
|
34
|
+
run: ({ args, rawArgs }) => {
|
|
35
|
+
const positionalArgs = [];
|
|
36
|
+
if (args.operation && rawArgs) {
|
|
37
|
+
const opIdx = rawArgs.indexOf(args.operation);
|
|
38
|
+
if (opIdx >= 0) {
|
|
39
|
+
for (let i = opIdx + 1; i < rawArgs.length; i++) {
|
|
40
|
+
const arg = rawArgs[i];
|
|
41
|
+
if (arg.startsWith("-")) break;
|
|
42
|
+
positionalArgs.push(arg);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return callApi("calendar", {
|
|
47
|
+
...args,
|
|
48
|
+
help: !!args._ophelp,
|
|
49
|
+
_apihelp: !!args._apihelp,
|
|
50
|
+
_args: positionalArgs
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
calendar_default as default
|
|
56
|
+
};
|
|
@@ -203,20 +203,21 @@ var API_LIST = [
|
|
|
203
203
|
"getBlueprintLineageV3"
|
|
204
204
|
]
|
|
205
205
|
},
|
|
206
|
+
{
|
|
207
|
+
apiName: "calendar",
|
|
208
|
+
kebabName: "calendar",
|
|
209
|
+
title: "Calendar API",
|
|
210
|
+
serverUrl: "https://calendar.sls.epilot.io",
|
|
211
|
+
operationCount: 4,
|
|
212
|
+
operationIds: ["listCalendars", "getCalendar", "listEvents", "getEvent"]
|
|
213
|
+
},
|
|
206
214
|
{
|
|
207
215
|
apiName: "configurationHub",
|
|
208
216
|
kebabName: "configuration-hub",
|
|
209
217
|
title: "Configuration Hub API",
|
|
210
218
|
serverUrl: "https://configuration-hub.sls.epilot.io",
|
|
211
|
-
operationCount:
|
|
212
|
-
operationIds: [
|
|
213
|
-
"listConfigTypes",
|
|
214
|
-
"listConfigs",
|
|
215
|
-
"getConfigDependencies",
|
|
216
|
-
"getConfigUsedBy",
|
|
217
|
-
"getIndex",
|
|
218
|
-
"rebuildIndex"
|
|
219
|
-
]
|
|
219
|
+
operationCount: 4,
|
|
220
|
+
operationIds: ["listConfigTypes", "listConfigs", "getConfigDependencies", "rebuildIndex"]
|
|
220
221
|
},
|
|
221
222
|
{
|
|
222
223
|
apiName: "consent",
|
|
@@ -515,7 +516,7 @@ var API_LIST = [
|
|
|
515
516
|
kebabName: "entity",
|
|
516
517
|
title: "Entity API",
|
|
517
518
|
serverUrl: "https://entity.sls.epilot.io",
|
|
518
|
-
operationCount:
|
|
519
|
+
operationCount: 84,
|
|
519
520
|
operationIds: [
|
|
520
521
|
"listSchemas",
|
|
521
522
|
"listSchemasV2",
|
|
@@ -548,9 +549,6 @@ var API_LIST = [
|
|
|
548
549
|
"createActivity",
|
|
549
550
|
"getActivity",
|
|
550
551
|
"attachActivity",
|
|
551
|
-
"applyChangeset",
|
|
552
|
-
"dismissChangeset",
|
|
553
|
-
"listChangesets",
|
|
554
552
|
"getEntityActivityFeed",
|
|
555
553
|
"getRelations",
|
|
556
554
|
"addRelations",
|