@bikefinder/sdk 0.16.0 → 0.23.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/README.md +47 -202
- package/dist/chunk-HTKUP56M.js +786 -0
- package/dist/index.d.ts +17753 -39
- package/dist/index.js +385 -65
- package/dist/schemas.d.ts +17882 -0
- package/dist/schemas.js +174 -0
- package/package.json +20 -23
- package/dist/acquisition-schema.d.ts +0 -177
- package/dist/acquisition-schema.js +0 -250
- package/dist/device-schema.d.ts +0 -9095
- package/dist/device-schema.js +0 -10734
- package/dist/generated/client/client.gen.d.ts +0 -2
- package/dist/generated/client/client.gen.js +0 -217
- package/dist/generated/client/index.d.ts +0 -10
- package/dist/generated/client/index.js +0 -6
- package/dist/generated/client/types.gen.d.ts +0 -120
- package/dist/generated/client/types.gen.js +0 -2
- package/dist/generated/client/utils.gen.d.ts +0 -37
- package/dist/generated/client/utils.gen.js +0 -231
- package/dist/generated/client.gen.d.ts +0 -12
- package/dist/generated/client.gen.js +0 -3
- package/dist/generated/core/auth.gen.d.ts +0 -25
- package/dist/generated/core/auth.gen.js +0 -14
- package/dist/generated/core/bodySerializer.gen.d.ts +0 -25
- package/dist/generated/core/bodySerializer.gen.js +0 -57
- package/dist/generated/core/params.gen.d.ts +0 -43
- package/dist/generated/core/params.gen.js +0 -112
- package/dist/generated/core/pathSerializer.gen.d.ts +0 -33
- package/dist/generated/core/pathSerializer.gen.js +0 -114
- package/dist/generated/core/queryKeySerializer.gen.d.ts +0 -18
- package/dist/generated/core/queryKeySerializer.gen.js +0 -99
- package/dist/generated/core/serverSentEvents.gen.d.ts +0 -71
- package/dist/generated/core/serverSentEvents.gen.js +0 -136
- package/dist/generated/core/types.gen.d.ts +0 -83
- package/dist/generated/core/types.gen.js +0 -2
- package/dist/generated/core/utils.gen.d.ts +0 -19
- package/dist/generated/core/utils.gen.js +0 -87
- package/dist/generated/index.d.ts +0 -2
- package/dist/generated/index.js +0 -2
- package/dist/generated/sdk.gen.d.ts +0 -153
- package/dist/generated/sdk.gen.js +0 -1452
- package/dist/generated/types.gen.d.ts +0 -12899
- package/dist/generated/types.gen.js +0 -2
- package/dist/generated/zod.gen.d.ts +0 -39561
- package/dist/generated/zod.gen.js +0 -14101
- package/dist/signalr/BikeFinder.Api.Commands.d.ts +0 -1
- package/dist/signalr/BikeFinder.Api.Commands.js +0 -1
- package/dist/signalr/BikeFinder.Api.Firestore.d.ts +0 -1
- package/dist/signalr/BikeFinder.Api.Firestore.js +0 -1
- package/dist/signalr/BikeFinder.Api.Http.d.ts +0 -7
- package/dist/signalr/BikeFinder.Api.Http.js +0 -4
- package/dist/signalr/BikeFinder.Api.Observations.d.ts +0 -1
- package/dist/signalr/BikeFinder.Api.Observations.js +0 -1
- package/dist/signalr/BikeFinder.Api.Settings.d.ts +0 -1
- package/dist/signalr/BikeFinder.Api.Settings.js +0 -1
- package/dist/signalr/BikeFinder.Api.Trackers.d.ts +0 -22
- package/dist/signalr/BikeFinder.Api.Trackers.js +0 -4
- package/dist/signalr/BikeFinder.DeviceConfiguration.d.ts +0 -1
- package/dist/signalr/BikeFinder.DeviceConfiguration.js +0 -1
- package/dist/signalr/BikeFinder.Nucleus.Commands.d.ts +0 -1
- package/dist/signalr/BikeFinder.Nucleus.Commands.js +0 -1
- package/dist/signalr/BikeFinder.Observations.Model.d.ts +0 -1
- package/dist/signalr/BikeFinder.Observations.Model.js +0 -1
- package/dist/signalr/TypedSignalR.Client/BikeFinder.Api.Trackers.d.ts +0 -91
- package/dist/signalr/TypedSignalR.Client/BikeFinder.Api.Trackers.js +0 -1
- package/dist/signalr/TypedSignalR.Client/index.d.ts +0 -18
- package/dist/signalr/TypedSignalR.Client/index.js +0 -89
- package/openapi/api.json +0 -52998
package/dist/schemas.js
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import {
|
|
2
|
+
account,
|
|
3
|
+
accountPreferencePatch,
|
|
4
|
+
accountPreferences,
|
|
5
|
+
batteryObservation,
|
|
6
|
+
bikeChanges,
|
|
7
|
+
bikeEditInput,
|
|
8
|
+
bluetoothContract,
|
|
9
|
+
bluetoothCredentials,
|
|
10
|
+
bluetoothPin,
|
|
11
|
+
bluetoothPinChange,
|
|
12
|
+
customerContract,
|
|
13
|
+
directoryProfile,
|
|
14
|
+
downloadReference,
|
|
15
|
+
factoryResetReport,
|
|
16
|
+
firmwareAppInput,
|
|
17
|
+
firmwareAvailability,
|
|
18
|
+
firmwareClientReport,
|
|
19
|
+
firmwareReportInput,
|
|
20
|
+
firmwareReportOutcome,
|
|
21
|
+
firmwareTransfer,
|
|
22
|
+
firmwareUpdateInput,
|
|
23
|
+
gen1FirmwareContract,
|
|
24
|
+
historyContract,
|
|
25
|
+
historyCursor,
|
|
26
|
+
historyEntry,
|
|
27
|
+
historyInput,
|
|
28
|
+
historyPage,
|
|
29
|
+
inboxContract,
|
|
30
|
+
inboxPage,
|
|
31
|
+
inboxPageInput,
|
|
32
|
+
invitationInput,
|
|
33
|
+
invitationRedeemInput,
|
|
34
|
+
locationObservation,
|
|
35
|
+
membershipName,
|
|
36
|
+
migratedSession,
|
|
37
|
+
notification,
|
|
38
|
+
notificationSource,
|
|
39
|
+
photo,
|
|
40
|
+
photoDownloadInput,
|
|
41
|
+
photoInput,
|
|
42
|
+
photoPage,
|
|
43
|
+
photoPageInput,
|
|
44
|
+
photoUploadContract,
|
|
45
|
+
photoUploadInput,
|
|
46
|
+
photoUploadSession,
|
|
47
|
+
photoUploadStartInput,
|
|
48
|
+
pushContract,
|
|
49
|
+
pushRegistrationInput,
|
|
50
|
+
pushRemovalInput,
|
|
51
|
+
pushToken,
|
|
52
|
+
realtimeContract,
|
|
53
|
+
realtimeTicket,
|
|
54
|
+
startFirmwareUpdate,
|
|
55
|
+
subscription,
|
|
56
|
+
subscriptionAllocationContract,
|
|
57
|
+
subscriptionAllocationInput,
|
|
58
|
+
subscriptionContract,
|
|
59
|
+
subscriptionPage,
|
|
60
|
+
theftContract,
|
|
61
|
+
theftSubmission,
|
|
62
|
+
tracker,
|
|
63
|
+
trackerAdmission,
|
|
64
|
+
trackerBattery,
|
|
65
|
+
trackerBike,
|
|
66
|
+
trackerChangeContract,
|
|
67
|
+
trackerClaimInput,
|
|
68
|
+
trackerFields,
|
|
69
|
+
trackerFirmware,
|
|
70
|
+
trackerFirmwareRelease,
|
|
71
|
+
trackerFirmwareReleases,
|
|
72
|
+
trackerFirmwareUpdate,
|
|
73
|
+
trackerInvitation,
|
|
74
|
+
trackerInvitationContract,
|
|
75
|
+
trackerLocation,
|
|
76
|
+
trackerLookupContract,
|
|
77
|
+
trackerLookupInput,
|
|
78
|
+
trackerMember,
|
|
79
|
+
trackerMemberAddInput,
|
|
80
|
+
trackerMemberInput,
|
|
81
|
+
trackerMovementAlertsInput,
|
|
82
|
+
trackerPage,
|
|
83
|
+
trackerPhotoContract,
|
|
84
|
+
trackerSubscription,
|
|
85
|
+
trackerSummary,
|
|
86
|
+
trackerSummaryFields
|
|
87
|
+
} from "./chunk-HTKUP56M.js";
|
|
88
|
+
export {
|
|
89
|
+
account,
|
|
90
|
+
accountPreferencePatch,
|
|
91
|
+
accountPreferences,
|
|
92
|
+
batteryObservation,
|
|
93
|
+
bikeChanges,
|
|
94
|
+
bikeEditInput,
|
|
95
|
+
bluetoothContract,
|
|
96
|
+
bluetoothCredentials,
|
|
97
|
+
bluetoothPin,
|
|
98
|
+
bluetoothPinChange,
|
|
99
|
+
customerContract,
|
|
100
|
+
directoryProfile,
|
|
101
|
+
downloadReference,
|
|
102
|
+
factoryResetReport,
|
|
103
|
+
firmwareAppInput,
|
|
104
|
+
firmwareAvailability,
|
|
105
|
+
firmwareClientReport,
|
|
106
|
+
firmwareReportInput,
|
|
107
|
+
firmwareReportOutcome,
|
|
108
|
+
firmwareTransfer,
|
|
109
|
+
firmwareUpdateInput,
|
|
110
|
+
gen1FirmwareContract,
|
|
111
|
+
historyContract,
|
|
112
|
+
historyCursor,
|
|
113
|
+
historyEntry,
|
|
114
|
+
historyInput,
|
|
115
|
+
historyPage,
|
|
116
|
+
inboxContract,
|
|
117
|
+
inboxPage,
|
|
118
|
+
inboxPageInput,
|
|
119
|
+
invitationInput,
|
|
120
|
+
invitationRedeemInput,
|
|
121
|
+
locationObservation,
|
|
122
|
+
membershipName,
|
|
123
|
+
migratedSession,
|
|
124
|
+
notification,
|
|
125
|
+
notificationSource,
|
|
126
|
+
photo,
|
|
127
|
+
photoDownloadInput,
|
|
128
|
+
photoInput,
|
|
129
|
+
photoPage,
|
|
130
|
+
photoPageInput,
|
|
131
|
+
photoUploadContract,
|
|
132
|
+
photoUploadInput,
|
|
133
|
+
photoUploadSession,
|
|
134
|
+
photoUploadStartInput,
|
|
135
|
+
pushContract,
|
|
136
|
+
pushRegistrationInput,
|
|
137
|
+
pushRemovalInput,
|
|
138
|
+
pushToken,
|
|
139
|
+
realtimeContract,
|
|
140
|
+
realtimeTicket,
|
|
141
|
+
startFirmwareUpdate,
|
|
142
|
+
subscription,
|
|
143
|
+
subscriptionAllocationContract,
|
|
144
|
+
subscriptionAllocationInput,
|
|
145
|
+
subscriptionContract,
|
|
146
|
+
subscriptionPage,
|
|
147
|
+
theftContract,
|
|
148
|
+
theftSubmission,
|
|
149
|
+
tracker,
|
|
150
|
+
trackerAdmission,
|
|
151
|
+
trackerBattery,
|
|
152
|
+
trackerBike,
|
|
153
|
+
trackerChangeContract,
|
|
154
|
+
trackerClaimInput,
|
|
155
|
+
trackerFields,
|
|
156
|
+
trackerFirmware,
|
|
157
|
+
trackerFirmwareRelease,
|
|
158
|
+
trackerFirmwareReleases,
|
|
159
|
+
trackerFirmwareUpdate,
|
|
160
|
+
trackerInvitation,
|
|
161
|
+
trackerInvitationContract,
|
|
162
|
+
trackerLocation,
|
|
163
|
+
trackerLookupContract,
|
|
164
|
+
trackerLookupInput,
|
|
165
|
+
trackerMember,
|
|
166
|
+
trackerMemberAddInput,
|
|
167
|
+
trackerMemberInput,
|
|
168
|
+
trackerMovementAlertsInput,
|
|
169
|
+
trackerPage,
|
|
170
|
+
trackerPhotoContract,
|
|
171
|
+
trackerSubscription,
|
|
172
|
+
trackerSummary,
|
|
173
|
+
trackerSummaryFields
|
|
174
|
+
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bikefinder/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.23.0",
|
|
4
|
+
"description": "Typed HTTP and WebSocket client for BikeFinder.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/bikefinder/aws_cloud.git",
|
|
9
|
-
"directory": "packages/sdk"
|
|
9
|
+
"directory": "services/api/packages/sdk"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"sideEffects": false,
|
|
@@ -15,39 +15,36 @@
|
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"dist",
|
|
18
|
-
"README.md"
|
|
19
|
-
"openapi/api.json"
|
|
18
|
+
"README.md"
|
|
20
19
|
],
|
|
21
20
|
"exports": {
|
|
22
21
|
".": {
|
|
23
22
|
"types": "./dist/index.d.ts",
|
|
24
|
-
"import": "./dist/index.js"
|
|
25
|
-
"default": "./dist/index.js"
|
|
23
|
+
"import": "./dist/index.js"
|
|
26
24
|
},
|
|
27
25
|
"./schemas": {
|
|
28
|
-
"types": "./dist/
|
|
29
|
-
"import": "./dist/
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
"./openapi": "./openapi/api.json"
|
|
26
|
+
"types": "./dist/schemas.d.ts",
|
|
27
|
+
"import": "./dist/schemas.js"
|
|
28
|
+
}
|
|
33
29
|
},
|
|
34
30
|
"scripts": {
|
|
35
|
-
"
|
|
36
|
-
"generate": "openapi-ts && node scripts/generate-signalr.mjs && prettier --write src/generated src/signalr",
|
|
37
|
-
"build": "node scripts/clean.mjs && tsc -p tsconfig.json && tsc-alias -p tsconfig.json --resolve-full-paths",
|
|
31
|
+
"build": "node ../../tools/sdk/build-sdk.mjs",
|
|
38
32
|
"check": "tsc -p tsconfig.test.json --noEmit",
|
|
39
|
-
"test": "
|
|
40
|
-
"format": "prettier --write src tests scripts *.json *.ts README.md"
|
|
33
|
+
"test": "vitest run"
|
|
41
34
|
},
|
|
42
35
|
"dependencies": {
|
|
43
|
-
"@
|
|
44
|
-
"
|
|
36
|
+
"@orpc/client": "1.16.3",
|
|
37
|
+
"@orpc/contract": "1.16.3",
|
|
38
|
+
"decimal.js": "10.6.0",
|
|
39
|
+
"p-event": "8.0.2",
|
|
40
|
+
"partysocket": "1.3.0",
|
|
41
|
+
"zod": "4.6.7"
|
|
45
42
|
},
|
|
46
43
|
"devDependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"
|
|
50
|
-
"
|
|
44
|
+
"@bikefinder/api-client": "*",
|
|
45
|
+
"@bikefinder/api-customer-contracts": "*",
|
|
46
|
+
"@orpc/server": "1.16.3",
|
|
47
|
+
"@types/node": "24.19.2",
|
|
51
48
|
"typescript": "5.9.3",
|
|
52
49
|
"vitest": "5.0.5"
|
|
53
50
|
}
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
export declare const acquisitionDefinition: {
|
|
2
|
-
readonly version: 1;
|
|
3
|
-
readonly acquisition: {
|
|
4
|
-
readonly gnss: readonly [{
|
|
5
|
-
readonly path: readonly ["assistance"];
|
|
6
|
-
readonly member: "assistance";
|
|
7
|
-
readonly kind: "BOOL";
|
|
8
|
-
readonly default: true;
|
|
9
|
-
readonly title: "assistance";
|
|
10
|
-
readonly description: "assistance for this behavior request.";
|
|
11
|
-
readonly wireId: 1;
|
|
12
|
-
}, {
|
|
13
|
-
readonly path: readonly ["powerMode"];
|
|
14
|
-
readonly member: "power_mode";
|
|
15
|
-
readonly kind: "U8";
|
|
16
|
-
readonly default: 0;
|
|
17
|
-
readonly title: "powerMode";
|
|
18
|
-
readonly description: "powerMode for this behavior request.";
|
|
19
|
-
readonly maximum: 2;
|
|
20
|
-
readonly minimum: 0;
|
|
21
|
-
readonly valueLabels: {
|
|
22
|
-
readonly "0": "Disabled";
|
|
23
|
-
readonly "1": "Duty cycling: performance";
|
|
24
|
-
readonly "2": "Duty cycling: power";
|
|
25
|
-
};
|
|
26
|
-
readonly apiValues: readonly ["NRF_MODEM_GNSS_PSM_DISABLED", "NRF_MODEM_GNSS_PSM_DUTY_CYCLING_PERFORMANCE", "NRF_MODEM_GNSS_PSM_DUTY_CYCLING_POWER"];
|
|
27
|
-
readonly wireId: 2;
|
|
28
|
-
readonly commandChoices: readonly ["disabled", "performance", "power"];
|
|
29
|
-
}, {
|
|
30
|
-
readonly path: readonly ["priorityMode"];
|
|
31
|
-
readonly member: "priority_mode";
|
|
32
|
-
readonly kind: "BOOL";
|
|
33
|
-
readonly default: false;
|
|
34
|
-
readonly title: "priorityMode";
|
|
35
|
-
readonly description: "Keep LTE paging available during the normal connected search. GNSS priority can block LTE paging for up to 40 seconds.";
|
|
36
|
-
readonly wireId: 3;
|
|
37
|
-
}, {
|
|
38
|
-
readonly path: readonly ["lowAccuracy"];
|
|
39
|
-
readonly member: "low_accuracy";
|
|
40
|
-
readonly kind: "BOOL";
|
|
41
|
-
readonly default: false;
|
|
42
|
-
readonly title: "lowAccuracy";
|
|
43
|
-
readonly description: "lowAccuracy for this behavior request.";
|
|
44
|
-
readonly wireId: 4;
|
|
45
|
-
}, {
|
|
46
|
-
readonly path: readonly ["targetAccuracyMeters"];
|
|
47
|
-
readonly member: "target_accuracy_meters";
|
|
48
|
-
readonly kind: "U32";
|
|
49
|
-
readonly default: 0;
|
|
50
|
-
readonly title: "targetAccuracyMeters";
|
|
51
|
-
readonly description: "targetAccuracyMeters for this behavior request.";
|
|
52
|
-
readonly maximum: 10000;
|
|
53
|
-
readonly minimum: 0;
|
|
54
|
-
readonly wireId: 5;
|
|
55
|
-
}, {
|
|
56
|
-
readonly path: readonly ["consecutiveFixes"];
|
|
57
|
-
readonly member: "consecutive_fixes";
|
|
58
|
-
readonly kind: "U8";
|
|
59
|
-
readonly default: 1;
|
|
60
|
-
readonly title: "consecutiveFixes";
|
|
61
|
-
readonly description: "consecutiveFixes for this behavior request.";
|
|
62
|
-
readonly maximum: 10;
|
|
63
|
-
readonly minimum: 1;
|
|
64
|
-
readonly wireId: 6;
|
|
65
|
-
}, {
|
|
66
|
-
readonly path: readonly ["visibility", "enabled"];
|
|
67
|
-
readonly member: "visibility_enabled";
|
|
68
|
-
readonly kind: "BOOL";
|
|
69
|
-
readonly default: true;
|
|
70
|
-
readonly title: "visibility.enabled";
|
|
71
|
-
readonly description: "visibility.enabled for this behavior request.";
|
|
72
|
-
readonly wireId: 7;
|
|
73
|
-
}, {
|
|
74
|
-
readonly path: readonly ["visibility", "executionSeconds"];
|
|
75
|
-
readonly member: "visibility_execution_seconds";
|
|
76
|
-
readonly kind: "U32";
|
|
77
|
-
readonly default: 60;
|
|
78
|
-
readonly title: "visibility.executionSeconds";
|
|
79
|
-
readonly description: "visibility.executionSeconds for this behavior request.";
|
|
80
|
-
readonly maximum: 120;
|
|
81
|
-
readonly minimum: 10;
|
|
82
|
-
readonly wireId: 8;
|
|
83
|
-
}, {
|
|
84
|
-
readonly path: readonly ["visibility", "minSatellites"];
|
|
85
|
-
readonly member: "visibility_min_satellites";
|
|
86
|
-
readonly kind: "U8";
|
|
87
|
-
readonly default: 3;
|
|
88
|
-
readonly title: "visibility.minSatellites";
|
|
89
|
-
readonly description: "visibility.minSatellites for this behavior request.";
|
|
90
|
-
readonly maximum: 12;
|
|
91
|
-
readonly minimum: 1;
|
|
92
|
-
readonly wireId: 9;
|
|
93
|
-
}];
|
|
94
|
-
readonly cell: readonly [{
|
|
95
|
-
readonly path: readonly ["mode"];
|
|
96
|
-
readonly member: "mode";
|
|
97
|
-
readonly kind: "CHOICE";
|
|
98
|
-
readonly default: "serving";
|
|
99
|
-
readonly title: "mode";
|
|
100
|
-
readonly description: "mode for this behavior request.";
|
|
101
|
-
readonly choices: readonly ["serving", "gci", "neighbors"];
|
|
102
|
-
readonly maximum: 2;
|
|
103
|
-
readonly wireId: 1;
|
|
104
|
-
}, {
|
|
105
|
-
readonly path: readonly ["gciCount"];
|
|
106
|
-
readonly member: "gci_count";
|
|
107
|
-
readonly kind: "U8";
|
|
108
|
-
readonly default: 0;
|
|
109
|
-
readonly title: "gciCount";
|
|
110
|
-
readonly description: "gciCount for this behavior request.";
|
|
111
|
-
readonly maximum: 5;
|
|
112
|
-
readonly minimum: 0;
|
|
113
|
-
readonly wireId: 2;
|
|
114
|
-
}];
|
|
115
|
-
readonly wifi: readonly [{
|
|
116
|
-
readonly path: readonly ["scanType"];
|
|
117
|
-
readonly member: "scan_type";
|
|
118
|
-
readonly kind: "CHOICE";
|
|
119
|
-
readonly default: "active";
|
|
120
|
-
readonly title: "scanType";
|
|
121
|
-
readonly description: "scanType for this behavior request.";
|
|
122
|
-
readonly choices: readonly ["active", "passive"];
|
|
123
|
-
readonly maximum: 1;
|
|
124
|
-
readonly wireId: 1;
|
|
125
|
-
}, {
|
|
126
|
-
readonly path: readonly ["activeMinMs"];
|
|
127
|
-
readonly member: "active_min_ms";
|
|
128
|
-
readonly kind: "U16";
|
|
129
|
-
readonly default: 190;
|
|
130
|
-
readonly title: "activeMinMs";
|
|
131
|
-
readonly description: "activeMinMs for this behavior request.";
|
|
132
|
-
readonly maximum: 1500;
|
|
133
|
-
readonly minimum: 1;
|
|
134
|
-
readonly wireId: 2;
|
|
135
|
-
}, {
|
|
136
|
-
readonly path: readonly ["activeMaxMs"];
|
|
137
|
-
readonly member: "active_max_ms";
|
|
138
|
-
readonly kind: "U16";
|
|
139
|
-
readonly default: 200;
|
|
140
|
-
readonly title: "activeMaxMs";
|
|
141
|
-
readonly description: "activeMaxMs for this behavior request.";
|
|
142
|
-
readonly maximum: 1500;
|
|
143
|
-
readonly minimum: 1;
|
|
144
|
-
readonly wireId: 3;
|
|
145
|
-
}, {
|
|
146
|
-
readonly path: readonly ["passiveMs"];
|
|
147
|
-
readonly member: "passive_ms";
|
|
148
|
-
readonly kind: "U16";
|
|
149
|
-
readonly default: 1200;
|
|
150
|
-
readonly title: "passiveMs";
|
|
151
|
-
readonly description: "passiveMs for this behavior request.";
|
|
152
|
-
readonly maximum: 1500;
|
|
153
|
-
readonly minimum: 1;
|
|
154
|
-
readonly wireId: 4;
|
|
155
|
-
}, {
|
|
156
|
-
readonly path: readonly ["channelMask"];
|
|
157
|
-
readonly member: "channel_mask";
|
|
158
|
-
readonly kind: "U16";
|
|
159
|
-
readonly default: 0;
|
|
160
|
-
readonly title: "channelMask";
|
|
161
|
-
readonly description: "channelMask for this behavior request.";
|
|
162
|
-
readonly maximum: 16383;
|
|
163
|
-
readonly minimum: 0;
|
|
164
|
-
readonly wireId: 5;
|
|
165
|
-
}, {
|
|
166
|
-
readonly path: readonly ["budgetMs"];
|
|
167
|
-
readonly member: "budget_ms";
|
|
168
|
-
readonly kind: "U16";
|
|
169
|
-
readonly default: 10000;
|
|
170
|
-
readonly title: "budgetMs";
|
|
171
|
-
readonly description: "budgetMs for this behavior request.";
|
|
172
|
-
readonly maximum: 60000;
|
|
173
|
-
readonly minimum: 100;
|
|
174
|
-
readonly wireId: 6;
|
|
175
|
-
}];
|
|
176
|
-
};
|
|
177
|
-
};
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
// Generated from protocol JSON Schemas by packages/sdk/scripts/generate-device-schema.mjs. Do not edit.
|
|
2
|
-
export const acquisitionDefinition = {
|
|
3
|
-
"version": 1,
|
|
4
|
-
"acquisition": {
|
|
5
|
-
"gnss": [
|
|
6
|
-
{
|
|
7
|
-
"path": [
|
|
8
|
-
"assistance"
|
|
9
|
-
],
|
|
10
|
-
"member": "assistance",
|
|
11
|
-
"kind": "BOOL",
|
|
12
|
-
"default": true,
|
|
13
|
-
"title": "assistance",
|
|
14
|
-
"description": "assistance for this behavior request.",
|
|
15
|
-
"wireId": 1
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"path": [
|
|
19
|
-
"powerMode"
|
|
20
|
-
],
|
|
21
|
-
"member": "power_mode",
|
|
22
|
-
"kind": "U8",
|
|
23
|
-
"default": 0,
|
|
24
|
-
"title": "powerMode",
|
|
25
|
-
"description": "powerMode for this behavior request.",
|
|
26
|
-
"maximum": 2,
|
|
27
|
-
"minimum": 0,
|
|
28
|
-
"valueLabels": {
|
|
29
|
-
"0": "Disabled",
|
|
30
|
-
"1": "Duty cycling: performance",
|
|
31
|
-
"2": "Duty cycling: power"
|
|
32
|
-
},
|
|
33
|
-
"apiValues": [
|
|
34
|
-
"NRF_MODEM_GNSS_PSM_DISABLED",
|
|
35
|
-
"NRF_MODEM_GNSS_PSM_DUTY_CYCLING_PERFORMANCE",
|
|
36
|
-
"NRF_MODEM_GNSS_PSM_DUTY_CYCLING_POWER"
|
|
37
|
-
],
|
|
38
|
-
"wireId": 2,
|
|
39
|
-
"commandChoices": [
|
|
40
|
-
"disabled",
|
|
41
|
-
"performance",
|
|
42
|
-
"power"
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"path": [
|
|
47
|
-
"priorityMode"
|
|
48
|
-
],
|
|
49
|
-
"member": "priority_mode",
|
|
50
|
-
"kind": "BOOL",
|
|
51
|
-
"default": false,
|
|
52
|
-
"title": "priorityMode",
|
|
53
|
-
"description": "Keep LTE paging available during the normal connected search. GNSS priority can block LTE paging for up to 40 seconds.",
|
|
54
|
-
"wireId": 3
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": [
|
|
58
|
-
"lowAccuracy"
|
|
59
|
-
],
|
|
60
|
-
"member": "low_accuracy",
|
|
61
|
-
"kind": "BOOL",
|
|
62
|
-
"default": false,
|
|
63
|
-
"title": "lowAccuracy",
|
|
64
|
-
"description": "lowAccuracy for this behavior request.",
|
|
65
|
-
"wireId": 4
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"path": [
|
|
69
|
-
"targetAccuracyMeters"
|
|
70
|
-
],
|
|
71
|
-
"member": "target_accuracy_meters",
|
|
72
|
-
"kind": "U32",
|
|
73
|
-
"default": 0,
|
|
74
|
-
"title": "targetAccuracyMeters",
|
|
75
|
-
"description": "targetAccuracyMeters for this behavior request.",
|
|
76
|
-
"maximum": 10000,
|
|
77
|
-
"minimum": 0,
|
|
78
|
-
"wireId": 5
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"path": [
|
|
82
|
-
"consecutiveFixes"
|
|
83
|
-
],
|
|
84
|
-
"member": "consecutive_fixes",
|
|
85
|
-
"kind": "U8",
|
|
86
|
-
"default": 1,
|
|
87
|
-
"title": "consecutiveFixes",
|
|
88
|
-
"description": "consecutiveFixes for this behavior request.",
|
|
89
|
-
"maximum": 10,
|
|
90
|
-
"minimum": 1,
|
|
91
|
-
"wireId": 6
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"path": [
|
|
95
|
-
"visibility",
|
|
96
|
-
"enabled"
|
|
97
|
-
],
|
|
98
|
-
"member": "visibility_enabled",
|
|
99
|
-
"kind": "BOOL",
|
|
100
|
-
"default": true,
|
|
101
|
-
"title": "visibility.enabled",
|
|
102
|
-
"description": "visibility.enabled for this behavior request.",
|
|
103
|
-
"wireId": 7
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"path": [
|
|
107
|
-
"visibility",
|
|
108
|
-
"executionSeconds"
|
|
109
|
-
],
|
|
110
|
-
"member": "visibility_execution_seconds",
|
|
111
|
-
"kind": "U32",
|
|
112
|
-
"default": 60,
|
|
113
|
-
"title": "visibility.executionSeconds",
|
|
114
|
-
"description": "visibility.executionSeconds for this behavior request.",
|
|
115
|
-
"maximum": 120,
|
|
116
|
-
"minimum": 10,
|
|
117
|
-
"wireId": 8
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"path": [
|
|
121
|
-
"visibility",
|
|
122
|
-
"minSatellites"
|
|
123
|
-
],
|
|
124
|
-
"member": "visibility_min_satellites",
|
|
125
|
-
"kind": "U8",
|
|
126
|
-
"default": 3,
|
|
127
|
-
"title": "visibility.minSatellites",
|
|
128
|
-
"description": "visibility.minSatellites for this behavior request.",
|
|
129
|
-
"maximum": 12,
|
|
130
|
-
"minimum": 1,
|
|
131
|
-
"wireId": 9
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
"cell": [
|
|
135
|
-
{
|
|
136
|
-
"path": [
|
|
137
|
-
"mode"
|
|
138
|
-
],
|
|
139
|
-
"member": "mode",
|
|
140
|
-
"kind": "CHOICE",
|
|
141
|
-
"default": "serving",
|
|
142
|
-
"title": "mode",
|
|
143
|
-
"description": "mode for this behavior request.",
|
|
144
|
-
"choices": [
|
|
145
|
-
"serving",
|
|
146
|
-
"gci",
|
|
147
|
-
"neighbors"
|
|
148
|
-
],
|
|
149
|
-
"maximum": 2,
|
|
150
|
-
"wireId": 1
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"path": [
|
|
154
|
-
"gciCount"
|
|
155
|
-
],
|
|
156
|
-
"member": "gci_count",
|
|
157
|
-
"kind": "U8",
|
|
158
|
-
"default": 0,
|
|
159
|
-
"title": "gciCount",
|
|
160
|
-
"description": "gciCount for this behavior request.",
|
|
161
|
-
"maximum": 5,
|
|
162
|
-
"minimum": 0,
|
|
163
|
-
"wireId": 2
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
"wifi": [
|
|
167
|
-
{
|
|
168
|
-
"path": [
|
|
169
|
-
"scanType"
|
|
170
|
-
],
|
|
171
|
-
"member": "scan_type",
|
|
172
|
-
"kind": "CHOICE",
|
|
173
|
-
"default": "active",
|
|
174
|
-
"title": "scanType",
|
|
175
|
-
"description": "scanType for this behavior request.",
|
|
176
|
-
"choices": [
|
|
177
|
-
"active",
|
|
178
|
-
"passive"
|
|
179
|
-
],
|
|
180
|
-
"maximum": 1,
|
|
181
|
-
"wireId": 1
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"path": [
|
|
185
|
-
"activeMinMs"
|
|
186
|
-
],
|
|
187
|
-
"member": "active_min_ms",
|
|
188
|
-
"kind": "U16",
|
|
189
|
-
"default": 190,
|
|
190
|
-
"title": "activeMinMs",
|
|
191
|
-
"description": "activeMinMs for this behavior request.",
|
|
192
|
-
"maximum": 1500,
|
|
193
|
-
"minimum": 1,
|
|
194
|
-
"wireId": 2
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"path": [
|
|
198
|
-
"activeMaxMs"
|
|
199
|
-
],
|
|
200
|
-
"member": "active_max_ms",
|
|
201
|
-
"kind": "U16",
|
|
202
|
-
"default": 200,
|
|
203
|
-
"title": "activeMaxMs",
|
|
204
|
-
"description": "activeMaxMs for this behavior request.",
|
|
205
|
-
"maximum": 1500,
|
|
206
|
-
"minimum": 1,
|
|
207
|
-
"wireId": 3
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"path": [
|
|
211
|
-
"passiveMs"
|
|
212
|
-
],
|
|
213
|
-
"member": "passive_ms",
|
|
214
|
-
"kind": "U16",
|
|
215
|
-
"default": 1200,
|
|
216
|
-
"title": "passiveMs",
|
|
217
|
-
"description": "passiveMs for this behavior request.",
|
|
218
|
-
"maximum": 1500,
|
|
219
|
-
"minimum": 1,
|
|
220
|
-
"wireId": 4
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"path": [
|
|
224
|
-
"channelMask"
|
|
225
|
-
],
|
|
226
|
-
"member": "channel_mask",
|
|
227
|
-
"kind": "U16",
|
|
228
|
-
"default": 0,
|
|
229
|
-
"title": "channelMask",
|
|
230
|
-
"description": "channelMask for this behavior request.",
|
|
231
|
-
"maximum": 16383,
|
|
232
|
-
"minimum": 0,
|
|
233
|
-
"wireId": 5
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"path": [
|
|
237
|
-
"budgetMs"
|
|
238
|
-
],
|
|
239
|
-
"member": "budget_ms",
|
|
240
|
-
"kind": "U16",
|
|
241
|
-
"default": 10000,
|
|
242
|
-
"title": "budgetMs",
|
|
243
|
-
"description": "budgetMs for this behavior request.",
|
|
244
|
-
"maximum": 60000,
|
|
245
|
-
"minimum": 100,
|
|
246
|
-
"wireId": 6
|
|
247
|
-
}
|
|
248
|
-
]
|
|
249
|
-
}
|
|
250
|
-
};
|