@bikefinder/sdk 0.35.0 → 0.36.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.
@@ -544,12 +544,7 @@ var trackerChangeContract = {
544
544
  // ../customer-contracts/src/discovery.ts
545
545
  import { oc as oc8 } from "@orpc/contract";
546
546
  import { z as z10 } from "zod";
547
- var trackerLookupInput = z10.union([
548
- z10.strictObject({ deviceId: documentId }),
549
- z10.strictObject({
550
- serialNumber: z10.string().min(1).max(128).regex(/^[^\p{Cc}]+$/u).refine((value) => value.trim().length > 0)
551
- })
552
- ]);
547
+ var trackerLookupInput = z10.strictObject({ deviceId: documentId });
553
548
  var trackerAdmission = z10.object({
554
549
  id: documentId,
555
550
  isMember: z10.boolean(),
package/dist/index.d.ts CHANGED
@@ -34087,27 +34087,17 @@ export type TrackerClaimInput = z.infer<typeof trackerClaimInput>;
34087
34087
  export type TrackerMemberInput = z.infer<typeof trackerMemberInput>;
34088
34088
  export type TrackerMemberAddInput = z.infer<typeof trackerMemberAddInput>;
34089
34089
  export type TrackerMovementAlertsInput = z.infer<typeof trackerMovementAlertsInput>;
34090
- export declare const trackerLookupInput: z.ZodUnion<readonly [
34091
- z.ZodObject<{
34092
- deviceId: z.ZodString;
34093
- }, z.core.$strict>,
34094
- z.ZodObject<{
34095
- serialNumber: z.ZodString;
34096
- }, z.core.$strict>
34097
- ]>;
34090
+ export declare const trackerLookupInput: z.ZodObject<{
34091
+ deviceId: z.ZodString;
34092
+ }, z.core.$strict>;
34098
34093
  export declare const trackerAdmission: z.ZodObject<{
34099
34094
  id: z.ZodString;
34100
34095
  isMember: z.ZodBoolean;
34101
34096
  canClaim: z.ZodBoolean;
34102
34097
  }, z.core.$strip>;
34103
- export declare const trackerLookupContract: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodUnion<readonly [
34104
- z.ZodObject<{
34105
- deviceId: z.ZodString;
34106
- }, z.core.$strict>,
34107
- z.ZodObject<{
34108
- serialNumber: z.ZodString;
34109
- }, z.core.$strict>
34110
- ]>, z.ZodObject<{
34098
+ export declare const trackerLookupContract: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
34099
+ deviceId: z.ZodString;
34100
+ }, z.core.$strict>, z.ZodObject<{
34111
34101
  id: z.ZodString;
34112
34102
  isMember: z.ZodBoolean;
34113
34103
  canClaim: z.ZodBoolean;
@@ -70179,14 +70169,9 @@ declare const trackerContract: {
70179
70169
  };
70180
70170
  }>, Record<never, never>>;
70181
70171
  };
70182
- lookup: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodUnion<readonly [
70183
- z.ZodObject<{
70184
- deviceId: z.ZodString;
70185
- }, z.core.$strict>,
70186
- z.ZodObject<{
70187
- serialNumber: z.ZodString;
70188
- }, z.core.$strict>
70189
- ]>, z.ZodObject<{
70172
+ lookup: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
70173
+ deviceId: z.ZodString;
70174
+ }, z.core.$strict>, z.ZodObject<{
70190
70175
  id: z.ZodString;
70191
70176
  isMember: z.ZodBoolean;
70192
70177
  canClaim: z.ZodBoolean;
package/dist/index.js CHANGED
@@ -87,7 +87,7 @@ import {
87
87
  trackerModeWrite,
88
88
  trackerMovementAlertsInput,
89
89
  trackerPhotoContract
90
- } from "./chunk-ZSNSOMTF.js";
90
+ } from "./chunk-ARMBM5BL.js";
91
91
 
92
92
  // ../../src/client/client.ts
93
93
  import {
package/dist/schemas.d.ts CHANGED
@@ -34306,27 +34306,17 @@ export type TrackerClaimInput = z.infer<typeof trackerClaimInput>;
34306
34306
  export type TrackerMemberInput = z.infer<typeof trackerMemberInput>;
34307
34307
  export type TrackerMemberAddInput = z.infer<typeof trackerMemberAddInput>;
34308
34308
  export type TrackerMovementAlertsInput = z.infer<typeof trackerMovementAlertsInput>;
34309
- export declare const trackerLookupInput: z.ZodUnion<readonly [
34310
- z.ZodObject<{
34311
- deviceId: z.ZodString;
34312
- }, z.core.$strict>,
34313
- z.ZodObject<{
34314
- serialNumber: z.ZodString;
34315
- }, z.core.$strict>
34316
- ]>;
34309
+ export declare const trackerLookupInput: z.ZodObject<{
34310
+ deviceId: z.ZodString;
34311
+ }, z.core.$strict>;
34317
34312
  export declare const trackerAdmission: z.ZodObject<{
34318
34313
  id: z.ZodString;
34319
34314
  isMember: z.ZodBoolean;
34320
34315
  canClaim: z.ZodBoolean;
34321
34316
  }, z.core.$strip>;
34322
- export declare const trackerLookupContract: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodUnion<readonly [
34323
- z.ZodObject<{
34324
- deviceId: z.ZodString;
34325
- }, z.core.$strict>,
34326
- z.ZodObject<{
34327
- serialNumber: z.ZodString;
34328
- }, z.core.$strict>
34329
- ]>, z.ZodObject<{
34317
+ export declare const trackerLookupContract: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
34318
+ deviceId: z.ZodString;
34319
+ }, z.core.$strict>, z.ZodObject<{
34330
34320
  id: z.ZodString;
34331
34321
  isMember: z.ZodBoolean;
34332
34322
  canClaim: z.ZodBoolean;
@@ -70398,14 +70388,9 @@ declare const trackerContract: {
70398
70388
  };
70399
70389
  }>, Record<never, never>>;
70400
70390
  };
70401
- lookup: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodUnion<readonly [
70402
- z.ZodObject<{
70403
- deviceId: z.ZodString;
70404
- }, z.core.$strict>,
70405
- z.ZodObject<{
70406
- serialNumber: z.ZodString;
70407
- }, z.core.$strict>
70408
- ]>, z.ZodObject<{
70391
+ lookup: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
70392
+ deviceId: z.ZodString;
70393
+ }, z.core.$strict>, z.ZodObject<{
70409
70394
  id: z.ZodString;
70410
70395
  isMember: z.ZodBoolean;
70411
70396
  canClaim: z.ZodBoolean;
package/dist/schemas.js CHANGED
@@ -100,7 +100,7 @@ import {
100
100
  trackerSubscription,
101
101
  trackerSummary,
102
102
  trackerSummaryFields
103
- } from "./chunk-ZSNSOMTF.js";
103
+ } from "./chunk-ARMBM5BL.js";
104
104
  export {
105
105
  account,
106
106
  accountPreferencePatch,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikefinder/sdk",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "description": "Typed HTTP and WebSocket client for BikeFinder.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {