@eide/foir-proto-ts 0.21.0 → 0.23.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.
@@ -0,0 +1,143 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "import_extension=js"
2
+ // @generated from file apps/v1/apps.proto (package apps.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
7
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file apps/v1/apps.proto.
11
+ */
12
+ export const file_apps_v1_apps = /*@__PURE__*/
13
+ fileDesc("ChJhcHBzL3YxL2FwcHMucHJvdG8SB2FwcHMudjEi8gQKCUFwcENvbmZpZxI0CgRuYW1lGAEgASgJQia6SCNyIRhAMh1eW2Etel1bYS16MC05XSooLVthLXowLTldKykqJBIYCgd2ZXJzaW9uGAIgASgJQge6SARyAhABEiMKCG1ldGFkYXRhGAMgASgLMhEuYXBwcy52MS5NZXRhZGF0YRInCgptaWRkbGV3YXJlGAQgASgLMhMuYXBwcy52MS5NaWRkbGV3YXJlEikKC2NyZWRlbnRpYWxzGAUgASgLMhQuYXBwcy52MS5DcmVkZW50aWFscxIwCg9zZXR0aW5nc19zY2hlbWEYBiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EjAKB3NvdXJjZXMYByADKAsyHy5hcHBzLnYxLkFwcENvbmZpZy5Tb3VyY2VzRW50cnkSLAoFc2lua3MYCCADKAsyHS5hcHBzLnYxLkFwcENvbmZpZy5TaW5rc0VudHJ5EiYKCm9wZXJhdGlvbnMYCSADKAsyEi5hcHBzLnYxLk9wZXJhdGlvbhIcCgVob29rcxgKIAMoCzINLmFwcHMudjEuSG9vaxIXCgJ1aRgLIAEoCzILLmFwcHMudjEuVUkSIQoHaW5ib3VuZBg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XLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIBIgBASJ0CgZUYXJnZXQSFgoSVEFSR0VUX1VOU1BFQ0lGSUVEEAASFAoQVEFSR0VUX0ZVTExfUEFHRRABEhYKElRBUkdFVF9NQUlOX0VESVRPUhACEhIKDlRBUkdFVF9TSURFQkFSEAMSEAoMVEFSR0VUX0ZJRUxEEARCCAoGX21vZGVsQggKBl9maWVsZEIGCgRfdGFiQhMKEV9yZXBsYWNlc19kZWZhdWx0QggKBl9oaW50c0I1WjNnaXRodWIuY29tL2VpZGVzdHVkaW8vZm9pci9nZW4vcHJvdG8vYXBwcy92MTthcHBzdjFiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_struct]);
14
+
15
+ /**
16
+ * Describes the message apps.v1.AppConfig.
17
+ * Use `create(AppConfigSchema)` to create a new message.
18
+ */
19
+ export const AppConfigSchema = /*@__PURE__*/
20
+ messageDesc(file_apps_v1_apps, 0);
21
+
22
+ /**
23
+ * Describes the message apps.v1.Metadata.
24
+ * Use `create(MetadataSchema)` to create a new message.
25
+ */
26
+ export const MetadataSchema = /*@__PURE__*/
27
+ messageDesc(file_apps_v1_apps, 1);
28
+
29
+ /**
30
+ * Describes the message apps.v1.Middleware.
31
+ * Use `create(MiddlewareSchema)` to create a new message.
32
+ */
33
+ export const MiddlewareSchema = /*@__PURE__*/
34
+ messageDesc(file_apps_v1_apps, 2);
35
+
36
+ /**
37
+ * Describes the message apps.v1.Credentials.
38
+ * Use `create(CredentialsSchema)` to create a new message.
39
+ */
40
+ export const CredentialsSchema = /*@__PURE__*/
41
+ messageDesc(file_apps_v1_apps, 3);
42
+
43
+ /**
44
+ * Describes the enum apps.v1.Credentials.Strategy.
45
+ */
46
+ export const Credentials_StrategySchema = /*@__PURE__*/
47
+ enumDesc(file_apps_v1_apps, 3, 0);
48
+
49
+ /**
50
+ * @generated from enum apps.v1.Credentials.Strategy
51
+ */
52
+ export const Credentials_Strategy = /*@__PURE__*/
53
+ tsEnum(Credentials_StrategySchema);
54
+
55
+ /**
56
+ * Describes the message apps.v1.OAuthConfig.
57
+ * Use `create(OAuthConfigSchema)` to create a new message.
58
+ */
59
+ export const OAuthConfigSchema = /*@__PURE__*/
60
+ messageDesc(file_apps_v1_apps, 4);
61
+
62
+ /**
63
+ * Describes the message apps.v1.Inbound.
64
+ * Use `create(InboundSchema)` to create a new message.
65
+ */
66
+ export const InboundSchema = /*@__PURE__*/
67
+ messageDesc(file_apps_v1_apps, 5);
68
+
69
+ /**
70
+ * Describes the message apps.v1.Webhook.
71
+ * Use `create(WebhookSchema)` to create a new message.
72
+ */
73
+ export const WebhookSchema = /*@__PURE__*/
74
+ messageDesc(file_apps_v1_apps, 6);
75
+
76
+ /**
77
+ * Describes the message apps.v1.SourceType.
78
+ * Use `create(SourceTypeSchema)` to create a new message.
79
+ */
80
+ export const SourceTypeSchema = /*@__PURE__*/
81
+ messageDesc(file_apps_v1_apps, 7);
82
+
83
+ /**
84
+ * Describes the message apps.v1.SinkContract.
85
+ * Use `create(SinkContractSchema)` to create a new message.
86
+ */
87
+ export const SinkContractSchema = /*@__PURE__*/
88
+ messageDesc(file_apps_v1_apps, 8);
89
+
90
+ /**
91
+ * Describes the message apps.v1.SuggestedField.
92
+ * Use `create(SuggestedFieldSchema)` to create a new message.
93
+ */
94
+ export const SuggestedFieldSchema = /*@__PURE__*/
95
+ messageDesc(file_apps_v1_apps, 9);
96
+
97
+ /**
98
+ * Describes the message apps.v1.SinkField.
99
+ * Use `create(SinkFieldSchema)` to create a new message.
100
+ */
101
+ export const SinkFieldSchema = /*@__PURE__*/
102
+ messageDesc(file_apps_v1_apps, 10);
103
+
104
+ /**
105
+ * Describes the message apps.v1.Operation.
106
+ * Use `create(OperationSchema)` to create a new message.
107
+ */
108
+ export const OperationSchema = /*@__PURE__*/
109
+ messageDesc(file_apps_v1_apps, 11);
110
+
111
+ /**
112
+ * Describes the message apps.v1.Hook.
113
+ * Use `create(HookSchema)` to create a new message.
114
+ */
115
+ export const HookSchema = /*@__PURE__*/
116
+ messageDesc(file_apps_v1_apps, 12);
117
+
118
+ /**
119
+ * Describes the message apps.v1.UI.
120
+ * Use `create(UISchema)` to create a new message.
121
+ */
122
+ export const UISchema = /*@__PURE__*/
123
+ messageDesc(file_apps_v1_apps, 13);
124
+
125
+ /**
126
+ * Describes the message apps.v1.PlacementDeclaration.
127
+ * Use `create(PlacementDeclarationSchema)` to create a new message.
128
+ */
129
+ export const PlacementDeclarationSchema = /*@__PURE__*/
130
+ messageDesc(file_apps_v1_apps, 14);
131
+
132
+ /**
133
+ * Describes the enum apps.v1.PlacementDeclaration.Target.
134
+ */
135
+ export const PlacementDeclaration_TargetSchema = /*@__PURE__*/
136
+ enumDesc(file_apps_v1_apps, 14, 0);
137
+
138
+ /**
139
+ * @generated from enum apps.v1.PlacementDeclaration.Target
140
+ */
141
+ export const PlacementDeclaration_Target = /*@__PURE__*/
142
+ tsEnum(PlacementDeclaration_TargetSchema);
143
+
@@ -0,0 +1,233 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "import_extension=js"
2
+ // @generated from file apps/v1/apps_service.proto (package apps.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { ConfirmInstallAppRequest, ConfirmInstallAppResponse, ConfirmUpdateAppRequest, ConfirmUpdateAppResponse, DeleteAppCredentialRequest, DeleteAppCredentialResponse, GetAppCredentialRequest, GetAppCredentialResponse, GetAppRequest, GetAppResponse, GetAppStatusRequest, GetAppStatusResponse, InstallAppRequest, InstallAppResponse, IssueExchangeTicketRequest, IssueExchangeTicketResponse, ListAppEventsRequest, ListAppEventsResponse, ListAppsRequest, ListAppsResponse, RedeemExchangeTicketRequest, RedeemExchangeTicketResponse, RefreshScopedTokenRequest, RefreshScopedTokenResponse, SetAppMappingRequest, SetAppMappingResponse, TriggerOperationRequest, TriggerOperationResponse, UninstallAppRequest, UninstallAppResponse, UpdateAppRequest, UpdateAppResponse, UpsertAppStatusRequest, UpsertAppStatusResponse, ValidateManifestRequest, ValidateManifestResponse, WriteAppCredentialRequest, WriteAppCredentialResponse } from "./apps_service_pbjs";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service apps.v1.AppsService
11
+ */
12
+ export declare const AppsService: {
13
+ readonly typeName: "apps.v1.AppsService",
14
+ readonly methods: {
15
+ /**
16
+ * CRUD
17
+ *
18
+ * @generated from rpc apps.v1.AppsService.ListApps
19
+ */
20
+ readonly listApps: {
21
+ readonly name: "ListApps",
22
+ readonly I: typeof ListAppsRequest,
23
+ readonly O: typeof ListAppsResponse,
24
+ readonly kind: MethodKind.Unary,
25
+ },
26
+ /**
27
+ * @generated from rpc apps.v1.AppsService.GetApp
28
+ */
29
+ readonly getApp: {
30
+ readonly name: "GetApp",
31
+ readonly I: typeof GetAppRequest,
32
+ readonly O: typeof GetAppResponse,
33
+ readonly kind: MethodKind.Unary,
34
+ },
35
+ /**
36
+ * Install — two-call canonical path.
37
+ * InstallApp: fetch + validate manifest, return preview + install_ticket.
38
+ * No persistent state other than a short-TTL tickets row.
39
+ * ConfirmInstallApp: redeem ticket with mappings + optional settings,
40
+ * resolve placeholders, atomically provision rows.
41
+ *
42
+ * @generated from rpc apps.v1.AppsService.InstallApp
43
+ */
44
+ readonly installApp: {
45
+ readonly name: "InstallApp",
46
+ readonly I: typeof InstallAppRequest,
47
+ readonly O: typeof InstallAppResponse,
48
+ readonly kind: MethodKind.Unary,
49
+ },
50
+ /**
51
+ * @generated from rpc apps.v1.AppsService.ConfirmInstallApp
52
+ */
53
+ readonly confirmInstallApp: {
54
+ readonly name: "ConfirmInstallApp",
55
+ readonly I: typeof ConfirmInstallAppRequest,
56
+ readonly O: typeof ConfirmInstallAppResponse,
57
+ readonly kind: MethodKind.Unary,
58
+ },
59
+ /**
60
+ * Update — two-phase: diff, then confirm.
61
+ *
62
+ * @generated from rpc apps.v1.AppsService.UpdateApp
63
+ */
64
+ readonly updateApp: {
65
+ readonly name: "UpdateApp",
66
+ readonly I: typeof UpdateAppRequest,
67
+ readonly O: typeof UpdateAppResponse,
68
+ readonly kind: MethodKind.Unary,
69
+ },
70
+ /**
71
+ * @generated from rpc apps.v1.AppsService.ConfirmUpdateApp
72
+ */
73
+ readonly confirmUpdateApp: {
74
+ readonly name: "ConfirmUpdateApp",
75
+ readonly I: typeof ConfirmUpdateAppRequest,
76
+ readonly O: typeof ConfirmUpdateAppResponse,
77
+ readonly kind: MethodKind.Unary,
78
+ },
79
+ /**
80
+ * Uninstall — single-phase; optional force flag.
81
+ *
82
+ * @generated from rpc apps.v1.AppsService.UninstallApp
83
+ */
84
+ readonly uninstallApp: {
85
+ readonly name: "UninstallApp",
86
+ readonly I: typeof UninstallAppRequest,
87
+ readonly O: typeof UninstallAppResponse,
88
+ readonly kind: MethodKind.Unary,
89
+ },
90
+ /**
91
+ * Mapping CRUD.
92
+ *
93
+ * @generated from rpc apps.v1.AppsService.SetAppMapping
94
+ */
95
+ readonly setAppMapping: {
96
+ readonly name: "SetAppMapping",
97
+ readonly I: typeof SetAppMappingRequest,
98
+ readonly O: typeof SetAppMappingResponse,
99
+ readonly kind: MethodKind.Unary,
100
+ },
101
+ /**
102
+ * Manual validation (dry run).
103
+ *
104
+ * @generated from rpc apps.v1.AppsService.ValidateManifest
105
+ */
106
+ readonly validateManifest: {
107
+ readonly name: "ValidateManifest",
108
+ readonly I: typeof ValidateManifestRequest,
109
+ readonly O: typeof ValidateManifestResponse,
110
+ readonly kind: MethodKind.Unary,
111
+ },
112
+ /**
113
+ * Trigger an operation explicitly. Replaces the legacy TriggerSync RPC.
114
+ *
115
+ * @generated from rpc apps.v1.AppsService.TriggerOperation
116
+ */
117
+ readonly triggerOperation: {
118
+ readonly name: "TriggerOperation",
119
+ readonly I: typeof TriggerOperationRequest,
120
+ readonly O: typeof TriggerOperationResponse,
121
+ readonly kind: MethodKind.Unary,
122
+ },
123
+ }
124
+ };
125
+
126
+ /**
127
+ * @generated from service apps.v1.AppCredentialsService
128
+ */
129
+ export declare const AppCredentialsService: {
130
+ readonly typeName: "apps.v1.AppCredentialsService",
131
+ readonly methods: {
132
+ /**
133
+ * @generated from rpc apps.v1.AppCredentialsService.WriteAppCredential
134
+ */
135
+ readonly writeAppCredential: {
136
+ readonly name: "WriteAppCredential",
137
+ readonly I: typeof WriteAppCredentialRequest,
138
+ readonly O: typeof WriteAppCredentialResponse,
139
+ readonly kind: MethodKind.Unary,
140
+ },
141
+ /**
142
+ * @generated from rpc apps.v1.AppCredentialsService.GetAppCredential
143
+ */
144
+ readonly getAppCredential: {
145
+ readonly name: "GetAppCredential",
146
+ readonly I: typeof GetAppCredentialRequest,
147
+ readonly O: typeof GetAppCredentialResponse,
148
+ readonly kind: MethodKind.Unary,
149
+ },
150
+ /**
151
+ * @generated from rpc apps.v1.AppCredentialsService.DeleteAppCredential
152
+ */
153
+ readonly deleteAppCredential: {
154
+ readonly name: "DeleteAppCredential",
155
+ readonly I: typeof DeleteAppCredentialRequest,
156
+ readonly O: typeof DeleteAppCredentialResponse,
157
+ readonly kind: MethodKind.Unary,
158
+ },
159
+ }
160
+ };
161
+
162
+ /**
163
+ * @generated from service apps.v1.AppAuthService
164
+ */
165
+ export declare const AppAuthService: {
166
+ readonly typeName: "apps.v1.AppAuthService",
167
+ readonly methods: {
168
+ /**
169
+ * @generated from rpc apps.v1.AppAuthService.IssueExchangeTicket
170
+ */
171
+ readonly issueExchangeTicket: {
172
+ readonly name: "IssueExchangeTicket",
173
+ readonly I: typeof IssueExchangeTicketRequest,
174
+ readonly O: typeof IssueExchangeTicketResponse,
175
+ readonly kind: MethodKind.Unary,
176
+ },
177
+ /**
178
+ * @generated from rpc apps.v1.AppAuthService.RedeemExchangeTicket
179
+ */
180
+ readonly redeemExchangeTicket: {
181
+ readonly name: "RedeemExchangeTicket",
182
+ readonly I: typeof RedeemExchangeTicketRequest,
183
+ readonly O: typeof RedeemExchangeTicketResponse,
184
+ readonly kind: MethodKind.Unary,
185
+ },
186
+ /**
187
+ * @generated from rpc apps.v1.AppAuthService.RefreshScopedToken
188
+ */
189
+ readonly refreshScopedToken: {
190
+ readonly name: "RefreshScopedToken",
191
+ readonly I: typeof RefreshScopedTokenRequest,
192
+ readonly O: typeof RefreshScopedTokenResponse,
193
+ readonly kind: MethodKind.Unary,
194
+ },
195
+ }
196
+ };
197
+
198
+ /**
199
+ * @generated from service apps.v1.AppStatusService
200
+ */
201
+ export declare const AppStatusService: {
202
+ readonly typeName: "apps.v1.AppStatusService",
203
+ readonly methods: {
204
+ /**
205
+ * @generated from rpc apps.v1.AppStatusService.GetAppStatus
206
+ */
207
+ readonly getAppStatus: {
208
+ readonly name: "GetAppStatus",
209
+ readonly I: typeof GetAppStatusRequest,
210
+ readonly O: typeof GetAppStatusResponse,
211
+ readonly kind: MethodKind.Unary,
212
+ },
213
+ /**
214
+ * @generated from rpc apps.v1.AppStatusService.UpsertAppStatus
215
+ */
216
+ readonly upsertAppStatus: {
217
+ readonly name: "UpsertAppStatus",
218
+ readonly I: typeof UpsertAppStatusRequest,
219
+ readonly O: typeof UpsertAppStatusResponse,
220
+ readonly kind: MethodKind.Unary,
221
+ },
222
+ /**
223
+ * @generated from rpc apps.v1.AppStatusService.ListAppEvents
224
+ */
225
+ readonly listAppEvents: {
226
+ readonly name: "ListAppEvents",
227
+ readonly I: typeof ListAppEventsRequest,
228
+ readonly O: typeof ListAppEventsResponse,
229
+ readonly kind: MethodKind.Unary,
230
+ },
231
+ }
232
+ };
233
+
@@ -0,0 +1,233 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "import_extension=js"
2
+ // @generated from file apps/v1/apps_service.proto (package apps.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { ConfirmInstallAppRequest, ConfirmInstallAppResponse, ConfirmUpdateAppRequest, ConfirmUpdateAppResponse, DeleteAppCredentialRequest, DeleteAppCredentialResponse, GetAppCredentialRequest, GetAppCredentialResponse, GetAppRequest, GetAppResponse, GetAppStatusRequest, GetAppStatusResponse, InstallAppRequest, InstallAppResponse, IssueExchangeTicketRequest, IssueExchangeTicketResponse, ListAppEventsRequest, ListAppEventsResponse, ListAppsRequest, ListAppsResponse, RedeemExchangeTicketRequest, RedeemExchangeTicketResponse, RefreshScopedTokenRequest, RefreshScopedTokenResponse, SetAppMappingRequest, SetAppMappingResponse, TriggerOperationRequest, TriggerOperationResponse, UninstallAppRequest, UninstallAppResponse, UpdateAppRequest, UpdateAppResponse, UpsertAppStatusRequest, UpsertAppStatusResponse, ValidateManifestRequest, ValidateManifestResponse, WriteAppCredentialRequest, WriteAppCredentialResponse } from "./apps_service_pbjs";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service apps.v1.AppsService
11
+ */
12
+ export const AppsService = {
13
+ typeName: "apps.v1.AppsService",
14
+ methods: {
15
+ /**
16
+ * CRUD
17
+ *
18
+ * @generated from rpc apps.v1.AppsService.ListApps
19
+ */
20
+ listApps: {
21
+ name: "ListApps",
22
+ I: ListAppsRequest,
23
+ O: ListAppsResponse,
24
+ kind: MethodKind.Unary,
25
+ },
26
+ /**
27
+ * @generated from rpc apps.v1.AppsService.GetApp
28
+ */
29
+ getApp: {
30
+ name: "GetApp",
31
+ I: GetAppRequest,
32
+ O: GetAppResponse,
33
+ kind: MethodKind.Unary,
34
+ },
35
+ /**
36
+ * Install — two-call canonical path.
37
+ * InstallApp: fetch + validate manifest, return preview + install_ticket.
38
+ * No persistent state other than a short-TTL tickets row.
39
+ * ConfirmInstallApp: redeem ticket with mappings + optional settings,
40
+ * resolve placeholders, atomically provision rows.
41
+ *
42
+ * @generated from rpc apps.v1.AppsService.InstallApp
43
+ */
44
+ installApp: {
45
+ name: "InstallApp",
46
+ I: InstallAppRequest,
47
+ O: InstallAppResponse,
48
+ kind: MethodKind.Unary,
49
+ },
50
+ /**
51
+ * @generated from rpc apps.v1.AppsService.ConfirmInstallApp
52
+ */
53
+ confirmInstallApp: {
54
+ name: "ConfirmInstallApp",
55
+ I: ConfirmInstallAppRequest,
56
+ O: ConfirmInstallAppResponse,
57
+ kind: MethodKind.Unary,
58
+ },
59
+ /**
60
+ * Update — two-phase: diff, then confirm.
61
+ *
62
+ * @generated from rpc apps.v1.AppsService.UpdateApp
63
+ */
64
+ updateApp: {
65
+ name: "UpdateApp",
66
+ I: UpdateAppRequest,
67
+ O: UpdateAppResponse,
68
+ kind: MethodKind.Unary,
69
+ },
70
+ /**
71
+ * @generated from rpc apps.v1.AppsService.ConfirmUpdateApp
72
+ */
73
+ confirmUpdateApp: {
74
+ name: "ConfirmUpdateApp",
75
+ I: ConfirmUpdateAppRequest,
76
+ O: ConfirmUpdateAppResponse,
77
+ kind: MethodKind.Unary,
78
+ },
79
+ /**
80
+ * Uninstall — single-phase; optional force flag.
81
+ *
82
+ * @generated from rpc apps.v1.AppsService.UninstallApp
83
+ */
84
+ uninstallApp: {
85
+ name: "UninstallApp",
86
+ I: UninstallAppRequest,
87
+ O: UninstallAppResponse,
88
+ kind: MethodKind.Unary,
89
+ },
90
+ /**
91
+ * Mapping CRUD.
92
+ *
93
+ * @generated from rpc apps.v1.AppsService.SetAppMapping
94
+ */
95
+ setAppMapping: {
96
+ name: "SetAppMapping",
97
+ I: SetAppMappingRequest,
98
+ O: SetAppMappingResponse,
99
+ kind: MethodKind.Unary,
100
+ },
101
+ /**
102
+ * Manual validation (dry run).
103
+ *
104
+ * @generated from rpc apps.v1.AppsService.ValidateManifest
105
+ */
106
+ validateManifest: {
107
+ name: "ValidateManifest",
108
+ I: ValidateManifestRequest,
109
+ O: ValidateManifestResponse,
110
+ kind: MethodKind.Unary,
111
+ },
112
+ /**
113
+ * Trigger an operation explicitly. Replaces the legacy TriggerSync RPC.
114
+ *
115
+ * @generated from rpc apps.v1.AppsService.TriggerOperation
116
+ */
117
+ triggerOperation: {
118
+ name: "TriggerOperation",
119
+ I: TriggerOperationRequest,
120
+ O: TriggerOperationResponse,
121
+ kind: MethodKind.Unary,
122
+ },
123
+ }
124
+ };
125
+
126
+ /**
127
+ * @generated from service apps.v1.AppCredentialsService
128
+ */
129
+ export const AppCredentialsService = {
130
+ typeName: "apps.v1.AppCredentialsService",
131
+ methods: {
132
+ /**
133
+ * @generated from rpc apps.v1.AppCredentialsService.WriteAppCredential
134
+ */
135
+ writeAppCredential: {
136
+ name: "WriteAppCredential",
137
+ I: WriteAppCredentialRequest,
138
+ O: WriteAppCredentialResponse,
139
+ kind: MethodKind.Unary,
140
+ },
141
+ /**
142
+ * @generated from rpc apps.v1.AppCredentialsService.GetAppCredential
143
+ */
144
+ getAppCredential: {
145
+ name: "GetAppCredential",
146
+ I: GetAppCredentialRequest,
147
+ O: GetAppCredentialResponse,
148
+ kind: MethodKind.Unary,
149
+ },
150
+ /**
151
+ * @generated from rpc apps.v1.AppCredentialsService.DeleteAppCredential
152
+ */
153
+ deleteAppCredential: {
154
+ name: "DeleteAppCredential",
155
+ I: DeleteAppCredentialRequest,
156
+ O: DeleteAppCredentialResponse,
157
+ kind: MethodKind.Unary,
158
+ },
159
+ }
160
+ };
161
+
162
+ /**
163
+ * @generated from service apps.v1.AppAuthService
164
+ */
165
+ export const AppAuthService = {
166
+ typeName: "apps.v1.AppAuthService",
167
+ methods: {
168
+ /**
169
+ * @generated from rpc apps.v1.AppAuthService.IssueExchangeTicket
170
+ */
171
+ issueExchangeTicket: {
172
+ name: "IssueExchangeTicket",
173
+ I: IssueExchangeTicketRequest,
174
+ O: IssueExchangeTicketResponse,
175
+ kind: MethodKind.Unary,
176
+ },
177
+ /**
178
+ * @generated from rpc apps.v1.AppAuthService.RedeemExchangeTicket
179
+ */
180
+ redeemExchangeTicket: {
181
+ name: "RedeemExchangeTicket",
182
+ I: RedeemExchangeTicketRequest,
183
+ O: RedeemExchangeTicketResponse,
184
+ kind: MethodKind.Unary,
185
+ },
186
+ /**
187
+ * @generated from rpc apps.v1.AppAuthService.RefreshScopedToken
188
+ */
189
+ refreshScopedToken: {
190
+ name: "RefreshScopedToken",
191
+ I: RefreshScopedTokenRequest,
192
+ O: RefreshScopedTokenResponse,
193
+ kind: MethodKind.Unary,
194
+ },
195
+ }
196
+ };
197
+
198
+ /**
199
+ * @generated from service apps.v1.AppStatusService
200
+ */
201
+ export const AppStatusService = {
202
+ typeName: "apps.v1.AppStatusService",
203
+ methods: {
204
+ /**
205
+ * @generated from rpc apps.v1.AppStatusService.GetAppStatus
206
+ */
207
+ getAppStatus: {
208
+ name: "GetAppStatus",
209
+ I: GetAppStatusRequest,
210
+ O: GetAppStatusResponse,
211
+ kind: MethodKind.Unary,
212
+ },
213
+ /**
214
+ * @generated from rpc apps.v1.AppStatusService.UpsertAppStatus
215
+ */
216
+ upsertAppStatus: {
217
+ name: "UpsertAppStatus",
218
+ I: UpsertAppStatusRequest,
219
+ O: UpsertAppStatusResponse,
220
+ kind: MethodKind.Unary,
221
+ },
222
+ /**
223
+ * @generated from rpc apps.v1.AppStatusService.ListAppEvents
224
+ */
225
+ listAppEvents: {
226
+ name: "ListAppEvents",
227
+ I: ListAppEventsRequest,
228
+ O: ListAppEventsResponse,
229
+ kind: MethodKind.Unary,
230
+ },
231
+ }
232
+ };
233
+