@jsm-mit/tigi-sharded-package 0.15.0 → 0.17.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.
@@ -61,7 +61,7 @@ export const idlFactory = ({ IDL }) => {
61
61
  'addedCycles' : IDL.Nat,
62
62
  'unknown' : IDL.Nat,
63
63
  });
64
- const Result_36 = IDL.Variant({ 'ok' : ChatSharesAck, 'err' : Error });
64
+ const Result_39 = IDL.Variant({ 'ok' : ChatSharesAck, 'err' : Error });
65
65
  const CanisterArgs = IDL.Record({ 'canister' : IDL.Principal });
66
66
  const DriverCanisterKind = IDL.Variant({
67
67
  'own' : IDL.Null,
@@ -77,7 +77,7 @@ export const idlFactory = ({ IDL }) => {
77
77
  'installedAtNs' : IDL.Opt(IDL.Int),
78
78
  'leaseUntilNs' : IDL.Opt(IDL.Int),
79
79
  });
80
- const Result_7 = IDL.Variant({ 'ok' : DriverCanister, 'err' : Error });
80
+ const Result_8 = IDL.Variant({ 'ok' : DriverCanister, 'err' : Error });
81
81
  const BlockDriverArgs = IDL.Record({
82
82
  'driverKey' : IDL.Opt(IDL.Text),
83
83
  'canister' : IDL.Principal,
@@ -105,7 +105,7 @@ export const idlFactory = ({ IDL }) => {
105
105
  'versionCode' : IDL.Nat32,
106
106
  'versionName' : IDL.Text,
107
107
  });
108
- const Result_35 = IDL.Variant({ 'ok' : ApkInfo, 'err' : Error });
108
+ const Result_38 = IDL.Variant({ 'ok' : ApkInfo, 'err' : Error });
109
109
  const WasmKind = IDL.Variant({ 'simulator' : IDL.Null, 'driver' : IDL.Null });
110
110
  const WasmCommitArgs = IDL.Record({
111
111
  'sha256' : IDL.Vec(IDL.Nat8),
@@ -118,9 +118,9 @@ export const idlFactory = ({ IDL }) => {
118
118
  'size' : IDL.Nat,
119
119
  'committedAtNs' : IDL.Int,
120
120
  });
121
- const Result_34 = IDL.Variant({ 'ok' : WasmInfo, 'err' : Error });
122
- const Result_33 = IDL.Variant({ 'ok' : IDL.Principal, 'err' : Error });
123
- const Result_32 = IDL.Variant({
121
+ const Result_37 = IDL.Variant({ 'ok' : WasmInfo, 'err' : Error });
122
+ const Result_36 = IDL.Variant({ 'ok' : IDL.Principal, 'err' : Error });
123
+ const Result_35 = IDL.Variant({
124
124
  'ok' : IDL.Vec(IDL.Principal),
125
125
  'err' : Error,
126
126
  });
@@ -136,7 +136,7 @@ export const idlFactory = ({ IDL }) => {
136
136
  'pendingSinceNs' : IDL.Opt(IDL.Int),
137
137
  'rooms' : IDL.Nat,
138
138
  });
139
- const Result_31 = IDL.Variant({ 'ok' : ChatRoomsStatus, 'err' : Error });
139
+ const Result_34 = IDL.Variant({ 'ok' : ChatRoomsStatus, 'err' : Error });
140
140
  const DriverCanisterStatus = IDL.Record({
141
141
  'moduleHash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
142
142
  'blocked' : IDL.Bool,
@@ -180,7 +180,7 @@ export const idlFactory = ({ IDL }) => {
180
180
  'paidTotal' : IDL.Nat,
181
181
  'lastFee' : IDL.Opt(FeeRecord),
182
182
  });
183
- const Result_30 = IDL.Variant({ 'ok' : DriverFeeAccountView, 'err' : Error });
183
+ const Result_33 = IDL.Variant({ 'ok' : DriverFeeAccountView, 'err' : Error });
184
184
  const FeeBillAnswer = IDL.Record({
185
185
  'day' : IDL.Nat,
186
186
  'settled' : IDL.Bool,
@@ -190,14 +190,14 @@ export const idlFactory = ({ IDL }) => {
190
190
  'multiplierPermille' : IDL.Nat,
191
191
  'rates' : FeeRates,
192
192
  });
193
- const Result_29 = IDL.Variant({ 'ok' : FeeBillAnswer, 'err' : Error });
193
+ const Result_32 = IDL.Variant({ 'ok' : FeeBillAnswer, 'err' : Error });
194
194
  const DriverRatingArgs = IDL.Record({
195
195
  'driverKey' : IDL.Text,
196
196
  'canister' : IDL.Principal,
197
197
  });
198
198
  const Rating = IDL.Record({ 'sum' : IDL.Nat, 'count' : IDL.Nat });
199
- const Result_25 = IDL.Variant({ 'ok' : IDL.Opt(Rating), 'err' : Error });
200
- const Result_28 = IDL.Variant({ 'ok' : IDL.Opt(RolloutView), 'err' : Error });
199
+ const Result_27 = IDL.Variant({ 'ok' : IDL.Opt(Rating), 'err' : Error });
200
+ const Result_31 = IDL.Variant({ 'ok' : IDL.Opt(RolloutView), 'err' : Error });
201
201
  const FactoryStatus = IDL.Record({
202
202
  'simulator' : IDL.Opt(IDL.Principal),
203
203
  'mode' : Mode,
@@ -209,7 +209,7 @@ export const idlFactory = ({ IDL }) => {
209
209
  'driverWasm' : IDL.Opt(WasmInfo),
210
210
  'registered' : IDL.Nat,
211
211
  });
212
- const Result_27 = IDL.Variant({ 'ok' : FactoryStatus, 'err' : Error });
212
+ const Result_30 = IDL.Variant({ 'ok' : FactoryStatus, 'err' : Error });
213
213
  const FeeStatus = IDL.Record({
214
214
  'multiplier' : IDL.Opt(
215
215
  IDL.Record({ 'day' : IDL.Nat, 'permille' : IDL.Nat })
@@ -229,8 +229,32 @@ export const idlFactory = ({ IDL }) => {
229
229
  'paidTotal' : IDL.Nat,
230
230
  'rates' : FeeRates,
231
231
  });
232
- const Result_26 = IDL.Variant({ 'ok' : FeeStatus, 'err' : Error });
232
+ const Result_29 = IDL.Variant({ 'ok' : FeeStatus, 'err' : Error });
233
+ const MapPlacesConfig = IDL.Record({ 'coordinatorId' : IDL.Principal });
233
234
  const MapRoutesConfig = IDL.Record({ 'coordinatorId' : IDL.Principal });
235
+ const FleetRole = IDL.Variant({ 'boss' : IDL.Null, 'driver' : IDL.Null });
236
+ const FleetDriverState = IDL.Variant({
237
+ 'active' : IDL.Null,
238
+ 'suspended' : IDL.Null,
239
+ });
240
+ const FleetMembership = IDL.Record({
241
+ 'role' : FleetRole,
242
+ 'state' : FleetDriverState,
243
+ 'driverKey' : IDL.Text,
244
+ 'drives' : IDL.Bool,
245
+ });
246
+ const MyDriverCanister = IDL.Record({
247
+ 'fleet' : IDL.Opt(FleetMembership),
248
+ 'moduleHash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
249
+ 'owner' : IDL.Principal,
250
+ 'blocked' : IDL.Bool,
251
+ 'kind' : DriverCanisterKind,
252
+ 'createdAtNs' : IDL.Int,
253
+ 'canister' : IDL.Principal,
254
+ 'installedAtNs' : IDL.Opt(IDL.Int),
255
+ 'leaseUntilNs' : IDL.Opt(IDL.Int),
256
+ });
257
+ const Result_28 = IDL.Variant({ 'ok' : MyDriverCanister, 'err' : Error });
234
258
  const Profile = IDL.Record({
235
259
  'updatedAtNs' : IDL.Int,
236
260
  'name' : IDL.Text,
@@ -258,7 +282,7 @@ export const idlFactory = ({ IDL }) => {
258
282
  'rider' : IDL.Principal,
259
283
  'myRating' : IDL.Opt(IDL.Nat8),
260
284
  });
261
- const Result_24 = IDL.Variant({ 'ok' : RideView, 'err' : Error });
285
+ const Result_26 = IDL.Variant({ 'ok' : RideView, 'err' : Error });
262
286
  const RidesPageArgs = IDL.Record({
263
287
  'beforeIndex' : IDL.Opt(IDL.Nat),
264
288
  'limit' : IDL.Nat,
@@ -267,13 +291,13 @@ export const idlFactory = ({ IDL }) => {
267
291
  'nextBeforeIndex' : IDL.Opt(IDL.Nat),
268
292
  'rides' : IDL.Vec(RideView),
269
293
  });
270
- const Result_23 = IDL.Variant({ 'ok' : RidesPage, 'err' : Error });
294
+ const Result_25 = IDL.Variant({ 'ok' : RidesPage, 'err' : Error });
271
295
  const ProfilesArgs = IDL.Record({ 'principals' : IDL.Vec(IDL.Principal) });
272
296
  const ProfileEntry = IDL.Record({
273
297
  'principal' : IDL.Principal,
274
298
  'name' : IDL.Text,
275
299
  });
276
- const Result_22 = IDL.Variant({
300
+ const Result_24 = IDL.Variant({
277
301
  'ok' : IDL.Vec(ProfileEntry),
278
302
  'err' : Error,
279
303
  });
@@ -287,8 +311,8 @@ export const idlFactory = ({ IDL }) => {
287
311
  'knownWorkers' : IDL.Vec(IDL.Principal),
288
312
  'coordinator' : IDL.Opt(IDL.Principal),
289
313
  });
290
- const Result_21 = IDL.Variant({ 'ok' : Wiring, 'err' : Error });
291
- const Result_20 = IDL.Variant({
314
+ const Result_23 = IDL.Variant({ 'ok' : Wiring, 'err' : Error });
315
+ const Result_22 = IDL.Variant({
292
316
  'ok' : IDL.Record({
293
317
  'subjects' : IDL.Nat,
294
318
  'headSeq' : IDL.Nat64,
@@ -341,7 +365,7 @@ export const idlFactory = ({ IDL }) => {
341
365
  'rejected' : IDL.Nat,
342
366
  'ratingsCounted' : IDL.Nat,
343
367
  });
344
- const Result_19 = IDL.Variant({ 'ok' : RideBatchResult, 'err' : Error });
368
+ const Result_21 = IDL.Variant({ 'ok' : RideBatchResult, 'err' : Error });
345
369
  const ClaimCode = IDL.Record({
346
370
  'expiresAtNs' : IDL.Int,
347
371
  'code' : IDL.Text,
@@ -362,7 +386,7 @@ export const idlFactory = ({ IDL }) => {
362
386
  'busy' : IDL.Record({ 'untilNs' : IDL.Int }),
363
387
  'leased' : LeasedCanister,
364
388
  });
365
- const Result_18 = IDL.Variant({ 'ok' : LeaseAnswer, 'err' : Error });
389
+ const Result_20 = IDL.Variant({ 'ok' : LeaseAnswer, 'err' : Error });
366
390
  const PageArgs = IDL.Record({ 'offset' : IDL.Nat, 'limit' : IDL.Nat });
367
391
  const BlockTarget = IDL.Variant({
368
392
  'driverCanister' : IDL.Principal,
@@ -378,13 +402,13 @@ export const idlFactory = ({ IDL }) => {
378
402
  'target' : BlockTarget,
379
403
  'reason' : IDL.Text,
380
404
  });
381
- const Result_17 = IDL.Variant({ 'ok' : IDL.Vec(Block), 'err' : Error });
405
+ const Result_19 = IDL.Variant({ 'ok' : IDL.Vec(Block), 'err' : Error });
382
406
  const DriverCanistersPage = IDL.Record({
383
407
  'total' : IDL.Nat,
384
408
  'canisters' : IDL.Vec(DriverCanister),
385
409
  });
386
- const Result_16 = IDL.Variant({ 'ok' : DriverCanistersPage, 'err' : Error });
387
- const Result_15 = IDL.Variant({
410
+ const Result_18 = IDL.Variant({ 'ok' : DriverCanistersPage, 'err' : Error });
411
+ const Result_17 = IDL.Variant({
388
412
  'ok' : IDL.Vec(DriverFeeAccountView),
389
413
  'err' : Error,
390
414
  });
@@ -396,7 +420,7 @@ export const idlFactory = ({ IDL }) => {
396
420
  'roomId' : IDL.Text,
397
421
  'synced' : IDL.Bool,
398
422
  });
399
- const Result_14 = IDL.Variant({
423
+ const Result_16 = IDL.Variant({
400
424
  'ok' : IDL.Vec(DriverRoomView),
401
425
  'err' : Error,
402
426
  });
@@ -415,14 +439,26 @@ export const idlFactory = ({ IDL }) => {
415
439
  'validUntilNs' : IDL.Nat64,
416
440
  });
417
441
  const Result_13 = IDL.Variant({ 'ok' : MapTicket, 'err' : Error });
418
- const Result_12 = IDL.Variant({ 'ok' : ClaimCode, 'err' : Error });
442
+ const Result_15 = IDL.Variant({ 'ok' : ClaimCode, 'err' : Error });
419
443
  const FeePayArgs = IDL.Record({ 'day' : IDL.Nat });
420
444
  const FeePaid = IDL.Record({
421
445
  'day' : IDL.Nat,
422
446
  'accepted' : IDL.Nat,
423
447
  'amount' : IDL.Nat,
424
448
  });
425
- const Result_11 = IDL.Variant({ 'ok' : FeePaid, 'err' : Error });
449
+ const Result_14 = IDL.Variant({ 'ok' : FeePaid, 'err' : Error });
450
+ const FleetDriverChange = IDL.Variant({
451
+ 'active' : IDL.Null,
452
+ 'suspended' : IDL.Null,
453
+ 'removed' : IDL.Null,
454
+ });
455
+ const PutFleetDriverArgs = IDL.Record({
456
+ 'driverKey' : IDL.Text,
457
+ 'change' : FleetDriverChange,
458
+ 'driver' : IDL.Principal,
459
+ });
460
+ const PutFleetDriverAck = IDL.Record({ 'drivers' : IDL.Nat });
461
+ const Result_12 = IDL.Variant({ 'ok' : PutFleetDriverAck, 'err' : Error });
426
462
  const DriverCanisterQuote = IDL.Record({
427
463
  'accountId' : IDL.Vec(IDL.Nat8),
428
464
  'minimumE8s' : IDL.Nat,
@@ -431,7 +467,7 @@ export const idlFactory = ({ IDL }) => {
431
467
  'suggestedE8s' : IDL.Nat,
432
468
  'priceCycles' : IDL.Nat,
433
469
  });
434
- const Result_10 = IDL.Variant({ 'ok' : DriverCanisterQuote, 'err' : Error });
470
+ const Result_11 = IDL.Variant({ 'ok' : DriverCanisterQuote, 'err' : Error });
435
471
  const RateRideArgs = IDL.Record({
436
472
  'requestId' : IDL.Text,
437
473
  'stars' : IDL.Nat8,
@@ -441,15 +477,16 @@ export const idlFactory = ({ IDL }) => {
441
477
  'rated' : IDL.Null,
442
478
  'alreadyRated' : IDL.Null,
443
479
  });
444
- const Result_9 = IDL.Variant({ 'ok' : RateRideOutcome, 'err' : Error });
445
- const Result_8 = IDL.Variant({ 'ok' : ChatConfig, 'err' : Error });
480
+ const Result_10 = IDL.Variant({ 'ok' : RateRideOutcome, 'err' : Error });
481
+ const Result_9 = IDL.Variant({ 'ok' : ChatConfig, 'err' : Error });
446
482
  const ClaimTtlArgs = IDL.Record({ 'seconds' : IDL.Nat });
447
483
  const Result = IDL.Variant({ 'ok' : IDL.Nat, 'err' : Error });
448
484
  const DemoAutomatArgs = IDL.Record({
449
485
  'canister' : IDL.Principal,
450
486
  'automat' : IDL.Principal,
451
487
  });
452
- const Result_6 = IDL.Variant({ 'ok' : FeeRates, 'err' : Error });
488
+ const Result_7 = IDL.Variant({ 'ok' : FeeRates, 'err' : Error });
489
+ const Result_6 = IDL.Variant({ 'ok' : MapPlacesConfig, 'err' : Error });
453
490
  const Result_5 = IDL.Variant({ 'ok' : MapRoutesConfig, 'err' : Error });
454
491
  const SetProfileArgs = IDL.Record({ 'name' : IDL.Text });
455
492
  const SimulatorRouterArgs = IDL.Record({ 'router' : IDL.Opt(IDL.Principal) });
@@ -472,21 +509,21 @@ export const idlFactory = ({ IDL }) => {
472
509
  const TigiCore = IDL.Service({
473
510
  'abortDriverRollout' : IDL.Func([], [Result_3], []),
474
511
  'addAdmin' : IDL.Func([PrincipalArgs], [Result_2], []),
475
- 'addChatShares' : IDL.Func([ChatSharesArgs], [Result_36], []),
476
- 'addPoolCanister' : IDL.Func([CanisterArgs], [Result_7], []),
512
+ 'addChatShares' : IDL.Func([ChatSharesArgs], [Result_39], []),
513
+ 'addPoolCanister' : IDL.Func([CanisterArgs], [Result_8], []),
477
514
  'blockDriver' : IDL.Func([BlockDriverArgs], [Result_2], []),
478
515
  'blockRider' : IDL.Func([BlockRiderArgs], [Result_2], []),
479
- 'claimDriverCanister' : IDL.Func([ClaimArgs], [Result_7], []),
516
+ 'claimDriverCanister' : IDL.Func([ClaimArgs], [Result_8], []),
480
517
  'clearLogs' : IDL.Func([], [], []),
481
- 'commitDriverApk' : IDL.Func([ApkCommitArgs], [Result_35], []),
482
- 'commitDriverWasm' : IDL.Func([WasmCommitArgs], [Result_34], []),
483
- 'createLocalPoolCanister' : IDL.Func([], [Result_7], []),
484
- 'createMyDriverCanister' : IDL.Func([], [Result_7], []),
485
- 'ensureSimulator' : IDL.Func([], [Result_33], []),
486
- 'extendDemoLease' : IDL.Func([], [Result_7], []),
487
- 'getAdmins' : IDL.Func([], [Result_32], ['query']),
518
+ 'commitDriverApk' : IDL.Func([ApkCommitArgs], [Result_38], []),
519
+ 'commitDriverWasm' : IDL.Func([WasmCommitArgs], [Result_37], []),
520
+ 'createLocalPoolCanister' : IDL.Func([], [Result_8], []),
521
+ 'createMyDriverCanister' : IDL.Func([], [Result_8], []),
522
+ 'ensureSimulator' : IDL.Func([], [Result_36], []),
523
+ 'extendDemoLease' : IDL.Func([], [Result_8], []),
524
+ 'getAdmins' : IDL.Func([], [Result_35], ['query']),
488
525
  'getChatConfig' : IDL.Func([], [IDL.Opt(ChatConfig)], ['query']),
489
- 'getChatRoomsStatus' : IDL.Func([], [Result_31], ['query']),
526
+ 'getChatRoomsStatus' : IDL.Func([], [Result_34], ['query']),
490
527
  'getDriverApk' : IDL.Func([], [IDL.Opt(ApkInfo)], ['query']),
491
528
  'getDriverApkChunk' : IDL.Func(
492
529
  [IDL.Nat32],
@@ -498,45 +535,49 @@ export const idlFactory = ({ IDL }) => {
498
535
  [DriverCanisterStatus],
499
536
  ['query'],
500
537
  ),
501
- 'getDriverFeeAccount' : IDL.Func([CanisterArgs], [Result_30], ['query']),
502
- 'getDriverFeeBill' : IDL.Func([], [Result_29], []),
503
- 'getDriverRating' : IDL.Func([DriverRatingArgs], [Result_25], ['query']),
504
- 'getDriverRollout' : IDL.Func([], [Result_28], ['query']),
505
- 'getFactoryStatus' : IDL.Func([], [Result_27], ['query']),
506
- 'getFeeStatus' : IDL.Func([], [Result_26], ['query']),
538
+ 'getDriverFeeAccount' : IDL.Func([CanisterArgs], [Result_33], ['query']),
539
+ 'getDriverFeeBill' : IDL.Func([], [Result_32], []),
540
+ 'getDriverRating' : IDL.Func([DriverRatingArgs], [Result_27], ['query']),
541
+ 'getDriverRollout' : IDL.Func([], [Result_31], ['query']),
542
+ 'getFactoryStatus' : IDL.Func([], [Result_30], ['query']),
543
+ 'getFeeStatus' : IDL.Func([], [Result_29], ['query']),
507
544
  'getLogs' : IDL.Func([], [IDL.Text], ['query']),
545
+ 'getMapPlacesConfig' : IDL.Func([], [IDL.Opt(MapPlacesConfig)], ['query']),
508
546
  'getMapRoutesConfig' : IDL.Func([], [IDL.Opt(MapRoutesConfig)], ['query']),
509
- 'getMyDriverCanister' : IDL.Func([], [Result_7], ['query']),
547
+ 'getMyDriverCanister' : IDL.Func([], [Result_28], ['query']),
510
548
  'getMyProfile' : IDL.Func([], [Result_4], ['query']),
511
- 'getMyRating' : IDL.Func([], [Result_25], ['query']),
512
- 'getMyRide' : IDL.Func([RequestIdArgs], [Result_24], ['query']),
513
- 'getMyRides' : IDL.Func([RidesPageArgs], [Result_23], ['query']),
514
- 'getProfiles' : IDL.Func([ProfilesArgs], [Result_22], ['query']),
549
+ 'getMyRating' : IDL.Func([], [Result_27], ['query']),
550
+ 'getMyRide' : IDL.Func([RequestIdArgs], [Result_26], ['query']),
551
+ 'getMyRides' : IDL.Func([RidesPageArgs], [Result_25], ['query']),
552
+ 'getProfiles' : IDL.Func([ProfilesArgs], [Result_24], ['query']),
515
553
  'getReleasedDriverWasms' : IDL.Func([], [IDL.Vec(ReleasedWasm)], ['query']),
516
554
  'getSimulator' : IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
517
- 'getWiring' : IDL.Func([], [Result_21], ['query']),
518
- 'getWorkerOutbox' : IDL.Func([], [Result_20], ['query']),
555
+ 'getWiring' : IDL.Func([], [Result_23], ['query']),
556
+ 'getWorkerOutbox' : IDL.Func([], [Result_22], ['query']),
519
557
  'helloFromWorker' : IDL.Func([], [Result_2], []),
520
- 'ingestRideBatch' : IDL.Func([RideBatch], [Result_19], []),
558
+ 'ingestRideBatch' : IDL.Func([RideBatch], [Result_21], []),
521
559
  'isUser' : IDL.Func([IDL.Principal], [IDL.Bool], ['query']),
522
- 'leaseDemoDriverCanister' : IDL.Func([], [Result_18], []),
523
- 'listBlocks' : IDL.Func([PageArgs], [Result_17], ['query']),
524
- 'listDriverCanisters' : IDL.Func([PageArgs], [Result_16], ['query']),
525
- 'listDriverFeeAccounts' : IDL.Func([PageArgs], [Result_15], ['query']),
526
- 'listDriverRooms' : IDL.Func([PageArgs], [Result_14], ['query']),
560
+ 'leaseDemoDriverCanister' : IDL.Func([], [Result_20], []),
561
+ 'listBlocks' : IDL.Func([PageArgs], [Result_19], ['query']),
562
+ 'listDriverCanisters' : IDL.Func([PageArgs], [Result_18], ['query']),
563
+ 'listDriverFeeAccounts' : IDL.Func([PageArgs], [Result_17], ['query']),
564
+ 'listDriverRooms' : IDL.Func([PageArgs], [Result_16], ['query']),
527
565
  'mapTicket' : IDL.Func([MapTicketArgs], [Result_13], []),
528
- 'newClaimCode' : IDL.Func([], [Result_12], []),
529
- 'payDriverFee' : IDL.Func([FeePayArgs], [Result_11], []),
530
- 'quoteMyDriverCanister' : IDL.Func([], [Result_10], []),
531
- 'rateMyRide' : IDL.Func([RateRideArgs], [Result_9], []),
566
+ 'newClaimCode' : IDL.Func([], [Result_15], []),
567
+ 'payDriverFee' : IDL.Func([FeePayArgs], [Result_14], []),
568
+ 'placesTicket' : IDL.Func([MapTicketArgs], [Result_13], []),
569
+ 'putFleetDriver' : IDL.Func([PutFleetDriverArgs], [Result_12], []),
570
+ 'quoteMyDriverCanister' : IDL.Func([], [Result_11], []),
571
+ 'rateMyRide' : IDL.Func([RateRideArgs], [Result_10], []),
532
572
  'removeAdmin' : IDL.Func([PrincipalArgs], [Result_2], []),
533
573
  'resumeDriverRollout' : IDL.Func([], [Result_3], []),
534
- 'setChatConfig' : IDL.Func([ChatConfig], [Result_8], []),
574
+ 'setChatConfig' : IDL.Func([ChatConfig], [Result_9], []),
535
575
  'setClaimCodeTtl' : IDL.Func([ClaimTtlArgs], [Result], []),
536
- 'setDemoDriverAutomat' : IDL.Func([DemoAutomatArgs], [Result_7], []),
537
- 'setFeeRates' : IDL.Func([FeeRates], [Result_6], []),
576
+ 'setDemoDriverAutomat' : IDL.Func([DemoAutomatArgs], [Result_8], []),
577
+ 'setFeeRates' : IDL.Func([FeeRates], [Result_7], []),
538
578
  'setLoggingEnabled' : IDL.Func([IDL.Bool], [Result_2], []),
539
579
  'setLowCyclesBelow' : IDL.Func([IDL.Nat], [Result_2], []),
580
+ 'setMapPlacesConfig' : IDL.Func([MapPlacesConfig], [Result_6], []),
540
581
  'setMapRoutesConfig' : IDL.Func([MapRoutesConfig], [Result_5], []),
541
582
  'setMyProfile' : IDL.Func([SetProfileArgs], [Result_4], []),
542
583
  'setSimulatorRouter' : IDL.Func([SimulatorRouterArgs], [Result_2], []),
@@ -1,7 +1,7 @@
1
1
  import type { Identity } from "@icp-sdk/core/agent";
2
- import type { ClaimCode as CandidClaimCode, DriverCanister as CandidDriverCanister } from "../../declarations/core/core.did.js";
2
+ import type { ClaimCode as CandidClaimCode, DriverCanister as CandidDriverCanister, FleetMembership as CandidFleetMembership } from "../../declarations/core/core.did.js";
3
3
  import { type GroupOptions } from "../group/canister-actor.js";
4
- import type { ClaimCodeView, DemoLeaseView, DriverCanisterQuoteView, DriverCanisterView, MapTicketRequest, MapTicketView } from "../interfaces.js";
4
+ import type { ClaimCodeView, DemoLeaseView, DriverCanisterQuoteView, DriverCanisterView, FleetMembershipView, MapTicketRequest, MapTicketView } from "../interfaces.js";
5
5
  /** The fragment key of a claim link: `https://<canister>.icp0.io/#claim=<code>`. */
6
6
  export declare const CLAIM_FRAGMENT_KEY = "claim";
7
7
  /** F-20a: a code is 32 characters of base64url; the core refuses more than this. */
@@ -18,7 +18,11 @@ export declare function claimLinkOf(canisterId: string, code: string, frontOrigi
18
18
  */
19
19
  export declare function claimCodeOfHash(hash: string): string | undefined;
20
20
  /** @internal */
21
- export declare function driverCanisterOf(record: Pick<CandidDriverCanister, "canister" | "owner" | "kind" | "leaseUntilNs" | "blocked">): DriverCanisterView;
21
+ export declare function driverCanisterOf(record: Pick<CandidDriverCanister, "canister" | "owner" | "kind" | "leaseUntilNs" | "blocked"> & {
22
+ fleet?: [] | [CandidFleetMembership];
23
+ }): DriverCanisterView;
24
+ /** @internal C-N12 */
25
+ export declare function fleetMembershipOf(fleet: CandidFleetMembership): FleetMembershipView;
22
26
  /** @internal */
23
27
  export declare function claimCodeOf(claim: CandidClaimCode): ClaimCodeView;
24
28
  export declare class DriverCanistersActor {
@@ -45,7 +49,8 @@ export declare class DriverCanistersActor {
45
49
  extendDemoAsyncUnsafe(): Promise<DriverCanisterView>;
46
50
  /**
47
51
  * The caller's own driver canister, or the demo canister the caller holds now (as the
48
- * lease holder — after a claim the canister's owner is the driver, `ownerPrincipal`).
52
+ * lease holder — after a claim the canister's owner is the driver, `ownerPrincipal`), or
53
+ * the canister of the fleet the caller drives for (C-N12; `fleet` says the role).
49
54
  * @returns undefined when the caller has none
50
55
  * @throws Error with message `CanisterError` — `NotAuthorized` (anonymous)
51
56
  * @throws Error with message `CriticalCanisterError` — the core could not be reached
@@ -1 +1 @@
1
- {"version":3,"file":"driver-canisters-actor.d.ts","sourceRoot":"","sources":["../../src/actors/driver-canisters-actor.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM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BAAgB,GAAG,OAAO,CAAC,aAAa,CAAC;CAGvF"}
@@ -49,12 +49,23 @@ export function claimCodeOfHash(hash) {
49
49
  /** @internal */
50
50
  export function driverCanisterOf(record) {
51
51
  const until = record.leaseUntilNs[0];
52
+ const fleet = record.fleet?.[0];
52
53
  return {
53
54
  canisterId: record.canister.toText(),
54
55
  kind: "pool" in record.kind ? "pool" : "own",
55
56
  ownerPrincipal: record.owner.toText(),
56
57
  leaseUntilMs: until === undefined ? undefined : msOf(BigInt(until)),
57
58
  blocked: record.blocked,
59
+ ...(fleet === undefined ? {} : { fleet: fleetMembershipOf(fleet) }),
60
+ };
61
+ }
62
+ /** @internal C-N12 */
63
+ export function fleetMembershipOf(fleet) {
64
+ return {
65
+ driverKey: fleet.driverKey,
66
+ role: "boss" in fleet.role ? "boss" : "driver",
67
+ state: "suspended" in fleet.state ? "suspended" : "active",
68
+ drives: fleet.drives,
58
69
  };
59
70
  }
60
71
  /** @internal */
@@ -96,7 +107,8 @@ export class DriverCanistersActor {
96
107
  }
97
108
  /**
98
109
  * The caller's own driver canister, or the demo canister the caller holds now (as the
99
- * lease holder — after a claim the canister's owner is the driver, `ownerPrincipal`).
110
+ * lease holder — after a claim the canister's owner is the driver, `ownerPrincipal`), or
111
+ * the canister of the fleet the caller drives for (C-N12; `fleet` says the role).
100
112
  * @returns undefined when the caller has none
101
113
  * @throws Error with message `CanisterError` — `NotAuthorized` (anonymous)
102
114
  * @throws Error with message `CriticalCanisterError` — the core could not be reached
@@ -1,6 +1,6 @@
1
1
  import type { Identity } from "@icp-sdk/core/agent";
2
2
  import { type GroupOptions } from "../group/canister-actor.js";
3
- import type { MyRatingView, Profile, RateRideOutcome, RideHistoryEntry, RideHistoryPage } from "../interfaces.js";
3
+ import type { MapTicketRequest, MapTicketView, MyRatingView, Profile, RateRideOutcome, RideHistoryEntry, RideHistoryPage } from "../interfaces.js";
4
4
  /** KU-1: a page of the rider's history. */
5
5
  export declare const RIDES_PAGE = 20;
6
6
  export declare class ProfilesActor {
@@ -56,5 +56,27 @@ export declare class ProfilesActor {
56
56
  * @throws Error with message `CriticalCanisterError` — the core could not be reached
57
57
  */
58
58
  ratePastRideAsyncUnsafe(rideRef: string, stars: number): Promise<RateRideOutcome>;
59
+ /**
60
+ * C-31: the coordinator of the map-places group of this environment (the `coordinatorId` of
61
+ * `MapPlacesClient`), or undefined when the environment has none (`setMapPlacesConfig` not
62
+ * set). A public query; any identity may ask.
63
+ * @throws Error with message `CriticalCanisterError` — the core could not be reached
64
+ */
65
+ mapPlacesCoordinatorAsyncUnsafe(): Promise<string | undefined>;
66
+ /**
67
+ * C-32, C-33: the map-places ticket of the signed-in rider (not blocked) for an area and a
68
+ * bbox — the search of Skąd / Dokąd while the copy of signed-out users does not serve. The
69
+ * answer has the shape of `IssuedTicket` of `@jsm-mit/map-places-replicated-shards-package`,
70
+ * so it is the `ticketProvider` of its `MapPlacesClient` as it is:
71
+ * `new MapPlacesClient({ coordinatorId, identity, ticketProvider: (r) => profiles.placesTicketAsyncUnsafe(r) })`.
72
+ * The rider queries the copies with the identity that asked for the ticket.
73
+ * @throws Error with message `CanisterError` — `NotAuthorized` (anonymous, or a blocked
74
+ * rider), `InvalidData` (a bad area or bbox, or no map-places group in this
75
+ * environment), `RemoteCanisterError` ("<Variant>: <reason>" of the map-places group,
76
+ * e.g. "Blocked: …", "RateLimited: …", or the group could not be reached)
77
+ * @throws Error with message `CallRefusedAtInspectionStage` — anonymous, or a blocked rider
78
+ * @throws Error with message `CriticalCanisterError` — the core could not be reached
79
+ */
80
+ placesTicketAsyncUnsafe(request: MapTicketRequest): Promise<MapTicketView>;
59
81
  }
60
82
  //# sourceMappingURL=profiles-actor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profiles-actor.d.ts","sourceRoot":"","sources":["../../src/actors/profiles-actor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAiD,KAAK,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AAkB,CAAC;AAGnJ,2CAA2C;AAC3C,eAAO,MAAM,UAAU,KAAK,CAAC;AAQ7B,qBAAa,aAAa;IACtB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAY;gBAEtB,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,GAAE,YAAiB;IAIjF;;;;;;OAMG;IACU,uBAAuB,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;IASpE;;;;;OAKG;IACU,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIpE;;;;;;OAMG;IACU,sBAAsB,IAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC;IAUxE;;;;;;OAMG;IACU,qBAAqB,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,GAAE,MAAmB,GAAG,OAAO,CAAC,eAAe,CAAC;IAUzG;;;;;;OAMG;IACU,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAUzF;;;;;;;;;OASG;IACU,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAc9F;;;;;OAKG;IACU,+BAA+B,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAM3E;;;;;;;;;;;;;OAaG;IACU,uBAAuB,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,aAAa,CAAC;CAG1F"}
@@ -1,6 +1,6 @@
1
1
  // The rider's account and history in the core (core.md C-2, C-3, C-8; U-20, U-21). The core
2
2
  // is found through the coordinator (sharding.md): the consumer gives the coordinator's id.
3
- import { canisterError, errorKeyOf, executeAsyncUnsafe } from "../group/canister-actor.js";
3
+ import { canisterError, errorKeyOf, executeAsyncUnsafe, transportAsync } from "../group/canister-actor.js";
4
4
  import { TigiGroup } from "../group/group.js";
5
5
  import { decodeToken, encodeToken, historyEntryOf, rateOutcomeOf, rideOfRideRef } from "../mappers.js";
6
6
  /** KU-1: a page of the rider's history. */
@@ -114,4 +114,31 @@ export class ProfilesActor {
114
114
  throw err;
115
115
  }
116
116
  }
117
+ /**
118
+ * C-31: the coordinator of the map-places group of this environment (the `coordinatorId` of
119
+ * `MapPlacesClient`), or undefined when the environment has none (`setMapPlacesConfig` not
120
+ * set). A public query; any identity may ask.
121
+ * @throws Error with message `CriticalCanisterError` — the core could not be reached
122
+ */
123
+ async mapPlacesCoordinatorAsyncUnsafe() {
124
+ const answer = await transportAsync(async () => (await this.group.coreAsync()).getMapPlacesConfig());
125
+ return answer[0]?.coordinatorId.toText();
126
+ }
127
+ /**
128
+ * C-32, C-33: the map-places ticket of the signed-in rider (not blocked) for an area and a
129
+ * bbox — the search of Skąd / Dokąd while the copy of signed-out users does not serve. The
130
+ * answer has the shape of `IssuedTicket` of `@jsm-mit/map-places-replicated-shards-package`,
131
+ * so it is the `ticketProvider` of its `MapPlacesClient` as it is:
132
+ * `new MapPlacesClient({ coordinatorId, identity, ticketProvider: (r) => profiles.placesTicketAsyncUnsafe(r) })`.
133
+ * The rider queries the copies with the identity that asked for the ticket.
134
+ * @throws Error with message `CanisterError` — `NotAuthorized` (anonymous, or a blocked
135
+ * rider), `InvalidData` (a bad area or bbox, or no map-places group in this
136
+ * environment), `RemoteCanisterError` ("<Variant>: <reason>" of the map-places group,
137
+ * e.g. "Blocked: …", "RateLimited: …", or the group could not be reached)
138
+ * @throws Error with message `CallRefusedAtInspectionStage` — anonymous, or a blocked rider
139
+ * @throws Error with message `CriticalCanisterError` — the core could not be reached
140
+ */
141
+ async placesTicketAsyncUnsafe(request) {
142
+ return executeAsyncUnsafe(async () => (await this.group.coreAsync()).placesTicket({ area: request.area, bbox: request.bbox }));
143
+ }
117
144
  }
@@ -260,6 +260,20 @@ export interface DriverCanisterView {
260
260
  /** A demo lease ends then (pool canisters). */
261
261
  leaseUntilMs?: number;
262
262
  blocked: boolean;
263
+ /**
264
+ * C-N12 (`getMineAsyncUnsafe` only): the caller's place in the fleet of this canister —
265
+ * the owner of an own canister is the `boss` (key ""); undefined for a demo or a bought
266
+ * canister seen from the rider's site.
267
+ */
268
+ fleet?: FleetMembershipView;
269
+ }
270
+ /** C-N12: a fleet driver — the boss (the owner, key "") or one of its drivers. */
271
+ export interface FleetMembershipView {
272
+ driverKey: string;
273
+ role: "boss" | "driver";
274
+ state: "active" | "suspended";
275
+ /** In the fleet's registry: the boss only while it said "I drive" (D-35); a driver always. */
276
+ drives: boolean;
263
277
  }
264
278
  /** F-20: a one-time code that hands the demo canister to whoever claims it, until `expiresAtMs`. */
265
279
  export interface ClaimCodeView {
@@ -283,15 +297,16 @@ export interface MapBboxView {
283
297
  maxLat: number;
284
298
  maxLon: number;
285
299
  }
286
- /** C-29: what a driver asks a map-routes ticket for: an area of the map group and a bbox in it. */
300
+ /** C-29, C-32: what a driver asks a map-routes ticket for (a rider: a map-places ticket): an area of the map group and a bbox in it. */
287
301
  export interface MapTicketRequest {
288
302
  area: string;
289
303
  bbox: MapBboxView;
290
304
  }
291
305
  /**
292
- * C-29: the map-routes ticket of a driver, as the map group's ticket core issued it: the signed
293
- * ticket, the replicated instance (`copy`) it is good on, its end and what it covers. The shape
294
- * of `IssuedTicket` of `@jsm-mit/map-routes-replicated-shards-package`.
306
+ * C-29, C-32: the map-routes ticket of a driver (or the map-places ticket of a rider), as the map
307
+ * group's ticket core issued it: the signed ticket, the replicated instance (`copy`) it is good
308
+ * on, its end and what it covers. The shape of `IssuedTicket` of
309
+ * `@jsm-mit/map-routes-replicated-shards-package` and `@jsm-mit/map-places-replicated-shards-package`.
295
310
  */
296
311
  export interface MapTicketView {
297
312
  ticket: Uint8Array | number[];
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,K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qFAAqF;AACrF,MAAM,MAAM,aAAa,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,EAAE,kBAAkB,CAAC;IAAC,KAAK,CAAC,EAAE,aAAa,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAExI,sEAAsE;AACtE,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,wIAAwI;AACxI,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,UAAU,GAAG,MAAM,EAAE,CAAC;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsm-mit/tigi-sharded-package",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "The one package of the Tigi network group: takes the coordinator's id and hides the coordinator, the core and the workers — for a consumer the group is one canister; plus the rider's few driver-canister endpoints (U-14).",
5
5
  "homepage": "https://github.com/JSM-Tigi/tigi-sharded/tree/master/package#readme",
6
6
  "repository": {
@@ -61,11 +61,11 @@
61
61
  "tigiSharded": {
62
62
  "repo": "tigi-sharded",
63
63
  "repoUrl": "https://github.com/JSM-Tigi/tigi-sharded",
64
- "commit": "1c8e5adbe6e99d27d6493f1c870e42e4c9f72067"
64
+ "commit": "ab8222c13b3e1ce46678c4e68597c3d52ba57170"
65
65
  },
66
66
  "tigiDriverRust": {
67
67
  "repo": "tigi-driver-rust",
68
68
  "repoUrl": "https://github.com/JSM-Tigi/tigi-driver-rust",
69
- "commit": "90bc1d89f86c40b504e7f8d80ca209c1d5c10353"
69
+ "commit": "6359c22dbf23d217ca47a0660fa6b1a43dab73de"
70
70
  }
71
71
  }