@paakd/api 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/buf/validate/validate_pb.ts +5001 -0
  2. package/dist/gen/buf/validate/validate_pb.d.ts +4634 -0
  3. package/dist/gen/buf/validate/validate_pb.d.ts.map +1 -0
  4. package/dist/gen/buf/validate/validate_pb.js +414 -0
  5. package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts +268 -0
  6. package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts.map +1 -0
  7. package/dist/gen/src/proto/auth/v1/entities/auth_pb.js +120 -0
  8. package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts +235 -0
  9. package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts.map +1 -0
  10. package/dist/gen/src/proto/auth/v1/entities/policy_pb.js +98 -0
  11. package/dist/gen/src/proto/auth/v1/service_pb.d.ts +117 -0
  12. package/dist/gen/src/proto/auth/v1/service_pb.d.ts.map +1 -0
  13. package/dist/gen/src/proto/auth/v1/service_pb.js +22 -0
  14. package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts +371 -0
  15. package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts.map +1 -0
  16. package/dist/gen/src/proto/customers/v1/entities/address_pb.js +84 -0
  17. package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts +189 -0
  18. package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts.map +1 -0
  19. package/dist/gen/src/proto/customers/v1/entities/profile_pb.js +70 -0
  20. package/dist/gen/src/proto/customers/v1/service_pb.d.ts +85 -0
  21. package/dist/gen/src/proto/customers/v1/service_pb.d.ts.map +1 -0
  22. package/dist/gen/src/proto/customers/v1/service_pb.js +22 -0
  23. package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts +234 -0
  24. package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts.map +1 -0
  25. package/dist/gen/src/proto/products/v1/entities/category_pb.js +84 -0
  26. package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts +159 -0
  27. package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts.map +1 -0
  28. package/dist/gen/src/proto/products/v1/entities/collection_pb.js +70 -0
  29. package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts +146 -0
  30. package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts.map +1 -0
  31. package/dist/gen/src/proto/products/v1/entities/product/create_pb.js +32 -0
  32. package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts +50 -0
  33. package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts.map +1 -0
  34. package/dist/gen/src/proto/products/v1/entities/product/option_pb.js +32 -0
  35. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts +1042 -0
  36. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts.map +1 -0
  37. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.js +258 -0
  38. package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts +236 -0
  39. package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts.map +1 -0
  40. package/dist/gen/src/proto/products/v1/entities/product/update_pb.js +88 -0
  41. package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts +175 -0
  42. package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts.map +1 -0
  43. package/dist/gen/src/proto/products/v1/entities/tag_pb.js +84 -0
  44. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts +477 -0
  45. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts.map +1 -0
  46. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.js +235 -0
  47. package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts +158 -0
  48. package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts.map +1 -0
  49. package/dist/gen/src/proto/products/v1/entities/type_pb.js +70 -0
  50. package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts +489 -0
  51. package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts.map +1 -0
  52. package/dist/gen/src/proto/products/v1/entities/variant_pb.js +147 -0
  53. package/dist/gen/src/proto/products/v1/service_pb.d.ts +316 -0
  54. package/dist/gen/src/proto/products/v1/service_pb.d.ts.map +1 -0
  55. package/dist/gen/src/proto/products/v1/service_pb.js +36 -0
  56. package/dist/src/address.d.ts +53 -0
  57. package/dist/src/address.d.ts.map +1 -0
  58. package/dist/src/address.js +233 -0
  59. package/dist/src/address.spec.d.ts +2 -0
  60. package/dist/src/address.spec.d.ts.map +1 -0
  61. package/dist/src/address.spec.js +488 -0
  62. package/dist/src/auth.d.ts +27 -0
  63. package/dist/src/auth.d.ts.map +1 -0
  64. package/dist/src/auth.js +155 -0
  65. package/dist/src/auth.spec.d.ts +2 -0
  66. package/dist/src/auth.spec.d.ts.map +1 -0
  67. package/dist/src/auth.spec.js +582 -0
  68. package/dist/src/compressor/brotli.d.ts +3 -0
  69. package/dist/src/compressor/brotli.d.ts.map +1 -0
  70. package/dist/src/compressor/brotli.js +30 -0
  71. package/dist/src/index.d.ts +6 -0
  72. package/dist/src/index.d.ts.map +1 -0
  73. package/dist/src/interceptors.d.ts +16 -0
  74. package/dist/src/interceptors.d.ts.map +1 -0
  75. package/dist/src/interceptors.js +156 -0
  76. package/dist/src/interceptors.spec.d.ts +2 -0
  77. package/dist/src/interceptors.spec.d.ts.map +1 -0
  78. package/dist/src/interceptors.spec.js +1063 -0
  79. package/dist/src/policies.d.ts +217 -0
  80. package/dist/src/policies.d.ts.map +1 -0
  81. package/dist/src/policies.js +322 -0
  82. package/dist/src/policies.spec.d.ts +2 -0
  83. package/dist/src/policies.spec.d.ts.map +1 -0
  84. package/dist/src/policies.spec.js +463 -0
  85. package/dist/src/products.d.ts +39 -0
  86. package/dist/src/products.d.ts.map +1 -0
  87. package/dist/src/products.js +95 -0
  88. package/dist/src/products.spec.d.ts +2 -0
  89. package/dist/src/products.spec.d.ts.map +1 -0
  90. package/dist/src/products.spec.js +519 -0
  91. package/dist/src/profile.d.ts +62 -0
  92. package/dist/src/profile.d.ts.map +1 -0
  93. package/dist/src/profile.js +151 -0
  94. package/dist/src/profile.spec.d.ts +2 -0
  95. package/dist/src/profile.spec.d.ts.map +1 -0
  96. package/dist/src/profile.spec.js +475 -0
  97. package/dist/src/registration.d.ts +60 -0
  98. package/dist/src/registration.d.ts.map +1 -0
  99. package/dist/src/registration.js +147 -0
  100. package/dist/src/test-utils.d.ts +87 -0
  101. package/dist/src/test-utils.d.ts.map +1 -0
  102. package/dist/src/test-utils.js +132 -0
  103. package/gen/buf/validate/validate_pb.ts +4799 -0
  104. package/gen/src/proto/auth/v1/authv1connect/service.connect.go +454 -0
  105. package/gen/src/proto/auth/v1/entities/auth.pb.go +818 -0
  106. package/gen/src/proto/auth/v1/entities/auth_pb.ts +348 -0
  107. package/gen/src/proto/auth/v1/entities/policy.pb.go +727 -0
  108. package/gen/src/proto/auth/v1/entities/policy_pb.ts +306 -0
  109. package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +70 -0
  110. package/gen/src/proto/auth/v1/service.pb.go +119 -0
  111. package/gen/src/proto/auth/v1/service_pb.ts +152 -0
  112. package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +358 -0
  113. package/gen/src/proto/customers/v1/entities/address.pb.go +1073 -0
  114. package/gen/src/proto/customers/v1/entities/address_pb.ts +478 -0
  115. package/gen/src/proto/customers/v1/entities/profile.pb.go +633 -0
  116. package/gen/src/proto/customers/v1/entities/profile_pb.ts +252 -0
  117. package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +50 -0
  118. package/gen/src/proto/customers/v1/service.pb.go +110 -0
  119. package/gen/src/proto/customers/v1/service_pb.ts +121 -0
  120. package/gen/src/proto/files/v1/entities/file.pb.go +669 -0
  121. package/gen/src/proto/files/v1/entities/file_pb.ts +265 -0
  122. package/gen/src/proto/files/v1/filesv1connect/service.connect.go +200 -0
  123. package/gen/src/proto/files/v1/service-FileService_connectquery.ts +25 -0
  124. package/gen/src/proto/files/v1/service.pb.go +85 -0
  125. package/gen/src/proto/files/v1/service_pb.ts +65 -0
  126. package/gen/src/proto/products/v1/entities/category.pb.go +744 -0
  127. package/gen/src/proto/products/v1/entities/category_pb.ts +318 -0
  128. package/gen/src/proto/products/v1/entities/collection.pb.go +528 -0
  129. package/gen/src/proto/products/v1/entities/collection_pb.ts +214 -0
  130. package/gen/src/proto/products/v1/entities/product/create.pb.go +453 -0
  131. package/gen/src/proto/products/v1/entities/product/create_pb.ts +199 -0
  132. package/gen/src/proto/products/v1/entities/product/option.pb.go +206 -0
  133. package/gen/src/proto/products/v1/entities/product/option_pb.ts +74 -0
  134. package/gen/src/proto/products/v1/entities/product/shared.pb.go +2890 -0
  135. package/gen/src/proto/products/v1/entities/product/shared_pb.ts +1317 -0
  136. package/gen/src/proto/products/v1/entities/product/update.pb.go +794 -0
  137. package/gen/src/proto/products/v1/entities/product/update_pb.ts +325 -0
  138. package/gen/src/proto/products/v1/entities/tag.pb.go +610 -0
  139. package/gen/src/proto/products/v1/entities/tag_pb.ts +233 -0
  140. package/gen/src/proto/products/v1/entities/taxonomy.pb.go +1352 -0
  141. package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +606 -0
  142. package/gen/src/proto/products/v1/entities/type.pb.go +553 -0
  143. package/gen/src/proto/products/v1/entities/type_pb.ts +215 -0
  144. package/gen/src/proto/products/v1/entities/variant.pb.go +1474 -0
  145. package/gen/src/proto/products/v1/entities/variant_pb.ts +629 -0
  146. package/gen/src/proto/products/v1/productsv1connect/service.connect.go +1195 -0
  147. package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +199 -0
  148. package/gen/src/proto/products/v1/service.pb.go +250 -0
  149. package/gen/src/proto/products/v1/service_pb.ts +429 -0
  150. package/gen/src/proto/promotions/v1/entities/campaign.pb.go +1229 -0
  151. package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +511 -0
  152. package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +289 -0
  153. package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +42 -0
  154. package/gen/src/proto/promotions/v1/service.pb.go +98 -0
  155. package/gen/src/proto/promotions/v1/service_pb.ts +95 -0
  156. package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +1499 -0
  157. package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +655 -0
  158. package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +41 -0
  159. package/gen/src/proto/stocknodes/v1/service.pb.go +98 -0
  160. package/gen/src/proto/stocknodes/v1/service_pb.ts +95 -0
  161. package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +297 -0
  162. package/package.json +13 -6
  163. package/src/address.spec.ts +0 -662
  164. package/src/address.ts +0 -300
  165. package/src/auth.spec.ts +0 -771
  166. package/src/auth.ts +0 -168
  167. package/src/compressor/brotli.ts +0 -26
  168. package/src/index.ts +0 -5
  169. package/src/interceptors.spec.ts +0 -1343
  170. package/src/interceptors.ts +0 -224
  171. package/src/policies.spec.ts +0 -595
  172. package/src/policies.ts +0 -431
  173. package/src/products.spec.ts +0 -710
  174. package/src/products.ts +0 -112
  175. package/src/profile.spec.ts +0 -626
  176. package/src/profile.ts +0 -169
  177. package/src/proto/auth/v1/entities/auth.proto +0 -140
  178. package/src/proto/auth/v1/entities/policy.proto +0 -57
  179. package/src/proto/auth/v1/service.proto +0 -26
  180. package/src/proto/customers/v1/entities/address.proto +0 -101
  181. package/src/proto/customers/v1/entities/profile.proto +0 -118
  182. package/src/proto/customers/v1/service.proto +0 -36
  183. package/src/proto/files/v1/entities/file.proto +0 -62
  184. package/src/proto/files/v1/service.proto +0 -19
  185. package/src/proto/products/v1/entities/category.proto +0 -98
  186. package/src/proto/products/v1/entities/collection.proto +0 -72
  187. package/src/proto/products/v1/entities/product/create.proto +0 -41
  188. package/src/proto/products/v1/entities/product/option.proto +0 -17
  189. package/src/proto/products/v1/entities/product/shared.proto +0 -255
  190. package/src/proto/products/v1/entities/product/update.proto +0 -66
  191. package/src/proto/products/v1/entities/tag.proto +0 -73
  192. package/src/proto/products/v1/entities/taxonomy.proto +0 -146
  193. package/src/proto/products/v1/entities/type.proto +0 -98
  194. package/src/proto/products/v1/entities/variant.proto +0 -127
  195. package/src/proto/products/v1/service.proto +0 -78
  196. package/src/proto/promotions/v1/entities/campaign.proto +0 -145
  197. package/src/proto/promotions/v1/service.proto +0 -17
  198. package/src/proto/stocknodes/v1/entities/stocknode.proto +0 -167
  199. package/src/proto/stocknodes/v1/service.proto +0 -21
  200. package/src/registration.ts +0 -170
  201. package/src/test-utils.ts +0 -176
