@epilot/integration-toolkit-client 1.0.4 → 1.1.0

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/dist/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "Integration Toolkit API",
5
- "version": "1.0.4",
5
+ "version": "1.0.11",
6
6
  "description": "API for integrating with external systems in a standardised way."
7
7
  },
8
8
  "tags": [
@@ -1839,6 +1839,227 @@
1839
1839
  }
1840
1840
  }
1841
1841
  },
1842
+ "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist": {
1843
+ "get": {
1844
+ "operationId": "getSecureProxyWhitelist",
1845
+ "summary": "Get secure_proxy whitelist (admin portal only)",
1846
+ "description": "Returns the current allowed_domains, allowed_ips, and vpc_mode for a secure_proxy use case.\nStaff-only — gated by internal-auth issuer AND admin-portal Cognito user pool membership.\nRejects Login-As tokens.\n",
1847
+ "tags": [
1848
+ "integrations",
1849
+ "proxy"
1850
+ ],
1851
+ "security": [
1852
+ {
1853
+ "EpilotAuth": []
1854
+ }
1855
+ ],
1856
+ "parameters": [
1857
+ {
1858
+ "name": "integrationId",
1859
+ "in": "path",
1860
+ "required": true,
1861
+ "description": "The integration ID",
1862
+ "schema": {
1863
+ "type": "string",
1864
+ "format": "uuid"
1865
+ }
1866
+ },
1867
+ {
1868
+ "name": "useCaseId",
1869
+ "in": "path",
1870
+ "required": true,
1871
+ "description": "The use case ID",
1872
+ "schema": {
1873
+ "type": "string",
1874
+ "format": "uuid"
1875
+ }
1876
+ }
1877
+ ],
1878
+ "responses": {
1879
+ "200": {
1880
+ "description": "Current whitelist",
1881
+ "content": {
1882
+ "application/json": {
1883
+ "schema": {
1884
+ "$ref": "#/components/schemas/SecureProxyWhitelist"
1885
+ }
1886
+ }
1887
+ }
1888
+ },
1889
+ "400": {
1890
+ "$ref": "#/components/responses/BadRequest"
1891
+ },
1892
+ "401": {
1893
+ "$ref": "#/components/responses/Unauthorized"
1894
+ },
1895
+ "403": {
1896
+ "$ref": "#/components/responses/Forbidden"
1897
+ },
1898
+ "404": {
1899
+ "description": "Use case not found or not of type secure_proxy"
1900
+ }
1901
+ }
1902
+ },
1903
+ "put": {
1904
+ "operationId": "updateSecureProxyWhitelist",
1905
+ "summary": "Update secure_proxy whitelist (admin portal only)",
1906
+ "description": "Replaces allowed_domains and/or allowed_ips on a secure_proxy use case.\nAt least one of the two fields is required. Validation mirrors the CLI's\n`validateDomainPatterns` / `validateCidrs`. Writes a USECASE_HISTORY row\nwith the admin user's email as `changed_by`.\n\nUpdate semantics per field:\n - **omitted** — field is not modified; the stored value is preserved.\n - **non-empty array** — the stored value is replaced with the supplied list.\n - **empty array (`[]`)** — the list is cleared (stored as `[]`). This is\n the canonical way to remove all entries. `null` is not accepted.\n\nStaff-only — same auth gates as GET.\n",
1907
+ "tags": [
1908
+ "integrations",
1909
+ "proxy"
1910
+ ],
1911
+ "security": [
1912
+ {
1913
+ "EpilotAuth": []
1914
+ }
1915
+ ],
1916
+ "parameters": [
1917
+ {
1918
+ "name": "integrationId",
1919
+ "in": "path",
1920
+ "required": true,
1921
+ "description": "The integration ID",
1922
+ "schema": {
1923
+ "type": "string",
1924
+ "format": "uuid"
1925
+ }
1926
+ },
1927
+ {
1928
+ "name": "useCaseId",
1929
+ "in": "path",
1930
+ "required": true,
1931
+ "description": "The use case ID",
1932
+ "schema": {
1933
+ "type": "string",
1934
+ "format": "uuid"
1935
+ }
1936
+ }
1937
+ ],
1938
+ "requestBody": {
1939
+ "required": true,
1940
+ "content": {
1941
+ "application/json": {
1942
+ "schema": {
1943
+ "$ref": "#/components/schemas/SecureProxyWhitelistUpdate"
1944
+ }
1945
+ }
1946
+ }
1947
+ },
1948
+ "responses": {
1949
+ "200": {
1950
+ "description": "Updated whitelist (same shape as GET)",
1951
+ "content": {
1952
+ "application/json": {
1953
+ "schema": {
1954
+ "$ref": "#/components/schemas/SecureProxyWhitelist"
1955
+ }
1956
+ }
1957
+ }
1958
+ },
1959
+ "400": {
1960
+ "$ref": "#/components/responses/BadRequest"
1961
+ },
1962
+ "401": {
1963
+ "$ref": "#/components/responses/Unauthorized"
1964
+ },
1965
+ "403": {
1966
+ "$ref": "#/components/responses/Forbidden"
1967
+ },
1968
+ "404": {
1969
+ "description": "Use case not found or not of type secure_proxy"
1970
+ }
1971
+ }
1972
+ }
1973
+ },
1974
+ "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history": {
1975
+ "get": {
1976
+ "operationId": "listSecureProxyWhitelistHistory",
1977
+ "summary": "List secure_proxy whitelist change history (admin portal only)",
1978
+ "description": "Returns the most recent USECASE_HISTORY entries for a secure_proxy use case,\nin reverse chronological order (newest first). Each entry includes the\nactor email (`changed_by`), the ISO-8601 timestamp (`history_created_at`),\nthe `change_description` (free-text action), and the full `configuration`\nsnapshot — from which UI-08 computes a before/after diff between consecutive\nentries.\n\nStaff-only — gated by internal-auth issuer AND admin-portal Cognito user pool\nmembership. Rejects Login-As tokens (same auth gate as the GET / PUT\nsecure-proxy-whitelist operations).\n\nThin wrapper over the service-layer `listUseCaseHistory` that powers\n`GET /v1/integrations/{integrationId}/use-cases/{useCaseId}/history` — the\nseparate path exists because the /v1 variant is tenant-gated and admin-portal\ninternal-auth tokens do not carry tenant permissions.\n",
1979
+ "tags": [
1980
+ "integrations",
1981
+ "proxy"
1982
+ ],
1983
+ "security": [
1984
+ {
1985
+ "EpilotAuth": []
1986
+ }
1987
+ ],
1988
+ "parameters": [
1989
+ {
1990
+ "name": "integrationId",
1991
+ "in": "path",
1992
+ "required": true,
1993
+ "description": "The integration ID",
1994
+ "schema": {
1995
+ "type": "string",
1996
+ "format": "uuid"
1997
+ }
1998
+ },
1999
+ {
2000
+ "name": "useCaseId",
2001
+ "in": "path",
2002
+ "required": true,
2003
+ "description": "The use case ID (must be of type secure_proxy)",
2004
+ "schema": {
2005
+ "type": "string",
2006
+ "format": "uuid"
2007
+ }
2008
+ },
2009
+ {
2010
+ "name": "limit",
2011
+ "in": "query",
2012
+ "required": false,
2013
+ "description": "Maximum number of history entries to return. Default 10, max 50.\nCapped at the service-layer page size (20) so `limit > 20` is silently\nclamped to 20. UI-08 requests 5-10 for the panel view.\n",
2014
+ "schema": {
2015
+ "type": "integer",
2016
+ "minimum": 1,
2017
+ "maximum": 50,
2018
+ "default": 10
2019
+ }
2020
+ }
2021
+ ],
2022
+ "responses": {
2023
+ "200": {
2024
+ "description": "Successfully retrieved secure_proxy history",
2025
+ "content": {
2026
+ "application/json": {
2027
+ "schema": {
2028
+ "type": "object",
2029
+ "required": [
2030
+ "history"
2031
+ ],
2032
+ "properties": {
2033
+ "history": {
2034
+ "type": "array",
2035
+ "description": "Entries are `SecureProxyUseCaseHistoryEntry` in reverse\nchronological order (newest first). Entries older than the\nrequested `limit` are not returned.\n",
2036
+ "items": {
2037
+ "$ref": "#/components/schemas/SecureProxyUseCaseHistoryEntry"
2038
+ }
2039
+ }
2040
+ }
2041
+ }
2042
+ }
2043
+ }
2044
+ },
2045
+ "400": {
2046
+ "$ref": "#/components/responses/BadRequest"
2047
+ },
2048
+ "401": {
2049
+ "$ref": "#/components/responses/Unauthorized"
2050
+ },
2051
+ "403": {
2052
+ "$ref": "#/components/responses/Forbidden"
2053
+ },
2054
+ "404": {
2055
+ "description": "Use case not found or not of type secure_proxy"
2056
+ },
2057
+ "500": {
2058
+ "$ref": "#/components/responses/InternalServerError"
2059
+ }
2060
+ }
2061
+ }
2062
+ },
1842
2063
  "/v1/integrations/{integrationId}/app-mapping": {
1843
2064
  "put": {
1844
2065
  "operationId": "setIntegrationAppMapping",
@@ -3045,8 +3266,9 @@
3045
3266
  },
3046
3267
  "group_id": {
3047
3268
  "type": "string",
3048
- "description": "Optional override for the stage 1 FIFO message group ID used when queuing\nthe events for processing. Defaults to `INTEGRATION#<hash(integration_id)>`,\nwhich strictly serializes all events from one integration. Provide a\nfiner-grained value (e.g. including a use case slug or a payload-derived key)\nto pin related events to the same group while letting unrelated events process\nin parallel. Downstream stage 2 still serializes per-entity via its own\nmessage group ID.\n",
3049
- "maxLength": 128
3269
+ "description": "Controls ordering and parallelism for this request's events.\n\nBy default, all events for a given `integration_id` are processed\n**strictly in order, one at a time**. For high-volume integrations this\ncan become a throughput bottleneck.\n\nSet `group_id` to opt into **parallel processing**:\n- Events sharing the same `group_id` are processed in the order received.\n- Events with different `group_id` values are processed in parallel.\n\nTypical usage is to derive `group_id` from a logical partition key in\nyour payload for example the customer ID, contract ID, or meter ID —\nso updates to the same business object remain ordered while unrelated\nobjects are processed concurrently.\n\nNotes:\n- Up to 20 groups per integration are processed concurrently. Using\n more distinct values than that yields no additional parallelism.\n- Omit this field if strict per-integration ordering is required.\n",
3270
+ "maxLength": 128,
3271
+ "example": "customer-42"
3050
3272
  },
3051
3273
  "events": {
3052
3274
  "type": "array",
@@ -3822,6 +4044,12 @@
3822
4044
  },
3823
4045
  "file_proxy_url": {
3824
4046
  "$ref": "#/components/schemas/FileProxyUrlConfig"
4047
+ },
4048
+ "portal_ref": {
4049
+ "$ref": "#/components/schemas/PortalRefConfig"
4050
+ },
4051
+ "env_var_ref": {
4052
+ "$ref": "#/components/schemas/EnvVarRefConfig"
3825
4053
  }
3826
4054
  }
