@openeld/openeld 0.1.0 → 0.1.1

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.
Files changed (102) hide show
  1. package/README.md +166 -24
  2. package/dist/index.d.ts +8045 -0
  3. package/dist/index.js +2072 -0
  4. package/docs/README.md +71 -0
  5. package/docs/architecture/README.md +4 -0
  6. package/docs/concepts/schema-and-generated-bindings.md +74 -0
  7. package/docs/decisions/README.md +4 -0
  8. package/docs/getting-started/quickstart.md +62 -0
  9. package/docs/guides/normalization.md +106 -0
  10. package/docs/guides/query-and-sync.md +59 -0
  11. package/docs/guides/transports-and-remote-services.md +79 -0
  12. package/docs/protobuf/README.md +15 -11
  13. package/docs/providers/README.md +35 -54
  14. package/docs/providers/capability-matrix.md +2 -0
  15. package/docs/providers/geotab.md +55 -23
  16. package/docs/providers/keeptruckin.md +32 -22
  17. package/docs/providers/motive.md +52 -21
  18. package/docs/providers/provider-template.md +2 -0
  19. package/docs/providers/samsara.md +57 -25
  20. package/docs/providers/verification-matrix.md +2 -0
  21. package/docs/services/README.md +4 -0
  22. package/examples/ts/README.md +67 -1
  23. package/gen/README.md +8 -0
  24. package/gen/ts/common/metadata/audit_pb.d.ts +84 -0
  25. package/gen/ts/common/metadata/audit_pb.js +27 -0
  26. package/gen/ts/common/metadata/source_pb.d.ts +128 -0
  27. package/gen/ts/common/metadata/source_pb.js +34 -0
  28. package/gen/ts/common/primitives/ids_pb.d.ts +81 -0
  29. package/gen/ts/common/primitives/ids_pb.js +33 -0
  30. package/gen/ts/common/primitives/location_pb.d.ts +91 -0
  31. package/gen/ts/common/primitives/location_pb.js +33 -0
  32. package/gen/ts/common/primitives/time_pb.d.ts +82 -0
  33. package/gen/ts/common/primitives/time_pb.js +34 -0
  34. package/gen/ts/common/units/measurements_pb.d.ts +102 -0
  35. package/gen/ts/common/units/measurements_pb.js +47 -0
  36. package/gen/ts/logistics/asset_location_pb.d.ts +64 -0
  37. package/gen/ts/logistics/asset_location_pb.js +23 -0
  38. package/gen/ts/logistics/asset_pb.d.ts +93 -0
  39. package/gen/ts/logistics/asset_pb.js +22 -0
  40. package/gen/ts/logistics/carrier_pb.d.ts +67 -0
  41. package/gen/ts/logistics/carrier_pb.js +21 -0
  42. package/gen/ts/logistics/data_consent_pb.d.ts +89 -0
  43. package/gen/ts/logistics/data_consent_pb.js +23 -0
  44. package/gen/ts/logistics/driver_pb.d.ts +109 -0
  45. package/gen/ts/logistics/driver_pb.js +23 -0
  46. package/gen/ts/logistics/dvir_pb.d.ts +132 -0
  47. package/gen/ts/logistics/dvir_pb.js +30 -0
  48. package/gen/ts/logistics/enums_pb.d.ts +837 -0
  49. package/gen/ts/logistics/enums_pb.js +264 -0
  50. package/gen/ts/logistics/gps_location_pb.d.ts +85 -0
  51. package/gen/ts/logistics/gps_location_pb.js +24 -0
  52. package/gen/ts/logistics/hos_daily_summary_pb.d.ts +139 -0
  53. package/gen/ts/logistics/hos_daily_summary_pb.js +32 -0
  54. package/gen/ts/logistics/hos_event_pb.d.ts +159 -0
  55. package/gen/ts/logistics/hos_event_pb.js +32 -0
  56. package/gen/ts/logistics/ifta_trip_pb.d.ts +85 -0
  57. package/gen/ts/logistics/ifta_trip_pb.js +24 -0
  58. package/gen/ts/logistics/safety_event_pb.d.ts +96 -0
  59. package/gen/ts/logistics/safety_event_pb.js +25 -0
  60. package/gen/ts/logistics/vehicle_assignment_pb.d.ts +91 -0
  61. package/gen/ts/logistics/vehicle_assignment_pb.js +29 -0
  62. package/gen/ts/logistics/vehicle_pb.d.ts +98 -0
  63. package/gen/ts/logistics/vehicle_pb.js +22 -0
  64. package/gen/ts/providers/eld/geotab/contracts_pb.d.ts +453 -0
  65. package/gen/ts/providers/eld/geotab/contracts_pb.js +70 -0
  66. package/gen/ts/providers/eld/keeptruckin/contracts_pb.d.ts +443 -0
  67. package/gen/ts/providers/eld/keeptruckin/contracts_pb.js +70 -0
  68. package/gen/ts/providers/eld/motive/contracts_pb.d.ts +468 -0
  69. package/gen/ts/providers/eld/motive/contracts_pb.js +70 -0
  70. package/gen/ts/providers/eld/samsara/contracts_pb.d.ts +474 -0
  71. package/gen/ts/providers/eld/samsara/contracts_pb.js +71 -0
  72. package/gen/ts/providers/eld/shared/common_pb.d.ts +752 -0
  73. package/gen/ts/providers/eld/shared/common_pb.js +113 -0
  74. package/gen/ts/providers/telematics/fleet_complete/contracts_pb.d.ts +46 -0
  75. package/gen/ts/providers/telematics/fleet_complete/contracts_pb.js +20 -0
  76. package/gen/ts/providers/telematics/fourkites/contracts_pb.d.ts +46 -0
  77. package/gen/ts/providers/telematics/fourkites/contracts_pb.js +20 -0
  78. package/gen/ts/providers/telematics/project44/contracts_pb.d.ts +46 -0
  79. package/gen/ts/providers/telematics/project44/contracts_pb.js +20 -0
  80. package/gen/ts/providers/telematics/shared/common_pb.d.ts +192 -0
  81. package/gen/ts/providers/telematics/shared/common_pb.js +43 -0
  82. package/gen/ts/providers/telematics/verizon_connect/contracts_pb.d.ts +46 -0
  83. package/gen/ts/providers/telematics/verizon_connect/contracts_pb.js +20 -0
  84. package/gen/ts/services/ingestion/service_pb.d.ts +128 -0
  85. package/gen/ts/services/ingestion/service_pb.js +40 -0
  86. package/gen/ts/services/normalization/service_pb.d.ts +201 -0
  87. package/gen/ts/services/normalization/service_pb.js +53 -0
  88. package/gen/ts/services/query/service_pb.d.ts +1018 -0
  89. package/gen/ts/services/query/service_pb.js +278 -0
  90. package/gen/ts/services/sync/service_pb.d.ts +361 -0
  91. package/gen/ts/services/sync/service_pb.js +97 -0
  92. package/gen/ts/v1/openeld_pb.d.ts +11 -0
  93. package/gen/ts/v1/openeld_pb.js +46 -0
  94. package/package.json +45 -11
  95. package/src/clients/.gitkeep +0 -0
  96. package/src/fixture-normalization.ts +0 -471
  97. package/src/generated/README.md +0 -3
  98. package/src/generated/ts/.gitkeep +0 -0
  99. package/src/index.ts +0 -1
  100. package/src/mappers/.gitkeep +0 -0
  101. package/src/registry/.gitkeep +0 -0
  102. /package/{src/adapters/providers → gen/ts}/.gitkeep +0 -0
