@bite-ninja/zenu-sdk 0.2.3

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.
@@ -0,0 +1,2 @@
1
+ gen/
2
+ dist/
package/README.md ADDED
File without changes
package/buf.gen.yaml ADDED
@@ -0,0 +1,15 @@
1
+ version: v2
2
+ plugins:
3
+ # Generate TypeScript types, messages, and service definitions with ts-proto
4
+ # Timestamps are automatically converted to Date objects
5
+ - local: protoc-gen-ts_proto
6
+ out: src/gen
7
+ strategy: all
8
+ opt:
9
+ - esModuleInterop=true
10
+ - importSuffix=.js
11
+ - outputServices=nice-grpc
12
+ - outputServices=generic-definitions
13
+ - useDate=true
14
+ - snakeToCamel=true
15
+ - lowerCaseServiceMethods=true
@@ -0,0 +1,59 @@
1
+ import { type UsersServiceClient } from "./gen/zenu/users/v1/users_service.js";
2
+ /**
3
+ * Configuration for the Zenu SDK client.
4
+ */
5
+ export interface ZenuClientOptions {
6
+ /**
7
+ * Base URL of the API Gateway (e.g., "https://api.biteninja.com")
8
+ */
9
+ baseUrl: string;
10
+ /**
11
+ * Function that returns a Firebase auth token.
12
+ * Called before each request to get a fresh token.
13
+ */
14
+ getToken: () => Promise<string>;
15
+ }
16
+ /**
17
+ * Zenu SDK client providing typed access to all services.
18
+ */
19
+ interface ZenuClient {
20
+ /**
21
+ * Users service client for authentication and user management.
22
+ */
23
+ users: UsersServiceClient;
24
+ }
25
+ /**
26
+ * Creates a new Zenu SDK client.
27
+ *
28
+ * @param opts - Configuration including baseUrl and token getter
29
+ * @returns A typed client with access to all Zenu services
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * import { createZenuClient } from "zenu-sdk";
34
+ * import { getAuth } from "firebase/auth";
35
+ *
36
+ * const client = createZenuClient({
37
+ * baseUrl: "https://api.biteninja.com",
38
+ * getToken: async () => {
39
+ * const auth = getAuth();
40
+ * const user = auth.currentUser;
41
+ * if (!user) throw new Error("Not authenticated");
42
+ * return user.getIdToken();
43
+ * },
44
+ * });
45
+ *
46
+ * // Get current user - createdAt is now a Date!
47
+ * const { user } = await client.users.whoAmI({});
48
+ * console.log(`Hello, ${user?.givenName}!`);
49
+ * console.log(`Account created: ${user?.createdAt?.toLocaleDateString()}`);
50
+ *
51
+ * // Say hello
52
+ * const { message, currentTime } = await client.users.sayHello({ name: "World" });
53
+ * console.log(message);
54
+ * console.log(`Server time: ${currentTime?.toISOString()}`);
55
+ * ```
56
+ */
57
+ export declare function createZenuClient({ baseUrl, getToken, }: ZenuClientOptions): ZenuClient;
58
+ export {};
59
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,QAAQ,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,UAAU,UAAU;IAClB;;OAEG;IACH,KAAK,EAAE,kBAAkB,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,QAAQ,GACT,EAAE,iBAAiB,GAAG,UAAU,CAkBhC"}
@@ -0,0 +1,129 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ export declare const protobufPackage = "google.protobuf";
3
+ /**
4
+ * A Timestamp represents a point in time independent of any time zone or local
5
+ * calendar, encoded as a count of seconds and fractions of seconds at
6
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
7
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
8
+ * Gregorian calendar backwards to year one.
9
+ *
10
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
11
+ * second table is needed for interpretation, using a [24-hour linear
12
+ * smear](https://developers.google.com/time/smear).
13
+ *
14
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
15
+ * restricting to that range, we ensure that we can convert to and from [RFC
16
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
17
+ *
18
+ * # Examples
19
+ *
20
+ * Example 1: Compute Timestamp from POSIX `time()`.
21
+ *
22
+ * Timestamp timestamp;
23
+ * timestamp.set_seconds(time(NULL));
24
+ * timestamp.set_nanos(0);
25
+ *
26
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
27
+ *
28
+ * struct timeval tv;
29
+ * gettimeofday(&tv, NULL);
30
+ *
31
+ * Timestamp timestamp;
32
+ * timestamp.set_seconds(tv.tv_sec);
33
+ * timestamp.set_nanos(tv.tv_usec * 1000);
34
+ *
35
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
36
+ *
37
+ * FILETIME ft;
38
+ * GetSystemTimeAsFileTime(&ft);
39
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
40
+ *
41
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
42
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
43
+ * Timestamp timestamp;
44
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
45
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
46
+ *
47
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
48
+ *
49
+ * long millis = System.currentTimeMillis();
50
+ *
51
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
52
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
53
+ *
54
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
55
+ *
56
+ * Instant now = Instant.now();
57
+ *
58
+ * Timestamp timestamp =
59
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
60
+ * .setNanos(now.getNano()).build();
61
+ *
62
+ * Example 6: Compute Timestamp from current time in Python.
63
+ *
64
+ * timestamp = Timestamp()
65
+ * timestamp.GetCurrentTime()
66
+ *
67
+ * # JSON Mapping
68
+ *
69
+ * In JSON format, the Timestamp type is encoded as a string in the
70
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
71
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
72
+ * where {year} is always expressed using four digits while {month}, {day},
73
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
74
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
75
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
76
+ * is required. A proto3 JSON serializer should always use UTC (as indicated by
77
+ * "Z") when printing the Timestamp type and a proto3 JSON parser should be
78
+ * able to accept both UTC and other timezones (as indicated by an offset).
79
+ *
80
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
81
+ * 01:30 UTC on January 15, 2017.
82
+ *
83
+ * In JavaScript, one can convert a Date object to this format using the
84
+ * standard
85
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
86
+ * method. In Python, a standard `datetime.datetime` object can be converted
87
+ * to this format using
88
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
89
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
90
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
91
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
92
+ * ) to obtain a formatter capable of generating timestamps in this format.
93
+ */
94
+ export interface Timestamp {
95
+ /**
96
+ * Represents seconds of UTC time since Unix epoch
97
+ * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
98
+ * 9999-12-31T23:59:59Z inclusive.
99
+ */
100
+ seconds: number;
101
+ /**
102
+ * Non-negative fractions of a second at nanosecond resolution. Negative
103
+ * second values with fractions must still have non-negative nanos values
104
+ * that count forward in time. Must be from 0 to 999,999,999
105
+ * inclusive.
106
+ */
107
+ nanos: number;
108
+ }
109
+ export declare const Timestamp: MessageFns<Timestamp>;
110
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
111
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
112
+ [K in keyof T]?: DeepPartial<T[K]>;
113
+ } : Partial<T>;
114
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
115
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
116
+ [K in keyof P]: Exact<P[K], I[K]>;
117
+ } & {
118
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
119
+ };
120
+ export interface MessageFns<T> {
121
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
122
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
123
+ fromJSON(object: any): T;
124
+ toJSON(message: T): unknown;
125
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
126
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
127
+ }
128
+ export {};
129
+ //# sourceMappingURL=timestamp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timestamp.d.ts","sourceRoot":"","sources":["../../../../src/gen/google/protobuf/timestamp.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErE,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,OAAO,EAAE,MAA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AC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
@@ -0,0 +1,117 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ import type { CallContext, CallOptions } from "nice-grpc-common";
3
+ export declare const protobufPackage = "zenu.users.v1";
4
+ export declare enum RoleScope {
5
+ ROLE_SCOPE_UNSPECIFIED = 0,
6
+ ROLE_SCOPE_GLOBAL = 1,
7
+ ROLE_SCOPE_ORGANIZATION = 2,
8
+ ROLE_SCOPE_LOCATION = 3,
9
+ UNRECOGNIZED = -1
10
+ }
11
+ export declare function roleScopeFromJSON(object: any): RoleScope;
12
+ export declare function roleScopeToJSON(object: RoleScope): string;
13
+ export declare enum Role {
14
+ ROLE_UNSPECIFIED = 0,
15
+ ROLE_ADMINISTRATOR = 1,
16
+ ROLE_DEVELOPER = 2,
17
+ ROLE_MANAGER = 3,
18
+ ROLE_NINJA = 4,
19
+ ROLE_INSTORE = 5,
20
+ ROLE_EMPLOYEE = 6,
21
+ UNRECOGNIZED = -1
22
+ }
23
+ export declare function roleFromJSON(object: any): Role;
24
+ export declare function roleToJSON(object: Role): string;
25
+ export interface SayHelloRequest {
26
+ name: string;
27
+ }
28
+ export interface SayHelloResponse {
29
+ message: string;
30
+ currentTime: Date | undefined;
31
+ }
32
+ export interface WhoAmIRequest {
33
+ }
34
+ export interface WhoAmIResponse {
35
+ user: User | undefined;
36
+ }
37
+ export interface User {
38
+ id: string;
39
+ email: string;
40
+ givenName: string;
41
+ familyName: string;
42
+ telephone: string;
43
+ image: string;
44
+ createdAt: Date | undefined;
45
+ updatedAt: Date | undefined;
46
+ roles: UserRole[];
47
+ }
48
+ export interface UserRole {
49
+ role: Role;
50
+ scope: RoleScope;
51
+ organizationId?: string | undefined;
52
+ locationId?: string | undefined;
53
+ }
54
+ export declare const SayHelloRequest: MessageFns<SayHelloRequest>;
55
+ export declare const SayHelloResponse: MessageFns<SayHelloResponse>;
56
+ export declare const WhoAmIRequest: MessageFns<WhoAmIRequest>;
57
+ export declare const WhoAmIResponse: MessageFns<WhoAmIResponse>;
58
+ export declare const User: MessageFns<User>;
59
+ export declare const UserRole: MessageFns<UserRole>;
60
+ /** Users service. */
61
+ export type UsersServiceDefinition = typeof UsersServiceDefinition;
62
+ export declare const UsersServiceDefinition: {
63
+ readonly name: "UsersService";
64
+ readonly fullName: "zenu.users.v1.UsersService";
65
+ readonly methods: {
66
+ /** Test RPC for initial setup */
67
+ readonly sayHello: {
68
+ readonly name: "SayHello";
69
+ readonly requestType: MessageFns<SayHelloRequest>;
70
+ readonly requestStream: false;
71
+ readonly responseType: MessageFns<SayHelloResponse>;
72
+ readonly responseStream: false;
73
+ readonly options: {};
74
+ };
75
+ /** Get current authenticated user information */
76
+ readonly whoAmI: {
77
+ readonly name: "WhoAmI";
78
+ readonly requestType: MessageFns<WhoAmIRequest>;
79
+ readonly requestStream: false;
80
+ readonly responseType: MessageFns<WhoAmIResponse>;
81
+ readonly responseStream: false;
82
+ readonly options: {};
83
+ };
84
+ };
85
+ };
86
+ export interface UsersServiceImplementation<CallContextExt = {}> {
87
+ /** Test RPC for initial setup */
88
+ sayHello(request: SayHelloRequest, context: CallContext & CallContextExt): Promise<DeepPartial<SayHelloResponse>>;
89
+ /** Get current authenticated user information */
90
+ whoAmI(request: WhoAmIRequest, context: CallContext & CallContextExt): Promise<DeepPartial<WhoAmIResponse>>;
91
+ }
92
+ export interface UsersServiceClient<CallOptionsExt = {}> {
93
+ /** Test RPC for initial setup */
94
+ sayHello(request: DeepPartial<SayHelloRequest>, options?: CallOptions & CallOptionsExt): Promise<SayHelloResponse>;
95
+ /** Get current authenticated user information */
96
+ whoAmI(request: DeepPartial<WhoAmIRequest>, options?: CallOptions & CallOptionsExt): Promise<WhoAmIResponse>;
97
+ }
98
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
99
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
100
+ [K in keyof T]?: DeepPartial<T[K]>;
101
+ } : Partial<T>;
102
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
103
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
104
+ [K in keyof P]: Exact<P[K], I[K]>;
105
+ } & {
106
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
107
+ };
108
+ export interface MessageFns<T> {
109
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
110
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
111
+ fromJSON(object: any): T;
112
+ toJSON(message: T): unknown;
113
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
114
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
115
+ }
116
+ export {};
117
+ //# sourceMappingURL=users_service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users_service.d.ts","sourceRoot":"","sources":["../../../../../src/gen/zenu/users/v1/users_service.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGjE,eAAO,MAAM,eAA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,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
@@ -0,0 +1,3 @@
1
+ export * from "./client.js";
2
+ export * from "./gen/zenu/users/v1/users_service.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,sCAAsC,CAAC"}