create-svc 0.1.10 → 0.1.12

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 (171) hide show
  1. package/README.md +51 -47
  2. package/index.ts +2 -2
  3. package/package.json +10 -9
  4. package/src/cli.test.ts +28 -10
  5. package/src/cli.ts +196 -33
  6. package/src/git-bootstrap.test.ts +40 -0
  7. package/src/git-bootstrap.ts +110 -0
  8. package/src/naming.test.ts +1 -0
  9. package/src/naming.ts +23 -0
  10. package/src/post-scaffold.test.ts +19 -0
  11. package/src/post-scaffold.ts +17 -4
  12. package/src/profiles.ts +2 -5
  13. package/src/scaffold.test.ts +232 -41
  14. package/src/scaffold.ts +81 -36
  15. package/src/service.test.ts +30 -0
  16. package/src/service.ts +65 -0
  17. package/src/vault.test.ts +61 -1
  18. package/src/vault.ts +77 -15
  19. package/templates/shared/.github/workflows/ci.yml +2 -1
  20. package/templates/shared/.github/workflows/deploy.yml +2 -0
  21. package/templates/shared/README.md +124 -47
  22. package/templates/shared/grafana/alerts.yaml +54 -0
  23. package/templates/shared/grafana/waitlist-dashboard.json +63 -0
  24. package/templates/shared/scripts/authctl.ts +231 -0
  25. package/templates/shared/scripts/cloudrun/bootstrap.ts +14 -5
  26. package/templates/shared/scripts/cloudrun/cleanup.ts +64 -4
  27. package/templates/shared/scripts/cloudrun/cli.ts +329 -7
  28. package/templates/shared/scripts/cloudrun/config.ts +11 -4
  29. package/templates/shared/scripts/cloudrun/deploy.ts +0 -4
  30. package/templates/shared/scripts/cloudrun/lib.ts +174 -41
  31. package/templates/shared/scripts/cloudrun/neon.ts +45 -0
  32. package/templates/shared/scripts/dev.ts +22 -0
  33. package/templates/shared/scripts/ensure-local-db.ts +3 -0
  34. package/templates/shared/scripts/local-docker.ts +63 -0
  35. package/templates/shared/scripts/local-env.ts +27 -0
  36. package/templates/shared/scripts/seed.ts +73 -0
  37. package/templates/shared/scripts/wait-for-db.ts +32 -0
  38. package/templates/shared/service.config.ts +59 -0
  39. package/templates/shared/service.yaml +24 -44
  40. package/templates/targets/workers/.github/workflows/ci.yml +19 -0
  41. package/templates/targets/workers/.github/workflows/deploy.yml +19 -0
  42. package/templates/targets/workers/Makefile +33 -0
  43. package/templates/targets/workers/README.md +75 -0
  44. package/templates/targets/workers/package.json +35 -0
  45. package/templates/targets/workers/scripts/workers/cli.ts +402 -0
  46. package/templates/targets/workers/src/auth.ts +178 -0
  47. package/templates/targets/workers/src/index.ts +198 -0
  48. package/templates/targets/workers/src/storage.ts +370 -0
  49. package/templates/targets/workers/test/app.test.ts +108 -0
  50. package/templates/targets/workers/tsconfig.json +11 -0
  51. package/templates/targets/workers/wrangler.toml +24 -0
  52. package/templates/variants/bun-connectrpc/Makefile +14 -8
  53. package/templates/variants/bun-connectrpc/gen/protos/waitlist/v1/waitlist_pb.ts +424 -0
  54. package/templates/variants/bun-connectrpc/migrations/0000_init.sql +12 -55
  55. package/templates/variants/bun-connectrpc/package.json +12 -5
  56. package/templates/variants/bun-connectrpc/protos/waitlist/v1/waitlist.proto +91 -0
  57. package/templates/variants/bun-connectrpc/scripts/codegen.ts +1 -1
  58. package/templates/variants/bun-connectrpc/scripts/migrate.ts +4 -1
  59. package/templates/variants/bun-connectrpc/src/auth.ts +200 -0
  60. package/templates/variants/bun-connectrpc/src/db/repository.ts +67 -420
  61. package/templates/variants/bun-connectrpc/src/db/schema.ts +15 -64
  62. package/templates/variants/bun-connectrpc/src/index.ts +76 -176
  63. package/templates/variants/bun-connectrpc/src/temporal/activities.ts +14 -0
  64. package/templates/variants/bun-connectrpc/src/temporal/worker.ts +38 -0
  65. package/templates/variants/bun-connectrpc/src/temporal/workflows.ts +10 -0
  66. package/templates/variants/bun-connectrpc/src/waitlist/service.ts +172 -0
  67. package/templates/variants/bun-connectrpc/src/waitlist/types.ts +45 -0
  68. package/templates/variants/bun-connectrpc/test/app.test.ts +4 -4
  69. package/templates/variants/bun-connectrpc/test/waitlist.integration.test.ts +71 -0
  70. package/templates/variants/bun-hono/Makefile +14 -8
  71. package/templates/variants/bun-hono/migrations/0000_init.sql +12 -55
  72. package/templates/variants/bun-hono/package.json +12 -5
  73. package/templates/variants/bun-hono/scripts/migrate.ts +4 -1
  74. package/templates/variants/bun-hono/src/auth.ts +181 -0
  75. package/templates/variants/bun-hono/src/db/repository.ts +68 -421
  76. package/templates/variants/bun-hono/src/db/schema.ts +15 -64
  77. package/templates/variants/bun-hono/src/index.ts +65 -180
  78. package/templates/variants/bun-hono/src/temporal/activities.ts +14 -0
  79. package/templates/variants/bun-hono/src/temporal/worker.ts +38 -0
  80. package/templates/variants/bun-hono/src/temporal/workflows.ts +10 -0
  81. package/templates/variants/bun-hono/src/waitlist/service.ts +166 -0
  82. package/templates/variants/bun-hono/src/waitlist/types.ts +50 -0
  83. package/templates/variants/bun-hono/test/app.test.ts +72 -41
  84. package/templates/variants/bun-hono/test/waitlist.integration.test.ts +102 -0
  85. package/templates/variants/go-chi/Makefile +27 -11
  86. package/templates/variants/go-chi/atlas.hcl +8 -0
  87. package/templates/variants/go-chi/cmd/server/main.go +21 -10
  88. package/templates/variants/go-chi/go.mod +1 -3
  89. package/templates/variants/go-chi/internal/app/service.go +202 -685
  90. package/templates/variants/go-chi/internal/auth/middleware.go +289 -0
  91. package/templates/variants/go-chi/internal/auth/middleware_test.go +38 -0
  92. package/templates/variants/go-chi/internal/config/config.go +27 -11
  93. package/templates/variants/go-chi/internal/httpapi/routes.go +78 -157
  94. package/templates/variants/go-chi/internal/httpapi/waitlist_integration_test.go +199 -0
  95. package/templates/variants/go-chi/internal/temporal/activities.go +27 -0
  96. package/templates/variants/go-chi/internal/temporal/worker.go +42 -0
  97. package/templates/variants/go-chi/internal/temporal/workflows.go +18 -0
  98. package/templates/variants/go-chi/migrations/0000_init.sql +12 -55
  99. package/templates/variants/go-chi/migrations/atlas.sum +2 -0
  100. package/templates/variants/go-chi/package.json +7 -1
  101. package/templates/variants/go-connectrpc/Makefile +26 -9
  102. package/templates/variants/go-connectrpc/atlas.hcl +8 -0
  103. package/templates/variants/go-connectrpc/buf.gen.yaml +2 -2
  104. package/templates/variants/go-connectrpc/cmd/server/main.go +23 -12
  105. package/templates/variants/go-connectrpc/gen/waitlist/v1/waitlist.pb.go +960 -0
  106. package/templates/variants/go-connectrpc/gen/waitlist/v1/waitlistv1connect/waitlist.connect.go +283 -0
  107. package/templates/variants/go-connectrpc/go.mod +1 -1
  108. package/templates/variants/go-connectrpc/internal/app/service.go +202 -685
  109. package/templates/variants/go-connectrpc/internal/auth/middleware.go +289 -0
  110. package/templates/variants/go-connectrpc/internal/auth/middleware_test.go +38 -0
  111. package/templates/variants/go-connectrpc/internal/config/config.go +27 -11
  112. package/templates/variants/go-connectrpc/internal/connectapi/handler.go +78 -201
  113. package/templates/variants/go-connectrpc/internal/connectapi/waitlist_integration_test.go +122 -0
  114. package/templates/variants/go-connectrpc/internal/httpapi/routes.go +147 -9
  115. package/templates/variants/go-connectrpc/internal/temporal/activities.go +27 -0
  116. package/templates/variants/go-connectrpc/internal/temporal/worker.go +42 -0
  117. package/templates/variants/go-connectrpc/internal/temporal/workflows.go +18 -0
  118. package/templates/variants/go-connectrpc/migrations/0000_init.sql +12 -55
  119. package/templates/variants/go-connectrpc/migrations/atlas.sum +2 -0
  120. package/templates/variants/go-connectrpc/package.json +7 -1
  121. package/templates/variants/go-connectrpc/protos/waitlist/v1/waitlist.proto +93 -0
  122. package/templates/root/.github/workflows/buf-publish.yml +0 -19
  123. package/templates/root/.github/workflows/ci.yml +0 -26
  124. package/templates/root/.github/workflows/deploy.yml +0 -22
  125. package/templates/root/Dockerfile +0 -23
  126. package/templates/root/README.md +0 -69
  127. package/templates/root/buf.gen.yaml +0 -10
  128. package/templates/root/buf.yaml +0 -9
  129. package/templates/root/cmd/server/main.go +0 -44
  130. package/templates/root/gen/dns/v1/dns.pb.go +0 -623
  131. package/templates/root/gen/dns/v1/dnsv1connect/dns.connect.go +0 -192
  132. package/templates/root/go.mod +0 -10
  133. package/templates/root/internal/app/service.go +0 -152
  134. package/templates/root/internal/app/token_source.go +0 -50
  135. package/templates/root/internal/cloudflare/client.go +0 -160
  136. package/templates/root/internal/config/config.go +0 -55
  137. package/templates/root/internal/connectapi/handler.go +0 -79
  138. package/templates/root/internal/httpapi/routes.go +0 -93
  139. package/templates/root/internal/vault/client.go +0 -148
  140. package/templates/root/package.json +0 -12
  141. package/templates/root/protos/dns/v1/dns.proto +0 -58
  142. package/templates/root/scripts/cloudrun/bootstrap.ts +0 -65
  143. package/templates/root/scripts/cloudrun/config.ts +0 -50
  144. package/templates/root/scripts/cloudrun/deploy.ts +0 -41
  145. package/templates/root/scripts/cloudrun/lib.ts +0 -244
  146. package/templates/root/service.yaml +0 -50
  147. package/templates/root/test/go.test.ts +0 -19
  148. package/templates/shared/scripts/cloudrun/integrations.ts +0 -111
  149. package/templates/variants/bun-connectrpc/gen/protos/chat/v1/chat_pb.ts +0 -1078
  150. package/templates/variants/bun-connectrpc/protos/chat/v1/chat.proto +0 -228
  151. package/templates/variants/bun-connectrpc/src/chat/service.ts +0 -384
  152. package/templates/variants/bun-connectrpc/src/chat/types.ts +0 -142
  153. package/templates/variants/bun-connectrpc/src/storage.ts +0 -72
  154. package/templates/variants/bun-connectrpc/src/webhooks.ts +0 -35
  155. package/templates/variants/bun-connectrpc/test/list-messages.integration.test.ts +0 -182
  156. package/templates/variants/bun-hono/src/chat/service.ts +0 -384
  157. package/templates/variants/bun-hono/src/chat/types.ts +0 -142
  158. package/templates/variants/bun-hono/src/storage.ts +0 -72
  159. package/templates/variants/bun-hono/src/webhooks.ts +0 -35
  160. package/templates/variants/bun-hono/test/list-messages.integration.test.ts +0 -256
  161. package/templates/variants/go-chi/buf.gen.yaml +0 -12
  162. package/templates/variants/go-chi/buf.yaml +0 -9
  163. package/templates/variants/go-chi/cmd/migrate/main.go +0 -101
  164. package/templates/variants/go-chi/internal/httpapi/list_messages_integration_test.go +0 -298
  165. package/templates/variants/go-chi/protos/chat/v1/chat.proto +0 -219
  166. package/templates/variants/go-connectrpc/cmd/migrate/main.go +0 -101
  167. package/templates/variants/go-connectrpc/gen/chat/v1/chat.pb.go +0 -2512
  168. package/templates/variants/go-connectrpc/gen/chat/v1/chatv1connect/chat.connect.go +0 -571
  169. package/templates/variants/go-connectrpc/internal/connectapi/list_messages_integration_test.go +0 -216
  170. package/templates/variants/go-connectrpc/protos/chat/v1/chat.proto +0 -232
  171. /package/bin/{create-svc.mjs → service.mjs} +0 -0