@@ -0,0 +1,97 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file services/sync/service.proto (package openeld.services.sync.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_common_metadata_source } from "../../common/metadata/source_pb";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file services/sync/service.proto.
11
+ */
12
+ export const file_services_sync_service = /*@__PURE__*/
13
+ fileDesc("ChtzZXJ2aWNlcy9zeW5jL3NlcnZpY2UucHJvdG8SGG9wZW5lbGQuc2VydmljZXMuc3luYy52MSLLAQoRU3luY1Jlc291cmNlU2NvcGUSEQoJdGVuYW50X2lkGAEgASgJEhcKCmNhcnJpZXJfaWQYAiABKAlIAIgBARIgChNwcm92aWRlcl9hY2NvdW50X2lkGAMgASgJSAGIAQESQQoNcmVzb3VyY2VfdHlwZRgEIAEoDjIqLm9wZW5lbGQuc2VydmljZXMuc3luYy52MS5TeW5jUmVzb3VyY2VUeXBlQg0KC19jYXJyaWVyX2lkQhYKFF9wcm92aWRlcl9hY2NvdW50X2lkIpYDCg5TeW5jQ2hlY2twb2ludBI2CgRraW5kGAEgASgOMigub3BlbmVsZC5zZXJ2aWNlcy5zeW5jLnYxLkNoZWNrcG9pbnRLaW5kEhMKBmN1cnNvchgCIAEoCUgAiAEBEhcKCnBhZ2VfdG9rZW4YAyABKAlIAYgBARIaCg12ZXJzaW9uX3Rva2VuGAQgASgJSAKIAQESNQoMd2luZG93X3N0YXJ0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgDiAEBEjMKCndpbmRvd19lbmQYBiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSASIAQESNwoObGFzdF9zeW5jZWRfYXQYByABKAsyGi5nb29nb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UE9JTlRfS0lORF9WRVJTSU9OX1RPS0VOEAMSHwobQ0hFQ0tQT0lOVF9LSU5EX1RJTUVfV0lORE9XEAQSHQoZQ0hFQ0tQT0lOVF9LSU5EX0NPTVBPU0lURRAFMpMCCgtTeW5jU2VydmljZRJ8ChFHZXRTeW5jQ2hlY2twb2ludBIyLm9wZW5lbGQuc2VydmljZXMuc3luYy52MS5HZXRTeW5jQ2hlY2twb2ludFJlcXVlc3QaMy5vcGVuZWxkLnNlcnZpY2VzLnN5bmMudjEuR2V0U3luY0NoZWNrcG9pbnRSZXNwb25zZRKFAQoUVXBkYXRlU3luY0NoZWNrcG9pbnQSNS5vcGVuZWxkLnNlcnZpY2VzLnN5bmMudjEuVXBkYXRlU3luY0NoZWNrcG9pbnRSZXF1ZXN0GjYub3BlbmVsZC5zZXJ2aWNlcy5zeW5jLnYxLlVwZGF0ZVN5bmNDaGVja3BvaW50UmVzcG9uc2ViBnByb3RvMw", [file_common_metadata_source, file_google_protobuf_timestamp]);
14
+
15
+ /**
16
+ * Describes the message openeld.services.sync.v1.SyncResourceScope.
17
+ * Use `create(SyncResourceScopeSchema)` to create a new message.
18
+ */
19
+ export const SyncResourceScopeSchema = /*@__PURE__*/
20
+ messageDesc(file_services_sync_service, 0);
21
+
22
+ /**
23
+ * Describes the message openeld.services.sync.v1.SyncCheckpoint.
24
+ * Use `create(SyncCheckpointSchema)` to create a new message.
25
+ */
26
+ export const SyncCheckpointSchema = /*@__PURE__*/
27
+ messageDesc(file_services_sync_service, 1);
28
+
29
+ /**
30
+ * Describes the message openeld.services.sync.v1.SyncHealth.
31
+ * Use `create(SyncHealthSchema)` to create a new message.
32
+ */
33
+ export const SyncHealthSchema = /*@__PURE__*/
34
+ messageDesc(file_services_sync_service, 2);
35
+
36
+ /**
37
+ * Describes the message openeld.services.sync.v1.GetSyncCheckpointRequest.
38
+ * Use `create(GetSyncCheckpointRequestSchema)` to create a new message.
39
+ */
40
+ export const GetSyncCheckpointRequestSchema = /*@__PURE__*/
41
+ messageDesc(file_services_sync_service, 3);
42
+
43
+ /**
44
+ * Describes the message openeld.services.sync.v1.GetSyncCheckpointResponse.
45
+ * Use `create(GetSyncCheckpointResponseSchema)` to create a new message.
46
+ */
47
+ export const GetSyncCheckpointResponseSchema = /*@__PURE__*/
48
+ messageDesc(file_services_sync_service, 4);
49
+
50
+ /**
51
+ * Describes the message openeld.services.sync.v1.UpdateSyncCheckpointRequest.
52
+ * Use `create(UpdateSyncCheckpointRequestSchema)` to create a new message.
53
+ */
54
+ export const UpdateSyncCheckpointRequestSchema = /*@__PURE__*/
55
+ messageDesc(file_services_sync_service, 5);
56
+
57
+ /**
58
+ * Describes the message openeld.services.sync.v1.UpdateSyncCheckpointResponse.
59
+ * Use `create(UpdateSyncCheckpointResponseSchema)` to create a new message.
60
+ */
61
+ export const UpdateSyncCheckpointResponseSchema = /*@__PURE__*/
62
+ messageDesc(file_services_sync_service, 6);
63
+
64
+ /**
65
+ * Describes the enum openeld.services.sync.v1.SyncResourceType.
66
+ */
67
+ export const SyncResourceTypeSchema = /*@__PURE__*/
68
+ enumDesc(file_services_sync_service, 0);
69
+
70
+ /**
71
+ * * Represents the resource family being synchronized.
72
+ *
73
+ * @generated from enum openeld.services.sync.v1.SyncResourceType
74
+ */
75
+ export const SyncResourceType = /*@__PURE__*/
76
+ tsEnum(SyncResourceTypeSchema);
77
+
78
+ /**
79
+ * Describes the enum openeld.services.sync.v1.CheckpointKind.
80
+ */
81
+ export const CheckpointKindSchema = /*@__PURE__*/
82
+ enumDesc(file_services_sync_service, 1);
83
+
84
+ /**
85
+ * * Represents the checkpoint style used by a provider resource.
86
+ *
87
+ * @generated from enum openeld.services.sync.v1.CheckpointKind
88
+ */
89
+ export const CheckpointKind = /*@__PURE__*/
90
+ tsEnum(CheckpointKindSchema);
91
+
92
+ /**
93
+ * @generated from service openeld.services.sync.v1.SyncService
94
+ */
95
+ export const SyncService = /*@__PURE__*/
96
+ serviceDesc(file_services_sync_service, 0);
97
+
@@ -0,0 +1,11 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file v1/openeld.proto (package openeld.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file v1/openeld.proto.
9
+ */
10
+ export declare const file_v1_openeld: GenFile;
11
+
@@ -0,0 +1,46 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file v1/openeld.proto (package openeld.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_common_metadata_audit } from "../common/metadata/audit_pb";
7
+ import { file_common_metadata_source } from "../common/metadata/source_pb";
8
+ import { file_common_primitives_ids } from "../common/primitives/ids_pb";
9
+ import { file_common_primitives_location } from "../common/primitives/location_pb";
10
+ import { file_common_primitives_time } from "../common/primitives/time_pb";
11
+ import { file_common_units_measurements } from "../common/units/measurements_pb";
12
+ import { file_logistics_asset } from "../logistics/asset_pb";
13
+ import { file_logistics_asset_location } from "../logistics/asset_location_pb";
14
+ import { file_logistics_carrier } from "../logistics/carrier_pb";
15
+ import { file_logistics_data_consent } from "../logistics/data_consent_pb";
16
+ import { file_logistics_driver } from "../logistics/driver_pb";
17
+ import { file_logistics_dvir } from "../logistics/dvir_pb";
18
+ import { file_logistics_enums } from "../logistics/enums_pb";
19
+ import { file_logistics_gps_location } from "../logistics/gps_location_pb";
20
+ import { file_logistics_hos_daily_summary } from "../logistics/hos_daily_summary_pb";
21
+ import { file_logistics_hos_event } from "../logistics/hos_event_pb";
22
+ import { file_logistics_ifta_trip } from "../logistics/ifta_trip_pb";
23
+ import { file_logistics_safety_event } from "../logistics/safety_event_pb";
24
+ import { file_logistics_vehicle } from "../logistics/vehicle_pb";
25
+ import { file_logistics_vehicle_assignment } from "../logistics/vehicle_assignment_pb";
26
+ import { file_providers_eld_geotab_contracts } from "../providers/eld/geotab/contracts_pb";
27
+ import { file_providers_eld_keeptruckin_contracts } from "../providers/eld/keeptruckin/contracts_pb";
28
+ import { file_providers_eld_motive_contracts } from "../providers/eld/motive/contracts_pb";
29
+ import { file_providers_eld_samsara_contracts } from "../providers/eld/samsara/contracts_pb";
30
+ import { file_providers_eld_shared_common } from "../providers/eld/shared/common_pb";
31
+ import { file_providers_telematics_fleet_complete_contracts } from "../providers/telematics/fleet_complete/contracts_pb";
32
+ import { file_providers_telematics_fourkites_contracts } from "../providers/telematics/fourkites/contracts_pb";
33
+ import { file_providers_telematics_project44_contracts } from "../providers/telematics/project44/contracts_pb";
34
+ import { file_providers_telematics_shared_common } from "../providers/telematics/shared/common_pb";
35
+ import { file_providers_telematics_verizon_connect_contracts } from "../providers/telematics/verizon_connect/contracts_pb";
36
+ import { file_services_ingestion_service } from "../services/ingestion/service_pb";
37
+ import { file_services_normalization_service } from "../services/normalization/service_pb";
38
+ import { file_services_query_service } from "../services/query/service_pb";
39
+ import { file_services_sync_service } from "../services/sync/service_pb";
40
+
41
+ /**
42
+ * Describes the file v1/openeld.proto.
43
+ */
44
+ export const file_v1_openeld = /*@__PURE__*/
45
+ fileDesc("ChB2MS9vcGVuZWxkLnByb3RvEgpvcGVuZWxkLnYxUABQAVACUANQBFAFUAZQB1AIUAlQClALUAxQDVAOUA9QEFARUBJQE1AUUBVQFlAXUBhQGVAaUBtQHFAdUB5QH1AgUCFiBnByb3RvMw", [file_common_metadata_audit, file_common_metadata_source, file_common_primitives_ids, file_common_primitives_location, file_common_primitives_time, file_common_units_measurements, file_logistics_asset, file_logistics_asset_location, file_logistics_carrier, file_logistics_data_consent, file_logistics_driver, file_logistics_dvir, file_logistics_enums, file_logistics_gps_location, file_logistics_hos_daily_summary, file_logistics_hos_event, file_logistics_ifta_trip, file_logistics_safety_event, file_logistics_vehicle, file_logistics_vehicle_assignment, file_providers_eld_geotab_contracts, file_providers_eld_keeptruckin_contracts, file_providers_eld_motive_contracts, file_providers_eld_samsara_contracts, file_providers_eld_shared_common, file_providers_telematics_fleet_complete_contracts, file_providers_telematics_fourkites_contracts, file_providers_telematics_project44_contracts, file_providers_telematics_shared_common, file_providers_telematics_verizon_connect_contracts, file_services_ingestion_service, file_services_normalization_service, file_services_query_service, file_services_sync_service]);
46
+
package/package.json CHANGED
@@ -1,34 +1,68 @@
1
1
  {
2
2
  "name": "@openeld/openeld",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Universal protobuf-first data interface for logistics ELD and telematics integrations.",
5
5
  "type": "module",
6
- "module": "src/index.ts",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
7
8
  "exports": {
8
- ".": "./src/index.ts"
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ },
13
+ "./client": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js"
16
+ },
17
+ "./generated": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ }
9
21
  },
