@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,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
3
|
+
// @generated from file src/proto/customers/v1/entities/address.proto (syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DeleteAddressResponseSchema = exports.DeleteAddressRequestSchema = exports.UpdateAddressResponseSchema = exports.UpdateAddressRequestSchema = exports.AddAddressResponseSchema = exports.AddAddressRequestSchema = exports.GetAddressesResponseSchema = exports.GetAddressResponseSchema = exports.GetAddressRequestSchema = exports.GetAddressesRequestSchema = exports.file_src_proto_customers_v1_entities_address = 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/customers/v1/entities/address.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_src_proto_customers_v1_entities_address =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
(0, codegenv2_1.fileDesc)('Ci1zcmMvcHJvdG8vY3VzdG9tZXJzL3YxL2VudGl0aWVzL2FkZHJlc3MucHJvdG8iKgoTR2V0QWRkcmVzc2VzUmVxdWVzdBITCgtjdXN0b21lcl9pZBgBIAEoCSI8ChFHZXRBZGRyZXNzUmVxdWVzdBITCgtjdXN0b21lcl9pZBgBIAEoCRISCgphZGRyZXNzX2lkGAIgASgJIpoDChJHZXRBZGRyZXNzUmVzcG9uc2USEgoKZmlyc3RfbmFtZRgBIAEoCRIRCglsYXN0X25hbWUYAiABKAkSEQoJYWRkcmVzc18xGAMgASgJEhEKCWFkZHJlc3NfMhgEIAEoCRIRCglhZGRyZXNzXzMYBSABKAkSFAoMcGhvbmVfbnVtYmVyGAYgASgJEhIKCmlzX2RlZmF1bHQYByABKAgSEAoIaXNfdmFsaWQYCCABKAgSEAoIemlwX2NvZGUYCSABKAkSDwoHY291bnRyeRgKIAEoCRIUCgxjb3VudHJ5X2NvZGUYCyABKAkSDwoHY29tcG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McGhvbmVfbnVtYmVyGAcgASgJEhIKCmlzX2RlZmF1bHQYCCABKAgSEAoIaXNfdmFsaWQYCSABKAgSEAoIemlwX2NvZGUYCiABKAkSDwoHY291bnRyeRgLIAEoCRIUCgxjb3VudHJ5X2NvZGUYDCABKAkSDwoHY29tcGFueRgNIAEoCRIMCgRjaXR5GA4gASgJEhAKCHByb3ZpbmNlGA8gASgJEhQKDGFkZHJlc3NfdHlwZRgQIAEoCRIYChBhZGRyZXNzX3Byb3ZpZGVyGBEgASgJEhIKCnN0YXRlX2NvZGUYEiABKAkSEgoKYWRkcmVzc19pZBgTIAEoCSI9ChVVcGRhdGVBZGRyZXNzUmVzcG9uc2USJAoHYWRkcmVzcxgBIAEoCzITLkdldEFkZHJlc3NSZXNwb25zZSI/ChREZWxldGVBZGRyZXNzUmVxdWVzdBITCgtjdXN0b21lcl9pZBgBIAEoCRISCgphZGRyZXNzX2lkGAIgASgJIigKFURlbGV0ZUFkZHJlc3NSZXNwb25zZRIPCgdzdWNjZXNzGAEgASgIQkxCDEFkZHJlc3NQcm90b1ABWjpwYWFrZC5jb20vcGFja2FnZXMvYXBpL2dlbi9zcmMvcHJvdG8vY3VzdG9tZXJzL3YxL2VudGl0aWVzYgZwcm90bzM', [validate_pb_1.file_buf_validate_validate]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message GetAddressesRequest.
|
|
17
|
+
* Use `create(GetAddressesRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
exports.GetAddressesRequestSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message GetAddressRequest.
|
|
24
|
+
* Use `create(GetAddressRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.GetAddressRequestSchema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message GetAddressResponse.
|
|
31
|
+
* Use `create(GetAddressResponseSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
exports.GetAddressResponseSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message GetAddressesResponse.
|
|
38
|
+
* Use `create(GetAddressesResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
exports.GetAddressesResponseSchema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 3);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message AddAddressRequest.
|
|
45
|
+
* Use `create(AddAddressRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
exports.AddAddressRequestSchema =
|
|
48
|
+
/*@__PURE__*/
|
|
49
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 4);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message AddAddressResponse.
|
|
52
|
+
* Use `create(AddAddressResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
exports.AddAddressResponseSchema =
|
|
55
|
+
/*@__PURE__*/
|
|
56
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 5);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message UpdateAddressRequest.
|
|
59
|
+
* Use `create(UpdateAddressRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
exports.UpdateAddressRequestSchema =
|
|
62
|
+
/*@__PURE__*/
|
|
63
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 6);
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message UpdateAddressResponse.
|
|
66
|
+
* Use `create(UpdateAddressResponseSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
exports.UpdateAddressResponseSchema =
|
|
69
|
+
/*@__PURE__*/
|
|
70
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 7);
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message DeleteAddressRequest.
|
|
73
|
+
* Use `create(DeleteAddressRequestSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
exports.DeleteAddressRequestSchema =
|
|
76
|
+
/*@__PURE__*/
|
|
77
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 8);
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message DeleteAddressResponse.
|
|
80
|
+
* Use `create(DeleteAddressResponseSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
exports.DeleteAddressResponseSchema =
|
|
83
|
+
/*@__PURE__*/
|
|
84
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_address, 9);
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file src/proto/customers/v1/entities/profile.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_src_proto_customers_v1_entities_profile: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message BasicProfileRequest
|
|
9
|
+
*/
|
|
10
|
+
export type BasicProfileRequest = Message<'BasicProfileRequest'> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: string customer_id = 1;
|
|
13
|
+
*/
|
|
14
|
+
customerId: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message BasicProfileRequest.
|
|
18
|
+
* Use `create(BasicProfileRequestSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export declare const BasicProfileRequestSchema: GenMessage<BasicProfileRequest>;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from message BasicProfileResponse
|
|
23
|
+
*/
|
|
24
|
+
export type BasicProfileResponse = Message<'BasicProfileResponse'> & {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string id = 1;
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string email = 2;
|
|
31
|
+
*/
|
|
32
|
+
email: string;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string first_name = 3;
|
|
35
|
+
*/
|
|
36
|
+
firstName: string;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string last_name = 4;
|
|
39
|
+
*/
|
|
40
|
+
lastName: string;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string other_names = 5;
|
|
43
|
+
*/
|
|
44
|
+
otherNames: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message BasicProfileResponse.
|
|
48
|
+
* Use `create(BasicProfileResponseSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export declare const BasicProfileResponseSchema: GenMessage<BasicProfileResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message ProfileRequest
|
|
53
|
+
*/
|
|
54
|
+
export type ProfileRequest = Message<'ProfileRequest'> & {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string customer_id = 1;
|
|
57
|
+
*/
|
|
58
|
+
customerId: string;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message ProfileRequest.
|
|
62
|
+
* Use `create(ProfileRequestSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export declare const ProfileRequestSchema: GenMessage<ProfileRequest>;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message ProfileResponse
|
|
67
|
+
*/
|
|
68
|
+
export type ProfileResponse = Message<'ProfileResponse'> & {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string customer_id = 1;
|
|
71
|
+
*/
|
|
72
|
+
customerId: string;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string first_name = 2;
|
|
75
|
+
*/
|
|
76
|
+
firstName: string;
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: string last_name = 3;
|
|
79
|
+
*/
|
|
80
|
+
lastName: string;
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: string other_names = 4;
|
|
83
|
+
*/
|
|
84
|
+
otherNames: string;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: string date_of_birth = 5;
|
|
87
|
+
*/
|
|
88
|
+
dateOfBirth: string;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: string email = 6;
|
|
91
|
+
*/
|
|
92
|
+
email: string;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: string gender = 7;
|
|
95
|
+
*/
|
|
96
|
+
gender: string;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: string phone = 8;
|
|
99
|
+
*/
|
|
100
|
+
phone: string;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message ProfileResponse.
|
|
104
|
+
* Use `create(ProfileResponseSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export declare const ProfileResponseSchema: GenMessage<ProfileResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* @generated from message ChangePasswordRequest
|
|
109
|
+
*/
|
|
110
|
+
export type ChangePasswordRequest = Message<'ChangePasswordRequest'> & {
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: string customer_id = 1;
|
|
113
|
+
*/
|
|
114
|
+
customerId: string;
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: string old_password = 2;
|
|
117
|
+
*/
|
|
118
|
+
oldPassword: string;
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: string new_password = 3;
|
|
121
|
+
*/
|
|
122
|
+
newPassword: string;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Describes the message ChangePasswordRequest.
|
|
126
|
+
* Use `create(ChangePasswordRequestSchema)` to create a new message.
|
|
127
|
+
*/
|
|
128
|
+
export declare const ChangePasswordRequestSchema: GenMessage<ChangePasswordRequest>;
|
|
129
|
+
/**
|
|
130
|
+
* @generated from message ChangePasswordResponse
|
|
131
|
+
*/
|
|
132
|
+
export type ChangePasswordResponse = Message<'ChangePasswordResponse'> & {};
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message ChangePasswordResponse.
|
|
135
|
+
* Use `create(ChangePasswordResponseSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export declare const ChangePasswordResponseSchema: GenMessage<ChangePasswordResponse>;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from message UpdateProfileRequest
|
|
140
|
+
*/
|
|
141
|
+
export type UpdateProfileRequest = Message<'UpdateProfileRequest'> & {
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: string customer_id = 1;
|
|
144
|
+
*/
|
|
145
|
+
customerId: string;
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: string first_name = 2;
|
|
148
|
+
*/
|
|
149
|
+
firstName: string;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: string last_name = 3;
|
|
152
|
+
*/
|
|
153
|
+
lastName: string;
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string other_names = 4;
|
|
156
|
+
*/
|
|
157
|
+
otherNames: string;
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: string date_of_birth = 5;
|
|
160
|
+
*/
|
|
161
|
+
dateOfBirth: string;
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string email = 6;
|
|
164
|
+
*/
|
|
165
|
+
email: string;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: string gender = 7;
|
|
168
|
+
*/
|
|
169
|
+
gender: string;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string phone = 8;
|
|
172
|
+
*/
|
|
173
|
+
phone: string;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message UpdateProfileRequest.
|
|
177
|
+
* Use `create(UpdateProfileRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export declare const UpdateProfileRequestSchema: GenMessage<UpdateProfileRequest>;
|
|
180
|
+
/**
|
|
181
|
+
* @generated from message UpdateProfileResponse
|
|
182
|
+
*/
|
|
183
|
+
export type UpdateProfileResponse = Message<'UpdateProfileResponse'> & {};
|
|
184
|
+
/**
|
|
185
|
+
* Describes the message UpdateProfileResponse.
|
|
186
|
+
* Use `create(UpdateProfileResponseSchema)` to create a new message.
|
|
187
|
+
*/
|
|
188
|
+
export declare const UpdateProfileResponseSchema: GenMessage<UpdateProfileResponse>;
|
|
189
|
+
//# sourceMappingURL=profile_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile_pb.d.ts","sourceRoot":"","sources":["../../../../../../../gen/src/proto/customers/v1/entities/profile_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,mBAAmB,GAAG,OAAO,CAAC,qBAAqB,CAAC,GAAG;IACjE;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAAC,mBAAmB,CAER,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG;IACnE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,C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E,UAAU,CAAC,sBAAsB,CAEd,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,sBAAsB,CAAC,GAAG;IACnE;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,UAAU,CAAC,oBAAoB,CAEV,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG,EAAE,CAAA;AAEzE;;;GAGG;AACH,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,qBAAqB,CAEZ,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/customers/v1/entities/profile.proto (syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UpdateProfileResponseSchema = exports.UpdateProfileRequestSchema = exports.ChangePasswordResponseSchema = exports.ChangePasswordRequestSchema = exports.ProfileResponseSchema = exports.ProfileRequestSchema = exports.BasicProfileResponseSchema = exports.BasicProfileRequestSchema = exports.file_src_proto_customers_v1_entities_profile = 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/customers/v1/entities/profile.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_src_proto_customers_v1_entities_profile =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
(0, codegenv2_1.fileDesc)('Ci1zcmMvcHJvdG8vY3VzdG9tZXJzL3YxL2VudGl0aWVzL3Byb2ZpbGUucHJvdG8iWQoTQmFzaWNQcm9maWxlUmVxdWVzdBJCCgtjdXN0b21lcl9pZBgBIAEoCUItukgqyAEBciUyI15bYS16XXszfVtfXVswLTlhLWhqa21ucC10di16XXsyNn0kIm0KFEJhc2ljUHJvZmlsZVJlc3BvbnNlEgoKAmlkGAEgASgJEg0KBWVtYWlsGAIgASgJEhIKCmZpcnN0X25hbWUYAyABKAkSEQoJbGFzdF9uYW1lGAQgASgJEhMKC290aGVyX25hbWVzGAUgASgJIlQKDlByb2ZpbGVSZXF1ZXN0EkIKC2N1c3RvbWVyX2lkGAEgASgJQi26SCrIAQFyJTIjXlthLXpdezN9W19dWzAtOWEtaGprbW5wLXR2LXpdezI2fSQipwEKD1Byb2ZpbGVSZXNwb25zZRITCgtjdXN0b21lcl9pZBgBIAEoCRISCgpmaXJzdF9uYW1lGAIgASgJEhEKCWxhc3RfbmFtZRgDIAEoCRITCgtvdGhlcl9uYW1lcxgEIAEoCRIVCg1kYXRlX29mX2JpcnRoGAUgASgJEg0KBWVtYWlsGAYgASgJEg4KBmdlbmRlchgHIAEoCRINCgVwaG9uZRgIIAEoCSKiBwoVQ2hhbmdlUGFzc3dvcmRSZXF1ZXN0EiAKC2N1c3RvbWVyX2lkGAEgASgJQgu6SAjIAQFyA5gBGhIcCgxvbGRfcGFzc3dvcmQYAiABKAlCBrpIA8gBARIcCgxuZXdfcGFzc3dvcmQYAyABKAlCBrpIA8gBATqqBrpIpgYapgEKInBhc3N3b3JkX2NvbXBsZXhpdHlfbG93ZXJjYXNlX211c3QSM1Bhc3N3b3JkIG11c3QgY29udGFpbiBhdCBsZ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b21lcl9pZBgBIAEoCUIKukgHyAEBcgIQGhIgCgpmaXJzdF9uYW1lGAIgASgJQgy6SAnIAQFyBBACGBQSHwoJbGFzdF9uYW1lGAMgASgJQgy6SAnIAQFyBBACGBQSHAoLb3RoZXJfbmFtZXMYBCABKAlCB7pIBHICGBQSFQoNZGF0ZV9vZl9iaXJ0aBgFIAEoCRIZCgVlbWFpbBgGIAEoCUIKukgHyAEBcgJgARIOCgZnZW5kZXIYByABKAkSFgoFcGhvbmUYCCABKAlCB7pIBHICGBQ6ogG6SJ4BGpsBChRnZW5kZXJfbXVzdF9iZV92YWxpZBIyR2VuZGVyIG11c3QgYmUgZWl0aGVyICdtYWxlJywgJ2ZlbWFsZScsIG9yICdvdGhlcicaT3RoaXMuZ2VuZGVyICE9ICcnID8gc3RyaW5nKHRoaXMuZ2VuZGVyKS5tYXRjaGVzKCdeKG1hbGV8ZmVtYWxlfG90aGVyKSQnKSA6IHRydWUiFwoVVXBkYXRlUHJvZmlsZVJlc3BvbnNlQkxCDFByb2ZpbGVQcm90b1ABWjpwYWFrZC5jb20vcGFja2FnZXMvYXBpL2dlbi9zcmMvcHJvdG8vY3VzdG9tZXJzL3YxL2VudGl0aWVzYgZwcm90bzM', [validate_pb_1.file_buf_validate_validate]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message BasicProfileRequest.
|
|
17
|
+
* Use `create(BasicProfileRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
exports.BasicProfileRequestSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_profile, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message BasicProfileResponse.
|
|
24
|
+
* Use `create(BasicProfileResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
exports.BasicProfileResponseSchema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_profile, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message ProfileRequest.
|
|
31
|
+
* Use `create(ProfileRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
exports.ProfileRequestSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_profile, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message ProfileResponse.
|
|
38
|
+
* Use `create(ProfileResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
exports.ProfileResponseSchema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_profile, 3);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message ChangePasswordRequest.
|
|
45
|
+
* Use `create(ChangePasswordRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
exports.ChangePasswordRequestSchema =
|
|
48
|
+
/*@__PURE__*/
|
|
49
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_profile, 4);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message ChangePasswordResponse.
|
|
52
|
+
* Use `create(ChangePasswordResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
exports.ChangePasswordResponseSchema =
|
|
55
|
+
/*@__PURE__*/
|
|
56
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_profile, 5);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message UpdateProfileRequest.
|
|
59
|
+
* Use `create(UpdateProfileRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
exports.UpdateProfileRequestSchema =
|
|
62
|
+
/*@__PURE__*/
|
|
63
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_profile, 6);
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message UpdateProfileResponse.
|
|
66
|
+
* Use `create(UpdateProfileResponseSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
exports.UpdateProfileResponseSchema =
|
|
69
|
+
/*@__PURE__*/
|
|
70
|
+
(0, codegenv2_1.messageDesc)(exports.file_src_proto_customers_v1_entities_profile, 7);
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { GenFile, GenService } from '@bufbuild/protobuf/codegenv2';
|
|
2
|
+
import type { AddAddressRequestSchema, AddAddressResponseSchema, DeleteAddressRequestSchema, DeleteAddressResponseSchema, GetAddressesRequestSchema, GetAddressesResponseSchema, GetAddressRequestSchema, GetAddressResponseSchema, UpdateAddressRequestSchema, UpdateAddressResponseSchema } from './entities/address_pb';
|
|
3
|
+
import type { BasicProfileRequestSchema, BasicProfileResponseSchema, ChangePasswordRequestSchema, ChangePasswordResponseSchema, ProfileRequestSchema, ProfileResponseSchema, UpdateProfileRequestSchema, UpdateProfileResponseSchema } from './entities/profile_pb';
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file src/proto/customers/v1/service.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_src_proto_customers_v1_service: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from service apps.enterprise.interfaces.rpc.customers.v1.CustomerService
|
|
10
|
+
*/
|
|
11
|
+
export declare const CustomerService: GenService<{
|
|
12
|
+
/**
|
|
13
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.BasicProfile
|
|
14
|
+
*/
|
|
15
|
+
basicProfile: {
|
|
16
|
+
methodKind: 'unary';
|
|
17
|
+
input: typeof BasicProfileRequestSchema;
|
|
18
|
+
output: typeof BasicProfileResponseSchema;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.Profile
|
|
22
|
+
*/
|
|
23
|
+
profile: {
|
|
24
|
+
methodKind: 'unary';
|
|
25
|
+
input: typeof ProfileRequestSchema;
|
|
26
|
+
output: typeof ProfileResponseSchema;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.ChangePassword
|
|
30
|
+
*/
|
|
31
|
+
changePassword: {
|
|
32
|
+
methodKind: 'unary';
|
|
33
|
+
input: typeof ChangePasswordRequestSchema;
|
|
34
|
+
output: typeof ChangePasswordResponseSchema;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.UpdateProfile
|
|
38
|
+
*/
|
|
39
|
+
updateProfile: {
|
|
40
|
+
methodKind: 'unary';
|
|
41
|
+
input: typeof UpdateProfileRequestSchema;
|
|
42
|
+
output: typeof UpdateProfileResponseSchema;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.GetAddress
|
|
46
|
+
*/
|
|
47
|
+
getAddress: {
|
|
48
|
+
methodKind: 'unary';
|
|
49
|
+
input: typeof GetAddressRequestSchema;
|
|
50
|
+
output: typeof GetAddressResponseSchema;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.GetAddresses
|
|
54
|
+
*/
|
|
55
|
+
getAddresses: {
|
|
56
|
+
methodKind: 'unary';
|
|
57
|
+
input: typeof GetAddressesRequestSchema;
|
|
58
|
+
output: typeof GetAddressesResponseSchema;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.AddAddress
|
|
62
|
+
*/
|
|
63
|
+
addAddress: {
|
|
64
|
+
methodKind: 'unary';
|
|
65
|
+
input: typeof AddAddressRequestSchema;
|
|
66
|
+
output: typeof AddAddressResponseSchema;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.UpdateAddress
|
|
70
|
+
*/
|
|
71
|
+
updateAddress: {
|
|
72
|
+
methodKind: 'unary';
|
|
73
|
+
input: typeof UpdateAddressRequestSchema;
|
|
74
|
+
output: typeof UpdateAddressResponseSchema;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @generated from rpc apps.enterprise.interfaces.rpc.customers.v1.CustomerService.DeleteAddress
|
|
78
|
+
*/
|
|
79
|
+
deleteAddress: {
|
|
80
|
+
methodKind: 'unary';
|
|
81
|
+
input: typeof DeleteAddressRequestSchema;
|
|
82
|
+
output: typeof DeleteAddressResponseSchema;
|
|
83
|
+
};
|
|
84
|
+
}>;
|
|
85
|
+
//# sourceMappingURL=service_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service_pb.d.ts","sourceRoot":"","sources":["../../../../../../gen/src/proto/customers/v1/service_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAEvE,OAAO,KAAK,EACV,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,uBAAuB,CAAA;AAG9B;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,OAQ/C,CAAA;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC;IACvC;;OAEG;IACH,YAAY,EAAE;QACZ,UAAU,EAAE,OAAO,CAAA;QACnB,KAAK,EAAE,OAAO,yBAAyB,CAAA;QACvC,MAAM,EAAE,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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
3
|
+
// @generated from file src/proto/customers/v1/service.proto (package apps.enterprise.interfaces.rpc.customers.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CustomerService = exports.file_src_proto_customers_v1_service = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const address_pb_1 = require("./entities/address_pb");
|
|
9
|
+
const profile_pb_1 = require("./entities/profile_pb");
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file src/proto/customers/v1/service.proto.
|
|
12
|
+
*/
|
|
13
|
+
exports.file_src_proto_customers_v1_service =
|
|
14
|
+
/*@__PURE__*/
|
|
15
|
+
(0, codegenv2_1.fileDesc)('CiRzcmMvcHJvdG8vY3VzdG9tZXJzL3YxL3NlcnZpY2UucHJvdG8SK2FwcHMuZW50ZXJwcmlzZS5pbnRlcmZhY2VzLnJwYy5jdXN0b21lcnMudjEy0QQKD0N1c3RvbWVyU2VydmljZRJACgxCYXNpY1Byb2ZpbGUSFC5CYXNpY1Byb2ZpbGVSZXF1ZXN0GhUuQmFzaWNQcm9maWxlUmVzcG9uc2UiA5ACARIxCgdQcm9maWxlEg8uUHJvZmlsZVJlcXVlc3QaEC5Qcm9maWxlUmVzcG9uc2UiA5ACARJDCg5DaGFuZ2VQYXNzd29yZBIWLkNoYW5nZVBhc3N3b3JkUmVxdWVzdBoXLkNoYW5nZVBhc3N3b3JkUmVzcG9uc2UiABJACg1VcGRhdGVQcm9maWxlEhUuVXBkYXRlUHJvZmlsZVJlcXVlc3QaFi5VcGRhdGVQcm9maWxlUmVzcG9uc2UiABI6CgpHZXRBZGRyZXNzEhIuR2V0QWRkcmVzc1JlcXVlc3QaEy5HZXRBZGRyZXNzUmVzcG9uc2UiA5ACARJACgxHZXRBZGRyZXNzZXMSFC5HZXRBZGRyZXNzZXNSZXF1ZXN0GhUuR2V0QWRkcmVzc2VzUmVzcG9uc2UiA5ACARI6CgpBZGRBZGRyZXNzEhIuQWRkQWRkcmVzc1JlcXVlc3QaEy5BZGRBZGRyZXNzUmVzcG9uc2UiA5ACARJDCg1VcGRhdGVBZGRyZXNzEhUuVXBkYXRlQWRkcmVzc1JlcXVlc3QaFi5VcGRhdGVBZGRyZXNzUmVzcG9uc2UiA5ACARJDCg1EZWxldGVBZGRyZXNzEhUuRGVsZXRlQWRkcmVzc1JlcXVlc3QaFi5EZWxldGVBZGRyZXNzUmVzcG9uc2UiA5ACAULRAgovY29tLmFwcHMuZW50ZXJwcmlzZS5pbnRlcmZhY2VzLnJwYy5jdXN0b21lcnMudjFCDFNlcnZpY2VQcm90b1ABWj1wYWFrZC5jb20vcGFja2FnZXMvYXBpL2dlbi9zcmMvcHJvdG8vY3VzdG9tZXJzL3YxO2N1c3RvbWVyc3YxogIFQUVJUkOqAitBcHBzLkVudGVycHJpc2UuSW50ZXJmYWNlcy5ScGMuQ3VzdG9tZXJzLlYxygIrQXBwc1xFbnRlcnByaXNlXEludGVyZmFjZXNcUnBjXEN1c3RvbWVyc1xWMeICN0FwcHNcRW50ZXJwcmlzZVxJbnRlcmZhY2VzXFJwY1xDdXN0b21lcnNcVjFcR1BCTWV0YWRhdGHqAjBBcHBzOjpFbnRlcnByaXNlOjpJbnRlcmZhY2VzOjpScGM6OkN1c3RvbWVyczo6VjFiBnByb3RvMw', [
|
|
16
|
+
address_pb_1.file_src_proto_customers_v1_entities_address,
|
|
17
|
+
profile_pb_1.file_src_proto_customers_v1_entities_profile,
|
|
18
|
+
]);
|
|
19
|
+
/**
|
|
20
|
+
* @generated from service apps.enterprise.interfaces.rpc.customers.v1.CustomerService
|
|
21
|
+
*/
|
|
22
|
+
exports.CustomerService = (0, codegenv2_1.serviceDesc)(exports.file_src_proto_customers_v1_service, 0);
|