@raft-tech/rdp-sdk-typescript 2026.26.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/LICENSE +183 -0
- package/README.md +133 -0
- package/dist/examples/objects-publish.d.ts +2 -0
- package/dist/examples/objects-publish.d.ts.map +1 -0
- package/dist/examples/objects-publish.js +32 -0
- package/dist/examples/objects-publish.js.map +1 -0
- package/dist/examples/objects-search.d.ts +2 -0
- package/dist/examples/objects-search.d.ts.map +1 -0
- package/dist/examples/objects-search.js +20 -0
- package/dist/examples/objects-search.js.map +1 -0
- package/dist/examples/web/objects-publish.d.ts +2 -0
- package/dist/examples/web/objects-publish.d.ts.map +1 -0
- package/dist/examples/web/objects-publish.js +33 -0
- package/dist/examples/web/objects-publish.js.map +1 -0
- package/dist/examples/web/objects-search.d.ts +2 -0
- package/dist/examples/web/objects-search.d.ts.map +1 -0
- package/dist/examples/web/objects-search.js +21 -0
- package/dist/examples/web/objects-search.js.map +1 -0
- package/dist/gen/raft/wdm/v1/action_pb.d.ts +1540 -0
- package/dist/gen/raft/wdm/v1/action_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/action_pb.js +888 -0
- package/dist/gen/raft/wdm/v1/action_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/assessment_pb.d.ts +189 -0
- package/dist/gen/raft/wdm/v1/assessment_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/assessment_pb.js +143 -0
- package/dist/gen/raft/wdm/v1/assessment_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/aviation_pb.d.ts +192 -0
- package/dist/gen/raft/wdm/v1/aviation_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/aviation_pb.js +128 -0
- package/dist/gen/raft/wdm/v1/aviation_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/cbrn_pb.d.ts +270 -0
- package/dist/gen/raft/wdm/v1/cbrn_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/cbrn_pb.js +206 -0
- package/dist/gen/raft/wdm/v1/cbrn_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/common_pb.d.ts +1019 -0
- package/dist/gen/raft/wdm/v1/common_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/common_pb.js +504 -0
- package/dist/gen/raft/wdm/v1/common_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/comms_pb.d.ts +103 -0
- package/dist/gen/raft/wdm/v1/comms_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/comms_pb.js +52 -0
- package/dist/gen/raft/wdm/v1/comms_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/correlation_pb.d.ts +212 -0
- package/dist/gen/raft/wdm/v1/correlation_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/correlation_pb.js +119 -0
- package/dist/gen/raft/wdm/v1/correlation_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/ew_pb.d.ts +195 -0
- package/dist/gen/raft/wdm/v1/ew_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/ew_pb.js +140 -0
- package/dist/gen/raft/wdm/v1/ew_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/ground_pb.d.ts +138 -0
- package/dist/gen/raft/wdm/v1/ground_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/ground_pb.js +110 -0
- package/dist/gen/raft/wdm/v1/ground_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/identity_pb.d.ts +137 -0
- package/dist/gen/raft/wdm/v1/identity_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/identity_pb.js +79 -0
- package/dist/gen/raft/wdm/v1/identity_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/maritime_pb.d.ts +179 -0
- package/dist/gen/raft/wdm/v1/maritime_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/maritime_pb.js +106 -0
- package/dist/gen/raft/wdm/v1/maritime_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/object_pb.d.ts +547 -0
- package/dist/gen/raft/wdm/v1/object_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/object_pb.js +126 -0
- package/dist/gen/raft/wdm/v1/object_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/ontology_pb.d.ts +258 -0
- package/dist/gen/raft/wdm/v1/ontology_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/ontology_pb.js +201 -0
- package/dist/gen/raft/wdm/v1/ontology_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/orbital_pb.d.ts +175 -0
- package/dist/gen/raft/wdm/v1/orbital_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/orbital_pb.js +26 -0
- package/dist/gen/raft/wdm/v1/orbital_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/organization_pb.d.ts +573 -0
- package/dist/gen/raft/wdm/v1/organization_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/organization_pb.js +448 -0
- package/dist/gen/raft/wdm/v1/organization_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/platform_pb.d.ts +584 -0
- package/dist/gen/raft/wdm/v1/platform_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/platform_pb.js +280 -0
- package/dist/gen/raft/wdm/v1/platform_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/relationship_pb.d.ts +283 -0
- package/dist/gen/raft/wdm/v1/relationship_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/relationship_pb.js +224 -0
- package/dist/gen/raft/wdm/v1/relationship_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/security_pb.d.ts +112 -0
- package/dist/gen/raft/wdm/v1/security_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/security_pb.js +17 -0
- package/dist/gen/raft/wdm/v1/security_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/sensor_pb.d.ts +278 -0
- package/dist/gen/raft/wdm/v1/sensor_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/sensor_pb.js +190 -0
- package/dist/gen/raft/wdm/v1/sensor_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/service/action_service_pb.d.ts +734 -0
- package/dist/gen/raft/wdm/v1/service/action_service_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/service/action_service_pb.js +281 -0
- package/dist/gen/raft/wdm/v1/service/action_service_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/service/object_service_pb.d.ts +742 -0
- package/dist/gen/raft/wdm/v1/service/object_service_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/service/object_service_pb.js +289 -0
- package/dist/gen/raft/wdm/v1/service/object_service_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/service/query_pb.d.ts +1602 -0
- package/dist/gen/raft/wdm/v1/service/query_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/service/query_pb.js +222 -0
- package/dist/gen/raft/wdm/v1/service/query_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/signal_pb.d.ts +309 -0
- package/dist/gen/raft/wdm/v1/signal_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/signal_pb.js +139 -0
- package/dist/gen/raft/wdm/v1/signal_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/spatial_pb.d.ts +742 -0
- package/dist/gen/raft/wdm/v1/spatial_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/spatial_pb.js +196 -0
- package/dist/gen/raft/wdm/v1/spatial_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/symbology_pb.d.ts +320 -0
- package/dist/gen/raft/wdm/v1/symbology_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/symbology_pb.js +61 -0
- package/dist/gen/raft/wdm/v1/symbology_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/targeting_pb.d.ts +285 -0
- package/dist/gen/raft/wdm/v1/targeting_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/targeting_pb.js +162 -0
- package/dist/gen/raft/wdm/v1/targeting_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/track_pb.d.ts +94 -0
- package/dist/gen/raft/wdm/v1/track_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/track_pb.js +44 -0
- package/dist/gen/raft/wdm/v1/track_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/transponder_pb.d.ts +113 -0
- package/dist/gen/raft/wdm/v1/transponder_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/transponder_pb.js +47 -0
- package/dist/gen/raft/wdm/v1/transponder_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/warfighting_function_pb.d.ts +108 -0
- package/dist/gen/raft/wdm/v1/warfighting_function_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/warfighting_function_pb.js +110 -0
- package/dist/gen/raft/wdm/v1/warfighting_function_pb.js.map +1 -0
- package/dist/gen/raft/wdm/v1/weather_pb.d.ts +279 -0
- package/dist/gen/raft/wdm/v1/weather_pb.d.ts.map +1 -0
- package/dist/gen/raft/wdm/v1/weather_pb.js +179 -0
- package/dist/gen/raft/wdm/v1/weather_pb.js.map +1 -0
- package/dist/package.json +77 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +5 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/internal/auth.d.ts +67 -0
- package/dist/src/internal/auth.d.ts.map +1 -0
- package/dist/src/internal/auth.js +109 -0
- package/dist/src/internal/auth.js.map +1 -0
- package/dist/src/internal/config.d.ts +53 -0
- package/dist/src/internal/config.d.ts.map +1 -0
- package/dist/src/internal/config.js +109 -0
- package/dist/src/internal/config.js.map +1 -0
- package/dist/src/internal/index.d.ts +8 -0
- package/dist/src/internal/index.d.ts.map +1 -0
- package/dist/src/internal/index.js +7 -0
- package/dist/src/internal/index.js.map +1 -0
- package/dist/src/internal/interceptors.d.ts +18 -0
- package/dist/src/internal/interceptors.d.ts.map +1 -0
- package/dist/src/internal/interceptors.js +56 -0
- package/dist/src/internal/interceptors.js.map +1 -0
- package/dist/src/internal/logger.d.ts +16 -0
- package/dist/src/internal/logger.d.ts.map +1 -0
- package/dist/src/internal/logger.js +2 -0
- package/dist/src/internal/logger.js.map +1 -0
- package/dist/src/internal/node/logging.d.ts +9 -0
- package/dist/src/internal/node/logging.d.ts.map +1 -0
- package/dist/src/internal/node/logging.js +20 -0
- package/dist/src/internal/node/logging.js.map +1 -0
- package/dist/src/internal/node/options.d.ts +13 -0
- package/dist/src/internal/node/options.d.ts.map +1 -0
- package/dist/src/internal/node/options.js +13 -0
- package/dist/src/internal/node/options.js.map +1 -0
- package/dist/src/internal/node/token-fetcher.d.ts +9 -0
- package/dist/src/internal/node/token-fetcher.d.ts.map +1 -0
- package/dist/src/internal/node/token-fetcher.js +56 -0
- package/dist/src/internal/node/token-fetcher.js.map +1 -0
- package/dist/src/internal/oauth.d.ts +24 -0
- package/dist/src/internal/oauth.d.ts.map +1 -0
- package/dist/src/internal/oauth.js +43 -0
- package/dist/src/internal/oauth.js.map +1 -0
- package/dist/src/internal/options.d.ts +33 -0
- package/dist/src/internal/options.d.ts.map +1 -0
- package/dist/src/internal/options.js +32 -0
- package/dist/src/internal/options.js.map +1 -0
- package/dist/src/internal/transport.d.ts +29 -0
- package/dist/src/internal/transport.d.ts.map +1 -0
- package/dist/src/internal/transport.js +52 -0
- package/dist/src/internal/transport.js.map +1 -0
- package/dist/src/internal/version.d.ts +7 -0
- package/dist/src/internal/version.d.ts.map +1 -0
- package/dist/src/internal/version.js +8 -0
- package/dist/src/internal/version.js.map +1 -0
- package/dist/src/internal/web/logging.d.ts +8 -0
- package/dist/src/internal/web/logging.d.ts.map +1 -0
- package/dist/src/internal/web/logging.js +15 -0
- package/dist/src/internal/web/logging.js.map +1 -0
- package/dist/src/internal/web/token-fetcher.d.ts +8 -0
- package/dist/src/internal/web/token-fetcher.d.ts.map +1 -0
- package/dist/src/internal/web/token-fetcher.js +10 -0
- package/dist/src/internal/web/token-fetcher.js.map +1 -0
- package/dist/src/node/client.d.ts +37 -0
- package/dist/src/node/client.d.ts.map +1 -0
- package/dist/src/node/client.js +53 -0
- package/dist/src/node/client.js.map +1 -0
- package/dist/src/node/config.d.ts +27 -0
- package/dist/src/node/config.d.ts.map +1 -0
- package/dist/src/node/config.js +64 -0
- package/dist/src/node/config.js.map +1 -0
- package/dist/src/node/index.d.ts +6 -0
- package/dist/src/node/index.d.ts.map +1 -0
- package/dist/src/node/index.js +9 -0
- package/dist/src/node/index.js.map +1 -0
- package/dist/src/version.d.ts +2 -0
- package/dist/src/version.d.ts.map +1 -0
- package/dist/src/version.js +2 -0
- package/dist/src/version.js.map +1 -0
- package/dist/src/web/client.d.ts +44 -0
- package/dist/src/web/client.d.ts.map +1 -0
- package/dist/src/web/client.js +48 -0
- package/dist/src/web/client.js.map +1 -0
- package/dist/src/web/config.d.ts +18 -0
- package/dist/src/web/config.d.ts.map +1 -0
- package/dist/src/web/config.js +18 -0
- package/dist/src/web/config.js.map +1 -0
- package/dist/src/web/index.d.ts +5 -0
- package/dist/src/web/index.d.ts.map +1 -0
- package/dist/src/web/index.js +8 -0
- package/dist/src/web/index.js.map +1 -0
- package/gen/raft/wdm/v1/action_pb.ts +1800 -0
- package/gen/raft/wdm/v1/assessment_pb.ts +227 -0
- package/gen/raft/wdm/v1/aviation_pb.ts +233 -0
- package/gen/raft/wdm/v1/cbrn_pb.ts +321 -0
- package/gen/raft/wdm/v1/common_pb.ts +1173 -0
- package/gen/raft/wdm/v1/comms_pb.ts +126 -0
- package/gen/raft/wdm/v1/correlation_pb.ts +256 -0
- package/gen/raft/wdm/v1/ew_pb.ts +234 -0
- package/gen/raft/wdm/v1/ground_pb.ts +172 -0
- package/gen/raft/wdm/v1/identity_pb.ts +162 -0
- package/gen/raft/wdm/v1/maritime_pb.ts +220 -0
- package/gen/raft/wdm/v1/object_pb.ts +655 -0
- package/gen/raft/wdm/v1/ontology_pb.ts +299 -0
- package/gen/raft/wdm/v1/orbital_pb.ts +211 -0
- package/gen/raft/wdm/v1/organization_pb.ts +684 -0
- package/gen/raft/wdm/v1/platform_pb.ts +689 -0
- package/gen/raft/wdm/v1/relationship_pb.ts +332 -0
- package/gen/raft/wdm/v1/security_pb.ts +137 -0
- package/gen/raft/wdm/v1/sensor_pb.ts +329 -0
- package/gen/raft/wdm/v1/service/action_service_pb.ts +814 -0
- package/gen/raft/wdm/v1/service/object_service_pb.ts +819 -0
- package/gen/raft/wdm/v1/service/query_pb.ts +1702 -0
- package/gen/raft/wdm/v1/signal_pb.ts +370 -0
- package/gen/raft/wdm/v1/spatial_pb.ts +845 -0
- package/gen/raft/wdm/v1/symbology_pb.ts +373 -0
- package/gen/raft/wdm/v1/targeting_pb.ts +338 -0
- package/gen/raft/wdm/v1/track_pb.ts +115 -0
- package/gen/raft/wdm/v1/transponder_pb.ts +139 -0
- package/gen/raft/wdm/v1/warfighting_function_pb.ts +127 -0
- package/gen/raft/wdm/v1/weather_pb.ts +338 -0
- package/package.json +77 -0
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Object$ } from "../object_pb.js";
|
|
4
|
+
import type { ObjectQuery, ObjectStreamFilter } from "./query_pb.js";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file raft/wdm/v1/service/object_service.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_raft_wdm_v1_service_object_service: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* Request message for publishing a single object.
|
|
12
|
+
*
|
|
13
|
+
* Supports both creation and update operations. If the object ID exists,
|
|
14
|
+
* the object will be updated; otherwise, a new object is created.
|
|
15
|
+
*
|
|
16
|
+
* ## Field-Optional Model
|
|
17
|
+
*
|
|
18
|
+
* The Object schema is intentionally flexible. **Only populate fields that are
|
|
19
|
+
* known and relevant** for the specific object being published. Different
|
|
20
|
+
* object types will naturally use different field subsets:
|
|
21
|
+
*
|
|
22
|
+
* - **Maritime vessels**: location, motion, type_info.maritime, identities
|
|
23
|
+
* (MMSI), dimensions
|
|
24
|
+
* - **Aircraft**: location, motion, type_info.aviation, identities (Mode-S),
|
|
25
|
+
* assessment
|
|
26
|
+
* - **Ground vehicles**: location, motion, type_info.ground, assessment
|
|
27
|
+
* - **Facilities**: location, dimensions, assessment (omit motion for
|
|
28
|
+
* stationary objects)
|
|
29
|
+
* - **Persons**: location, assessment (minimal fields)
|
|
30
|
+
* - **Control measures**: shape, assessment, labels (no motion or dimensions)
|
|
31
|
+
* - **Events**: location, description, provenance (transient, no motion)
|
|
32
|
+
*
|
|
33
|
+
* **Do not send fields with default/zero values** for data you don't actually
|
|
34
|
+
* have. Omitting unknown fields is preferable to sending placeholder values
|
|
35
|
+
* that could mislead consumers.
|
|
36
|
+
*
|
|
37
|
+
* See the Object message documentation for comprehensive field population
|
|
38
|
+
* guidelines and examples by object type.
|
|
39
|
+
*
|
|
40
|
+
* @generated from message raft.wdm.v1.service.PublishObjectRequest
|
|
41
|
+
*/
|
|
42
|
+
export type PublishObjectRequest = Message<"raft.wdm.v1.service.PublishObjectRequest"> & {
|
|
43
|
+
/**
|
|
44
|
+
* The object to create or update. If an id is provided and the object
|
|
45
|
+
* exists, updates the object. If no id is provided, creates a new object.
|
|
46
|
+
*
|
|
47
|
+
* Required fields:
|
|
48
|
+
* * provenance.updated_at
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: raft.wdm.v1.Object object = 1;
|
|
51
|
+
*/
|
|
52
|
+
object?: Object$ | undefined;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message raft.wdm.v1.service.PublishObjectRequest.
|
|
56
|
+
* Use `create(PublishObjectRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export declare const PublishObjectRequestSchema: GenMessage<PublishObjectRequest>;
|
|
59
|
+
/**
|
|
60
|
+
* Response message for object publishing.
|
|
61
|
+
*
|
|
62
|
+
* Currently empty but reserved for possible future extension.
|
|
63
|
+
*
|
|
64
|
+
* @generated from message raft.wdm.v1.service.PublishObjectResponse
|
|
65
|
+
*/
|
|
66
|
+
export type PublishObjectResponse = Message<"raft.wdm.v1.service.PublishObjectResponse"> & {};
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message raft.wdm.v1.service.PublishObjectResponse.
|
|
69
|
+
* Use `create(PublishObjectResponseSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export declare const PublishObjectResponseSchema: GenMessage<PublishObjectResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* Request message for retrieving multiple objects.
|
|
74
|
+
*
|
|
75
|
+
* @generated from message raft.wdm.v1.service.SearchObjectsRequest
|
|
76
|
+
*/
|
|
77
|
+
export type SearchObjectsRequest = Message<"raft.wdm.v1.service.SearchObjectsRequest"> & {
|
|
78
|
+
/**
|
|
79
|
+
* Query criteria for selecting objects.
|
|
80
|
+
* If not provided or empty, returns all objects.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: raft.wdm.v1.service.ObjectQuery query = 1;
|
|
83
|
+
*/
|
|
84
|
+
query?: ObjectQuery | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Opaque pagination cursor from a previous SearchObjectsResponse.
|
|
87
|
+
* If empty, returns the first page of results.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: string cursor = 2;
|
|
90
|
+
*/
|
|
91
|
+
cursor: string;
|
|
92
|
+
/**
|
|
93
|
+
* Maximum number of objects to return per page.
|
|
94
|
+
* If unspecified or 0, the server uses a default of 10.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: int32 page_size = 3;
|
|
97
|
+
*/
|
|
98
|
+
pageSize: number;
|
|
99
|
+
/**
|
|
100
|
+
* Field projection mode applied to each object in the response page.
|
|
101
|
+
* Controls which fields are included in the response. Useful for
|
|
102
|
+
* reducing payload size and client-side deserialization cost in
|
|
103
|
+
* bandwidth-constrained environments.
|
|
104
|
+
*
|
|
105
|
+
* - `UNSPECIFIED`: Returns all fields (default)
|
|
106
|
+
* - `MINIMAL`: Returns only id, status, location.position,
|
|
107
|
+
* assessment.affiliation, provenance
|
|
108
|
+
* - `CUSTOM`: Uses field_mask for custom field selection
|
|
109
|
+
*
|
|
110
|
+
* Unrecognized projection values are handled as `UNSPECIFIED`: the server
|
|
111
|
+
* returns full objects. This preserves compatibility when clients use
|
|
112
|
+
* projection modes added after the server was deployed.
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: raft.wdm.v1.service.ObjectProjectionMode projection = 4;
|
|
115
|
+
*/
|
|
116
|
+
projection: ObjectProjectionMode;
|
|
117
|
+
/**
|
|
118
|
+
* Custom field selection. Only used when projection is CUSTOM.
|
|
119
|
+
* Ignored for all other projection values.
|
|
120
|
+
*
|
|
121
|
+
* Specify fields using dot-notation paths (e.g., `location.position`,
|
|
122
|
+
* `assessment.affiliation`). Supports nested field selection for
|
|
123
|
+
* fine-grained control. See ObjectProjectionMode for example masks.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: google.protobuf.FieldMask field_mask = 5;
|
|
126
|
+
*/
|
|
127
|
+
fieldMask?: FieldMask | undefined;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message raft.wdm.v1.service.SearchObjectsRequest.
|
|
131
|
+
* Use `create(SearchObjectsRequestSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export declare const SearchObjectsRequestSchema: GenMessage<SearchObjectsRequest>;
|
|
134
|
+
/**
|
|
135
|
+
* Response message containing matched objects.
|
|
136
|
+
*
|
|
137
|
+
* @generated from message raft.wdm.v1.service.SearchObjectsResponse
|
|
138
|
+
*/
|
|
139
|
+
export type SearchObjectsResponse = Message<"raft.wdm.v1.service.SearchObjectsResponse"> & {
|
|
140
|
+
/**
|
|
141
|
+
* Objects matching the filter criteria.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: repeated raft.wdm.v1.Object objects = 1;
|
|
144
|
+
*/
|
|
145
|
+
objects: Object$[];
|
|
146
|
+
/**
|
|
147
|
+
* Opaque cursor for retrieving the next page of results.
|
|
148
|
+
* Empty if there are no more results.
|
|
149
|
+
* Clients should treat this as an opaque string and not attempt to parse it.
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: string next_cursor = 2;
|
|
152
|
+
*/
|
|
153
|
+
nextCursor: string;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message raft.wdm.v1.service.SearchObjectsResponse.
|
|
157
|
+
* Use `create(SearchObjectsResponseSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export declare const SearchObjectsResponseSchema: GenMessage<SearchObjectsResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Request message for retrieving a single object by ID.
|
|
162
|
+
*
|
|
163
|
+
* @generated from message raft.wdm.v1.service.GetObjectRequest
|
|
164
|
+
*/
|
|
165
|
+
export type GetObjectRequest = Message<"raft.wdm.v1.service.GetObjectRequest"> & {
|
|
166
|
+
/**
|
|
167
|
+
* The UUID of the object to retrieve.
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: string object_id = 1;
|
|
170
|
+
*/
|
|
171
|
+
objectId: string;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message raft.wdm.v1.service.GetObjectRequest.
|
|
175
|
+
* Use `create(GetObjectRequestSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export declare const GetObjectRequestSchema: GenMessage<GetObjectRequest>;
|
|
178
|
+
/**
|
|
179
|
+
* Response message containing the requested object.
|
|
180
|
+
*
|
|
181
|
+
* @generated from message raft.wdm.v1.service.GetObjectResponse
|
|
182
|
+
*/
|
|
183
|
+
export type GetObjectResponse = Message<"raft.wdm.v1.service.GetObjectResponse"> & {
|
|
184
|
+
/**
|
|
185
|
+
* The requested object.
|
|
186
|
+
* Empty in error responses; the service returns
|
|
187
|
+
* CodeNotFound (HTTP 404) when no object with this ID exists.
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: raft.wdm.v1.Object object = 1;
|
|
190
|
+
*/
|
|
191
|
+
object?: Object$ | undefined;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message raft.wdm.v1.service.GetObjectResponse.
|
|
195
|
+
* Use `create(GetObjectResponseSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export declare const GetObjectResponseSchema: GenMessage<GetObjectResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* Request message for streaming object publishes.
|
|
200
|
+
*
|
|
201
|
+
* Sent repeatedly in a client-to-server stream for batch publishing.
|
|
202
|
+
*
|
|
203
|
+
* @generated from message raft.wdm.v1.service.PublishObjectsRequest
|
|
204
|
+
*/
|
|
205
|
+
export type PublishObjectsRequest = Message<"raft.wdm.v1.service.PublishObjectsRequest"> & {
|
|
206
|
+
/**
|
|
207
|
+
* The object to publish.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: raft.wdm.v1.Object object = 1;
|
|
210
|
+
*/
|
|
211
|
+
object?: Object$ | undefined;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Describes the message raft.wdm.v1.service.PublishObjectsRequest.
|
|
215
|
+
* Use `create(PublishObjectsRequestSchema)` to create a new message.
|
|
216
|
+
*/
|
|
217
|
+
export declare const PublishObjectsRequestSchema: GenMessage<PublishObjectsRequest>;
|
|
218
|
+
/**
|
|
219
|
+
* Response message for batch object publishing.
|
|
220
|
+
*
|
|
221
|
+
* Returned after the client closes the stream.
|
|
222
|
+
*
|
|
223
|
+
* @generated from message raft.wdm.v1.service.PublishObjectsResponse
|
|
224
|
+
*/
|
|
225
|
+
export type PublishObjectsResponse = Message<"raft.wdm.v1.service.PublishObjectsResponse"> & {
|
|
226
|
+
/**
|
|
227
|
+
* Number of objects accepted and durably stored.
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: int32 accepted = 1;
|
|
230
|
+
*/
|
|
231
|
+
accepted: number;
|
|
232
|
+
/**
|
|
233
|
+
* Number of objects rejected during server-side validation or semantic
|
|
234
|
+
* conflict/reconciliation handling (e.g. nil object, invalid TTL,
|
|
235
|
+
* future-skewed timestamp, or LWW/reconciliation loss). Internal storage,
|
|
236
|
+
* transaction, or reconciliation errors abort the stream with CodeInternal
|
|
237
|
+
* instead of incrementing this counter. Per-message rejection details are
|
|
238
|
+
* logged server-side but are not returned to the client.
|
|
239
|
+
*
|
|
240
|
+
* @generated from field: int32 rejected = 2;
|
|
241
|
+
*/
|
|
242
|
+
rejected: number;
|
|
243
|
+
/**
|
|
244
|
+
* Server-assigned correlation id for tracing this batch in
|
|
245
|
+
* server logs (where per-object rejection reasons are recorded).
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: string batch_id = 3;
|
|
248
|
+
*/
|
|
249
|
+
batchId: string;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Describes the message raft.wdm.v1.service.PublishObjectsResponse.
|
|
253
|
+
* Use `create(PublishObjectsResponseSchema)` to create a new message.
|
|
254
|
+
*/
|
|
255
|
+
export declare const PublishObjectsResponseSchema: GenMessage<PublishObjectsResponse>;
|
|
256
|
+
/**
|
|
257
|
+
* Request message for establishing an object stream.
|
|
258
|
+
*
|
|
259
|
+
* Enables real-time streaming of objects with optional filtering and field
|
|
260
|
+
* projection to optimize bandwidth usage.
|
|
261
|
+
*
|
|
262
|
+
* @generated from message raft.wdm.v1.service.StreamObjectsRequest
|
|
263
|
+
*/
|
|
264
|
+
export type StreamObjectsRequest = Message<"raft.wdm.v1.service.StreamObjectsRequest"> & {
|
|
265
|
+
/**
|
|
266
|
+
* Filter criteria for selecting objects to stream.
|
|
267
|
+
* If not provided or empty, streams all objects.
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: raft.wdm.v1.service.ObjectStreamFilter filter = 1;
|
|
270
|
+
*/
|
|
271
|
+
filter?: ObjectStreamFilter | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* Field projection mode. Controls which fields are included in responses.
|
|
274
|
+
*
|
|
275
|
+
* - `UNSPECIFIED`: Returns all fields (default)
|
|
276
|
+
* - `MINIMAL`: Returns only id, status, location.position,
|
|
277
|
+
* assessment.affiliation, provenance
|
|
278
|
+
* - `CUSTOM`: Uses field_mask for custom field selection
|
|
279
|
+
*
|
|
280
|
+
* Unrecognized projection values are handled as `UNSPECIFIED`: the server
|
|
281
|
+
* returns full objects. This preserves compatibility when clients use
|
|
282
|
+
* projection modes added after the server was deployed.
|
|
283
|
+
*
|
|
284
|
+
* @generated from field: raft.wdm.v1.service.ObjectProjectionMode projection = 2;
|
|
285
|
+
*/
|
|
286
|
+
projection: ObjectProjectionMode;
|
|
287
|
+
/**
|
|
288
|
+
* Custom field selection. Only used when projection is CUSTOM.
|
|
289
|
+
* Ignored for all other projection values.
|
|
290
|
+
*
|
|
291
|
+
* Specify fields using dot-notation paths (e.g., `location.position`,
|
|
292
|
+
* `assessment.affiliation`). Supports nested field selection for
|
|
293
|
+
* fine-grained control.
|
|
294
|
+
*
|
|
295
|
+
* **Common patterns for bandwidth-limited scenarios**:
|
|
296
|
+
*
|
|
297
|
+
* **Minimal tracking** (50-100 bytes):
|
|
298
|
+
* ```
|
|
299
|
+
* {paths: ["id", "location.position", "provenance.updated_at"]}
|
|
300
|
+
* ```
|
|
301
|
+
*
|
|
302
|
+
* **Track and identify** (100-200 bytes):
|
|
303
|
+
* ```
|
|
304
|
+
* {paths: ["id", "name", "assessment.affiliation", "location.position", "motion"]}
|
|
305
|
+
* ```
|
|
306
|
+
*
|
|
307
|
+
* **Full tactical picture** (200-400 bytes):
|
|
308
|
+
* ```
|
|
309
|
+
* {paths: ["id", "name", "status", "assessment", "location", "motion"]}
|
|
310
|
+
* ```
|
|
311
|
+
*
|
|
312
|
+
* **Maritime-specific** (250-400 bytes):
|
|
313
|
+
* ```
|
|
314
|
+
* {paths: ["id", "name", "identities", "location", "motion", "assessment",
|
|
315
|
+
* "type_info.maritime", "dimensions"]}
|
|
316
|
+
* ```
|
|
317
|
+
*
|
|
318
|
+
* **Aviation-specific** (200-350 bytes):
|
|
319
|
+
* ```
|
|
320
|
+
* {paths: ["id", "name", "identities", "location", "motion", "assessment",
|
|
321
|
+
* "type_info.aviation"]}
|
|
322
|
+
* ```
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: google.protobuf.FieldMask field_mask = 3;
|
|
325
|
+
*/
|
|
326
|
+
fieldMask?: FieldMask | undefined;
|
|
327
|
+
/**
|
|
328
|
+
* The period (in milliseconds) at which heartbeat messages will be sent.
|
|
329
|
+
* Heartbeat messages have event_type = OBJECT_EVENT_TYPE_HEARTBEAT with
|
|
330
|
+
* object = nil and timestamp = heartbeat time.
|
|
331
|
+
* If this field is set to 0 then no heartbeat messages are sent.
|
|
332
|
+
* Default: 0 (no heartbeats).
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: uint32 heartbeat_period_millis = 4;
|
|
335
|
+
*/
|
|
336
|
+
heartbeatPeriodMillis: number;
|
|
337
|
+
/**
|
|
338
|
+
* Streaming mode controlling which events are delivered.
|
|
339
|
+
* Default: OBJECT_STREAM_MODE_UNSPECIFIED (both initial and live events).
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: raft.wdm.v1.service.ObjectStreamMode stream_mode = 5;
|
|
342
|
+
*/
|
|
343
|
+
streamMode: ObjectStreamMode;
|
|
344
|
+
/**
|
|
345
|
+
* Filter by source node IDs.
|
|
346
|
+
* Returns objects where provenance.source_node_id matches ANY of these
|
|
347
|
+
* values. This is an operational filter layered on top of the expression
|
|
348
|
+
* tree in `filter` and combines with it using AND semantics.
|
|
349
|
+
* If empty, all source nodes are included.
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: repeated string source_node_ids = 6;
|
|
352
|
+
*/
|
|
353
|
+
sourceNodeIds: string[];
|
|
354
|
+
/**
|
|
355
|
+
* Optional aggregate rate cap in hertz for stream lifecycle events.
|
|
356
|
+
* UPDATED events over the cap are dropped and not resent.
|
|
357
|
+
* CREATED and DELETED events always send but consume capacity; INITIAL and
|
|
358
|
+
* HEARTBEAT events bypass the cap. 0 means no cap; non-zero must be >= 10.
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: uint32 max_stream_rate_hz = 7;
|
|
361
|
+
*/
|
|
362
|
+
maxStreamRateHz: number;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Describes the message raft.wdm.v1.service.StreamObjectsRequest.
|
|
366
|
+
* Use `create(StreamObjectsRequestSchema)` to create a new message.
|
|
367
|
+
*/
|
|
368
|
+
export declare const StreamObjectsRequestSchema: GenMessage<StreamObjectsRequest>;
|
|
369
|
+
/**
|
|
370
|
+
* Response message for object streaming.
|
|
371
|
+
*
|
|
372
|
+
* When a stream is established, the server first sends INITIAL events for all
|
|
373
|
+
* objects that currently exist in a non-DELETED state. After the initial sync
|
|
374
|
+
* completes, the stream delivers real-time CREATED, UPDATED, and DELETED
|
|
375
|
+
* events as object lifecycle changes occur.
|
|
376
|
+
*
|
|
377
|
+
* @generated from message raft.wdm.v1.service.StreamObjectsResponse
|
|
378
|
+
*/
|
|
379
|
+
export type StreamObjectsResponse = Message<"raft.wdm.v1.service.StreamObjectsResponse"> & {
|
|
380
|
+
/**
|
|
381
|
+
* The object data.
|
|
382
|
+
*
|
|
383
|
+
* @generated from field: raft.wdm.v1.Object object = 1;
|
|
384
|
+
*/
|
|
385
|
+
object?: Object$ | undefined;
|
|
386
|
+
/**
|
|
387
|
+
* Event type indicating the object lifecycle event.
|
|
388
|
+
*
|
|
389
|
+
* @generated from field: raft.wdm.v1.service.ObjectEventType event_type = 2;
|
|
390
|
+
*/
|
|
391
|
+
eventType: ObjectEventType;
|
|
392
|
+
/**
|
|
393
|
+
* Timestamp when this event was emitted by the streaming system.
|
|
394
|
+
* This differs from object.provenance.updated_at, which indicates when the
|
|
395
|
+
* object data itself was last modified. The stream timestamp reflects when
|
|
396
|
+
* the server detected and sent the event.
|
|
397
|
+
*
|
|
398
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 3;
|
|
399
|
+
*/
|
|
400
|
+
timestamp?: Timestamp | undefined;
|
|
401
|
+
/**
|
|
402
|
+
* Count of UPDATED events dropped by max_stream_rate_hz on this stream.
|
|
403
|
+
* Monotonically increases, appears on every response, and resets on reconnect.
|
|
404
|
+
* Always 0 when max_stream_rate_hz is unset.
|
|
405
|
+
*
|
|
406
|
+
* The server may terminate a stream that is dropping updates persistently
|
|
407
|
+
* (a sign the consumer cannot keep pace) with status RESOURCE_EXHAUSTED;
|
|
408
|
+
* clients should reconnect to resume, which resets this counter.
|
|
409
|
+
*
|
|
410
|
+
* @generated from field: uint32 dropped_updates_stream_total = 4;
|
|
411
|
+
*/
|
|
412
|
+
droppedUpdatesStreamTotal: number;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Describes the message raft.wdm.v1.service.StreamObjectsResponse.
|
|
416
|
+
* Use `create(StreamObjectsResponseSchema)` to create a new message.
|
|
417
|
+
*/
|
|
418
|
+
export declare const StreamObjectsResponseSchema: GenMessage<StreamObjectsResponse>;
|
|
419
|
+
/**
|
|
420
|
+
* Field projection mode for object responses.
|
|
421
|
+
*
|
|
422
|
+
* Controls which fields are included in streamed object responses to optimize
|
|
423
|
+
* bandwidth usage in constrained environments.
|
|
424
|
+
*
|
|
425
|
+
* @generated from enum raft.wdm.v1.service.ObjectProjectionMode
|
|
426
|
+
*/
|
|
427
|
+
export declare enum ObjectProjectionMode {
|
|
428
|
+
/**
|
|
429
|
+
* Return all object fields (default behavior).
|
|
430
|
+
*
|
|
431
|
+
* Typical size: 800-2000 bytes for average objects, up to 8KB for complex
|
|
432
|
+
* objects with full type_info, relationships, and attachments populated.
|
|
433
|
+
*
|
|
434
|
+
* @generated from enum value: OBJECT_PROJECTION_MODE_UNSPECIFIED = 0;
|
|
435
|
+
*/
|
|
436
|
+
UNSPECIFIED = 0,
|
|
437
|
+
/**
|
|
438
|
+
* Minimal tracking projection for bandwidth-constrained scenarios.
|
|
439
|
+
*
|
|
440
|
+
* Returns only essential fields for tactical position tracking:
|
|
441
|
+
* - `id`
|
|
442
|
+
* - `status`
|
|
443
|
+
* - `location.position`
|
|
444
|
+
* - `assessment.affiliation`
|
|
445
|
+
* - `provenance`
|
|
446
|
+
*
|
|
447
|
+
* Typical size: 60-120 bytes per object.
|
|
448
|
+
*
|
|
449
|
+
* **Rationale**: A tactical display needs enough information to color and
|
|
450
|
+
* place a symbol. Position handles placement; affiliation
|
|
451
|
+
* (friend/hostile/neutral) handles symbol color and shape per
|
|
452
|
+
* MIL-STD-2525. Status enables pruning of INACTIVE/DELETED objects.
|
|
453
|
+
* Provenance enables trust weighting and deduplication.
|
|
454
|
+
*
|
|
455
|
+
* **Use case**: Low-bandwidth tactical networks where only friend/foe
|
|
456
|
+
* position updates are needed.
|
|
457
|
+
*
|
|
458
|
+
* **Example**:
|
|
459
|
+
* ```json
|
|
460
|
+
* {
|
|
461
|
+
* "id": "550e8400-e29b-41d4-a716-446655440000",
|
|
462
|
+
* "status": "OBJECT_STATUS_ACTIVE",
|
|
463
|
+
* "location": {
|
|
464
|
+
* "position": {
|
|
465
|
+
* "latitude_degrees": 35.285,
|
|
466
|
+
* "longitude_degrees": 139.777,
|
|
467
|
+
* "altitude_hae_meters": 0.0
|
|
468
|
+
* }
|
|
469
|
+
* },
|
|
470
|
+
* "assessment": {
|
|
471
|
+
* "affiliation": "AFFILIATION_FRIEND"
|
|
472
|
+
* },
|
|
473
|
+
* "provenance": {
|
|
474
|
+
* "name": "ais-receiver-01",
|
|
475
|
+
* "updated_at": "2024-01-15T10:30:00Z"
|
|
476
|
+
* }
|
|
477
|
+
* }
|
|
478
|
+
* ```
|
|
479
|
+
*
|
|
480
|
+
* @generated from enum value: OBJECT_PROJECTION_MODE_MINIMAL = 1;
|
|
481
|
+
*/
|
|
482
|
+
MINIMAL = 1,
|
|
483
|
+
/**
|
|
484
|
+
* Use custom field mask for flexible field selection.
|
|
485
|
+
*
|
|
486
|
+
* Allows fine-grained control over which fields are returned. Specify
|
|
487
|
+
* desired fields using the `field_mask` parameter with dot-notation paths.
|
|
488
|
+
*
|
|
489
|
+
* **Example field masks**:
|
|
490
|
+
*
|
|
491
|
+
* **Identity tracking** (100-150 bytes):
|
|
492
|
+
* ```
|
|
493
|
+
* field_mask: {paths: ["id", "name", "identities"]}
|
|
494
|
+
* ```
|
|
495
|
+
*
|
|
496
|
+
* **Location and motion tracking** (150-250 bytes):
|
|
497
|
+
* ```
|
|
498
|
+
* field_mask: {paths: ["id", "location", "motion", "provenance.updated_at"]}
|
|
499
|
+
* ```
|
|
500
|
+
*
|
|
501
|
+
* **Assessment tracking** (200-300 bytes):
|
|
502
|
+
* ```
|
|
503
|
+
* field_mask: {paths: ["id", "name", "assessment", "location.position", "provenance"]}
|
|
504
|
+
* ```
|
|
505
|
+
*
|
|
506
|
+
* **Full tactical picture** (400-600 bytes):
|
|
507
|
+
* ```
|
|
508
|
+
* field_mask: {paths: ["id", "name", "status",
|
|
509
|
+
* "location", "motion", "assessment", "provenance"]}
|
|
510
|
+
* ```
|
|
511
|
+
*
|
|
512
|
+
* @generated from enum value: OBJECT_PROJECTION_MODE_CUSTOM = 2;
|
|
513
|
+
*/
|
|
514
|
+
CUSTOM = 2
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* Describes the enum raft.wdm.v1.service.ObjectProjectionMode.
|
|
518
|
+
*/
|
|
519
|
+
export declare const ObjectProjectionModeSchema: GenEnum<ObjectProjectionMode>;
|
|
520
|
+
/**
|
|
521
|
+
* Streaming mode controlling which events are delivered in object streams.
|
|
522
|
+
*
|
|
523
|
+
* @generated from enum raft.wdm.v1.service.ObjectStreamMode
|
|
524
|
+
*/
|
|
525
|
+
export declare enum ObjectStreamMode {
|
|
526
|
+
/**
|
|
527
|
+
* Default behavior: send INITIAL events for pre-existing non-DELETED
|
|
528
|
+
* objects, then stream live updates (CREATED, UPDATED, DELETED) indefinitely.
|
|
529
|
+
*
|
|
530
|
+
* Use case: Clients that need full awareness - both current state and
|
|
531
|
+
* ongoing changes.
|
|
532
|
+
* Example: Tactical display showing all objects with real-time updates.
|
|
533
|
+
*
|
|
534
|
+
* @generated from enum value: OBJECT_STREAM_MODE_UNSPECIFIED = 0;
|
|
535
|
+
*/
|
|
536
|
+
UNSPECIFIED = 0,
|
|
537
|
+
/**
|
|
538
|
+
* Send only INITIAL events for non-DELETED objects that exist when the
|
|
539
|
+
* stream starts, then close the stream. No live updates are sent.
|
|
540
|
+
*
|
|
541
|
+
* Use case: Snapshot queries or one-time bulk synchronization where
|
|
542
|
+
* real-time updates are not needed.
|
|
543
|
+
*
|
|
544
|
+
* Example: Dashboard showing current object positions without needing
|
|
545
|
+
* updates, or bulk export for reporting.
|
|
546
|
+
*
|
|
547
|
+
* @generated from enum value: OBJECT_STREAM_MODE_INITIAL_ONLY = 1;
|
|
548
|
+
*/
|
|
549
|
+
INITIAL_ONLY = 1,
|
|
550
|
+
/**
|
|
551
|
+
* Skip INITIAL events, send only live updates (CREATED, UPDATED, DELETED).
|
|
552
|
+
* Stream starts empty and only shows changes that occur after subscription.
|
|
553
|
+
*
|
|
554
|
+
* Use case: Change-data-capture scenarios where current state is already
|
|
555
|
+
* known, or alert systems that only care about new objects.
|
|
556
|
+
*
|
|
557
|
+
* Example: Alert system that notifies on new hostile objects without
|
|
558
|
+
* loading existing threats.
|
|
559
|
+
*
|
|
560
|
+
* @generated from enum value: OBJECT_STREAM_MODE_LIVE_ONLY = 2;
|
|
561
|
+
*/
|
|
562
|
+
LIVE_ONLY = 2
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Describes the enum raft.wdm.v1.service.ObjectStreamMode.
|
|
566
|
+
*/
|
|
567
|
+
export declare const ObjectStreamModeSchema: GenEnum<ObjectStreamMode>;
|
|
568
|
+
/**
|
|
569
|
+
* Event type for object lifecycle changes.
|
|
570
|
+
*
|
|
571
|
+
* Streams follow a two-phase pattern:
|
|
572
|
+
* 1. Initial sync: INITIAL events for all non-DELETED objects that exist
|
|
573
|
+
* when the stream starts
|
|
574
|
+
* 2. Live updates: CREATED, UPDATED, DELETED events as objects change
|
|
575
|
+
* 3. Heartbeat messages: HEARTBEAT events sent periodically if configured
|
|
576
|
+
*
|
|
577
|
+
* Note: Event types reflect object lifecycle, not filter matching. If an
|
|
578
|
+
* object no longer matches the filter criteria, it will not appear in the
|
|
579
|
+
* stream, but this is not indicated by an event type.
|
|
580
|
+
*
|
|
581
|
+
* @generated from enum raft.wdm.v1.service.ObjectEventType
|
|
582
|
+
*/
|
|
583
|
+
export declare enum ObjectEventType {
|
|
584
|
+
/**
|
|
585
|
+
* @generated from enum value: OBJECT_EVENT_TYPE_UNSPECIFIED = 0;
|
|
586
|
+
*/
|
|
587
|
+
UNSPECIFIED = 0,
|
|
588
|
+
/**
|
|
589
|
+
* Object existed when the stream was established.
|
|
590
|
+
* Sent during initial synchronization to provide baseline state.
|
|
591
|
+
*
|
|
592
|
+
* @generated from enum value: OBJECT_EVENT_TYPE_INITIAL = 1;
|
|
593
|
+
*/
|
|
594
|
+
INITIAL = 1,
|
|
595
|
+
/**
|
|
596
|
+
* Object was newly created in the system.
|
|
597
|
+
*
|
|
598
|
+
* @generated from enum value: OBJECT_EVENT_TYPE_CREATED = 2;
|
|
599
|
+
*/
|
|
600
|
+
CREATED = 2,
|
|
601
|
+
/**
|
|
602
|
+
* Object was modified in the system.
|
|
603
|
+
*
|
|
604
|
+
* @generated from enum value: OBJECT_EVENT_TYPE_UPDATED = 3;
|
|
605
|
+
*/
|
|
606
|
+
UPDATED = 3,
|
|
607
|
+
/**
|
|
608
|
+
* Object was deleted from the system (status set to OBJECT_STATUS_DELETED).
|
|
609
|
+
*
|
|
610
|
+
* @generated from enum value: OBJECT_EVENT_TYPE_DELETED = 4;
|
|
611
|
+
*/
|
|
612
|
+
DELETED = 4,
|
|
613
|
+
/**
|
|
614
|
+
* Heartbeat keepalive message.
|
|
615
|
+
* Sent periodically if heartbeat_period_millis is configured in
|
|
616
|
+
* StreamObjectsRequest. These messages have object = nil/empty and
|
|
617
|
+
* timestamp = heartbeat time.
|
|
618
|
+
*
|
|
619
|
+
* @generated from enum value: OBJECT_EVENT_TYPE_HEARTBEAT = 5;
|
|
620
|
+
*/
|
|
621
|
+
HEARTBEAT = 5
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Describes the enum raft.wdm.v1.service.ObjectEventType.
|
|
625
|
+
*/
|
|
626
|
+
export declare const ObjectEventTypeSchema: GenEnum<ObjectEventType>;
|
|
627
|
+
/**
|
|
628
|
+
* Service for managing object lifecycle and real-time updates.
|
|
629
|
+
*
|
|
630
|
+
* Provides operations for creating, updating, querying, and streaming
|
|
631
|
+
* objects in the warfighting data model. An Object is anything with
|
|
632
|
+
* identity that the force needs to track: platforms, units, facilities,
|
|
633
|
+
* equipment, personnel, events, control measures, signals, and more.
|
|
634
|
+
*
|
|
635
|
+
* NOTE: Streaming APIs (PublishObjects, StreamObjects) are only available
|
|
636
|
+
* via gRPC. They are not supported over standard REST/HTTP at this time.
|
|
637
|
+
* For REST clients, use the standard CRUD operations (PublishObject,
|
|
638
|
+
* SearchObjects, GetObject).
|
|
639
|
+
*
|
|
640
|
+
* @generated from service raft.wdm.v1.service.ObjectService
|
|
641
|
+
*/
|
|
642
|
+
export declare const ObjectService: GenService<{
|
|
643
|
+
/**
|
|
644
|
+
* Creates or updates a single object (upsert operation).
|
|
645
|
+
*
|
|
646
|
+
* This is an upsert operation: if an object with the provided ID exists, it
|
|
647
|
+
* will be updated; otherwise, a new object will be created. If no ID is
|
|
648
|
+
* provided, a new object will be created with a generated UUID.
|
|
649
|
+
*
|
|
650
|
+
* This single endpoint handles all object lifecycle operations:
|
|
651
|
+
* - CREATE: Omit object.id or provide a new UUID
|
|
652
|
+
* - UPDATE: Provide existing object.id with modified fields
|
|
653
|
+
* - DELETE: Set object.status to OBJECT_STATUS_DELETED
|
|
654
|
+
*
|
|
655
|
+
* Producers should populate only the fields they know about. The Object
|
|
656
|
+
* schema is intentionally flexible; sending default/zero values for
|
|
657
|
+
* unknown fields can mislead downstream consumers. See the Object message
|
|
658
|
+
* documentation for guidance on the flexible field model.
|
|
659
|
+
*
|
|
660
|
+
* @generated from rpc raft.wdm.v1.service.ObjectService.PublishObject
|
|
661
|
+
*/
|
|
662
|
+
publishObject: {
|
|
663
|
+
methodKind: "unary";
|
|
664
|
+
input: typeof PublishObjectRequestSchema;
|
|
665
|
+
output: typeof PublishObjectResponseSchema;
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* Retrieves objects matching the filter criteria.
|
|
669
|
+
*
|
|
670
|
+
* Returns a snapshot of all matching objects at query time.
|
|
671
|
+
* Results are paginated using cursor-based pagination.
|
|
672
|
+
* For real-time updates, use StreamObjects instead.
|
|
673
|
+
*
|
|
674
|
+
* @generated from rpc raft.wdm.v1.service.ObjectService.SearchObjects
|
|
675
|
+
*/
|
|
676
|
+
searchObjects: {
|
|
677
|
+
methodKind: "unary";
|
|
678
|
+
input: typeof SearchObjectsRequestSchema;
|
|
679
|
+
output: typeof SearchObjectsResponseSchema;
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* Retrieves a single object by its unique identifier.
|
|
683
|
+
*
|
|
684
|
+
* @generated from rpc raft.wdm.v1.service.ObjectService.GetObject
|
|
685
|
+
*/
|
|
686
|
+
getObject: {
|
|
687
|
+
methodKind: "unary";
|
|
688
|
+
input: typeof GetObjectRequestSchema;
|
|
689
|
+
output: typeof GetObjectResponseSchema;
|
|
690
|
+
};
|
|
691
|
+
/**
|
|
692
|
+
* Accepts a stream of objects for batch publishing.
|
|
693
|
+
*
|
|
694
|
+
* Useful for bulk imports or high-throughput data ingestion.
|
|
695
|
+
*
|
|
696
|
+
* Semantics: best-effort for semantic per-message failures. The server
|
|
697
|
+
* validates each streamed object independently and continues processing the
|
|
698
|
+
* batch when an individual object is rejected (e.g. nil object, invalid
|
|
699
|
+
* TTL, future-skewed timestamp, or a conflict/reconciliation loss).
|
|
700
|
+
* Rejected objects are logged server-side; per-message reasons are not
|
|
701
|
+
* returned to the client. After the client closes the stream, the server
|
|
702
|
+
* returns a single PublishObjectsResponse summarizing the counts.
|
|
703
|
+
* `accepted + rejected` equals the number of objects sent only when the RPC
|
|
704
|
+
* completes successfully. Internal storage, transaction, or reconciliation
|
|
705
|
+
* errors abort the stream with CodeInternal and no summary response.
|
|
706
|
+
*
|
|
707
|
+
* NOTE: This streaming RPC is only available via gRPC.
|
|
708
|
+
* Not supported over standard REST/HTTP.
|
|
709
|
+
*
|
|
710
|
+
* @generated from rpc raft.wdm.v1.service.ObjectService.PublishObjects
|
|
711
|
+
*/
|
|
712
|
+
publishObjects: {
|
|
713
|
+
methodKind: "client_streaming";
|
|
714
|
+
input: typeof PublishObjectsRequestSchema;
|
|
715
|
+
output: typeof PublishObjectsResponseSchema;
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* Establishes a real-time stream of objects matching the filter criteria.
|
|
719
|
+
*
|
|
720
|
+
* This endpoint enables clients to maintain synchronized awareness of the
|
|
721
|
+
* battlespace by providing initial data for all pre-existing objects
|
|
722
|
+
* matching the filter, followed by updates as objects are created or
|
|
723
|
+
* modified. Clients can use filter criteria to receive only relevant
|
|
724
|
+
* objects, optimizing bandwidth usage.
|
|
725
|
+
*
|
|
726
|
+
* During initial synchronization, the server sends INITIAL events for all
|
|
727
|
+
* objects that are currently in a non-DELETED state. Objects with
|
|
728
|
+
* OBJECT_STATUS_DELETED are considered terminal and are omitted from the
|
|
729
|
+
* initial sync.
|
|
730
|
+
*
|
|
731
|
+
* NOTE: This streaming RPC is only available via gRPC. Not supported over
|
|
732
|
+
* standard REST/HTTP.
|
|
733
|
+
*
|
|
734
|
+
* @generated from rpc raft.wdm.v1.service.ObjectService.StreamObjects
|
|
735
|
+
*/
|
|
736
|
+
streamObjects: {
|
|
737
|
+
methodKind: "server_streaming";
|
|
738
|
+
input: typeof StreamObjectsRequestSchema;
|
|
739
|
+
output: typeof StreamObjectsResponseSchema;
|
|
740
|
+
};
|
|
741
|
+
}>;
|
|
742
|
+
//# sourceMappingURL=object_service_pb.d.ts.map
|