@paakd/api 0.0.3 → 0.0.4

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 (61) hide show
  1. package/package.json +7 -9
  2. package/buf/validate/validate_pb.ts +0 -5001
  3. package/gen/buf/validate/validate_pb.ts +0 -4799
  4. package/gen/src/proto/auth/v1/authv1connect/service.connect.go +0 -454
  5. package/gen/src/proto/auth/v1/entities/auth.pb.go +0 -818
  6. package/gen/src/proto/auth/v1/entities/auth_pb.ts +0 -348
  7. package/gen/src/proto/auth/v1/entities/policy.pb.go +0 -727
  8. package/gen/src/proto/auth/v1/entities/policy_pb.ts +0 -306
  9. package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +0 -70
  10. package/gen/src/proto/auth/v1/service.pb.go +0 -119
  11. package/gen/src/proto/auth/v1/service_pb.ts +0 -152
  12. package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +0 -358
  13. package/gen/src/proto/customers/v1/entities/address.pb.go +0 -1073
  14. package/gen/src/proto/customers/v1/entities/address_pb.ts +0 -478
  15. package/gen/src/proto/customers/v1/entities/profile.pb.go +0 -633
  16. package/gen/src/proto/customers/v1/entities/profile_pb.ts +0 -252
  17. package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +0 -50
  18. package/gen/src/proto/customers/v1/service.pb.go +0 -110
  19. package/gen/src/proto/customers/v1/service_pb.ts +0 -121
  20. package/gen/src/proto/files/v1/entities/file.pb.go +0 -669
  21. package/gen/src/proto/files/v1/entities/file_pb.ts +0 -265
  22. package/gen/src/proto/files/v1/filesv1connect/service.connect.go +0 -200
  23. package/gen/src/proto/files/v1/service-FileService_connectquery.ts +0 -25
  24. package/gen/src/proto/files/v1/service.pb.go +0 -85
  25. package/gen/src/proto/files/v1/service_pb.ts +0 -65
  26. package/gen/src/proto/products/v1/entities/category.pb.go +0 -744
  27. package/gen/src/proto/products/v1/entities/category_pb.ts +0 -318
  28. package/gen/src/proto/products/v1/entities/collection.pb.go +0 -528
  29. package/gen/src/proto/products/v1/entities/collection_pb.ts +0 -214
  30. package/gen/src/proto/products/v1/entities/product/create.pb.go +0 -453
  31. package/gen/src/proto/products/v1/entities/product/create_pb.ts +0 -199
  32. package/gen/src/proto/products/v1/entities/product/option.pb.go +0 -206
  33. package/gen/src/proto/products/v1/entities/product/option_pb.ts +0 -74
  34. package/gen/src/proto/products/v1/entities/product/shared.pb.go +0 -2890
  35. package/gen/src/proto/products/v1/entities/product/shared_pb.ts +0 -1317
  36. package/gen/src/proto/products/v1/entities/product/update.pb.go +0 -794
  37. package/gen/src/proto/products/v1/entities/product/update_pb.ts +0 -325
  38. package/gen/src/proto/products/v1/entities/tag.pb.go +0 -610
  39. package/gen/src/proto/products/v1/entities/tag_pb.ts +0 -233
  40. package/gen/src/proto/products/v1/entities/taxonomy.pb.go +0 -1352
  41. package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +0 -606
  42. package/gen/src/proto/products/v1/entities/type.pb.go +0 -553
  43. package/gen/src/proto/products/v1/entities/type_pb.ts +0 -215
  44. package/gen/src/proto/products/v1/entities/variant.pb.go +0 -1474
  45. package/gen/src/proto/products/v1/entities/variant_pb.ts +0 -629
  46. package/gen/src/proto/products/v1/productsv1connect/service.connect.go +0 -1195
  47. package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +0 -199
  48. package/gen/src/proto/products/v1/service.pb.go +0 -250
  49. package/gen/src/proto/products/v1/service_pb.ts +0 -429
  50. package/gen/src/proto/promotions/v1/entities/campaign.pb.go +0 -1229
  51. package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +0 -511
  52. package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +0 -289
  53. package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +0 -42
  54. package/gen/src/proto/promotions/v1/service.pb.go +0 -98
  55. package/gen/src/proto/promotions/v1/service_pb.ts +0 -95
  56. package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +0 -1499
  57. package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +0 -655
  58. package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +0 -41
  59. package/gen/src/proto/stocknodes/v1/service.pb.go +0 -98
  60. package/gen/src/proto/stocknodes/v1/service_pb.ts +0 -95
  61. package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +0 -297