3827
4055
  },
@@ -3908,6 +4136,180 @@
3908
4136
  }
3909
4137
  ]
3910
4138
  },
4139
+ "PortalOrigin": {
4140
+ "type": "string",
4141
+ "enum": [
4142
+ "END_CUSTOMER_PORTAL",
4143
+ "INSTALLER_PORTAL",
4144
+ "B2B_PORTAL",
4145
+ "ADDITIONAL_PORTAL"
4146
+ ],
4147
+ "description": "Origin/type of an epilot portal configuration."
4148
+ },
4149
+ "PortalRefFilter": {
4150
+ "type": "object",
4151
+ "description": "Filter applied to the org's portal configurations before selection. All filters default to \"match any\" except `enabled` (default `true`) and `is_dummy` (default `false`). Set `enabled` or `is_dummy` to `null` to opt out of the default.\n",
4152
+ "properties": {
4153
+ "origin": {
4154
+ "oneOf": [
4155
+ {
4156
+ "$ref": "#/components/schemas/PortalOrigin"
4157
+ },
4158
+ {
4159
+ "type": "array",
4160
+ "items": {
4161
+ "$ref": "#/components/schemas/PortalOrigin"
4162
+ }
4163
+ }
4164
+ ],
4165
+ "description": "Single origin or array of origins (matches if origin is in the array)."
4166
+ },
4167
+ "enabled": {
4168
+ "type": "boolean",
4169
+ "nullable": true,
4170
+ "description": "Match portals with this `enabled` value. Default `true`. Set to `null` to ignore."
4171
+ },
4172
+ "is_dummy": {
4173
+ "type": "boolean",
4174
+ "nullable": true,
4175
+ "description": "Match portals with this `is_dummy` value. Default `false`. Set to `null` to ignore."
4176
+ },
4177
+ "is_epilot_domain": {
4178
+ "type": "boolean",
4179
+ "description": "Optional restriction on `is_epilot_domain`."
4180
+ },
4181
+ "name": {
4182
+ "type": "string",
4183
+ "description": "Exact match on the portal's `name`."
4184
+ },
4185
+ "domain": {
4186
+ "type": "string",
4187
+ "description": "Exact match on the portal's `domain`."
4188
+ }
4189
+ }
4190
+ },
4191
+ "PortalRefConfig": {
4192
+ "description": "Resolves to a property of one of the calling organization's epilot portal configurations at runtime, replacing hard-coded environment-specific portal UUIDs in inbound mappings. Matched portals are sorted ascending by `(_created_at, portal_id)`; portals without `_created_at` sort first (treated as oldest). When `select: \"single\"` matches more than one portal, the resolver still returns the oldest match and emits a `PORTAL_REF_AMBIGUOUS` warning.\n",
4193
+ "oneOf": [
4194
+ {
4195
+ "type": "object",
4196
+ "properties": {
4197
+ "filter": {
4198
+ "$ref": "#/components/schemas/PortalRefFilter"
4199
+ },
4200
+ "select": {
4201
+ "type": "string",
4202
+ "enum": [
4203
+ "single",
4204
+ "all"
4205
+ ],
4206
+ "default": "single",
4207
+ "description": "`single` returns one literal value (the oldest matching portal); `all` returns an array of literal values (0, 1, or many).\n"
4208
+ },
4209
+ "return": {
4210
+ "type": "string",
4211
+ "enum": [
4212
+ "portal_id",
4213
+ "origin",
4214
+ "domain",
4215
+ "name"
4216
+ ],
4217
+ "default": "portal_id",
4218
+ "description": "Which portal field to emit."
4219
+ }
4220
+ }
4221
+ },
4222
+ {
4223
+ "type": "object",
4224
+ "required": [
4225
+ "return",
4226
+ "jsonataExpression"
4227
+ ],
4228
+ "properties": {
4229
+ "filter": {
4230
+ "$ref": "#/components/schemas/PortalRefFilter"
4231
+ },
4232
+ "select": {
4233
+ "type": "string",
4234
+ "enum": [
4235
+ "single",
4236
+ "all"
4237
+ ],
4238
+ "default": "single"
4239
+ },
4240
+ "return": {
4241
+ "type": "string",
4242
+ "enum": [
4243
+ "jsonata"
4244
+ ],
4245
+ "description": "Evaluate the sibling `jsonataExpression` against the matched portal(s). With `select: \"single\"` the input is the matched PortalConfig object; with `select: \"all\"` it is the full filtered+sorted array.\n"
4246
+ },
4247
+ "jsonataExpression": {
4248
+ "type": "string",
4249
+ "description": "JSONata expression evaluated against the matched portal(s)."
4250
+ }
4251
+ }
4252
+ }
4253
+ ]
4254
+ },
4255
+ "EnvVarRefConfig": {
4256
+ "description": "Resolves to an org-scoped environment variable from the epilot environments-api service at runtime, replacing hard-coded environment-specific values (URLs, prefixes, identifiers) in inbound mappings. Secrets (`SecretString` values) are never exposed; the runtime treats both \"missing key\" and \"secret-typed key\" as identical `undefined` outcomes (no info disclosure via error code). For secret-resolving contexts (e.g. authorization headers in managed-call or file-proxy step configurations), use the templated `{{ env.<key> }}` syntax instead — that mechanism does decrypt secrets.\n",
4257
+ "oneOf": [
4258
+ {
4259
+ "type": "object",
4260
+ "required": [
4261
+ "key"
4262
+ ],
4263
+ "properties": {
4264
+ "key": {
4265
+ "type": "string",
4266
+ "pattern": "^[a-z0-9][a-z0-9_.-]{0,127}$",
4267
+ "description": "Environment variable key. Must match the environments-api key contract (lowercase, digits, `_`, `.`, `-`; max 128 chars; starts with a lowercase letter or digit). Supports dot-namespaced keys like `erp_api.base_url`.\n"
4268
+ },
4269
+ "default": {
4270
+ "type": "string",
4271
+ "description": "Literal string returned when the key is missing (or is a secret). When provided, the `ENV_VAR_REF_NOT_FOUND` warning is suppressed because the author signalled the absence is expected.\n"
4272
+ },
4273
+ "return": {
4274
+ "type": "string",
4275
+ "enum": [
4276
+ "value"
4277
+ ],
4278
+ "default": "value",
4279
+ "description": "`value` returns the resolved env-var string as-is.\n"
4280
+ }
4281
+ }
4282
+ },
4283
+ {
4284
+ "type": "object",
4285
+ "required": [
4286
+ "key",
4287
+ "return",
4288
+ "jsonataExpression"
4289
+ ],
4290
+ "properties": {
4291
+ "key": {
4292
+ "type": "string",
4293
+ "pattern": "^[a-z0-9][a-z0-9_.-]{0,127}$"
4294
+ },
4295
+ "default": {
4296
+ "type": "string"
4297
+ },
4298
+ "return": {
4299
+ "type": "string",
4300
+ "enum": [
4301
+ "jsonata"
4302
+ ],
4303
+ "description": "Evaluate the sibling `jsonataExpression` against the resolved env-var value (the input `$` is the string value).\n"
4304
+ },
4305
+ "jsonataExpression": {
4306
+ "type": "string",
4307
+ "description": "JSONata expression evaluated against the resolved env-var value."
4308
+ }
4309
+ }
4310
+ }
4311
+ ]
4312
+ },
3911
4313
  "EmbeddedUseCaseRequest": {
3912
4314
  "oneOf": [
3913
4315
  {
@@ -3961,7 +4363,7 @@
3961
4363
  "pattern": "^[a-z0-9][a-z0-9_-]*$",
3962
4364
  "minLength": 1,
3963
4365
  "maxLength": 255,
3964
- "description": "URL-safe identifier for the use case. Recommended for portable cross-environment referencing. Must be unique per integration. Immutable after creation.\n"
4366
+ "description": "URL-safe identifier for the use case. Optional on this upsert/sync endpoint when omitted, the server derives one from the name and ensures uniqueness within the integration. Immutable after creation.\n"
3965
4367
  },
3966
4368
  "enabled": {
3967
4369
  "type": "boolean",
@@ -4357,6 +4759,7 @@
4357
4759
  "type": "object",
4358
4760
  "required": [
4359
4761
  "name",
4762
+ "slug",
4360
4763
  "type",
4361
4764
  "enabled"
4362
4765
  ],
@@ -4372,7 +4775,7 @@
4372
4775
  "pattern": "^[a-z0-9][a-z0-9_-]*$",
4373
4776
  "minLength": 1,
4374
4777
  "maxLength": 255,
4375
- "description": "URL-safe identifier for the use case. Recommended for portable cross-environment referencing. Must be unique per integration. Immutable after creation. Lowercase alphanumeric, hyphens, and underscores only.\n"
4778
+ "description": "URL-safe identifier for the use case. Required for explicit creates so every use case has a portable cross-environment identifier. Must be unique per integration. Immutable after creation. Lowercase alphanumeric, hyphens, and underscores only.\n"
4376
4779
  },
4377
4780
  "enabled": {
4378
4781
  "type": "boolean",
@@ -4748,6 +5151,10 @@
4748
5151
  "type": "string",
4749
5152
  "description": "Description of the change that was made at this point in history"
4750
5153
  },
5154
+ "changed_by": {
5155
+ "type": "string",
5156
+ "description": "User ID of the user who made the change that produced this history entry"
5157
+ },
4751
5158
  "created_at": {
4752
5159
  "type": "string",
4753
5160
  "format": "date-time",
@@ -4931,6 +5338,61 @@
4931
5338
  }
4932
5339
  }
4933
5340
  },
