@g2gs/contracts 1.0.30 → 1.0.32
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/admin/category/v1/service_connect.d.ts +62 -0
- package/admin/category/v1/service_connect.js +62 -0
- package/admin/category/v1/service_pb.d.ts +414 -0
- package/admin/category/v1/service_pb.js +121 -0
- package/admin/product/v1/service_connect.d.ts +98 -0
- package/admin/product/v1/service_connect.js +98 -0
- package/admin/product/v1/service_pb.d.ts +1017 -0
- package/admin/product/v1/service_pb.js +276 -0
- package/admin/roles/v1/role_pb.d.ts +43 -0
- package/admin/roles/v1/role_pb.js +19 -0
- package/admin/roles/v1/service_connect.d.ts +129 -0
- package/admin/roles/v1/service_connect.js +129 -0
- package/admin/roles/v1/service_pb.d.ts +630 -0
- package/admin/roles/v1/service_pb.js +211 -0
- package/admin/roles/v1/staff_roles_pb.d.ts +38 -0
- package/admin/roles/v1/staff_roles_pb.js +19 -0
- package/admin/staff/v1/service_connect.d.ts +94 -0
- package/admin/staff/v1/service_connect.js +94 -0
- package/admin/staff/v1/service_pb.d.ts +444 -0
- package/admin/staff/v1/service_pb.js +138 -0
- package/admin/template_ref/v1/service_connect.d.ts +89 -0
- package/admin/template_ref/v1/service_connect.js +89 -0
- package/admin/template_ref/v1/service_pb.d.ts +707 -0
- package/admin/template_ref/v1/service_pb.js +181 -0
- package/common/v1/empty_pb.d.ts +24 -0
- package/common/v1/empty_pb.js +19 -0
- package/common/v1/pagination_pb.d.ts +59 -0
- package/common/v1/pagination_pb.js +26 -0
- package/identity/v1/auth_connect.d.ts +44 -0
- package/identity/v1/auth_connect.js +44 -0
- package/identity/v1/auth_pb.d.ts +164 -0
- package/identity/v1/auth_pb.js +68 -0
- package/package.json +1 -4
- package/public/catalog/v1/service_connect.d.ts +44 -0
- package/public/catalog/v1/service_connect.js +44 -0
- package/public/catalog/v1/service_pb.d.ts +442 -0
- package/public/catalog/v1/service_pb.js +147 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1
|
|
2
|
+
// @generated from file admin/product/v1/service.proto (package admin.product.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { ActivateProductRequest, ActivateProductResponse, AddVariantRequest, AddVariantResponse, ArchiveProductRequest, ArchiveProductResponse, CreateProductRequest, CreateProductResponse, DeactivateProductRequest, DeactivateProductResponse, GetProductRequest, GetProductResponse, ListProductsRequest, ListProductsResponse, UpdateProductRequest, UpdateProductResponse, UpdateVariantRequest, UpdateVariantResponse } from "./service_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service admin.product.v1.ProductAdminService
|
|
11
|
+
*/
|
|
12
|
+
export declare const ProductAdminService: {
|
|
13
|
+
readonly typeName: "admin.product.v1.ProductAdminService",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc admin.product.v1.ProductAdminService.CreateProduct
|
|
17
|
+
*/
|
|
18
|
+
readonly createProduct: {
|
|
19
|
+
readonly name: "CreateProduct",
|
|
20
|
+
readonly I: typeof CreateProductRequest,
|
|
21
|
+
readonly O: typeof CreateProductResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc admin.product.v1.ProductAdminService.UpdateProduct
|
|
26
|
+
*/
|
|
27
|
+
readonly updateProduct: {
|
|
28
|
+
readonly name: "UpdateProduct",
|
|
29
|
+
readonly I: typeof UpdateProductRequest,
|
|
30
|
+
readonly O: typeof UpdateProductResponse,
|
|
31
|
+
readonly kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc admin.product.v1.ProductAdminService.GetProduct
|
|
35
|
+
*/
|
|
36
|
+
readonly getProduct: {
|
|
37
|
+
readonly name: "GetProduct",
|
|
38
|
+
readonly I: typeof GetProductRequest,
|
|
39
|
+
readonly O: typeof GetProductResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ListProducts
|
|
44
|
+
*/
|
|
45
|
+
readonly listProducts: {
|
|
46
|
+
readonly name: "ListProducts",
|
|
47
|
+
readonly I: typeof ListProductsRequest,
|
|
48
|
+
readonly O: typeof ListProductsResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ActivateProduct
|
|
53
|
+
*/
|
|
54
|
+
readonly activateProduct: {
|
|
55
|
+
readonly name: "ActivateProduct",
|
|
56
|
+
readonly I: typeof ActivateProductRequest,
|
|
57
|
+
readonly O: typeof ActivateProductResponse,
|
|
58
|
+
readonly kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc admin.product.v1.ProductAdminService.DeactivateProduct
|
|
62
|
+
*/
|
|
63
|
+
readonly deactivateProduct: {
|
|
64
|
+
readonly name: "DeactivateProduct",
|
|
65
|
+
readonly I: typeof DeactivateProductRequest,
|
|
66
|
+
readonly O: typeof DeactivateProductResponse,
|
|
67
|
+
readonly kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ArchiveProduct
|
|
71
|
+
*/
|
|
72
|
+
readonly archiveProduct: {
|
|
73
|
+
readonly name: "ArchiveProduct",
|
|
74
|
+
readonly I: typeof ArchiveProductRequest,
|
|
75
|
+
readonly O: typeof ArchiveProductResponse,
|
|
76
|
+
readonly kind: MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* @generated from rpc admin.product.v1.ProductAdminService.AddVariant
|
|
80
|
+
*/
|
|
81
|
+
readonly addVariant: {
|
|
82
|
+
readonly name: "AddVariant",
|
|
83
|
+
readonly I: typeof AddVariantRequest,
|
|
84
|
+
readonly O: typeof AddVariantResponse,
|
|
85
|
+
readonly kind: MethodKind.Unary,
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* @generated from rpc admin.product.v1.ProductAdminService.UpdateVariant
|
|
89
|
+
*/
|
|
90
|
+
readonly updateVariant: {
|
|
91
|
+
readonly name: "UpdateVariant",
|
|
92
|
+
readonly I: typeof UpdateVariantRequest,
|
|
93
|
+
readonly O: typeof UpdateVariantResponse,
|
|
94
|
+
readonly kind: MethodKind.Unary,
|
|
95
|
+
},
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1
|
|
2
|
+
// @generated from file admin/product/v1/service.proto (package admin.product.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { ActivateProductRequest, ActivateProductResponse, AddVariantRequest, AddVariantResponse, ArchiveProductRequest, ArchiveProductResponse, CreateProductRequest, CreateProductResponse, DeactivateProductRequest, DeactivateProductResponse, GetProductRequest, GetProductResponse, ListProductsRequest, ListProductsResponse, UpdateProductRequest, UpdateProductResponse, UpdateVariantRequest, UpdateVariantResponse } from "./service_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service admin.product.v1.ProductAdminService
|
|
11
|
+
*/
|
|
12
|
+
export const ProductAdminService = {
|
|
13
|
+
typeName: "admin.product.v1.ProductAdminService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc admin.product.v1.ProductAdminService.CreateProduct
|
|
17
|
+
*/
|
|
18
|
+
createProduct: {
|
|
19
|
+
name: "CreateProduct",
|
|
20
|
+
I: CreateProductRequest,
|
|
21
|
+
O: CreateProductResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc admin.product.v1.ProductAdminService.UpdateProduct
|
|
26
|
+
*/
|
|
27
|
+
updateProduct: {
|
|
28
|
+
name: "UpdateProduct",
|
|
29
|
+
I: UpdateProductRequest,
|
|
30
|
+
O: UpdateProductResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc admin.product.v1.ProductAdminService.GetProduct
|
|
35
|
+
*/
|
|
36
|
+
getProduct: {
|
|
37
|
+
name: "GetProduct",
|
|
38
|
+
I: GetProductRequest,
|
|
39
|
+
O: GetProductResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ListProducts
|
|
44
|
+
*/
|
|
45
|
+
listProducts: {
|
|
46
|
+
name: "ListProducts",
|
|
47
|
+
I: ListProductsRequest,
|
|
48
|
+
O: ListProductsResponse,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ActivateProduct
|
|
53
|
+
*/
|
|
54
|
+
activateProduct: {
|
|
55
|
+
name: "ActivateProduct",
|
|
56
|
+
I: ActivateProductRequest,
|
|
57
|
+
O: ActivateProductResponse,
|
|
58
|
+
kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc admin.product.v1.ProductAdminService.DeactivateProduct
|
|
62
|
+
*/
|
|
63
|
+
deactivateProduct: {
|
|
64
|
+
name: "DeactivateProduct",
|
|
65
|
+
I: DeactivateProductRequest,
|
|
66
|
+
O: DeactivateProductResponse,
|
|
67
|
+
kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc admin.product.v1.ProductAdminService.ArchiveProduct
|
|
71
|
+
*/
|
|
72
|
+
archiveProduct: {
|
|
73
|
+
name: "ArchiveProduct",
|
|
74
|
+
I: ArchiveProductRequest,
|
|
75
|
+
O: ArchiveProductResponse,
|
|
76
|
+
kind: MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* @generated from rpc admin.product.v1.ProductAdminService.AddVariant
|
|
80
|
+
*/
|
|
81
|
+
addVariant: {
|
|
82
|
+
name: "AddVariant",
|
|
83
|
+
I: AddVariantRequest,
|
|
84
|
+
O: AddVariantResponse,
|
|
85
|
+
kind: MethodKind.Unary,
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* @generated from rpc admin.product.v1.ProductAdminService.UpdateVariant
|
|
89
|
+
*/
|
|
90
|
+
updateVariant: {
|
|
91
|
+
name: "UpdateVariant",
|
|
92
|
+
I: UpdateVariantRequest,
|
|
93
|
+
O: UpdateVariantResponse,
|
|
94
|
+
kind: MethodKind.Unary,
|
|
95
|
+
},
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|