@@ -1,348 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
2
- // @generated from file src/proto/auth/v1/entities/auth.proto (syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2'
6
- import { enumDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv2'
7
- import { file_buf_validate_validate } from '../../../../../buf/validate/validate_pb'
8
- import type { Timestamp } from '@bufbuild/protobuf/wkt'
9
- import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt'
10
- import type { Message } from '@bufbuild/protobuf'
11
-
12
- /**
13
- * Describes the file src/proto/auth/v1/entities/auth.proto.
14
- */
15
- export const file_src_proto_auth_v1_entities_auth: GenFile =
16
- /*@__PURE__*/
17
- fileDesc(
18
- 'CiVzcmMvcHJvdG8vYXV0aC92MS9lbnRpdGllcy9hdXRoLnByb3RvIkMKDExvZ2luUmVxdWVzdBIWCgVlbWFpbBgBIAEoCUIHukgEcgJgARIbCghwYXNzd29yZBgCIAEoCUIJukgGcgQQCBhkIoUBCgxSZWZyZXNoVG9rZW4SEgoKZXhwaXJlc19hdBgBIAEoCRINCgV0b2tlbhgCIAEoCRINCgVlbWFpbBgDIAEoCRITCgtjdXN0b21lcl9pZBgEIAEoCRIuCgpzdGFydGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCIwCgtBY2Nlc3NUb2tlbhINCgV0b2tlbhgBIAEoCRISCgpleHBpcmVzX2F0GAIgASgJImgKDUxvZ2luUmVzcG9uc2USJAoNcmVmcmVz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XMub3RwICE9ICcnIDogdHJ1ZUILCglfcGFzc3dvcmRCBgoEX290cCISChBSZWdpc3RlclJlc3BvbnNlQkRCCUF1dGhQcm90b1ABWjVwYWFrZC5jb20vcGFja2FnZXMvYXBpL2dlbi9zcmMvcHJvdG8vYXV0aC92MS9lbnRpdGllc2IGcHJvdG8z',
19
- [file_buf_validate_validate, file_google_protobuf_timestamp]
20
- )
21
-
22
- /**
23
- * @generated from message LoginRequest
24
- */
25
- export type LoginRequest = Message<'LoginRequest'> & {
26
- /**
27
- * @generated from field: string email = 1;
28
- */
29
- email: string
30
-
31
- /**
32
- * @generated from field: string password = 2;
33
- */
34
- password: string
35
- }
36
-
37
- /**
38
- * Describes the message LoginRequest.
39
- * Use `create(LoginRequestSchema)` to create a new message.
40
- */
41
- export const LoginRequestSchema: GenMessage<LoginRequest> =
42
- /*@__PURE__*/
43
- messageDesc(file_src_proto_auth_v1_entities_auth, 0)
44
-
45
- /**
46
- * @generated from message RefreshToken
47
- */
48
- export type RefreshToken = Message<'RefreshToken'> & {
49
- /**
50
- * Duration in seconds
51
- *
52
- * @generated from field: string expires_at = 1;
53
- */
54
- expiresAt: string
55
-
56
- /**
57
- * Refresh token
58
- *
59
- * @generated from field: string token = 2;
60
- */
61
- token: string
62
-
63
- /**
64
- * User's email
65
- *
66
- * @generated from field: string email = 3;
67
- */
68
- email: string
69
-
70
- /**
71
- * Customer ID associated with the token
72
- *
73
- * @generated from field: string customer_id = 4;
74
- */
75
- customerId: string
76
-
77
- /**
78
- * Timestamp when the token was issued
79
- *
80
- * @generated from field: google.protobuf.Timestamp started_at = 5;
81
- */
82
- startedAt?: Timestamp
83
- }
84
-
85
- /**
86
- * Describes the message RefreshToken.
87
- * Use `create(RefreshTokenSchema)` to create a new message.
88
- */
89
- export const RefreshTokenSchema: GenMessage<RefreshToken> =
90
- /*@__PURE__*/
91
- messageDesc(file_src_proto_auth_v1_entities_auth, 1)
92
-
93
- /**
94
- * @generated from message AccessToken
95
- */
96
- export type AccessToken = Message<'AccessToken'> & {
97
- /**
98
- * Access token
99
- *
100
- * @generated from field: string token = 1;
101
- */
102
- token: string
103
-
104
- /**
105
- * Duration in seconds
106
- *
107
- * @generated from field: string expires_at = 2;
108
- */
109
- expiresAt: string
110
- }
111
-
112
- /**
113
- * Describes the message AccessToken.
114
- * Use `create(AccessTokenSchema)` to create a new message.
115
- */
116
- export const AccessTokenSchema: GenMessage<AccessToken> =
117
- /*@__PURE__*/
118
- messageDesc(file_src_proto_auth_v1_entities_auth, 2)
119
-
120
- /**
121
- * @generated from message LoginResponse
122
- */
123
- export type LoginResponse = Message<'LoginResponse'> & {
124
- /**
125
- * @generated from field: RefreshToken refresh_token = 1;
126
- */
127
- refreshToken?: RefreshToken
128
-
129
- /**
130
- * @generated from field: AccessToken access_token = 2;
131
- */
132
- accessToken?: AccessToken
133
-
134
- /**
135
- * @generated from field: string email = 3;
136
- */
137
- email: string
138
- }
139
-
140
- /**
141
- * Describes the message LoginResponse.
142
- * Use `create(LoginResponseSchema)` to create a new message.
143
- */
144
- export const LoginResponseSchema: GenMessage<LoginResponse> =
145
- /*@__PURE__*/
146
- messageDesc(file_src_proto_auth_v1_entities_auth, 3)
147
-
148
- /**
149
- * @generated from message TokenRefreshRequest
150
- */
151
- export type TokenRefreshRequest = Message<'TokenRefreshRequest'> & {
152
- /**
153
- * @generated from field: string refresh_token = 1;
154
- */
155
- refreshToken: string
156
- }
157
-
158
- /**
159
- * Describes the message TokenRefreshRequest.
160
- * Use `create(TokenRefreshRequestSchema)` to create a new message.
161
- */
162
- export const TokenRefreshRequestSchema: GenMessage<TokenRefreshRequest> =
163
- /*@__PURE__*/
164
- messageDesc(file_src_proto_auth_v1_entities_auth, 4)
165
-
166
- /**
167
- * @generated from message VerifyEmailRequest
168
- */
169
- export type VerifyEmailRequest = Message<'VerifyEmailRequest'> & {
170
- /**
171
- * @generated from field: string email = 1;
172
- */
173
- email: string
174
-
175
- /**
176
- * @generated from field: VerifyEmailRequest.EmailLocale locale = 2;
177
- */
178
- locale: VerifyEmailRequest_EmailLocale
179
-
180
- /**
181
- * @generated from field: string idempotency_key = 3;
182
- */
183
- idempotencyKey: string
184
- }
185
-
186
- /**
187
- * Describes the message VerifyEmailRequest.
188
- * Use `create(VerifyEmailRequestSchema)` to create a new message.
189
- */
190
- export const VerifyEmailRequestSchema: GenMessage<VerifyEmailRequest> =
191
- /*@__PURE__*/
192
- messageDesc(file_src_proto_auth_v1_entities_auth, 5)
193
-
194
- /**
195
- * @generated from enum VerifyEmailRequest.EmailLocale
196
- */
197
- export enum VerifyEmailRequest_EmailLocale {
198
- /**
199
- * @generated from enum value: EN_GB = 0;
200
- */
201
- EN_GB = 0,
202
-
203
- /**
204
- * @generated from enum value: EN_US = 1;
205
- */
206
- EN_US = 1,
207
-
208
- /**
209
- * @generated from enum value: NL_NL = 2;
210
- */
211
- NL_NL = 2,
212
-
213
- /**
214
- * @generated from enum value: DE_DE = 3;
215
- */
216
- DE_DE = 3,
217
- }
218
-
219
- /**
220
- * Describes the enum VerifyEmailRequest.EmailLocale.
221
- */
222
- export const VerifyEmailRequest_EmailLocaleSchema: GenEnum<VerifyEmailRequest_EmailLocale> =
223
- /*@__PURE__*/
224
- enumDesc(file_src_proto_auth_v1_entities_auth, 5, 0)
225
-
226
- /**
227
- * @generated from message VerifyEmailResponse
228
- */
229
- export type VerifyEmailResponse = Message<'VerifyEmailResponse'> & {
230
- /**
231
- * @generated from field: string idempotency_key = 1;
232
- */
233
- idempotencyKey: string
234
- }
235
-
236
- /**
237
- * Describes the message VerifyEmailResponse.
238
- * Use `create(VerifyEmailResponseSchema)` to create a new message.
239
- */
240
- export const VerifyEmailResponseSchema: GenMessage<VerifyEmailResponse> =
241
- /*@__PURE__*/
242
- messageDesc(file_src_proto_auth_v1_entities_auth, 6)
243
-
244
- /**
245
- * @generated from message ValidateOTPRequest
246
- */
247
- export type ValidateOTPRequest = Message<'ValidateOTPRequest'> & {
248
- /**
249
- * @generated from field: string email = 1;
250
- */
251
- email: string
252
-
253
- /**
254
- * @generated from field: string otp = 2;
255
- */
256
- otp: string
257
- }
258
-
259
- /**
260
- * Describes the message ValidateOTPRequest.
261
- * Use `create(ValidateOTPRequestSchema)` to create a new message.
262
- */
263
- export const ValidateOTPRequestSchema: GenMessage<ValidateOTPRequest> =
264
- /*@__PURE__*/
265
- messageDesc(file_src_proto_auth_v1_entities_auth, 7)
266
-
267
- /**
268
- * @generated from message ValidateOTPResponse
269
- */
270
- export type ValidateOTPResponse = Message<'ValidateOTPResponse'> & {
271
- /**
272
- * Indicates if the OTP is valid
273
- *
274
- * @generated from field: bool valid = 1;
275
- */
276
- valid: boolean
277
-
278
- /**
279
- * Additional message, e.g., "OTP is valid" or "OTP is invalid"
280
- *
281
- * @generated from field: string message = 2;
282
- */
283
- message: string
284
- }
285
-
286
- /**
287
- * Describes the message ValidateOTPResponse.
288
- * Use `create(ValidateOTPResponseSchema)` to create a new message.
289
- */
290
- export const ValidateOTPResponseSchema: GenMessage<ValidateOTPResponse> =
291
- /*@__PURE__*/
292
- messageDesc(file_src_proto_auth_v1_entities_auth, 8)
293
-
294
- /**
295
- * @generated from message RegisterRequest
296
- */
297
- export type RegisterRequest = Message<'RegisterRequest'> & {
298
- /**
299
- * @generated from field: string email = 1;
300
- */
301
- email: string
302
-
303
- /**
304
- * @generated from field: optional string password = 2;
305
- */
306
- password?: string
307
-
308
- /**
309
- * @generated from field: string first_name = 3;
310
- */
311
- firstName: string
312
-
313
- /**
314
- * @generated from field: string other_names = 4;
315
- */
316
- otherNames: string
317
-
318
- /**
319
- * @generated from field: string last_name = 5;
320
- */
321
- lastName: string
322
-
323
- /**
324
- * @generated from field: optional string otp = 6;
325
- */
326
- otp?: string
327
- }
328
-
329
- /**
330
- * Describes the message RegisterRequest.
331
- * Use `create(RegisterRequestSchema)` to create a new message.
332
- */
333
- export const RegisterRequestSchema: GenMessage<RegisterRequest> =
334
- /*@__PURE__*/
335
- messageDesc(file_src_proto_auth_v1_entities_auth, 9)
336
-
337
- /**
338
- * @generated from message RegisterResponse
339
- */
340
- export type RegisterResponse = Message<'RegisterResponse'> & {}
341
-
342
- /**
343
- * Describes the message RegisterResponse.
344
- * Use `create(RegisterResponseSchema)` to create a new message.
345
- */
346
- export const RegisterResponseSchema: GenMessage<RegisterResponse> =
347
- /*@__PURE__*/
348
- messageDesc(file_src_proto_auth_v1_entities_auth, 10)