5341
+ "SecureProxyWhitelist": {
5342
+ "type": "object",
5343
+ "required": [
5344
+ "vpc_mode",
5345
+ "allowed_domains",
5346
+ "allowed_ips"
5347
+ ],
5348
+ "description": "Current whitelist state for a secure_proxy use case. vpc_mode is read-only\ncontext so the UI can show the user what mode the pool is in.\n",
5349
+ "properties": {
5350
+ "vpc_mode": {
5351
+ "type": "string",
5352
+ "nullable": true,
5353
+ "enum": [
5354
+ "static_ip",
5355
+ "secure_link"
5356
+ ],
5357
+ "description": "VPC routing mode (read-only). `null` if not yet set."
5358
+ },
5359
+ "allowed_domains": {
5360
+ "type": "array",
5361
+ "items": {
5362
+ "type": "string"
5363
+ },
5364
+ "description": "Exact domain (\"api.example.com\") or wildcard prefix (\"*.example.com\").\nWildcards must have at least 2 labels in the suffix.\n"
5365
+ },
5366
+ "allowed_ips": {
5367
+ "type": "array",
5368
+ "items": {
5369
+ "type": "string"
5370
+ },
5371
+ "description": "CIDR-notation IP ranges, e.g. \"10.0.0.0/24\"."
5372
+ }
5373
+ }
5374
+ },
5375
+ "SecureProxyWhitelistUpdate": {
5376
+ "type": "object",
5377
+ "description": "Partial update for a secure_proxy whitelist. At least one of\n`allowed_domains` or `allowed_ips` must be provided.\n\nPer-field semantics:\n - **omitted** — the field is not modified; the stored value is preserved.\n - **non-empty array** — the stored value is replaced with the supplied list.\n - **empty array (`[]`)** — the list is cleared (stored as `[]`). This is the\n canonical way to remove all entries from a list. `null` is not accepted.\n",
5378
+ "minProperties": 1,
5379
+ "properties": {
5380
+ "allowed_domains": {
5381
+ "type": "array",
5382
+ "items": {
5383
+ "type": "string"
5384
+ },
5385
+ "description": "Exact domain (\"api.example.com\") or wildcard prefix (\"*.example.com\").\nWildcards must have at least 2 labels in the suffix.\nPass `[]` to clear all allowed domains.\n"
5386
+ },
5387
+ "allowed_ips": {
5388
+ "type": "array",
5389
+ "items": {
5390
+ "type": "string"
5391
+ },
5392
+ "description": "CIDR-notation IP ranges, e.g. \"10.0.0.0/24\".\nPass `[]` to clear all allowed IPs.\n"
5393
+ }
5394
+ }
5395
+ },
4934
5396
  "SecureProxySummary": {
4935
5397
  "type": "object",
4936
5398
  "required": [
@@ -5472,6 +5934,15 @@
5472
5934
  },
5473
5935
  "description": "Additional use-case-specific parameters expected in the download URL query string (beyond the required orgId, integrationId, and useCaseSlug or useCaseId)"
5474
5936
  },
