@devvit/protos 0.10.21-next-2024-05-13-e0c684b50.0 → 0.10.21-next-2024-05-13-376d4e59d.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/protos",
3
- "version": "0.10.21-next-2024-05-13-e0c684b50.0",
3
+ "version": "0.10.21-next-2024-05-13-376d4e59d.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,7 +46,7 @@
46
46
  "@ampproject/filesize": "4.3.0",
47
47
  "@devvit/eslint-config": "0.10.20",
48
48
  "@devvit/repo-tools": "0.10.20",
49
- "@devvit/tsconfig": "0.10.21-next-2024-05-13-e0c684b50.0",
49
+ "@devvit/tsconfig": "0.10.21-next-2024-05-13-376d4e59d.0",
50
50
  "@types/long": "4.0.2",
51
51
  "chokidar-cli": "3.0.0",
52
52
  "esbuild": "0.18.12",
@@ -76,5 +76,5 @@
76
76
  ]
77
77
  }
78
78
  },
79
- "gitHead": "2adc2b9c5fc5dc981f37e7ca4ecf61d1549f82f4"
79
+ "gitHead": "a5115666c58e8627dd7b48d5780e0c465a7889c0"
80
80
  }
@@ -23,6 +23,7 @@ message CreateAccessTokenRequest {
23
23
  message CreateAccessTokenResponse {
24
24
  string token = 1;
25
25
  google.protobuf.Timestamp expires_at = 2;
26
+ string token_id = 3;
26
27
  }
27
28
 
28
29
  message GetAccessTokenByIdRequest {
@@ -22,10 +22,19 @@ message CreateOrganizationResponse {
22
22
  message GetOrganizationByNameRequest {
23
23
  string name = 1;
24
24
  }
25
+
25
26
  message GetOrganizationByNameResponse {
26
27
  Organization organization = 1;
27
28
  }
28
29
 
30
+ message GetOrganizationByIdRequest {
31
+ string id = 1;
32
+ }
33
+
34
+ message GetOrganizationByIdResponse {
35
+ Organization organization = 1;
36
+ }
37
+
29
38
  message GetOrganizationsRequest {}
30
39
 
31
40
  message GetOrganizationsResponse {
@@ -6,6 +6,7 @@ import "devvit/data/api/admin/v1alpha/audit.proto";
6
6
  import "devvit/data/api/admin/v1alpha/auth.proto";
7
7
  import "devvit/data/api/admin/v1alpha/organization.proto";
8
8
  import "devvit/data/api/admin/v1alpha/subscription.proto";
9
+ import "devvit/data/api/admin/v1alpha/ui.proto";
9
10
 
10
11
  option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/data/api/admin/v1alpha";
11
12
 
@@ -25,10 +26,14 @@ service Admin {
25
26
 
26
27
  // Organizations
27
28
  rpc CreateOrganization(CreateOrganizationRequest) returns (CreateOrganizationResponse);
29
+ rpc GetOrganizationById(GetOrganizationByIdRequest) returns (GetOrganizationByIdResponse);
28
30
  rpc GetOrganizationByName(GetOrganizationByNameRequest) returns (GetOrganizationByNameResponse);
29
31
  rpc GetOrganizations(GetOrganizationsRequest) returns (GetOrganizationsResponse);
30
32
 
31
33
  // Audit Logs
32
34
  rpc GetAuditLogEventsByOrganizationName(GetAuditLogEventsByOrganizationNameRequest) returns (GetAuditLogEventsByOrganizationNameResponse);
33
35
  rpc CreateAuditLogEvent(CreateAuditLogEventRequest) returns (CreateAuditLogEventResponse);
36
+
37
+ // UI Helpers
38
+ rpc UIGetHydratedOrganizations(UIGetOrganizationsRequest) returns (UIGetOrganizationsResponse);
34
39
  }
@@ -2,51 +2,19 @@ syntax = "proto3";
2
2
 
3
3
  package devvit.data.api.admin.v1alpha;
4
4
 
5
- import "devvit/options/options.proto";
6
- import "devvit/reddit/v2alpha/subredditv2.proto";
5
+ import "devvit/data/api/admin/v1alpha/auth.proto";
6
+ import "devvit/data/api/admin/v1alpha/organization.proto";
7
+ import "devvit/data/api/admin/v1alpha/subscription.proto";
7
8
 
8
9
  option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/data/api/admin/v1alpha";
9
10
 
10
- message GetUISubscriptionsByOrganizationNameRequest {
11
- string organization_name = 1;
12
- }
11
+ message UIGetOrganizationsRequest {}
13
12
 
14
- message GetUISubscriptionsByOrganizationNameResponse {
15
- message SubredditInfo {
16
- // t5_ subreddit ID
17
- // @example "t5_2qh1o"
18
- string id = 1;
19
- // Subreddit display name - not prefixed with r/
20
- // @example "aww"
21
- string name = 2;
22
- // Subreddit icon URL
23
- string icon = 3;
24
- // Whether the subreddit is NSFW
25
- bool is_nsfw = 4;
26
- }
27
- // Data subscription for UI consumption that includes hydrated subreddit info
28
- message Subscription {
29
- // Subscription ID
30
- string id = 1;
31
- // Subscription name
32
- string name = 2;
33
- // Subscription description
34
- string description = 3;
35
- // Firehose events types the subscription is subscribed to
36
- repeated devvit.options.FirehoseEvent events = 4;
37
- // Subreddits the subscription is subscribed to
38
- repeated SubredditInfo subreddits = 5;
39
- // Subreddit ratings the subscription is subscribed to
40
- repeated devvit.reddit.v2alpha.SubredditRating subreddit_ratings = 6;
13
+ message UIGetOrganizationsResponse {
14
+ message HydratedOrganization {
15
+ Organization organization = 1;
16
+ repeated Subscription subscriptions = 2;
17
+ repeated AccessToken acccess_tokens = 3;
41
18
  }
42
-
43
- repeated Subscription subscriptions = 1;
44
- }
45
-
46
- // This service augments the core Admin Service and exists to accomodate the
47
- // more frequently changing UI requirements. Endpoints in this service should
48
- // attempt to return appropriately hydrated items in order to minmize the the
49
- // number of server calls needed to render a view (on initial load, at least)
50
- service ROAdminUI {
51
- rpc GetSubscriptionsByOrganizationName(GetUISubscriptionsByOrganizationNameRequest) returns (GetUISubscriptionsByOrganizationNameResponse);
19
+ repeated HydratedOrganization organizations = 1;
52
20
  }
@@ -19,6 +19,7 @@ export interface CreateAccessTokenRequest {
19
19
  export interface CreateAccessTokenResponse {
20
20
  token: string;
21
21
  expiresAt?: Date | undefined;
22
+ tokenId: string;
22
23
  }
23
24
  export interface GetAccessTokenByIdRequest {
24
25
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/devvit/data/api/admin/v1alpha/auth.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,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G,GAAG,4BAA4B;oBAInC,4BAA4B,GAAG,OAAO;kBAQxC,YAAY,4BAA4B,CAAC,GAAG,4BAA4B;wBAGlE,YAAY,4BAA4B,CAAC,GAAG,4BAA4B;CAK7F,CAAC;AAQF,eAAO,MAAM,6BAA6B;;cAG9B,6BAA6B,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAIhF,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,6BAA6B;gBAgB1E,GAAG,GAAG,6BAA6B;cAIrC,6BAA6B,GAAG,OAAO;kBAKnC,YAAY,6BAA6B,CAAC,GAAG,6BAA6B;mBAGzE,YAAY,6BAA6B,CAAC,GAAG,6BAA6B;CAI1F,CAAC;AAIF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GACvC,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC"}
@@ -189,7 +189,7 @@ export const CreateAccessTokenRequest = {
189
189
  };
190
190
  messageTypeRegistry.set(CreateAccessTokenRequest.$type, CreateAccessTokenRequest);
191
191
  function createBaseCreateAccessTokenResponse() {
192
- return { token: "", expiresAt: undefined };
192
+ return { token: "", expiresAt: undefined, tokenId: "" };
193
193
  }
194
194
  export const CreateAccessTokenResponse = {
195
195
  $type: "devvit.data.api.admin.v1alpha.CreateAccessTokenResponse",
@@ -200,6 +200,9 @@ export const CreateAccessTokenResponse = {
200
200
  if (message.expiresAt !== undefined) {
201
201
  Timestamp.encode(toTimestamp(message.expiresAt), writer.uint32(18).fork()).ldelim();
202
202
  }
203
+ if (message.tokenId !== "") {
204
+ writer.uint32(26).string(message.tokenId);
205
+ }
203
206
  return writer;
204
207
  },
205
208
  decode(input, length) {
@@ -221,6 +224,12 @@ export const CreateAccessTokenResponse = {
221
224
  }
222
225
  message.expiresAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
223
226
  continue;
227
+ case 3:
228
+ if (tag !== 26) {
229
+ break;
230
+ }
231
+ message.tokenId = reader.string();
232
+ continue;
224
233
  }
225
234
  if ((tag & 7) === 4 || tag === 0) {
226
235
  break;
@@ -233,6 +242,7 @@ export const CreateAccessTokenResponse = {
233
242
  return {
234
243
  token: isSet(object.token) ? globalThis.String(object.token) : "",
235
244
  expiresAt: isSet(object.expiresAt) ? fromJsonTimestamp(object.expiresAt) : undefined,
245
+ tokenId: isSet(object.tokenId) ? globalThis.String(object.tokenId) : "",
236
246
  };
237
247
  },
238
248
  toJSON(message) {
@@ -243,6 +253,9 @@ export const CreateAccessTokenResponse = {
243
253
  if (message.expiresAt !== undefined) {
244
254
  obj.expiresAt = message.expiresAt.toISOString();
245
255
  }
256
+ if (message.tokenId !== "") {
257
+ obj.tokenId = message.tokenId;
258
+ }
246
259
  return obj;
247
260
  },
248
261
  create(base) {
@@ -252,6 +265,7 @@ export const CreateAccessTokenResponse = {
252
265
  const message = createBaseCreateAccessTokenResponse();
253
266
  message.token = object.token ?? "";
254
267
  message.expiresAt = object.expiresAt ?? undefined;
268
+ message.tokenId = object.tokenId ?? "";
255
269
  return message;
256
270
  },
257
271
  };
@@ -22,6 +22,12 @@ export interface GetOrganizationByNameRequest {
22
22
  export interface GetOrganizationByNameResponse {
23
23
  organization?: Organization | undefined;
24
24
  }
25
+ export interface GetOrganizationByIdRequest {
26
+ id: string;
27
+ }
28
+ export interface GetOrganizationByIdResponse {
29
+ organization?: Organization | undefined;
30
+ }
25
31
  export interface GetOrganizationsRequest {
26
32
  }
27
33
  export interface GetOrganizationsResponse {
@@ -72,6 +78,24 @@ export declare const GetOrganizationByNameResponse: {
72
78
  create(base?: DeepPartial<GetOrganizationByNameResponse>): GetOrganizationByNameResponse;
73
79
  fromPartial(object: DeepPartial<GetOrganizationByNameResponse>): GetOrganizationByNameResponse;
74
80
  };
81
+ export declare const GetOrganizationByIdRequest: {
82
+ $type: "devvit.data.api.admin.v1alpha.GetOrganizationByIdRequest";
83
+ encode(message: GetOrganizationByIdRequest, writer?: _m0.Writer): _m0.Writer;
84
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetOrganizationByIdRequest;
85
+ fromJSON(object: any): GetOrganizationByIdRequest;
86
+ toJSON(message: GetOrganizationByIdRequest): unknown;
87
+ create(base?: DeepPartial<GetOrganizationByIdRequest>): GetOrganizationByIdRequest;
88
+ fromPartial(object: DeepPartial<GetOrganizationByIdRequest>): GetOrganizationByIdRequest;
89
+ };
90
+ export declare const GetOrganizationByIdResponse: {
91
+ $type: "devvit.data.api.admin.v1alpha.GetOrganizationByIdResponse";
92
+ encode(message: GetOrganizationByIdResponse, writer?: _m0.Writer): _m0.Writer;
93
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetOrganizationByIdResponse;
94
+ fromJSON(object: any): GetOrganizationByIdResponse;
95
+ toJSON(message: GetOrganizationByIdResponse): unknown;
96
+ create(base?: DeepPartial<GetOrganizationByIdResponse>): GetOrganizationByIdResponse;
97
+ fromPartial(object: DeepPartial<GetOrganizationByIdResponse>): GetOrganizationByIdResponse;
98
+ };
75
99
  export declare const GetOrganizationsRequest: {
76
100
  $type: "devvit.data.api.admin.v1alpha.GetOrganizationsRequest";
77
101
  encode(_: GetOrganizationsRequest, writer?: _m0.Writer): _m0.Writer;
@@ -1 +1 @@
1
- {"version":3,"file":"organization.d.ts","sourceRoot":"","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U,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAOjF,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,wBAAwB;qBAuBhE,GAAG,GAAG,wBAAwB;oBAQ/B,wBAAwB,GAAG,OAAO;kBAQpC,YAAY,wBAAwB,CAAC,GAAG,wBAAwB;wBAG1D,YAAY,wBAAwB,CAAC,GAAG,wBAAwB;CAKrF,CAAC;AAIF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GACvC,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/devvit/data/api/admin/v1alpha/organization.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAGxC,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,0BAA0B;IACzC,YAAY,CAAC,EAAE,YAAY,GAA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messageTypeRegistry.set(GetOrganizationByNameResponse.$type, GetOrganizationByNameResponse);
319
+ function createBaseGetOrganizationByIdRequest() {
320
+ return { id: "" };
321
+ }
322
+ export const GetOrganizationByIdRequest = {
323
+ $type: "devvit.data.api.admin.v1alpha.GetOrganizationByIdRequest",
324
+ encode(message, writer = _m0.Writer.create()) {
325
+ if (message.id !== "") {
326
+ writer.uint32(10).string(message.id);
327
+ }
328
+ return writer;
329
+ },
330
+ decode(input, length) {
331
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
332
+ let end = length === undefined ? reader.len : reader.pos + length;
333
+ const message = createBaseGetOrganizationByIdRequest();
334
+ while (reader.pos < end) {
335
+ const tag = reader.uint32();
336
+ switch (tag >>> 3) {
337
+ case 1:
338
+ if (tag !== 10) {
339
+ break;
340
+ }
341
+ message.id = reader.string();
342
+ continue;
343
+ }
344
+ if ((tag & 7) === 4 || tag === 0) {
345
+ break;
346
+ }
347
+ reader.skipType(tag & 7);
348
+ }
349
+ return message;
350
+ },
351
+ fromJSON(object) {
352
+ return { id: isSet(object.id) ? globalThis.String(object.id) : "" };
353
+ },
354
+ toJSON(message) {
355
+ const obj = {};
356
+ if (message.id !== "") {
357
+ obj.id = message.id;
358
+ }
359
+ return obj;
360
+ },
361
+ create(base) {
362
+ return GetOrganizationByIdRequest.fromPartial(base ?? {});
363
+ },
364
+ fromPartial(object) {
365
+ const message = createBaseGetOrganizationByIdRequest();
366
+ message.id = object.id ?? "";
367
+ return message;
368
+ },
369
+ };
370
+ messageTypeRegistry.set(GetOrganizationByIdRequest.$type, GetOrganizationByIdRequest);
371
+ function createBaseGetOrganizationByIdResponse() {
372
+ return { organization: undefined };
373
+ }
374
+ export const GetOrganizationByIdResponse = {
375
+ $type: "devvit.data.api.admin.v1alpha.GetOrganizationByIdResponse",
376
+ encode(message, writer = _m0.Writer.create()) {
377
+ if (message.organization !== undefined) {
378
+ Organization.encode(message.organization, writer.uint32(10).fork()).ldelim();
379
+ }
380
+ return writer;
381
+ },
382
+ decode(input, length) {
383
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
384
+ let end = length === undefined ? reader.len : reader.pos + length;
385
+ const message = createBaseGetOrganizationByIdResponse();
386
+ while (reader.pos < end) {
387
+ const tag = reader.uint32();
388
+ switch (tag >>> 3) {
389
+ case 1:
390
+ if (tag !== 10) {
391
+ break;
392
+ }
393
+ message.organization = Organization.decode(reader, reader.uint32());
394
+ continue;
395
+ }
396
+ if ((tag & 7) === 4 || tag === 0) {
397
+ break;
398
+ }
399
+ reader.skipType(tag & 7);
400
+ }
401
+ return message;
402
+ },
403
+ fromJSON(object) {
404
+ return { organization: isSet(object.organization) ? Organization.fromJSON(object.organization) : undefined };
405
+ },
406
+ toJSON(message) {
407
+ const obj = {};
408
+ if (message.organization !== undefined) {
409
+ obj.organization = Organization.toJSON(message.organization);
410
+ }
411
+ return obj;
412
+ },
413
+ create(base) {
414
+ return GetOrganizationByIdResponse.fromPartial(base ?? {});
415
+ },
416
+ fromPartial(object) {
417
+ const message = createBaseGetOrganizationByIdResponse();
418
+ message.organization = (object.organization !== undefined && object.organization !== null)
419
+ ? Organization.fromPartial(object.organization)
420
+ : undefined;
421
+ return message;
422
+ },
423
+ };
424
+ messageTypeRegistry.set(GetOrganizationByIdResponse.$type, GetOrganizationByIdResponse);
319
425
  function createBaseGetOrganizationsRequest() {
320
426
  return {};
321
427
  }
@@ -7,8 +7,9 @@ import _m0 from 'protobufjs/minimal.js';
7
7
  import { Metadata } from "../../../../../../lib/Types.js";
8
8
  import { CreateAuditLogEventRequest, CreateAuditLogEventResponse, GetAuditLogEventsByOrganizationNameRequest, GetAuditLogEventsByOrganizationNameResponse } from './audit.js';
9
9
  import { CreateAccessTokenRequest, CreateAccessTokenResponse, GetAccessTokenByIdRequest, GetAccessTokenByIdResponse, GetAccessTokensByOrganizationNameRequest, GetAccessTokensByOrganizationNameResponse, RevokeAccessTokenByIdRequest, RevokeAccessTokenByIdResponse } from './auth.js';
10
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationByNameRequest, GetOrganizationByNameResponse, GetOrganizationsRequest, GetOrganizationsResponse } from './organization.js';
10
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationByIdRequest, GetOrganizationByIdResponse, GetOrganizationByNameRequest, GetOrganizationByNameResponse, GetOrganizationsRequest, GetOrganizationsResponse } from './organization.js';
11
11
  import { CreateSubscriptionRequest, CreateSubscriptionResponse, DeleteSubscriptionRequest, DeleteSubscriptionResponse, GetSubscriptionByIdRequest, GetSubscriptionByIdResponse, GetSubscriptionsByOrganizationNameRequest, GetSubscriptionsByOrganizationNameResponse, UpdateSubscriptionRequest, UpdateSubscriptionResponse } from './subscription.js';
12
+ import { UIGetOrganizationsRequest, UIGetOrganizationsResponse } from './ui.js';
12
13
  export interface Admin {
13
14
  /** Auth */
14
15
  CreateAccessToken(request: CreateAccessTokenRequest, metadata?: Metadata): Promise<CreateAccessTokenResponse>;
@@ -23,11 +24,14 @@ export interface Admin {
23
24
  DeleteSubscription(request: DeleteSubscriptionRequest, metadata?: Metadata): Promise<DeleteSubscriptionResponse>;
24
25
  /** Organizations */
25
26
  CreateOrganization(request: CreateOrganizationRequest, metadata?: Metadata): Promise<CreateOrganizationResponse>;
27
+ GetOrganizationById(request: GetOrganizationByIdRequest, metadata?: Metadata): Promise<GetOrganizationByIdResponse>;
26
28
  GetOrganizationByName(request: GetOrganizationByNameRequest, metadata?: Metadata): Promise<GetOrganizationByNameResponse>;
27
29
  GetOrganizations(request: GetOrganizationsRequest, metadata?: Metadata): Promise<GetOrganizationsResponse>;
28
30
  /** Audit Logs */
29
31
  GetAuditLogEventsByOrganizationName(request: GetAuditLogEventsByOrganizationNameRequest, metadata?: Metadata): Promise<GetAuditLogEventsByOrganizationNameResponse>;
30
32
  CreateAuditLogEvent(request: CreateAuditLogEventRequest, metadata?: Metadata): Promise<CreateAuditLogEventResponse>;
33
+ /** UI Helpers */
34
+ UIGetHydratedOrganizations(request: UIGetOrganizationsRequest, metadata?: Metadata): Promise<UIGetOrganizationsResponse>;
31
35
  }
32
36
  export declare const AdminServiceName = "devvit.data.api.admin.v1alpha.Admin";
33
37
  export declare class AdminClientImpl implements Admin {
@@ -46,10 +50,12 @@ export declare class AdminClientImpl implements Admin {
46
50
  UpdateSubscription(request: UpdateSubscriptionRequest, metadata?: Metadata): Promise<UpdateSubscriptionResponse>;
47
51
  DeleteSubscription(request: DeleteSubscriptionRequest, metadata?: Metadata): Promise<DeleteSubscriptionResponse>;
48
52
  CreateOrganization(request: CreateOrganizationRequest, metadata?: Metadata): Promise<CreateOrganizationResponse>;
53
+ GetOrganizationById(request: GetOrganizationByIdRequest, metadata?: Metadata): Promise<GetOrganizationByIdResponse>;
49
54
  GetOrganizationByName(request: GetOrganizationByNameRequest, metadata?: Metadata): Promise<GetOrganizationByNameResponse>;
50
55
  GetOrganizations(request: GetOrganizationsRequest, metadata?: Metadata): Promise<GetOrganizationsResponse>;
51
56
  GetAuditLogEventsByOrganizationName(request: GetAuditLogEventsByOrganizationNameRequest, metadata?: Metadata): Promise<GetAuditLogEventsByOrganizationNameResponse>;
52
57
  CreateAuditLogEvent(request: CreateAuditLogEventRequest, metadata?: Metadata): Promise<CreateAuditLogEventResponse>;
58
+ UIGetHydratedOrganizations(request: UIGetOrganizationsRequest, metadata?: Metadata): Promise<UIGetOrganizationsResponse>;
53
59
  }
54
60
  export type AdminDefinition = typeof AdminDefinition;
55
61
  export declare const AdminDefinition: {
@@ -90,10 +96,12 @@ export declare const AdminDefinition: {
90
96
  create(base?: {
91
97
  token?: string;
92
98
  expiresAt?: Date | undefined;
99
+ tokenId?: string;
93
100
  } | undefined): CreateAccessTokenResponse;
94
101
  fromPartial(object: {
95
102
  token?: string;
96
103
  expiresAt?: Date | undefined;
104
+ tokenId?: string;
97
105
  }): CreateAccessTokenResponse;
98
106
  };
99
107
  readonly responseStream: false;
@@ -499,6 +507,46 @@ export declare const AdminDefinition: {
499
507
  readonly responseStream: false;
500
508
  readonly options: {};
501
509
  };
510
+ readonly getOrganizationById: {
511
+ readonly name: "GetOrganizationById";
512
+ readonly requestType: {
513
+ $type: "devvit.data.api.admin.v1alpha.GetOrganizationByIdRequest";
514
+ encode(message: GetOrganizationByIdRequest, writer?: _m0.Writer): _m0.Writer;
515
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GetOrganizationByIdRequest;
516
+ fromJSON(object: any): GetOrganizationByIdRequest;
517
+ toJSON(message: GetOrganizationByIdRequest): unknown;
518
+ create(base?: {
519
+ id?: string;
520
+ } | undefined): GetOrganizationByIdRequest;
521
+ fromPartial(object: {
522
+ id?: string;
523
+ }): GetOrganizationByIdRequest;
524
+ };
525
+ readonly requestStream: false;
526
+ readonly responseType: {
527
+ $type: "devvit.data.api.admin.v1alpha.GetOrganizationByIdResponse";
528
+ encode(message: GetOrganizationByIdResponse, writer?: _m0.Writer): _m0.Writer;
529
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GetOrganizationByIdResponse;
530
+ fromJSON(object: any): GetOrganizationByIdResponse;
531
+ toJSON(message: GetOrganizationByIdResponse): unknown;
532
+ create(base?: {
533
+ organization?: {
534
+ id?: string;
535
+ name?: string;
536
+ isInternal?: boolean;
537
+ } | undefined;
538
+ } | undefined): GetOrganizationByIdResponse;
539
+ fromPartial(object: {
540
+ organization?: {
541
+ id?: string;
542
+ name?: string;
543
+ isInternal?: boolean;
544
+ } | undefined;
545
+ }): GetOrganizationByIdResponse;
546
+ };
547
+ readonly responseStream: false;
548
+ readonly options: {};
549
+ };
502
550
  readonly getOrganizationByName: {
503
551
  readonly name: "GetOrganizationByName";
504
552
  readonly requestType: {
@@ -520,7 +568,7 @@ export declare const AdminDefinition: {
520
568
  encode(message: GetOrganizationByNameResponse, writer?: _m0.Writer): _m0.Writer;
521
569
  decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GetOrganizationByNameResponse;
522
570
  fromJSON(object: any): GetOrganizationByNameResponse;
523
- toJSON(message: GetOrganizationByNameResponse): unknown; /** Subscriptions */
571
+ toJSON(message: GetOrganizationByNameResponse): unknown;
524
572
  create(base?: {
525
573
  organization?: {
526
574
  id?: string;
@@ -528,6 +576,7 @@ export declare const AdminDefinition: {
528
576
  isInternal?: boolean;
529
577
  } | undefined;
530
578
  } | undefined): GetOrganizationByNameResponse;
579
+ /** Auth */
531
580
  fromPartial(object: {
532
581
  organization?: {
533
582
  id?: string;
@@ -724,6 +773,79 @@ export declare const AdminDefinition: {
724
773
  readonly responseStream: false;
725
774
  readonly options: {};
726
775
  };
776
+ /** UI Helpers */
777
+ readonly uIGetHydratedOrganizations: {
778
+ readonly name: "UIGetHydratedOrganizations";
779
+ readonly requestType: {
780
+ $type: "devvit.data.api.admin.v1alpha.UIGetOrganizationsRequest";
781
+ encode(_: UIGetOrganizationsRequest, writer?: _m0.Writer): _m0.Writer;
782
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UIGetOrganizationsRequest;
783
+ fromJSON(_: any): UIGetOrganizationsRequest;
784
+ toJSON(_: UIGetOrganizationsRequest): unknown;
785
+ create(base?: {} | undefined): UIGetOrganizationsRequest;
786
+ fromPartial(_: {}): UIGetOrganizationsRequest;
787
+ };
788
+ readonly requestStream: false;
789
+ readonly responseType: {
790
+ $type: "devvit.data.api.admin.v1alpha.UIGetOrganizationsResponse";
791
+ encode(message: UIGetOrganizationsResponse, writer?: _m0.Writer): _m0.Writer;
792
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UIGetOrganizationsResponse;
793
+ fromJSON(object: any): UIGetOrganizationsResponse;
794
+ toJSON(message: UIGetOrganizationsResponse): unknown;
795
+ create(base?: {
796
+ organizations?: {
797
+ organization?: {
798
+ id?: string;
799
+ name?: string;
800
+ isInternal?: boolean;
801
+ } | undefined;
802
+ subscriptions?: {
803
+ id?: string;
804
+ name?: string;
805
+ organizationId?: string;
806
+ description?: string;
807
+ events?: import("../../../../options/options.js").FirehoseEvent[];
808
+ subreddits?: string[];
809
+ subredditRatings?: import("../../../../reddit/v2alpha/subredditv2.js").SubredditRating[];
810
+ }[];
811
+ acccessTokens?: {
812
+ id?: string;
813
+ organizationId?: string;
814
+ createdAt?: Date | undefined;
815
+ expiresAt?: Date | undefined;
816
+ isRevoked?: boolean;
817
+ }[];
818
+ }[];
819
+ } | undefined): UIGetOrganizationsResponse;
820
+ fromPartial(object: {
821
+ organizations?: {
822
+ organization?: {
823
+ id?: string;
824
+ name?: string;
825
+ isInternal?: boolean;
826
+ } | undefined;
827
+ subscriptions?: {
828
+ id?: string;
829
+ name?: string;
830
+ organizationId?: string;
831
+ description?: string;
832
+ events?: import("../../../../options/options.js").FirehoseEvent[];
833
+ subreddits?: string[];
834
+ subredditRatings?: import("../../../../reddit/v2alpha/subredditv2.js").SubredditRating[];
835
+ }[];
836
+ acccessTokens?: {
837
+ id?: string;
838
+ organizationId?: string;
839
+ createdAt?: Date | undefined;
840
+ expiresAt?: Date | undefined;
841
+ isRevoked?: boolean;
842
+ }[];
843
+ }[];
844
+ }): UIGetOrganizationsResponse;
845
+ };
846
+ readonly responseStream: false;
847
+ readonly options: {};
848
+ };
727
849
  };
728
850
  };
729
851
  interface Rpc {
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/devvit/data/api/admin/v1alpha/service.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,0CAA0C,EAC1C,2CAA2C,EAC5C,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,EAC1B,wCAAwC,EACxC,yCAAyC,EACzC,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC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