@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,143 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/category.proto (package api.open.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 { Message } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file api/open/v1/category.proto.
|
|
24
|
+
*/
|
|
25
|
+
export const file_api_open_v1_category: GenFile =
|
|
26
|
+
/*@__PURE__*/
|
|
27
|
+
fileDesc(
|
|
28
|
+
"ChphcGkvb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|
|
34
|
+
*/
|
|
35
|
+
export type ListCategoriesRequest =
|
|
36
|
+
Message<"api.open.v1.ListCategoriesRequest"> & {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
39
|
+
*/
|
|
40
|
+
pagination?: PaginationRequest | undefined;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* (none for now)
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
46
|
+
*/
|
|
47
|
+
filters: FilterSpec[];
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* name, post_count
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
53
|
+
*/
|
|
54
|
+
sorts: SortSpec[];
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message api.open.v1.ListCategoriesRequest.
|
|
59
|
+
* Use `create(ListCategoriesRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const ListCategoriesRequestSchema: GenMessage<ListCategoriesRequest> =
|
|
62
|
+
/*@__PURE__*/
|
|
63
|
+
messageDesc(file_api_open_v1_category, 0);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message api.open.v1.ListCategoriesResponse
|
|
67
|
+
*/
|
|
68
|
+
export type ListCategoriesResponse =
|
|
69
|
+
Message<"api.open.v1.ListCategoriesResponse"> & {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: repeated api.open.v1.Category categories = 1;
|
|
72
|
+
*/
|
|
73
|
+
categories: Category[];
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
77
|
+
*/
|
|
78
|
+
pagination?: PaginationResponse | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message api.open.v1.ListCategoriesResponse.
|
|
83
|
+
* Use `create(ListCategoriesResponseSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export const ListCategoriesResponseSchema: GenMessage<ListCategoriesResponse> =
|
|
86
|
+
/*@__PURE__*/
|
|
87
|
+
messageDesc(file_api_open_v1_category, 1);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from message api.open.v1.Category
|
|
91
|
+
*/
|
|
92
|
+
export type Category = Message<"api.open.v1.Category"> & {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: string id = 1;
|
|
95
|
+
*/
|
|
96
|
+
id: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string name = 2;
|
|
100
|
+
*/
|
|
101
|
+
name: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string slug = 3;
|
|
105
|
+
*/
|
|
106
|
+
slug: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: optional string description = 4;
|
|
110
|
+
*/
|
|
111
|
+
description?: string | undefined;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: int32 post_count = 5;
|
|
115
|
+
*/
|
|
116
|
+
postCount: number;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message api.open.v1.Category.
|
|
121
|
+
* Use `create(CategorySchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const CategorySchema: GenMessage<Category> =
|
|
124
|
+
/*@__PURE__*/
|
|
125
|
+
messageDesc(file_api_open_v1_category, 2);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* CategoryService provides public access to categories
|
|
129
|
+
*
|
|
130
|
+
* @generated from service api.open.v1.CategoryService
|
|
131
|
+
*/
|
|
132
|
+
export const CategoryService: GenService<{
|
|
133
|
+
/**
|
|
134
|
+
* List returns all categories with post counts
|
|
135
|
+
*
|
|
136
|
+
* @generated from rpc api.open.v1.CategoryService.List
|
|
137
|
+
*/
|
|
138
|
+
list: {
|
|
139
|
+
methodKind: "unary";
|
|
140
|
+
input: typeof ListCategoriesRequestSchema;
|
|
141
|
+
output: typeof ListCategoriesResponseSchema;
|
|
142
|
+
};
|
|
143
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_category, 0);
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/client.proto (package api.open.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 { AssetRef } from "../../common/v1/media_pb.ts";
|
|
21
|
+
import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
|
|
22
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
23
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
24
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file api/open/v1/client.proto.
|
|
28
|
+
*/
|
|
29
|
+
export const file_api_open_v1_client: GenFile =
|
|
30
|
+
/*@__PURE__*/
|
|
31
|
+
fileDesc(
|
|
32
|
+
"ChhhcGkvb3Blbi92MS9jbGllbnQucHJvdG8SC2FwaS5vcGVuLnYxIh4KEEdldENsaWVudFJlcXVlc3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SZXNwb25zZUKnAQoPY29tLmFwaS5vcGVuLnYxQgtDbGllbnRQcm90b1ABWjlnaXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvb3Blbi92MTtvcGVudjGiAgNBT1iqAgtBcGkuT3Blbi5WMcoCC0FwaVxPcGVuXFYx4gIXQXBpXE9wZW5cVjFcR1BCTWV0YWRhdGHqAg1BcGk6Ok9wZW46OlYxYgZwcm90bzM",
|
|
33
|
+
[
|
|
34
|
+
file_api_common_v1_common,
|
|
35
|
+
file_api_common_v1_media,
|
|
36
|
+
file_google_protobuf_timestamp,
|
|
37
|
+
],
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message api.open.v1.GetClientRequest
|
|
42
|
+
*/
|
|
43
|
+
export type GetClientRequest = Message<"api.open.v1.GetClientRequest"> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string id = 1;
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message api.open.v1.GetClientRequest.
|
|
52
|
+
* Use `create(GetClientRequestSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const GetClientRequestSchema: GenMessage<GetClientRequest> =
|
|
55
|
+
/*@__PURE__*/
|
|
56
|
+
messageDesc(file_api_open_v1_client, 0);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from message api.open.v1.GetClientResponse
|
|
60
|
+
*/
|
|
61
|
+
export type GetClientResponse = Message<"api.open.v1.GetClientResponse"> & {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: optional api.open.v1.ClientSummary client = 1;
|
|
64
|
+
*/
|
|
65
|
+
client?: ClientSummary | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message api.open.v1.GetClientResponse.
|
|
70
|
+
* Use `create(GetClientResponseSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const GetClientResponseSchema: GenMessage<GetClientResponse> =
|
|
73
|
+
/*@__PURE__*/
|
|
74
|
+
messageDesc(file_api_open_v1_client, 1);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message api.open.v1.ListClientsRequest
|
|
78
|
+
*/
|
|
79
|
+
export type ListClientsRequest = Message<"api.open.v1.ListClientsRequest"> & {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: api.common.v1.PaginationRequest pagination = 1;
|
|
82
|
+
*/
|
|
83
|
+
pagination?: PaginationRequest | undefined;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: repeated api.common.v1.FilterSpec filters = 2;
|
|
87
|
+
*/
|
|
88
|
+
filters: FilterSpec[];
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: repeated api.common.v1.SortSpec sorts = 3;
|
|
92
|
+
*/
|
|
93
|
+
sorts: SortSpec[];
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message api.open.v1.ListClientsRequest.
|
|
98
|
+
* Use `create(ListClientsRequestSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const ListClientsRequestSchema: GenMessage<ListClientsRequest> =
|
|
101
|
+
/*@__PURE__*/
|
|
102
|
+
messageDesc(file_api_open_v1_client, 2);
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from message api.open.v1.ListClientsResponse
|
|
106
|
+
*/
|
|
107
|
+
export type ListClientsResponse = Message<"api.open.v1.ListClientsResponse"> & {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: repeated api.open.v1.ClientSummary clients = 1;
|
|
110
|
+
*/
|
|
111
|
+
clients: ClientSummary[];
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: api.common.v1.PaginationResponse pagination = 2;
|
|
115
|
+
*/
|
|
116
|
+
pagination?: PaginationResponse | undefined;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message api.open.v1.ListClientsResponse.
|
|
121
|
+
* Use `create(ListClientsResponseSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const ListClientsResponseSchema: GenMessage<ListClientsResponse> =
|
|
124
|
+
/*@__PURE__*/
|
|
125
|
+
messageDesc(file_api_open_v1_client, 3);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from message api.open.v1.ClientSummary
|
|
129
|
+
*/
|
|
130
|
+
export type ClientSummary = Message<"api.open.v1.ClientSummary"> & {
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: string id = 1;
|
|
133
|
+
*/
|
|
134
|
+
id: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: string name = 2;
|
|
138
|
+
*/
|
|
139
|
+
name: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: optional string website = 3;
|
|
143
|
+
*/
|
|
144
|
+
website?: string | undefined;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
148
|
+
*/
|
|
149
|
+
createdAt?: Timestamp | undefined;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: optional api.common.v1.AssetRef logo_light_asset = 5;
|
|
153
|
+
*/
|
|
154
|
+
logoLightAsset?: AssetRef | undefined;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: optional api.common.v1.AssetRef logo_dark_asset = 6;
|
|
158
|
+
*/
|
|
159
|
+
logoDarkAsset?: AssetRef | undefined;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Describes the message api.open.v1.ClientSummary.
|
|
164
|
+
* Use `create(ClientSummarySchema)` to create a new message.
|
|
165
|
+
*/
|
|
166
|
+
export const ClientSummarySchema: GenMessage<ClientSummary> =
|
|
167
|
+
/*@__PURE__*/
|
|
168
|
+
messageDesc(file_api_open_v1_client, 4);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from service api.open.v1.ClientService
|
|
172
|
+
*/
|
|
173
|
+
export const ClientService: GenService<{
|
|
174
|
+
/**
|
|
175
|
+
* @generated from rpc api.open.v1.ClientService.Get
|
|
176
|
+
*/
|
|
177
|
+
get: {
|
|
178
|
+
methodKind: "unary";
|
|
179
|
+
input: typeof GetClientRequestSchema;
|
|
180
|
+
output: typeof GetClientResponseSchema;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @generated from rpc api.open.v1.ClientService.List
|
|
184
|
+
*/
|
|
185
|
+
list: {
|
|
186
|
+
methodKind: "unary";
|
|
187
|
+
input: typeof ListClientsRequestSchema;
|
|
188
|
+
output: typeof ListClientsResponseSchema;
|
|
189
|
+
};
|
|
190
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_client, 0);
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/file.proto (package api.open.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenEnum,
|
|
5
|
+
GenFile,
|
|
6
|
+
GenMessage,
|
|
7
|
+
GenService,
|
|
8
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
9
|
+
import {
|
|
10
|
+
enumDesc,
|
|
11
|
+
fileDesc,
|
|
12
|
+
messageDesc,
|
|
13
|
+
serviceDesc,
|
|
14
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
15
|
+
import type { ExpiringMediaRef } from "../../common/v1/media_pb.ts";
|
|
16
|
+
import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
|
|
17
|
+
import type { ContentBlockMediaSelector } from "../../content/v1/block_content_pb.ts";
|
|
18
|
+
import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
|
|
19
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the file api/open/v1/file.proto.
|
|
23
|
+
*/
|
|
24
|
+
export const file_api_open_v1_file: GenFile =
|
|
25
|
+
/*@__PURE__*/
|
|
26
|
+
fileDesc(
|
|
27
|
+
"ChZhcGkvb3Blbi92MS9maWxlLnByb3RvEgthcGkub3Blbi52MSKCAQoSRmlsZURvd25sb2FkQWNjZXNzEjsKDGF2YWlsYWJpbGl0eRgBIAEoDjIlLmFwaS5vcGVuLnYxLkZpbGVEb3dubG9hZEF2YWlsYWJpbGl0eRIvCgZhY3Rpb24YAiABKA4yHy5hcGkub3Blbi52MS5GaWxlRG93bmxvYWRBY3Rpb24i0QEKGEF1dGhvcml6ZURvd25sb2FkUmVxdWVzdBI3CgtlbnRpdHlfdHlwZRgBIAEoDjIiLmFwaS5vcGVuLnYxLlB1YmxpY01lZGlhRW50aXR5VHlwZRIRCgllbnRpdHlfaWQYAiABKAkSQgoNY29udGVudF9ibG9jaxgDIAEoCzIpLmFwaS5jb250ZW50LnYxLkNvbnRlbnRCbG9ja01lZGlhU2VsZWN0b3JIABISCgh0cmFja19pZBgEIAEoCUgAQhEKD3JlbGF0aW9uX3RhcmdldCKRAQoZQXV0aG9yaXplRG93bmxvYWRSZXNwb25zZRIvCgZhY2Nlc3MYASABKAsyHy5hcGkub3Blbi52MS5GaWxlRG93bmxvYWRBY2Nlc3MSNgoIZG93bmxvYWQYAiABKAsyHy5hcGkuY29tbW9uLnYxLkV4cGlyaW5nTWVkaWFSZWZIAIgBAUILCglfZG93bmxvYWQq/AEKFVB1YmxpY01lZGlhRW50aXR5VHlwZRIoCiRQVUJMSUNfTUVESUFfRU5USVRZX1RZUEVfVU5TUEVDSUZJRUQQABIhCh1QVUJMSUNfTUVESUFfRU5USVRZX1RZUEVfUE9TVBABEiEKHVBVQkxJQ19NRURJQV9FTlRJVFlfVFlQRV9QQUdFEAISIQodUFVCTElDX01FRElBX0VOVElUWV9UWVBFX1dPUksQAxIqCiZQVUJMSUNfTUVESUFfRU5USVRZX1RZUEVfUFJPR1JBTV9FVkVOVBAEEiQKIFBVQkxJQ19NRURJQV9FTlRJVFlfVFlQRV9SRUxFQVNFEAUqnAEKGEZpbGVEb3dubG9hZEF2YWlsYWJpbGl0eRIqCiZGSUxFX0RPV05MT0FEX0FWQUlMQUJJTElUWV9VTlNQRUNJRklFRBAAEigKJEZJTEVfRE9XTkxPQURfQVZBSUxBQklMSVRZX0FWQUlMQUJMRRABEioKJkZJTEVfRE9XTkxPQURfQVZBSUxBQklMSVRZX1VOQVZBSUxBQkxFEAIqngEKEkZpbGVEb3dubG9hZEFjdGlvbhIkCiBGSUxFX0RPV05MT0FEX0FDVElPTl9VTlNQRUNJRklFRBAAEiEKHUZJTEVfRE9XTkxPQURfQUNUSU9OX0RPV05MT0FEEAESIAocRklMRV9ET1dOTE9BRF9BQ1RJT05fU0lHTl9JThACEh0KGUZJTEVfRE9XTkxPQURfQUNUSU9OX05PTkUQAzJxCgtGaWxlU2VydmljZRJiChFBdXRob3JpemVEb3dubG9hZBIlLmFwaS5vcGVuLnYxLkF1dGhvcml6ZURvd25sb2FkUmVxdWVzdBomLmFwaS5vcGVuLnYxLkF1dGhvcml6ZURvd25sb2FkUmVzcG9uc2VCpQEKD2NvbS5hcGkub3Blbi52MUIJRmlsZVByb3RvUAFaOWdpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9vcGVuL3YxO29wZW52MaICA0FPWKoCC0FwaS5PcGVuLlYxygILQXBpXE9wZW5cVjHiAhdBcGlcT3BlblxWMVxHUEJNZXRhZGF0YeoCDUFwaTo6T3Blbjo6VjFiBnByb3RvMw",
|
|
28
|
+
[file_api_common_v1_media, file_api_content_v1_block_content],
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from message api.open.v1.FileDownloadAccess
|
|
33
|
+
*/
|
|
34
|
+
export type FileDownloadAccess = Message<"api.open.v1.FileDownloadAccess"> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: api.open.v1.FileDownloadAvailability availability = 1;
|
|
37
|
+
*/
|
|
38
|
+
availability: FileDownloadAvailability;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: api.open.v1.FileDownloadAction action = 2;
|
|
42
|
+
*/
|
|
43
|
+
action: FileDownloadAction;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message api.open.v1.FileDownloadAccess.
|
|
48
|
+
* Use `create(FileDownloadAccessSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const FileDownloadAccessSchema: GenMessage<FileDownloadAccess> =
|
|
51
|
+
/*@__PURE__*/
|
|
52
|
+
messageDesc(file_api_open_v1_file, 0);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from message api.open.v1.AuthorizeDownloadRequest
|
|
56
|
+
*/
|
|
57
|
+
export type AuthorizeDownloadRequest =
|
|
58
|
+
Message<"api.open.v1.AuthorizeDownloadRequest"> & {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: api.open.v1.PublicMediaEntityType entity_type = 1;
|
|
61
|
+
*/
|
|
62
|
+
entityType: PublicMediaEntityType;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: string entity_id = 2;
|
|
66
|
+
*/
|
|
67
|
+
entityId: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Content owners require content_block. RELEASE requires track_id, and the
|
|
71
|
+
* server verifies that the Track belongs to entity_id before resolving its
|
|
72
|
+
* current original-audio File.
|
|
73
|
+
*
|
|
74
|
+
* @generated from oneof api.open.v1.AuthorizeDownloadRequest.relation_target
|
|
75
|
+
*/
|
|
76
|
+
relationTarget:
|
|
77
|
+
| {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: api.content.v1.ContentBlockMediaSelector content_block = 3;
|
|
80
|
+
*/
|
|
81
|
+
value: ContentBlockMediaSelector;
|
|
82
|
+
case: "contentBlock";
|
|
83
|
+
}
|
|
84
|
+
| {
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: string track_id = 4;
|
|
87
|
+
*/
|
|
88
|
+
value: string;
|
|
89
|
+
case: "trackId";
|
|
90
|
+
}
|
|
91
|
+
| { case: undefined; value?: undefined };
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message api.open.v1.AuthorizeDownloadRequest.
|
|
96
|
+
* Use `create(AuthorizeDownloadRequestSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export const AuthorizeDownloadRequestSchema: GenMessage<AuthorizeDownloadRequest> =
|
|
99
|
+
/*@__PURE__*/
|
|
100
|
+
messageDesc(file_api_open_v1_file, 1);
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from message api.open.v1.AuthorizeDownloadResponse
|
|
104
|
+
*/
|
|
105
|
+
export type AuthorizeDownloadResponse =
|
|
106
|
+
Message<"api.open.v1.AuthorizeDownloadResponse"> & {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: api.open.v1.FileDownloadAccess access = 1;
|
|
109
|
+
*/
|
|
110
|
+
access?: FileDownloadAccess | undefined;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: optional api.common.v1.ExpiringMediaRef download = 2;
|
|
114
|
+
*/
|
|
115
|
+
download?: ExpiringMediaRef | undefined;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message api.open.v1.AuthorizeDownloadResponse.
|
|
120
|
+
* Use `create(AuthorizeDownloadResponseSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const AuthorizeDownloadResponseSchema: GenMessage<AuthorizeDownloadResponse> =
|
|
123
|
+
/*@__PURE__*/
|
|
124
|
+
messageDesc(file_api_open_v1_file, 2);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from enum api.open.v1.PublicMediaEntityType
|
|
128
|
+
*/
|
|
129
|
+
export enum PublicMediaEntityType {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from enum value: PUBLIC_MEDIA_ENTITY_TYPE_UNSPECIFIED = 0;
|
|
132
|
+
*/
|
|
133
|
+
UNSPECIFIED = 0,
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from enum value: PUBLIC_MEDIA_ENTITY_TYPE_POST = 1;
|
|
137
|
+
*/
|
|
138
|
+
POST = 1,
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @generated from enum value: PUBLIC_MEDIA_ENTITY_TYPE_PAGE = 2;
|
|
142
|
+
*/
|
|
143
|
+
PAGE = 2,
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from enum value: PUBLIC_MEDIA_ENTITY_TYPE_WORK = 3;
|
|
147
|
+
*/
|
|
148
|
+
WORK = 3,
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from enum value: PUBLIC_MEDIA_ENTITY_TYPE_PROGRAM_EVENT = 4;
|
|
152
|
+
*/
|
|
153
|
+
PROGRAM_EVENT = 4,
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from enum value: PUBLIC_MEDIA_ENTITY_TYPE_RELEASE = 5;
|
|
157
|
+
*/
|
|
158
|
+
RELEASE = 5,
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Describes the enum api.open.v1.PublicMediaEntityType.
|
|
163
|
+
*/
|
|
164
|
+
export const PublicMediaEntityTypeSchema: GenEnum<PublicMediaEntityType> =
|
|
165
|
+
/*@__PURE__*/
|
|
166
|
+
enumDesc(file_api_open_v1_file, 0);
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @generated from enum api.open.v1.FileDownloadAvailability
|
|
170
|
+
*/
|
|
171
|
+
export enum FileDownloadAvailability {
|
|
172
|
+
/**
|
|
173
|
+
* @generated from enum value: FILE_DOWNLOAD_AVAILABILITY_UNSPECIFIED = 0;
|
|
174
|
+
*/
|
|
175
|
+
UNSPECIFIED = 0,
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from enum value: FILE_DOWNLOAD_AVAILABILITY_AVAILABLE = 1;
|
|
179
|
+
*/
|
|
180
|
+
AVAILABLE = 1,
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from enum value: FILE_DOWNLOAD_AVAILABILITY_UNAVAILABLE = 2;
|
|
184
|
+
*/
|
|
185
|
+
UNAVAILABLE = 2,
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Describes the enum api.open.v1.FileDownloadAvailability.
|
|
190
|
+
*/
|
|
191
|
+
export const FileDownloadAvailabilitySchema: GenEnum<FileDownloadAvailability> =
|
|
192
|
+
/*@__PURE__*/
|
|
193
|
+
enumDesc(file_api_open_v1_file, 1);
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @generated from enum api.open.v1.FileDownloadAction
|
|
197
|
+
*/
|
|
198
|
+
export enum FileDownloadAction {
|
|
199
|
+
/**
|
|
200
|
+
* @generated from enum value: FILE_DOWNLOAD_ACTION_UNSPECIFIED = 0;
|
|
201
|
+
*/
|
|
202
|
+
UNSPECIFIED = 0,
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from enum value: FILE_DOWNLOAD_ACTION_DOWNLOAD = 1;
|
|
206
|
+
*/
|
|
207
|
+
DOWNLOAD = 1,
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from enum value: FILE_DOWNLOAD_ACTION_SIGN_IN = 2;
|
|
211
|
+
*/
|
|
212
|
+
SIGN_IN = 2,
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from enum value: FILE_DOWNLOAD_ACTION_NONE = 3;
|
|
216
|
+
*/
|
|
217
|
+
NONE = 3,
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Describes the enum api.open.v1.FileDownloadAction.
|
|
222
|
+
*/
|
|
223
|
+
export const FileDownloadActionSchema: GenEnum<FileDownloadAction> =
|
|
224
|
+
/*@__PURE__*/
|
|
225
|
+
enumDesc(file_api_open_v1_file, 2);
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* @generated from service api.open.v1.FileService
|
|
229
|
+
*/
|
|
230
|
+
export const FileService: GenService<{
|
|
231
|
+
/**
|
|
232
|
+
* Resolves the current File from owner + exact relation target, then permits
|
|
233
|
+
* only a public owner or an authenticated fully-consistent SpiceDB view.
|
|
234
|
+
* Draft ShareLink proof stays on the owning Get route and is never accepted
|
|
235
|
+
* here; callers never supply a File ID.
|
|
236
|
+
*
|
|
237
|
+
* @generated from rpc api.open.v1.FileService.AuthorizeDownload
|
|
238
|
+
*/
|
|
239
|
+
authorizeDownload: {
|
|
240
|
+
methodKind: "unary";
|
|
241
|
+
input: typeof AuthorizeDownloadRequestSchema;
|
|
242
|
+
output: typeof AuthorizeDownloadResponseSchema;
|
|
243
|
+
};
|
|
244
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_file, 0);
|