@@ -0,0 +1,960 @@
1
+ // Code generated by protoc-gen-go. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-go v1.36.10
4
+ // protoc (unknown)
5
+ // source: waitlist/v1/waitlist.proto
6
+
7
+ package waitlistv1
8
+
9
+ import (
10
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
+ reflect "reflect"
13
+ sync "sync"
14
+ unsafe "unsafe"
15
+ )
16
+
17
+ const (
18
+ // Verify that this generated code is sufficiently up-to-date.
19
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
21
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
+ )
23
+
24
+ type WaitlistEntry struct {
25
+ state protoimpl.MessageState `protogen:"open.v1"`
26
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
27
+ Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
28
+ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
29
+ Company string `protobuf:"bytes,4,opt,name=company,proto3" json:"company,omitempty"`
30
+ Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
31
+ Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
32
+ CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
33
+ UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
34
+ unknownFields protoimpl.UnknownFields
35
+ sizeCache protoimpl.SizeCache
36
+ }
37
+
38
+ func (x *WaitlistEntry) Reset() {
39
+ *x = WaitlistEntry{}
40
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[0]
41
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42
+ ms.StoreMessageInfo(mi)
43
+ }
44
+
45
+ func (x *WaitlistEntry) String() string {
46
+ return protoimpl.X.MessageStringOf(x)
47
+ }
48
+
49
+ func (*WaitlistEntry) ProtoMessage() {}
50
+
51
+ func (x *WaitlistEntry) ProtoReflect() protoreflect.Message {
52
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[0]
53
+ if x != nil {
54
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55
+ if ms.LoadMessageInfo() == nil {
56
+ ms.StoreMessageInfo(mi)
57
+ }
58
+ return ms
59
+ }
60
+ return mi.MessageOf(x)
61
+ }
62
+
63
+ // Deprecated: Use WaitlistEntry.ProtoReflect.Descriptor instead.
64
+ func (*WaitlistEntry) Descriptor() ([]byte, []int) {
65
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{0}
66
+ }
67
+
68
+ func (x *WaitlistEntry) GetId() string {
69
+ if x != nil {
70
+ return x.Id
71
+ }
72
+ return ""
73
+ }
74
+
75
+ func (x *WaitlistEntry) GetEmail() string {
76
+ if x != nil {
77
+ return x.Email
78
+ }
79
+ return ""
80
+ }
81
+
82
+ func (x *WaitlistEntry) GetName() string {
83
+ if x != nil {
84
+ return x.Name
85
+ }
86
+ return ""
87
+ }
88
+
89
+ func (x *WaitlistEntry) GetCompany() string {
90
+ if x != nil {
91
+ return x.Company
92
+ }
93
+ return ""
94
+ }
95
+
96
+ func (x *WaitlistEntry) GetSource() string {
97
+ if x != nil {
98
+ return x.Source
99
+ }
100
+ return ""
101
+ }
102
+
103
+ func (x *WaitlistEntry) GetStatus() string {
104
+ if x != nil {
105
+ return x.Status
106
+ }
107
+ return ""
108
+ }
109
+
110
+ func (x *WaitlistEntry) GetCreatedAt() string {
111
+ if x != nil {
112
+ return x.CreatedAt
113
+ }
114
+ return ""
115
+ }
116
+
117
+ func (x *WaitlistEntry) GetUpdatedAt() string {
118
+ if x != nil {
119
+ return x.UpdatedAt
120
+ }
121
+ return ""
122
+ }
123
+
124
+ type WaitlistTrigger struct {
125
+ state protoimpl.MessageState `protogen:"open.v1"`
126
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
127
+ Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
128
+ EntryId string `protobuf:"bytes,3,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
129
+ Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
130
+ PayloadJson string `protobuf:"bytes,5,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"`
131
+ CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
132
+ ProcessedAt string `protobuf:"bytes,7,opt,name=processed_at,json=processedAt,proto3" json:"processed_at,omitempty"`
133
+ unknownFields protoimpl.UnknownFields
134
+ sizeCache protoimpl.SizeCache
135
+ }
136
+
137
+ func (x *WaitlistTrigger) Reset() {
138
+ *x = WaitlistTrigger{}
139
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[1]
140
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
141
+ ms.StoreMessageInfo(mi)
142
+ }
143
+
144
+ func (x *WaitlistTrigger) String() string {
145
+ return protoimpl.X.MessageStringOf(x)
146
+ }
147
+
148
+ func (*WaitlistTrigger) ProtoMessage() {}
149
+
150
+ func (x *WaitlistTrigger) ProtoReflect() protoreflect.Message {
151
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[1]
152
+ if x != nil {
153
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
154
+ if ms.LoadMessageInfo() == nil {
155
+ ms.StoreMessageInfo(mi)
156
+ }
157
+ return ms
158
+ }
159
+ return mi.MessageOf(x)
160
+ }
161
+
162
+ // Deprecated: Use WaitlistTrigger.ProtoReflect.Descriptor instead.
163
+ func (*WaitlistTrigger) Descriptor() ([]byte, []int) {
164
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{1}
165
+ }
166
+
167
+ func (x *WaitlistTrigger) GetId() string {
168
+ if x != nil {
169
+ return x.Id
170
+ }
171
+ return ""
172
+ }
173
+
174
+ func (x *WaitlistTrigger) GetType() string {
175
+ if x != nil {
176
+ return x.Type
177
+ }
178
+ return ""
179
+ }
180
+
181
+ func (x *WaitlistTrigger) GetEntryId() string {
182
+ if x != nil {
183
+ return x.EntryId
184
+ }
185
+ return ""
186
+ }
187
+
188
+ func (x *WaitlistTrigger) GetStatus() string {
189
+ if x != nil {
190
+ return x.Status
191
+ }
192
+ return ""
193
+ }
194
+
195
+ func (x *WaitlistTrigger) GetPayloadJson() string {
196
+ if x != nil {
197
+ return x.PayloadJson
198
+ }
199
+ return ""
200
+ }
201
+
202
+ func (x *WaitlistTrigger) GetCreatedAt() string {
203
+ if x != nil {
204
+ return x.CreatedAt
205
+ }
206
+ return ""
207
+ }
208
+
209
+ func (x *WaitlistTrigger) GetProcessedAt() string {
210
+ if x != nil {
211
+ return x.ProcessedAt
212
+ }
213
+ return ""
214
+ }
215
+
216
+ type JoinWaitlistRequest struct {
217
+ state protoimpl.MessageState `protogen:"open.v1"`
218
+ Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
219
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
220
+ Company string `protobuf:"bytes,3,opt,name=company,proto3" json:"company,omitempty"`
221
+ Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
222
+ unknownFields protoimpl.UnknownFields
223
+ sizeCache protoimpl.SizeCache
224
+ }
225
+
226
+ func (x *JoinWaitlistRequest) Reset() {
227
+ *x = JoinWaitlistRequest{}
228
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[2]
229
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
230
+ ms.StoreMessageInfo(mi)
231
+ }
232
+
233
+ func (x *JoinWaitlistRequest) String() string {
234
+ return protoimpl.X.MessageStringOf(x)
235
+ }
236
+
237
+ func (*JoinWaitlistRequest) ProtoMessage() {}
238
+
239
+ func (x *JoinWaitlistRequest) ProtoReflect() protoreflect.Message {
240
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[2]
241
+ if x != nil {
242
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
243
+ if ms.LoadMessageInfo() == nil {
244
+ ms.StoreMessageInfo(mi)
245
+ }
246
+ return ms
247
+ }
248
+ return mi.MessageOf(x)
249
+ }
250
+
251
+ // Deprecated: Use JoinWaitlistRequest.ProtoReflect.Descriptor instead.
252
+ func (*JoinWaitlistRequest) Descriptor() ([]byte, []int) {
253
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{2}
254
+ }
255
+
256
+ func (x *JoinWaitlistRequest) GetEmail() string {
257
+ if x != nil {
258
+ return x.Email
259
+ }
260
+ return ""
261
+ }
262
+
263
+ func (x *JoinWaitlistRequest) GetName() string {
264
+ if x != nil {
265
+ return x.Name
266
+ }
267
+ return ""
268
+ }
269
+
270
+ func (x *JoinWaitlistRequest) GetCompany() string {
271
+ if x != nil {
272
+ return x.Company
273
+ }
274
+ return ""
275
+ }
276
+
277
+ func (x *JoinWaitlistRequest) GetSource() string {
278
+ if x != nil {
279
+ return x.Source
280
+ }
281
+ return ""
282
+ }
283
+
284
+ type JoinWaitlistResponse struct {
285
+ state protoimpl.MessageState `protogen:"open.v1"`
286
+ Entry *WaitlistEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
287
+ Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
288
+ unknownFields protoimpl.UnknownFields
289
+ sizeCache protoimpl.SizeCache
290
+ }
291
+
292
+ func (x *JoinWaitlistResponse) Reset() {
293
+ *x = JoinWaitlistResponse{}
294
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[3]
295
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296
+ ms.StoreMessageInfo(mi)
297
+ }
298
+
299
+ func (x *JoinWaitlistResponse) String() string {
300
+ return protoimpl.X.MessageStringOf(x)
301
+ }
302
+
303
+ func (*JoinWaitlistResponse) ProtoMessage() {}
304
+
305
+ func (x *JoinWaitlistResponse) ProtoReflect() protoreflect.Message {
306
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[3]
307
+ if x != nil {
308
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309
+ if ms.LoadMessageInfo() == nil {
310
+ ms.StoreMessageInfo(mi)
311
+ }
312
+ return ms
313
+ }
314
+ return mi.MessageOf(x)
315
+ }
316
+
317
+ // Deprecated: Use JoinWaitlistResponse.ProtoReflect.Descriptor instead.
318
+ func (*JoinWaitlistResponse) Descriptor() ([]byte, []int) {
319
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{3}
320
+ }
321
+
322
+ func (x *JoinWaitlistResponse) GetEntry() *WaitlistEntry {
323
+ if x != nil {
324
+ return x.Entry
325
+ }
326
+ return nil
327
+ }
328
+
329
+ func (x *JoinWaitlistResponse) GetCreated() bool {
330
+ if x != nil {
331
+ return x.Created
332
+ }
333
+ return false
334
+ }
335
+
336
+ type GetWaitlistEntryRequest struct {
337
+ state protoimpl.MessageState `protogen:"open.v1"`
338
+ EntryId string `protobuf:"bytes,1,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
339
+ unknownFields protoimpl.UnknownFields
340
+ sizeCache protoimpl.SizeCache
341
+ }
342
+
343
+ func (x *GetWaitlistEntryRequest) Reset() {
344
+ *x = GetWaitlistEntryRequest{}
345
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[4]
346
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
347
+ ms.StoreMessageInfo(mi)
348
+ }
349
+
350
+ func (x *GetWaitlistEntryRequest) String() string {
351
+ return protoimpl.X.MessageStringOf(x)
352
+ }
353
+
354
+ func (*GetWaitlistEntryRequest) ProtoMessage() {}
355
+
356
+ func (x *GetWaitlistEntryRequest) ProtoReflect() protoreflect.Message {
357
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[4]
358
+ if x != nil {
359
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360
+ if ms.LoadMessageInfo() == nil {
361
+ ms.StoreMessageInfo(mi)
362
+ }
363
+ return ms
364
+ }
365
+ return mi.MessageOf(x)
366
+ }
367
+
368
+ // Deprecated: Use GetWaitlistEntryRequest.ProtoReflect.Descriptor instead.
369
+ func (*GetWaitlistEntryRequest) Descriptor() ([]byte, []int) {
370
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{4}
371
+ }
372
+
373
+ func (x *GetWaitlistEntryRequest) GetEntryId() string {
374
+ if x != nil {
375
+ return x.EntryId
376
+ }
377
+ return ""
378
+ }
379
+
380
+ type GetWaitlistEntryByEmailRequest struct {
381
+ state protoimpl.MessageState `protogen:"open.v1"`
382
+ Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
383
+ unknownFields protoimpl.UnknownFields
384
+ sizeCache protoimpl.SizeCache
385
+ }
386
+
387
+ func (x *GetWaitlistEntryByEmailRequest) Reset() {
388
+ *x = GetWaitlistEntryByEmailRequest{}
389
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[5]
390
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
391
+ ms.StoreMessageInfo(mi)
392
+ }
393
+
394
+ func (x *GetWaitlistEntryByEmailRequest) String() string {
395
+ return protoimpl.X.MessageStringOf(x)
396
+ }
397
+
398
+ func (*GetWaitlistEntryByEmailRequest) ProtoMessage() {}
399
+
400
+ func (x *GetWaitlistEntryByEmailRequest) ProtoReflect() protoreflect.Message {
401
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[5]
402
+ if x != nil {
403
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
404
+ if ms.LoadMessageInfo() == nil {
405
+ ms.StoreMessageInfo(mi)
406
+ }
407
+ return ms
408
+ }
409
+ return mi.MessageOf(x)
410
+ }
411
+
412
+ // Deprecated: Use GetWaitlistEntryByEmailRequest.ProtoReflect.Descriptor instead.
413
+ func (*GetWaitlistEntryByEmailRequest) Descriptor() ([]byte, []int) {
414
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{5}
415
+ }
416
+
417
+ func (x *GetWaitlistEntryByEmailRequest) GetEmail() string {
418
+ if x != nil {
419
+ return x.Email
420
+ }
421
+ return ""
422
+ }
423
+
424
+ type GetWaitlistEntryResponse struct {
425
+ state protoimpl.MessageState `protogen:"open.v1"`
426
+ Entry *WaitlistEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
427
+ unknownFields protoimpl.UnknownFields
428
+ sizeCache protoimpl.SizeCache
429
+ }
430
+
431
+ func (x *GetWaitlistEntryResponse) Reset() {
432
+ *x = GetWaitlistEntryResponse{}
433
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[6]
434
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
435
+ ms.StoreMessageInfo(mi)
436
+ }
437
+
438
+ func (x *GetWaitlistEntryResponse) String() string {
439
+ return protoimpl.X.MessageStringOf(x)
440
+ }
441
+
442
+ func (*GetWaitlistEntryResponse) ProtoMessage() {}
443
+
444
+ func (x *GetWaitlistEntryResponse) ProtoReflect() protoreflect.Message {
445
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[6]
446
+ if x != nil {
447
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
448
+ if ms.LoadMessageInfo() == nil {
449
+ ms.StoreMessageInfo(mi)
450
+ }
451
+ return ms
452
+ }
453
+ return mi.MessageOf(x)
454
+ }
455
+
456
+ // Deprecated: Use GetWaitlistEntryResponse.ProtoReflect.Descriptor instead.
457
+ func (*GetWaitlistEntryResponse) Descriptor() ([]byte, []int) {
458
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{6}
459
+ }
460
+
461
+ func (x *GetWaitlistEntryResponse) GetEntry() *WaitlistEntry {
462
+ if x != nil {
463
+ return x.Entry
464
+ }
465
+ return nil
466
+ }
467
+
468
+ type ListWaitlistEntriesRequest struct {
469
+ state protoimpl.MessageState `protogen:"open.v1"`
470
+ Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
471
+ Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
472
+ unknownFields protoimpl.UnknownFields
473
+ sizeCache protoimpl.SizeCache
474
+ }
475
+
476
+ func (x *ListWaitlistEntriesRequest) Reset() {
477
+ *x = ListWaitlistEntriesRequest{}
478
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[7]
479
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480
+ ms.StoreMessageInfo(mi)
481
+ }
482
+
483
+ func (x *ListWaitlistEntriesRequest) String() string {
484
+ return protoimpl.X.MessageStringOf(x)
485
+ }
486
+
487
+ func (*ListWaitlistEntriesRequest) ProtoMessage() {}
488
+
489
+ func (x *ListWaitlistEntriesRequest) ProtoReflect() protoreflect.Message {
490
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[7]
491
+ if x != nil {
492
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
493
+ if ms.LoadMessageInfo() == nil {
494
+ ms.StoreMessageInfo(mi)
495
+ }
496
+ return ms
497
+ }
498
+ return mi.MessageOf(x)
499
+ }
500
+
501
+ // Deprecated: Use ListWaitlistEntriesRequest.ProtoReflect.Descriptor instead.
502
+ func (*ListWaitlistEntriesRequest) Descriptor() ([]byte, []int) {
503
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{7}
504
+ }
505
+
506
+ func (x *ListWaitlistEntriesRequest) GetStatus() string {
507
+ if x != nil {
508
+ return x.Status
509
+ }
510
+ return ""
511
+ }
512
+
513
+ func (x *ListWaitlistEntriesRequest) GetLimit() uint32 {
514
+ if x != nil {
515
+ return x.Limit
516
+ }
517
+ return 0
518
+ }
519
+
520
+ type ListWaitlistEntriesResponse struct {
521
+ state protoimpl.MessageState `protogen:"open.v1"`
522
+ Entries []*WaitlistEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
523
+ unknownFields protoimpl.UnknownFields
524
+ sizeCache protoimpl.SizeCache
525
+ }
526
+
527
+ func (x *ListWaitlistEntriesResponse) Reset() {
528
+ *x = ListWaitlistEntriesResponse{}
529
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[8]
530
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531
+ ms.StoreMessageInfo(mi)
532
+ }
533
+
534
+ func (x *ListWaitlistEntriesResponse) String() string {
535
+ return protoimpl.X.MessageStringOf(x)
536
+ }
537
+
538
+ func (*ListWaitlistEntriesResponse) ProtoMessage() {}
539
+
540
+ func (x *ListWaitlistEntriesResponse) ProtoReflect() protoreflect.Message {
541
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[8]
542
+ if x != nil {
543
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
544
+ if ms.LoadMessageInfo() == nil {
545
+ ms.StoreMessageInfo(mi)
546
+ }
547
+ return ms
548
+ }
549
+ return mi.MessageOf(x)
550
+ }
551
+
552
+ // Deprecated: Use ListWaitlistEntriesResponse.ProtoReflect.Descriptor instead.
553
+ func (*ListWaitlistEntriesResponse) Descriptor() ([]byte, []int) {
554
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{8}
555
+ }
556
+
557
+ func (x *ListWaitlistEntriesResponse) GetEntries() []*WaitlistEntry {
558
+ if x != nil {
559
+ return x.Entries
560
+ }
561
+ return nil
562
+ }
563
+
564
+ type UpdateWaitlistEntryRequest struct {
565
+ state protoimpl.MessageState `protogen:"open.v1"`
566
+ EntryId string `protobuf:"bytes,1,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
567
+ Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
568
+ unknownFields protoimpl.UnknownFields
569
+ sizeCache protoimpl.SizeCache
570
+ }
571
+
572
+ func (x *UpdateWaitlistEntryRequest) Reset() {
573
+ *x = UpdateWaitlistEntryRequest{}
574
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[9]
575
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
576
+ ms.StoreMessageInfo(mi)
577
+ }
578
+
579
+ func (x *UpdateWaitlistEntryRequest) String() string {
580
+ return protoimpl.X.MessageStringOf(x)
581
+ }
582
+
583
+ func (*UpdateWaitlistEntryRequest) ProtoMessage() {}
584
+
585
+ func (x *UpdateWaitlistEntryRequest) ProtoReflect() protoreflect.Message {
586
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[9]
587
+ if x != nil {
588
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
589
+ if ms.LoadMessageInfo() == nil {
590
+ ms.StoreMessageInfo(mi)
591
+ }
592
+ return ms
593
+ }
594
+ return mi.MessageOf(x)
595
+ }
596
+
597
+ // Deprecated: Use UpdateWaitlistEntryRequest.ProtoReflect.Descriptor instead.
598
+ func (*UpdateWaitlistEntryRequest) Descriptor() ([]byte, []int) {
599
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{9}
600
+ }
601
+
602
+ func (x *UpdateWaitlistEntryRequest) GetEntryId() string {
603
+ if x != nil {
604
+ return x.EntryId
605
+ }
606
+ return ""
607
+ }
608
+
609
+ func (x *UpdateWaitlistEntryRequest) GetStatus() string {
610
+ if x != nil {
611
+ return x.Status
612
+ }
613
+ return ""
614
+ }
615
+
616
+ type ExportWaitlistEntriesRequest struct {
617
+ state protoimpl.MessageState `protogen:"open.v1"`
618
+ Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
619
+ Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
620
+ unknownFields protoimpl.UnknownFields
621
+ sizeCache protoimpl.SizeCache
622
+ }
623
+
624
+ func (x *ExportWaitlistEntriesRequest) Reset() {
625
+ *x = ExportWaitlistEntriesRequest{}
626
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[10]
627
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
628
+ ms.StoreMessageInfo(mi)
629
+ }
630
+
631
+ func (x *ExportWaitlistEntriesRequest) String() string {
632
+ return protoimpl.X.MessageStringOf(x)
633
+ }
634
+
635
+ func (*ExportWaitlistEntriesRequest) ProtoMessage() {}
636
+
637
+ func (x *ExportWaitlistEntriesRequest) ProtoReflect() protoreflect.Message {
638
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[10]
639
+ if x != nil {
640
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
641
+ if ms.LoadMessageInfo() == nil {
642
+ ms.StoreMessageInfo(mi)
643
+ }
644
+ return ms
645
+ }
646
+ return mi.MessageOf(x)
647
+ }
648
+
649
+ // Deprecated: Use ExportWaitlistEntriesRequest.ProtoReflect.Descriptor instead.
650
+ func (*ExportWaitlistEntriesRequest) Descriptor() ([]byte, []int) {
651
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{10}
652
+ }
653
+
654
+ func (x *ExportWaitlistEntriesRequest) GetStatus() string {
655
+ if x != nil {
656
+ return x.Status
657
+ }
658
+ return ""
659
+ }
660
+
661
+ func (x *ExportWaitlistEntriesRequest) GetLimit() uint32 {
662
+ if x != nil {
663
+ return x.Limit
664
+ }
665
+ return 0
666
+ }
667
+
668
+ type ExportWaitlistEntriesResponse struct {
669
+ state protoimpl.MessageState `protogen:"open.v1"`
670
+ Csv string `protobuf:"bytes,1,opt,name=csv,proto3" json:"csv,omitempty"`
671
+ unknownFields protoimpl.UnknownFields
672
+ sizeCache protoimpl.SizeCache
673
+ }
674
+
675
+ func (x *ExportWaitlistEntriesResponse) Reset() {
676
+ *x = ExportWaitlistEntriesResponse{}
677
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[11]
678
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
679
+ ms.StoreMessageInfo(mi)
680
+ }
681
+
682
+ func (x *ExportWaitlistEntriesResponse) String() string {
683
+ return protoimpl.X.MessageStringOf(x)
684
+ }
685
+
686
+ func (*ExportWaitlistEntriesResponse) ProtoMessage() {}
687
+
688
+ func (x *ExportWaitlistEntriesResponse) ProtoReflect() protoreflect.Message {
689
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[11]
690
+ if x != nil {
691
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
692
+ if ms.LoadMessageInfo() == nil {
693
+ ms.StoreMessageInfo(mi)
694
+ }
695
+ return ms
696
+ }
697
+ return mi.MessageOf(x)
698
+ }
699
+
700
+ // Deprecated: Use ExportWaitlistEntriesResponse.ProtoReflect.Descriptor instead.
701
+ func (*ExportWaitlistEntriesResponse) Descriptor() ([]byte, []int) {
702
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{11}
703
+ }
704
+
705
+ func (x *ExportWaitlistEntriesResponse) GetCsv() string {
706
+ if x != nil {
707
+ return x.Csv
708
+ }
709
+ return ""
710
+ }
711
+
712
+ type RecordTriggerRequest struct {
713
+ state protoimpl.MessageState `protogen:"open.v1"`
714
+ Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
715
+ EntryId string `protobuf:"bytes,2,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"`
716
+ PayloadJson string `protobuf:"bytes,3,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"`
717
+ unknownFields protoimpl.UnknownFields
718
+ sizeCache protoimpl.SizeCache
719
+ }
720
+
721
+ func (x *RecordTriggerRequest) Reset() {
722
+ *x = RecordTriggerRequest{}
723
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[12]
724
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
725
+ ms.StoreMessageInfo(mi)
726
+ }
727
+
728
+ func (x *RecordTriggerRequest) String() string {
729
+ return protoimpl.X.MessageStringOf(x)
730
+ }
731
+
732
+ func (*RecordTriggerRequest) ProtoMessage() {}
733
+
734
+ func (x *RecordTriggerRequest) ProtoReflect() protoreflect.Message {
735
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[12]
736
+ if x != nil {
737
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
738
+ if ms.LoadMessageInfo() == nil {
739
+ ms.StoreMessageInfo(mi)
740
+ }
741
+ return ms
742
+ }
743
+ return mi.MessageOf(x)
744
+ }
745
+
746
+ // Deprecated: Use RecordTriggerRequest.ProtoReflect.Descriptor instead.
747
+ func (*RecordTriggerRequest) Descriptor() ([]byte, []int) {
748
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{12}
749
+ }
750
+
751
+ func (x *RecordTriggerRequest) GetType() string {
752
+ if x != nil {
753
+ return x.Type
754
+ }
755
+ return ""
756
+ }
757
+
758
+ func (x *RecordTriggerRequest) GetEntryId() string {
759
+ if x != nil {
760
+ return x.EntryId
761
+ }
762
+ return ""
763
+ }
764
+
765
+ func (x *RecordTriggerRequest) GetPayloadJson() string {
766
+ if x != nil {
767
+ return x.PayloadJson
768
+ }
769
+ return ""
770
+ }
771
+
772
+ type RecordTriggerResponse struct {
773
+ state protoimpl.MessageState `protogen:"open.v1"`
774
+ Trigger *WaitlistTrigger `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"`
775
+ unknownFields protoimpl.UnknownFields
776
+ sizeCache protoimpl.SizeCache
777
+ }
778
+
779
+ func (x *RecordTriggerResponse) Reset() {
780
+ *x = RecordTriggerResponse{}
781
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[13]
782
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
783
+ ms.StoreMessageInfo(mi)
784
+ }
785
+
786
+ func (x *RecordTriggerResponse) String() string {
787
+ return protoimpl.X.MessageStringOf(x)
788
+ }
789
+
790
+ func (*RecordTriggerResponse) ProtoMessage() {}
791
+
792
+ func (x *RecordTriggerResponse) ProtoReflect() protoreflect.Message {
793
+ mi := &file_waitlist_v1_waitlist_proto_msgTypes[13]
794
+ if x != nil {
795
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
796
+ if ms.LoadMessageInfo() == nil {
797
+ ms.StoreMessageInfo(mi)
798
+ }
799
+ return ms
800
+ }
801
+ return mi.MessageOf(x)
802
+ }
803
+
804
+ // Deprecated: Use RecordTriggerResponse.ProtoReflect.Descriptor instead.
805
+ func (*RecordTriggerResponse) Descriptor() ([]byte, []int) {
806
+ return file_waitlist_v1_waitlist_proto_rawDescGZIP(), []int{13}
807
+ }
808
+
809
+ func (x *RecordTriggerResponse) GetTrigger() *WaitlistTrigger {
810
+ if x != nil {
811
+ return x.Trigger
812
+ }
813
+ return nil
814
+ }
815
+
816
+ var File_waitlist_v1_waitlist_proto protoreflect.FileDescriptor
817
+
818
+ const file_waitlist_v1_waitlist_proto_rawDesc = "" +
819
+ "\n" +
820
+ "\x1awaitlist/v1/waitlist.proto\x12\vwaitlist.v1\"\xd1\x01\n" +
821
+ "\rWaitlistEntry\x12\x0e\n" +
822
+ "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
823
+ "\x05email\x18\x02 \x01(\tR\x05email\x12\x12\n" +
824
+ "\x04name\x18\x03 \x01(\tR\x04name\x12\x18\n" +
825
+ "\acompany\x18\x04 \x01(\tR\acompany\x12\x16\n" +
826
+ "\x06source\x18\x05 \x01(\tR\x06source\x12\x16\n" +
827
+ "\x06status\x18\x06 \x01(\tR\x06status\x12\x1d\n" +
828
+ "\n" +
829
+ "created_at\x18\a \x01(\tR\tcreatedAt\x12\x1d\n" +
830
+ "\n" +
831
+ "updated_at\x18\b \x01(\tR\tupdatedAt\"\xcd\x01\n" +
832
+ "\x0fWaitlistTrigger\x12\x0e\n" +
833
+ "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
834
+ "\x04type\x18\x02 \x01(\tR\x04type\x12\x19\n" +
835
+ "\bentry_id\x18\x03 \x01(\tR\aentryId\x12\x16\n" +
836
+ "\x06status\x18\x04 \x01(\tR\x06status\x12!\n" +
837
+ "\fpayload_json\x18\x05 \x01(\tR\vpayloadJson\x12\x1d\n" +
838
+ "\n" +
839
+ "created_at\x18\x06 \x01(\tR\tcreatedAt\x12!\n" +
840
+ "\fprocessed_at\x18\a \x01(\tR\vprocessedAt\"q\n" +
841
+ "\x13JoinWaitlistRequest\x12\x14\n" +
842
+ "\x05email\x18\x01 \x01(\tR\x05email\x12\x12\n" +
843
+ "\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n" +
844
+ "\acompany\x18\x03 \x01(\tR\acompany\x12\x16\n" +
845
+ "\x06source\x18\x04 \x01(\tR\x06source\"b\n" +
846
+ "\x14JoinWaitlistResponse\x120\n" +
847
+ "\x05entry\x18\x01 \x01(\v2\x1a.waitlist.v1.WaitlistEntryR\x05entry\x12\x18\n" +
848
+ "\acreated\x18\x02 \x01(\bR\acreated\"4\n" +
849
+ "\x17GetWaitlistEntryRequest\x12\x19\n" +
850
+ "\bentry_id\x18\x01 \x01(\tR\aentryId\"6\n" +
851
+ "\x1eGetWaitlistEntryByEmailRequest\x12\x14\n" +
852
+ "\x05email\x18\x01 \x01(\tR\x05email\"L\n" +
853
+ "\x18GetWaitlistEntryResponse\x120\n" +
854
+ "\x05entry\x18\x01 \x01(\v2\x1a.waitlist.v1.WaitlistEntryR\x05entry\"J\n" +
855
+ "\x1aListWaitlistEntriesRequest\x12\x16\n" +
856
+ "\x06status\x18\x01 \x01(\tR\x06status\x12\x14\n" +
857
+ "\x05limit\x18\x02 \x01(\rR\x05limit\"S\n" +
858
+ "\x1bListWaitlistEntriesResponse\x124\n" +
859
+ "\aentries\x18\x01 \x03(\v2\x1a.waitlist.v1.WaitlistEntryR\aentries\"O\n" +
860
+ "\x1aUpdateWaitlistEntryRequest\x12\x19\n" +
861
+ "\bentry_id\x18\x01 \x01(\tR\aentryId\x12\x16\n" +
862
+ "\x06status\x18\x02 \x01(\tR\x06status\"L\n" +
863
+ "\x1cExportWaitlistEntriesRequest\x12\x16\n" +
864
+ "\x06status\x18\x01 \x01(\tR\x06status\x12\x14\n" +
865
+ "\x05limit\x18\x02 \x01(\rR\x05limit\"1\n" +
866
+ "\x1dExportWaitlistEntriesResponse\x12\x10\n" +
867
+ "\x03csv\x18\x01 \x01(\tR\x03csv\"h\n" +
868
+ "\x14RecordTriggerRequest\x12\x12\n" +
869
+ "\x04type\x18\x01 \x01(\tR\x04type\x12\x19\n" +
870
+ "\bentry_id\x18\x02 \x01(\tR\aentryId\x12!\n" +
871
+ "\fpayload_json\x18\x03 \x01(\tR\vpayloadJson\"O\n" +
872
+ "\x15RecordTriggerResponse\x126\n" +
873
+ "\atrigger\x18\x01 \x01(\v2\x1c.waitlist.v1.WaitlistTriggerR\atrigger2\xcf\x05\n" +
874
+ "\x0fWaitlistService\x12S\n" +
875
+ "\fJoinWaitlist\x12 .waitlist.v1.JoinWaitlistRequest\x1a!.waitlist.v1.JoinWaitlistResponse\x12_\n" +
876
+ "\x10GetWaitlistEntry\x12$.waitlist.v1.GetWaitlistEntryRequest\x1a%.waitlist.v1.GetWaitlistEntryResponse\x12m\n" +
877
+ "\x17GetWaitlistEntryByEmail\x12+.waitlist.v1.GetWaitlistEntryByEmailRequest\x1a%.waitlist.v1.GetWaitlistEntryResponse\x12h\n" +
878
+ "\x13ListWaitlistEntries\x12'.waitlist.v1.ListWaitlistEntriesRequest\x1a(.waitlist.v1.ListWaitlistEntriesResponse\x12e\n" +
879
+ "\x13UpdateWaitlistEntry\x12'.waitlist.v1.UpdateWaitlistEntryRequest\x1a%.waitlist.v1.GetWaitlistEntryResponse\x12n\n" +
880
+ "\x15ExportWaitlistEntries\x12).waitlist.v1.ExportWaitlistEntriesRequest\x1a*.waitlist.v1.ExportWaitlistEntriesResponse\x12V\n" +
881
+ "\rRecordTrigger\x12!.waitlist.v1.RecordTriggerRequest\x1a\".waitlist.v1.RecordTriggerResponseB,Z*{{MODULE_PATH}}/gen/waitlist/v1;waitlistv1b\x06proto3"
882
+
883
+ var (
884
+ file_waitlist_v1_waitlist_proto_rawDescOnce sync.Once
885
+ file_waitlist_v1_waitlist_proto_rawDescData []byte
886
+ )
887
+
888
+ func file_waitlist_v1_waitlist_proto_rawDescGZIP() []byte {
889
+ file_waitlist_v1_waitlist_proto_rawDescOnce.Do(func() {
890
+ file_waitlist_v1_waitlist_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waitlist_v1_waitlist_proto_rawDesc), len(file_waitlist_v1_waitlist_proto_rawDesc)))
891
+ })
892
+ return file_waitlist_v1_waitlist_proto_rawDescData
893
+ }
894
+
895
+ var file_waitlist_v1_waitlist_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
896
+ var file_waitlist_v1_waitlist_proto_goTypes = []any{
897
+ (*WaitlistEntry)(nil), // 0: waitlist.v1.WaitlistEntry
898
+ (*WaitlistTrigger)(nil), // 1: waitlist.v1.WaitlistTrigger
899
+ (*JoinWaitlistRequest)(nil), // 2: waitlist.v1.JoinWaitlistRequest
900
+ (*JoinWaitlistResponse)(nil), // 3: waitlist.v1.JoinWaitlistResponse
901
+ (*GetWaitlistEntryRequest)(nil), // 4: waitlist.v1.GetWaitlistEntryRequest
902
+ (*GetWaitlistEntryByEmailRequest)(nil), // 5: waitlist.v1.GetWaitlistEntryByEmailRequest
903
+ (*GetWaitlistEntryResponse)(nil), // 6: waitlist.v1.GetWaitlistEntryResponse
904
+ (*ListWaitlistEntriesRequest)(nil), // 7: waitlist.v1.ListWaitlistEntriesRequest
905
+ (*ListWaitlistEntriesResponse)(nil), // 8: waitlist.v1.ListWaitlistEntriesResponse
906
+ (*UpdateWaitlistEntryRequest)(nil), // 9: waitlist.v1.UpdateWaitlistEntryRequest
907
+ (*ExportWaitlistEntriesRequest)(nil), // 10: waitlist.v1.ExportWaitlistEntriesRequest
908
+ (*ExportWaitlistEntriesResponse)(nil), // 11: waitlist.v1.ExportWaitlistEntriesResponse
909
+ (*RecordTriggerRequest)(nil), // 12: waitlist.v1.RecordTriggerRequest
910
+ (*RecordTriggerResponse)(nil), // 13: waitlist.v1.RecordTriggerResponse
911
+ }
912
+ var file_waitlist_v1_waitlist_proto_depIdxs = []int32{
913
+ 0, // 0: waitlist.v1.JoinWaitlistResponse.entry:type_name -> waitlist.v1.WaitlistEntry
914
+ 0, // 1: waitlist.v1.GetWaitlistEntryResponse.entry:type_name -> waitlist.v1.WaitlistEntry
915
+ 0, // 2: waitlist.v1.ListWaitlistEntriesResponse.entries:type_name -> waitlist.v1.WaitlistEntry
916
+ 1, // 3: waitlist.v1.RecordTriggerResponse.trigger:type_name -> waitlist.v1.WaitlistTrigger
917
+ 2, // 4: waitlist.v1.WaitlistService.JoinWaitlist:input_type -> waitlist.v1.JoinWaitlistRequest
918
+ 4, // 5: waitlist.v1.WaitlistService.GetWaitlistEntry:input_type -> waitlist.v1.GetWaitlistEntryRequest
919
+ 5, // 6: waitlist.v1.WaitlistService.GetWaitlistEntryByEmail:input_type -> waitlist.v1.GetWaitlistEntryByEmailRequest
920
+ 7, // 7: waitlist.v1.WaitlistService.ListWaitlistEntries:input_type -> waitlist.v1.ListWaitlistEntriesRequest
921
+ 9, // 8: waitlist.v1.WaitlistService.UpdateWaitlistEntry:input_type -> waitlist.v1.UpdateWaitlistEntryRequest
922
+ 10, // 9: waitlist.v1.WaitlistService.ExportWaitlistEntries:input_type -> waitlist.v1.ExportWaitlistEntriesRequest
923
+ 12, // 10: waitlist.v1.WaitlistService.RecordTrigger:input_type -> waitlist.v1.RecordTriggerRequest
924
+ 3, // 11: waitlist.v1.WaitlistService.JoinWaitlist:output_type -> waitlist.v1.JoinWaitlistResponse
925
+ 6, // 12: waitlist.v1.WaitlistService.GetWaitlistEntry:output_type -> waitlist.v1.GetWaitlistEntryResponse
926
+ 6, // 13: waitlist.v1.WaitlistService.GetWaitlistEntryByEmail:output_type -> waitlist.v1.GetWaitlistEntryResponse
927
+ 8, // 14: waitlist.v1.WaitlistService.ListWaitlistEntries:output_type -> waitlist.v1.ListWaitlistEntriesResponse
928
+ 6, // 15: waitlist.v1.WaitlistService.UpdateWaitlistEntry:output_type -> waitlist.v1.GetWaitlistEntryResponse
929
+ 11, // 16: waitlist.v1.WaitlistService.ExportWaitlistEntries:output_type -> waitlist.v1.ExportWaitlistEntriesResponse
930
+ 13, // 17: waitlist.v1.WaitlistService.RecordTrigger:output_type -> waitlist.v1.RecordTriggerResponse
931
+ 11, // [11:18] is the sub-list for method output_type
932
+ 4, // [4:11] is the sub-list for method input_type
933
+ 4, // [4:4] is the sub-list for extension type_name
934
+ 4, // [4:4] is the sub-list for extension extendee
935
+ 0, // [0:4] is the sub-list for field type_name
936
+ }
937
+
938
+ func init() { file_waitlist_v1_waitlist_proto_init() }
939
+ func file_waitlist_v1_waitlist_proto_init() {
940
+ if File_waitlist_v1_waitlist_proto != nil {
941
+ return
942
+ }
943
+ type x struct{}
944
+ out := protoimpl.TypeBuilder{
945
+ File: protoimpl.DescBuilder{
946
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
947
+ RawDescriptor: unsafe.Slice(unsafe.StringData(file_waitlist_v1_waitlist_proto_rawDesc), len(file_waitlist_v1_waitlist_proto_rawDesc)),
948
+ NumEnums: 0,
949
+ NumMessages: 14,
950
+ NumExtensions: 0,
951
+ NumServices: 1,
952
+ },
953
+ GoTypes: file_waitlist_v1_waitlist_proto_goTypes,
954
+ DependencyIndexes: file_waitlist_v1_waitlist_proto_depIdxs,
955
+ MessageInfos: file_waitlist_v1_waitlist_proto_msgTypes,
956
+ }.Build()
957
+ File_waitlist_v1_waitlist_proto = out.File
958
+ file_waitlist_v1_waitlist_proto_goTypes = nil
959
+ file_waitlist_v1_waitlist_proto_depIdxs = nil
960
+ }