@dronedeploy/rocos-js-sdk 1.0.0-alpha-2 → 3.0.0-alpha.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/IRocosSDK.d.ts +3 -26
  2. package/RocosSDK.d.ts +6 -1
  3. package/RocosSDK.js +11 -1
  4. package/api/streams/caller/CallerStreamAbstract.js +1 -1
  5. package/api/streams/command/CommandStreamAbstract.js +1 -1
  6. package/api/streams/search/SearchStreamAbstract.js +2 -2
  7. package/constants/api.d.ts +9 -5
  8. package/constants/api.js +9 -5
  9. package/grpc/conker_pb.grpc-client.js +1 -1
  10. package/grpc/conker_pb.js +1 -1
  11. package/grpc/filagree_pb.d.ts +5 -5
  12. package/grpc/filagree_pb.grpc-client.js +1 -1
  13. package/grpc/filagree_pb.js +6 -6
  14. package/grpc/google/protobuf/descriptor_pb.d.ts +2 -2
  15. package/grpc/google/protobuf/descriptor_pb.js +4 -4
  16. package/grpc/google/protobuf/empty_pb.js +1 -1
  17. package/grpc/pigeon_pb.grpc-client.js +1 -1
  18. package/grpc/pigeon_pb.js +1 -1
  19. package/grpc/rambo.uri.v1_pb.js +1 -1
  20. package/grpc/rambo.v1_pb.d.ts +1 -1
  21. package/grpc/rambo.v1_pb.grpc-client.js +1 -1
  22. package/grpc/rambo.v1_pb.js +2 -2
  23. package/grpc/serviette.uri.v1_pb.js +1 -1
  24. package/grpc/serviette.v1_pb.d.ts +2 -2
  25. package/grpc/serviette.v1_pb.grpc-client.js +1 -1
  26. package/grpc/serviette.v1_pb.js +3 -3
  27. package/grpc/slowlane_pb.d.ts +4 -4
  28. package/grpc/slowlane_pb.grpc-client.js +1 -1
  29. package/grpc/slowlane_pb.js +5 -5
  30. package/grpc/teletubby_pb.d.ts +2 -2
  31. package/grpc/teletubby_pb.grpc-client.js +1 -1
  32. package/grpc/teletubby_pb.js +8 -8
  33. package/helpers/getURLSearchParams.d.ts +2 -0
  34. package/helpers/getURLSearchParams.js +9 -0
  35. package/helpers/getURLSearchParams.spec.d.ts +1 -0
  36. package/helpers/getURLSearchParams.spec.js +19 -0
  37. package/helpers/index.d.ts +2 -0
  38. package/helpers/index.js +2 -0
  39. package/helpers/nanosecondToMillisecond.d.ts +1 -1
  40. package/helpers/nanosecondToMillisecond.js +10 -4
  41. package/helpers/nanosecondToMillisecond.spec.d.ts +1 -0
  42. package/helpers/nanosecondToMillisecond.spec.js +20 -0
  43. package/helpers/websandbox/connection.d.ts +67 -0
  44. package/helpers/websandbox/connection.js +133 -0
  45. package/helpers/websandbox/frame/frame.d.ts +12 -0
  46. package/helpers/websandbox/frame/frame.js +22 -0
  47. package/helpers/websandbox/frame/frame.source.d.ts +2 -0
  48. package/helpers/websandbox/frame/frame.source.js +5 -0
  49. package/helpers/websandbox/frame/index.d.ts +2 -0
  50. package/helpers/websandbox/frame/index.js +2 -0
  51. package/helpers/websandbox/frame/worker/index.d.ts +2 -0
  52. package/helpers/websandbox/frame/worker/index.js +2 -0
  53. package/helpers/websandbox/frame/worker/manager.d.ts +11 -0
  54. package/helpers/websandbox/frame/worker/manager.js +67 -0
  55. package/helpers/websandbox/frame/worker/manager.spec.d.ts +4 -0
  56. package/helpers/websandbox/frame/worker/manager.spec.js +127 -0
  57. package/helpers/websandbox/frame/worker/types.d.ts +11 -0
  58. package/helpers/websandbox/frame/worker/types.js +1 -0
  59. package/helpers/websandbox/frame/worker/worker.d.ts +1 -0
  60. package/helpers/websandbox/frame/worker/worker.js +74 -0
  61. package/helpers/websandbox/frame/worker/worker.source.d.ts +2 -0
  62. package/helpers/websandbox/frame/worker/worker.source.js +4 -0
  63. package/helpers/websandbox/index.d.ts +2 -0
  64. package/helpers/websandbox/index.js +2 -0
  65. package/helpers/websandbox/sandbox.d.ts +57 -0
  66. package/helpers/websandbox/sandbox.js +175 -0
  67. package/helpers/websandbox/types.d.ts +13 -0
  68. package/helpers/websandbox/types.js +1 -0
  69. package/models/RocosError.d.ts +1 -0
  70. package/models/RocosError.js +1 -0
  71. package/models/ServiceEnum.d.ts +2 -1
  72. package/models/ServiceEnum.js +1 -0
  73. package/models/asset-storage/AssetModelItem.d.ts +3 -0
  74. package/models/index.d.ts +1 -0
  75. package/models/index.js +1 -0
  76. package/models/maps/Map.d.ts +1 -3
  77. package/models/maps/Panorama.d.ts +36 -0
  78. package/models/maps/Panorama.js +1 -0
  79. package/models/workflow/Workflow.d.ts +36 -0
  80. package/models/workflow/Workflow.js +1 -0
  81. package/node/RocosSDKNode.d.ts +6 -1
  82. package/node/RocosSDKNode.js +7 -0
  83. package/package.json +5 -3
  84. package/services/AssetStorageService.d.ts +18 -3
  85. package/services/AssetStorageService.js +28 -4
  86. package/services/BaseServiceAbstract.d.ts +1 -1
  87. package/services/BaseServiceAbstract.js +2 -6
  88. package/services/BaseStreamService.js +1 -1
  89. package/services/EvaluatorService.d.ts +11 -0
  90. package/services/EvaluatorService.js +28 -0
  91. package/services/MapService.d.ts +36 -3
  92. package/services/MapService.js +47 -4
  93. package/services/TelemetryService.d.ts +1 -0
  94. package/services/TelemetryService.js +13 -1
  95. package/services/TelemetryService.spec.js +2 -2
  96. package/services/WorkflowService.d.ts +25 -29
  97. package/services/WorkflowService.js +30 -62
  98. package/services/index.d.ts +1 -0
  99. package/services/index.js +1 -0
