@epilot/cli 0.1.15 → 0.1.17
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/customer-portal.json +373 -4
- package/definitions/design.json +257 -4
- package/definitions/message.json +12 -2
- package/dist/bin/epilot.js +6 -6
- package/dist/{chunk-UOQMCAJN.js → chunk-XQLUS2BD.js} +5 -1
- package/dist/{completion-J7SWF5AO.js → completion-KA3HJ6PR.js} +1 -1
- package/dist/{upgrade-6Z53BXHL.js → upgrade-RQP5SN7U.js} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -137,6 +137,7 @@
|
|
|
137
137
|
"operationId": "createUser",
|
|
138
138
|
"summary": "createUser",
|
|
139
139
|
"description": "Registers a portal user",
|
|
140
|
+
"deprecated": true,
|
|
140
141
|
"security": [],
|
|
141
142
|
"tags": [
|
|
142
143
|
"Public"
|
|
@@ -814,7 +815,19 @@
|
|
|
814
815
|
},
|
|
815
816
|
"type": {
|
|
816
817
|
"type": "string",
|
|
817
|
-
"description": "Optional type of the consumption, such as 'nt' (night time)
|
|
818
|
+
"description": "Optional type of the consumption, such as 'nt' (night time) and 'ht' (high time) or 'feed-in' and 'feed-out'. Can be any string.",
|
|
819
|
+
"example": "nt"
|
|
820
|
+
},
|
|
821
|
+
"aggregation_method": {
|
|
822
|
+
"type": "string",
|
|
823
|
+
"description": "The method used to aggregate the consumption data. Assumed default is 'sum'.",
|
|
824
|
+
"enum": [
|
|
825
|
+
"sum",
|
|
826
|
+
"average",
|
|
827
|
+
"max",
|
|
828
|
+
"min"
|
|
829
|
+
],
|
|
830
|
+
"example": "sum"
|
|
818
831
|
}
|
|
819
832
|
},
|
|
820
833
|
"required": [
|
|
@@ -2169,6 +2182,68 @@
|
|
|
2169
2182
|
}
|
|
2170
2183
|
}
|
|
2171
2184
|
},
|
|
2185
|
+
"/v3/portal/public/widgets": {
|
|
2186
|
+
"get": {
|
|
2187
|
+
"operationId": "getPublicPortalWidgetsV3",
|
|
2188
|
+
"summary": "getPublicPortalWidgetsV3",
|
|
2189
|
+
"description": "Retrieves the public widgets of a portal.\nSupports two identification methods:\n1. Using org_id + portal_id\n2. Using domain\n",
|
|
2190
|
+
"tags": [
|
|
2191
|
+
"Public"
|
|
2192
|
+
],
|
|
2193
|
+
"security": [],
|
|
2194
|
+
"parameters": [
|
|
2195
|
+
{
|
|
2196
|
+
"in": "query",
|
|
2197
|
+
"name": "org_id",
|
|
2198
|
+
"required": false,
|
|
2199
|
+
"schema": {
|
|
2200
|
+
"type": "string",
|
|
2201
|
+
"example": 12324
|
|
2202
|
+
},
|
|
2203
|
+
"description": "Organization ID (required if domain is not provided)"
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
"in": "query",
|
|
2207
|
+
"name": "portal_id",
|
|
2208
|
+
"required": false,
|
|
2209
|
+
"schema": {
|
|
2210
|
+
"$ref": "#/components/schemas/PortalId"
|
|
2211
|
+
},
|
|
2212
|
+
"description": "Portal ID (required if domain is not provided)"
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"in": "query",
|
|
2216
|
+
"name": "domain",
|
|
2217
|
+
"required": false,
|
|
2218
|
+
"schema": {
|
|
2219
|
+
"type": "string"
|
|
2220
|
+
},
|
|
2221
|
+
"description": "Portal domain for identification (alternative to org_id + portal_id)"
|
|
2222
|
+
}
|
|
2223
|
+
],
|
|
2224
|
+
"responses": {
|
|
2225
|
+
"200": {
|
|
2226
|
+
"description": "Retrieved the portal public widgets successfully.",
|
|
2227
|
+
"content": {
|
|
2228
|
+
"application/json": {
|
|
2229
|
+
"schema": {
|
|
2230
|
+
"$ref": "#/components/schemas/UpsertPortalWidget"
|
|
2231
|
+
}
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
},
|
|
2235
|
+
"401": {
|
|
2236
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
2237
|
+
},
|
|
2238
|
+
"403": {
|
|
2239
|
+
"$ref": "#/components/responses/Forbidden"
|
|
2240
|
+
},
|
|
2241
|
+
"500": {
|
|
2242
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2243
|
+
}
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
},
|
|
2172
2247
|
"/v2/portal/widgets": {
|
|
2173
2248
|
"post": {
|
|
2174
2249
|
"operationId": "upsertPortalWidget",
|
|
@@ -2748,6 +2823,76 @@
|
|
|
2748
2823
|
}
|
|
2749
2824
|
}
|
|
2750
2825
|
},
|
|
2826
|
+
"/v3/portal/public/schemas": {
|
|
2827
|
+
"get": {
|
|
2828
|
+
"operationId": "getPublicSchemasV3",
|
|
2829
|
+
"summary": "getPublicSchemasV3",
|
|
2830
|
+
"description": "Retrieves schemas by portal. Only schemas and attributes used on public pages are returned.\nSupports two identification methods:\n1. Using org_id + portal_id\n2. Using domain\n",
|
|
2831
|
+
"tags": [
|
|
2832
|
+
"Public"
|
|
2833
|
+
],
|
|
2834
|
+
"security": [],
|
|
2835
|
+
"parameters": [
|
|
2836
|
+
{
|
|
2837
|
+
"in": "query",
|
|
2838
|
+
"name": "org_id",
|
|
2839
|
+
"required": false,
|
|
2840
|
+
"schema": {
|
|
2841
|
+
"type": "string",
|
|
2842
|
+
"example": 12324
|
|
2843
|
+
},
|
|
2844
|
+
"description": "Organization ID (required if domain is not provided)"
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"in": "query",
|
|
2848
|
+
"name": "portal_id",
|
|
2849
|
+
"required": false,
|
|
2850
|
+
"schema": {
|
|
2851
|
+
"$ref": "#/components/schemas/PortalId"
|
|
2852
|
+
},
|
|
2853
|
+
"description": "Portal ID (required if domain is not provided)"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"in": "query",
|
|
2857
|
+
"name": "domain",
|
|
2858
|
+
"required": false,
|
|
2859
|
+
"schema": {
|
|
2860
|
+
"type": "string"
|
|
2861
|
+
},
|
|
2862
|
+
"description": "Portal domain for identification (alternative to org_id + portal_id)"
|
|
2863
|
+
}
|
|
2864
|
+
],
|
|
2865
|
+
"responses": {
|
|
2866
|
+
"200": {
|
|
2867
|
+
"description": "Retrieved schemas for an organization successfully.",
|
|
2868
|
+
"content": {
|
|
2869
|
+
"application/json": {
|
|
2870
|
+
"schema": {
|
|
2871
|
+
"type": "object",
|
|
2872
|
+
"properties": {
|
|
2873
|
+
"schemas": {
|
|
2874
|
+
"type": "array",
|
|
2875
|
+
"items": {
|
|
2876
|
+
"$ref": "#/components/schemas/Schema"
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
"401": {
|
|
2885
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
2886
|
+
},
|
|
2887
|
+
"403": {
|
|
2888
|
+
"$ref": "#/components/responses/Forbidden"
|
|
2889
|
+
},
|
|
2890
|
+
"500": {
|
|
2891
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
},
|
|
2751
2896
|
"/v2/portal/public/org/settings": {
|
|
2752
2897
|
"get": {
|
|
2753
2898
|
"operationId": "getOrganizationSettingsByDomain",
|
|
@@ -7000,7 +7145,7 @@
|
|
|
7000
7145
|
"/v2/portal/metering/reading/allowed-range/{meter_id}": {
|
|
7001
7146
|
"get": {
|
|
7002
7147
|
"operationId": "getAllowedMeterReadingRange",
|
|
7003
|
-
"description": "Get allowed reading range for all counters of a meter from the configured
|
|
7148
|
+
"description": "Get allowed reading range for all counters of a meter from the configured\nthird-party plausibility check hook using 'range' mode. This endpoint requires\na plausibility check hook to be configured for the portal.\n",
|
|
7004
7149
|
"tags": [
|
|
7005
7150
|
"ECP"
|
|
7006
7151
|
],
|
|
@@ -7098,6 +7243,124 @@
|
|
|
7098
7243
|
}
|
|
7099
7244
|
}
|
|
7100
7245
|
},
|
|
7246
|
+
"/v2/portal/metering/readings": {
|
|
7247
|
+
"post": {
|
|
7248
|
+
"operationId": "getMeterReadings",
|
|
7249
|
+
"summary": "Get meter readings with optional template resolution",
|
|
7250
|
+
"description": "Fetches meter readings for a counter and optionally resolves Handlebars\ntemplate strings against each reading object using @epilot/variables.\n",
|
|
7251
|
+
"tags": [
|
|
7252
|
+
"ECP"
|
|
7253
|
+
],
|
|
7254
|
+
"security": [
|
|
7255
|
+
{
|
|
7256
|
+
"PortalAuth": []
|
|
7257
|
+
}
|
|
7258
|
+
],
|
|
7259
|
+
"requestBody": {
|
|
7260
|
+
"required": true,
|
|
7261
|
+
"content": {
|
|
7262
|
+
"application/json": {
|
|
7263
|
+
"schema": {
|
|
7264
|
+
"type": "object",
|
|
7265
|
+
"required": [
|
|
7266
|
+
"meter_id",
|
|
7267
|
+
"counter_id"
|
|
7268
|
+
],
|
|
7269
|
+
"properties": {
|
|
7270
|
+
"meter_id": {
|
|
7271
|
+
"type": "string"
|
|
7272
|
+
},
|
|
7273
|
+
"counter_id": {
|
|
7274
|
+
"type": "string"
|
|
7275
|
+
},
|
|
7276
|
+
"sort": {
|
|
7277
|
+
"type": "string",
|
|
7278
|
+
"enum": [
|
|
7279
|
+
"asc",
|
|
7280
|
+
"desc"
|
|
7281
|
+
],
|
|
7282
|
+
"default": "desc"
|
|
7283
|
+
},
|
|
7284
|
+
"from": {
|
|
7285
|
+
"type": "integer",
|
|
7286
|
+
"default": 0
|
|
7287
|
+
},
|
|
7288
|
+
"size": {
|
|
7289
|
+
"type": "integer",
|
|
7290
|
+
"default": 10
|
|
7291
|
+
},
|
|
7292
|
+
"templates": {
|
|
7293
|
+
"type": "object",
|
|
7294
|
+
"additionalProperties": {
|
|
7295
|
+
"type": "string"
|
|
7296
|
+
},
|
|
7297
|
+
"description": "Template map (key to Handlebars template string). Each template is resolved per reading."
|
|
7298
|
+
},
|
|
7299
|
+
"counter_templates": {
|
|
7300
|
+
"type": "object",
|
|
7301
|
+
"additionalProperties": {
|
|
7302
|
+
"type": "string"
|
|
7303
|
+
},
|
|
7304
|
+
"description": "Template map resolved against the counter entity."
|
|
7305
|
+
}
|
|
7306
|
+
}
|
|
7307
|
+
}
|
|
7308
|
+
}
|
|
7309
|
+
}
|
|
7310
|
+
},
|
|
7311
|
+
"responses": {
|
|
7312
|
+
"200": {
|
|
7313
|
+
"description": "Meter readings with resolved templates",
|
|
7314
|
+
"content": {
|
|
7315
|
+
"application/json": {
|
|
7316
|
+
"schema": {
|
|
7317
|
+
"type": "object",
|
|
7318
|
+
"properties": {
|
|
7319
|
+
"results": {
|
|
7320
|
+
"type": "array",
|
|
7321
|
+
"items": {
|
|
7322
|
+
"type": "object",
|
|
7323
|
+
"additionalProperties": true,
|
|
7324
|
+
"properties": {
|
|
7325
|
+
"templates_output": {
|
|
7326
|
+
"type": "object",
|
|
7327
|
+
"additionalProperties": {
|
|
7328
|
+
"type": "string"
|
|
7329
|
+
}
|
|
7330
|
+
}
|
|
7331
|
+
}
|
|
7332
|
+
}
|
|
7333
|
+
},
|
|
7334
|
+
"hits": {
|
|
7335
|
+
"type": "integer"
|
|
7336
|
+
},
|
|
7337
|
+
"counter_templates_output": {
|
|
7338
|
+
"type": "object",
|
|
7339
|
+
"additionalProperties": {
|
|
7340
|
+
"type": "string"
|
|
7341
|
+
},
|
|
7342
|
+
"description": "Resolved counter templates."
|
|
7343
|
+
}
|
|
7344
|
+
}
|
|
7345
|
+
}
|
|
7346
|
+
}
|
|
7347
|
+
}
|
|
7348
|
+
},
|
|
7349
|
+
"400": {
|
|
7350
|
+
"$ref": "#/components/responses/InvalidRequest"
|
|
7351
|
+
},
|
|
7352
|
+
"401": {
|
|
7353
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
7354
|
+
},
|
|
7355
|
+
"403": {
|
|
7356
|
+
"$ref": "#/components/responses/Forbidden"
|
|
7357
|
+
},
|
|
7358
|
+
"500": {
|
|
7359
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
7360
|
+
}
|
|
7361
|
+
}
|
|
7362
|
+
}
|
|
7363
|
+
},
|
|
7101
7364
|
"/v2/portal/public/sso/login": {
|
|
7102
7365
|
"post": {
|
|
7103
7366
|
"operationId": "ssoLogin",
|
|
@@ -8836,6 +9099,71 @@
|
|
|
8836
9099
|
}
|
|
8837
9100
|
}
|
|
8838
9101
|
},
|
|
9102
|
+
"/v3/portal/config/clone": {
|
|
9103
|
+
"post": {
|
|
9104
|
+
"operationId": "clonePortalConfig",
|
|
9105
|
+
"summary": "clonePortalConfig",
|
|
9106
|
+
"description": "Creates a new portal by cloning configuration and pages from an existing portal. The new portal gets its own domain, users, email templates, and authentication settings.",
|
|
9107
|
+
"tags": [
|
|
9108
|
+
"ECP Admin"
|
|
9109
|
+
],
|
|
9110
|
+
"security": [
|
|
9111
|
+
{
|
|
9112
|
+
"EpilotAuth": []
|
|
9113
|
+
}
|
|
9114
|
+
],
|
|
9115
|
+
"requestBody": {
|
|
9116
|
+
"description": "Source portal ID and optional name for the cloned portal",
|
|
9117
|
+
"required": true,
|
|
9118
|
+
"content": {
|
|
9119
|
+
"application/json": {
|
|
9120
|
+
"schema": {
|
|
9121
|
+
"type": "object",
|
|
9122
|
+
"required": [
|
|
9123
|
+
"source_portal_id"
|
|
9124
|
+
],
|
|
9125
|
+
"properties": {
|
|
9126
|
+
"source_portal_id": {
|
|
9127
|
+
"$ref": "#/components/schemas/PortalId"
|
|
9128
|
+
},
|
|
9129
|
+
"name": {
|
|
9130
|
+
"type": "string",
|
|
9131
|
+
"description": "Name for the cloned portal. Defaults to \"Copy of <source portal name>\"."
|
|
9132
|
+
}
|
|
9133
|
+
}
|
|
9134
|
+
}
|
|
9135
|
+
}
|
|
9136
|
+
}
|
|
9137
|
+
},
|
|
9138
|
+
"responses": {
|
|
9139
|
+
"201": {
|
|
9140
|
+
"description": "Portal cloned successfully.",
|
|
9141
|
+
"content": {
|
|
9142
|
+
"application/json": {
|
|
9143
|
+
"schema": {
|
|
9144
|
+
"$ref": "#/components/schemas/PortalConfigV3"
|
|
9145
|
+
}
|
|
9146
|
+
}
|
|
9147
|
+
}
|
|
9148
|
+
},
|
|
9149
|
+
"400": {
|
|
9150
|
+
"$ref": "#/components/responses/InvalidRequest"
|
|
9151
|
+
},
|
|
9152
|
+
"401": {
|
|
9153
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
9154
|
+
},
|
|
9155
|
+
"403": {
|
|
9156
|
+
"$ref": "#/components/responses/Forbidden"
|
|
9157
|
+
},
|
|
9158
|
+
"404": {
|
|
9159
|
+
"$ref": "#/components/responses/NotFound"
|
|
9160
|
+
},
|
|
9161
|
+
"500": {
|
|
9162
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
9163
|
+
}
|
|
9164
|
+
}
|
|
9165
|
+
}
|
|
9166
|
+
},
|
|
8839
9167
|
"/v3/portal/partner/invite": {
|
|
8840
9168
|
"post": {
|
|
8841
9169
|
"operationId": "invitePartner",
|
|
@@ -11245,8 +11573,45 @@
|
|
|
11245
11573
|
},
|
|
11246
11574
|
"Entity": {
|
|
11247
11575
|
"type": "object",
|
|
11248
|
-
"
|
|
11249
|
-
"
|
|
11576
|
+
"additionalProperties": true,
|
|
11577
|
+
"properties": {
|
|
11578
|
+
"templates_output_highlighted": {
|
|
11579
|
+
"type": "object",
|
|
11580
|
+
"readOnly": true,
|
|
11581
|
+
"description": "Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.",
|
|
11582
|
+
"additionalProperties": {
|
|
11583
|
+
"oneOf": [
|
|
11584
|
+
{
|
|
11585
|
+
"type": "string"
|
|
11586
|
+
},
|
|
11587
|
+
{
|
|
11588
|
+
"type": "object",
|
|
11589
|
+
"additionalProperties": {
|
|
11590
|
+
"type": "string"
|
|
11591
|
+
}
|
|
11592
|
+
}
|
|
11593
|
+
]
|
|
11594
|
+
}
|
|
11595
|
+
},
|
|
11596
|
+
"search_snippets": {
|
|
11597
|
+
"type": "array",
|
|
11598
|
+
"readOnly": true,
|
|
11599
|
+
"description": "Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.",
|
|
11600
|
+
"items": {
|
|
11601
|
+
"type": "object",
|
|
11602
|
+
"properties": {
|
|
11603
|
+
"field": {
|
|
11604
|
+
"type": "string",
|
|
11605
|
+
"description": "Human-readable field label"
|
|
11606
|
+
},
|
|
11607
|
+
"fragment": {
|
|
11608
|
+
"type": "string",
|
|
11609
|
+
"description": "Highlighted text fragment with <em> tags"
|
|
11610
|
+
}
|
|
11611
|
+
}
|
|
11612
|
+
}
|
|
11613
|
+
}
|
|
11614
|
+
}
|
|
11250
11615
|
},
|
|
11251
11616
|
"EntityTemplates": {
|
|
11252
11617
|
"type": "object",
|
|
@@ -12949,6 +13314,10 @@
|
|
|
12949
13314
|
"example": [
|
|
12950
13315
|
"active_workflow"
|
|
12951
13316
|
]
|
|
13317
|
+
},
|
|
13318
|
+
"highlight": {
|
|
13319
|
+
"type": "object",
|
|
13320
|
+
"description": "Elasticsearch highlight configuration passed through to the Entity API. When provided, matching results include a `highlight` object with field names as keys and arrays of highlighted fragments as values."
|
|
12952
13321
|
}
|
|
12953
13322
|
},
|
|
12954
13323
|
"required": [
|
package/definitions/design.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Design Builder API v2",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.3"
|
|
6
6
|
},
|
|
7
7
|
"tags": [
|
|
8
8
|
{
|
|
@@ -477,7 +477,8 @@
|
|
|
477
477
|
"type": "string",
|
|
478
478
|
"enum": [
|
|
479
479
|
"LOGO",
|
|
480
|
-
"FONT"
|
|
480
|
+
"FONT",
|
|
481
|
+
"IMAGE"
|
|
481
482
|
]
|
|
482
483
|
},
|
|
483
484
|
"required": false,
|
|
@@ -846,7 +847,8 @@
|
|
|
846
847
|
"type": "string",
|
|
847
848
|
"enum": [
|
|
848
849
|
"LOGO",
|
|
849
|
-
"FONT"
|
|
850
|
+
"FONT",
|
|
851
|
+
"IMAGE"
|
|
850
852
|
]
|
|
851
853
|
},
|
|
852
854
|
"file_data": {
|
|
@@ -1191,6 +1193,7 @@
|
|
|
1191
1193
|
"properties": {
|
|
1192
1194
|
"design_tokens": {
|
|
1193
1195
|
"type": "object",
|
|
1196
|
+
"description": "Design tokens for journey customization",
|
|
1194
1197
|
"properties": {
|
|
1195
1198
|
"coupon": {
|
|
1196
1199
|
"type": "string"
|
|
@@ -1200,6 +1203,255 @@
|
|
|
1200
1203
|
},
|
|
1201
1204
|
"custom_css": {
|
|
1202
1205
|
"type": "string"
|
|
1206
|
+
},
|
|
1207
|
+
"accent_color": {
|
|
1208
|
+
"type": "string",
|
|
1209
|
+
"description": "Accent color, defaults to primary"
|
|
1210
|
+
},
|
|
1211
|
+
"outline_color": {
|
|
1212
|
+
"type": "string",
|
|
1213
|
+
"description": "Global outline/focus color"
|
|
1214
|
+
},
|
|
1215
|
+
"divider_color": {
|
|
1216
|
+
"type": "string",
|
|
1217
|
+
"description": "Divider line color"
|
|
1218
|
+
},
|
|
1219
|
+
"link_color": {
|
|
1220
|
+
"type": "string",
|
|
1221
|
+
"description": "Link text color"
|
|
1222
|
+
},
|
|
1223
|
+
"link_hover_color": {
|
|
1224
|
+
"type": "string",
|
|
1225
|
+
"description": "Link hover text color"
|
|
1226
|
+
},
|
|
1227
|
+
"font_size_scale": {
|
|
1228
|
+
"type": "string",
|
|
1229
|
+
"description": "Font size scale factor",
|
|
1230
|
+
"enum": [
|
|
1231
|
+
"xs",
|
|
1232
|
+
"sm",
|
|
1233
|
+
"md",
|
|
1234
|
+
"lg",
|
|
1235
|
+
"xl"
|
|
1236
|
+
]
|
|
1237
|
+
},
|
|
1238
|
+
"topbar_height": {
|
|
1239
|
+
"type": "number",
|
|
1240
|
+
"description": "Topbar minimum height in pixels"
|
|
1241
|
+
},
|
|
1242
|
+
"topbar_logo_alignment": {
|
|
1243
|
+
"type": "string",
|
|
1244
|
+
"description": "Logo/content alignment in the top bar",
|
|
1245
|
+
"enum": [
|
|
1246
|
+
"flex-start",
|
|
1247
|
+
"center",
|
|
1248
|
+
"flex-end"
|
|
1249
|
+
]
|
|
1250
|
+
},
|
|
1251
|
+
"logo_size": {
|
|
1252
|
+
"type": "number",
|
|
1253
|
+
"description": "Logo size in pixels"
|
|
1254
|
+
},
|
|
1255
|
+
"input_background": {
|
|
1256
|
+
"type": "string",
|
|
1257
|
+
"description": "Input field background color"
|
|
1258
|
+
},
|
|
1259
|
+
"input_border_color": {
|
|
1260
|
+
"type": "string",
|
|
1261
|
+
"description": "Input field border color"
|
|
1262
|
+
},
|
|
1263
|
+
"input_text_color": {
|
|
1264
|
+
"type": "string",
|
|
1265
|
+
"description": "Input field text color"
|
|
1266
|
+
},
|
|
1267
|
+
"input_label_color": {
|
|
1268
|
+
"type": "string",
|
|
1269
|
+
"description": "Input field label color"
|
|
1270
|
+
},
|
|
1271
|
+
"input_border_radius": {
|
|
1272
|
+
"type": "number",
|
|
1273
|
+
"description": "Input field border radius in pixels"
|
|
1274
|
+
},
|
|
1275
|
+
"input_height": {
|
|
1276
|
+
"type": "number",
|
|
1277
|
+
"description": "Input field height in pixels"
|
|
1278
|
+
},
|
|
1279
|
+
"input_variant": {
|
|
1280
|
+
"type": "string",
|
|
1281
|
+
"description": "Input field variant style",
|
|
1282
|
+
"enum": [
|
|
1283
|
+
"outlined",
|
|
1284
|
+
"filled",
|
|
1285
|
+
"underlined"
|
|
1286
|
+
]
|
|
1287
|
+
},
|
|
1288
|
+
"button_primary_bg": {
|
|
1289
|
+
"type": "string",
|
|
1290
|
+
"description": "Primary button background color or gradient"
|
|
1291
|
+
},
|
|
1292
|
+
"button_primary_text": {
|
|
1293
|
+
"type": "string",
|
|
1294
|
+
"description": "Primary button text color"
|
|
1295
|
+
},
|
|
1296
|
+
"button_primary_hover_bg": {
|
|
1297
|
+
"type": "string",
|
|
1298
|
+
"description": "Primary button hover background color or gradient"
|
|
1299
|
+
},
|
|
1300
|
+
"button_primary_hover_text": {
|
|
1301
|
+
"type": "string",
|
|
1302
|
+
"description": "Primary button hover text color"
|
|
1303
|
+
},
|
|
1304
|
+
"button_outlined_border": {
|
|
1305
|
+
"type": "string",
|
|
1306
|
+
"description": "Outlined button border color"
|
|
1307
|
+
},
|
|
1308
|
+
"button_outlined_text": {
|
|
1309
|
+
"type": "string",
|
|
1310
|
+
"description": "Outlined button text color"
|
|
1311
|
+
},
|
|
1312
|
+
"button_outlined_hover_bg": {
|
|
1313
|
+
"type": "string",
|
|
1314
|
+
"description": "Outlined button hover background color"
|
|
1315
|
+
},
|
|
1316
|
+
"button_outlined_hover_text": {
|
|
1317
|
+
"type": "string",
|
|
1318
|
+
"description": "Outlined button hover text color"
|
|
1319
|
+
},
|
|
1320
|
+
"button_ghost_bg": {
|
|
1321
|
+
"type": "string",
|
|
1322
|
+
"description": "Ghost button background color"
|
|
1323
|
+
},
|
|
1324
|
+
"button_ghost_text": {
|
|
1325
|
+
"type": "string",
|
|
1326
|
+
"description": "Ghost button text color"
|
|
1327
|
+
},
|
|
1328
|
+
"button_ghost_hover_bg": {
|
|
1329
|
+
"type": "string",
|
|
1330
|
+
"description": "Ghost button hover background color"
|
|
1331
|
+
},
|
|
1332
|
+
"button_ghost_hover_text": {
|
|
1333
|
+
"type": "string",
|
|
1334
|
+
"description": "Ghost button hover text color"
|
|
1335
|
+
},
|
|
1336
|
+
"button_border_radius": {
|
|
1337
|
+
"type": "number",
|
|
1338
|
+
"description": "Button border radius in pixels"
|
|
1339
|
+
},
|
|
1340
|
+
"button_height": {
|
|
1341
|
+
"type": "number",
|
|
1342
|
+
"description": "Button height in pixels"
|
|
1343
|
+
},
|
|
1344
|
+
"card_background": {
|
|
1345
|
+
"type": "string",
|
|
1346
|
+
"description": "Card background color"
|
|
1347
|
+
},
|
|
1348
|
+
"card_border_color": {
|
|
1349
|
+
"type": "string",
|
|
1350
|
+
"description": "Card border color for outlined variant"
|
|
1351
|
+
},
|
|
1352
|
+
"card_variant": {
|
|
1353
|
+
"type": "string",
|
|
1354
|
+
"description": "Card visual variant",
|
|
1355
|
+
"enum": [
|
|
1356
|
+
"shadow",
|
|
1357
|
+
"outlined"
|
|
1358
|
+
]
|
|
1359
|
+
},
|
|
1360
|
+
"summary_card_background": {
|
|
1361
|
+
"type": "string",
|
|
1362
|
+
"description": "Summary card background color"
|
|
1363
|
+
},
|
|
1364
|
+
"toggle_selected_bg": {
|
|
1365
|
+
"type": "string",
|
|
1366
|
+
"description": "Toggle button selected background color"
|
|
1367
|
+
},
|
|
1368
|
+
"toggle_selected_text": {
|
|
1369
|
+
"type": "string",
|
|
1370
|
+
"description": "Toggle button selected text color"
|
|
1371
|
+
},
|
|
1372
|
+
"toggle_hover_bg": {
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"description": "Toggle button hover background color"
|
|
1375
|
+
},
|
|
1376
|
+
"toggle_hover_text": {
|
|
1377
|
+
"type": "string",
|
|
1378
|
+
"description": "Toggle button hover text color"
|
|
1379
|
+
},
|
|
1380
|
+
"toggle_border_color": {
|
|
1381
|
+
"type": "string",
|
|
1382
|
+
"description": "Toggle group wrapper border color"
|
|
1383
|
+
},
|
|
1384
|
+
"dropdown_hover_bg": {
|
|
1385
|
+
"type": "string",
|
|
1386
|
+
"description": "Dropdown option hover background color"
|
|
1387
|
+
},
|
|
1388
|
+
"dropdown_hover_text": {
|
|
1389
|
+
"type": "string",
|
|
1390
|
+
"description": "Dropdown option hover text color"
|
|
1391
|
+
},
|
|
1392
|
+
"dropdown_selected_bg": {
|
|
1393
|
+
"type": "string",
|
|
1394
|
+
"description": "Dropdown option selected background color"
|
|
1395
|
+
},
|
|
1396
|
+
"dropdown_selected_text": {
|
|
1397
|
+
"type": "string",
|
|
1398
|
+
"description": "Dropdown option selected text color"
|
|
1399
|
+
},
|
|
1400
|
+
"switch_unchecked_color": {
|
|
1401
|
+
"type": "string",
|
|
1402
|
+
"description": "Switch unchecked thumb color"
|
|
1403
|
+
},
|
|
1404
|
+
"switch_unchecked_bg": {
|
|
1405
|
+
"type": "string",
|
|
1406
|
+
"description": "Switch unchecked track background color"
|
|
1407
|
+
},
|
|
1408
|
+
"switch_border_radius": {
|
|
1409
|
+
"type": "number",
|
|
1410
|
+
"description": "Switch border radius in pixels"
|
|
1411
|
+
},
|
|
1412
|
+
"checkbox_unchecked_color": {
|
|
1413
|
+
"type": "string",
|
|
1414
|
+
"description": "Checkbox unchecked border color"
|
|
1415
|
+
},
|
|
1416
|
+
"checkbox_label_color": {
|
|
1417
|
+
"type": "string",
|
|
1418
|
+
"description": "Checkbox label text color"
|
|
1419
|
+
},
|
|
1420
|
+
"radio_unchecked_color": {
|
|
1421
|
+
"type": "string",
|
|
1422
|
+
"description": "Radio button unchecked border color"
|
|
1423
|
+
},
|
|
1424
|
+
"radio_label_color": {
|
|
1425
|
+
"type": "string",
|
|
1426
|
+
"description": "Radio button label text color"
|
|
1427
|
+
},
|
|
1428
|
+
"datepicker_selected_bg": {
|
|
1429
|
+
"type": "string",
|
|
1430
|
+
"description": "Date picker selected date background color"
|
|
1431
|
+
},
|
|
1432
|
+
"datepicker_selected_color": {
|
|
1433
|
+
"type": "string",
|
|
1434
|
+
"description": "Date picker selected date text color"
|
|
1435
|
+
},
|
|
1436
|
+
"datepicker_border_radius": {
|
|
1437
|
+
"type": "number",
|
|
1438
|
+
"description": "Date picker border radius in pixels"
|
|
1439
|
+
},
|
|
1440
|
+
"chip_background": {
|
|
1441
|
+
"type": "string",
|
|
1442
|
+
"description": "Chip background color"
|
|
1443
|
+
},
|
|
1444
|
+
"chip_hover_background": {
|
|
1445
|
+
"type": "string",
|
|
1446
|
+
"description": "Chip hover background color"
|
|
1447
|
+
},
|
|
1448
|
+
"chip_text_color": {
|
|
1449
|
+
"type": "string",
|
|
1450
|
+
"description": "Chip text color"
|
|
1451
|
+
},
|
|
1452
|
+
"chip_hover_text_color": {
|
|
1453
|
+
"type": "string",
|
|
1454
|
+
"description": "Chip hover text color"
|
|
1203
1455
|
}
|
|
1204
1456
|
}
|
|
1205
1457
|
}
|
|
@@ -1413,7 +1665,8 @@
|
|
|
1413
1665
|
"type": "string",
|
|
1414
1666
|
"enum": [
|
|
1415
1667
|
"LOGO",
|
|
1416
|
-
"FONT"
|
|
1668
|
+
"FONT",
|
|
1669
|
+
"IMAGE"
|
|
1417
1670
|
]
|
|
1418
1671
|
},
|
|
1419
1672
|
"s3_object_key": {
|
package/definitions/message.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.2",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Message API",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.5.0",
|
|
6
6
|
"description": "Send and receive email messages via your epilot organization\n"
|
|
7
7
|
},
|
|
8
8
|
"security": [
|
|
@@ -1680,6 +1680,16 @@
|
|
|
1680
1680
|
"schema": {
|
|
1681
1681
|
"type": "string"
|
|
1682
1682
|
}
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"name": "unlink_mapped_entities",
|
|
1686
|
+
"description": "When true, also removes unassigned entities from mapped_entities on related source entities",
|
|
1687
|
+
"in": "query",
|
|
1688
|
+
"required": false,
|
|
1689
|
+
"schema": {
|
|
1690
|
+
"type": "boolean",
|
|
1691
|
+
"default": false
|
|
1692
|
+
}
|
|
1683
1693
|
}
|
|
1684
1694
|
],
|
|
1685
1695
|
"requestBody": {
|
|
@@ -2775,7 +2785,7 @@
|
|
|
2775
2785
|
"timestamp": {
|
|
2776
2786
|
"type": "string",
|
|
2777
2787
|
"description": "Timestamp of the event",
|
|
2778
|
-
"example": "2024-01-01T00:00:
|
|
2788
|
+
"example": "2024-01-01T00:00:00Z"
|
|
2779
2789
|
}
|
|
2780
2790
|
}
|
|
2781
2791
|
},
|
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-XQLUS2BD.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.17",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -27,8 +27,8 @@ var main = defineCommand({
|
|
|
27
27
|
subCommands: {
|
|
28
28
|
auth: () => import("../auth-AAF6Z5WZ.js").then((m) => m.default),
|
|
29
29
|
profile: () => import("../profile-EK4HSQ57.js").then((m) => m.default),
|
|
30
|
-
completion: () => import("../completion-
|
|
31
|
-
upgrade: () => import("../upgrade-
|
|
30
|
+
completion: () => import("../completion-KA3HJ6PR.js").then((m) => m.default),
|
|
31
|
+
upgrade: () => import("../upgrade-RQP5SN7U.js").then((m) => m.default),
|
|
32
32
|
"access-token": () => import("../access-token-CIM4RLBP.js").then((m) => m.default),
|
|
33
33
|
address: () => import("../address-EDRTUWTP.js").then((m) => m.default),
|
|
34
34
|
"address-suggestions": () => import("../address-suggestions-S5WEST2N.js").then((m) => m.default),
|
|
@@ -90,11 +90,11 @@ process.stderr.on("error", (err) => {
|
|
|
90
90
|
if (err.code === "EPIPE") process.exit(0);
|
|
91
91
|
throw err;
|
|
92
92
|
});
|
|
93
|
-
var VERSION = true ? "0.1.
|
|
93
|
+
var VERSION = true ? "0.1.17" : (await null).default.version;
|
|
94
94
|
var args = process.argv.slice(2);
|
|
95
95
|
var completionsIdx = args.indexOf("--_completions");
|
|
96
96
|
if (completionsIdx >= 0) {
|
|
97
|
-
const { handleCompletions } = await import("../completion-
|
|
97
|
+
const { handleCompletions } = await import("../completion-KA3HJ6PR.js");
|
|
98
98
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
99
99
|
process.exit(0);
|
|
100
100
|
}
|
|
@@ -224,7 +224,7 @@ var API_LIST = [
|
|
|
224
224
|
kebabName: "customer-portal",
|
|
225
225
|
title: "Portal API",
|
|
226
226
|
serverUrl: "https://customer-portal-api.sls.epilot.io",
|
|
227
|
-
operationCount:
|
|
227
|
+
operationCount: 142,
|
|
228
228
|
operationIds: [
|
|
229
229
|
"upsertPortal",
|
|
230
230
|
"createUser",
|
|
@@ -256,6 +256,7 @@ var API_LIST = [
|
|
|
256
256
|
"getEmailTemplatesByPortalId",
|
|
257
257
|
"upsertEmailTemplatesByPortalId",
|
|
258
258
|
"getPublicPortalWidgets",
|
|
259
|
+
"getPublicPortalWidgetsV3",
|
|
259
260
|
"getPortalWidgets",
|
|
260
261
|
"upsertPortalWidget",
|
|
261
262
|
"getPortalWidgetsV3",
|
|
@@ -265,6 +266,7 @@ var API_LIST = [
|
|
|
265
266
|
"getOrganizationSettings",
|
|
266
267
|
"getSchemas",
|
|
267
268
|
"getSchemasByDomain",
|
|
269
|
+
"getPublicSchemasV3",
|
|
268
270
|
"getOrganizationSettingsByDomain",
|
|
269
271
|
"extraPermissionAttributes",
|
|
270
272
|
"validateCaaRecords",
|
|
@@ -330,6 +332,7 @@ var API_LIST = [
|
|
|
330
332
|
"uploadMeterReadingPhoto",
|
|
331
333
|
"createMeterReading",
|
|
332
334
|
"getAllowedMeterReadingRange",
|
|
335
|
+
"getMeterReadings",
|
|
333
336
|
"ssoLogin",
|
|
334
337
|
"ssoLoginV3",
|
|
335
338
|
"ssoRedirect",
|
|
@@ -358,6 +361,7 @@ var API_LIST = [
|
|
|
358
361
|
"deletePortalConfig",
|
|
359
362
|
"listAllPortalConfigs",
|
|
360
363
|
"swapPortalConfig",
|
|
364
|
+
"clonePortalConfig",
|
|
361
365
|
"invitePartner",
|
|
362
366
|
"listBusinessPartners",
|
|
363
367
|
"resendPartnerInvitation",
|
|
@@ -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.17";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|