5937
+ "allowed_origins": {
5938
+ "type": "array",
5939
+ "items": {
5940
+ "type": "string",
5941
+ "format": "uri",
5942
+ "pattern": "^https?://"
5943
+ },
5944
+ "description": "Additional origins permitted to call /download for this use case (CORS, exact match). Portal origins are always allowed."
5945
+ },
5475
5946
  "steps": {
5476
5947
  "type": "array",
5477
5948
  "minItems": 1,
@@ -5852,7 +6323,7 @@
5852
6323
  "attributes": {
5853
6324
  "type": "object",
5854
6325
  "additionalProperties": true,
5855
- "description": "Meter reading attributes. Required: external_id, timestamp, source, value. `source` must be one of: ECP, ERP, 360, journey-submission. `reason` (optional) must be one of: regular, irregular, last, first, meter_change, contract_change, meter_adjustment (or empty/null)."
6326
+ "description": "Meter reading attributes. Required: external_id, timestamp, source, value. `timestamp` must be ISO 8601 — either `YYYY-MM-DD` or `YYYY-MM-DDTHH:mm:ss` (with optional fractional seconds and optional `Z` / `±HH:mm` timezone offset); non-ISO formats (e.g. `DD.MM.YYYY` or epoch numbers) are rejected and must be converted upstream via a `jsonataExpression` (e.g. `$fromMillis(...)`). Date-only values are normalized to midnight UTC and offset-less date-times are anchored to UTC before being forwarded to the metering API. `source` must be one of: ECP, ERP, 360, journey-submission. `reason` (optional) must be one of: regular, irregular, last, first, meter_change, contract_change, meter_adjustment (or empty/null)."
5856
6327
  }
5857
6328
  }
5858
6329
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/integration-toolkit-client",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "description": "Client library for epilot Integration Toolkit API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",