@spatialwalk/avatarkit 1.0.0-beta.1

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.
Files changed (99) hide show
  1. package/README.md +375 -0
  2. package/dist/StreamingAudioPlayer-C2TfYsO8.js +293 -0
  3. package/dist/StreamingAudioPlayer-C2TfYsO8.js.map +1 -0
  4. package/dist/animation/AnimationWebSocketClient.d.ts +50 -0
  5. package/dist/animation/AnimationWebSocketClient.d.ts.map +1 -0
  6. package/dist/animation/utils/eventEmitter.d.ts +13 -0
  7. package/dist/animation/utils/eventEmitter.d.ts.map +1 -0
  8. package/dist/animation/utils/flameConverter.d.ts +26 -0
  9. package/dist/animation/utils/flameConverter.d.ts.map +1 -0
  10. package/dist/audio/AnimationPlayer.d.ts +53 -0
  11. package/dist/audio/AnimationPlayer.d.ts.map +1 -0
  12. package/dist/audio/StreamingAudioPlayer.d.ts +113 -0
  13. package/dist/audio/StreamingAudioPlayer.d.ts.map +1 -0
  14. package/dist/avatar_core_wasm-DmkU6dYn.js +1666 -0
  15. package/dist/avatar_core_wasm-DmkU6dYn.js.map +1 -0
  16. package/dist/avatar_core_wasm.wasm +0 -0
  17. package/dist/config/app-config.d.ts +48 -0
  18. package/dist/config/app-config.d.ts.map +1 -0
  19. package/dist/config/constants.d.ts +13 -0
  20. package/dist/config/constants.d.ts.map +1 -0
  21. package/dist/config/region-config.d.ts +17 -0
  22. package/dist/config/region-config.d.ts.map +1 -0
  23. package/dist/config/sdk-config-loader.d.ts +12 -0
  24. package/dist/config/sdk-config-loader.d.ts.map +1 -0
  25. package/dist/core/Avatar.d.ts +23 -0
  26. package/dist/core/Avatar.d.ts.map +1 -0
  27. package/dist/core/AvatarController.d.ts +125 -0
  28. package/dist/core/AvatarController.d.ts.map +1 -0
  29. package/dist/core/AvatarDownloader.d.ts +100 -0
  30. package/dist/core/AvatarDownloader.d.ts.map +1 -0
  31. package/dist/core/AvatarKit.d.ts +60 -0
  32. package/dist/core/AvatarKit.d.ts.map +1 -0
  33. package/dist/core/AvatarManager.d.ts +26 -0
  34. package/dist/core/AvatarManager.d.ts.map +1 -0
  35. package/dist/core/AvatarView.d.ts +158 -0
  36. package/dist/core/AvatarView.d.ts.map +1 -0
  37. package/dist/generated/driveningress/v1/driveningress.d.ts +80 -0
  38. package/dist/generated/driveningress/v1/driveningress.d.ts.map +1 -0
  39. package/dist/generated/driveningress/v2/driveningress.d.ts +81 -0
  40. package/dist/generated/driveningress/v2/driveningress.d.ts.map +1 -0
  41. package/dist/generated/google/protobuf/any.d.ts +145 -0
  42. package/dist/generated/google/protobuf/any.d.ts.map +1 -0
  43. package/dist/generated/google/protobuf/struct.d.ts +108 -0
  44. package/dist/generated/google/protobuf/struct.d.ts.map +1 -0
  45. package/dist/generated/google/protobuf/timestamp.d.ts +129 -0
  46. package/dist/generated/google/protobuf/timestamp.d.ts.map +1 -0
  47. package/dist/generated/jsonapi/v1/base.d.ts +140 -0
  48. package/dist/generated/jsonapi/v1/base.d.ts.map +1 -0
  49. package/dist/generated/platform/v1/asset_groups.d.ts +225 -0
  50. package/dist/generated/platform/v1/asset_groups.d.ts.map +1 -0
  51. package/dist/generated/platform/v1/assets.d.ts +149 -0
  52. package/dist/generated/platform/v1/assets.d.ts.map +1 -0
  53. package/dist/generated/platform/v1/character.d.ts +395 -0
  54. package/dist/generated/platform/v1/character.d.ts.map +1 -0
  55. package/dist/generated/platform/v1/redeem.d.ts +22 -0
  56. package/dist/generated/platform/v1/redeem.d.ts.map +1 -0
  57. package/dist/index-DwhR9l52.js +9712 -0
  58. package/dist/index-DwhR9l52.js.map +1 -0
  59. package/dist/index.d.ts +12 -0
  60. package/dist/index.d.ts.map +1 -0
  61. package/dist/index.js +19 -0
  62. package/dist/index.js.map +1 -0
  63. package/dist/renderer/RenderSystem.d.ts +77 -0
  64. package/dist/renderer/RenderSystem.d.ts.map +1 -0
  65. package/dist/renderer/covariance.d.ts +13 -0
  66. package/dist/renderer/covariance.d.ts.map +1 -0
  67. package/dist/renderer/renderer.d.ts +8 -0
  68. package/dist/renderer/renderer.d.ts.map +1 -0
  69. package/dist/renderer/sortSplats.d.ts +12 -0
  70. package/dist/renderer/sortSplats.d.ts.map +1 -0
  71. package/dist/renderer/webgl/reorderData.d.ts +14 -0
  72. package/dist/renderer/webgl/reorderData.d.ts.map +1 -0
  73. package/dist/renderer/webgl/webglRenderer.d.ts +66 -0
  74. package/dist/renderer/webgl/webglRenderer.d.ts.map +1 -0
  75. package/dist/renderer/webgpu/webgpuRenderer.d.ts +54 -0
  76. package/dist/renderer/webgpu/webgpuRenderer.d.ts.map +1 -0
  77. package/dist/types/character-settings.d.ts +23 -0
  78. package/dist/types/character-settings.d.ts.map +1 -0
  79. package/dist/types/character.d.ts +39 -0
  80. package/dist/types/character.d.ts.map +1 -0
  81. package/dist/types/index.d.ts +68 -0
  82. package/dist/types/index.d.ts.map +1 -0
  83. package/dist/utils/animation-interpolation.d.ts +17 -0
  84. package/dist/utils/animation-interpolation.d.ts.map +1 -0
  85. package/dist/utils/error-utils.d.ts +27 -0
  86. package/dist/utils/error-utils.d.ts.map +1 -0
  87. package/dist/utils/logger.d.ts +35 -0
  88. package/dist/utils/logger.d.ts.map +1 -0
  89. package/dist/utils/posthog-tracker.d.ts +82 -0
  90. package/dist/utils/posthog-tracker.d.ts.map +1 -0
  91. package/dist/utils/reqId.d.ts +20 -0
  92. package/dist/utils/reqId.d.ts.map +1 -0
  93. package/dist/utils/toast.d.ts +74 -0
  94. package/dist/utils/toast.d.ts.map +1 -0
  95. package/dist/wasm/avatarCoreAdapter.d.ts +188 -0
  96. package/dist/wasm/avatarCoreAdapter.d.ts.map +1 -0
  97. package/dist/wasm/avatarCoreMemory.d.ts +141 -0
  98. package/dist/wasm/avatarCoreMemory.d.ts.map +1 -0
  99. package/package.json +62 -0