package/IRocosSDK.d.ts CHANGED
@@ -1,29 +1,5 @@
1
- import { MapService, SpotProvisioningServiceNode } from './services';
2
- import { AssetStorageService } from './services/AssetStorageService';
3
- import { AuthService } from './services/AuthService';
4
- import { CallerService } from './services/CallerService';
5
- import { CommandService } from './services/CommandService';
6
- import { ConfigGroupService } from './services/ConfigGroupService';
7
- import { ControlService } from './services/ControlService';
8
- import { DashboardService } from './services/DashboardService';
9
- import { EventService } from './services/EventService';
10
- import { FileAccessorService } from './services/FileAccessorService';
11
- import { FunctionService } from './services/FunctionService';
12
- import { IBaseService } from './models/IBaseService';
13
- import { IDebugLevel } from './models/IDebugLevel';
14
- import { IntegrationService } from './services/IntegrationService';
15
- import { ProfileService } from './services/ProfileService';
16
- import { ProjectService } from './services/ProjectService';
17
- import { RobotService } from './services/RobotService';
18
- import { SearchService } from './services/SearchService';
19
- import { ServiceEnum } from './models/ServiceEnum';
20
- import { SpotProvisioningService } from './services/SpotProvisioningService';
21
- import { StreamService } from './services/StreamService';
22
- import { TelemetryService } from './services/TelemetryService';
23
- import { TimeSyncerService } from './services/TimeSyncerService';
24
- import { UserService } from './services/UserService';
25
- import { WebRTCSignallingService } from './services/WebRTCSignallingService';
26
- import { WorkflowService } from './services/WorkflowService';
1
+ import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, EvaluatorService, EventService, FileAccessorService, FunctionService, IntegrationService, MapService, ProfileService, ProjectService, RobotService, SearchService, SpotProvisioningService, SpotProvisioningServiceNode, StreamService, TelemetryService, TimeSyncerService, UserService, WebRTCSignallingService, WorkflowService } from './services';
2
+ import { IBaseService, IDebugLevel, ServiceEnum } from './models';
27
3
  export declare abstract class IRocosSDK {
28
4
  abstract getService<T extends IBaseService>(name: ServiceEnum): T;
29
5
  abstract getAuthService(): AuthService;
@@ -49,6 +25,7 @@ export declare abstract class IRocosSDK {
49
25
  abstract getFileAccessorService(): FileAccessorService;
50
26
  abstract getSpotProvisionerService(): SpotProvisioningService | SpotProvisioningServiceNode;
51
27
  abstract getIntegrationService(): IntegrationService;
28
+ abstract getEvaluatorService(): EvaluatorService;
52
29
  abstract cleanup(): Promise<boolean>;
53
30
  abstract enableDebugMode(on: boolean): void;
54
31
  abstract setDebugLevel(level: IDebugLevel): void;
package/RocosSDK.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, EventService, FileAccessorService, FunctionService, IntegrationService, MapService, ProfileService, ProjectService, RobotService, ScheduleService, SearchService, SpotProvisioningService, StreamService, TelemetryService, TimeSyncerService, UserService, WebRTCSignallingService, WorkflowService } from './services';
1
+ import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, EvaluatorService, EventService, FileAccessorService, FunctionService, IntegrationService, MapService, ProfileService, ProjectService, RobotService, ScheduleService, SearchService, SpotProvisioningService, StreamService, TelemetryService, TimeSyncerService, UserService, WebRTCSignallingService, WorkflowService } from './services';
2
2
  import { IBaseService, IDebugLevel, IRocosSDKConfig, ServiceEnum } from './models';