10
22
  "files": [
23
+ "dist",
24
+ "gen/ts",
11
25
  "proto",
12
- "src",
13
26
  "buf",
14
27
  "docs",
15
- "examples"
28
+ "examples",
29
+ "README.md"
16
30
  ],
17
31
  "scripts": {
32
+ "build": "tsup src/index.ts --format esm --dts --clean",
33
+ "ci": "bun run build && bun run test:coverage:check && bun run test:coverage",
34
+ "changeset": "changeset",
18
35
  "proto:lint": "buf lint",
19
36
  "proto:breaking": "buf breaking --against '.git#branch=main'",
20
37
  "gen": "buf generate --template buf/buf.gen.yaml",
38
+ "release": "changeset publish",
21
39
  "test": "bun test",
40
+ "test:coverage": "bun --config ./bunfig.coverage.toml test",
41
+ "test:coverage:check": "bun test",
22
42
  "test:contract": "bun test tests/contract",
23
- "test:integration": "bun test tests/integration"
43
+ "test:integration": "bun test tests/integration",
44
+ "version:packages": "changeset version",
45
+ "prepublishOnly": "bun run ci"
24
46
  },
25
- "devDependencies": {
26
- "@types/bun": "latest"
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "git+https://github.com/OpenEld/openeld.git"
50
+ },
51
+ "homepage": "https://github.com/OpenEld/openeld#readme",
52
+ "bugs": {
53
+ "url": "https://github.com/OpenEld/openeld/issues"
27
54
  },
28
- "peerDependencies": {
29
- "typescript": "^5"
55
+ "publishConfig": {
56
+ "access": "public"
57
+ },
58
+ "devDependencies": {
59
+ "@changesets/changelog-github": "^0.6.0",
60
+ "@changesets/cli": "^2.30.0",
61
+ "@types/bun": "latest",
62
+ "tsup": "^8.5.1",
63
+ "typescript": "^5.9.3"
30
64
  },
31
65
  "dependencies": {
32
- "tsup": "^8.5.1"
66
+ "@bufbuild/protobuf": "^2.11.0"
33
67
  }
34
68
  }
File without changes