@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,128 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file services/ingestion/service.proto (package openeld.services.ingestion.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { SamsaraPayload } from "../../providers/eld/samsara/contracts_pb";
8
+ import type { MotivePayload } from "../../providers/eld/motive/contracts_pb";
9
+ import type { GeotabPayload } from "../../providers/eld/geotab/contracts_pb";
10
+ import type { KeeptruckinPayload } from "../../providers/eld/keeptruckin/contracts_pb";
11
+ import type { Project44Payload } from "../../providers/telematics/project44/contracts_pb";
12
+ import type { FourKitesPayload } from "../../providers/telematics/fourkites/contracts_pb";
13
+ import type { VerizonConnectPayload } from "../../providers/telematics/verizon_connect/contracts_pb";
14
+ import type { FleetCompletePayload } from "../../providers/telematics/fleet_complete/contracts_pb";
15
+
16
+ /**
17
+ * Describes the file services/ingestion/service.proto.
18
+ */
19
+ export declare const file_services_ingestion_service: GenFile;
20
+
21
+ /**
22
+ * * Accepts provider-native payloads for persistence and downstream normalization.
23
+ *
24
+ * @generated from message openeld.services.ingestion.v1.IngestProviderPayloadRequest
25
+ */
26
+ export declare type IngestProviderPayloadRequest = Message<"openeld.services.ingestion.v1.IngestProviderPayloadRequest"> & {
27
+ /**
28
+ * @generated from field: optional string tenant_id = 1;
29
+ */
30
+ tenantId?: string;
31
+
32
+ /**
33
+ * @generated from oneof openeld.services.ingestion.v1.IngestProviderPayloadRequest.provider_payload
34
+ */
35
+ providerPayload: {
36
+ /**
37
+ * @generated from field: openeld.providers.eld.samsara.v1.SamsaraPayload samsara = 10;
38
+ */
39
+ value: SamsaraPayload;
40
+ case: "samsara";
41
+ } | {
42
+ /**
43
+ * @generated from field: openeld.providers.eld.motive.v1.MotivePayload motive = 11;
44
+ */
45
+ value: MotivePayload;
46
+ case: "motive";
47
+ } | {
48
+ /**
49
+ * @generated from field: openeld.providers.eld.geotab.v1.GeotabPayload geotab = 12;
50
+ */
51
+ value: GeotabPayload;
52
+ case: "geotab";
53
+ } | {
54
+ /**
55
+ * @generated from field: openeld.providers.eld.keeptruckin.v1.KeeptruckinPayload keeptruckin = 13;
56
+ */
57
+ value: KeeptruckinPayload;
58
+ case: "keeptruckin";
59
+ } | {
60
+ /**
61
+ * @generated from field: openeld.providers.telematics.project44.v1.Project44Payload project44 = 14;
62
+ */
63
+ value: Project44Payload;
64
+ case: "project44";
65
+ } | {
66
+ /**
67
+ * @generated from field: openeld.providers.telematics.fourkites.v1.FourKitesPayload four_kites = 15;
68
+ */
69
+ value: FourKitesPayload;
70
+ case: "fourKites";
71
+ } | {
72
+ /**
73
+ * @generated from field: openeld.providers.telematics.verizon_connect.v1.VerizonConnectPayload verizon_connect = 16;
74
+ */
75
+ value: VerizonConnectPayload;
76
+ case: "verizonConnect";
77
+ } | {
78
+ /**
79
+ * @generated from field: openeld.providers.telematics.fleet_complete.v1.FleetCompletePayload fleet_complete = 17;
80
+ */
81
+ value: FleetCompletePayload;
82
+ case: "fleetComplete";
83
+ } | { case: undefined; value?: undefined };
84
+ };
85
+
86
+ /**
87
+ * Describes the message openeld.services.ingestion.v1.IngestProviderPayloadRequest.
88
+ * Use `create(IngestProviderPayloadRequestSchema)` to create a new message.
89
+ */
90
+ export declare const IngestProviderPayloadRequestSchema: GenMessage<IngestProviderPayloadRequest>;
91
+
92
+ /**
93
+ * * Returns ingestion acceptance counts and non-fatal warnings.
94
+ *
95
+ * @generated from message openeld.services.ingestion.v1.IngestProviderPayloadResponse
96
+ */
97
+ export declare type IngestProviderPayloadResponse = Message<"openeld.services.ingestion.v1.IngestProviderPayloadResponse"> & {
98
+ /**
99
+ * @generated from field: uint32 accepted_record_count = 1;
100
+ */
101
+ acceptedRecordCount: number;
102
+
103
+ /**
104
+ * @generated from field: repeated string warnings = 2;
105
+ */
106
+ warnings: string[];
107
+ };
108
+
109
+ /**
110
+ * Describes the message openeld.services.ingestion.v1.IngestProviderPayloadResponse.
111
+ * Use `create(IngestProviderPayloadResponseSchema)` to create a new message.
112
+ */
113
+ export declare const IngestProviderPayloadResponseSchema: GenMessage<IngestProviderPayloadResponse>;
114
+
115
+ /**
116
+ * @generated from service openeld.services.ingestion.v1.IngestionService
117
+ */
118
+ export declare const IngestionService: GenService<{
119
+ /**
120
+ * @generated from rpc openeld.services.ingestion.v1.IngestionService.IngestProviderPayload
121
+ */
122
+ ingestProviderPayload: {
123
+ methodKind: "unary";
124
+ input: typeof IngestProviderPayloadRequestSchema;
125
+ output: typeof IngestProviderPayloadResponseSchema;
126
+ },
127
+ }>;
128
+
@@ -0,0 +1,40 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file services/ingestion/service.proto (package openeld.services.ingestion.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_providers_eld_geotab_contracts } from "../../providers/eld/geotab/contracts_pb";
7
+ import { file_providers_eld_keeptruckin_contracts } from "../../providers/eld/keeptruckin/contracts_pb";
8
+ import { file_providers_eld_motive_contracts } from "../../providers/eld/motive/contracts_pb";
9
+ import { file_providers_eld_samsara_contracts } from "../../providers/eld/samsara/contracts_pb";
10
+ import { file_providers_telematics_fleet_complete_contracts } from "../../providers/telematics/fleet_complete/contracts_pb";
11
+ import { file_providers_telematics_fourkites_contracts } from "../../providers/telematics/fourkites/contracts_pb";
12
+ import { file_providers_telematics_project44_contracts } from "../../providers/telematics/project44/contracts_pb";
13
+ import { file_providers_telematics_verizon_connect_contracts } from "../../providers/telematics/verizon_connect/contracts_pb";
14
+
15
+ /**
16
+ * Describes the file services/ingestion/service.proto.
17
+ */
18
+ export const file_services_ingestion_service = /*@__PURE__*/
19
+ fileDesc("CiBzZXJ2aWNlcy9pbmdlc3Rpb24vc2VydmljZS5wcm90bxIdb3Blbm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3JlY29yZF9jb3VudBgBIAEoDRIQCgh3YXJuaW5ncxgCIAMoCTKnAQoQSW5nZXN0aW9uU2VydmljZRKSAQoVSW5nZXN0UHJvdmlkZXJQYXlsb2FkEjsub3BlbmVsZC5zZXJ2aWNlcy5pbmdlc3Rpb24udjEuSW5nZXN0UHJvdmlkZXJQYXlsb2FkUmVxdWVzdBo8Lm9wZW5lbGQuc2VydmljZXMuaW5nZXN0aW9uLnYxLkluZ2VzdFByb3ZpZGVyUGF5bG9hZFJlc3BvbnNlYgZwcm90bzM", [file_providers_eld_geotab_contracts, file_providers_eld_keeptruckin_contracts, file_providers_eld_motive_contracts, file_providers_eld_samsara_contracts, file_providers_telematics_fleet_complete_contracts, file_providers_telematics_fourkites_contracts, file_providers_telematics_project44_contracts, file_providers_telematics_verizon_connect_contracts]);
20
+
21
+ /**
22
+ * Describes the message openeld.services.ingestion.v1.IngestProviderPayloadRequest.
23
+ * Use `create(IngestProviderPayloadRequestSchema)` to create a new message.
24
+ */
25
+ export const IngestProviderPayloadRequestSchema = /*@__PURE__*/
26
+ messageDesc(file_services_ingestion_service, 0);
27
+
28
+ /**
29
+ * Describes the message openeld.services.ingestion.v1.IngestProviderPayloadResponse.
30
+ * Use `create(IngestProviderPayloadResponseSchema)` to create a new message.
31
+ */
32
+ export const IngestProviderPayloadResponseSchema = /*@__PURE__*/
33
+ messageDesc(file_services_ingestion_service, 1);
34
+
35
+ /**
36
+ * @generated from service openeld.services.ingestion.v1.IngestionService
37
+ */
38
+ export const IngestionService = /*@__PURE__*/
39
+ serviceDesc(file_services_ingestion_service, 0);
40
+
@@ -0,0 +1,201 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file services/normalization/service.proto (package openeld.services.normalization.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { SamsaraPayload } from "../../providers/eld/samsara/contracts_pb";
8
+ import type { MotivePayload } from "../../providers/eld/motive/contracts_pb";
9
+ import type { GeotabPayload } from "../../providers/eld/geotab/contracts_pb";
10
+ import type { KeeptruckinPayload } from "../../providers/eld/keeptruckin/contracts_pb";
11
+ import type { Project44Payload } from "../../providers/telematics/project44/contracts_pb";
12
+ import type { FourKitesPayload } from "../../providers/telematics/fourkites/contracts_pb";
13
+ import type { VerizonConnectPayload } from "../../providers/telematics/verizon_connect/contracts_pb";
14
+ import type { FleetCompletePayload } from "../../providers/telematics/fleet_complete/contracts_pb";
15
+ import type { Carrier } from "../../logistics/carrier_pb";
16
+ import type { Driver } from "../../logistics/driver_pb";
17
+ import type { Vehicle } from "../../logistics/vehicle_pb";
18
+ import type { VehicleAssignment } from "../../logistics/vehicle_assignment_pb";
19
+ import type { HosEvent } from "../../logistics/hos_event_pb";
20
+ import type { HosDailySummary } from "../../logistics/hos_daily_summary_pb";
21
+ import type { GpsLocation } from "../../logistics/gps_location_pb";
22
+ import type { Dvir } from "../../logistics/dvir_pb";
23
+ import type { SafetyEvent } from "../../logistics/safety_event_pb";
24
+ import type { IftaTrip } from "../../logistics/ifta_trip_pb";
25
+ import type { Asset } from "../../logistics/asset_pb";
26
+ import type { AssetLocation } from "../../logistics/asset_location_pb";
27
+ import type { DataConsent } from "../../logistics/data_consent_pb";
28
+
29
+ /**
30
+ * Describes the file services/normalization/service.proto.
31
+ */
32
+ export declare const file_services_normalization_service: GenFile;
33
+
34
+ /**
35
+ * * Accepts provider-native payloads for normalization into canonical messages.
36
+ *
37
+ * @generated from message openeld.services.normalization.v1.NormalizeProviderPayloadRequest
38
+ */
39
+ export declare type NormalizeProviderPayloadRequest = Message<"openeld.services.normalization.v1.NormalizeProviderPayloadRequest"> & {
40
+ /**
41
+ * @generated from field: optional string tenant_id = 1;
42
+ */
43
+ tenantId?: string;
44
+
45
+ /**
46
+ * @generated from oneof openeld.services.normalization.v1.NormalizeProviderPayloadRequest.provider_payload
47
+ */
48
+ providerPayload: {
49
+ /**
50
+ * @generated from field: openeld.providers.eld.samsara.v1.SamsaraPayload samsara = 10;
51
+ */
52
+ value: SamsaraPayload;
53
+ case: "samsara";
54
+ } | {
55
+ /**
56
+ * @generated from field: openeld.providers.eld.motive.v1.MotivePayload motive = 11;
57
+ */
58
+ value: MotivePayload;
59
+ case: "motive";
60
+ } | {
61
+ /**
62
+ * @generated from field: openeld.providers.eld.geotab.v1.GeotabPayload geotab = 12;
63
+ */
64
+ value: GeotabPayload;
65
+ case: "geotab";
66
+ } | {
67
+ /**
68
+ * @generated from field: openeld.providers.eld.keeptruckin.v1.KeeptruckinPayload keeptruckin = 13;
69
+ */
70
+ value: KeeptruckinPayload;
71
+ case: "keeptruckin";
72
+ } | {
73
+ /**
74
+ * @generated from field: openeld.providers.telematics.project44.v1.Project44Payload project44 = 14;
75
+ */
76
+ value: Project44Payload;
77
+ case: "project44";
78
+ } | {
79
+ /**
80
+ * @generated from field: openeld.providers.telematics.fourkites.v1.FourKitesPayload four_kites = 15;
81
+ */
82
+ value: FourKitesPayload;
83
+ case: "fourKites";
84
+ } | {
85
+ /**
86
+ * @generated from field: openeld.providers.telematics.verizon_connect.v1.VerizonConnectPayload verizon_connect = 16;
87
+ */
88
+ value: VerizonConnectPayload;
89
+ case: "verizonConnect";
90
+ } | {
91
+ /**
92
+ * @generated from field: openeld.providers.telematics.fleet_complete.v1.FleetCompletePayload fleet_complete = 17;
93
+ */
94
+ value: FleetCompletePayload;
95
+ case: "fleetComplete";
96
+ } | { case: undefined; value?: undefined };
97
+ };
98
+
99
+ /**
100
+ * Describes the message openeld.services.normalization.v1.NormalizeProviderPayloadRequest.
101
+ * Use `create(NormalizeProviderPayloadRequestSchema)` to create a new message.
102
+ */
103
+ export declare const NormalizeProviderPayloadRequestSchema: GenMessage<NormalizeProviderPayloadRequest>;
104
+
105
+ /**
106
+ * * Returns the normalized logistics entities derived from a provider payload.
107
+ *
108
+ * @generated from message openeld.services.normalization.v1.NormalizeProviderPayloadResponse
109
+ */
110
+ export declare type NormalizeProviderPayloadResponse = Message<"openeld.services.normalization.v1.NormalizeProviderPayloadResponse"> & {
111
+ /**
112
+ * @generated from field: repeated openeld.logistics.v1.Carrier carriers = 1;
113
+ */
114
+ carriers: Carrier[];
115
+
116
+ /**
117
+ * @generated from field: repeated openeld.logistics.v1.Driver drivers = 2;
118
+ */
119
+ drivers: Driver[];
120
+
121
+ /**
122
+ * @generated from field: repeated openeld.logistics.v1.Vehicle vehicles = 3;
123
+ */
124
+ vehicles: Vehicle[];
125
+
126
+ /**
127
+ * @generated from field: repeated openeld.logistics.v1.VehicleAssignment vehicle_assignments = 4;
128
+ */
129
+ vehicleAssignments: VehicleAssignment[];
130
+
131
+ /**
132
+ * @generated from field: repeated openeld.logistics.v1.HosEvent hos_events = 5;
133
+ */
134
+ hosEvents: HosEvent[];
135
+
136
+ /**
137
+ * @generated from field: repeated openeld.logistics.v1.HosDailySummary hos_daily_summaries = 6;
138
+ */
139
+ hosDailySummaries: HosDailySummary[];
140
+
141
+ /**
142
+ * @generated from field: repeated openeld.logistics.v1.GpsLocation gps_locations = 7;
143
+ */
144
+ gpsLocations: GpsLocation[];
145
+
146
+ /**
147
+ * @generated from field: repeated openeld.logistics.v1.Dvir dvirs = 8;
148
+ */
149
+ dvirs: Dvir[];
150
+
151
+ /**
152
+ * @generated from field: repeated openeld.logistics.v1.SafetyEvent safety_events = 9;
153
+ */
154
+ safetyEvents: SafetyEvent[];
155
+
156
+ /**
157
+ * @generated from field: repeated openeld.logistics.v1.IftaTrip ifta_trips = 10;
158
+ */
159
+ iftaTrips: IftaTrip[];
160
+
161
+ /**
162
+ * @generated from field: repeated openeld.logistics.v1.Asset assets = 11;
163
+ */
164
+ assets: Asset[];
165
+
166
+ /**
167
+ * @generated from field: repeated openeld.logistics.v1.AssetLocation asset_locations = 12;
168
+ */
169
+ assetLocations: AssetLocation[];
170
+
171
+ /**
172
+ * @generated from field: repeated openeld.logistics.v1.DataConsent data_consents = 13;
173
+ */
174
+ dataConsents: DataConsent[];
175
+
176
+ /**
177
+ * @generated from field: repeated string warnings = 14;
178
+ */
179
+ warnings: string[];
180
+ };
181
+
182
+ /**
183
+ * Describes the message openeld.services.normalization.v1.NormalizeProviderPayloadResponse.
184
+ * Use `create(NormalizeProviderPayloadResponseSchema)` to create a new message.
185
+ */
186
+ export declare const NormalizeProviderPayloadResponseSchema: GenMessage<NormalizeProviderPayloadResponse>;
187
+
188
+ /**
189
+ * @generated from service openeld.services.normalization.v1.NormalizationService
190
+ */
191
+ export declare const NormalizationService: GenService<{
192
+ /**
193
+ * @generated from rpc openeld.services.normalization.v1.NormalizationService.NormalizeProviderPayload
194
+ */
195
+ normalizeProviderPayload: {
196
+ methodKind: "unary";
197
+ input: typeof NormalizeProviderPayloadRequestSchema;
198
+ output: typeof NormalizeProviderPayloadResponseSchema;
199
+ },
200
+ }>;
201
+
@@ -0,0 +1,53 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file services/normalization/service.proto (package openeld.services.normalization.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_logistics_asset } from "../../logistics/asset_pb";
7
+ import { file_logistics_asset_location } from "../../logistics/asset_location_pb";
8
+ import { file_logistics_carrier } from "../../logistics/carrier_pb";
9
+ import { file_logistics_data_consent } from "../../logistics/data_consent_pb";
10
+ import { file_logistics_driver } from "../../logistics/driver_pb";
11
+ import { file_logistics_dvir } from "../../logistics/dvir_pb";
12
+ import { file_logistics_gps_location } from "../../logistics/gps_location_pb";
13
+ import { file_logistics_hos_daily_summary } from "../../logistics/hos_daily_summary_pb";
14
+ import { file_logistics_hos_event } from "../../logistics/hos_event_pb";
15
+ import { file_logistics_ifta_trip } from "../../logistics/ifta_trip_pb";
16
+ import { file_logistics_safety_event } from "../../logistics/safety_event_pb";
17
+ import { file_logistics_vehicle } from "../../logistics/vehicle_pb";
18
+ import { file_logistics_vehicle_assignment } from "../../logistics/vehicle_assignment_pb";
19
+ import { file_providers_eld_geotab_contracts } from "../../providers/eld/geotab/contracts_pb";
20
+ import { file_providers_eld_keeptruckin_contracts } from "../../providers/eld/keeptruckin/contracts_pb";
21
+ import { file_providers_eld_motive_contracts } from "../../providers/eld/motive/contracts_pb";
22
+ import { file_providers_eld_samsara_contracts } from "../../providers/eld/samsara/contracts_pb";
23
+ import { file_providers_telematics_fleet_complete_contracts } from "../../providers/telematics/fleet_complete/contracts_pb";
24
+ import { file_providers_telematics_fourkites_contracts } from "../../providers/telematics/fourkites/contracts_pb";
25
+ import { file_providers_telematics_project44_contracts } from "../../providers/telematics/project44/contracts_pb";
26
+ import { file_providers_telematics_verizon_connect_contracts } from "../../providers/telematics/verizon_connect/contracts_pb";
27
+
28
+ /**
29
+ * Describes the file services/normalization/service.proto.
30
+ */
31
+ export const file_services_normalization_service = /*@__PURE__*/
32
+ fileDesc("CiRzZXJ2aWNlcy9ub3JtYWxpemF0aW9uL3NlcnZpY2UucHJvdG8SIW9wZW5lbGQuc2VydmljZXMubm9ybWFsaXphdGlvbi52MSLdBQofTm9ybWFsaXplUHJvdmlkZXJQYXlsb2FkUmVxdWVzdBIWCgl0ZW5hbnRfaWQYASABKAlIAYgBARJDCgdzYW1zYXJhGAogASgLMjAub3BlbmVsZC5wcm92aWRlcnMuZWxkLnNhbXNhcmEudjEuU2Ftc2FyYVBheWxvYWRIABJACgZtb3RpdmUYCyABKAsyLi5vcGVuZWxkLnByb3ZpZGVycy5lbGQubW90aXZlLnYxLk1vdGl2ZVBheWxvYWRIABJACgZnZW90YWIYDCABKAsyLi5vcGVuZWxkLnByb3ZpZGVycy5lbGQuZ2VvdGFiLnYxLkdlb3RhYlBheWxvYWRIABJPCgtrZWVwdHJ1Y2tpbhgNIAEoCzI4Lm9wZW5lbGQucHJvdmlkZXJzLmVsZC5rZWVwdHJ1Y2tpbi52MS5LZWVwdHJ1Y2tpblBheWxvYWRIABJQCglwcm9qZWN0NDQYDiABK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W9uEikKBWR2aXJzGAggAygLMhoub3BlbmVsZC5sb2dpc3RpY3MudjEuRHZpchI4Cg1zYWZldHlfZXZlbnRzGAkgAygLMiEub3BlbmVsZC5sb2dpc3RpY3MudjEuU2FmZXR5RXZlbnQSMgoKaWZ0YV90cmlwcxgKIAMoCzIeLm9wZW5lbGQubG9naXN0aWNzLnYxLklmdGFUcmlwEisKBmFzc2V0cxgLIAMoCzIbLm9wZW5lbGQubG9naXN0aWNzLnYxLkFzc2V0EjwKD2Fzc2V0X2xvY2F0aW9ucxgMIAMoCzIjLm9wZW5lbGQubG9naXN0aWNzLnYxLkFzc2V0TG9jYXRpb24SOAoNZGF0YV9jb25zZW50cxgNIAMoCzIhLm9wZW5lbGQubG9naXN0aWNzLnYxLkRhdGFDb25zZW50EhAKCHdhcm5pbmdzGA4gAygJMrwBChROb3JtYWxpemF0aW9uU2VydmljZRKjAQoYTm9ybWFsaXplUHJvdmlkZXJQYXlsb2FkEkIub3BlbmVsZC5zZXJ2aWNlcy5ub3JtYWxpemF0aW9uLnYxLk5vcm1hbGl6ZVByb3ZpZGVyUGF5bG9hZFJlcXVlc3QaQy5vcGVuZWxkLnNlcnZpY2VzLm5vcm1hbGl6YXRpb24udjEuTm9ybWFsaXplUHJvdmlkZXJQYXlsb2FkUmVzcG9uc2ViBnByb3RvMw", [file_logistics_asset, file_logistics_asset_location, file_logistics_carrier, file_logistics_data_consent, file_logistics_driver, file_logistics_dvir, 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_telematics_fleet_complete_contracts, file_providers_telematics_fourkites_contracts, file_providers_telematics_project44_contracts, file_providers_telematics_verizon_connect_contracts]);
33
+
34
+ /**
35
+ * Describes the message openeld.services.normalization.v1.NormalizeProviderPayloadRequest.
36
+ * Use `create(NormalizeProviderPayloadRequestSchema)` to create a new message.
37
+ */
38
+ export const NormalizeProviderPayloadRequestSchema = /*@__PURE__*/
39
+ messageDesc(file_services_normalization_service, 0);
40
+
41
+ /**
42
+ * Describes the message openeld.services.normalization.v1.NormalizeProviderPayloadResponse.
43
+ * Use `create(NormalizeProviderPayloadResponseSchema)` to create a new message.
44
+ */
45
+ export const NormalizeProviderPayloadResponseSchema = /*@__PURE__*/
46
+ messageDesc(file_services_normalization_service, 1);
47
+
48
+ /**
49
+ * @generated from service openeld.services.normalization.v1.NormalizationService
50
+ */
51
+ export const NormalizationService = /*@__PURE__*/
52
+ serviceDesc(file_services_normalization_service, 0);
53
+