@paakd/api 0.0.1 → 0.0.2
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.
- package/buf/validate/validate_pb.ts +5001 -0
- package/dist/gen/buf/validate/validate_pb.d.ts +4634 -0
- package/dist/gen/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/gen/buf/validate/validate_pb.js +414 -0
- package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts +268 -0
- package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/auth/v1/entities/auth_pb.js +120 -0
- package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts +235 -0
- package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/auth/v1/entities/policy_pb.js +98 -0
- package/dist/gen/src/proto/auth/v1/service_pb.d.ts +117 -0
- package/dist/gen/src/proto/auth/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/auth/v1/service_pb.js +22 -0
- package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts +371 -0
- package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/customers/v1/entities/address_pb.js +84 -0
- package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts +189 -0
- package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/customers/v1/entities/profile_pb.js +70 -0
- package/dist/gen/src/proto/customers/v1/service_pb.d.ts +85 -0
- package/dist/gen/src/proto/customers/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/customers/v1/service_pb.js +22 -0
- package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts +234 -0
- package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/category_pb.js +84 -0
- package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts +159 -0
- package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/collection_pb.js +70 -0
- package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts +146 -0
- package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/product/create_pb.js +32 -0
- package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts +50 -0
- package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/product/option_pb.js +32 -0
- package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts +1042 -0
- package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/product/shared_pb.js +258 -0
- package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts +236 -0
- package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/product/update_pb.js +88 -0
- package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts +175 -0
- package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/tag_pb.js +84 -0
- package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts +477 -0
- package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.js +235 -0
- package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts +158 -0
- package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/type_pb.js +70 -0
- package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts +489 -0
- package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/variant_pb.js +147 -0
- package/dist/gen/src/proto/products/v1/service_pb.d.ts +316 -0
- package/dist/gen/src/proto/products/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/service_pb.js +36 -0
- package/dist/src/address.d.ts +53 -0
- package/dist/src/address.d.ts.map +1 -0
- package/dist/src/address.js +233 -0
- package/dist/src/address.spec.d.ts +2 -0
- package/dist/src/address.spec.d.ts.map +1 -0
- package/dist/src/address.spec.js +488 -0
- package/dist/src/auth.d.ts +27 -0
- package/dist/src/auth.d.ts.map +1 -0
- package/dist/src/auth.js +155 -0
- package/dist/src/auth.spec.d.ts +2 -0
- package/dist/src/auth.spec.d.ts.map +1 -0
- package/dist/src/auth.spec.js +582 -0
- package/dist/src/compressor/brotli.d.ts +3 -0
- package/dist/src/compressor/brotli.d.ts.map +1 -0
- package/dist/src/compressor/brotli.js +30 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/interceptors.d.ts +16 -0
- package/dist/src/interceptors.d.ts.map +1 -0
- package/dist/src/interceptors.js +156 -0
- package/dist/src/interceptors.spec.d.ts +2 -0
- package/dist/src/interceptors.spec.d.ts.map +1 -0
- package/dist/src/interceptors.spec.js +1063 -0
- package/dist/src/policies.d.ts +217 -0
- package/dist/src/policies.d.ts.map +1 -0
- package/dist/src/policies.js +322 -0
- package/dist/src/policies.spec.d.ts +2 -0
- package/dist/src/policies.spec.d.ts.map +1 -0
- package/dist/src/policies.spec.js +463 -0
- package/dist/src/products.d.ts +39 -0
- package/dist/src/products.d.ts.map +1 -0
- package/dist/src/products.js +95 -0
- package/dist/src/products.spec.d.ts +2 -0
- package/dist/src/products.spec.d.ts.map +1 -0
- package/dist/src/products.spec.js +519 -0
- package/dist/src/profile.d.ts +62 -0
- package/dist/src/profile.d.ts.map +1 -0
- package/dist/src/profile.js +151 -0
- package/dist/src/profile.spec.d.ts +2 -0
- package/dist/src/profile.spec.d.ts.map +1 -0
- package/dist/src/profile.spec.js +475 -0
- package/dist/src/registration.d.ts +60 -0
- package/dist/src/registration.d.ts.map +1 -0
- package/dist/src/registration.js +147 -0
- package/dist/src/test-utils.d.ts +87 -0
- package/dist/src/test-utils.d.ts.map +1 -0
- package/dist/src/test-utils.js +132 -0
- package/gen/buf/validate/validate_pb.ts +4799 -0
- package/gen/src/proto/auth/v1/authv1connect/service.connect.go +454 -0
- package/gen/src/proto/auth/v1/entities/auth.pb.go +818 -0
- package/gen/src/proto/auth/v1/entities/auth_pb.ts +348 -0
- package/gen/src/proto/auth/v1/entities/policy.pb.go +727 -0
- package/gen/src/proto/auth/v1/entities/policy_pb.ts +306 -0
- package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +70 -0
- package/gen/src/proto/auth/v1/service.pb.go +119 -0
- package/gen/src/proto/auth/v1/service_pb.ts +152 -0
- package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +358 -0
- package/gen/src/proto/customers/v1/entities/address.pb.go +1073 -0
- package/gen/src/proto/customers/v1/entities/address_pb.ts +478 -0
- package/gen/src/proto/customers/v1/entities/profile.pb.go +633 -0
- package/gen/src/proto/customers/v1/entities/profile_pb.ts +252 -0
- package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +50 -0
- package/gen/src/proto/customers/v1/service.pb.go +110 -0
- package/gen/src/proto/customers/v1/service_pb.ts +121 -0
- package/gen/src/proto/files/v1/entities/file.pb.go +669 -0
- package/gen/src/proto/files/v1/entities/file_pb.ts +265 -0
- package/gen/src/proto/files/v1/filesv1connect/service.connect.go +200 -0
- package/gen/src/proto/files/v1/service-FileService_connectquery.ts +25 -0
- package/gen/src/proto/files/v1/service.pb.go +85 -0
- package/gen/src/proto/files/v1/service_pb.ts +65 -0
- package/gen/src/proto/products/v1/entities/category.pb.go +744 -0
- package/gen/src/proto/products/v1/entities/category_pb.ts +318 -0
- package/gen/src/proto/products/v1/entities/collection.pb.go +528 -0
- package/gen/src/proto/products/v1/entities/collection_pb.ts +214 -0
- package/gen/src/proto/products/v1/entities/product/create.pb.go +453 -0
- package/gen/src/proto/products/v1/entities/product/create_pb.ts +199 -0
- package/gen/src/proto/products/v1/entities/product/option.pb.go +206 -0
- package/gen/src/proto/products/v1/entities/product/option_pb.ts +74 -0
- package/gen/src/proto/products/v1/entities/product/shared.pb.go +2890 -0
- package/gen/src/proto/products/v1/entities/product/shared_pb.ts +1317 -0
- package/gen/src/proto/products/v1/entities/product/update.pb.go +794 -0
- package/gen/src/proto/products/v1/entities/product/update_pb.ts +325 -0
- package/gen/src/proto/products/v1/entities/tag.pb.go +610 -0
- package/gen/src/proto/products/v1/entities/tag_pb.ts +233 -0
- package/gen/src/proto/products/v1/entities/taxonomy.pb.go +1352 -0
- package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +606 -0
- package/gen/src/proto/products/v1/entities/type.pb.go +553 -0
- package/gen/src/proto/products/v1/entities/type_pb.ts +215 -0
- package/gen/src/proto/products/v1/entities/variant.pb.go +1474 -0
- package/gen/src/proto/products/v1/entities/variant_pb.ts +629 -0
- package/gen/src/proto/products/v1/productsv1connect/service.connect.go +1195 -0
- package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +199 -0
- package/gen/src/proto/products/v1/service.pb.go +250 -0
- package/gen/src/proto/products/v1/service_pb.ts +429 -0
- package/gen/src/proto/promotions/v1/entities/campaign.pb.go +1229 -0
- package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +511 -0
- package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +289 -0
- package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +42 -0
- package/gen/src/proto/promotions/v1/service.pb.go +98 -0
- package/gen/src/proto/promotions/v1/service_pb.ts +95 -0
- package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +1499 -0
- package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +655 -0
- package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +41 -0
- package/gen/src/proto/stocknodes/v1/service.pb.go +98 -0
- package/gen/src/proto/stocknodes/v1/service_pb.ts +95 -0
- package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +297 -0
- package/package.json +5 -2
- package/src/address.spec.ts +0 -662
- package/src/address.ts +0 -300
- package/src/auth.spec.ts +0 -771
- package/src/auth.ts +0 -168
- package/src/compressor/brotli.ts +0 -26
- package/src/index.ts +0 -5
- package/src/interceptors.spec.ts +0 -1343
- package/src/interceptors.ts +0 -224
- package/src/policies.spec.ts +0 -595
- package/src/policies.ts +0 -431
- package/src/products.spec.ts +0 -710
- package/src/products.ts +0 -112
- package/src/profile.spec.ts +0 -626
- package/src/profile.ts +0 -169
- package/src/proto/auth/v1/entities/auth.proto +0 -140
- package/src/proto/auth/v1/entities/policy.proto +0 -57
- package/src/proto/auth/v1/service.proto +0 -26
- package/src/proto/customers/v1/entities/address.proto +0 -101
- package/src/proto/customers/v1/entities/profile.proto +0 -118
- package/src/proto/customers/v1/service.proto +0 -36
- package/src/proto/files/v1/entities/file.proto +0 -62
- package/src/proto/files/v1/service.proto +0 -19
- package/src/proto/products/v1/entities/category.proto +0 -98
- package/src/proto/products/v1/entities/collection.proto +0 -72
- package/src/proto/products/v1/entities/product/create.proto +0 -41
- package/src/proto/products/v1/entities/product/option.proto +0 -17
- package/src/proto/products/v1/entities/product/shared.proto +0 -255
- package/src/proto/products/v1/entities/product/update.proto +0 -66
- package/src/proto/products/v1/entities/tag.proto +0 -73
- package/src/proto/products/v1/entities/taxonomy.proto +0 -146
- package/src/proto/products/v1/entities/type.proto +0 -98
- package/src/proto/products/v1/entities/variant.proto +0 -127
- package/src/proto/products/v1/service.proto +0 -78
- package/src/proto/promotions/v1/entities/campaign.proto +0 -145
- package/src/proto/promotions/v1/service.proto +0 -17
- package/src/proto/stocknodes/v1/entities/stocknode.proto +0 -167
- package/src/proto/stocknodes/v1/service.proto +0 -21
- package/src/registration.ts +0 -170
- package/src/test-utils.ts +0 -176
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file src/proto/products/v1/entities/category.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_src_proto_products_v1_entities_category: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message CreateProductCategoryRequest
|
|
9
|
+
*/
|
|
10
|
+
export type CreateProductCategoryRequest = Message<'CreateProductCategoryRequest'> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: string name = 1;
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: optional string description = 2;
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: optional string parent_category_id = 3;
|
|
21
|
+
*/
|
|
22
|
+
parentCategoryId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string category_taxonomy_id = 4;
|
|
25
|
+
*/
|
|
26
|
+
categoryTaxonomyId: string;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: repeated string tags = 5;
|
|
29
|
+
*/
|
|
30
|
+
tags: string[];
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: optional bool is_internal = 6;
|
|
33
|
+
*/
|
|
34
|
+
isInternal?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: optional bool is_active = 7;
|
|
37
|
+
*/
|
|
38
|
+
isActive?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: optional int32 rank = 8;
|
|
41
|
+
*/
|
|
42
|
+
rank?: number;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message CreateProductCategoryRequest.
|
|
46
|
+
* Use `create(CreateProductCategoryRequestSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export declare const CreateProductCategoryRequestSchema: GenMessage<CreateProductCategoryRequest>;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from message CreateProductCategoryResponse
|
|
51
|
+
*/
|
|
52
|
+
export type CreateProductCategoryResponse = Message<'CreateProductCategoryResponse'> & {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: string id = 1;
|
|
55
|
+
*/
|
|
56
|
+
id: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message CreateProductCategoryResponse.
|
|
60
|
+
* Use `create(CreateProductCategoryResponseSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export declare const CreateProductCategoryResponseSchema: GenMessage<CreateProductCategoryResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from message UpdateProductCategoryRequest
|
|
65
|
+
*/
|
|
66
|
+
export type UpdateProductCategoryRequest = Message<'UpdateProductCategoryRequest'> & {
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: string id = 1;
|
|
69
|
+
*/
|
|
70
|
+
id: string;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: string name = 2;
|
|
73
|
+
*/
|
|
74
|
+
name: string;
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: optional string description = 3;
|
|
77
|
+
*/
|
|
78
|
+
description?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: repeated string tags = 4;
|
|
81
|
+
*/
|
|
82
|
+
tags: string[];
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: optional bool is_internal = 5;
|
|
85
|
+
*/
|
|
86
|
+
isInternal?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: optional bool is_active = 6;
|
|
89
|
+
*/
|
|
90
|
+
isActive?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: optional int32 rank = 7;
|
|
93
|
+
*/
|
|
94
|
+
rank?: number;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message UpdateProductCategoryRequest.
|
|
98
|
+
* Use `create(UpdateProductCategoryRequestSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export declare const UpdateProductCategoryRequestSchema: GenMessage<UpdateProductCategoryRequest>;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from message UpdateProductCategoryResponse
|
|
103
|
+
*/
|
|
104
|
+
export type UpdateProductCategoryResponse = Message<'UpdateProductCategoryResponse'> & {};
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message UpdateProductCategoryResponse.
|
|
107
|
+
* Use `create(UpdateProductCategoryResponseSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export declare const UpdateProductCategoryResponseSchema: GenMessage<UpdateProductCategoryResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* @generated from message DeleteProductCategoryByIDRequest
|
|
112
|
+
*/
|
|
113
|
+
export type DeleteProductCategoryByIDRequest = Message<'DeleteProductCategoryByIDRequest'> & {
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string id = 1;
|
|
116
|
+
*/
|
|
117
|
+
id: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message DeleteProductCategoryByIDRequest.
|
|
121
|
+
* Use `create(DeleteProductCategoryByIDRequestSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const DeleteProductCategoryByIDRequestSchema: GenMessage<DeleteProductCategoryByIDRequest>;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from message DeleteProductCategoryByIDResponse
|
|
126
|
+
*/
|
|
127
|
+
export type DeleteProductCategoryByIDResponse = Message<'DeleteProductCategoryByIDResponse'> & {};
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message DeleteProductCategoryByIDResponse.
|
|
130
|
+
* Use `create(DeleteProductCategoryByIDResponseSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export declare const DeleteProductCategoryByIDResponseSchema: GenMessage<DeleteProductCategoryByIDResponse>;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message GetProductCategoryByIDRequest
|
|
135
|
+
*/
|
|
136
|
+
export type GetProductCategoryByIDRequest = Message<'GetProductCategoryByIDRequest'> & {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string id = 1;
|
|
139
|
+
*/
|
|
140
|
+
id: string;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message GetProductCategoryByIDRequest.
|
|
144
|
+
* Use `create(GetProductCategoryByIDRequestSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export declare const GetProductCategoryByIDRequestSchema: GenMessage<GetProductCategoryByIDRequest>;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from message GetProductCategoryByIDResponse
|
|
149
|
+
*/
|
|
150
|
+
export type GetProductCategoryByIDResponse = Message<'GetProductCategoryByIDResponse'> & {
|
|
151
|
+
/**
|
|
152
|
+
* ID of the category
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: string id = 1;
|
|
155
|
+
*/
|
|
156
|
+
id: string;
|
|
157
|
+
/**
|
|
158
|
+
* Name of the category
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: string name = 2;
|
|
161
|
+
*/
|
|
162
|
+
name: string;
|
|
163
|
+
/**
|
|
164
|
+
* Description of the category
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: string description = 3;
|
|
167
|
+
*/
|
|
168
|
+
description: string;
|
|
169
|
+
/**
|
|
170
|
+
* Tags associated with the category
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: repeated string tags = 4;
|
|
173
|
+
*/
|
|
174
|
+
tags: string[];
|
|
175
|
+
/**
|
|
176
|
+
* Name of the category taxonomy
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: string category_taxonomy_id = 5;
|
|
179
|
+
*/
|
|
180
|
+
categoryTaxonomyId: string;
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: string parent_category_id = 6;
|
|
183
|
+
*/
|
|
184
|
+
parentCategoryId: string;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from field: bool is_internal = 7;
|
|
187
|
+
*/
|
|
188
|
+
isInternal: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: bool is_active = 8;
|
|
191
|
+
*/
|
|
192
|
+
isActive: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: int32 rank = 9;
|
|
195
|
+
*/
|
|
196
|
+
rank: number;
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: string taxonomy_fullname = 10;
|
|
199
|
+
*/
|
|
200
|
+
taxonomyFullname: string;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Describes the message GetProductCategoryByIDResponse.
|
|
204
|
+
* Use `create(GetProductCategoryByIDResponseSchema)` to create a new message.
|
|
205
|
+
*/
|
|
206
|
+
export declare const GetProductCategoryByIDResponseSchema: GenMessage<GetProductCategoryByIDResponse>;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from message UpdateProductCategoryTaxonomyRequest
|
|
209
|
+
*/
|
|
210
|
+
export type UpdateProductCategoryTaxonomyRequest = Message<'UpdateProductCategoryTaxonomyRequest'> & {
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string id = 1;
|
|
213
|
+
*/
|
|
214
|
+
id: string;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string taxonomy_id = 2;
|
|
217
|
+
*/
|
|
218
|
+
taxonomyId: string;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Describes the message UpdateProductCategoryTaxonomyRequest.
|
|
222
|
+
* Use `create(UpdateProductCategoryTaxonomyRequestSchema)` to create a new message.
|
|
223
|
+
*/
|
|
224
|
+
export declare const UpdateProductCategoryTaxonomyRequestSchema: GenMessage<UpdateProductCategoryTaxonomyRequest>;
|
|
225
|
+
/**
|
|
226
|
+
* @generated from message UpdateProductCategoryTaxonomyResponse
|
|
227
|
+
*/
|
|
228
|
+
export type UpdateProductCategoryTaxonomyResponse = Message<'UpdateProductCategoryTaxonomyResponse'> & {};
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message UpdateProductCategoryTaxonomyResponse.
|
|
231
|
+
* Use `create(UpdateProductCategoryTaxonomyResponseSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export declare const UpdateProductCategoryTaxonomyResponseSchema: GenMessage<UpdateProductCategoryTaxonomyResponse>;
|
|
234
|
+
//# sourceMappingURL=category_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category_pb.d.ts","sourceRoot":"","sources":["../../../../../../../gen/src/proto/products/v1/entities/category_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAGvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEjD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,OAKxD,CAAA;AAEH;;GAEG;AACH,MAAM,MAAM,4BAA4B,GACtC,OAAO,CAAC,8BAA8B,CAAC,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAA;IAEd;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,UAAU,CAAC,4BAA4B,CAE1B,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,6BAA6B,GACvC,OAAO,CAAC,+BAA+B,CAAC,GAAG;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,mCAAmC,EAAE,UAAU,CAAC,6BAA6B,CAE5B,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,4BAA4B,GACtC,OAAO,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AAM,MAAM,8BAA8B,GACxC,OAAO,CAAC,gCAAgC,CAAC,GAAG;IAC1C;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,IAAI,EAAE,MAAM,EAAE,CAAA;IAEd;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;CACzB,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,oCAAoC,EAAE,UAAU,CAAC,8BAA8B,CAE9B,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAC9C,OAAO,CAAC,sCAAsC,CAAC,GAAG;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,0CAA0C,EAAE,UAAU,CAAC,oCAAoC,CAE1C,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAC/C,OAAO,CAAC,uCAAuC,CAAC,GAAG,EAAE,CAAA;AAEvD;;;GAGG;AACH,eAAO,MAAM,2CAA2C,EAAE,UAAU,CAAC,qCAAqC,CAE5C,CAAA"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
3
|
+
// @generated from file src/proto/products/v1/entities/category.proto (syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UpdateProductCategoryTaxonomyResponseSchema = exports.UpdateProductCategoryTaxonomyRequestSchema = exports.GetProductCategoryByIDResponseSchema = exports.GetProductCategoryByIDRequestSchema = exports.DeleteProductCategoryByIDResponseSchema = exports.DeleteProductCategoryByIDRequestSchema = exports.UpdateProductCategoryResponseSchema = exports.UpdateProductCategoryRequestSchema = exports.CreateProductCategoryResponseSchema = exports.CreateProductCategoryRequestSchema = exports.file_src_proto_products_v1_entities_category = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const validate_pb_1 = require("../../../../../buf/validate/validate_pb");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file src/proto/products/v1/entities/category.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_src_proto_products_v1_entities_category =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
(0, codegenv2_1.fileDesc)('Ci1zcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXMvY2F0ZWdvcnkucHJvdG8i0QIKHENyZWF0ZVByb2R1Y3RDYXRlZ29yeVJlcXVlc3QSFwoEbmFtZRgBIAEoCUIJukgGcgQQARhkEiIKC2Rlc2NyaXB0aW9uGAIgASgJQgi6SAVyAxj0A0gAiAEBEioKEnBhcmVudF9jYXRlZ29yeV9pZBgDIAEoCUIJukgGcgQQARhkSAGIAQESJwoUY2F0ZWdvcnlfdGF4b25vbXlfaWQYBCABKAlCCbpIBnIEEAEYZBIMCgR0YWdzGAUgAygJEhgKC2lzX2ludGVybmFsGAYgASgISAKIAQESFgoJaXNfYWN0aXZlGAcgASgISAOIAQESEQoEcmFuaxgIIAEoBUgEiAEBQg4KDF9kZXNjcmlwdGlvbkIVChNfcGFyZW50X2NhdGVnb3J5X2lkQg4KDF9pc19pbnRlcm5hbEIMCgpfaXNfYWN0aXZlQgcKBV9yYW5rIisKHUNyZWF0ZVByb2R1Y3RDYXRlZ29yeVJlc3Bvbn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HVjdENhdGVnb3J5VGF4b25vbXlSZXNwb25zZUJMQg1DYXRlZ29yeVByb3RvUAFaOXBhYWtkLmNvbS9wYWNrYWdlcy9hcGkvZ2VuL3NyYy9wcm90by9wcm9kdWN0cy92MS9lbnRpdGllc2IGcHJvdG8z', [validate_pb_1.file_buf_validate_validate]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message CreateProductCategoryRequest.
|
|
17
|
+
* Use `create(CreateProductCategoryRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
exports.CreateProductCategoryRequestSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message CreateProductCategoryResponse.
|
|
24
|
+
* Use `create(CreateProductCategoryResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.CreateProductCategoryResponseSchema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message UpdateProductCategoryRequest.
|
|
31
|
+
* Use `create(UpdateProductCategoryRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
exports.UpdateProductCategoryRequestSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message UpdateProductCategoryResponse.
|
|
38
|
+
* Use `create(UpdateProductCategoryResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
exports.UpdateProductCategoryResponseSchema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 3);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message DeleteProductCategoryByIDRequest.
|
|
45
|
+
* Use `create(DeleteProductCategoryByIDRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
exports.DeleteProductCategoryByIDRequestSchema =
|
|
48
|
+
/*@__PURE__*/
|
|
49
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 4);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message DeleteProductCategoryByIDResponse.
|
|
52
|
+
* Use `create(DeleteProductCategoryByIDResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
exports.DeleteProductCategoryByIDResponseSchema =
|
|
55
|
+
/*@__PURE__*/
|
|
56
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 5);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message GetProductCategoryByIDRequest.
|
|
59
|
+
* Use `create(GetProductCategoryByIDRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
exports.GetProductCategoryByIDRequestSchema =
|
|
62
|
+
/*@__PURE__*/
|
|
63
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 6);
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message GetProductCategoryByIDResponse.
|
|
66
|
+
* Use `create(GetProductCategoryByIDResponseSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
exports.GetProductCategoryByIDResponseSchema =
|
|
69
|
+
/*@__PURE__*/
|
|
70
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 7);
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message UpdateProductCategoryTaxonomyRequest.
|
|
73
|
+
* Use `create(UpdateProductCategoryTaxonomyRequestSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
exports.UpdateProductCategoryTaxonomyRequestSchema =
|
|
76
|
+
/*@__PURE__*/
|
|
77
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 8);
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message UpdateProductCategoryTaxonomyResponse.
|
|
80
|
+
* Use `create(UpdateProductCategoryTaxonomyResponseSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
exports.UpdateProductCategoryTaxonomyResponseSchema =
|
|
83
|
+
/*@__PURE__*/
|
|
84
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_category, 9);
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file src/proto/products/v1/entities/collection.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_src_proto_products_v1_entities_collection: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message CreateCollectionRequest
|
|
9
|
+
*/
|
|
10
|
+
export type CreateCollectionRequest = Message<'CreateCollectionRequest'> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: string title = 1;
|
|
13
|
+
*/
|
|
14
|
+
title: string;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: optional string description = 2;
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string slug = 3;
|
|
21
|
+
*/
|
|
22
|
+
slug: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message CreateCollectionRequest.
|
|
26
|
+
* Use `create(CreateCollectionRequestSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export declare const CreateCollectionRequestSchema: GenMessage<CreateCollectionRequest>;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message CreateCollectionResponse
|
|
31
|
+
*/
|
|
32
|
+
export type CreateCollectionResponse = Message<'CreateCollectionResponse'> & {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string id = 1;
|
|
35
|
+
*/
|
|
36
|
+
id: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message CreateCollectionResponse.
|
|
40
|
+
* Use `create(CreateCollectionResponseSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export declare const CreateCollectionResponseSchema: GenMessage<CreateCollectionResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* @generated from message GetCollectionByIDRequest
|
|
45
|
+
*/
|
|
46
|
+
export type GetCollectionByIDRequest = Message<'GetCollectionByIDRequest'> & {
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: string id = 1;
|
|
49
|
+
*/
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message GetCollectionByIDRequest.
|
|
54
|
+
* Use `create(GetCollectionByIDRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export declare const GetCollectionByIDRequestSchema: GenMessage<GetCollectionByIDRequest>;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from message GetCollectionByIDResponse
|
|
59
|
+
*/
|
|
60
|
+
export type GetCollectionByIDResponse = Message<'GetCollectionByIDResponse'> & {
|
|
61
|
+
/**
|
|
62
|
+
* ID of the collection
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: string id = 1;
|
|
65
|
+
*/
|
|
66
|
+
id: string;
|
|
67
|
+
/**
|
|
68
|
+
* Name of the collection
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string title = 2;
|
|
71
|
+
*/
|
|
72
|
+
title: string;
|
|
73
|
+
/**
|
|
74
|
+
* Description of the collection
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: string description = 3;
|
|
77
|
+
*/
|
|
78
|
+
description: string;
|
|
79
|
+
/**
|
|
80
|
+
* URL slug of the collection
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string slug = 4;
|
|
83
|
+
*/
|
|
84
|
+
slug: string;
|
|
85
|
+
/**
|
|
86
|
+
* Tags associated with the collection
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: repeated string tags = 5;
|
|
89
|
+
*/
|
|
90
|
+
tags: string[];
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message GetCollectionByIDResponse.
|
|
94
|
+
* Use `create(GetCollectionByIDResponseSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export declare const GetCollectionByIDResponseSchema: GenMessage<GetCollectionByIDResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message UpdateCollectionRequest
|
|
99
|
+
*/
|
|
100
|
+
export type UpdateCollectionRequest = Message<'UpdateCollectionRequest'> & {
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: string id = 1;
|
|
103
|
+
*/
|
|
104
|
+
id: string;
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string title = 2;
|
|
107
|
+
*/
|
|
108
|
+
title: string;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: optional string description = 3;
|
|
111
|
+
*/
|
|
112
|
+
description?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string slug = 4;
|
|
115
|
+
*/
|
|
116
|
+
slug: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: repeated string tags = 5;
|
|
119
|
+
*/
|
|
120
|
+
tags: string[];
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message UpdateCollectionRequest.
|
|
124
|
+
* Use `create(UpdateCollectionRequestSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const UpdateCollectionRequestSchema: GenMessage<UpdateCollectionRequest>;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from message UpdateCollectionResponse
|
|
129
|
+
*/
|
|
130
|
+
export type UpdateCollectionResponse = Message<'UpdateCollectionResponse'> & {};
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message UpdateCollectionResponse.
|
|
133
|
+
* Use `create(UpdateCollectionResponseSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export declare const UpdateCollectionResponseSchema: GenMessage<UpdateCollectionResponse>;
|
|
136
|
+
/**
|
|
137
|
+
* @generated from message DeleteCollectionByIDRequest
|
|
138
|
+
*/
|
|
139
|
+
export type DeleteCollectionByIDRequest = Message<'DeleteCollectionByIDRequest'> & {
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string id = 1;
|
|
142
|
+
*/
|
|
143
|
+
id: string;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Describes the message DeleteCollectionByIDRequest.
|
|
147
|
+
* Use `create(DeleteCollectionByIDRequestSchema)` to create a new message.
|
|
148
|
+
*/
|
|
149
|
+
export declare const DeleteCollectionByIDRequestSchema: GenMessage<DeleteCollectionByIDRequest>;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from message DeleteCollectionByIDResponse
|
|
152
|
+
*/
|
|
153
|
+
export type DeleteCollectionByIDResponse = Message<'DeleteCollectionByIDResponse'> & {};
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message DeleteCollectionByIDResponse.
|
|
156
|
+
* Use `create(DeleteCollectionByIDResponseSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export declare const DeleteCollectionByIDResponseSchema: GenMessage<DeleteCollectionByIDResponse>;
|
|
159
|
+
//# sourceMappingURL=collection_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection_pb.d.ts","sourceRoot":"","sources":["../../../../../../../gen/src/proto/products/v1/entities/collection_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAGvE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEjD;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,OAK1D,CAAA;AAEH;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,yBAAyB,CAAC,GAAG;IACzE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;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,EAAE,CAAA;CACf,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,UAAU,CAAC,uBAAuB,CAEd,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,0BAA0B,CAAC,GAAG,EAAE,CAAA;AAE/E;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,UAAU,CAAC,wBAAwB,CAEhB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,2BAA2B,GACrC,OAAO,CAAC,6BAA6B,CAAC,GAAG;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AAEH;;;GAGG;AACH,eAAO,MAAM,iCAAiC,EAAE,UAAU,CAAC,2BAA2B,CAEtB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,4BAA4B,GACtC,OAAO,CAAC,8BAA8B,CAAC,GAAG,EAAE,CAAA;AAE9C;;;GAGG;AACH,eAAO,MAAM,kCAAkC,EAAE,UAAU,CAAC,4BAA4B,CAExB,CAAA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
3
|
+
// @generated from file src/proto/products/v1/entities/collection.proto (syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DeleteCollectionByIDResponseSchema = exports.DeleteCollectionByIDRequestSchema = exports.UpdateCollectionResponseSchema = exports.UpdateCollectionRequestSchema = exports.GetCollectionByIDResponseSchema = exports.GetCollectionByIDRequestSchema = exports.CreateCollectionResponseSchema = exports.CreateCollectionRequestSchema = exports.file_src_proto_products_v1_entities_collection = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const validate_pb_1 = require("../../../../../buf/validate/validate_pb");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file src/proto/products/v1/entities/collection.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_src_proto_products_v1_entities_collection =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
(0, codegenv2_1.fileDesc)('Ci9zcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXMvY29sbGVjdGlvbi5wcm90byKcAQoXQ3JlYXRlQ29sbGVjdGlvblJlcXVlc3QSGAoFdGl0bGUYASABKAlCCbpIBnIEEAEYZBIiCgtkZXNjcmlwdGlvbhgCIAEoCUIIukgFcgMY9ANIAIgBARIzCgRzbHVnGAMgASgJQiW6SCJyIBADGDIyGl5bYS16MC05XSsoPzotW2EtejAtOV0rKSokQg4KDF9kZXNjcmlwdGlvbiImChhDcmVhdGVDb2xsZWN0aW9uUmVzcG9uc2USCgoCaWQYASABKAkiMQoYR2V0Q29sbGVjdGlvbkJ5SURSZXF1ZXN0EhUKAmlkGAEgASgJQgm6SAZyBBABGGQiZwoZR2V0Q29sbGVjdGlvbkJ5SURSZXNwb25zZRIKCgJpZBgBIAEoCRINCgV0aXRsZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRIMCgRzbHVnGAQgASgJEgwKBHRhZ3MYBSADKAkiwQEKF1VwZGF0ZUNvbGxlY3Rpb25SZXF1ZXN0EhUKAmlkGAEgASgJQgm6SAZyBBABGGQSGAoFdGl0bGUYAiABKAlCCbpIBnIEEAEYZBIiCgtkZXNjcmlwdGlvbhgDIAEoCUIIukgFcgMY9ANIAIgBARIzCgRzbHVnGAQgASgJQiW6SCJyIBADGDIyGl5bYS16MC05XSsoPzotW2EtejAtOV0rKSokEgwKBHRhZ3MYBSADKAlCDgoMX2Rlc2NyaXB0aW9uIhoKGFVwZGF0ZUNvbGxlY3Rpb25SZXNwb25zZSI0ChtEZWxldGVDb2xsZWN0aW9uQnlJRFJlcXVlc3QSFQoCaWQYASABKAlCCbpIBnIEEAEYZCIeChxEZWxldGVDb2xsZWN0aW9uQnlJRFJlc3BvbnNlQk5CD0NvbGxlY3Rpb25Qcm90b1ABWjlwYWFrZC5jb20vcGFja2FnZXMvYXBpL2dlbi9zcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXNiBnByb3RvMw', [validate_pb_1.file_buf_validate_validate]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message CreateCollectionRequest.
|
|
17
|
+
* Use `create(CreateCollectionRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
exports.CreateCollectionRequestSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_collection, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message CreateCollectionResponse.
|
|
24
|
+
* Use `create(CreateCollectionResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.CreateCollectionResponseSchema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_collection, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message GetCollectionByIDRequest.
|
|
31
|
+
* Use `create(GetCollectionByIDRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
exports.GetCollectionByIDRequestSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_collection, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message GetCollectionByIDResponse.
|
|
38
|
+
* Use `create(GetCollectionByIDResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
exports.GetCollectionByIDResponseSchema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_collection, 3);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message UpdateCollectionRequest.
|
|
45
|
+
* Use `create(UpdateCollectionRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
exports.UpdateCollectionRequestSchema =
|
|
48
|
+
/*@__PURE__*/
|
|
49
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_collection, 4);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message UpdateCollectionResponse.
|
|
52
|
+
* Use `create(UpdateCollectionResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
exports.UpdateCollectionResponseSchema =
|
|
55
|
+
/*@__PURE__*/
|
|
56
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_collection, 5);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message DeleteCollectionByIDRequest.
|
|
59
|
+
* Use `create(DeleteCollectionByIDRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
exports.DeleteCollectionByIDRequestSchema =
|
|
62
|
+
/*@__PURE__*/
|
|
63
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_collection, 6);
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message DeleteCollectionByIDResponse.
|
|
66
|
+
* Use `create(DeleteCollectionByIDResponseSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
exports.DeleteCollectionByIDResponseSchema =
|
|
69
|
+
/*@__PURE__*/
|
|
70
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_products_v1_entities_collection, 7);
|