@@ -0,0 +1,268 @@
1
+ import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2';
2
+ import type { Timestamp } from '@bufbuild/protobuf/wkt';
3
+ import type { Message } from '@bufbuild/protobuf';
4
+ /**
5
+ * Describes the file src/proto/auth/v1/entities/auth.proto.
6
+ */
7
+ export declare const file_src_proto_auth_v1_entities_auth: GenFile;
8
+ /**
9
+ * @generated from message LoginRequest
10
+ */
11
+ export type LoginRequest = Message<'LoginRequest'> & {
12
+ /**
13
+ * @generated from field: string email = 1;
14
+ */
15
+ email: string;
16
+ /**
17
+ * @generated from field: string password = 2;
18
+ */
19
+ password: string;
20
+ };
21
+ /**
22
+ * Describes the message LoginRequest.
23
+ * Use `create(LoginRequestSchema)` to create a new message.
24
+ */
25
+ export declare const LoginRequestSchema: GenMessage<LoginRequest>;
26
+ /**
27
+ * @generated from message RefreshToken
28
+ */
29
+ export type RefreshToken = Message<'RefreshToken'> & {
30
+ /**
31
+ * Duration in seconds
32
+ *
33
+ * @generated from field: string expires_at = 1;
34
+ */
35
+ expiresAt: string;
36
+ /**
37
+ * Refresh token
38
+ *
39
+ * @generated from field: string token = 2;
40
+ */
41
+ token: string;
42
+ /**
43
+ * User's email
44
+ *
45
+ * @generated from field: string email = 3;
46
+ */
47
+ email: string;
48
+ /**
49
+ * Customer ID associated with the token
50
+ *
51
+ * @generated from field: string customer_id = 4;
52
+ */
53
+ customerId: string;
54
+ /**
55
+ * Timestamp when the token was issued
56
+ *
57
+ * @generated from field: google.protobuf.Timestamp started_at = 5;
58
+ */
59
+ startedAt?: Timestamp;
60
+ };
61
+ /**
62
+ * Describes the message RefreshToken.
63
+ * Use `create(RefreshTokenSchema)` to create a new message.
64
+ */
65
+ export declare const RefreshTokenSchema: GenMessage<RefreshToken>;
66
+ /**
67
+ * @generated from message AccessToken
68
+ */
69
+ export type AccessToken = Message<'AccessToken'> & {
70
+ /**
71
+ * Access token
72
+ *
73
+ * @generated from field: string token = 1;
74
+ */
75
+ token: string;
76
+ /**
77
+ * Duration in seconds
78
+ *
79
+ * @generated from field: string expires_at = 2;
80
+ */
81
+ expiresAt: string;
82
+ };
83
+ /**
84
+ * Describes the message AccessToken.
85
+ * Use `create(AccessTokenSchema)` to create a new message.
86
+ */
87
+ export declare const AccessTokenSchema: GenMessage<AccessToken>;
88
+ /**
89
+ * @generated from message LoginResponse
90
+ */
91
+ export type LoginResponse = Message<'LoginResponse'> & {
92
+ /**
93
+ * @generated from field: RefreshToken refresh_token = 1;
94
+ */
95
+ refreshToken?: RefreshToken;
96
+ /**
97
+ * @generated from field: AccessToken access_token = 2;
98
+ */
99
+ accessToken?: AccessToken;
100
+ /**
101
+ * @generated from field: string email = 3;
102
+ */
103
+ email: string;
104
+ };
105
+ /**
106
+ * Describes the message LoginResponse.
107
+ * Use `create(LoginResponseSchema)` to create a new message.
108
+ */
109
+ export declare const LoginResponseSchema: GenMessage<LoginResponse>;
110
+ /**
111
+ * @generated from message TokenRefreshRequest
112
+ */
113
+ export type TokenRefreshRequest = Message<'TokenRefreshRequest'> & {
114
+ /**
115
+ * @generated from field: string refresh_token = 1;
116
+ */
117
+ refreshToken: string;
118
+ };
119
+ /**
120
+ * Describes the message TokenRefreshRequest.
121
+ * Use `create(TokenRefreshRequestSchema)` to create a new message.
122
+ */
123
+ export declare const TokenRefreshRequestSchema: GenMessage<TokenRefreshRequest>;
124
+ /**
125
+ * @generated from message VerifyEmailRequest
126
+ */
127
+ export type VerifyEmailRequest = Message<'VerifyEmailRequest'> & {
128
+ /**
129
+ * @generated from field: string email = 1;
130
+ */
131
+ email: string;
132
+ /**
133
+ * @generated from field: VerifyEmailRequest.EmailLocale locale = 2;
134
+ */
135
+ locale: VerifyEmailRequest_EmailLocale;
136
+ /**
137
+ * @generated from field: string idempotency_key = 3;
138
+ */
139
+ idempotencyKey: string;
140
+ };
141
+ /**
142
+ * Describes the message VerifyEmailRequest.
143
+ * Use `create(VerifyEmailRequestSchema)` to create a new message.
144
+ */
145
+ export declare const VerifyEmailRequestSchema: GenMessage<VerifyEmailRequest>;
146
+ /**
147
+ * @generated from enum VerifyEmailRequest.EmailLocale
148
+ */
149
+ export declare enum VerifyEmailRequest_EmailLocale {
150
+ /**
151
+ * @generated from enum value: EN_GB = 0;
152
+ */
153
+ EN_GB = 0,
154
+ /**
155
+ * @generated from enum value: EN_US = 1;
156
+ */
157
+ EN_US = 1,
158
+ /**
159
+ * @generated from enum value: NL_NL = 2;
160
+ */
161
+ NL_NL = 2,
162
+ /**
163
+ * @generated from enum value: DE_DE = 3;
164
+ */
165
+ DE_DE = 3
166
+ }
167
+ /**
168
+ * Describes the enum VerifyEmailRequest.EmailLocale.
169
+ */
170
+ export declare const VerifyEmailRequest_EmailLocaleSchema: GenEnum<VerifyEmailRequest_EmailLocale>;
171
+ /**
172
+ * @generated from message VerifyEmailResponse
173
+ */
174
+ export type VerifyEmailResponse = Message<'VerifyEmailResponse'> & {
175
+ /**
176
+ * @generated from field: string idempotency_key = 1;
177
+ */
178
+ idempotencyKey: string;
179
+ };
180
+ /**
181
+ * Describes the message VerifyEmailResponse.
182
+ * Use `create(VerifyEmailResponseSchema)` to create a new message.
183
+ */
184
+ export declare const VerifyEmailResponseSchema: GenMessage<VerifyEmailResponse>;
185
+ /**
186
+ * @generated from message ValidateOTPRequest
187
+ */
188
+ export type ValidateOTPRequest = Message<'ValidateOTPRequest'> & {
189
+ /**
190
+ * @generated from field: string email = 1;
191
+ */
192
+ email: string;
193
+ /**
194
+ * @generated from field: string otp = 2;
195
+ */
196
+ otp: string;
197
+ };
198
+ /**
199
+ * Describes the message ValidateOTPRequest.
200
+ * Use `create(ValidateOTPRequestSchema)` to create a new message.
201
+ */
202
+ export declare const ValidateOTPRequestSchema: GenMessage<ValidateOTPRequest>;
203
+ /**
204
+ * @generated from message ValidateOTPResponse
205
+ */
206
+ export type ValidateOTPResponse = Message<'ValidateOTPResponse'> & {
207
+ /**
208
+ * Indicates if the OTP is valid
209
+ *
210
+ * @generated from field: bool valid = 1;
211
+ */
212
+ valid: boolean;
213
+ /**
214
+ * Additional message, e.g., "OTP is valid" or "OTP is invalid"
215
+ *
216
+ * @generated from field: string message = 2;
217
+ */
218
+ message: string;
219
+ };
220
+ /**
221
+ * Describes the message ValidateOTPResponse.
222
+ * Use `create(ValidateOTPResponseSchema)` to create a new message.
223
+ */
224
+ export declare const ValidateOTPResponseSchema: GenMessage<ValidateOTPResponse>;
225
+ /**
226
+ * @generated from message RegisterRequest
227
+ */
228
+ export type RegisterRequest = Message<'RegisterRequest'> & {
229
+ /**
230
+ * @generated from field: string email = 1;
231
+ */
232
+ email: string;
233
+ /**
234
+ * @generated from field: optional string password = 2;
235
+ */
236
+ password?: string;
237
+ /**
238
+ * @generated from field: string first_name = 3;
239
+ */
240
+ firstName: string;
241
+ /**
242
+ * @generated from field: string other_names = 4;
243
+ */
244
+ otherNames: string;
245
+ /**
246
+ * @generated from field: string last_name = 5;
247
+ */
248
+ lastName: string;
249
+ /**
250
+ * @generated from field: optional string otp = 6;
251
+ */
252
+ otp?: string;
253
+ };
254
+ /**
255
+ * Describes the message RegisterRequest.
256
+ * Use `create(RegisterRequestSchema)` to create a new message.
257
+ */
258
+ export declare const RegisterRequestSchema: GenMessage<RegisterRequest>;
259
+ /**
260
+ * @generated from message RegisterResponse
261
+ */
262
+ export type RegisterResponse = Message<'RegisterResponse'> & {};
263
+ /**
264
+ * Describes the message RegisterResponse.
265
+ * Use `create(RegisterResponseSchema)` to create a new message.
266
+ */
267
+ export declare const RegisterResponseSchema: GenMessage<RegisterResponse>;
268
+ //# sourceMappingURL=auth_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth_pb.d.ts","sourceRoot":"","sources":["../../../../../../../gen/src/proto/auth/v1/entities/auth_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAGhF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAEvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEjD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,OAKhD,CAAA;AAEH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC,GAAG;IACnD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CAEF,CAAA;AAEtD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC,GAAG;IACnD;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CAEF,CAAA;AAEtD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,aAA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AAE,CAAA;AAE/D;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,gBAAgB,CAET,CAAA"}
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
3
+ // @generated from file src/proto/auth/v1/entities/auth.proto (syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.RegisterResponseSchema = exports.RegisterRequestSchema = exports.ValidateOTPResponseSchema = exports.ValidateOTPRequestSchema = exports.VerifyEmailResponseSchema = exports.VerifyEmailRequest_EmailLocaleSchema = exports.VerifyEmailRequest_EmailLocale = exports.VerifyEmailRequestSchema = exports.TokenRefreshRequestSchema = exports.LoginResponseSchema = exports.AccessTokenSchema = exports.RefreshTokenSchema = exports.LoginRequestSchema = exports.file_src_proto_auth_v1_entities_auth = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const validate_pb_1 = require("../../../../../buf/validate/validate_pb");
9
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
10
+ /**
11
+ * Describes the file src/proto/auth/v1/entities/auth.proto.
12
+ */
13
+ exports.file_src_proto_auth_v1_entities_auth =
14
+ /*@__PURE__*/
15
+ (0, codegenv2_1.fileDesc)('CiVzcmMvcHJvdG8vYXV0aC92MS9lbnRpdGllcy9hdXRoLnByb3RvIkMKDExvZ2luUmVxdWVzdBIWCgVlbWFpbBgBIAEoCUIHukgEcgJgARIbCghwYXNzd29yZBgCIAEoCUIJukgGcgQQCBhkIoUBCgxSZWZyZXNoVG9rZW4SEgoKZXhwaXJlc19hdBgBIAEoCRINCgV0b2tlbhgCIAEoCRINCgVlbWFpbBgDIAEoCRITCgtjdXN0b21lcl9pZBgEIAEoCRIuCgpzdGFydGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCIwCgtBY2Nlc3NUb2tlbhINCgV0b2tlbhgBIAEoCRISCgpleHB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yZCBpcyBwcm92aWRlZBordGhpcy5wYXNzd29yZCAhPSAnJyA/IHRoaXMub3RwICE9ICcnIDogdHJ1ZUILCglfcGFzc3dvcmRCBgoEX290cCISChBSZWdpc3RlclJlc3BvbnNlQkRCCUF1dGhQcm90b1ABWjVwYWFrZC5jb20vcGFja2FnZXMvYXBpL2dlbi9zcmMvcHJvdG8vYXV0aC92MS9lbnRpdGllc2IGcHJvdG8z', [validate_pb_1.file_buf_validate_validate, wkt_1.file_google_protobuf_timestamp]);
16
+ /**
17
+ * Describes the message LoginRequest.
18
+ * Use `create(LoginRequestSchema)` to create a new message.
19
+ */
20
+ exports.LoginRequestSchema =
21
+ /*@__PURE__*/
22
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 0);
23
+ /**
24
+ * Describes the message RefreshToken.
25
+ * Use `create(RefreshTokenSchema)` to create a new message.
26
+ */
27
+ exports.RefreshTokenSchema =
28
+ /*@__PURE__*/
29
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 1);
30
+ /**
31
+ * Describes the message AccessToken.
32
+ * Use `create(AccessTokenSchema)` to create a new message.
33
+ */
34
+ exports.AccessTokenSchema =
35
+ /*@__PURE__*/
36
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 2);
37
+ /**
38
+ * Describes the message LoginResponse.
39
+ * Use `create(LoginResponseSchema)` to create a new message.
40
+ */
41
+ exports.LoginResponseSchema =
42
+ /*@__PURE__*/
43
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 3);
44
+ /**
45
+ * Describes the message TokenRefreshRequest.
46
+ * Use `create(TokenRefreshRequestSchema)` to create a new message.
47
+ */
48
+ exports.TokenRefreshRequestSchema =
49
+ /*@__PURE__*/
50
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 4);
51
+ /**
52
+ * Describes the message VerifyEmailRequest.
53
+ * Use `create(VerifyEmailRequestSchema)` to create a new message.
54
+ */
55
+ exports.VerifyEmailRequestSchema =
56
+ /*@__PURE__*/
57
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 5);
58
+ /**
59
+ * @generated from enum VerifyEmailRequest.EmailLocale
60
+ */
61
+ var VerifyEmailRequest_EmailLocale;
62
+ (function (VerifyEmailRequest_EmailLocale) {
63
+ /**
64
+ * @generated from enum value: EN_GB = 0;
65
+ */
66
+ VerifyEmailRequest_EmailLocale[VerifyEmailRequest_EmailLocale["EN_GB"] = 0] = "EN_GB";
67
+ /**
68
+ * @generated from enum value: EN_US = 1;
69
+ */
70
+ VerifyEmailRequest_EmailLocale[VerifyEmailRequest_EmailLocale["EN_US"] = 1] = "EN_US";
71
+ /**
72
+ * @generated from enum value: NL_NL = 2;
73
+ */
74
+ VerifyEmailRequest_EmailLocale[VerifyEmailRequest_EmailLocale["NL_NL"] = 2] = "NL_NL";
75
+ /**
76
+ * @generated from enum value: DE_DE = 3;
77
+ */
78
+ VerifyEmailRequest_EmailLocale[VerifyEmailRequest_EmailLocale["DE_DE"] = 3] = "DE_DE";
79
+ })(VerifyEmailRequest_EmailLocale || (exports.VerifyEmailRequest_EmailLocale = VerifyEmailRequest_EmailLocale = {}));
80
+ /**
81
+ * Describes the enum VerifyEmailRequest.EmailLocale.
82
+ */
83
+ exports.VerifyEmailRequest_EmailLocaleSchema =
84
+ /*@__PURE__*/
85
+ (0, codegenv2_1.enumDesc)(exports.file_src_proto_auth_v1_entities_auth, 5, 0);
86
+ /**
87
+ * Describes the message VerifyEmailResponse.
88
+ * Use `create(VerifyEmailResponseSchema)` to create a new message.
89
+ */
90
+ exports.VerifyEmailResponseSchema =
91
+ /*@__PURE__*/
92
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 6);
93
+ /**
94
+ * Describes the message ValidateOTPRequest.
95
+ * Use `create(ValidateOTPRequestSchema)` to create a new message.
96
+ */
97
+ exports.ValidateOTPRequestSchema =
98
+ /*@__PURE__*/
99
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 7);
100
+ /**
101
+ * Describes the message ValidateOTPResponse.
102
+ * Use `create(ValidateOTPResponseSchema)` to create a new message.
103
+ */
104
+ exports.ValidateOTPResponseSchema =
105
+ /*@__PURE__*/
106
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 8);
107
+ /**
108
+ * Describes the message RegisterRequest.
109
+ * Use `create(RegisterRequestSchema)` to create a new message.
110
+ */
111
+ exports.RegisterRequestSchema =
112
+ /*@__PURE__*/
113
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 9);
114
+ /**
115
+ * Describes the message RegisterResponse.
116
+ * Use `create(RegisterResponseSchema)` to create a new message.
117
+ */
118
+ exports.RegisterResponseSchema =
119
+ /*@__PURE__*/
120
+ (0, codegenv2_1.messageDesc)(exports.file_src_proto_auth_v1_entities_auth, 10);
@@ -0,0 +1,235 @@
1
+ import type { GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2';
2
+ import type { Message } from '@bufbuild/protobuf';
3
+ /**
4
+ * Describes the file src/proto/auth/v1/entities/policy.proto.
5
+ */
6
+ export declare const file_src_proto_auth_v1_entities_policy: GenFile;
7
+ /**
8
+ * @generated from message Policy
9
+ */
10
+ export type Policy = Message<'Policy'> & {
11
+ /**
12
+ * Policy type
13
+ *
14
+ * @generated from field: string p_type = 1;
15
+ */
16
+ pType: string;
17
+ /**
18
+ * First value
19
+ *
20
+ * @generated from field: string v0 = 2;
21
+ */
22
+ v0: string;
23
+ /**
24
+ * Second value (optional)
25
+ *
26
+ * @generated from field: string v1 = 3;
27
+ */
28
+ v1: string;
29
+ /**
30
+ * Third value (optional)
31
+ *
32
+ * @generated from field: string v2 = 4;
33
+ */
34
+ v2: string;
35
+ /**
36
+ * Fourth value (optional)
37
+ *
38
+ * @generated from field: string v3 = 5;
39
+ */
40
+ v3: string;
41
+ /**
42
+ * Fifth value (optional)
43
+ *
44
+ * @generated from field: string v4 = 6;
45
+ */
46
+ v4: string;
47
+ /**
48
+ * Sixth value (optional)
49
+ *
50
+ * @generated from field: string v5 = 7;
51
+ */
52
+ v5: string;
53
+ };
54
+ /**
55
+ * Describes the message Policy.
56
+ * Use `create(PolicySchema)` to create a new message.
57
+ */
58
+ export declare const PolicySchema: GenMessage<Policy>;
59
+ /**
60
+ * @generated from message GetPoliciesResponse
61
+ */
62
+ export type GetPoliciesResponse = Message<'GetPoliciesResponse'> & {
63
+ /**
64
+ * List of policies
65
+ *
66
+ * @generated from field: repeated Policy policies = 1;
67
+ */
68
+ policies: Policy[];
69
+ };
70
+ /**
71
+ * Describes the message GetPoliciesResponse.
72
+ * Use `create(GetPoliciesResponseSchema)` to create a new message.
73
+ */
74
+ export declare const GetPoliciesResponseSchema: GenMessage<GetPoliciesResponse>;
75
+ /**
76
+ * @generated from message SavePolicyRequest
77
+ */
78
+ export type SavePolicyRequest = Message<'SavePolicyRequest'> & {
79
+ /**
80
+ * List of policies to save
81
+ *
82
+ * @generated from field: repeated Policy policies = 1;
83
+ */
84
+ policies: Policy[];
85
+ };
86
+ /**
87
+ * Describes the message SavePolicyRequest.
88
+ * Use `create(SavePolicyRequestSchema)` to create a new message.
89
+ */
90
+ export declare const SavePolicyRequestSchema: GenMessage<SavePolicyRequest>;
91
+ /**
92
+ * @generated from message ChangePolicyRequest
93
+ */
94
+ export type ChangePolicyRequest = Message<'ChangePolicyRequest'> & {
95
+ /**
96
+ * Policy type
97
+ *
98
+ * @generated from field: string p_type = 1;
99
+ */
100
+ pType: string;
101
+ /**
102
+ * Rules associated with the policy
103
+ *
104
+ * @generated from field: repeated string rule = 2;
105
+ */
106
+ rule: string[];
107
+ };
108
+ /**
109
+ * Describes the message ChangePolicyRequest.
110
+ * Use `create(ChangePolicyRequestSchema)` to create a new message.
111
+ */
112
+ export declare const ChangePolicyRequestSchema: GenMessage<ChangePolicyRequest>;
113
+ /**
114
+ * @generated from message Rules
115
+ */
116
+ export type Rules = Message<'Rules'> & {
117
+ /**
118
+ * List of rules
119
+ *
120
+ * @generated from field: repeated string rules = 1;
121
+ */
122
+ rules: string[];
123
+ };
124
+ /**
125
+ * Describes the message Rules.
126
+ * Use `create(RulesSchema)` to create a new message.
127
+ */
128
+ export declare const RulesSchema: GenMessage<Rules>;
129
+ /**
130
+ * @generated from message ChangePoliciesRequest
131
+ */
132
+ export type ChangePoliciesRequest = Message<'ChangePoliciesRequest'> & {
133
+ /**
134
+ * @generated from field: string p_type = 1;
135
+ */
136
+ pType: string;
137
+ /**
138
+ * List of rules to add
139
+ *
140
+ * @generated from field: repeated Rules rules = 2;
141
+ */
142
+ rules: Rules[];
143
+ };
144
+ /**
145
+ * Describes the message ChangePoliciesRequest.
146
+ * Use `create(ChangePoliciesRequestSchema)` to create a new message.
147
+ */
148
+ export declare const ChangePoliciesRequestSchema: GenMessage<ChangePoliciesRequest>;
149
+ /**
150
+ * @generated from message PolicyEmptyRequest
151
+ */
152
+ export type PolicyEmptyRequest = Message<'PolicyEmptyRequest'> & {};
153
+ /**
154
+ * Describes the message PolicyEmptyRequest.
155
+ * Use `create(PolicyEmptyRequestSchema)` to create a new message.
156
+ */
157
+ export declare const PolicyEmptyRequestSchema: GenMessage<PolicyEmptyRequest>;
158
+ /**
159
+ * @generated from message PolicyEmptyResponse
160
+ */
161
+ export type PolicyEmptyResponse = Message<'PolicyEmptyResponse'> & {};
162
+ /**
163
+ * Describes the message PolicyEmptyResponse.
164
+ * Use `create(PolicyEmptyResponseSchema)` to create a new message.
165
+ */
166
+ export declare const PolicyEmptyResponseSchema: GenMessage<PolicyEmptyResponse>;
167
+ /**
168
+ * @generated from message FilterEntry
169
+ */
170
+ export type FilterEntry = Message<'FilterEntry'> & {
171
+ /**
172
+ * @generated from field: string key = 1;
173
+ */
174
+ key: string;
175
+ /**
176
+ * @generated from field: repeated StringArray values = 2;
177
+ */
178
+ values: StringArray[];
179
+ };
180
+ /**
181
+ * Describes the message FilterEntry.
182
+ * Use `create(FilterEntrySchema)` to create a new message.
183
+ */
184
+ export declare const FilterEntrySchema: GenMessage<FilterEntry>;
185
+ /**
186
+ * @generated from message StringArray
187
+ */
188
+ export type StringArray = Message<'StringArray'> & {
189
+ /**
190
+ * @generated from field: repeated string items = 1;
191
+ */
192
+ items: string[];
193
+ };
194
+ /**
195
+ * Describes the message StringArray.
196
+ * Use `create(StringArraySchema)` to create a new message.
197
+ */
198
+ export declare const StringArraySchema: GenMessage<StringArray>;
199
+ /**
200
+ * @generated from message FilteredPolicyRequest
201
+ */
202
+ export type FilteredPolicyRequest = Message<'FilteredPolicyRequest'> & {
203
+ /**
204
+ * @generated from field: repeated FilterEntry filter = 1;
205
+ */
206
+ filter: FilterEntry[];
207
+ };
208
+ /**
209
+ * Describes the message FilteredPolicyRequest.
210
+ * Use `create(FilteredPolicyRequestSchema)` to create a new message.
211
+ */
212
+ export declare const FilteredPolicyRequestSchema: GenMessage<FilteredPolicyRequest>;
213
+ /**
214
+ * @generated from message RemoveFilteredPolicyRequest
215
+ */
216
+ export type RemoveFilteredPolicyRequest = Message<'RemoveFilteredPolicyRequest'> & {
217
+ /**
218
+ * @generated from field: string p_type = 1;
219
+ */
220
+ pType: string;
221
+ /**
222
+ * @generated from field: int32 field_index = 2;
223
+ */
224
+ fieldIndex: number;
225
+ /**
226
+ * @generated from field: repeated string field_values = 3;
227
+ */
228
+ fieldValues: string[];
229
+ };
230
+ /**
231
+ * Describes the message RemoveFilteredPolicyRequest.
232
+ * Use `create(RemoveFilteredPolicyRequestSchema)` to create a new message.
233
+ */
234
+ export declare const RemoveFilteredPolicyRequestSchema: GenMessage<RemoveFilteredPolicyRequest>;
235
+ //# sourceMappingURL=policy_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policy_pb.d.ts","sourceRoot":"","sources":["../../../../../../../gen/src/proto/auth/v1/entities/policy_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAA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