@paakd/api 0.0.8 → 0.0.9

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 (40) hide show
  1. package/dist/gen/src/proto/auth/v1/authentication_service_paakd.d.ts +106 -0
  2. package/dist/gen/src/proto/auth/v1/authentication_service_paakd.d.ts.map +1 -0
  3. package/dist/gen/src/proto/auth/v1/authentication_service_paakd.js +151 -0
  4. package/dist/gen/src/proto/auth/v1/authentication_service_pb.d.ts +52 -0
  5. package/dist/gen/src/proto/auth/v1/authentication_service_pb.d.ts.map +1 -0
  6. package/dist/gen/src/proto/auth/v1/authentication_service_pb.js +22 -0
  7. package/dist/gen/src/proto/auth/v1/authorization_service_paakd.d.ts +163 -0
  8. package/dist/gen/src/proto/auth/v1/authorization_service_paakd.d.ts.map +1 -0
  9. package/dist/gen/src/proto/auth/v1/authorization_service_paakd.js +214 -0
  10. package/dist/gen/src/proto/auth/v1/{service_pb.d.ts → authorization_service_pb.d.ts} +13 -54
  11. package/dist/gen/src/proto/auth/v1/authorization_service_pb.d.ts.map +1 -0
  12. package/dist/gen/src/proto/auth/v1/authorization_service_pb.js +22 -0
  13. package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts +1 -14
  14. package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts.map +1 -1
  15. package/dist/gen/src/proto/auth/v1/entities/auth_pb.js +1 -1
  16. package/dist/gen/src/proto/customers/v1/service_paakd.d.ts +183 -0
  17. package/dist/gen/src/proto/customers/v1/service_paakd.d.ts.map +1 -0
  18. package/dist/gen/src/proto/customers/v1/service_paakd.js +235 -0
  19. package/dist/gen/src/proto/files/v1/service_paakd.d.ts +87 -0
  20. package/dist/gen/src/proto/files/v1/service_paakd.d.ts.map +1 -0
  21. package/dist/gen/src/proto/files/v1/service_paakd.js +130 -0
  22. package/dist/gen/src/proto/products/v1/service_paakd.d.ts +722 -0
  23. package/dist/gen/src/proto/products/v1/service_paakd.d.ts.map +1 -0
  24. package/dist/gen/src/proto/products/v1/service_paakd.js +823 -0
  25. package/dist/gen/src/proto/promotions/v1/service_paakd.d.ts +144 -0
  26. package/dist/gen/src/proto/promotions/v1/service_paakd.d.ts.map +1 -0
  27. package/dist/gen/src/proto/promotions/v1/service_paakd.js +193 -0
  28. package/dist/gen/src/proto/promotions/v1/service_pb.js +1 -1
  29. package/dist/gen/src/proto/stocknodes/v1/service_paakd.d.ts +144 -0
  30. package/dist/gen/src/proto/stocknodes/v1/service_paakd.d.ts.map +1 -0
  31. package/dist/gen/src/proto/stocknodes/v1/service_paakd.js +193 -0
  32. package/dist/src/gen.d.ts +2 -0
  33. package/dist/src/gen.d.ts.map +1 -0
  34. package/dist/src/gen.js +72 -0
  35. package/dist/src/index.d.ts +25 -814
  36. package/dist/src/index.d.ts.map +1 -1
  37. package/dist/src/index.js +7 -35
  38. package/package.json +9 -6
  39. package/dist/gen/src/proto/auth/v1/service_pb.d.ts.map +0 -1
  40. package/dist/gen/src/proto/auth/v1/service_pb.js +0 -22