@@ -0,0 +1,145 @@
1
+ import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
2
+ export declare const protobufPackage = "google.protobuf";
3
+ /**
4
+ * `Any` contains an arbitrary serialized protocol buffer message along with a
5
+ * URL that describes the type of the serialized message.
6
+ *
7
+ * Protobuf library provides support to pack/unpack Any values in the form
8
+ * of utility functions or additional generated methods of the Any type.
9
+ *
10
+ * Example 1: Pack and unpack a message in C++.
11
+ *
12
+ * Foo foo = ...;
13
+ * Any any;
14
+ * any.PackFrom(foo);
15
+ * ...
16
+ * if (any.UnpackTo(&foo)) {
17
+ * ...
18
+ * }
19
+ *
20
+ * Example 2: Pack and unpack a message in Java.
21
+ *
22
+ * Foo foo = ...;
23
+ * Any any = Any.pack(foo);
24
+ * ...
25
+ * if (any.is(Foo.class)) {
26
+ * foo = any.unpack(Foo.class);
27
+ * }
28
+ * // or ...
29
+ * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
30
+ * foo = any.unpack(Foo.getDefaultInstance());
31
+ * }
32
+ *
33
+ * Example 3: Pack and unpack a message in Python.
34
+ *
35
+ * foo = Foo(...)
36
+ * any = Any()
37
+ * any.Pack(foo)
38
+ * ...
39
+ * if any.Is(Foo.DESCRIPTOR):
40
+ * any.Unpack(foo)
41
+ * ...
42
+ *
43
+ * Example 4: Pack and unpack a message in Go
44
+ *
45
+ * foo := &pb.Foo{...}
46
+ * any, err := anypb.New(foo)
47
+ * if err != nil {
48
+ * ...
49
+ * }
50
+ * ...
51
+ * foo := &pb.Foo{}
52
+ * if err := any.UnmarshalTo(foo); err != nil {
53
+ * ...
54
+ * }
55
+ *
56
+ * The pack methods provided by protobuf library will by default use
57
+ * 'type.googleapis.com/full.type.name' as the type URL and the unpack
58
+ * methods only use the fully qualified type name after the last '/'
59
+ * in the type URL, for example "foo.bar.com/x/y.z" will yield type
60
+ * name "y.z".
61
+ *
62
+ * JSON
63
+ * ====
64
+ * The JSON representation of an `Any` value uses the regular
65
+ * representation of the deserialized, embedded message, with an
66
+ * additional field `@type` which contains the type URL. Example:
67
+ *
68
+ * package google.profile;
69
+ * message Person {
70
+ * string first_name = 1;
71
+ * string last_name = 2;
72
+ * }
73
+ *
74
+ * {
75
+ * "@type": "type.googleapis.com/google.profile.Person",
76
+ * "firstName": <string>,
77
+ * "lastName": <string>
78
+ * }
79
+ *
80
+ * If the embedded message type is well-known and has a custom JSON
81
+ * representation, that representation will be embedded adding a field
82
+ * `value` which holds the custom JSON in addition to the `@type`
83
+ * field. Example (for message [google.protobuf.Duration][]):
84
+ *
85
+ * {
86
+ * "@type": "type.googleapis.com/google.protobuf.Duration",
87
+ * "value": "1.212s"
88
+ * }
89
+ */
90
+ export interface Any {
91
+ /**
92
+ * A URL/resource name that uniquely identifies the type of the serialized
93
+ * protocol buffer message. This string must contain at least
94
+ * one "/" character. The last segment of the URL's path must represent
95
+ * the fully qualified name of the type (as in
96
+ * `path/google.protobuf.Duration`). The name should be in a canonical form
97
+ * (e.g., leading "." is not accepted).
98
+ *
99
+ * In practice, teams usually precompile into the binary all types that they
100
+ * expect it to use in the context of Any. However, for URLs which use the
101
+ * scheme `http`, `https`, or no scheme, one can optionally set up a type
102
+ * server that maps type URLs to message definitions as follows:
103
+ *
104
+ * * If no scheme is provided, `https` is assumed.
105
+ * * An HTTP GET on the URL must yield a [google.protobuf.Type][]
106
+ * value in binary format, or produce an error.
107
+ * * Applications are allowed to cache lookup results based on the
108
+ * URL, or have them precompiled into a binary to avoid any
109
+ * lookup. Therefore, binary compatibility needs to be preserved
110
+ * on changes to types. (Use versioned type names to manage
111
+ * breaking changes.)
112
+ *
113
+ * Note: this functionality is not currently available in the official
114
+ * protobuf release, and it is not used for type URLs beginning with
115
+ * type.googleapis.com. As of May 2023, there are no widely used type server
116
+ * implementations and no plans to implement one.
117
+ *
118
+ * Schemes other than `http`, `https` (or the empty scheme) might be
119
+ * used with implementation specific semantics.
120
+ */
121
+ typeUrl: string;
122
+ /** Must be a valid serialized protocol buffer of the above specified type. */
123
+ value: Uint8Array;
124
+ }
125
+ export declare const Any: MessageFns<Any>;
126
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
127
+ 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 {} ? {
128
+ [K in keyof T]?: DeepPartial<T[K]>;
129
+ } : Partial<T>;
130
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
131
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
132
+ [K in keyof P]: Exact<P[K], I[K]>;
133
+ } & {
134
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
135
+ };
136
+ export interface MessageFns<T> {
137
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
138
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
139
+ fromJSON(object: any): T;
140
+ toJSON(message: T): unknown;
141
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
142
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
143
+ }
144
+ export {};
145
+ //# sourceMappingURL=any.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../../../generated/google/protobuf/any.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErE,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AACH,MAAM,WAAW,GAAG;IAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,KAAK,EAAE,UAAU,CAAC;CACnB;AAMD,eAAO,MAAM,GAAG,EAAE,UAAU,CAAC,GAAG,CAsE/B,CAAC;AAmBF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,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5B,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,108 @@
1
+ import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
2
+ export declare const protobufPackage = "google.protobuf";
3
+ /**
4
+ * `NullValue` is a singleton enumeration to represent the null value for the
5
+ * `Value` type union.
6
+ *
7
+ * The JSON representation for `NullValue` is JSON `null`.
8
+ */
9
+ export declare enum NullValue {
10
+ /** NULL_VALUE - Null value. */
11
+ NULL_VALUE = 0,
12
+ UNRECOGNIZED = -1
13
+ }
14
+ export declare function nullValueFromJSON(object: any): NullValue;
15
+ export declare function nullValueToJSON(object: NullValue): string;
16
+ /**
17
+ * `Struct` represents a structured data value, consisting of fields
18
+ * which map to dynamically typed values. In some languages, `Struct`
19
+ * might be supported by a native representation. For example, in
20
+ * scripting languages like JS a struct is represented as an
21
+ * object. The details of that representation are described together
22
+ * with the proto support for the language.
23
+ *
24
+ * The JSON representation for `Struct` is JSON object.
25
+ */
26
+ export interface Struct {
27
+ /** Unordered map of dynamically typed values. */
28
+ fields: {
29
+ [key: string]: any | undefined;
30
+ };
31
+ }
32
+ export interface Struct_FieldsEntry {
33
+ key: string;
34
+ value?: any | undefined;
35
+ }
36
+ /**
37
+ * `Value` represents a dynamically typed value which can be either
38
+ * null, a number, a string, a boolean, a recursive struct value, or a
39
+ * list of values. A producer of value is expected to set one of these
40
+ * variants. Absence of any variant indicates an error.
41
+ *
42
+ * The JSON representation for `Value` is JSON value.
43
+ */
44
+ export interface Value {
45
+ /** Represents a null value. */
46
+ nullValue?: NullValue | undefined;
47
+ /** Represents a double value. */
48
+ numberValue?: number | undefined;
49
+ /** Represents a string value. */
50
+ stringValue?: string | undefined;
51
+ /** Represents a boolean value. */
52
+ boolValue?: boolean | undefined;
53
+ /** Represents a structured value. */
54
+ structValue?: {
55
+ [key: string]: any;
56
+ } | undefined;
57
+ /** Represents a repeated `Value`. */
58
+ listValue?: Array<any> | undefined;
59
+ }
60
+ /**
61
+ * `ListValue` is a wrapper around a repeated field of values.
62
+ *
63
+ * The JSON representation for `ListValue` is JSON array.
64
+ */
65
+ export interface ListValue {
66
+ /** Repeated field of dynamically typed values. */
67
+ values: any[];
68
+ }
69
+ export declare const Struct: MessageFns<Struct> & StructWrapperFns;
70
+ export declare const Struct_FieldsEntry: MessageFns<Struct_FieldsEntry>;
71
+ export declare const Value: MessageFns<Value> & AnyValueWrapperFns;
72
+ export declare const ListValue: MessageFns<ListValue> & ListValueWrapperFns;
73
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
74
+ 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 {} ? {
75
+ [K in keyof T]?: DeepPartial<T[K]>;
76
+ } : Partial<T>;
77
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
78
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
79
+ [K in keyof P]: Exact<P[K], I[K]>;
80
+ } & {
81
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
82
+ };
83
+ export interface MessageFns<T> {
84
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
85
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
86
+ fromJSON(object: any): T;
87
+ toJSON(message: T): unknown;
88
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
89
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
90
+ }
91
+ export interface StructWrapperFns {
92
+ wrap(object: {
93
+ [key: string]: any;
94
+ } | undefined): Struct;
95
+ unwrap(message: Struct): {
96
+ [key: string]: any;
97
+ };
98
+ }
99
+ export interface AnyValueWrapperFns {
100
+ wrap(value: any): Value;
101
+ unwrap(message: any): string | number | boolean | Object | null | Array<any> | undefined;
102
+ }
103
+ export interface ListValueWrapperFns {
104
+ wrap(array: Array<any> | undefined): ListValue;
105
+ unwrap(message: ListValue): Array<any>;
106
+ }
107
+ export {};
108
+ //# sourceMappingURL=struct.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"struct.d.ts","sourceRoot":"","sources":["../../../../generated/google/protobuf/struct.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErE,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD;;;;;GAKG;AACH,oBAAY,SAAS;IACnB,+BAA+B;IAC/B,UAAU,IAAI;IACd,YAAY,KAAK;CAClB;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,GAAG,GAAG,SAAS,CAUxD;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAQzD;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,MAAM;IACrB,iDAAiD;IACjD,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,CAAA;KAAE,CAAC;CAC5C;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,KAAK;IACpB,+BAA+B;IAC/B,SAAS,CAAC,EACN,SAAS,GACT,SAAS,CAAC;IACd,iCAAiC;IACjC,WAAW,CAAC,EACR,MAAM,GACN,SAAS,CAAC;IACd,iCAAiC;IACjC,WAAW,CAAC,EACR,MAAM,GACN,SAAS,CAAC;IACd,kCAAkC;IAClC,SAAS,CAAC,EACN,OAAO,GACP,SAAS,CAAC;IACd,qCA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GAAG,GAAG,KAAK,CAAC;IACxB,MAAM,CAAC,OAAO,EAAE,GAAG,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;CAC1F;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,GAAG,SAAS,CAAC;IAC/C,MAAM,CAAC,OAAO,EAAE,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;CACxC"}
@@ -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: string;
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":["../../../../generated/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,MAAM,CAAC;IAChB;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAMD,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,SAAS,CAsE3C,CAAC;AAEF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAC9C,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SA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uf/wire';
2
+ import { Any } from '../../google/protobuf/any';
3
+ import { Timestamp } from '../../google/protobuf/timestamp';
4
+ export declare const protobufPackage = "jsonapi.v1";
5
+ /** Where specified, a links member can be used to represent links. */
6
+ export interface Links {
7
+ /** a string whose value is a URI-reference [RFC3986 Section 4.1] pointing to the link’s target. */
8
+ href: string;
9
+ /** a string indicating the link’s relation type. */
10
+ rel?: string | undefined;
11
+ /** a link to a description document (e.g. OpenAPI or JSON Schema) for the link target. */
12
+ describedby?: string | undefined;
13
+ /**
14
+ * a string which serves as a label for the destination of a link
15
+ * such that it can be used as a human-readable identifier (e.g., a menu entry).
16
+ */
17
+ title?: string | undefined;
18
+ /** a string indicating the media type of the link’s target. */
19
+ type?: string | undefined;
20
+ /**
21
+ * a string or an array of strings indicating the language(s) of the link’s target.
22
+ * An array of strings indicates that the link’s target is available in multiple languages.
23
+ */
24
+ hreflang?: string | undefined;
25
+ /** a meta object containing non-standard meta-information about the link. */
26
+ meta: {
27
+ [key: string]: Any;
28
+ };
29
+ }
30
+ export interface Links_MetaEntry {
31
+ key: string;
32
+ value?: Any | undefined;
33
+ }
34
+ export interface Response {
35
+ /** Data is the primary data for a response. */
36
+ data: Any[];
37
+ /** Errors is an array of error objects. */
38
+ errors: ErrorObject[];
39
+ }
40
+ export interface ErrorObjectSource {
41
+ /**
42
+ * a JSON Pointer [RFC6901] to the value in the request document that caused the error
43
+ * [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute].
44
+ */
45
+ pointer: string;
46
+ /** a string indicating which URI query parameter caused the error. */
47
+ parameter: string;
48
+ /** a string indicating the name of a single request header which caused the error. */
49
+ header: string;
50
+ }
51
+ export interface ErrorObject {
52
+ /** a unique identifier for this particular occurrence of the problem. */
53
+ id: string;
54
+ /** a links object containing references to the source of the error. */
55
+ links?: Links | undefined;
56
+ /** the HTTP status code applicable to this problem, expressed as a string value. */
57
+ status: number;
58
+ /** an application-specific error code, expressed as a string value. */
59
+ code: string;
60
+ /** a short, human-readable summary of the problem */
61
+ title: string;
62
+ /** a human-readable explanation specific to this occurrence of the problem. Like title. */
63
+ detail: string;
64
+ /** an object containing references to the source of the error. */
65
+ source?: ErrorObjectSource | undefined;
66
+ /** a meta object containing non-standard meta-information about the error. */
67
+ meta: {
68
+ [key: string]: Any;
69
+ };
70
+ }
71
+ export interface ErrorObject_MetaEntry {
72
+ key: string;
73
+ value?: Any | undefined;
74
+ }
75
+ export interface ErrorCaller {
76
+ file: string;
77
+ line: number;
78
+ function: string;
79
+ }
80
+ /** Common pagination request */
81
+ export interface PaginationRequest {
82
+ pageSize: number;
83
+ pageToken: string;
84
+ }
85
+ /** Common pagination response */
86
+ export interface PaginationResponse {
87
+ nextPageToken: string;
88
+ totalCount: number;
89
+ }
90
+ export interface TimeRange {
91
+ /** Start time (inclusive) */
92
+ start?: Timestamp | undefined;
93
+ /** End time (exclusive) */
94
+ end?: Timestamp | undefined;
95
+ }
96
+ export declare const Links: MessageFns<Links>;
97
+ export declare const Links_MetaEntry: MessageFns<Links_MetaEntry>;
98
+ export declare const Response: MessageFns<Response>;
99
+ export declare const ErrorObjectSource: MessageFns<ErrorObjectSource>;
100
+ export declare const ErrorObject: MessageFns<ErrorObject>;
101
+ export declare const ErrorObject_MetaEntry: MessageFns<ErrorObject_MetaEntry>;
102
+ export declare const ErrorCaller: MessageFns<ErrorCaller>;
103
+ export declare const PaginationRequest: MessageFns<PaginationRequest>;
104
+ export declare const PaginationResponse: MessageFns<PaginationResponse>;
105
+ export declare const TimeRange: MessageFns<TimeRange>;
106
+ export interface ErrorService {
107
+ Error(request: Response): Promise<Response>;
108
+ }
109
+ export declare const ErrorServiceServiceName = "jsonapi.v1.ErrorService";
110
+ export declare class ErrorServiceClientImpl implements ErrorService {
111
+ private readonly rpc;
112
+ private readonly service;
113
+ constructor(rpc: Rpc, opts?: {
114
+ service?: string;
115
+ });
116
+ Error(request: Response): Promise<Response>;
117
+ }
118
+ interface Rpc {
119
+ request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
120
+ }
121
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
122
+ 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 {} ? {
123
+ [K in keyof T]?: DeepPartial<T[K]>;
124
+ } : Partial<T>;
125
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
126
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
127
+ [K in keyof P]: Exact<P[K], I[K]>;
128
+ } & {
129
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
130
+ };
131
+ export interface MessageFns<T> {
132
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
133
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
134
+ fromJSON(object: any): T;
135
+ toJSON(message: T): unknown;
136
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
137
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
138
+ }
139
+ export {};
140
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../generated/jsonapi/v1/base.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAE5D,eAAO,MAAM,eAAe,eAAe,CAAC;AAE5C,sEAAsE;AACtE,MAAM,WAAW,KAAK;IACpB,mGAAmG;IACnG,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,GAAG,CAAC,EACA,MAAM,GACN,SAAS,CAAC;IACd,0FAA0F;IAC1F,WAAW,CAAC,EACR,MAAM,GACN,SAAS,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EACF,MAAM,GAC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