@echovisionlab/geul-proto 0.1.0
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/LICENSE.md +6 -0
- package/README.md +6 -0
- package/eslint.config.mjs +15 -0
- package/gen/api/common/v1/common_pb.ts +391 -0
- package/gen/api/common/v1/media_pb.ts +578 -0
- package/gen/api/content/v1/block_catalog.ts +5978 -0
- package/gen/api/content/v1/block_content_pb.ts +11420 -0
- package/gen/api/intra/v1/artist_pb.ts +597 -0
- package/gen/api/intra/v1/campaign_pb.ts +383 -0
- package/gen/api/intra/v1/collaboration_pb.ts +661 -0
- package/gen/api/intra/v1/email_courier_pb.ts +98 -0
- package/gen/api/intra/v1/email_layout_pb.ts +295 -0
- package/gen/api/intra/v1/email_template_pb.ts +384 -0
- package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
- package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
- package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
- package/gen/api/intra/v1/form_pb.ts +276 -0
- package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
- package/gen/api/intra/v1/label_pb.ts +558 -0
- package/gen/api/intra/v1/map_pb.ts +382 -0
- package/gen/api/intra/v1/menu_pb.ts +282 -0
- package/gen/api/intra/v1/og_pb.ts +335 -0
- package/gen/api/intra/v1/page_pb.ts +572 -0
- package/gen/api/intra/v1/post_pb.ts +657 -0
- package/gen/api/intra/v1/post_series_pb.ts +217 -0
- package/gen/api/intra/v1/privacy_pb.ts +384 -0
- package/gen/api/intra/v1/program_event_pb.ts +390 -0
- package/gen/api/intra/v1/release_pb.ts +462 -0
- package/gen/api/intra/v1/terms_pb.ts +384 -0
- package/gen/api/intra/v1/work_pb.ts +477 -0
- package/gen/api/manage/v1/account_pb.ts +1311 -0
- package/gen/api/manage/v1/admin_pb.ts +681 -0
- package/gen/api/manage/v1/ai_pb.ts +2621 -0
- package/gen/api/manage/v1/artist_pb.ts +1271 -0
- package/gen/api/manage/v1/audience_pb.ts +597 -0
- package/gen/api/manage/v1/campaign_pb.ts +1289 -0
- package/gen/api/manage/v1/category_pb.ts +351 -0
- package/gen/api/manage/v1/client_pb.ts +512 -0
- package/gen/api/manage/v1/collaboration_pb.ts +112 -0
- package/gen/api/manage/v1/comment_pb.ts +530 -0
- package/gen/api/manage/v1/common_pb.ts +192 -0
- package/gen/api/manage/v1/email_layout_pb.ts +487 -0
- package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
- package/gen/api/manage/v1/email_template_pb.ts +683 -0
- package/gen/api/manage/v1/events_pb.ts +3251 -0
- package/gen/api/manage/v1/file_pb.ts +2810 -0
- package/gen/api/manage/v1/form_pb.ts +1046 -0
- package/gen/api/manage/v1/format_pb.ts +321 -0
- package/gen/api/manage/v1/genre_pb.ts +340 -0
- package/gen/api/manage/v1/label_pb.ts +1105 -0
- package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
- package/gen/api/manage/v1/map_place_pb.ts +572 -0
- package/gen/api/manage/v1/map_theme_pb.ts +691 -0
- package/gen/api/manage/v1/member_pb.ts +1281 -0
- package/gen/api/manage/v1/menu_pb.ts +535 -0
- package/gen/api/manage/v1/page_pb.ts +894 -0
- package/gen/api/manage/v1/post_pb.ts +1475 -0
- package/gen/api/manage/v1/privacy_pb.ts +518 -0
- package/gen/api/manage/v1/program_event_pb.ts +2234 -0
- package/gen/api/manage/v1/release_pb.ts +1168 -0
- package/gen/api/manage/v1/series_pb.ts +1033 -0
- package/gen/api/manage/v1/share_link_pb.ts +351 -0
- package/gen/api/manage/v1/site_setting_pb.ts +623 -0
- package/gen/api/manage/v1/style_pb.ts +340 -0
- package/gen/api/manage/v1/tag_pb.ts +323 -0
- package/gen/api/manage/v1/terms_pb.ts +517 -0
- package/gen/api/manage/v1/track_pb.ts +543 -0
- package/gen/api/manage/v1/translation_pb.ts +1838 -0
- package/gen/api/manage/v1/work_pb.ts +1662 -0
- package/gen/api/open/v1/account_pb.ts +243 -0
- package/gen/api/open/v1/artist_pb.ts +732 -0
- package/gen/api/open/v1/category_pb.ts +143 -0
- package/gen/api/open/v1/client_pb.ts +190 -0
- package/gen/api/open/v1/file_pb.ts +244 -0
- package/gen/api/open/v1/form_pb.ts +698 -0
- package/gen/api/open/v1/label_pb.ts +512 -0
- package/gen/api/open/v1/manifest_pb.ts +326 -0
- package/gen/api/open/v1/map_place_pb.ts +228 -0
- package/gen/api/open/v1/map_theme_pb.ts +400 -0
- package/gen/api/open/v1/member_pb.ts +200 -0
- package/gen/api/open/v1/newsletter_pb.ts +77 -0
- package/gen/api/open/v1/page_pb.ts +236 -0
- package/gen/api/open/v1/post_pb.ts +834 -0
- package/gen/api/open/v1/privacy_pb.ts +257 -0
- package/gen/api/open/v1/program_event_pb.ts +1024 -0
- package/gen/api/open/v1/release_pb.ts +758 -0
- package/gen/api/open/v1/series_pb.ts +210 -0
- package/gen/api/open/v1/share_link_pb.ts +106 -0
- package/gen/api/open/v1/sitemap_pb.ts +188 -0
- package/gen/api/open/v1/tag_pb.ts +136 -0
- package/gen/api/open/v1/terms_pb.ts +257 -0
- package/gen/api/open/v1/translation_pb.ts +103 -0
- package/gen/api/open/v1/work_pb.ts +904 -0
- package/gen/api/policy/v1/access_pb.ts +105 -0
- package/gen/api/policy/v1/spicedb/artist.ts +101 -0
- package/gen/api/policy/v1/spicedb/audience.ts +64 -0
- package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
- package/gen/api/policy/v1/spicedb/core.ts +196 -0
- package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
- package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
- package/gen/api/policy/v1/spicedb/file.ts +49 -0
- package/gen/api/policy/v1/spicedb/form.ts +54 -0
- package/gen/api/policy/v1/spicedb/internal.ts +350 -0
- package/gen/api/policy/v1/spicedb/label.ts +98 -0
- package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
- package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
- package/gen/api/policy/v1/spicedb/member.ts +47 -0
- package/gen/api/policy/v1/spicedb/menu.ts +48 -0
- package/gen/api/policy/v1/spicedb/page.ts +54 -0
- package/gen/api/policy/v1/spicedb/post.ts +105 -0
- package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
- package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
- package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
- package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
- package/gen/api/policy/v1/spicedb/release.ts +81 -0
- package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
- package/gen/api/policy/v1/spicedb/translation.ts +46 -0
- package/gen/api/policy/v1/spicedb/work.ts +58 -0
- package/package.json +66 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/manage/v1/category.proto (package api.manage.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenFile,
|
|
5
|
+
GenMessage,
|
|
6
|
+
GenService,
|
|
7
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
8
|
+
import {
|
|
9
|
+
fileDesc,
|
|
10
|
+
messageDesc,
|
|
11
|
+
serviceDesc,
|
|
12
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
13
|
+
import type {
|
|
14
|
+
FilterSpec,
|
|
15
|
+
PaginationRequest,
|
|
16
|
+
PaginationResponse,
|
|
17
|
+
SortSpec,
|
|
18
|
+
} from "../../common/v1/common_pb.ts";
|
|
19
|
+
import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
|
|
20
|
+
import type { DeleteResponseSchema } from "./common_pb.ts";
|
|
21
|
+
import { file_api_manage_v1_common } from "./common_pb.ts";
|
|
22
|
+
import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
|
|
23
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
24
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
25
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the file api/manage/v1/category.proto.
|
|
29
|
+
*/
|
|
30
|
+
export const file_api_manage_v1_category: GenFile =
|
|
31
|
+
/*@__PURE__*/
|
|
32
|
+
fileDesc(
|
|
33
|
+
"ChxhcGkvbWFuYWdlL3YxL2NhdGVnb3J5LnByb3RvEg1hcGkubWFuYWdlLnYxIt4BCghDYXRlZ29yeRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhEKBHNsdWcYAyABKAlIAIgBARIYCgtkZXNjcmlwdGlvbhgEIAEoCUgBiAEBEi4KCmNyZWF0ZWRfYXQYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjMKCnVwZGF0ZWRfYXQYBiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAKIAQFCBwoFX3NsdWdCDgoMX2Rlc2NyaXB0aW9uQg0KC191cGRhdGVkX2F0IlIKEUNhdGVnb3J5V2l0aFN0YXRzEikKCGNhdGVnb3J5GAEgASgLMhcuYXBpLm1hbmFnZS52MS5DYXRlZ29yeRISCgpwb3N0X2NvdW50GAIgASgFIqEBChVMaXN0Q2F0ZWdvcmllc1JlcXVlc3QSNAoKcGFnaW5hdGlvbhgBIAEoCzIgLmFwaS5jb21tb24udjEuUGFnaW5hdGlvblJlcXVlc3QSKgoHZmlsdGVycxgCIAMoCzIZLmFwaS5jb21tb24udjEuRmlsdGVyU3BlYxImCgVzb3J0cxgDIAMoCzIXLmFwaS5jb21tb24udjEuU29ydFNwZWMifAoWTGlzdENhdGVnb3JpZXNSZXNwb25zZRIrCgpjYXRlZ29yaWVzGAEgAygLMhcuYXBpLm1hbmFnZS52MS5DYXRlZ29yeRI1CgpwYWdpbmF0aW9uGAIgASgLMiEuYXBpLmNvbW1vbi52MS5QYWdpbmF0aW9uUmVzcG9uc2UipgEKGkxpc3RDYXRlZ29yaWVzQWRtaW5SZXF1ZXN0EjQKCnBhZ2luYXRpb24YASABKAsyIC5hcGkuY29tbW9uLnYxLlBhZ2luYXRpb25SZXF1ZXN0EioKB2ZpbHRlcnMYAiADKAsyGS5hcGkuY29tbW9uLnYxLkZpbHRlclNwZWMSJgoFc29ydHMYAyADKAsyFy5hcGkuY29tbW9uLnYxLlNvcnRTcGVjIooBChtMaXN0Q2F0ZWdvcmllc0FkbWluUmVzcG9uc2USNAoKY2F0ZWdvcmllcxgBIAMoCzIgLmFwaS5tYW5hZ2UudjEuQ2F0ZWdvcnlXaXRoU3RhdHMSNQoKcGFnaW5hdGlvbhgCIAEoCzIhLmFwaS5jb21tb24udjEuUGFnaW5hdGlvblJlc3BvbnNlImsKFUNyZWF0ZUNhdGVnb3J5UmVxdWVzdBIMCgRuYW1lGAEgASgJEhEKBHNsdWcYAiABKAlIAIgBARIYCgtkZXNjcmlwdGlvbhgDIAEoCUgBiAEBQgcKBV9zbHVnQg4KDF9kZXNjcmlwdGlvbiKFAQoVVXBkYXRlQ2F0ZWdvcnlSZXF1ZXN0EgoKAmlkGAEgASgJEhEKBG5hbWUYAiABKAlIAIgBARIRCgRzbHVnGAMgASgJSAGIAQESGAoLZGVzY3JpcHRpb24YBCABKAlIAogBAUIHCgVfbmFtZUIHCgVfc2x1Z0IOCgxfZGVzY3JpcHRpb24iIwoVRGVsZXRlQ2F0ZWdvcnlSZXF1ZXN0EgoKAmlkGAEgASgJMv8DCg9DYXRlZ29yeVNlcnZpY2USZQoOTGlzdENhdGVnb3JpZXMSJC5hcGkubWFuYWdlLnYxLkxpc3RDYXRlZ29yaWVzUmVxdWVzdBolLmFwaS5tYW5hZ2UudjEuTGlzdENhdGVnb3JpZXNSZXNwb25zZSIGyvMYAggCEnQKE0xpc3RDYXRlZ29yaWVzQWRtaW4SKS5hcGkubWFuYWdlLnYxLkxpc3RDYXRlZ29yaWVzQWRtaW5SZXF1ZXN0GiouYXBpLm1hbmFnZS52MS5MaXN0Q2F0ZWdvcmllc0FkbWluUmVzcG9uc2UiBsrzGAIIBBJXCg5DcmVhdGVDYXRlZ29yeRIkLmFwaS5tYW5hZ2UudjEuQ3JlYXRlQ2F0ZWdvcnlSZXF1ZXN0GhcuYXBpLm1hbmFnZS52MS5DYXRlZ29yeSIGyvMYAggEElcKDlVwZGF0ZUNhdGVnb3J5EiQuYXBpLm1hbmFnZS52MS5VcGRhdGVDYXRlZ29yeVJlcXVlc3QaFy5hcGkubWFuYWdlLnYxLkNhdGVnb3J5IgbK8xgCCAQSXQoORGVsZXRlQ2F0ZWdvcnkSJC5hcGkubWFuYWdlLnYxLkRlbGV0ZUNhdGVnb3J5UmVxdWVzdBodLmFwaS5tYW5hZ2UudjEuRGVsZXRlUmVzcG9uc2UiBsrzGAIIBEK3AQoRY29tLmFwaS5tYW5hZ2UudjFCDUNhdGVnb3J5UHJvdG9QAVo9Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL21hbmFnZS92MTttYW5hZ2V2MaICA0FNWKoCDUFwaS5NYW5hZ2UuVjHKAg1BcGlcTWFuYWdlXFYx4gIZQXBpXE1hbmFnZVxWMVxHUEJNZXRhZGF0YeoCD0FwaTo6TWFuYWdlOjpWMWIGcHJvdG8z",
|
|
34
|
+
[
|
|
35
|
+
file_api_common_v1_common,
|
|
36
|
+
file_api_manage_v1_common,
|
|
37
|
+
file_api_policy_v1_access,
|
|
38
|
+
file_google_protobuf_timestamp,
|
|
39
|
+
],
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message api.manage.v1.Category
|
|
44
|
+
*/
|
|
45
|
+
export type Category = Message<"api.manage.v1.Category"> & {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: string id = 1;
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: string name = 2;
|
|
53
|
+
*/
|
|
54
|
+
name: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: optional string slug = 3;
|
|
58
|
+
*/
|
|
59
|
+
slug?: string | undefined;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: optional string description = 4;
|
|
63
|
+
*/
|
|
64
|
+
description?: string | undefined;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
68
|
+
*/
|
|
69
|
+
createdAt?: Timestamp | undefined;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: optional google.protobuf.Timestamp updated_at = 6;
|
|
73
|
+
*/
|
|
74
|
+
updatedAt?: Timestamp | undefined;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message api.manage.v1.Category.
|
|
79
|
+
* Use `create(CategorySchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const CategorySchema: GenMessage<Category> =
|
|
82
|
+
/*@__PURE__*/
|
|
83
|
+
messageDesc(file_api_manage_v1_category, 0);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Category with post count
|
|
87
|
+
*
|
|
88
|
+
* @generated from message api.manage.v1.CategoryWithStats
|
|
89
|
+
*/
|
|
90
|
+
export type CategoryWithStats = Message<"api.manage.v1.CategoryWithStats"> & {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: api.manage.v1.Category category = 1;
|
|
93
|
+
*/
|
|
94
|
+
category?: Category | undefined;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: int32 post_count = 2;
|
|
98
|
+
*/
|
|
99
|
+
postCount: number;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message api.manage.v1.CategoryWithStats.
|
|
104
|
+
* Use `create(CategoryWithStatsSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export const CategoryWithStatsSchema: GenMessage<CategoryWithStats> =
|
|
107
|
+
/*@__PURE__*/
|
|
108
|
+
messageDesc(file_api_manage_v1_category, 1);
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from message api.manage.v1.ListCategoriesRequest
|
|
112
|
+
*/
|
|
113
|
+
export type ListCategoriesRequest =
|
|
114
|
+
Message<"api.manage.v1.ListCategoriesRequest"> & {
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
117
|
+
*/
|
|
118
|
+
pagination?: PaginationRequest | undefined;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
122
|
+
*/
|
|
123
|
+
filters: FilterSpec[];
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Default: name ASC
|
|
127
|
+
*
|
|
128
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
129
|
+
*/
|
|
130
|
+
sorts: SortSpec[];
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message api.manage.v1.ListCategoriesRequest.
|
|
135
|
+
* Use `create(ListCategoriesRequestSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export const ListCategoriesRequestSchema: GenMessage<ListCategoriesRequest> =
|
|
138
|
+
/*@__PURE__*/
|
|
139
|
+
messageDesc(file_api_manage_v1_category, 2);
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @generated from message api.manage.v1.ListCategoriesResponse
|
|
143
|
+
*/
|
|
144
|
+
export type ListCategoriesResponse =
|
|
145
|
+
Message<"api.manage.v1.ListCategoriesResponse"> & {
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: repeated api.manage.v1.Category categories = 1;
|
|
148
|
+
*/
|
|
149
|
+
categories: Category[];
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
153
|
+
*/
|
|
154
|
+
pagination?: PaginationResponse | undefined;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Describes the message api.manage.v1.ListCategoriesResponse.
|
|
159
|
+
* Use `create(ListCategoriesResponseSchema)` to create a new message.
|
|
160
|
+
*/
|
|
161
|
+
export const ListCategoriesResponseSchema: GenMessage<ListCategoriesResponse> =
|
|
162
|
+
/*@__PURE__*/
|
|
163
|
+
messageDesc(file_api_manage_v1_category, 3);
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from message api.manage.v1.ListCategoriesAdminRequest
|
|
167
|
+
*/
|
|
168
|
+
export type ListCategoriesAdminRequest =
|
|
169
|
+
Message<"api.manage.v1.ListCategoriesAdminRequest"> & {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
172
|
+
*/
|
|
173
|
+
pagination?: PaginationRequest | undefined;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
177
|
+
*/
|
|
178
|
+
filters: FilterSpec[];
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
182
|
+
*/
|
|
183
|
+
sorts: SortSpec[];
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Describes the message api.manage.v1.ListCategoriesAdminRequest.
|
|
188
|
+
* Use `create(ListCategoriesAdminRequestSchema)` to create a new message.
|
|
189
|
+
*/
|
|
190
|
+
export const ListCategoriesAdminRequestSchema: GenMessage<ListCategoriesAdminRequest> =
|
|
191
|
+
/*@__PURE__*/
|
|
192
|
+
messageDesc(file_api_manage_v1_category, 4);
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from message api.manage.v1.ListCategoriesAdminResponse
|
|
196
|
+
*/
|
|
197
|
+
export type ListCategoriesAdminResponse =
|
|
198
|
+
Message<"api.manage.v1.ListCategoriesAdminResponse"> & {
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: repeated api.manage.v1.CategoryWithStats categories = 1;
|
|
201
|
+
*/
|
|
202
|
+
categories: CategoryWithStats[];
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
206
|
+
*/
|
|
207
|
+
pagination?: PaginationResponse | undefined;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Describes the message api.manage.v1.ListCategoriesAdminResponse.
|
|
212
|
+
* Use `create(ListCategoriesAdminResponseSchema)` to create a new message.
|
|
213
|
+
*/
|
|
214
|
+
export const ListCategoriesAdminResponseSchema: GenMessage<ListCategoriesAdminResponse> =
|
|
215
|
+
/*@__PURE__*/
|
|
216
|
+
messageDesc(file_api_manage_v1_category, 5);
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @generated from message api.manage.v1.CreateCategoryRequest
|
|
220
|
+
*/
|
|
221
|
+
export type CreateCategoryRequest =
|
|
222
|
+
Message<"api.manage.v1.CreateCategoryRequest"> & {
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: string name = 1;
|
|
225
|
+
*/
|
|
226
|
+
name: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: optional string slug = 2;
|
|
230
|
+
*/
|
|
231
|
+
slug?: string | undefined;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: optional string description = 3;
|
|
235
|
+
*/
|
|
236
|
+
description?: string | undefined;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message api.manage.v1.CreateCategoryRequest.
|
|
241
|
+
* Use `create(CreateCategoryRequestSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export const CreateCategoryRequestSchema: GenMessage<CreateCategoryRequest> =
|
|
244
|
+
/*@__PURE__*/
|
|
245
|
+
messageDesc(file_api_manage_v1_category, 6);
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from message api.manage.v1.UpdateCategoryRequest
|
|
249
|
+
*/
|
|
250
|
+
export type UpdateCategoryRequest =
|
|
251
|
+
Message<"api.manage.v1.UpdateCategoryRequest"> & {
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: string id = 1;
|
|
254
|
+
*/
|
|
255
|
+
id: string;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: optional string name = 2;
|
|
259
|
+
*/
|
|
260
|
+
name?: string | undefined;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: optional string slug = 3;
|
|
264
|
+
*/
|
|
265
|
+
slug?: string | undefined;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: optional string description = 4;
|
|
269
|
+
*/
|
|
270
|
+
description?: string | undefined;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Describes the message api.manage.v1.UpdateCategoryRequest.
|
|
275
|
+
* Use `create(UpdateCategoryRequestSchema)` to create a new message.
|
|
276
|
+
*/
|
|
277
|
+
export const UpdateCategoryRequestSchema: GenMessage<UpdateCategoryRequest> =
|
|
278
|
+
/*@__PURE__*/
|
|
279
|
+
messageDesc(file_api_manage_v1_category, 7);
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @generated from message api.manage.v1.DeleteCategoryRequest
|
|
283
|
+
*/
|
|
284
|
+
export type DeleteCategoryRequest =
|
|
285
|
+
Message<"api.manage.v1.DeleteCategoryRequest"> & {
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: string id = 1;
|
|
288
|
+
*/
|
|
289
|
+
id: string;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Describes the message api.manage.v1.DeleteCategoryRequest.
|
|
294
|
+
* Use `create(DeleteCategoryRequestSchema)` to create a new message.
|
|
295
|
+
*/
|
|
296
|
+
export const DeleteCategoryRequestSchema: GenMessage<DeleteCategoryRequest> =
|
|
297
|
+
/*@__PURE__*/
|
|
298
|
+
messageDesc(file_api_manage_v1_category, 8);
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Category Service
|
|
302
|
+
* Note: No ReorderCategories - categories are ordered by name
|
|
303
|
+
*
|
|
304
|
+
* @generated from service api.manage.v1.CategoryService
|
|
305
|
+
*/
|
|
306
|
+
export const CategoryService: GenService<{
|
|
307
|
+
/**
|
|
308
|
+
* Public
|
|
309
|
+
*
|
|
310
|
+
* @generated from rpc api.manage.v1.CategoryService.ListCategories
|
|
311
|
+
*/
|
|
312
|
+
listCategories: {
|
|
313
|
+
methodKind: "unary";
|
|
314
|
+
input: typeof ListCategoriesRequestSchema;
|
|
315
|
+
output: typeof ListCategoriesResponseSchema;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* Admin
|
|
319
|
+
*
|
|
320
|
+
* @generated from rpc api.manage.v1.CategoryService.ListCategoriesAdmin
|
|
321
|
+
*/
|
|
322
|
+
listCategoriesAdmin: {
|
|
323
|
+
methodKind: "unary";
|
|
324
|
+
input: typeof ListCategoriesAdminRequestSchema;
|
|
325
|
+
output: typeof ListCategoriesAdminResponseSchema;
|
|
326
|
+
};
|
|
327
|
+
/**
|
|
328
|
+
* @generated from rpc api.manage.v1.CategoryService.CreateCategory
|
|
329
|
+
*/
|
|
330
|
+
createCategory: {
|
|
331
|
+
methodKind: "unary";
|
|
332
|
+
input: typeof CreateCategoryRequestSchema;
|
|
333
|
+
output: typeof CategorySchema;
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* @generated from rpc api.manage.v1.CategoryService.UpdateCategory
|
|
337
|
+
*/
|
|
338
|
+
updateCategory: {
|
|
339
|
+
methodKind: "unary";
|
|
340
|
+
input: typeof UpdateCategoryRequestSchema;
|
|
341
|
+
output: typeof CategorySchema;
|
|
342
|
+
};
|
|
343
|
+
/**
|
|
344
|
+
* @generated from rpc api.manage.v1.CategoryService.DeleteCategory
|
|
345
|
+
*/
|
|
346
|
+
deleteCategory: {
|
|
347
|
+
methodKind: "unary";
|
|
348
|
+
input: typeof DeleteCategoryRequestSchema;
|
|
349
|
+
output: typeof DeleteResponseSchema;
|
|
350
|
+
};
|
|
351
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_category, 0);
|