@@ -1,818 +1,29 @@
1
- import { type GetConfigProp } from '@paakd/config';
2
- interface ServiceClientConfig {
3
- conf: GetConfigProp;
4
- headers?: Record<string, string | null>;
5
- jwt?: string;
6
- debug?: boolean;
1
+ export interface ErrDetails {
2
+ type: 'google.rpc.BadRequest' | 'buf.validate.Violations';
3
+ value: Uint8Array;
4
+ debug: {
5
+ fieldViolations: {
6
+ field: string;
7
+ description: string;
8
+ }[];
9
+ violations: {
10
+ field: {
11
+ elements: {
12
+ fieldName: string;
13
+ }[];
14
+ };
15
+ description: string;
16
+ message: string;
17
+ }[];
18
+ };
7
19
  }
8
- export declare const createAPIClient: ({ conf, headers, jwt, debug, }: ServiceClientConfig) => Promise<{
9
- removeFulfillmentSet: (request: import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").RemoveFulfillmentSetRequest | {
10
- readonly $typeName?: undefined;
11
- stockNodeId?: string | undefined;
12
- fulfillmentSetId?: string | undefined;
13
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").RemoveFulfillmentSetResponse>;
14
- addFulfillmentSet: (request: import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").AddFulfillmentSetRequest | {
15
- readonly $typeName?: undefined;
16
- name?: string | undefined;
17
- type?: import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").FulfillmentSetType | undefined;
18
- stockNodeId?: string | undefined;
19
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").AddFulfillmentSetResponse>;
20
- createStockNode: (request: import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").CreateStockNodeRequest | {
21
- readonly $typeName?: undefined;
22
- name?: string | undefined;
23
- description?: string | undefined;
24
- contactName?: string | undefined;
25
- contactEmail?: string | undefined;
26
- tags?: string[] | undefined;
27
- salesChannels?: string[] | undefined;
28
- fulfillmentProviders?: string[] | undefined;
29
- address?: (import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").StockNodeAddress | {
30
- readonly $typeName?: undefined;
31
- id?: string | undefined;
32
- address1?: string | undefined;
33
- address2?: string | undefined;
34
- address3?: string | undefined;
35
- phoneNumber?: string | undefined;
36
- zipCode?: string | undefined;
37
- country?: string | undefined;
38
- countryCode?: string | undefined;
39
- company?: string | undefined;
40
- city?: string | undefined;
41
- province?: string | undefined;
42
- stateCode?: string | undefined;
43
- emailAddress?: string | undefined;
44
- }) | undefined;
45
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").CreateStockNodeResponse>;
46
- deleteStockNode: (request: import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").DeleteStockNodeRequest | {
47
- readonly $typeName?: undefined;
48
- id?: string | undefined;
49
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").DeleteStockNodeResponse>;
50
- getStockNode: (request: import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").GetStockNodeRequest | {
51
- readonly $typeName?: undefined;
52
- id?: string | undefined;
53
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").GetStockNodeResponse>;
54
- updateStockNode: (request: import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").UpdateStockNodeRequest | {
55
- readonly $typeName?: undefined;
56
- id?: string | undefined;
57
- name?: string | undefined;
58
- description?: string | undefined;
59
- contactName?: string | undefined;
60
- contactEmail?: string | undefined;
61
- tags?: string[] | undefined;
62
- salesChannels?: string[] | undefined;
63
- fulfillmentProviders?: string[] | undefined;
64
- address?: (import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").StockNodeAddress | {
65
- readonly $typeName?: undefined;
66
- id?: string | undefined;
67
- address1?: string | undefined;
68
- address2?: string | undefined;
69
- address3?: string | undefined;
70
- phoneNumber?: string | undefined;
71
- zipCode?: string | undefined;
72
- country?: string | undefined;
73
- countryCode?: string | undefined;
74
- company?: string | undefined;
75
- city?: string | undefined;
76
- province?: string | undefined;
77
- stateCode?: string | undefined;
78
- emailAddress?: string | undefined;
79
- }) | undefined;
80
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").UpdateStockNodeResponse>;
81
- listStockNodes: (request: import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").ListStockNodesRequest | {
82
- readonly $typeName?: undefined;
83
- offset?: number | undefined;
84
- limit?: number | undefined;
85
- orderBy?: string | undefined;
86
- filter?: string | undefined;
87
- ascending?: boolean | undefined;
88
- requestPath?: string | undefined;
89
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/stocknodes/v1/entities/stocknode_pb").ListStockNodesResponse>;
90
- createCampaign: (request: import("../gen/src/proto/promotions/v1/entities/campaign_pb").CreateCampaignRequest | {
91
- readonly $typeName?: undefined;
92
- name?: string | undefined;
93
- campaignIdentifier?: string | undefined;
94
- description?: string | undefined;
95
- startsAt?: (import("@bufbuild/protobuf/wkt").Timestamp | {
96
- readonly $typeName?: undefined;
97
- seconds?: bigint | undefined;
98
- nanos?: number | undefined;
99
- }) | undefined;
100
- endsAt?: (import("@bufbuild/protobuf/wkt").Timestamp | {
101
- readonly $typeName?: undefined;
102
- seconds?: bigint | undefined;
103
- nanos?: number | undefined;
104
- }) | undefined;
105
- budget?: (import("../gen/src/proto/promotions/v1/entities/campaign_pb").CampaignBudget | {
106
- readonly $typeName?: undefined;
107
- id?: string | undefined;
108
- limit?: number | undefined;
109
- currencyCode?: string | undefined;
110
- type?: import("../gen/src/proto/promotions/v1/entities/campaign_pb").CampaignBudgetType | undefined;
111
- attribute?: string | undefined;
112
- }) | undefined;
113
- promotionIds?: string[] | undefined;
114
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/promotions/v1/entities/campaign_pb").CreateCampaignResponse>;
115
- deleteCampaign: (request: import("../gen/src/proto/promotions/v1/entities/campaign_pb").DeleteCampaignRequest | {
116
- readonly $typeName?: undefined;
117
- id?: string | undefined;
118
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/promotions/v1/entities/campaign_pb").DeleteCampaignResponse>;
119
- addPromotionsToCampaign: (request: import("../gen/src/proto/promotions/v1/entities/campaign_pb").AddPromotionsToCampaignRequest | {
120
- readonly $typeName?: undefined;
121
- campaignId?: string | undefined;
122
- promotionIds?: string[] | undefined;
123
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/promotions/v1/entities/campaign_pb").AddPromotionsToCampaignResponse>;
124
- removePromotionsFromCampaign: (request: import("../gen/src/proto/promotions/v1/entities/campaign_pb").RemovePromotionsFromCampaignRequest | {
125
- readonly $typeName?: undefined;
126
- campaignId?: string | undefined;
127
- promotionIds?: string[] | undefined;
128
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/promotions/v1/entities/campaign_pb").RemovePromotionsFromCampaignResponse>;
129
- updateCampaign: (request: import("../gen/src/proto/promotions/v1/entities/campaign_pb").UpdateCampaignRequest | {
130
- readonly $typeName?: undefined;
131
- id?: string | undefined;
132
- name?: string | undefined;
133
- campaignIdentifier?: string | undefined;
134
- description?: string | undefined;
135
- startsAt?: (import("@bufbuild/protobuf/wkt").Timestamp | {
136
- readonly $typeName?: undefined;
137
- seconds?: bigint | undefined;
138
- nanos?: number | undefined;
139
- }) | undefined;
140
- endsAt?: (import("@bufbuild/protobuf/wkt").Timestamp | {
141
- readonly $typeName?: undefined;
142
- seconds?: bigint | undefined;
143
- nanos?: number | undefined;
144
- }) | undefined;
145
- budget?: (import("../gen/src/proto/promotions/v1/entities/campaign_pb").CampaignBudget | {
146
- readonly $typeName?: undefined;
147
- id?: string | undefined;
148
- limit?: number | undefined;
149
- currencyCode?: string | undefined;
150
- type?: import("../gen/src/proto/promotions/v1/entities/campaign_pb").CampaignBudgetType | undefined;
151
- attribute?: string | undefined;
152
- }) | undefined;
153
- currencyId?: string | undefined;
154
- promotionIds?: string[] | undefined;
155
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/promotions/v1/entities/campaign_pb").UpdateCampaignResponse>;
156
- getCampaign: (request: import("../gen/src/proto/promotions/v1/entities/campaign_pb").GetCampaignRequest | {
157
- readonly $typeName?: undefined;
158
- id?: string | undefined;
159
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/promotions/v1/entities/campaign_pb").GetCampaignResponse>;
160
- listCampaigns: (request: import("../gen/src/proto/promotions/v1/entities/campaign_pb").ListCampaignsRequest | {
161
- readonly $typeName?: undefined;
162
- offset?: number | undefined;
163
- limit?: number | undefined;
164
- orderBy?: string | undefined;
165
- filter?: string | undefined;
166
- ascending?: boolean | undefined;
167
- requestPath?: string | undefined;
168
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/promotions/v1/entities/campaign_pb").ListCampaignsResponse>;
169
- updateFile: (request: import("../gen/src/proto/files/v1/entities/file_pb").UpdateFileRequest | {
170
- readonly $typeName?: undefined;
171
- id?: string | undefined;
172
- lineItemId?: string | undefined;
173
- videoProductId?: string | undefined;
174
- videoProductVariantId?: string | undefined;
175
- productCategoryId?: string | undefined;
176
- videoProductCategoryId?: string | undefined;
177
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"UpdateFileResponse">>;
178
- deleteFile: (request: import("../gen/src/proto/files/v1/entities/file_pb").DeleteFileRequest | {
179
- readonly $typeName?: undefined;
180
- id?: string | undefined;
181
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"DeleteFileResponse">>;
182
- listFiles: (request: import("../gen/src/proto/files/v1/entities/file_pb").ListFilesRequest | {
183
- readonly $typeName?: undefined;
184
- offset?: number | undefined;
185
- limit?: number | undefined;
186
- orderBy?: string | undefined;
187
- filter?: string | undefined;
188
- ascending?: boolean | undefined;
189
- requestPath?: string | undefined;
190
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/files/v1/entities/file_pb").ListFilesResponse>;
191
- getFile: (request: import("../gen/src/proto/files/v1/entities/file_pb").GetFileRequest | {
192
- readonly $typeName?: undefined;
193
- id?: string | undefined;
194
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/files/v1/entities/file_pb").GetFileResponse>;
195
- createCollection: (request: import("../gen/src/proto/products/v1/entities/collection_pb").CreateCollectionRequest | {
196
- readonly $typeName?: undefined;
197
- title?: string | undefined;
198
- description?: string | undefined;
199
- slug?: string | undefined;
200
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/collection_pb").CreateCollectionResponse>;
201
- getCollectionByID: (request: import("../gen/src/proto/products/v1/entities/collection_pb").GetCollectionByIDRequest | {
202
- readonly $typeName?: undefined;
203
- id?: string | undefined;
204
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/collection_pb").GetCollectionByIDResponse>;
205
- updateCollection: (request: import("../gen/src/proto/products/v1/entities/collection_pb").UpdateCollectionRequest | {
206
- readonly $typeName?: undefined;
207
- id?: string | undefined;
208
- title?: string | undefined;
209
- description?: string | undefined;
210
- slug?: string | undefined;
211
- tags?: string[] | undefined;
212
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"UpdateCollectionResponse">>;
213
- deleteCollectionByID: (request: import("../gen/src/proto/products/v1/entities/collection_pb").DeleteCollectionByIDRequest | {
214
- readonly $typeName?: undefined;
215
- id?: string | undefined;
216
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"DeleteCollectionByIDResponse">>;
217
- createProductType: (request: import("../gen/src/proto/products/v1/entities/type_pb").CreateProductTypeRequest | {
218
- readonly $typeName?: undefined;
219
- name?: string | undefined;
220
- description?: string | undefined;
221
- taxRateId?: string | undefined;
222
- verticalName?: string | undefined;
223
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/type_pb").CreateProductTypeResponse>;
224
- getProductTypeByID: (request: import("../gen/src/proto/products/v1/entities/type_pb").GetProductTypeByIDRequest | {
225
- readonly $typeName?: undefined;
226
- id?: string | undefined;
227
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/type_pb").GetProductTypeByIDResponse>;
228
- updateProductType: (request: import("../gen/src/proto/products/v1/entities/type_pb").UpdateProductTypeRequest | {
229
- readonly $typeName?: undefined;
230
- id?: string | undefined;
231
- name?: string | undefined;
232
- description?: string | undefined;
233
- taxRateId?: string | undefined;
234
- verticalName?: string | undefined;
235
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/type_pb").UpdateProductTypeResponse>;
236
- deleteProductTypeByID: (request: import("../gen/src/proto/products/v1/entities/type_pb").DeleteProductTypeByIDRequest | {
237
- readonly $typeName?: undefined;
238
- id?: string | undefined;
239
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"DeleteProductTypeByIDResponse">>;
240
- createProductCategory: (request: import("../gen/src/proto/products/v1/entities/category_pb").CreateProductCategoryRequest | {
241
- readonly $typeName?: undefined;
242
- name?: string | undefined;
243
- description?: string | undefined;
244
- parentCategoryId?: string | undefined;
245
- categoryTaxonomyId?: string | undefined;
246
- tags?: string[] | undefined;
247
- isInternal?: boolean | undefined;
248
- isActive?: boolean | undefined;
249
- rank?: number | undefined;
250
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/category_pb").CreateProductCategoryResponse>;
251
- getProductCategoryByID: (request: import("../gen/src/proto/products/v1/entities/category_pb").GetProductCategoryByIDRequest | {
252
- readonly $typeName?: undefined;
253
- id?: string | undefined;
254
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/category_pb").GetProductCategoryByIDResponse>;
255
- updateProductCategory: (request: import("../gen/src/proto/products/v1/entities/category_pb").UpdateProductCategoryRequest | {
256
- readonly $typeName?: undefined;
257
- id?: string | undefined;
258
- name?: string | undefined;
259
- description?: string | undefined;
260
- tags?: string[] | undefined;
261
- isInternal?: boolean | undefined;
262
- isActive?: boolean | undefined;
263
- rank?: number | undefined;
264
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"UpdateProductCategoryResponse">>;
265
- deleteProductCategoryByID: (request: import("../gen/src/proto/products/v1/entities/category_pb").DeleteProductCategoryByIDRequest | {
266
- readonly $typeName?: undefined;
267
- id?: string | undefined;
268
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"DeleteProductCategoryByIDResponse">>;
269
- updateProductCategoryTaxonomy: (request: import("../gen/src/proto/products/v1/entities/category_pb").UpdateProductCategoryTaxonomyRequest | {
270
- readonly $typeName?: undefined;
271
- id?: string | undefined;
272
- taxonomyId?: string | undefined;
273
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"UpdateProductCategoryTaxonomyResponse">>;
274
- createTag: (request: import("../gen/src/proto/products/v1/entities/tag_pb").CreateTagRequest | {
275
- readonly $typeName?: undefined;
276
- value?: string | undefined;
277
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/tag_pb").CreateTagResponse>;
278
- getTagByID: (request: import("../gen/src/proto/products/v1/entities/tag_pb").GetTagByIDRequest | {
279
- readonly $typeName?: undefined;
280
- id?: string | undefined;
281
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/tag_pb").GetTagByIDResponse>;
282
- updateTag: (request: import("../gen/src/proto/products/v1/entities/tag_pb").UpdateTagRequest | {
283
- readonly $typeName?: undefined;
284
- id?: string | undefined;
285
- value?: string | undefined;
286
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/tag_pb").UpdateTagResponse>;
287
- deleteTagByID: (request: import("../gen/src/proto/products/v1/entities/tag_pb").DeleteTagByIDRequest | {
288
- readonly $typeName?: undefined;
289
- id?: string | undefined;
290
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/tag_pb").DeleteTagByIDResponse>;
291
- listTags: (request: import("../gen/src/proto/products/v1/entities/tag_pb").ListTagsRequest | {
292
- readonly $typeName?: undefined;
293
- offset?: number | undefined;
294
- limit?: number | undefined;
295
- orderBy?: string | undefined;
296
- filter?: string | undefined;
297
- ascending?: boolean | undefined;
298
- requestPath?: string | undefined;
299
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/tag_pb").ListTagsResponse>;
300
- searchVerticals: (request: import("../gen/src/proto/products/v1/entities/taxonomy_pb").SearchVerticalsRequest | {
301
- readonly $typeName?: undefined;
302
- query?: string | undefined;
303
- searchType?: import("../gen/src/proto/products/v1/entities/taxonomy_pb").SearchType | undefined;
304
- size?: number | undefined;
305
- locale?: import("../gen/src/proto/products/v1/entities/taxonomy_pb").Locale | undefined;
306
- extraParams?: {
307
- [key: string]: string;
308
- } | undefined;
309
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/taxonomy_pb").SearchVerticalsResponse>;
310
- searchCategory: (request: import("../gen/src/proto/products/v1/entities/taxonomy_pb").SearchCategoryRequest | {
311
- readonly $typeName?: undefined;
312
- verticalName?: string | undefined;
313
- level?: number | undefined;
314
- query?: string | undefined;
315
- searchType?: import("../gen/src/proto/products/v1/entities/taxonomy_pb").SearchType | undefined;
316
- size?: number | undefined;
317
- locale?: import("../gen/src/proto/products/v1/entities/taxonomy_pb").Locale | undefined;
318
- extraParams?: {
319
- [key: string]: string;
320
- } | undefined;
321
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/taxonomy_pb").SearchCategoryResponse>;
322
- getVertical: (request: import("../gen/src/proto/products/v1/entities/taxonomy_pb").GetVerticalRequest | {
323
- readonly $typeName?: undefined;
324
- verticalName?: string | undefined;
325
- locale?: import("../gen/src/proto/products/v1/entities/taxonomy_pb").Locale | undefined;
326
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/taxonomy_pb").GetVerticalResponse>;
327
- getCategory: (request: import("../gen/src/proto/products/v1/entities/taxonomy_pb").GetCategoryRequest | {
328
- readonly $typeName?: undefined;
329
- categoryId?: string | undefined;
330
- locale?: import("../gen/src/proto/products/v1/entities/taxonomy_pb").Locale | undefined;
331
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/taxonomy_pb").GetCategoryResponse>;
332
- getAttribute: (request: import("../gen/src/proto/products/v1/entities/taxonomy_pb").GetAttributeRequest | {
333
- readonly $typeName?: undefined;
334
- attributeId?: string | undefined;
335
- locale?: import("../gen/src/proto/products/v1/entities/taxonomy_pb").Locale | undefined;
336
- includeValues?: boolean | undefined;
337
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/taxonomy_pb").GetAttributeResponse>;
338
- getCategoryAttributes: (request: import("../gen/src/proto/products/v1/entities/taxonomy_pb").GetCategoryAttributesRequest | {
339
- readonly $typeName?: undefined;
340
- categoryId?: string | undefined;
341
- locale?: import("../gen/src/proto/products/v1/entities/taxonomy_pb").Locale | undefined;
342
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/taxonomy_pb").GetCategoryAttributesResponse>;
343
- createProduct: (request: import("../gen/src/proto/products/v1/entities/product/create_pb").CreateProductRequest | {
344
- readonly $typeName?: undefined;
345
- title?: string | undefined;
346
- subtitle?: string | undefined;
347
- description?: string | undefined;
348
- slug?: string | undefined;
349
- isPublished?: boolean | undefined;
350
- isGiftcard?: boolean | undefined;
351
- thumbnail?: string | undefined;
352
- status?: import("../gen/src/proto/products/v1/entities/product/shared_pb").ProductStatus | undefined;
353
- productTypeId?: string | undefined;
354
- collectionId?: string[] | undefined;
355
- categoryIds?: string[] | undefined;
356
- imageIds?: string[] | undefined;
357
- tagIds?: string[] | undefined;
358
- variants?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant | {
359
- readonly $typeName?: undefined;
360
- id?: string | undefined;
361
- title?: string | undefined;
362
- sku?: string | undefined;
363
- ean?: string | undefined;
364
- upc?: string | undefined;
365
- barcode?: string | undefined;
366
- trackInventory?: boolean | undefined;
367
- isManageInventory?: boolean | undefined;
368
- weight?: number | undefined;
369
- length?: number | undefined;
370
- width?: number | undefined;
371
- height?: number | undefined;
372
- hsCode?: string | undefined;
373
- originCountry?: string | undefined;
374
- material?: string | undefined;
375
- optionValues?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_OptionValue | {
376
- readonly $typeName?: undefined;
377
- optionId?: string | undefined;
378
- value?: string | undefined;
379
- })[] | undefined;
380
- prices?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_Price | {
381
- readonly $typeName?: undefined;
382
- currencyCode?: string | undefined;
383
- amount?: number | undefined;
384
- maxQuantity?: number | undefined;
385
- minQuantity?: number | undefined;
386
- rules?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_Price_Rule | {
387
- readonly $typeName?: undefined;
388
- entityId?: string | undefined;
389
- entityType?: import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_Price_RuleType | undefined;
390
- })[] | undefined;
391
- })[] | undefined;
392
- inventoryItems?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_InventoryItem | {
393
- readonly $typeName?: undefined;
394
- inventoryItemId?: string | undefined;
395
- })[] | undefined;
396
- metadata?: {
397
- [key: string]: string;
398
- } | undefined;
399
- midCode?: string | undefined;
400
- allowBackorder?: boolean | undefined;
401
- rank?: number | undefined;
402
- })[] | undefined;
403
- options?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").ProductOption | {
404
- readonly $typeName?: undefined;
405
- title?: string | undefined;
406
- values?: string[] | undefined;
407
- })[] | undefined;
408
- metadata?: {
409
- [key: string]: string;
410
- } | undefined;
411
- weight?: number | undefined;
412
- length?: number | undefined;
413
- width?: number | undefined;
414
- height?: number | undefined;
415
- hsCode?: string | undefined;
416
- originCountry?: string | undefined;
417
- manufacturerId?: string | undefined;
418
- returnable?: boolean | undefined;
419
- salesChannelIds?: string[] | undefined;
420
- attributeIds?: string[] | undefined;
421
- externalId?: string | undefined;
422
- shippingProfileId?: string | undefined;
423
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/product/create_pb").CreateProductResponse>;
424
- updateProduct: (request: import("../gen/src/proto/products/v1/entities/product/update_pb").UpdateProductRequest | {
425
- readonly $typeName?: undefined;
426
- id?: string | undefined;
427
- title?: string | undefined;
428
- subtitle?: string | undefined;
429
- description?: string | undefined;
430
- isGiftcard?: boolean | undefined;
431
- isDiscountable?: boolean | undefined;
432
- thumbnail?: string | undefined;
433
- slug?: string | undefined;
434
- status?: import("../gen/src/proto/products/v1/entities/product/shared_pb").ProductStatus | undefined;
435
- weight?: number | undefined;
436
- height?: number | undefined;
437
- width?: number | undefined;
438
- length?: number | undefined;
439
- hsCode?: string | undefined;
440
- midCode?: string | undefined;
441
- originCountry?: string | undefined;
442
- material?: string | undefined;
443
- externalId?: string | undefined;
444
- images?: string[] | undefined;
445
- tags?: string[] | undefined;
446
- categories?: string[] | undefined;
447
- salesChannels?: string[] | undefined;
448
- options?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").ProductOption | {
449
- readonly $typeName?: undefined;
450
- title?: string | undefined;
451
- values?: string[] | undefined;
452
- })[] | undefined;
453
- variants?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant | {
454
- readonly $typeName?: undefined;
455
- id?: string | undefined;
456
- title?: string | undefined;
457
- sku?: string | undefined;
458
- ean?: string | undefined;
459
- upc?: string | undefined;
460
- barcode?: string | undefined;
461
- trackInventory?: boolean | undefined;
462
- isManageInventory?: boolean | undefined;
463
- weight?: number | undefined;
464
- length?: number | undefined;
465
- width?: number | undefined;
466
- height?: number | undefined;
467
- hsCode?: string | undefined;
468
- originCountry?: string | undefined;
469
- material?: string | undefined;
470
- optionValues?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_OptionValue | {
471
- readonly $typeName?: undefined;
472
- optionId?: string | undefined;
473
- value?: string | undefined;
474
- })[] | undefined;
475
- prices?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_Price | {
476
- readonly $typeName?: undefined;
477
- currencyCode?: string | undefined;
478
- amount?: number | undefined;
479
- maxQuantity?: number | undefined;
480
- minQuantity?: number | undefined;
481
- rules?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_Price_Rule | {
482
- readonly $typeName?: undefined;
483
- entityId?: string | undefined;
484
- entityType?: import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_Price_RuleType | undefined;
485
- })[] | undefined;
486
- })[] | undefined;
487
- inventoryItems?: (import("../gen/src/proto/products/v1/entities/product/shared_pb").Variant_InventoryItem | {
488
- readonly $typeName?: undefined;
489
- inventoryItemId?: string | undefined;
490
- })[] | undefined;
491
- metadata?: {
492
- [key: string]: string;
493
- } | undefined;
494
- midCode?: string | undefined;
495
- allowBackorder?: boolean | undefined;
496
- rank?: number | undefined;
497
- })[] | undefined;
498
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/product/update_pb").UpdateProductResponse>;
499
- associateVariantToInventory: (request: import("../gen/src/proto/products/v1/entities/variant_pb").AssociateVariantToInventoryRequest | {
500
- readonly $typeName?: undefined;
501
- variantId?: string | undefined;
502
- inventoryId?: string | undefined;
503
- productId?: string | undefined;
504
- requiredQuantity?: number | undefined;
505
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/variant_pb").AssociateVariantToInventoryResponse>;
506
- createOption: (request: import("../gen/src/proto/products/v1/entities/product/option_pb").CreateOptionRequest | {
507
- readonly $typeName?: undefined;
508
- productId?: string | undefined;
509
- title?: string | undefined;
510
- values?: string[] | undefined;
511
- metadata?: {
512
- [key: string]: string;
513
- } | undefined;
514
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/product/option_pb").CreateOptionResponse>;
515
- createVariant: (request: import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest | {
516
- readonly $typeName?: undefined;
517
- productId?: string | undefined;
518
- sku?: string | undefined;
519
- title?: string | undefined;
520
- ean?: string | undefined;
521
- upc?: string | undefined;
522
- barcode?: string | undefined;
523
- hsCode?: string | undefined;
524
- midCode?: string | undefined;
525
- allowBackorder?: boolean | undefined;
526
- isManagedInventory?: boolean | undefined;
527
- rank?: number | undefined;
528
- weight?: number | undefined;
529
- length?: number | undefined;
530
- height?: number | undefined;
531
- width?: number | undefined;
532
- originCountry?: string | undefined;
533
- material?: string | undefined;
534
- options?: {
535
- [key: string]: string;
536
- } | undefined;
537
- metadata?: {
538
- [key: string]: string;
539
- } | undefined;
540
- prices?: (import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest_Price | {
541
- readonly $typeName?: undefined;
542
- currencyCode?: string | undefined;
543
- amount?: number | undefined;
544
- minQuantity?: number | undefined;
545
- maxQuantity?: number | undefined;
546
- rules?: (import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest_Price_Rule | {
547
- readonly $typeName?: undefined;
548
- entityId?: string | undefined;
549
- entityType?: import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest_Price_Rule_Type | undefined;
550
- })[] | undefined;
551
- })[] | undefined;
552
- inventoryItems?: (import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest_InventoryItem | {
553
- readonly $typeName?: undefined;
554
- inventoryItemId?: string | undefined;
555
- requiredQuantity?: number | undefined;
556
- })[] | undefined;
557
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantResponse>;
558
- patchVariantImage: (request: import("../gen/src/proto/products/v1/entities/variant_pb").PatchVariantImageRequest | {
559
- readonly $typeName?: undefined;
560
- productId?: string | undefined;
561
- variantId?: string | undefined;
562
- savedImages?: string[] | undefined;
563
- deletedImages?: string[] | undefined;
564
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/variant_pb").PatchVariantImageResponse>;
565
- updateProductOption: (request: import("../gen/src/proto/products/v1/entities/variant_pb").UpdateProductOptionRequest | {
566
- readonly $typeName?: undefined;
567
- productId?: string | undefined;
568
- optionId?: string | undefined;
569
- title?: string | undefined;
570
- values?: string[] | undefined;
571
- metadata?: {
572
- [key: string]: string;
573
- } | undefined;
574
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/variant_pb").UpdateProductOptionResponse>;
575
- updateVariantInventory: (request: import("../gen/src/proto/products/v1/entities/variant_pb").UpdateVariantInventoryRequest | {
576
- readonly $typeName?: undefined;
577
- productId?: string | undefined;
578
- variantId?: string | undefined;
579
- inventoryItemId?: string | undefined;
580
- requiredQuantity?: number | undefined;
581
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/variant_pb").UpdateVariantInventoryResponse>;
582
- updateVariant: (request: import("../gen/src/proto/products/v1/entities/variant_pb").UpdateVariantRequest | {
583
- readonly $typeName?: undefined;
584
- productId?: string | undefined;
585
- variantId?: string | undefined;
586
- title?: string | undefined;
587
- ean?: string | undefined;
588
- upc?: string | undefined;
589
- barcode?: string | undefined;
590
- hsCode?: string | undefined;
591
- midCode?: string | undefined;
592
- allowBackorder?: boolean | undefined;
593
- isManagedInventory?: boolean | undefined;
594
- rank?: number | undefined;
595
- weight?: number | undefined;
596
- length?: number | undefined;
597
- height?: number | undefined;
598
- width?: number | undefined;
599
- originCountry?: string | undefined;
600
- material?: string | undefined;
601
- options?: {
602
- [key: string]: string;
603
- } | undefined;
604
- metadata?: {
605
- [key: string]: string;
606
- } | undefined;
607
- prices?: (import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest_Price | {
608
- readonly $typeName?: undefined;
609
- currencyCode?: string | undefined;
610
- amount?: number | undefined;
611
- minQuantity?: number | undefined;
612
- maxQuantity?: number | undefined;
613
- rules?: (import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest_Price_Rule | {
614
- readonly $typeName?: undefined;
615
- entityId?: string | undefined;
616
- entityType?: import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest_Price_Rule_Type | undefined;
617
- })[] | undefined;
618
- })[] | undefined;
619
- inventoryItems?: (import("../gen/src/proto/products/v1/entities/variant_pb").CreateVariantRequest_InventoryItem | {
620
- readonly $typeName?: undefined;
621
- inventoryItemId?: string | undefined;
622
- requiredQuantity?: number | undefined;
623
- })[] | undefined;
624
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/products/v1/entities/variant_pb").UpdateVariantResponse>;
625
- deleteProduct: (request: import("../gen/src/proto/products/v1/entities/product/update_pb").DeleteProductRequest | {
626
- readonly $typeName?: undefined;
627
- productId?: string | undefined;
628
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"DeleteProductResponse">>;
629
- deleteVariant: (request: import("../gen/src/proto/products/v1/entities/product/update_pb").DeleteVariantRequest | {
630
- readonly $typeName?: undefined;
631
- variantId?: string | undefined;
632
- productId?: string | undefined;
633
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"DeleteVariantResponse">>;
634
- deleteOption: (request: import("../gen/src/proto/products/v1/entities/product/update_pb").DeleteOptionRequest | {
635
- readonly $typeName?: undefined;
636
- optionId?: string | undefined;
637
- productId?: string | undefined;
638
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"DeleteOptionResponse">>;
639
- removeInventoryItem: (request: import("../gen/src/proto/products/v1/entities/product/update_pb").RemoveInventoryItemRequest | {
640
- readonly $typeName?: undefined;
641
- inventoryItemId?: string | undefined;
642
- productId?: string | undefined;
643
- variantId?: string | undefined;
644
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"RemoveInventoryItemResponse">>;
645
- login: (request: import("../gen/src/proto/auth/v1/entities/auth_pb").LoginRequest | {
646
- readonly $typeName?: undefined;
647
- email?: string | undefined;
648
- password?: string | undefined;
649
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/auth/v1/entities/auth_pb").LoginResponse>;
650
- refreshToken: (request: import("../gen/src/proto/auth/v1/entities/auth_pb").TokenRefreshRequest | {
651
- readonly $typeName?: undefined;
652
- refreshToken?: string | undefined;
653
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/auth/v1/entities/auth_pb").LoginResponse>;
654
- verifyEmail: (request: import("../gen/src/proto/auth/v1/entities/auth_pb").VerifyEmailRequest | {
655
- readonly $typeName?: undefined;
656
- email?: string | undefined;
657
- locale?: import("../gen/src/proto/auth/v1/entities/auth_pb").VerifyEmailRequest_EmailLocale | undefined;
658
- idempotencyKey?: string | undefined;
659
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/auth/v1/entities/auth_pb").VerifyEmailResponse>;
660
- validateOTP: (request: import("../gen/src/proto/auth/v1/entities/auth_pb").ValidateOTPRequest | {
661
- readonly $typeName?: undefined;
662
- email?: string | undefined;
663
- otp?: string | undefined;
664
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/auth/v1/entities/auth_pb").ValidateOTPResponse>;
665
- register: (request: import("../gen/src/proto/auth/v1/entities/auth_pb").RegisterRequest | {
666
- readonly $typeName?: undefined;
667
- email?: string | undefined;
668
- password?: string | undefined;
669
- firstName?: string | undefined;
670
- otherNames?: string | undefined;
671
- lastName?: string | undefined;
672
- otp?: string | undefined;
673
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"RegisterResponse">>;
674
- getPolicies: (request: import("@bufbuild/protobuf").Message<"PolicyEmptyRequest"> | {
675
- readonly $typeName?: undefined;
676
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/auth/v1/entities/policy_pb").GetPoliciesResponse>;
677
- savePolicies: (request: import("../gen/src/proto/auth/v1/entities/policy_pb").SavePolicyRequest | {
678
- readonly $typeName?: undefined;
679
- policies?: (import("../gen/src/proto/auth/v1/entities/policy_pb").Policy | {
680
- readonly $typeName?: undefined;
681
- pType?: string | undefined;
682
- v0?: string | undefined;
683
- v1?: string | undefined;
684
- v2?: string | undefined;
685
- v3?: string | undefined;
686
- v4?: string | undefined;
687
- v5?: string | undefined;
688
- })[] | undefined;
689
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"PolicyEmptyResponse">>;
690
- addPolicy: (request: import("../gen/src/proto/auth/v1/entities/policy_pb").ChangePolicyRequest | {
691
- readonly $typeName?: undefined;
692
- pType?: string | undefined;
693
- rule?: string[] | undefined;
694
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"PolicyEmptyResponse">>;
695
- removePolicy: (request: import("../gen/src/proto/auth/v1/entities/policy_pb").ChangePolicyRequest | {
696
- readonly $typeName?: undefined;
697
- pType?: string | undefined;
698
- rule?: string[] | undefined;
699
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"PolicyEmptyResponse">>;
700
- addPolicies: (request: import("../gen/src/proto/auth/v1/entities/policy_pb").ChangePoliciesRequest | {
701
- readonly $typeName?: undefined;
702
- pType?: string | undefined;
703
- rules?: (import("../gen/src/proto/auth/v1/entities/policy_pb").Rules | {
704
- readonly $typeName?: undefined;
705
- rules?: string[] | undefined;
706
- })[] | undefined;
707
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"PolicyEmptyResponse">>;
708
- removePolicies: (request: import("../gen/src/proto/auth/v1/entities/policy_pb").ChangePoliciesRequest | {
709
- readonly $typeName?: undefined;
710
- pType?: string | undefined;
711
- rules?: (import("../gen/src/proto/auth/v1/entities/policy_pb").Rules | {
712
- readonly $typeName?: undefined;
713
- rules?: string[] | undefined;
714
- })[] | undefined;
715
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"PolicyEmptyResponse">>;
716
- getFilteredPolicy: (request: import("../gen/src/proto/auth/v1/entities/policy_pb").FilteredPolicyRequest | {
717
- readonly $typeName?: undefined;
718
- filter?: (import("../gen/src/proto/auth/v1/entities/policy_pb").FilterEntry | {
719
- readonly $typeName?: undefined;
720
- key?: string | undefined;
721
- values?: (import("../gen/src/proto/auth/v1/entities/policy_pb").StringArray | {
722
- readonly $typeName?: undefined;
723
- items?: string[] | undefined;
724
- })[] | undefined;
725
- })[] | undefined;
726
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/auth/v1/entities/policy_pb").GetPoliciesResponse>;
727
- removeFilteredPolicy: (request: import("../gen/src/proto/auth/v1/entities/policy_pb").RemoveFilteredPolicyRequest | {
728
- readonly $typeName?: undefined;
729
- pType?: string | undefined;
730
- fieldIndex?: number | undefined;
731
- fieldValues?: string[] | undefined;
732
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"PolicyEmptyResponse">>;
733
- basicProfile: (request: import("../gen/src/proto/customers/v1/entities/profile_pb").BasicProfileRequest | {
734
- readonly $typeName?: undefined;
735
- customerId?: string | undefined;
736
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/customers/v1/entities/profile_pb").BasicProfileResponse>;
737
- profile: (request: import("../gen/src/proto/customers/v1/entities/profile_pb").ProfileRequest | {
738
- readonly $typeName?: undefined;
739
- customerId?: string | undefined;
740
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/customers/v1/entities/profile_pb").ProfileResponse>;
741
- changePassword: (request: import("../gen/src/proto/customers/v1/entities/profile_pb").ChangePasswordRequest | {
742
- readonly $typeName?: undefined;
743
- customerId?: string | undefined;
744
- oldPassword?: string | undefined;
745
- newPassword?: string | undefined;
746
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"ChangePasswordResponse">>;
747
- updateProfile: (request: import("../gen/src/proto/customers/v1/entities/profile_pb").UpdateProfileRequest | {
748
- readonly $typeName?: undefined;
749
- customerId?: string | undefined;
750
- firstName?: string | undefined;
751
- lastName?: string | undefined;
752
- otherNames?: string | undefined;
753
- dateOfBirth?: string | undefined;
754
- email?: string | undefined;
755
- gender?: string | undefined;
756
- phone?: string | undefined;
757
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("@bufbuild/protobuf").Message<"UpdateProfileResponse">>;
758
- getAddress: (request: import("../gen/src/proto/customers/v1/entities/address_pb").GetAddressRequest | {
759
- readonly $typeName?: undefined;
760
- customerId?: string | undefined;
761
- addressId?: string | undefined;
762
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/customers/v1/entities/address_pb").GetAddressResponse>;
763
- getAddresses: (request: import("../gen/src/proto/customers/v1/entities/address_pb").GetAddressesRequest | {
764
- readonly $typeName?: undefined;
765
- customerId?: string | undefined;
766
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/customers/v1/entities/address_pb").GetAddressesResponse>;
767
- addAddress: (request: import("../gen/src/proto/customers/v1/entities/address_pb").AddAddressRequest | {
768
- readonly $typeName?: undefined;
769
- customerId?: string | undefined;
770
- firstName?: string | undefined;
771
- lastName?: string | undefined;
772
- address1?: string | undefined;
773
- address2?: string | undefined;
774
- address3?: string | undefined;
775
- phoneNumber?: string | undefined;
776
- isDefault?: boolean | undefined;
777
- isValid?: boolean | undefined;
778
- zipCode?: string | undefined;
779
- country?: string | undefined;
780
- countryCode?: string | undefined;
781
- company?: string | undefined;
782
- city?: string | undefined;
783
- province?: string | undefined;
784
- addressType?: string | undefined;
785
- addressProvider?: string | undefined;
786
- stateCode?: string | undefined;
787
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/customers/v1/entities/address_pb").AddAddressResponse>;
788
- updateAddress: (request: import("../gen/src/proto/customers/v1/entities/address_pb").UpdateAddressRequest | {
789
- readonly $typeName?: undefined;
790
- customerId?: string | undefined;
791
- firstName?: string | undefined;
792
- lastName?: string | undefined;
793
- address1?: string | undefined;
794
- address2?: string | undefined;
795
- address3?: string | undefined;
796
- phoneNumber?: string | undefined;
797
- isDefault?: boolean | undefined;
798
- isValid?: boolean | undefined;
799
- zipCode?: string | undefined;
800
- country?: string | undefined;
801
- countryCode?: string | undefined;
802
- company?: string | undefined;
803
- city?: string | undefined;
804
- province?: string | undefined;
805
- addressType?: string | undefined;
806
- addressProvider?: string | undefined;
807
- stateCode?: string | undefined;
808
- addressId?: string | undefined;
809
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/customers/v1/entities/address_pb").UpdateAddressResponse>;
810
- deleteAddress: (request: import("../gen/src/proto/customers/v1/entities/address_pb").DeleteAddressRequest | {
811
- readonly $typeName?: undefined;
812
- customerId?: string | undefined;
813
- addressId?: string | undefined;
814
- }, options?: import("@connectrpc/connect").CallOptions) => Promise<import("../gen/src/proto/customers/v1/entities/address_pb").DeleteAddressResponse>;
815
- }>;
20
+ export * from '../gen/src/proto/auth/v1/authentication_service_paakd';
21
+ export * from '../gen/src/proto/auth/v1/authorization_service_paakd';
22
+ export * from '../gen/src/proto/customers/v1/service_paakd';
23
+ export * from '../gen/src/proto/files/v1/service_paakd';
24
+ export * from '../gen/src/proto/products/v1/service_paakd';
25
+ export * from '../gen/src/proto/promotions/v1/service_paakd';
26
+ export * from '../gen/src/proto/stocknodes/v1/service_paakd';
816
27
  export * from '../gen/src/proto/auth/v1/entities/auth_pb';
817
28
  export * from '../gen/src/proto/auth/v1/entities/policy_pb';
818
29
  export * from '../gen/src/proto/customers/v1/entities/address_pb';