@togatherlabs/shared-protos 1.0.21 → 1.0.22

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,170 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file experienceservice/experience/v1/experience.proto.
5
+ */
6
+ export declare const file_experienceservice_experience_v1_experience: GenFile;
7
+ /**
8
+ * @generated from message experienceservice.experience.v1.GetExperienceRequest
9
+ */
10
+ export type GetExperienceRequest = Message<"experienceservice.experience.v1.GetExperienceRequest"> & {
11
+ /**
12
+ * @generated from field: string id = 1;
13
+ */
14
+ id: string;
15
+ };
16
+ /**
17
+ * Describes the message experienceservice.experience.v1.GetExperienceRequest.
18
+ * Use `create(GetExperienceRequestSchema)` to create a new message.
19
+ */
20
+ export declare const GetExperienceRequestSchema: GenMessage<GetExperienceRequest>;
21
+ /**
22
+ * @generated from message experienceservice.experience.v1.GetExperienceResponse
23
+ */
24
+ export type GetExperienceResponse = Message<"experienceservice.experience.v1.GetExperienceResponse"> & {
25
+ /**
26
+ * @generated from field: experienceservice.experience.v1.Experience experience = 1;
27
+ */
28
+ experience?: Experience;
29
+ };
30
+ /**
31
+ * Describes the message experienceservice.experience.v1.GetExperienceResponse.
32
+ * Use `create(GetExperienceResponseSchema)` to create a new message.
33
+ */
34
+ export declare const GetExperienceResponseSchema: GenMessage<GetExperienceResponse>;
35
+ /**
36
+ * @generated from message experienceservice.experience.v1.GetExperiencesRequest
37
+ */
38
+ export type GetExperiencesRequest = Message<"experienceservice.experience.v1.GetExperiencesRequest"> & {
39
+ /**
40
+ * @generated from field: string id = 1;
41
+ */
42
+ id: string;
43
+ };
44
+ /**
45
+ * Describes the message experienceservice.experience.v1.GetExperiencesRequest.
46
+ * Use `create(GetExperiencesRequestSchema)` to create a new message.
47
+ */
48
+ export declare const GetExperiencesRequestSchema: GenMessage<GetExperiencesRequest>;
49
+ /**
50
+ * @generated from message experienceservice.experience.v1.GetExperiencesResponse
51
+ */
52
+ export type GetExperiencesResponse = Message<"experienceservice.experience.v1.GetExperiencesResponse"> & {
53
+ /**
54
+ * @generated from field: experienceservice.experience.v1.Experience experience = 1;
55
+ */
56
+ experience?: Experience;
57
+ };
58
+ /**
59
+ * Describes the message experienceservice.experience.v1.GetExperiencesResponse.
60
+ * Use `create(GetExperiencesResponseSchema)` to create a new message.
61
+ */
62
+ export declare const GetExperiencesResponseSchema: GenMessage<GetExperiencesResponse>;
63
+ /**
64
+ * @generated from message experienceservice.experience.v1.Experience
65
+ */
66
+ export type Experience = Message<"experienceservice.experience.v1.Experience"> & {
67
+ /**
68
+ * @generated from field: string id = 1;
69
+ */
70
+ id: string;
71
+ /**
72
+ * @generated from field: string title = 2;
73
+ */
74
+ title: string;
75
+ /**
76
+ * @generated from field: string description = 3;
77
+ */
78
+ description: string;
79
+ /**
80
+ * @generated from field: int32 category_id = 4;
81
+ */
82
+ categoryId: number;
83
+ /**
84
+ * @generated from field: repeated string tags = 5;
85
+ */
86
+ tags: string[];
87
+ /**
88
+ * @generated from field: repeated string images = 6;
89
+ */
90
+ images: string[];
91
+ /**
92
+ * @generated from field: int32 amount = 7;
93
+ */
94
+ amount: number;
95
+ /**
96
+ * @generated from field: string currency = 8;
97
+ */
98
+ currency: string;
99
+ /**
100
+ * @generated from field: string start_at = 9;
101
+ */
102
+ startAt: string;
103
+ /**
104
+ * @generated from field: string end_at = 10;
105
+ */
106
+ endAt: string;
107
+ /**
108
+ * @generated from field: bool blocked = 11;
109
+ */
110
+ blocked: boolean;
111
+ /**
112
+ * @generated from field: string booking_expires_at = 12;
113
+ */
114
+ bookingExpiresAt: string;
115
+ /**
116
+ * @generated from field: string status = 13;
117
+ */
118
+ status: string;
119
+ /**
120
+ * @generated from field: string type = 14;
121
+ */
122
+ type: string;
123
+ /**
124
+ * @generated from field: string created_by = 15;
125
+ */
126
+ createdBy: string;
127
+ /**
128
+ * @generated from field: string location = 16;
129
+ */
130
+ location: string;
131
+ /**
132
+ * @generated from field: string address = 17;
133
+ */
134
+ address: string;
135
+ /**
136
+ * @generated from field: int32 total_tokens = 18;
137
+ */
138
+ totalTokens: number;
139
+ /**
140
+ * @generated from field: string created_at = 19;
141
+ */
142
+ createdAt: string;
143
+ };
144
+ /**
145
+ * Describes the message experienceservice.experience.v1.Experience.
146
+ * Use `create(ExperienceSchema)` to create a new message.
147
+ */
148
+ export declare const ExperienceSchema: GenMessage<Experience>;
149
+ /**
150
+ * @generated from service experienceservice.experience.v1.ExperienceService
151
+ */
152
+ export declare const ExperienceService: GenService<{
153
+ /**
154
+ * @generated from rpc experienceservice.experience.v1.ExperienceService.GetExperience
155
+ */
156
+ getExperience: {
157
+ methodKind: "unary";
158
+ input: typeof GetExperienceRequestSchema;
159
+ output: typeof GetExperienceResponseSchema;
160
+ };
161
+ /**
162
+ * @generated from rpc experienceservice.experience.v1.ExperienceService.GetExperiences
163
+ */
164
+ getExperiences: {
165
+ methodKind: "unary";
166
+ input: typeof GetExperiencesRequestSchema;
167
+ output: typeof GetExperiencesResponseSchema;
168
+ };
169
+ }>;
170
+ //# sourceMappingURL=experience_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"experience_pb.d.ts","sourceRoot":"","sources":["../../../../src/experienceservice/experience/v1/experience_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,OAC4uC,CAAC;AAE3yC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,sDAAsD,CAAC,GAAG;IACnG;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;;GAGG;AACH,eAAO,MAA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AAO,CAAC;IAEjB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,UAAU,CACa,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC;IACzC;;OAEG;IACH,aAAa,EAAE;QACb,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,0BAA0B,CAAC;QACzC,MAAM,EAAE,OAAO,2BAA2B,CAAC;KAC5C,CAAC;IACF;;OAEG;IACH,cAAc,EAAE;QACd,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,2BAA2B,CAAC;QAC1C,MAAM,EAAE,OAAO,4BAA4B,CAAC;KAC7C,CAAC;CACH,CACgE,CAAC"}
@@ -0,0 +1,38 @@
1
+ // @generated by protoc-gen-es v2.9.0 with parameter "target=ts"
2
+ // @generated from file experienceservice/experience/v1/experience.proto (package experienceservice.experience.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ /**
6
+ * Describes the file experienceservice/experience/v1/experience.proto.
7
+ */
8
+ export const file_experienceservice_experience_v1_experience = /*@__PURE__*/ fileDesc("CjBleHBlcmllbmNlc2VydmljZS9leHBlcmllbmNlL3YxL2V4cGVyaWVuY2UucHJvdG8SH2V4cGVyaWVuY2VzZXJ2aWNlLmV4cGVyaWVuY2Uud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llbmNlLnYxLkdldEV4cGVyaWVuY2VzUmVxdWVzdBo3LmV4cGVyaWVuY2VzZXJ2aWNlLmV4cGVyaWVuY2UudjEuR2V0RXhwZXJpZW5jZXNSZXNwb25zZWIGcHJvdG8z");
9
+ /**
10
+ * Describes the message experienceservice.experience.v1.GetExperienceRequest.
11
+ * Use `create(GetExperienceRequestSchema)` to create a new message.
12
+ */
13
+ export const GetExperienceRequestSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 0);
14
+ /**
15
+ * Describes the message experienceservice.experience.v1.GetExperienceResponse.
16
+ * Use `create(GetExperienceResponseSchema)` to create a new message.
17
+ */
18
+ export const GetExperienceResponseSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 1);
19
+ /**
20
+ * Describes the message experienceservice.experience.v1.GetExperiencesRequest.
21
+ * Use `create(GetExperiencesRequestSchema)` to create a new message.
22
+ */
23
+ export const GetExperiencesRequestSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 2);
24
+ /**
25
+ * Describes the message experienceservice.experience.v1.GetExperiencesResponse.
26
+ * Use `create(GetExperiencesResponseSchema)` to create a new message.
27
+ */
28
+ export const GetExperiencesResponseSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 3);
29
+ /**
30
+ * Describes the message experienceservice.experience.v1.Experience.
31
+ * Use `create(ExperienceSchema)` to create a new message.
32
+ */
33
+ export const ExperienceSchema = /*@__PURE__*/ messageDesc(file_experienceservice_experience_v1_experience, 4);
34
+ /**
35
+ * @generated from service experienceservice.experience.v1.ExperienceService
36
+ */
37
+ export const ExperienceService = /*@__PURE__*/ serviceDesc(file_experienceservice_experience_v1_experience, 0);
38
+ //# sourceMappingURL=experience_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"experience_pb.js","sourceRoot":"","sources":["../../../../src/experienceservice/experience/v1/experience_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iIAAiI;AACjI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGlF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAY,aAAa,CACnF,QAAQ,CAAC,8xCAA8xC,CAAC,CAAC;AAY3yC;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAYlE;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAYlE;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAYlE;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAsGlE;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAiBzB,aAAa,CAChB,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './experience_pb.js';
@@ -0,0 +1 @@
1
+ export * from './experience_pb.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togatherlabs/shared-protos",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Generated TypeScript gRPC definitions for Togather shared protos",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -21,6 +21,12 @@
21
21
  "require": "./dist/authservice/admin/v1/index.js",
22
22
  "default": "./dist/authservice/admin/v1/index.js"
23
23
  },
24
+ "./experienceservice/experience/v1": {
25
+ "types": "./dist/experienceservice/experience/v1/index.d.ts",
26
+ "import": "./dist/experienceservice/experience/v1/index.js",
27
+ "require": "./dist/experienceservice/experience/v1/index.js",
28
+ "default": "./dist/experienceservice/experience/v1/index.js"
29
+ },
24
30
  "./userservice/user/v1": {
25
31
  "types": "./dist/userservice/user/v1/index.d.ts",
26
32
  "import": "./dist/userservice/user/v1/index.js",