@bikefinder/sdk 0.1.1 → 0.1.2

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/openapi/api.json CHANGED
@@ -5265,14 +5265,1277 @@
5265
5265
  "additionalProperties": {}
5266
5266
  },
5267
5267
  "AuditData": {
5268
+ "type": "object",
5269
+ "anyOf": [
5270
+ {
5271
+ "$ref": "#/components/schemas/AuditDataAuditTextChangeData"
5272
+ },
5273
+ {
5274
+ "$ref": "#/components/schemas/AuditDataAuditBuildChangeData"
5275
+ },
5276
+ {
5277
+ "$ref": "#/components/schemas/AuditDataAuditCountChangeData"
5278
+ },
5279
+ {
5280
+ "$ref": "#/components/schemas/AuditDataAuditBooleanChangeData"
5281
+ },
5282
+ {
5283
+ "$ref": "#/components/schemas/AuditDataAuditPinChangeData"
5284
+ },
5285
+ {
5286
+ "$ref": "#/components/schemas/AuditDataAuditBikeChangeData"
5287
+ },
5288
+ {
5289
+ "$ref": "#/components/schemas/AuditDataAuditMembersChangeData"
5290
+ },
5291
+ {
5292
+ "$ref": "#/components/schemas/AuditDataAuditMessageData"
5293
+ },
5294
+ {
5295
+ "$ref": "#/components/schemas/AuditDataAuditNoteData"
5296
+ },
5297
+ {
5298
+ "$ref": "#/components/schemas/AuditDataAuditActionData"
5299
+ },
5300
+ {
5301
+ "$ref": "#/components/schemas/AuditDataAuditFailureData"
5302
+ },
5303
+ {
5304
+ "$ref": "#/components/schemas/AuditDataAuditOperationsData"
5305
+ },
5306
+ {
5307
+ "$ref": "#/components/schemas/AuditDataBase"
5308
+ }
5309
+ ]
5310
+ },
5311
+ "AuditDataAuditActionData": {
5312
+ "properties": {
5313
+ "type": {
5314
+ "enum": [
5315
+ "clean",
5316
+ "factoryReset",
5317
+ "isBlacklisted"
5318
+ ],
5319
+ "type": [
5320
+ "null",
5321
+ "string"
5322
+ ]
5323
+ },
5324
+ "timestamp": {
5325
+ "type": [
5326
+ "null",
5327
+ "string"
5328
+ ],
5329
+ "format": "date-time"
5330
+ },
5331
+ "value": {
5332
+ "type": [
5333
+ "null",
5334
+ "boolean"
5335
+ ]
5336
+ },
5337
+ "requestedBy": {
5338
+ "type": [
5339
+ "null",
5340
+ "string"
5341
+ ]
5342
+ }
5343
+ },
5344
+ "additionalProperties": false
5345
+ },
5346
+ "AuditDataAuditBikeChangeData": {
5347
+ "properties": {
5348
+ "type": {
5349
+ "enum": [
5350
+ "bikeInfo"
5351
+ ],
5352
+ "type": [
5353
+ "null",
5354
+ "string"
5355
+ ]
5356
+ },
5357
+ "old": {
5358
+ "oneOf": [
5359
+ {
5360
+ "type": "null"
5361
+ },
5362
+ {
5363
+ "$ref": "#/components/schemas/AuditPartialOfAuditBikeInfoData"
5364
+ }
5365
+ ]
5366
+ },
5367
+ "new": {
5368
+ "oneOf": [
5369
+ {
5370
+ "type": "null"
5371
+ },
5372
+ {
5373
+ "$ref": "#/components/schemas/AuditPartialOfAuditBikeInfoData"
5374
+ }
5375
+ ]
5376
+ },
5377
+ "timestamp": {
5378
+ "type": [
5379
+ "null",
5380
+ "string"
5381
+ ],
5382
+ "format": "date-time"
5383
+ },
5384
+ "value": {
5385
+ "type": [
5386
+ "null",
5387
+ "boolean"
5388
+ ]
5389
+ },
5390
+ "requestedBy": {
5391
+ "type": [
5392
+ "null",
5393
+ "string"
5394
+ ]
5395
+ }
5396
+ },
5397
+ "additionalProperties": false
5398
+ },
5399
+ "AuditDataAuditBooleanChangeData": {
5400
+ "properties": {
5401
+ "type": {
5402
+ "enum": [
5403
+ "isBlacklisted"
5404
+ ],
5405
+ "type": [
5406
+ "null",
5407
+ "string"
5408
+ ]
5409
+ },
5410
+ "old": {
5411
+ "type": [
5412
+ "null",
5413
+ "boolean"
5414
+ ]
5415
+ },
5416
+ "new": {
5417
+ "type": [
5418
+ "null",
5419
+ "boolean"
5420
+ ]
5421
+ },
5422
+ "timestamp": {
5423
+ "type": [
5424
+ "null",
5425
+ "string"
5426
+ ],
5427
+ "format": "date-time"
5428
+ },
5429
+ "value": {
5430
+ "type": [
5431
+ "null",
5432
+ "boolean"
5433
+ ]
5434
+ },
5435
+ "requestedBy": {
5436
+ "type": [
5437
+ "null",
5438
+ "string"
5439
+ ]
5440
+ }
5441
+ },
5442
+ "additionalProperties": false
5443
+ },
5444
+ "AuditDataAuditBuildChangeData": {
5445
+ "properties": {
5446
+ "type": {
5447
+ "enum": [
5448
+ "buildNumber"
5449
+ ],
5450
+ "type": [
5451
+ "null",
5452
+ "string"
5453
+ ]
5454
+ },
5455
+ "old": {
5456
+ "oneOf": [
5457
+ {
5458
+ "type": "null"
5459
+ },
5460
+ {
5461
+ "$ref": "#/components/schemas/TextOrNumber"
5462
+ }
5463
+ ]
5464
+ },
5465
+ "new": {
5466
+ "oneOf": [
5467
+ {
5468
+ "type": "null"
5469
+ },
5470
+ {
5471
+ "$ref": "#/components/schemas/TextOrNumber"
5472
+ }
5473
+ ]
5474
+ },
5475
+ "timestamp": {
5476
+ "type": [
5477
+ "null",
5478
+ "string"
5479
+ ],
5480
+ "format": "date-time"
5481
+ },
5482
+ "value": {
5483
+ "type": [
5484
+ "null",
5485
+ "boolean"
5486
+ ]
5487
+ },
5488
+ "requestedBy": {
5489
+ "type": [
5490
+ "null",
5491
+ "string"
5492
+ ]
5493
+ }
5494
+ },
5495
+ "additionalProperties": false
5496
+ },
5497
+ "AuditDataAuditCountChangeData": {
5498
+ "properties": {
5499
+ "type": {
5500
+ "enum": [
5501
+ "userCount"
5502
+ ],
5503
+ "type": [
5504
+ "null",
5505
+ "string"
5506
+ ]
5507
+ },
5508
+ "old": {
5509
+ "type": [
5510
+ "null",
5511
+ "integer"
5512
+ ],
5513
+ "format": "int64"
5514
+ },
5515
+ "new": {
5516
+ "type": [
5517
+ "null",
5518
+ "integer"
5519
+ ],
5520
+ "format": "int64"
5521
+ },
5522
+ "timestamp": {
5523
+ "type": [
5524
+ "null",
5525
+ "string"
5526
+ ],
5527
+ "format": "date-time"
5528
+ },
5529
+ "value": {
5530
+ "type": [
5531
+ "null",
5532
+ "boolean"
5533
+ ]
5534
+ },
5535
+ "requestedBy": {
5536
+ "type": [
5537
+ "null",
5538
+ "string"
5539
+ ]
5540
+ }
5541
+ },
5542
+ "additionalProperties": false
5543
+ },
5544
+ "AuditDataAuditFailureData": {
5545
+ "properties": {
5546
+ "type": {
5547
+ "enum": [
5548
+ "effectFailure"
5549
+ ],
5550
+ "type": [
5551
+ "null",
5552
+ "string"
5553
+ ]
5554
+ },
5555
+ "schemaVersion": {
5556
+ "type": [
5557
+ "null",
5558
+ "integer"
5559
+ ],
5560
+ "format": "int64"
5561
+ },
5562
+ "source": {
5563
+ "type": [
5564
+ "null",
5565
+ "string"
5566
+ ]
5567
+ },
5568
+ "producer": {
5569
+ "type": [
5570
+ "null",
5571
+ "string"
5572
+ ]
5573
+ },
5574
+ "effect": {
5575
+ "type": [
5576
+ "null",
5577
+ "string"
5578
+ ]
5579
+ },
5580
+ "outcome": {
5581
+ "type": [
5582
+ "null",
5583
+ "string"
5584
+ ]
5585
+ },
5586
+ "message": {
5587
+ "type": [
5588
+ "null",
5589
+ "string"
5590
+ ]
5591
+ },
5592
+ "jobId": {
5593
+ "type": [
5594
+ "null",
5595
+ "string"
5596
+ ]
5597
+ },
5598
+ "attempt": {
5599
+ "type": [
5600
+ "null",
5601
+ "integer"
5602
+ ],
5603
+ "format": "int64"
5604
+ },
5605
+ "sourceTimestamp": {
5606
+ "type": [
5607
+ "null",
5608
+ "string"
5609
+ ],
5610
+ "format": "date-time"
5611
+ },
5612
+ "deviceCreatedAt": {
5613
+ "type": [
5614
+ "null",
5615
+ "string"
5616
+ ],
5617
+ "format": "date-time"
5618
+ },
5619
+ "diagnostic": {
5620
+ "oneOf": [
5621
+ {
5622
+ "type": "null"
5623
+ },
5624
+ {
5625
+ "$ref": "#/components/schemas/AuditDiagnostic"
5626
+ }
5627
+ ]
5628
+ },
5629
+ "timestamp": {
5630
+ "type": [
5631
+ "null",
5632
+ "string"
5633
+ ],
5634
+ "format": "date-time"
5635
+ },
5636
+ "value": {
5637
+ "type": [
5638
+ "null",
5639
+ "boolean"
5640
+ ]
5641
+ },
5642
+ "requestedBy": {
5643
+ "type": [
5644
+ "null",
5645
+ "string"
5646
+ ]
5647
+ }
5648
+ },
5649
+ "additionalProperties": false
5650
+ },
5651
+ "AuditDataAuditMembersChangeData": {
5652
+ "properties": {
5653
+ "type": {
5654
+ "enum": [
5655
+ "users",
5656
+ "fleetUsers"
5657
+ ],
5658
+ "type": [
5659
+ "null",
5660
+ "string"
5661
+ ]
5662
+ },
5663
+ "old": {
5664
+ "oneOf": [
5665
+ {
5666
+ "type": "null"
5667
+ },
5668
+ {
5669
+ "$ref": "#/components/schemas/AuditMembers"
5670
+ }
5671
+ ]
5672
+ },
5673
+ "new": {
5674
+ "oneOf": [
5675
+ {
5676
+ "type": "null"
5677
+ },
5678
+ {
5679
+ "$ref": "#/components/schemas/AuditMembers"
5680
+ }
5681
+ ]
5682
+ },
5683
+ "timestamp": {
5684
+ "type": [
5685
+ "null",
5686
+ "string"
5687
+ ],
5688
+ "format": "date-time"
5689
+ },
5690
+ "value": {
5691
+ "type": [
5692
+ "null",
5693
+ "boolean"
5694
+ ]
5695
+ },
5696
+ "requestedBy": {
5697
+ "type": [
5698
+ "null",
5699
+ "string"
5700
+ ]
5701
+ }
5702
+ },
5703
+ "additionalProperties": false
5704
+ },
5705
+ "AuditDataAuditMessageData": {
5706
+ "properties": {
5707
+ "type": {
5708
+ "enum": [
5709
+ "info",
5710
+ "error"
5711
+ ],
5712
+ "type": [
5713
+ "null",
5714
+ "string"
5715
+ ]
5716
+ },
5717
+ "message": {
5718
+ "type": [
5719
+ "null",
5720
+ "string"
5721
+ ]
5722
+ },
5723
+ "operationId": {
5724
+ "type": [
5725
+ "null",
5726
+ "string"
5727
+ ]
5728
+ },
5729
+ "timestamp": {
5730
+ "type": [
5731
+ "null",
5732
+ "string"
5733
+ ],
5734
+ "format": "date-time"
5735
+ },
5736
+ "value": {
5737
+ "type": [
5738
+ "null",
5739
+ "boolean"
5740
+ ]
5741
+ },
5742
+ "requestedBy": {
5743
+ "type": [
5744
+ "null",
5745
+ "string"
5746
+ ]
5747
+ }
5748
+ },
5749
+ "additionalProperties": false
5750
+ },
5751
+ "AuditDataAuditNoteData": {
5752
+ "properties": {
5753
+ "type": {
5754
+ "enum": [
5755
+ "blacklist"
5756
+ ],
5757
+ "type": [
5758
+ "null",
5759
+ "string"
5760
+ ]
5761
+ },
5762
+ "note": {
5763
+ "type": [
5764
+ "null",
5765
+ "string"
5766
+ ]
5767
+ },
5768
+ "timestamp": {
5769
+ "type": [
5770
+ "null",
5771
+ "string"
5772
+ ],
5773
+ "format": "date-time"
5774
+ },
5775
+ "value": {
5776
+ "type": [
5777
+ "null",
5778
+ "boolean"
5779
+ ]
5780
+ },
5781
+ "requestedBy": {
5782
+ "type": [
5783
+ "null",
5784
+ "string"
5785
+ ]
5786
+ }
5787
+ },
5788
+ "additionalProperties": false
5789
+ },
5790
+ "AuditDataAuditOperationsData": {
5791
+ "properties": {
5792
+ "type": {
5793
+ "enum": [
5794
+ "read",
5795
+ "google.firestore.document.update"
5796
+ ],
5797
+ "type": [
5798
+ "null",
5799
+ "string"
5800
+ ]
5801
+ },
5802
+ "old": {
5803
+ "type": [
5804
+ "null",
5805
+ "integer"
5806
+ ],
5807
+ "format": "int64"
5808
+ },
5809
+ "new": {
5810
+ "type": [
5811
+ "null",
5812
+ "integer"
5813
+ ],
5814
+ "format": "int64"
5815
+ },
5816
+ "uid": {
5817
+ "type": [
5818
+ "null",
5819
+ "string"
5820
+ ]
5821
+ },
5822
+ "logType": {
5823
+ "type": [
5824
+ "null",
5825
+ "string"
5826
+ ]
5827
+ },
5828
+ "startTimestamp": {
5829
+ "type": [
5830
+ "null",
5831
+ "string"
5832
+ ],
5833
+ "format": "date-time"
5834
+ },
5835
+ "lastOperation": {
5836
+ "oneOf": [
5837
+ {
5838
+ "type": "null"
5839
+ },
5840
+ {
5841
+ "$ref": "#/components/schemas/AuditOperation"
5842
+ }
5843
+ ]
5844
+ },
5845
+ "operations": {
5846
+ "type": [
5847
+ "null",
5848
+ "array"
5849
+ ],
5850
+ "items": {
5851
+ "$ref": "#/components/schemas/AuditOperation"
5852
+ }
5853
+ },
5854
+ "timestamp": {
5855
+ "type": [
5856
+ "null",
5857
+ "string"
5858
+ ],
5859
+ "format": "date-time"
5860
+ },
5861
+ "value": {
5862
+ "type": [
5863
+ "null",
5864
+ "boolean"
5865
+ ]
5866
+ },
5867
+ "requestedBy": {
5868
+ "type": [
5869
+ "null",
5870
+ "string"
5871
+ ]
5872
+ }
5873
+ },
5874
+ "additionalProperties": false
5875
+ },
5876
+ "AuditDataAuditPinChangeData": {
5877
+ "properties": {
5878
+ "type": {
5879
+ "enum": [
5880
+ "blePin"
5881
+ ],
5882
+ "type": [
5883
+ "null",
5884
+ "string"
5885
+ ]
5886
+ },
5887
+ "old": {
5888
+ "type": [
5889
+ "null",
5890
+ "array"
5891
+ ],
5892
+ "items": {
5893
+ "type": "integer",
5894
+ "format": "uint8"
5895
+ }
5896
+ },
5897
+ "new": {
5898
+ "type": [
5899
+ "null",
5900
+ "array"
5901
+ ],
5902
+ "items": {
5903
+ "type": "integer",
5904
+ "format": "uint8"
5905
+ }
5906
+ },
5907
+ "timestamp": {
5908
+ "type": [
5909
+ "null",
5910
+ "string"
5911
+ ],
5912
+ "format": "date-time"
5913
+ },
5914
+ "value": {
5915
+ "type": [
5916
+ "null",
5917
+ "boolean"
5918
+ ]
5919
+ },
5920
+ "requestedBy": {
5921
+ "type": [
5922
+ "null",
5923
+ "string"
5924
+ ]
5925
+ }
5926
+ },
5927
+ "additionalProperties": false
5928
+ },
5929
+ "AuditDataAuditTextChangeData": {
5930
+ "properties": {
5931
+ "type": {
5932
+ "enum": [
5933
+ "mode",
5934
+ "status",
5935
+ "tiFirmware",
5936
+ "mtkFirmware",
5937
+ "hardware",
5938
+ "fleetId"
5939
+ ],
5940
+ "type": [
5941
+ "null",
5942
+ "string"
5943
+ ]
5944
+ },
5945
+ "old": {
5946
+ "type": [
5947
+ "null",
5948
+ "string"
5949
+ ]
5950
+ },
5951
+ "new": {
5952
+ "type": [
5953
+ "null",
5954
+ "string"
5955
+ ]
5956
+ },
5957
+ "timestamp": {
5958
+ "type": [
5959
+ "null",
5960
+ "string"
5961
+ ],
5962
+ "format": "date-time"
5963
+ },
5964
+ "value": {
5965
+ "type": [
5966
+ "null",
5967
+ "boolean"
5968
+ ]
5969
+ },
5970
+ "requestedBy": {
5971
+ "type": [
5972
+ "null",
5973
+ "string"
5974
+ ]
5975
+ }
5976
+ },
5977
+ "additionalProperties": false
5978
+ },
5979
+ "AuditDataBase": {
5980
+ "properties": {
5981
+ "type": {
5982
+ "type": [
5983
+ "null",
5984
+ "string"
5985
+ ]
5986
+ },
5987
+ "timestamp": {
5988
+ "type": [
5989
+ "null",
5990
+ "string"
5991
+ ],
5992
+ "format": "date-time"
5993
+ },
5994
+ "value": {
5995
+ "type": [
5996
+ "null",
5997
+ "boolean"
5998
+ ]
5999
+ },
6000
+ "requestedBy": {
6001
+ "type": [
6002
+ "null",
6003
+ "string"
6004
+ ]
6005
+ }
6006
+ },
6007
+ "additionalProperties": false
6008
+ },
6009
+ "AuditDiagnostic": {
6010
+ "type": "object",
6011
+ "properties": {
6012
+ "code": {
6013
+ "type": [
6014
+ "null",
6015
+ "string"
6016
+ ]
6017
+ },
6018
+ "stage": {
6019
+ "type": [
6020
+ "null",
6021
+ "string"
6022
+ ]
6023
+ },
6024
+ "classification": {
6025
+ "type": [
6026
+ "null",
6027
+ "string"
6028
+ ]
6029
+ },
6030
+ "provider": {
6031
+ "type": [
6032
+ "null",
6033
+ "string"
6034
+ ]
6035
+ },
6036
+ "status": {
6037
+ "type": [
6038
+ "null",
6039
+ "string"
6040
+ ]
6041
+ },
6042
+ "reason": {
6043
+ "type": [
6044
+ "null",
6045
+ "string"
6046
+ ]
6047
+ },
6048
+ "receivedType": {
6049
+ "type": [
6050
+ "null",
6051
+ "string"
6052
+ ]
6053
+ },
6054
+ "httpStatus": {
6055
+ "type": [
6056
+ "null",
6057
+ "integer"
6058
+ ],
6059
+ "format": "int64"
6060
+ },
6061
+ "providerStage": {
6062
+ "type": [
6063
+ "null",
6064
+ "string"
6065
+ ]
6066
+ },
6067
+ "providerState": {
6068
+ "type": [
6069
+ "null",
6070
+ "string"
6071
+ ]
6072
+ },
6073
+ "responseCode": {
6074
+ "oneOf": [
6075
+ {
6076
+ "type": "null"
6077
+ },
6078
+ {
6079
+ "$ref": "#/components/schemas/TextOrNumber"
6080
+ }
6081
+ ]
6082
+ },
6083
+ "outcomeUnknown": {
6084
+ "type": [
6085
+ "null",
6086
+ "boolean"
6087
+ ]
6088
+ },
6089
+ "correlationId": {
6090
+ "type": [
6091
+ "null",
6092
+ "string"
6093
+ ]
6094
+ }
6095
+ },
6096
+ "additionalProperties": false
6097
+ },
6098
+ "AuditDocument": {
6099
+ "required": [
6100
+ "id",
6101
+ "revision",
6102
+ "createdAt",
6103
+ "updatedAt",
6104
+ "data"
6105
+ ],
6106
+ "type": "object",
6107
+ "properties": {
6108
+ "id": {
6109
+ "type": "string"
6110
+ },
6111
+ "revision": {
6112
+ "type": "string"
6113
+ },
6114
+ "createdAt": {
6115
+ "type": "string",
6116
+ "format": "date-time"
6117
+ },
6118
+ "updatedAt": {
6119
+ "type": "string",
6120
+ "format": "date-time"
6121
+ },
6122
+ "data": {
6123
+ "$ref": "#/components/schemas/AuditData"
6124
+ },
6125
+ "readIssues": {
6126
+ "type": [
6127
+ "null",
6128
+ "array"
6129
+ ],
6130
+ "items": {
6131
+ "$ref": "#/components/schemas/DocumentReadIssue"
6132
+ }
6133
+ }
6134
+ },
6135
+ "additionalProperties": false
6136
+ },
6137
+ "AuditMemberData": {
6138
+ "type": "object",
6139
+ "properties": {
6140
+ "active": {
6141
+ "type": [
6142
+ "null",
6143
+ "boolean"
6144
+ ]
6145
+ },
6146
+ "addedBy": {
6147
+ "type": [
6148
+ "null",
6149
+ "string"
6150
+ ]
6151
+ },
6152
+ "displayName": {
6153
+ "type": [
6154
+ "null",
6155
+ "string"
6156
+ ]
6157
+ },
6158
+ "description": {
6159
+ "type": [
6160
+ "null",
6161
+ "string"
6162
+ ]
6163
+ },
6164
+ "listIndex": {
6165
+ "type": [
6166
+ "null",
6167
+ "integer"
6168
+ ],
6169
+ "format": "int64"
6170
+ },
6171
+ "timestamp": {
6172
+ "type": [
6173
+ "null",
6174
+ "string"
6175
+ ],
6176
+ "format": "date-time"
6177
+ }
6178
+ },
6179
+ "additionalProperties": false
6180
+ },
6181
+ "AuditMembers": {
6182
+ "type": "object",
6183
+ "additionalProperties": {
6184
+ "anyOf": [
6185
+ {
6186
+ "$ref": "#/components/schemas/AuditMemberData"
6187
+ },
6188
+ {
6189
+ "type": "null"
6190
+ }
6191
+ ]
6192
+ }
6193
+ },
6194
+ "AuditOperation": {
6195
+ "type": "object",
6196
+ "properties": {
6197
+ "type": {
6198
+ "type": [
6199
+ "null",
6200
+ "string"
6201
+ ]
6202
+ },
6203
+ "timestamp": {
6204
+ "type": [
6205
+ "null",
6206
+ "string"
6207
+ ],
6208
+ "format": "date-time"
6209
+ },
6210
+ "what": {
6211
+ "oneOf": [
6212
+ {
6213
+ "type": "null"
6214
+ },
6215
+ {
6216
+ "$ref": "#/components/schemas/AuditOperationWhat"
6217
+ }
6218
+ ]
6219
+ },
6220
+ "doc": {
6221
+ "oneOf": [
6222
+ {
6223
+ "type": "null"
6224
+ },
6225
+ {
6226
+ "$ref": "#/components/schemas/AuditOperationDocument"
6227
+ }
6228
+ ]
6229
+ }
6230
+ },
6231
+ "additionalProperties": false
6232
+ },
6233
+ "AuditOperationDocument": {
6234
+ "type": "object",
6235
+ "properties": {
6236
+ "id": {
6237
+ "type": [
6238
+ "null",
6239
+ "string"
6240
+ ]
6241
+ },
6242
+ "type": {
6243
+ "type": [
6244
+ "null",
6245
+ "string"
6246
+ ]
6247
+ },
6248
+ "fleetId": {
6249
+ "type": [
6250
+ "null",
6251
+ "string"
6252
+ ]
6253
+ }
6254
+ },
6255
+ "additionalProperties": false
6256
+ },
6257
+ "AuditOperationWhat": {
6258
+ "anyOf": [
6259
+ {
6260
+ "type": "string"
6261
+ },
6262
+ {
6263
+ "$ref": "#/components/schemas/AuditOperationWhatAuditTextChangeData"
6264
+ },
6265
+ {
6266
+ "$ref": "#/components/schemas/AuditOperationWhatAuditBuildChangeData"
6267
+ },
6268
+ {
6269
+ "$ref": "#/components/schemas/AuditOperationWhatAuditCountChangeData"
6270
+ },
6271
+ {
6272
+ "$ref": "#/components/schemas/AuditOperationWhatAuditBooleanChangeData"
6273
+ },
6274
+ {
6275
+ "$ref": "#/components/schemas/AuditOperationWhatAuditPinChangeData"
6276
+ },
6277
+ {
6278
+ "$ref": "#/components/schemas/AuditOperationWhatAuditBikeChangeData"
6279
+ },
6280
+ {
6281
+ "$ref": "#/components/schemas/AuditOperationWhatAuditMembersChangeData"
6282
+ },
6283
+ {
6284
+ "type": "object",
6285
+ "properties": {
6286
+ "type": {
6287
+ "type": [
6288
+ "null",
6289
+ "string"
6290
+ ]
6291
+ },
6292
+ "timestamp": {
6293
+ "type": [
6294
+ "null",
6295
+ "string"
6296
+ ],
6297
+ "format": "date-time"
6298
+ }
6299
+ },
6300
+ "additionalProperties": false
6301
+ }
6302
+ ]
6303
+ },
6304
+ "AuditOperationWhatAuditBikeChangeData": {
6305
+ "type": "object",
6306
+ "properties": {
6307
+ "type": {
6308
+ "enum": [
6309
+ "bikeInfo"
6310
+ ],
6311
+ "type": [
6312
+ "null",
6313
+ "string"
6314
+ ]
6315
+ },
6316
+ "old": {
6317
+ "oneOf": [
6318
+ {
6319
+ "type": "null"
6320
+ },
6321
+ {
6322
+ "$ref": "#/components/schemas/AuditPartialOfAuditBikeInfoData"
6323
+ }
6324
+ ]
6325
+ },
6326
+ "new": {
6327
+ "oneOf": [
6328
+ {
6329
+ "type": "null"
6330
+ },
6331
+ {
6332
+ "$ref": "#/components/schemas/AuditPartialOfAuditBikeInfoData"
6333
+ }
6334
+ ]
6335
+ },
6336
+ "timestamp": {
6337
+ "type": [
6338
+ "null",
6339
+ "string"
6340
+ ],
6341
+ "format": "date-time"
6342
+ },
6343
+ "value": {
6344
+ "type": [
6345
+ "null",
6346
+ "boolean"
6347
+ ]
6348
+ },
6349
+ "requestedBy": {
6350
+ "type": [
6351
+ "null",
6352
+ "string"
6353
+ ]
6354
+ }
6355
+ },
6356
+ "additionalProperties": false
6357
+ },
6358
+ "AuditOperationWhatAuditBooleanChangeData": {
6359
+ "type": "object",
6360
+ "properties": {
6361
+ "type": {
6362
+ "enum": [
6363
+ "isBlacklisted"
6364
+ ],
6365
+ "type": [
6366
+ "null",
6367
+ "string"
6368
+ ]
6369
+ },
6370
+ "old": {
6371
+ "type": [
6372
+ "null",
6373
+ "boolean"
6374
+ ]
6375
+ },
6376
+ "new": {
6377
+ "type": [
6378
+ "null",
6379
+ "boolean"
6380
+ ]
6381
+ },
6382
+ "timestamp": {
6383
+ "type": [
6384
+ "null",
6385
+ "string"
6386
+ ],
6387
+ "format": "date-time"
6388
+ },
6389
+ "value": {
6390
+ "type": [
6391
+ "null",
6392
+ "boolean"
6393
+ ]
6394
+ },
6395
+ "requestedBy": {
6396
+ "type": [
6397
+ "null",
6398
+ "string"
6399
+ ]
6400
+ }
6401
+ },
6402
+ "additionalProperties": false
6403
+ },
6404
+ "AuditOperationWhatAuditBuildChangeData": {
6405
+ "type": "object",
6406
+ "properties": {
6407
+ "type": {
6408
+ "enum": [
6409
+ "buildNumber"
6410
+ ],
6411
+ "type": [
6412
+ "null",
6413
+ "string"
6414
+ ]
6415
+ },
6416
+ "old": {
6417
+ "oneOf": [
6418
+ {
6419
+ "type": "null"
6420
+ },
6421
+ {
6422
+ "$ref": "#/components/schemas/TextOrNumber"
6423
+ }
6424
+ ]
6425
+ },
6426
+ "new": {
6427
+ "oneOf": [
6428
+ {
6429
+ "type": "null"
6430
+ },
6431
+ {
6432
+ "$ref": "#/components/schemas/TextOrNumber"
6433
+ }
6434
+ ]
6435
+ },
6436
+ "timestamp": {
6437
+ "type": [
6438
+ "null",
6439
+ "string"
6440
+ ],
6441
+ "format": "date-time"
6442
+ },
6443
+ "value": {
6444
+ "type": [
6445
+ "null",
6446
+ "boolean"
6447
+ ]
6448
+ },
6449
+ "requestedBy": {
6450
+ "type": [
6451
+ "null",
6452
+ "string"
6453
+ ]
6454
+ }
6455
+ },
6456
+ "additionalProperties": false
6457
+ },
6458
+ "AuditOperationWhatAuditCountChangeData": {
6459
+ "type": "object",
6460
+ "properties": {
6461
+ "type": {
6462
+ "enum": [
6463
+ "userCount"
6464
+ ],
6465
+ "type": [
6466
+ "null",
6467
+ "string"
6468
+ ]
6469
+ },
6470
+ "old": {
6471
+ "type": [
6472
+ "null",
6473
+ "integer"
6474
+ ],
6475
+ "format": "int64"
6476
+ },
6477
+ "new": {
6478
+ "type": [
6479
+ "null",
6480
+ "integer"
6481
+ ],
6482
+ "format": "int64"
6483
+ },
6484
+ "timestamp": {
6485
+ "type": [
6486
+ "null",
6487
+ "string"
6488
+ ],
6489
+ "format": "date-time"
6490
+ },
6491
+ "value": {
6492
+ "type": [
6493
+ "null",
6494
+ "boolean"
6495
+ ]
6496
+ },
6497
+ "requestedBy": {
6498
+ "type": [
6499
+ "null",
6500
+ "string"
6501
+ ]
6502
+ }
6503
+ },
6504
+ "additionalProperties": false
6505
+ },
6506
+ "AuditOperationWhatAuditMembersChangeData": {
5268
6507
  "type": "object",
5269
6508
  "properties": {
5270
6509
  "type": {
6510
+ "enum": [
6511
+ "users",
6512
+ "fleetUsers"
6513
+ ],
5271
6514
  "type": [
5272
6515
  "null",
5273
6516
  "string"
5274
6517
  ]
5275
6518
  },
6519
+ "old": {
6520
+ "oneOf": [
6521
+ {
6522
+ "type": "null"
6523
+ },
6524
+ {
6525
+ "$ref": "#/components/schemas/AuditMembers"
6526
+ }
6527
+ ]
6528
+ },
6529
+ "new": {
6530
+ "oneOf": [
6531
+ {
6532
+ "type": "null"
6533
+ },
6534
+ {
6535
+ "$ref": "#/components/schemas/AuditMembers"
6536
+ }
6537
+ ]
6538
+ },
5276
6539
  "timestamp": {
5277
6540
  "type": [
5278
6541
  "null",
@@ -5295,41 +6558,107 @@
5295
6558
  },
5296
6559
  "additionalProperties": false
5297
6560
  },
5298
- "AuditDocument": {
5299
- "required": [
5300
- "id",
5301
- "revision",
5302
- "createdAt",
5303
- "updatedAt",
5304
- "data"
5305
- ],
6561
+ "AuditOperationWhatAuditPinChangeData": {
5306
6562
  "type": "object",
5307
6563
  "properties": {
5308
- "id": {
5309
- "type": "string"
6564
+ "type": {
6565
+ "enum": [
6566
+ "blePin"
6567
+ ],
6568
+ "type": [
6569
+ "null",
6570
+ "string"
6571
+ ]
5310
6572
  },
5311
- "revision": {
5312
- "type": "string"
6573
+ "old": {
6574
+ "type": [
6575
+ "null",
6576
+ "array"
6577
+ ],
6578
+ "items": {
6579
+ "type": "integer",
6580
+ "format": "uint8"
6581
+ }
5313
6582
  },
5314
- "createdAt": {
5315
- "type": "string",
5316
- "format": "date-time"
6583
+ "new": {
6584
+ "type": [
6585
+ "null",
6586
+ "array"
6587
+ ],
6588
+ "items": {
6589
+ "type": "integer",
6590
+ "format": "uint8"
6591
+ }
5317
6592
  },
5318
- "updatedAt": {
5319
- "type": "string",
6593
+ "timestamp": {
6594
+ "type": [
6595
+ "null",
6596
+ "string"
6597
+ ],
5320
6598
  "format": "date-time"
5321
6599
  },
5322
- "data": {
5323
- "$ref": "#/components/schemas/AuditData"
6600
+ "value": {
6601
+ "type": [
6602
+ "null",
6603
+ "boolean"
6604
+ ]
5324
6605
  },
5325
- "readIssues": {
6606
+ "requestedBy": {
5326
6607
  "type": [
5327
6608
  "null",
5328
- "array"
6609
+ "string"
6610
+ ]
6611
+ }
6612
+ },
6613
+ "additionalProperties": false
6614
+ },
6615
+ "AuditOperationWhatAuditTextChangeData": {
6616
+ "type": "object",
6617
+ "properties": {
6618
+ "type": {
6619
+ "enum": [
6620
+ "mode",
6621
+ "status",
6622
+ "tiFirmware",
6623
+ "mtkFirmware",
6624
+ "hardware",
6625
+ "fleetId"
5329
6626
  ],
5330
- "items": {
5331
- "$ref": "#/components/schemas/DocumentReadIssue"
5332
- }
6627
+ "type": [
6628
+ "null",
6629
+ "string"
6630
+ ]
6631
+ },
6632
+ "old": {
6633
+ "type": [
6634
+ "null",
6635
+ "string"
6636
+ ]
6637
+ },
6638
+ "new": {
6639
+ "type": [
6640
+ "null",
6641
+ "string"
6642
+ ]
6643
+ },
6644
+ "timestamp": {
6645
+ "type": [
6646
+ "null",
6647
+ "string"
6648
+ ],
6649
+ "format": "date-time"
6650
+ },
6651
+ "value": {
6652
+ "type": [
6653
+ "null",
6654
+ "boolean"
6655
+ ]
6656
+ },
6657
+ "requestedBy": {
6658
+ "type": [
6659
+ "null",
6660
+ "string"
6661
+ ]
5333
6662
  }
5334
6663
  },
5335
6664
  "additionalProperties": false
@@ -5356,6 +6685,151 @@
5356
6685
  },
5357
6686
  "additionalProperties": false
5358
6687
  },
6688
+ "AuditPartialOfAuditBikeInfoData": {
6689
+ "anyOf": [
6690
+ {
6691
+ "$ref": "#/components/schemas/AuditPartialOfAuditBikeInfoDataAuditBikeInfoData"
6692
+ }
6693
+ ]
6694
+ },
6695
+ "AuditPartialOfAuditBikeInfoDataAuditBikeInfoData": {
6696
+ "type": "object",
6697
+ "properties": {
6698
+ "nickname": {
6699
+ "type": [
6700
+ "null",
6701
+ "string"
6702
+ ]
6703
+ },
6704
+ "brand": {
6705
+ "type": [
6706
+ "null",
6707
+ "string"
6708
+ ]
6709
+ },
6710
+ "type": {
6711
+ "type": [
6712
+ "null",
6713
+ "string"
6714
+ ]
6715
+ },
6716
+ "model": {
6717
+ "oneOf": [
6718
+ {
6719
+ "type": "null"
6720
+ },
6721
+ {
6722
+ "$ref": "#/components/schemas/TextOrNumber"
6723
+ }
6724
+ ]
6725
+ },
6726
+ "frameNumber": {
6727
+ "type": [
6728
+ "null",
6729
+ "string"
6730
+ ]
6731
+ },
6732
+ "url": {
6733
+ "type": [
6734
+ "null",
6735
+ "string"
6736
+ ]
6737
+ },
6738
+ "marketPrice": {
6739
+ "oneOf": [
6740
+ {
6741
+ "type": "null"
6742
+ },
6743
+ {
6744
+ "$ref": "#/components/schemas/TextOrNumber"
6745
+ }
6746
+ ]
6747
+ },
6748
+ "marketPriceCurrency": {
6749
+ "type": [
6750
+ "null",
6751
+ "string"
6752
+ ]
6753
+ },
6754
+ "receiptImage": {
6755
+ "type": [
6756
+ "null",
6757
+ "string"
6758
+ ]
6759
+ },
6760
+ "receiptImageThumb": {
6761
+ "type": [
6762
+ "null",
6763
+ "string"
6764
+ ]
6765
+ },
6766
+ "questionnaire": {
6767
+ "oneOf": [
6768
+ {
6769
+ "type": "null"
6770
+ },
6771
+ {
6772
+ "$ref": "#/components/schemas/AuditPartialOfAuditQuestionnaireData"
6773
+ }
6774
+ ]
6775
+ }
6776
+ },
6777
+ "additionalProperties": false
6778
+ },
6779
+ "AuditPartialOfAuditQuestionnaireData": {
6780
+ "anyOf": [
6781
+ {
6782
+ "$ref": "#/components/schemas/AuditPartialOfAuditQuestionnaireDataAuditQuestionnaireData"
6783
+ }
6784
+ ]
6785
+ },
6786
+ "AuditPartialOfAuditQuestionnaireDataAuditQuestionnaireData": {
6787
+ "type": "object",
6788
+ "properties": {
6789
+ "startSurveyAnswer": {
6790
+ "type": [
6791
+ "null",
6792
+ "string"
6793
+ ]
6794
+ },
6795
+ "startSurveyAnswerTimestamp": {
6796
+ "type": [
6797
+ "null",
6798
+ "string"
6799
+ ],
6800
+ "format": "date-time"
6801
+ },
6802
+ "handlebars": {
6803
+ "type": [
6804
+ "null",
6805
+ "string"
6806
+ ]
6807
+ },
6808
+ "spacer": {
6809
+ "type": [
6810
+ "null",
6811
+ "string"
6812
+ ]
6813
+ },
6814
+ "antennaIsOutside": {
6815
+ "type": [
6816
+ "null",
6817
+ "boolean"
6818
+ ]
6819
+ },
6820
+ "wouldRecommend": {
6821
+ "oneOf": [
6822
+ {
6823
+ "type": "null"
6824
+ },
6825
+ {
6826
+ "$ref": "#/components/schemas/TextOrNumber"
6827
+ }
6828
+ ]
6829
+ }
6830
+ },
6831
+ "additionalProperties": false
6832
+ },
5359
6833
  "AutomationDeliveryReceipt": {
5360
6834
  "required": [
5361
6835
  "deliveryId"