@bikefinder/sdk 0.9.0 → 0.10.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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Generated REST and SignalR clients for the [API service](../../services/api/README.md). Hey API generates named HTTP methods, types and Zod validation from OpenAPI. TypedSignalR.Client.TypeScript generates hub proxies from C# interfaces implemented by the server. The official `@microsoft/signalr` client owns streaming and connection management.
4
4
 
5
+ Firmware receipts include the server's `jobId` so clients can match device progress to the exact update and execution.
6
+
5
7
  This package remains prelaunch. It replaces the experimental
6
8
  `@bikefinder/api-client` package so **1.0.0** can mark the eventual stable launch.
7
9
  Pin exact versions during development. Existing consumers of the old package
@@ -6071,6 +6071,7 @@ export type FirmwareReceipt = {
6071
6071
  execution: FirmwareExecution;
6072
6072
  expiresAt?: null | string;
6073
6073
  attemptLimit?: null | number;
6074
+ jobId?: null | string;
6074
6075
  [key: string]: unknown;
6075
6076
  };
6076
6077
  export type FirmwareRelease = {
@@ -8631,6 +8631,7 @@ export declare const zFirmwareReceipt: z.ZodObject<{
8631
8631
  }, z.core.$catchall<z.ZodUnknown>>;
8632
8632
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
8633
8633
  attemptLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8634
+ jobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8634
8635
  }, z.core.$catchall<z.ZodUnknown>>;
8635
8636
  export declare const zFirmwareRelease: z.ZodObject<{
8636
8637
  id: z.ZodString;
@@ -37714,6 +37715,7 @@ export declare const zListActiveStaffTrackerFirmwareUpdatesResponse: z.ZodArray<
37714
37715
  }, z.core.$catchall<z.ZodUnknown>>;
37715
37716
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
37716
37717
  attemptLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
37718
+ jobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37717
37719
  }, z.core.$catchall<z.ZodUnknown>>>;
37718
37720
  export declare const zRequestStaffTrackerFirmwareUpdateBody: z.ZodObject<{
37719
37721
  requestId: z.ZodUUID;
@@ -37742,6 +37744,7 @@ export declare const zRequestStaffTrackerFirmwareUpdateResponse: z.ZodObject<{
37742
37744
  }, z.core.$catchall<z.ZodUnknown>>;
37743
37745
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
37744
37746
  attemptLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
37747
+ jobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37745
37748
  }, z.core.$catchall<z.ZodUnknown>>;
37746
37749
  export declare const zGetStaffTrackerFirmwareUpdatePath: z.ZodObject<{
37747
37750
  id: z.ZodString;
@@ -37766,6 +37769,7 @@ export declare const zGetStaffTrackerFirmwareUpdateResponse: z.ZodObject<{
37766
37769
  }, z.core.$catchall<z.ZodUnknown>>;
37767
37770
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
37768
37771
  attemptLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
37772
+ jobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37769
37773
  }, z.core.$catchall<z.ZodUnknown>>;
37770
37774
  export declare const zCancelStaffTrackerFirmwareUpdateBody: z.ZodObject<{
37771
37775
  requestId: z.ZodUUID;
@@ -37794,4 +37798,5 @@ export declare const zCancelStaffTrackerFirmwareUpdateResponse: z.ZodObject<{
37794
37798
  }, z.core.$catchall<z.ZodUnknown>>;
37795
37799
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
37796
37800
  attemptLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
37801
+ jobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37797
37802
  }, z.core.$catchall<z.ZodUnknown>>;
@@ -6643,6 +6643,7 @@ export const zFirmwareReceipt = z
6643
6643
  error: "Invalid value: Expected int32 to be <= 2147483647",
6644
6644
  })
6645
6645
  .nullish(),
6646
+ jobId: z.string().nullish(),
6646
6647
  })
6647
6648
  .catchall(z.unknown());
6648
6649
  export const zFirmwareRelease = z
package/openapi/api.json CHANGED
@@ -31156,6 +31156,12 @@
31156
31156
  "integer"
31157
31157
  ],
31158
31158
  "format": "int32"
31159
+ },
31160
+ "jobId": {
31161
+ "type": [
31162
+ "null",
31163
+ "string"
31164
+ ]
31159
31165
  }
31160
31166
  },
31161
31167
  "additionalProperties": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikefinder/sdk",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Generated REST and SignalR clients for BikeFinder api.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {