@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.
- package/dist/{chunk-ZSNSOMTF.js → chunk-ARMBM5BL.js} +1 -6
- package/dist/index.d.ts +9 -24
- package/dist/index.js +1 -1
- package/dist/schemas.d.ts +9 -24
- package/dist/schemas.js +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
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.
|
|
34091
|
-
z.
|
|
34092
|
-
|
|
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.
|
|
34104
|
-
z.
|
|
34105
|
-
|
|
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.
|
|
70183
|
-
z.
|
|
70184
|
-
|
|
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
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.
|
|
34310
|
-
z.
|
|
34311
|
-
|
|
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.
|
|
34323
|
-
z.
|
|
34324
|
-
|
|
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.
|
|
70402
|
-
z.
|
|
70403
|
-
|
|
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