3
3
  import { IRocosSDK } from './IRocosSDK';
4
4
  import { Logger } from 'loglevel';
@@ -120,6 +120,11 @@ export declare class RocosSDK implements IRocosSDK {
120
120
  * @returns MapService
121
121
  */
122
122
  getMapService(): MapService;
123
+ /**
124
+ * Gets the evaluator service
125
+ * @returns EvaluatorService
126
+ */
127
+ getEvaluatorService(): EvaluatorService;
123
128
  get platformTimeOffset(): number;
124
129
  get platformTime(): number;
125
130
  /**
package/RocosSDK.js CHANGED
@@ -1,4 +1,4 @@
1
- import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, EventService, FileAccessorService, FunctionService, IntegrationService, MapService, PlatFormTimeService, ProfileService, ProjectService, RobotService, ScheduleService, SearchService, SpotProvisioningService, StreamService, TelemetryService, TimeSyncerService, UserService, WebRTCSignallingService, WorkflowService, } from './services';
1
+ import { AssetStorageService, AuthService, CallerService, CommandService, ConfigGroupService, ControlService, DashboardService, EvaluatorService, EventService, FileAccessorService, FunctionService, IntegrationService, MapService, PlatFormTimeService, ProfileService, ProjectService, RobotService, ScheduleService, SearchService, SpotProvisioningService, StreamService, TelemetryService, TimeSyncerService, UserService, WebRTCSignallingService, WorkflowService, } from './services';
2
2
  import { ServiceEnum } from './models';
3
3
  import { RocosLogger } from './logger/RocosLogger';
4
4
  import { RocosStore } from './store/RocosStore';
@@ -97,6 +97,9 @@ export class RocosSDK {
97
97
  case ServiceEnum.MAP:
98
98
  this.services[name] = new MapService(this.config);
99
99
  break;
100
+ case ServiceEnum.EVALUATOR:
101
+ this.services[name] = new EvaluatorService(this.config);
102
+ break;
100
103
  }
101
104
  }
102
105
  this.logger.debug(`Found service ${name}.`);
@@ -252,6 +255,13 @@ export class RocosSDK {
252
255
  getMapService() {
253
256
  return this.getService(ServiceEnum.MAP);
254
257
  }
258
+ /**
259
+ * Gets the evaluator service
260
+ * @returns EvaluatorService
261
+ */
262
+ getEvaluatorService() {
263
+ return this.getService(ServiceEnum.EVALUATOR);
264
+ }
255
265
  get platformTimeOffset() {
256
266
  return PlatFormTimeService.getInstance(this.getTimeSyncerService())?.platformTimeOffset;
257
267
  }
@@ -70,7 +70,7 @@ export class CallerStreamAbstract {
70
70
  }
71
71
  return ServiceRequest.create({
72
72
  header: {
73
- created: BigInt(Date.now()),
73
+ created: Date.now().toString(),
74
74
  source: uri,
75
75
  responseLevel,
76
76
  },
@@ -48,7 +48,7 @@ export class CommandStreamAbstract {
48
48
  scheme: RocosUriScheme.GRPC,
49
49
  },
50
50
  resLevel: responseLevel.valueOf(),
51
- deadlineMs: BigInt(getUnixTimeMs(timeoutMs)),
51
+ deadlineMs: getUnixTimeMs(timeoutMs).toString(),
52
52
  parameters,
53
53
  });
54
54
  }
@@ -58,8 +58,8 @@ export class SearchStreamAbstract {
58
58
  startDate: `${query.startDate}`,
59
59
  endDate: `${query.endDate}`,
60
60
  interval: query.interval,
61
- refreshDelay: BigInt(query.refreshDelay),
62
- disableDateHistogram: query.disableDateHistogram ? 1n : 0n,
61
+ refreshDelay: query.refreshDelay.toString(),
62
+ disableDateHistogram: query.disableDateHistogram ? '1' : '0',
63
63
  });
64
64
  if (query.dateField) {
65
65
  reqMsg.dateField = query.dateField;
@@ -37,7 +37,9 @@ export declare const API_PROJECT_ASSET_ROBOTS_SYNC_DEFINITION_PATH_URL = "https:
37
37
  export declare const API_PROJECT_ASSET_PROFILES_SYNC_DEFINITION_PATH_URL = "https://{url}/projects/{projectId}/profiles/{profileId}/sync-definitions";
38
38
  export declare const API_PROJECT_ROBOT_ASSET_PATH_URL = "https://{url}/projects/{projectId}/robots/{callsign}/assets";
39
39
  export declare const API_PROJECT_FLOW_ASSET_PATH_URL = "https://{url}/projects/{projectId}/flows/{callsign}/assets";
40
- export declare const API_PROJECT_MISSION_ASSET_PATH_URL = "https://{url}/projects/{projectId}/missionassets/{dataUUID}";
40
+ export declare const API_PROJECT_MISSION_ASSETS_PATH_URL = "https://{url}/projects/{projectId}/missionassets";
41
+ export declare const API_PROJECT_MISSION_ASSET_PATH_URL = "https://{url}/projects/{projectId}/missionassets/{assetId}";
42
+ export declare const API_PROJECT_MAPPED_ASSETS_PATH_URL = "https://{url}/projects/{projectId}/mappedassets";
41
43
  export declare const API_PROJECT_ROBOT_URL = "https://{url}/projects/{projectId}/robots";
42
44
  export declare const API_PROJECT_ROBOT_ID_URL = "https://{url}/projects/{projectId}/robots/{callsign}";
43
45
  export declare const API_PROJECT_ROBOT_ATTRIBUTES_URL = "https://{url}/projects/{projectId}/robots/{callsign}/attributes";
@@ -97,10 +99,6 @@ export declare const API_PROJECT_ROBOT_DASHBOARD_URL = "https://{url}/projects/{
97
99
  export declare const API_PROJECT_ROBOT_DASHBOARD_ID_URL = "https://{url}/projects/{projectId}/robots/{callsign}/dashboards/{dashboardId}";
98
100
  export declare const API_PROJECT_ROBOT_DASHBOARD_CUSTOM_WIDGET_URL = "https://{url}/projects/{projectId}/robots/{callsign}/dashboards/{dashboardId}/custom-widgets";
99
101
  export declare const API_PROJECT_CALLSIGN_STREAM_URL = "https://{url}/projects/{projectId}/callsigns/{callsign}/streams";
100
- export declare const API_PROJECT_CALLSIGN_WORKFLOW_URL = "https://{url}/projects/{projectId}/callsigns/{callsign}/workflows";
101
- export declare const API_PROJECT_WORKFLOW_URL = "https://{url}/projects/{projectId}/workflows";
102
- export declare const API_PROJECT_ROBOT_DEPLOYED_WORKFLOW_URL = "https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments";
103
- export declare const API_PROJECT_WORKFLOW_ID_URL = "https://{url}/projects/{projectId}/workflows/{workflowId}";
104
102
  export declare const API_PROJECT_PROFILE_DASHBOARD_URL = "https://{url}/projects/{projectId}/profiles/{profileId}/dashboards";
105
103
  export declare const API_PROJECT_PROFILE_DASHBOARD_ID_URL = "https://{url}/projects/{projectId}/profiles/{profileId}/dashboards/{dashboardId}";
106
104
  export declare const API_PROJECT_PROFILE_DASHBOARD_CUSTOM_WIDGET_URL = "https://{url}/projects/{projectId}/profiles/{profileId}/dashboards/{dashboardId}/custom-widgets";
@@ -124,3 +122,9 @@ export declare const API_MAP_ID_URL = "https://{url}/projects/{projectId}/maps/{
124
122
  export declare const API_MAPS_COPY_URL = "https://{url}/projects/{projectId}/maps/{mapId}/copy";
125
123
  export declare const API_MAPS_DEPLOY_URL = "https://{url}/projects/{projectId}/maps/{mapId}/deploy";
126
124
  export declare const API_MAPS_GEOJSON_URL = "https://{url}/projects/{projectId}/maps/{mapId}/geojson";
125
+ export declare const API_MAPS_PANORAMA_OBSERVATIONS_URL = "https://{url}/projects/{projectId}/panoramas/{panoramaId}/observations";
126
+ export declare const API_OBSERVATIONS_URL = "https://{url}/projects/{projectId}/observations";
127
+ export declare const API_OBSERVATION_KEYS_URL = "https://{url}/projects/{projectId}/observations/keys";
128
+ export declare const API_PROJECT_WORKFLOW_URL = "https://{url}/projects/{projectId}/automate/flows";
129
+ export declare const API_PROJECT_WORKFLOW_ID_URL = "https://{url}/projects/{projectId}/automate/flows/{workflowId}";
130
+ export declare const API_PROJECT_DEPLOYED_WORKFLOW_URL = "https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments";
package/constants/api.js CHANGED
@@ -37,7 +37,9 @@ export const API_PROJECT_ASSET_ROBOTS_SYNC_DEFINITION_PATH_URL = 'https://{url}/
37
37
  export const API_PROJECT_ASSET_PROFILES_SYNC_DEFINITION_PATH_URL = 'https://{url}/projects/{projectId}/profiles/{profileId}/sync-definitions';
38
38
  export const API_PROJECT_ROBOT_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/assets';
39
39
  export const API_PROJECT_FLOW_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/flows/{callsign}/assets';
40
- export const API_PROJECT_MISSION_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/missionassets/{dataUUID}';
40
+ export const API_PROJECT_MISSION_ASSETS_PATH_URL = 'https://{url}/projects/{projectId}/missionassets';
41
+ export const API_PROJECT_MISSION_ASSET_PATH_URL = 'https://{url}/projects/{projectId}/missionassets/{assetId}';
42
+ export const API_PROJECT_MAPPED_ASSETS_PATH_URL = 'https://{url}/projects/{projectId}/mappedassets';
41
43
  export const API_PROJECT_ROBOT_URL = 'https://{url}/projects/{projectId}/robots';
42
44
  export const API_PROJECT_ROBOT_ID_URL = 'https://{url}/projects/{projectId}/robots/{callsign}';
43
45
  export const API_PROJECT_ROBOT_ATTRIBUTES_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/attributes';
@@ -97,10 +99,6 @@ export const API_PROJECT_ROBOT_DASHBOARD_URL = 'https://{url}/projects/{projectI
97
99
  export const API_PROJECT_ROBOT_DASHBOARD_ID_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/dashboards/{dashboardId}';
98
100
  export const API_PROJECT_ROBOT_DASHBOARD_CUSTOM_WIDGET_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/dashboards/{dashboardId}/custom-widgets';
99
101
  export const API_PROJECT_CALLSIGN_STREAM_URL = 'https://{url}/projects/{projectId}/callsigns/{callsign}/streams';
100
- export const API_PROJECT_CALLSIGN_WORKFLOW_URL = 'https://{url}/projects/{projectId}/callsigns/{callsign}/workflows';
101
- export const API_PROJECT_WORKFLOW_URL = 'https://{url}/projects/{projectId}/workflows';
102
- export const API_PROJECT_ROBOT_DEPLOYED_WORKFLOW_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments';
103
- export const API_PROJECT_WORKFLOW_ID_URL = 'https://{url}/projects/{projectId}/workflows/{workflowId}';
104
102
  export const API_PROJECT_PROFILE_DASHBOARD_URL = 'https://{url}/projects/{projectId}/profiles/{profileId}/dashboards';
105
103
  export const API_PROJECT_PROFILE_DASHBOARD_ID_URL = 'https://{url}/projects/{projectId}/profiles/{profileId}/dashboards/{dashboardId}';
106
104
  export const API_PROJECT_PROFILE_DASHBOARD_CUSTOM_WIDGET_URL = 'https://{url}/projects/{projectId}/profiles/{profileId}/dashboards/{dashboardId}/custom-widgets';
@@ -124,3 +122,9 @@ export const API_MAP_ID_URL = 'https://{url}/projects/{projectId}/maps/{mapId}';
124
122
  export const API_MAPS_COPY_URL = 'https://{url}/projects/{projectId}/maps/{mapId}/copy';
125
123
  export const API_MAPS_DEPLOY_URL = 'https://{url}/projects/{projectId}/maps/{mapId}/deploy';
126
124
  export const API_MAPS_GEOJSON_URL = 'https://{url}/projects/{projectId}/maps/{mapId}/geojson';
125
+ export const API_MAPS_PANORAMA_OBSERVATIONS_URL = 'https://{url}/projects/{projectId}/panoramas/{panoramaId}/observations';
126
+ export const API_OBSERVATIONS_URL = 'https://{url}/projects/{projectId}/observations';
127
+ export const API_OBSERVATION_KEYS_URL = 'https://{url}/projects/{projectId}/observations/keys';
128
+ export const API_PROJECT_WORKFLOW_URL = 'https://{url}/projects/{projectId}/automate/flows';
129
+ export const API_PROJECT_WORKFLOW_ID_URL = 'https://{url}/projects/{projectId}/automate/flows/{workflowId}';
130
+ export const API_PROJECT_DEPLOYED_WORKFLOW_URL = 'https://{url}/projects/{projectId}/robots/{callsign}/automate/flows/deployments';
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "conker.proto" (package "conker.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
package/grpc/conker_pb.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "conker.proto" (package "conker.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -146,11 +146,11 @@ export interface RxStatus_ChunkDesc {
146
146
  /**
147
147
  * @generated from protobuf field: int64 from = 1;
148
148
  */
149
- from: bigint;
149
+ from: string;
150
150
  /**
151
151
  * @generated from protobuf field: int64 size = 2;
152
152
  */
153
- size: bigint;
153
+ size: string;
154
154
  }
155
155
  /**
156
156
  * @generated from protobuf enum filagree.v1.RxStatus.Status
@@ -198,11 +198,11 @@ export interface ChunkData {
198
198
  /**
199
199
  * @generated from protobuf field: int64 from = 2;
200
200
  */
201
- from: bigint;
201
+ from: string;
202
202
  /**
203
203
  * @generated from protobuf field: int64 next = 3;
204
204
  */
205
- next: bigint;
205
+ next: string;
206
206
  /**
207
207
  * @generated from protobuf field: bytes data = 4;
208
208
  */
@@ -219,7 +219,7 @@ export interface ChunkData_TransferData {
219
219
  /**
220
220
  * @generated from protobuf field: int64 size = 2;
221
221
  */
222
- size: bigint;
222
+ size: string;
223
223
  /**
224
224
  * @generated from protobuf field: bytes checksum = 3;
225
225
  */
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "filagree.proto" (package "filagree.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "filagree.proto" (package "filagree.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -279,8 +279,8 @@ export const RxStatus = new RxStatus$Type();
279
279
  class RxStatus_ChunkDesc$Type extends MessageType {
280
280
  constructor() {
281
281
  super("filagree.v1.RxStatus.ChunkDesc", [
282
- { no: 1, name: "from", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
283
- { no: 2, name: "size", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
282
+ { no: 1, name: "from", kind: "scalar", T: 3 /*ScalarType.INT64*/ },
283
+ { no: 2, name: "size", kind: "scalar", T: 3 /*ScalarType.INT64*/ }
284
284
  ]);
285
285
  }
286
286
  }
@@ -293,8 +293,8 @@ class ChunkData$Type extends MessageType {
293
293
  constructor() {
294
294
  super("filagree.v1.ChunkData", [
295
295
  { no: 1, name: "resource", kind: "message", T: () => ChunkData_TransferData },
296
- { no: 2, name: "from", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
297
- { no: 3, name: "next", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
296
+ { no: 2, name: "from", kind: "scalar", T: 3 /*ScalarType.INT64*/ },
297
+ { no: 3, name: "next", kind: "scalar", T: 3 /*ScalarType.INT64*/ },
298
298
  { no: 4, name: "data", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
299
299
  ]);
300
300
  }
@@ -308,7 +308,7 @@ class ChunkData_TransferData$Type extends MessageType {
308
308
  constructor() {
309
309
  super("filagree.v1.ChunkData.TransferData", [
310
310
  { no: 1, name: "path", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
311
- { no: 2, name: "size", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
311
+ { no: 2, name: "size", kind: "scalar", T: 3 /*ScalarType.INT64*/ },
312
312
  { no: 3, name: "checksum", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
313
313
  ]);
314
314
  }
@@ -1250,11 +1250,11 @@ export interface UninterpretedOption {
1250
1250
  /**
1251
1251
  * @generated from protobuf field: optional uint64 positive_int_value = 4;
1252
1252
  */
1253
- positiveIntValue?: bigint;
1253
+ positiveIntValue?: string;
1254
1254
  /**
1255
1255
  * @generated from protobuf field: optional int64 negative_int_value = 5;
1256
1256
  */
1257
- negativeIntValue?: bigint;
1257
+ negativeIntValue?: string;
1258
1258
  /**
1259
1259
  * @generated from protobuf field: optional double double_value = 6;
1260
1260
  */
@@ -1971,8 +1971,8 @@ class UninterpretedOption$Type extends MessageType {
1971
1971
  super("google.protobuf.UninterpretedOption", [
1972
1972
  { no: 2, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption_NamePart },
1973
1973
  { no: 3, name: "identifier_value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
1974
- { no: 4, name: "positive_int_value", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
1975
- { no: 5, name: "negative_int_value", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
1974
+ { no: 4, name: "positive_int_value", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/ },
1975
+ { no: 5, name: "negative_int_value", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/ },
1976
1976
  { no: 6, name: "double_value", kind: "scalar", opt: true, T: 1 /*ScalarType.DOUBLE*/ },
1977
1977
  { no: 7, name: "string_value", kind: "scalar", opt: true, T: 12 /*ScalarType.BYTES*/ },
1978
1978
  { no: 8, name: "aggregate_value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
@@ -1997,10 +1997,10 @@ class UninterpretedOption$Type extends MessageType {
1997
1997
  message.identifierValue = reader.string();
1998
1998
  break;
1999
1999
  case /* optional uint64 positive_int_value */ 4:
2000
- message.positiveIntValue = reader.uint64().toBigInt();
2000
+ message.positiveIntValue = reader.uint64().toString();
2001
2001
  break;
2002
2002
  case /* optional int64 negative_int_value */ 5:
2003
- message.negativeIntValue = reader.int64().toBigInt();
2003
+ message.negativeIntValue = reader.int64().toString();
2004
2004
  break;
2005
2005
  case /* optional double double_value */ 6:
2006
2006
  message.doubleValue = reader.double();
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "google/protobuf/empty.proto" (package "google.protobuf", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "pigeon.proto" (package "pigeon.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
package/grpc/pigeon_pb.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "pigeon.proto" (package "pigeon.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "rambo.uri.v1.proto" (package "rambo.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -189,7 +189,7 @@ export interface CommandRequest {
189
189
  *
190
190
  * @generated from protobuf field: uint64 deadlineMs = 12;
191
191
  */
192
- deadlineMs: bigint;
192
+ deadlineMs: string;
193
193
  }
194
194
  /**
195
195
  * @generated from protobuf message rambo.v1.ExecutionContext
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "rambo.v1.proto" (package "rambo.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "rambo.v1.proto" (package "rambo.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -238,7 +238,7 @@ class CommandRequest$Type extends MessageType {
238
238
  { no: 3, name: "resLevel", kind: "enum", T: () => ["rambo.v1.CommandResponseLevel", CommandResponseLevel] },
239
239
  { no: 10, name: "parameters", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
240
240
  { no: 11, name: "context", kind: "message", T: () => ExecutionContext },
241
- { no: 12, name: "deadlineMs", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
241
+ { no: 12, name: "deadlineMs", kind: "scalar", T: 4 /*ScalarType.UINT64*/ }
242
242
  ]);
243
243
  }
244
244
  }
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "serviette.uri.v1.proto" (package "uri.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -143,7 +143,7 @@ export interface ServiceRequestHeader {
143
143
  /**
144
144
  * @generated from protobuf field: int64 created = 2;
145
145
  */
146
- created: bigint;
146
+ created: string;
147
147
  /**
148
148
  * @generated from protobuf field: map<string, string> meta = 11;
149
149
  */
@@ -320,7 +320,7 @@ export interface ServiceReturnHeader {
320
320
  /**
321
321
  * @generated from protobuf field: int64 created = 1;
322
322
  */
323
- created: bigint;
323
+ created: string;
324
324
  /**
325
325
  * @generated from protobuf field: map<string, string> meta = 10;
326
326
  */
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "serviette.v1.proto" (package "serviette.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "serviette.v1.proto" (package "serviette.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -250,7 +250,7 @@ class ServiceRequestHeader$Type extends MessageType {
250
250
  constructor() {
251
251
  super("serviette.v1.ServiceRequestHeader", [
252
252
  { no: 1, name: "source", kind: "message", T: () => RocosURI, options: { required: true } },
253
- { no: 2, name: "created", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { required: true } },
253
+ { no: 2, name: "created", kind: "scalar", T: 3 /*ScalarType.INT64*/, options: { required: true } },
254
254
  { no: 11, name: "meta", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
255
255
  { no: 13, name: "responseLevel", kind: "enum", T: () => ["serviette.v1.ServiceResponseLevel", ServiceResponseLevel] }
256
256
  ]);
@@ -372,7 +372,7 @@ export const ServiceReturn = new ServiceReturn$Type();
372
372
  class ServiceReturnHeader$Type extends MessageType {
373
373
  constructor() {
374
374
  super("serviette.v1.ServiceReturnHeader", [
375
- { no: 1, name: "created", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { required: true } },
375
+ { no: 1, name: "created", kind: "scalar", T: 3 /*ScalarType.INT64*/, options: { required: true } },
376
376
  { no: 10, name: "meta", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } }
377
377
  ]);
378
378
  }
@@ -39,7 +39,7 @@ export interface SearchQueryMessage {
39
39
  /**
40
40
  * @generated from protobuf field: uint64 refreshDelay = 9;
41
41
  */
42
- refreshDelay: bigint;
42
+ refreshDelay: string;
43
43
  }
44
44
  /**
45
45
  * @generated from protobuf message search.v1.Filter
@@ -116,7 +116,7 @@ export interface QueryMessage {
116
116
  /**
117
117
  * @generated from protobuf field: uint64 refreshDelay = 7;
118
118
  */
119
- refreshDelay: bigint;
119
+ refreshDelay: string;
120
120
  /**
121
121
  * @generated from protobuf field: string dateField = 8;
122
122
  */
@@ -128,7 +128,7 @@ export interface QueryMessage {
128
128
  /**
129
129
  * @generated from protobuf field: uint64 disableDateHistogram = 10;
130
130
  */
131
- disableDateHistogram: bigint;
131
+ disableDateHistogram: string;
132
132
  }
133
133
  /**
134
134
  * @generated from protobuf message search.v1.Row
@@ -141,7 +141,7 @@ export interface Row {
141
141
  /**
142
142
  * @generated from protobuf field: uint64 count = 2;
143
143
  */
144
- count: bigint;
144
+ count: string;
145
145
  /**
146
146
  * @generated from protobuf field: double avgSize = 3;
147
147
  */
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "slowlane.proto" (package "search.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "slowlane.proto" (package "search.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck
@@ -17,7 +17,7 @@ class SearchQueryMessage$Type extends MessageType {
17
17
  { no: 6, name: "startDate", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
18
18
  { no: 7, name: "endDate", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
19
19
  { no: 8, name: "interval", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
20
- { no: 9, name: "refreshDelay", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
20
+ { no: 9, name: "refreshDelay", kind: "scalar", T: 4 /*ScalarType.UINT64*/ }
21
21
  ]);
22
22
  }
23
23
  }
@@ -85,10 +85,10 @@ class QueryMessage$Type extends MessageType {
85
85
  { no: 4, name: "startDate", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
86
86
  { no: 5, name: "endDate", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
87
87
  { no: 6, name: "interval", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
88
- { no: 7, name: "refreshDelay", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
88
+ { no: 7, name: "refreshDelay", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
89
89
  { no: 8, name: "dateField", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
90
90
  { no: 9, name: "projectId", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
91
- { no: 10, name: "disableDateHistogram", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
91
+ { no: 10, name: "disableDateHistogram", kind: "scalar", T: 4 /*ScalarType.UINT64*/ }
92
92
  ]);
93
93
  }
94
94
  }
@@ -101,7 +101,7 @@ class Row$Type extends MessageType {
101
101
  constructor() {
102
102
  super("search.v1.Row", [
103
103
  { no: 1, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
104
- { no: 2, name: "count", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
104
+ { no: 2, name: "count", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
105
105
  { no: 3, name: "avgSize", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
106
106
  { no: 4, name: "totalSize", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
107
107
  { no: 5, name: "payload", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
@@ -26,11 +26,11 @@ export interface TelemetryMessage {
26
26
  /**
27
27
  * @generated from protobuf field: int64 created = 4;
28
28
  */
29
- created: bigint;
29
+ created: string;
30
30
  /**
31
31
  * @generated from protobuf field: uint64 seq = 5;
32
32
  */
33
- seq: bigint;
33
+ seq: string;
34
34
  /**
35
35
  * @generated from protobuf field: map<string, string> meta = 6;
36
36
  */
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size
2
+ // @generated by protobuf-ts 2.9.1 with parameter ts_nocheck,eslint_disable,add_pb_suffix,client_grpc1,optimize_code_size,long_type_string
3
3
  // @generated from protobuf file "teletubby.proto" (package "teletubby.v1", syntax proto3)
4
4
  // tslint:disable
5
5
  // @ts-nocheck