@google-apps/chat 0.14.0 → 0.16.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/README.md +6 -2
- package/build/protos/google/chat/v1/chat_service.proto +81 -0
- package/build/protos/google/chat/v1/reaction.proto +148 -3
- package/build/protos/protos.d.ts +730 -40
- package/build/protos/protos.js +2553 -552
- package/build/protos/protos.json +269 -17
- package/build/src/v1/chat_service_client.d.ts +916 -636
- package/build/src/v1/chat_service_client.js +617 -305
- package/build/src/v1/chat_service_client.js.map +1 -1
- package/build/src/v1/chat_service_client_config.json +20 -0
- package/build/src/v1/gapic_metadata.json +44 -0
- package/package.json +4 -4
- package/CHANGELOG.md +0 -112
package/build/protos/protos.d.ts
CHANGED
|
@@ -800,7 +800,7 @@ export namespace google {
|
|
|
800
800
|
interface IBytesValue {
|
|
801
801
|
|
|
802
802
|
/** BytesValue value */
|
|
803
|
-
value?: (Uint8Array|string|null);
|
|
803
|
+
value?: (Uint8Array|Buffer|string|null);
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
/** Represents a BytesValue. */
|
|
@@ -813,7 +813,7 @@ export namespace google {
|
|
|
813
813
|
constructor(properties?: google.protobuf.IBytesValue);
|
|
814
814
|
|
|
815
815
|
/** BytesValue value. */
|
|
816
|
-
public value: (Uint8Array|string);
|
|
816
|
+
public value: (Uint8Array|Buffer|string);
|
|
817
817
|
|
|
818
818
|
/**
|
|
819
819
|
* Creates a new BytesValue instance using the specified properties.
|
|
@@ -3690,6 +3690,9 @@ export namespace google {
|
|
|
3690
3690
|
|
|
3691
3691
|
/** ServiceOptions .google.api.oauthScopes */
|
|
3692
3692
|
".google.api.oauthScopes"?: (string|null);
|
|
3693
|
+
|
|
3694
|
+
/** ServiceOptions .google.api.apiVersion */
|
|
3695
|
+
".google.api.apiVersion"?: (string|null);
|
|
3693
3696
|
}
|
|
3694
3697
|
|
|
3695
3698
|
/** Represents a ServiceOptions. */
|
|
@@ -3938,7 +3941,7 @@ export namespace google {
|
|
|
3938
3941
|
doubleValue?: (number|null);
|
|
3939
3942
|
|
|
3940
3943
|
/** UninterpretedOption stringValue */
|
|
3941
|
-
stringValue?: (Uint8Array|string|null);
|
|
3944
|
+
stringValue?: (Uint8Array|Buffer|string|null);
|
|
3942
3945
|
|
|
3943
3946
|
/** UninterpretedOption aggregateValue */
|
|
3944
3947
|
aggregateValue?: (string|null);
|
|
@@ -3969,7 +3972,7 @@ export namespace google {
|
|
|
3969
3972
|
public doubleValue: number;
|
|
3970
3973
|
|
|
3971
3974
|
/** UninterpretedOption stringValue. */
|
|
3972
|
-
public stringValue: (Uint8Array|string);
|
|
3975
|
+
public stringValue: (Uint8Array|Buffer|string);
|
|
3973
3976
|
|
|
3974
3977
|
/** UninterpretedOption aggregateValue. */
|
|
3975
3978
|
public aggregateValue: string;
|
|
@@ -9846,9 +9849,6 @@ export namespace google {
|
|
|
9846
9849
|
/** Annotation customEmojiMetadata. */
|
|
9847
9850
|
public customEmojiMetadata?: (google.chat.v1.ICustomEmojiMetadata|null);
|
|
9848
9851
|
|
|
9849
|
-
/** Annotation _startIndex. */
|
|
9850
|
-
public _startIndex?: "startIndex";
|
|
9851
|
-
|
|
9852
9852
|
/** Annotation metadata. */
|
|
9853
9853
|
public metadata?: ("userMention"|"slashCommand"|"richLinkMetadata"|"customEmojiMetadata");
|
|
9854
9854
|
|
|
@@ -11487,8 +11487,20 @@ export namespace google {
|
|
|
11487
11487
|
/** Properties of a CustomEmoji. */
|
|
11488
11488
|
interface ICustomEmoji {
|
|
11489
11489
|
|
|
11490
|
+
/** CustomEmoji name */
|
|
11491
|
+
name?: (string|null);
|
|
11492
|
+
|
|
11490
11493
|
/** CustomEmoji uid */
|
|
11491
11494
|
uid?: (string|null);
|
|
11495
|
+
|
|
11496
|
+
/** CustomEmoji emojiName */
|
|
11497
|
+
emojiName?: (string|null);
|
|
11498
|
+
|
|
11499
|
+
/** CustomEmoji temporaryImageUri */
|
|
11500
|
+
temporaryImageUri?: (string|null);
|
|
11501
|
+
|
|
11502
|
+
/** CustomEmoji payload */
|
|
11503
|
+
payload?: (google.chat.v1.CustomEmoji.ICustomEmojiPayload|null);
|
|
11492
11504
|
}
|
|
11493
11505
|
|
|
11494
11506
|
/** Represents a CustomEmoji. */
|
|
@@ -11500,9 +11512,21 @@ export namespace google {
|
|
|
11500
11512
|
*/
|
|
11501
11513
|
constructor(properties?: google.chat.v1.ICustomEmoji);
|
|
11502
11514
|
|
|
11515
|
+
/** CustomEmoji name. */
|
|
11516
|
+
public name: string;
|
|
11517
|
+
|
|
11503
11518
|
/** CustomEmoji uid. */
|
|
11504
11519
|
public uid: string;
|
|
11505
11520
|
|
|
11521
|
+
/** CustomEmoji emojiName. */
|
|
11522
|
+
public emojiName: string;
|
|
11523
|
+
|
|
11524
|
+
/** CustomEmoji temporaryImageUri. */
|
|
11525
|
+
public temporaryImageUri: string;
|
|
11526
|
+
|
|
11527
|
+
/** CustomEmoji payload. */
|
|
11528
|
+
public payload?: (google.chat.v1.CustomEmoji.ICustomEmojiPayload|null);
|
|
11529
|
+
|
|
11506
11530
|
/**
|
|
11507
11531
|
* Creates a new CustomEmoji instance using the specified properties.
|
|
11508
11532
|
* @param [properties] Properties to set
|
|
@@ -11581,6 +11605,112 @@ export namespace google {
|
|
|
11581
11605
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11582
11606
|
}
|
|
11583
11607
|
|
|
11608
|
+
namespace CustomEmoji {
|
|
11609
|
+
|
|
11610
|
+
/** Properties of a CustomEmojiPayload. */
|
|
11611
|
+
interface ICustomEmojiPayload {
|
|
11612
|
+
|
|
11613
|
+
/** CustomEmojiPayload fileContent */
|
|
11614
|
+
fileContent?: (Uint8Array|Buffer|string|null);
|
|
11615
|
+
|
|
11616
|
+
/** CustomEmojiPayload filename */
|
|
11617
|
+
filename?: (string|null);
|
|
11618
|
+
}
|
|
11619
|
+
|
|
11620
|
+
/** Represents a CustomEmojiPayload. */
|
|
11621
|
+
class CustomEmojiPayload implements ICustomEmojiPayload {
|
|
11622
|
+
|
|
11623
|
+
/**
|
|
11624
|
+
* Constructs a new CustomEmojiPayload.
|
|
11625
|
+
* @param [properties] Properties to set
|
|
11626
|
+
*/
|
|
11627
|
+
constructor(properties?: google.chat.v1.CustomEmoji.ICustomEmojiPayload);
|
|
11628
|
+
|
|
11629
|
+
/** CustomEmojiPayload fileContent. */
|
|
11630
|
+
public fileContent: (Uint8Array|Buffer|string);
|
|
11631
|
+
|
|
11632
|
+
/** CustomEmojiPayload filename. */
|
|
11633
|
+
public filename: string;
|
|
11634
|
+
|
|
11635
|
+
/**
|
|
11636
|
+
* Creates a new CustomEmojiPayload instance using the specified properties.
|
|
11637
|
+
* @param [properties] Properties to set
|
|
11638
|
+
* @returns CustomEmojiPayload instance
|
|
11639
|
+
*/
|
|
11640
|
+
public static create(properties?: google.chat.v1.CustomEmoji.ICustomEmojiPayload): google.chat.v1.CustomEmoji.CustomEmojiPayload;
|
|
11641
|
+
|
|
11642
|
+
/**
|
|
11643
|
+
* Encodes the specified CustomEmojiPayload message. Does not implicitly {@link google.chat.v1.CustomEmoji.CustomEmojiPayload.verify|verify} messages.
|
|
11644
|
+
* @param message CustomEmojiPayload message or plain object to encode
|
|
11645
|
+
* @param [writer] Writer to encode to
|
|
11646
|
+
* @returns Writer
|
|
11647
|
+
*/
|
|
11648
|
+
public static encode(message: google.chat.v1.CustomEmoji.ICustomEmojiPayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11649
|
+
|
|
11650
|
+
/**
|
|
11651
|
+
* Encodes the specified CustomEmojiPayload message, length delimited. Does not implicitly {@link google.chat.v1.CustomEmoji.CustomEmojiPayload.verify|verify} messages.
|
|
11652
|
+
* @param message CustomEmojiPayload message or plain object to encode
|
|
11653
|
+
* @param [writer] Writer to encode to
|
|
11654
|
+
* @returns Writer
|
|
11655
|
+
*/
|
|
11656
|
+
public static encodeDelimited(message: google.chat.v1.CustomEmoji.ICustomEmojiPayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11657
|
+
|
|
11658
|
+
/**
|
|
11659
|
+
* Decodes a CustomEmojiPayload message from the specified reader or buffer.
|
|
11660
|
+
* @param reader Reader or buffer to decode from
|
|
11661
|
+
* @param [length] Message length if known beforehand
|
|
11662
|
+
* @returns CustomEmojiPayload
|
|
11663
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11664
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11665
|
+
*/
|
|
11666
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.CustomEmoji.CustomEmojiPayload;
|
|
11667
|
+
|
|
11668
|
+
/**
|
|
11669
|
+
* Decodes a CustomEmojiPayload message from the specified reader or buffer, length delimited.
|
|
11670
|
+
* @param reader Reader or buffer to decode from
|
|
11671
|
+
* @returns CustomEmojiPayload
|
|
11672
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11673
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11674
|
+
*/
|
|
11675
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.CustomEmoji.CustomEmojiPayload;
|
|
11676
|
+
|
|
11677
|
+
/**
|
|
11678
|
+
* Verifies a CustomEmojiPayload message.
|
|
11679
|
+
* @param message Plain object to verify
|
|
11680
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11681
|
+
*/
|
|
11682
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11683
|
+
|
|
11684
|
+
/**
|
|
11685
|
+
* Creates a CustomEmojiPayload message from a plain object. Also converts values to their respective internal types.
|
|
11686
|
+
* @param object Plain object
|
|
11687
|
+
* @returns CustomEmojiPayload
|
|
11688
|
+
*/
|
|
11689
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.CustomEmoji.CustomEmojiPayload;
|
|
11690
|
+
|
|
11691
|
+
/**
|
|
11692
|
+
* Creates a plain object from a CustomEmojiPayload message. Also converts values to other types if specified.
|
|
11693
|
+
* @param message CustomEmojiPayload
|
|
11694
|
+
* @param [options] Conversion options
|
|
11695
|
+
* @returns Plain object
|
|
11696
|
+
*/
|
|
11697
|
+
public static toObject(message: google.chat.v1.CustomEmoji.CustomEmojiPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11698
|
+
|
|
11699
|
+
/**
|
|
11700
|
+
* Converts this CustomEmojiPayload to JSON.
|
|
11701
|
+
* @returns JSON object
|
|
11702
|
+
*/
|
|
11703
|
+
public toJSON(): { [k: string]: any };
|
|
11704
|
+
|
|
11705
|
+
/**
|
|
11706
|
+
* Gets the default type url for CustomEmojiPayload
|
|
11707
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11708
|
+
* @returns The default type url
|
|
11709
|
+
*/
|
|
11710
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11711
|
+
}
|
|
11712
|
+
}
|
|
11713
|
+
|
|
11584
11714
|
/** Properties of an EmojiReactionSummary. */
|
|
11585
11715
|
interface IEmojiReactionSummary {
|
|
11586
11716
|
|
|
@@ -11606,9 +11736,6 @@ export namespace google {
|
|
|
11606
11736
|
/** EmojiReactionSummary reactionCount. */
|
|
11607
11737
|
public reactionCount?: (number|null);
|
|
11608
11738
|
|
|
11609
|
-
/** EmojiReactionSummary _reactionCount. */
|
|
11610
|
-
public _reactionCount?: "reactionCount";
|
|
11611
|
-
|
|
11612
11739
|
/**
|
|
11613
11740
|
* Creates a new EmojiReactionSummary instance using the specified properties.
|
|
11614
11741
|
* @param [properties] Properties to set
|
|
@@ -12105,6 +12232,509 @@ export namespace google {
|
|
|
12105
12232
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12106
12233
|
}
|
|
12107
12234
|
|
|
12235
|
+
/** Properties of a CreateCustomEmojiRequest. */
|
|
12236
|
+
interface ICreateCustomEmojiRequest {
|
|
12237
|
+
|
|
12238
|
+
/** CreateCustomEmojiRequest customEmoji */
|
|
12239
|
+
customEmoji?: (google.chat.v1.ICustomEmoji|null);
|
|
12240
|
+
}
|
|
12241
|
+
|
|
12242
|
+
/** Represents a CreateCustomEmojiRequest. */
|
|
12243
|
+
class CreateCustomEmojiRequest implements ICreateCustomEmojiRequest {
|
|
12244
|
+
|
|
12245
|
+
/**
|
|
12246
|
+
* Constructs a new CreateCustomEmojiRequest.
|
|
12247
|
+
* @param [properties] Properties to set
|
|
12248
|
+
*/
|
|
12249
|
+
constructor(properties?: google.chat.v1.ICreateCustomEmojiRequest);
|
|
12250
|
+
|
|
12251
|
+
/** CreateCustomEmojiRequest customEmoji. */
|
|
12252
|
+
public customEmoji?: (google.chat.v1.ICustomEmoji|null);
|
|
12253
|
+
|
|
12254
|
+
/**
|
|
12255
|
+
* Creates a new CreateCustomEmojiRequest instance using the specified properties.
|
|
12256
|
+
* @param [properties] Properties to set
|
|
12257
|
+
* @returns CreateCustomEmojiRequest instance
|
|
12258
|
+
*/
|
|
12259
|
+
public static create(properties?: google.chat.v1.ICreateCustomEmojiRequest): google.chat.v1.CreateCustomEmojiRequest;
|
|
12260
|
+
|
|
12261
|
+
/**
|
|
12262
|
+
* Encodes the specified CreateCustomEmojiRequest message. Does not implicitly {@link google.chat.v1.CreateCustomEmojiRequest.verify|verify} messages.
|
|
12263
|
+
* @param message CreateCustomEmojiRequest message or plain object to encode
|
|
12264
|
+
* @param [writer] Writer to encode to
|
|
12265
|
+
* @returns Writer
|
|
12266
|
+
*/
|
|
12267
|
+
public static encode(message: google.chat.v1.ICreateCustomEmojiRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12268
|
+
|
|
12269
|
+
/**
|
|
12270
|
+
* Encodes the specified CreateCustomEmojiRequest message, length delimited. Does not implicitly {@link google.chat.v1.CreateCustomEmojiRequest.verify|verify} messages.
|
|
12271
|
+
* @param message CreateCustomEmojiRequest message or plain object to encode
|
|
12272
|
+
* @param [writer] Writer to encode to
|
|
12273
|
+
* @returns Writer
|
|
12274
|
+
*/
|
|
12275
|
+
public static encodeDelimited(message: google.chat.v1.ICreateCustomEmojiRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12276
|
+
|
|
12277
|
+
/**
|
|
12278
|
+
* Decodes a CreateCustomEmojiRequest message from the specified reader or buffer.
|
|
12279
|
+
* @param reader Reader or buffer to decode from
|
|
12280
|
+
* @param [length] Message length if known beforehand
|
|
12281
|
+
* @returns CreateCustomEmojiRequest
|
|
12282
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12283
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12284
|
+
*/
|
|
12285
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.CreateCustomEmojiRequest;
|
|
12286
|
+
|
|
12287
|
+
/**
|
|
12288
|
+
* Decodes a CreateCustomEmojiRequest message from the specified reader or buffer, length delimited.
|
|
12289
|
+
* @param reader Reader or buffer to decode from
|
|
12290
|
+
* @returns CreateCustomEmojiRequest
|
|
12291
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12292
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12293
|
+
*/
|
|
12294
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.CreateCustomEmojiRequest;
|
|
12295
|
+
|
|
12296
|
+
/**
|
|
12297
|
+
* Verifies a CreateCustomEmojiRequest message.
|
|
12298
|
+
* @param message Plain object to verify
|
|
12299
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12300
|
+
*/
|
|
12301
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12302
|
+
|
|
12303
|
+
/**
|
|
12304
|
+
* Creates a CreateCustomEmojiRequest message from a plain object. Also converts values to their respective internal types.
|
|
12305
|
+
* @param object Plain object
|
|
12306
|
+
* @returns CreateCustomEmojiRequest
|
|
12307
|
+
*/
|
|
12308
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.CreateCustomEmojiRequest;
|
|
12309
|
+
|
|
12310
|
+
/**
|
|
12311
|
+
* Creates a plain object from a CreateCustomEmojiRequest message. Also converts values to other types if specified.
|
|
12312
|
+
* @param message CreateCustomEmojiRequest
|
|
12313
|
+
* @param [options] Conversion options
|
|
12314
|
+
* @returns Plain object
|
|
12315
|
+
*/
|
|
12316
|
+
public static toObject(message: google.chat.v1.CreateCustomEmojiRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12317
|
+
|
|
12318
|
+
/**
|
|
12319
|
+
* Converts this CreateCustomEmojiRequest to JSON.
|
|
12320
|
+
* @returns JSON object
|
|
12321
|
+
*/
|
|
12322
|
+
public toJSON(): { [k: string]: any };
|
|
12323
|
+
|
|
12324
|
+
/**
|
|
12325
|
+
* Gets the default type url for CreateCustomEmojiRequest
|
|
12326
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12327
|
+
* @returns The default type url
|
|
12328
|
+
*/
|
|
12329
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12330
|
+
}
|
|
12331
|
+
|
|
12332
|
+
/** Properties of a GetCustomEmojiRequest. */
|
|
12333
|
+
interface IGetCustomEmojiRequest {
|
|
12334
|
+
|
|
12335
|
+
/** GetCustomEmojiRequest name */
|
|
12336
|
+
name?: (string|null);
|
|
12337
|
+
}
|
|
12338
|
+
|
|
12339
|
+
/** Represents a GetCustomEmojiRequest. */
|
|
12340
|
+
class GetCustomEmojiRequest implements IGetCustomEmojiRequest {
|
|
12341
|
+
|
|
12342
|
+
/**
|
|
12343
|
+
* Constructs a new GetCustomEmojiRequest.
|
|
12344
|
+
* @param [properties] Properties to set
|
|
12345
|
+
*/
|
|
12346
|
+
constructor(properties?: google.chat.v1.IGetCustomEmojiRequest);
|
|
12347
|
+
|
|
12348
|
+
/** GetCustomEmojiRequest name. */
|
|
12349
|
+
public name: string;
|
|
12350
|
+
|
|
12351
|
+
/**
|
|
12352
|
+
* Creates a new GetCustomEmojiRequest instance using the specified properties.
|
|
12353
|
+
* @param [properties] Properties to set
|
|
12354
|
+
* @returns GetCustomEmojiRequest instance
|
|
12355
|
+
*/
|
|
12356
|
+
public static create(properties?: google.chat.v1.IGetCustomEmojiRequest): google.chat.v1.GetCustomEmojiRequest;
|
|
12357
|
+
|
|
12358
|
+
/**
|
|
12359
|
+
* Encodes the specified GetCustomEmojiRequest message. Does not implicitly {@link google.chat.v1.GetCustomEmojiRequest.verify|verify} messages.
|
|
12360
|
+
* @param message GetCustomEmojiRequest message or plain object to encode
|
|
12361
|
+
* @param [writer] Writer to encode to
|
|
12362
|
+
* @returns Writer
|
|
12363
|
+
*/
|
|
12364
|
+
public static encode(message: google.chat.v1.IGetCustomEmojiRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12365
|
+
|
|
12366
|
+
/**
|
|
12367
|
+
* Encodes the specified GetCustomEmojiRequest message, length delimited. Does not implicitly {@link google.chat.v1.GetCustomEmojiRequest.verify|verify} messages.
|
|
12368
|
+
* @param message GetCustomEmojiRequest message or plain object to encode
|
|
12369
|
+
* @param [writer] Writer to encode to
|
|
12370
|
+
* @returns Writer
|
|
12371
|
+
*/
|
|
12372
|
+
public static encodeDelimited(message: google.chat.v1.IGetCustomEmojiRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12373
|
+
|
|
12374
|
+
/**
|
|
12375
|
+
* Decodes a GetCustomEmojiRequest message from the specified reader or buffer.
|
|
12376
|
+
* @param reader Reader or buffer to decode from
|
|
12377
|
+
* @param [length] Message length if known beforehand
|
|
12378
|
+
* @returns GetCustomEmojiRequest
|
|
12379
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12380
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12381
|
+
*/
|
|
12382
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.GetCustomEmojiRequest;
|
|
12383
|
+
|
|
12384
|
+
/**
|
|
12385
|
+
* Decodes a GetCustomEmojiRequest message from the specified reader or buffer, length delimited.
|
|
12386
|
+
* @param reader Reader or buffer to decode from
|
|
12387
|
+
* @returns GetCustomEmojiRequest
|
|
12388
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12389
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12390
|
+
*/
|
|
12391
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.GetCustomEmojiRequest;
|
|
12392
|
+
|
|
12393
|
+
/**
|
|
12394
|
+
* Verifies a GetCustomEmojiRequest message.
|
|
12395
|
+
* @param message Plain object to verify
|
|
12396
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12397
|
+
*/
|
|
12398
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12399
|
+
|
|
12400
|
+
/**
|
|
12401
|
+
* Creates a GetCustomEmojiRequest message from a plain object. Also converts values to their respective internal types.
|
|
12402
|
+
* @param object Plain object
|
|
12403
|
+
* @returns GetCustomEmojiRequest
|
|
12404
|
+
*/
|
|
12405
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.GetCustomEmojiRequest;
|
|
12406
|
+
|
|
12407
|
+
/**
|
|
12408
|
+
* Creates a plain object from a GetCustomEmojiRequest message. Also converts values to other types if specified.
|
|
12409
|
+
* @param message GetCustomEmojiRequest
|
|
12410
|
+
* @param [options] Conversion options
|
|
12411
|
+
* @returns Plain object
|
|
12412
|
+
*/
|
|
12413
|
+
public static toObject(message: google.chat.v1.GetCustomEmojiRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12414
|
+
|
|
12415
|
+
/**
|
|
12416
|
+
* Converts this GetCustomEmojiRequest to JSON.
|
|
12417
|
+
* @returns JSON object
|
|
12418
|
+
*/
|
|
12419
|
+
public toJSON(): { [k: string]: any };
|
|
12420
|
+
|
|
12421
|
+
/**
|
|
12422
|
+
* Gets the default type url for GetCustomEmojiRequest
|
|
12423
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12424
|
+
* @returns The default type url
|
|
12425
|
+
*/
|
|
12426
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12427
|
+
}
|
|
12428
|
+
|
|
12429
|
+
/** Properties of a ListCustomEmojisRequest. */
|
|
12430
|
+
interface IListCustomEmojisRequest {
|
|
12431
|
+
|
|
12432
|
+
/** ListCustomEmojisRequest pageSize */
|
|
12433
|
+
pageSize?: (number|null);
|
|
12434
|
+
|
|
12435
|
+
/** ListCustomEmojisRequest pageToken */
|
|
12436
|
+
pageToken?: (string|null);
|
|
12437
|
+
|
|
12438
|
+
/** ListCustomEmojisRequest filter */
|
|
12439
|
+
filter?: (string|null);
|
|
12440
|
+
}
|
|
12441
|
+
|
|
12442
|
+
/** Represents a ListCustomEmojisRequest. */
|
|
12443
|
+
class ListCustomEmojisRequest implements IListCustomEmojisRequest {
|
|
12444
|
+
|
|
12445
|
+
/**
|
|
12446
|
+
* Constructs a new ListCustomEmojisRequest.
|
|
12447
|
+
* @param [properties] Properties to set
|
|
12448
|
+
*/
|
|
12449
|
+
constructor(properties?: google.chat.v1.IListCustomEmojisRequest);
|
|
12450
|
+
|
|
12451
|
+
/** ListCustomEmojisRequest pageSize. */
|
|
12452
|
+
public pageSize: number;
|
|
12453
|
+
|
|
12454
|
+
/** ListCustomEmojisRequest pageToken. */
|
|
12455
|
+
public pageToken: string;
|
|
12456
|
+
|
|
12457
|
+
/** ListCustomEmojisRequest filter. */
|
|
12458
|
+
public filter: string;
|
|
12459
|
+
|
|
12460
|
+
/**
|
|
12461
|
+
* Creates a new ListCustomEmojisRequest instance using the specified properties.
|
|
12462
|
+
* @param [properties] Properties to set
|
|
12463
|
+
* @returns ListCustomEmojisRequest instance
|
|
12464
|
+
*/
|
|
12465
|
+
public static create(properties?: google.chat.v1.IListCustomEmojisRequest): google.chat.v1.ListCustomEmojisRequest;
|
|
12466
|
+
|
|
12467
|
+
/**
|
|
12468
|
+
* Encodes the specified ListCustomEmojisRequest message. Does not implicitly {@link google.chat.v1.ListCustomEmojisRequest.verify|verify} messages.
|
|
12469
|
+
* @param message ListCustomEmojisRequest message or plain object to encode
|
|
12470
|
+
* @param [writer] Writer to encode to
|
|
12471
|
+
* @returns Writer
|
|
12472
|
+
*/
|
|
12473
|
+
public static encode(message: google.chat.v1.IListCustomEmojisRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12474
|
+
|
|
12475
|
+
/**
|
|
12476
|
+
* Encodes the specified ListCustomEmojisRequest message, length delimited. Does not implicitly {@link google.chat.v1.ListCustomEmojisRequest.verify|verify} messages.
|
|
12477
|
+
* @param message ListCustomEmojisRequest message or plain object to encode
|
|
12478
|
+
* @param [writer] Writer to encode to
|
|
12479
|
+
* @returns Writer
|
|
12480
|
+
*/
|
|
12481
|
+
public static encodeDelimited(message: google.chat.v1.IListCustomEmojisRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12482
|
+
|
|
12483
|
+
/**
|
|
12484
|
+
* Decodes a ListCustomEmojisRequest message from the specified reader or buffer.
|
|
12485
|
+
* @param reader Reader or buffer to decode from
|
|
12486
|
+
* @param [length] Message length if known beforehand
|
|
12487
|
+
* @returns ListCustomEmojisRequest
|
|
12488
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12489
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12490
|
+
*/
|
|
12491
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListCustomEmojisRequest;
|
|
12492
|
+
|
|
12493
|
+
/**
|
|
12494
|
+
* Decodes a ListCustomEmojisRequest message from the specified reader or buffer, length delimited.
|
|
12495
|
+
* @param reader Reader or buffer to decode from
|
|
12496
|
+
* @returns ListCustomEmojisRequest
|
|
12497
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12498
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12499
|
+
*/
|
|
12500
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListCustomEmojisRequest;
|
|
12501
|
+
|
|
12502
|
+
/**
|
|
12503
|
+
* Verifies a ListCustomEmojisRequest message.
|
|
12504
|
+
* @param message Plain object to verify
|
|
12505
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12506
|
+
*/
|
|
12507
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12508
|
+
|
|
12509
|
+
/**
|
|
12510
|
+
* Creates a ListCustomEmojisRequest message from a plain object. Also converts values to their respective internal types.
|
|
12511
|
+
* @param object Plain object
|
|
12512
|
+
* @returns ListCustomEmojisRequest
|
|
12513
|
+
*/
|
|
12514
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.ListCustomEmojisRequest;
|
|
12515
|
+
|
|
12516
|
+
/**
|
|
12517
|
+
* Creates a plain object from a ListCustomEmojisRequest message. Also converts values to other types if specified.
|
|
12518
|
+
* @param message ListCustomEmojisRequest
|
|
12519
|
+
* @param [options] Conversion options
|
|
12520
|
+
* @returns Plain object
|
|
12521
|
+
*/
|
|
12522
|
+
public static toObject(message: google.chat.v1.ListCustomEmojisRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12523
|
+
|
|
12524
|
+
/**
|
|
12525
|
+
* Converts this ListCustomEmojisRequest to JSON.
|
|
12526
|
+
* @returns JSON object
|
|
12527
|
+
*/
|
|
12528
|
+
public toJSON(): { [k: string]: any };
|
|
12529
|
+
|
|
12530
|
+
/**
|
|
12531
|
+
* Gets the default type url for ListCustomEmojisRequest
|
|
12532
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12533
|
+
* @returns The default type url
|
|
12534
|
+
*/
|
|
12535
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12536
|
+
}
|
|
12537
|
+
|
|
12538
|
+
/** Properties of a ListCustomEmojisResponse. */
|
|
12539
|
+
interface IListCustomEmojisResponse {
|
|
12540
|
+
|
|
12541
|
+
/** ListCustomEmojisResponse customEmojis */
|
|
12542
|
+
customEmojis?: (google.chat.v1.ICustomEmoji[]|null);
|
|
12543
|
+
|
|
12544
|
+
/** ListCustomEmojisResponse nextPageToken */
|
|
12545
|
+
nextPageToken?: (string|null);
|
|
12546
|
+
}
|
|
12547
|
+
|
|
12548
|
+
/** Represents a ListCustomEmojisResponse. */
|
|
12549
|
+
class ListCustomEmojisResponse implements IListCustomEmojisResponse {
|
|
12550
|
+
|
|
12551
|
+
/**
|
|
12552
|
+
* Constructs a new ListCustomEmojisResponse.
|
|
12553
|
+
* @param [properties] Properties to set
|
|
12554
|
+
*/
|
|
12555
|
+
constructor(properties?: google.chat.v1.IListCustomEmojisResponse);
|
|
12556
|
+
|
|
12557
|
+
/** ListCustomEmojisResponse customEmojis. */
|
|
12558
|
+
public customEmojis: google.chat.v1.ICustomEmoji[];
|
|
12559
|
+
|
|
12560
|
+
/** ListCustomEmojisResponse nextPageToken. */
|
|
12561
|
+
public nextPageToken: string;
|
|
12562
|
+
|
|
12563
|
+
/**
|
|
12564
|
+
* Creates a new ListCustomEmojisResponse instance using the specified properties.
|
|
12565
|
+
* @param [properties] Properties to set
|
|
12566
|
+
* @returns ListCustomEmojisResponse instance
|
|
12567
|
+
*/
|
|
12568
|
+
public static create(properties?: google.chat.v1.IListCustomEmojisResponse): google.chat.v1.ListCustomEmojisResponse;
|
|
12569
|
+
|
|
12570
|
+
/**
|
|
12571
|
+
* Encodes the specified ListCustomEmojisResponse message. Does not implicitly {@link google.chat.v1.ListCustomEmojisResponse.verify|verify} messages.
|
|
12572
|
+
* @param message ListCustomEmojisResponse message or plain object to encode
|
|
12573
|
+
* @param [writer] Writer to encode to
|
|
12574
|
+
* @returns Writer
|
|
12575
|
+
*/
|
|
12576
|
+
public static encode(message: google.chat.v1.IListCustomEmojisResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12577
|
+
|
|
12578
|
+
/**
|
|
12579
|
+
* Encodes the specified ListCustomEmojisResponse message, length delimited. Does not implicitly {@link google.chat.v1.ListCustomEmojisResponse.verify|verify} messages.
|
|
12580
|
+
* @param message ListCustomEmojisResponse message or plain object to encode
|
|
12581
|
+
* @param [writer] Writer to encode to
|
|
12582
|
+
* @returns Writer
|
|
12583
|
+
*/
|
|
12584
|
+
public static encodeDelimited(message: google.chat.v1.IListCustomEmojisResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12585
|
+
|
|
12586
|
+
/**
|
|
12587
|
+
* Decodes a ListCustomEmojisResponse message from the specified reader or buffer.
|
|
12588
|
+
* @param reader Reader or buffer to decode from
|
|
12589
|
+
* @param [length] Message length if known beforehand
|
|
12590
|
+
* @returns ListCustomEmojisResponse
|
|
12591
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12592
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12593
|
+
*/
|
|
12594
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListCustomEmojisResponse;
|
|
12595
|
+
|
|
12596
|
+
/**
|
|
12597
|
+
* Decodes a ListCustomEmojisResponse message from the specified reader or buffer, length delimited.
|
|
12598
|
+
* @param reader Reader or buffer to decode from
|
|
12599
|
+
* @returns ListCustomEmojisResponse
|
|
12600
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12601
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12602
|
+
*/
|
|
12603
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListCustomEmojisResponse;
|
|
12604
|
+
|
|
12605
|
+
/**
|
|
12606
|
+
* Verifies a ListCustomEmojisResponse message.
|
|
12607
|
+
* @param message Plain object to verify
|
|
12608
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12609
|
+
*/
|
|
12610
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12611
|
+
|
|
12612
|
+
/**
|
|
12613
|
+
* Creates a ListCustomEmojisResponse message from a plain object. Also converts values to their respective internal types.
|
|
12614
|
+
* @param object Plain object
|
|
12615
|
+
* @returns ListCustomEmojisResponse
|
|
12616
|
+
*/
|
|
12617
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.ListCustomEmojisResponse;
|
|
12618
|
+
|
|
12619
|
+
/**
|
|
12620
|
+
* Creates a plain object from a ListCustomEmojisResponse message. Also converts values to other types if specified.
|
|
12621
|
+
* @param message ListCustomEmojisResponse
|
|
12622
|
+
* @param [options] Conversion options
|
|
12623
|
+
* @returns Plain object
|
|
12624
|
+
*/
|
|
12625
|
+
public static toObject(message: google.chat.v1.ListCustomEmojisResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12626
|
+
|
|
12627
|
+
/**
|
|
12628
|
+
* Converts this ListCustomEmojisResponse to JSON.
|
|
12629
|
+
* @returns JSON object
|
|
12630
|
+
*/
|
|
12631
|
+
public toJSON(): { [k: string]: any };
|
|
12632
|
+
|
|
12633
|
+
/**
|
|
12634
|
+
* Gets the default type url for ListCustomEmojisResponse
|
|
12635
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12636
|
+
* @returns The default type url
|
|
12637
|
+
*/
|
|
12638
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12639
|
+
}
|
|
12640
|
+
|
|
12641
|
+
/** Properties of a DeleteCustomEmojiRequest. */
|
|
12642
|
+
interface IDeleteCustomEmojiRequest {
|
|
12643
|
+
|
|
12644
|
+
/** DeleteCustomEmojiRequest name */
|
|
12645
|
+
name?: (string|null);
|
|
12646
|
+
}
|
|
12647
|
+
|
|
12648
|
+
/** Represents a DeleteCustomEmojiRequest. */
|
|
12649
|
+
class DeleteCustomEmojiRequest implements IDeleteCustomEmojiRequest {
|
|
12650
|
+
|
|
12651
|
+
/**
|
|
12652
|
+
* Constructs a new DeleteCustomEmojiRequest.
|
|
12653
|
+
* @param [properties] Properties to set
|
|
12654
|
+
*/
|
|
12655
|
+
constructor(properties?: google.chat.v1.IDeleteCustomEmojiRequest);
|
|
12656
|
+
|
|
12657
|
+
/** DeleteCustomEmojiRequest name. */
|
|
12658
|
+
public name: string;
|
|
12659
|
+
|
|
12660
|
+
/**
|
|
12661
|
+
* Creates a new DeleteCustomEmojiRequest instance using the specified properties.
|
|
12662
|
+
* @param [properties] Properties to set
|
|
12663
|
+
* @returns DeleteCustomEmojiRequest instance
|
|
12664
|
+
*/
|
|
12665
|
+
public static create(properties?: google.chat.v1.IDeleteCustomEmojiRequest): google.chat.v1.DeleteCustomEmojiRequest;
|
|
12666
|
+
|
|
12667
|
+
/**
|
|
12668
|
+
* Encodes the specified DeleteCustomEmojiRequest message. Does not implicitly {@link google.chat.v1.DeleteCustomEmojiRequest.verify|verify} messages.
|
|
12669
|
+
* @param message DeleteCustomEmojiRequest message or plain object to encode
|
|
12670
|
+
* @param [writer] Writer to encode to
|
|
12671
|
+
* @returns Writer
|
|
12672
|
+
*/
|
|
12673
|
+
public static encode(message: google.chat.v1.IDeleteCustomEmojiRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12674
|
+
|
|
12675
|
+
/**
|
|
12676
|
+
* Encodes the specified DeleteCustomEmojiRequest message, length delimited. Does not implicitly {@link google.chat.v1.DeleteCustomEmojiRequest.verify|verify} messages.
|
|
12677
|
+
* @param message DeleteCustomEmojiRequest message or plain object to encode
|
|
12678
|
+
* @param [writer] Writer to encode to
|
|
12679
|
+
* @returns Writer
|
|
12680
|
+
*/
|
|
12681
|
+
public static encodeDelimited(message: google.chat.v1.IDeleteCustomEmojiRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12682
|
+
|
|
12683
|
+
/**
|
|
12684
|
+
* Decodes a DeleteCustomEmojiRequest message from the specified reader or buffer.
|
|
12685
|
+
* @param reader Reader or buffer to decode from
|
|
12686
|
+
* @param [length] Message length if known beforehand
|
|
12687
|
+
* @returns DeleteCustomEmojiRequest
|
|
12688
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12689
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12690
|
+
*/
|
|
12691
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.DeleteCustomEmojiRequest;
|
|
12692
|
+
|
|
12693
|
+
/**
|
|
12694
|
+
* Decodes a DeleteCustomEmojiRequest message from the specified reader or buffer, length delimited.
|
|
12695
|
+
* @param reader Reader or buffer to decode from
|
|
12696
|
+
* @returns DeleteCustomEmojiRequest
|
|
12697
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12698
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12699
|
+
*/
|
|
12700
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.DeleteCustomEmojiRequest;
|
|
12701
|
+
|
|
12702
|
+
/**
|
|
12703
|
+
* Verifies a DeleteCustomEmojiRequest message.
|
|
12704
|
+
* @param message Plain object to verify
|
|
12705
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12706
|
+
*/
|
|
12707
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12708
|
+
|
|
12709
|
+
/**
|
|
12710
|
+
* Creates a DeleteCustomEmojiRequest message from a plain object. Also converts values to their respective internal types.
|
|
12711
|
+
* @param object Plain object
|
|
12712
|
+
* @returns DeleteCustomEmojiRequest
|
|
12713
|
+
*/
|
|
12714
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.DeleteCustomEmojiRequest;
|
|
12715
|
+
|
|
12716
|
+
/**
|
|
12717
|
+
* Creates a plain object from a DeleteCustomEmojiRequest message. Also converts values to other types if specified.
|
|
12718
|
+
* @param message DeleteCustomEmojiRequest
|
|
12719
|
+
* @param [options] Conversion options
|
|
12720
|
+
* @returns Plain object
|
|
12721
|
+
*/
|
|
12722
|
+
public static toObject(message: google.chat.v1.DeleteCustomEmojiRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12723
|
+
|
|
12724
|
+
/**
|
|
12725
|
+
* Converts this DeleteCustomEmojiRequest to JSON.
|
|
12726
|
+
* @returns JSON object
|
|
12727
|
+
*/
|
|
12728
|
+
public toJSON(): { [k: string]: any };
|
|
12729
|
+
|
|
12730
|
+
/**
|
|
12731
|
+
* Gets the default type url for DeleteCustomEmojiRequest
|
|
12732
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12733
|
+
* @returns The default type url
|
|
12734
|
+
*/
|
|
12735
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12736
|
+
}
|
|
12737
|
+
|
|
12108
12738
|
/** Properties of a User. */
|
|
12109
12739
|
interface IUser {
|
|
12110
12740
|
|
|
@@ -12592,6 +13222,62 @@ export namespace google {
|
|
|
12592
13222
|
*/
|
|
12593
13223
|
public deleteReaction(request: google.chat.v1.IDeleteReactionRequest): Promise<google.protobuf.Empty>;
|
|
12594
13224
|
|
|
13225
|
+
/**
|
|
13226
|
+
* Calls CreateCustomEmoji.
|
|
13227
|
+
* @param request CreateCustomEmojiRequest message or plain object
|
|
13228
|
+
* @param callback Node-style callback called with the error, if any, and CustomEmoji
|
|
13229
|
+
*/
|
|
13230
|
+
public createCustomEmoji(request: google.chat.v1.ICreateCustomEmojiRequest, callback: google.chat.v1.ChatService.CreateCustomEmojiCallback): void;
|
|
13231
|
+
|
|
13232
|
+
/**
|
|
13233
|
+
* Calls CreateCustomEmoji.
|
|
13234
|
+
* @param request CreateCustomEmojiRequest message or plain object
|
|
13235
|
+
* @returns Promise
|
|
13236
|
+
*/
|
|
13237
|
+
public createCustomEmoji(request: google.chat.v1.ICreateCustomEmojiRequest): Promise<google.chat.v1.CustomEmoji>;
|
|
13238
|
+
|
|
13239
|
+
/**
|
|
13240
|
+
* Calls GetCustomEmoji.
|
|
13241
|
+
* @param request GetCustomEmojiRequest message or plain object
|
|
13242
|
+
* @param callback Node-style callback called with the error, if any, and CustomEmoji
|
|
13243
|
+
*/
|
|
13244
|
+
public getCustomEmoji(request: google.chat.v1.IGetCustomEmojiRequest, callback: google.chat.v1.ChatService.GetCustomEmojiCallback): void;
|
|
13245
|
+
|
|
13246
|
+
/**
|
|
13247
|
+
* Calls GetCustomEmoji.
|
|
13248
|
+
* @param request GetCustomEmojiRequest message or plain object
|
|
13249
|
+
* @returns Promise
|
|
13250
|
+
*/
|
|
13251
|
+
public getCustomEmoji(request: google.chat.v1.IGetCustomEmojiRequest): Promise<google.chat.v1.CustomEmoji>;
|
|
13252
|
+
|
|
13253
|
+
/**
|
|
13254
|
+
* Calls ListCustomEmojis.
|
|
13255
|
+
* @param request ListCustomEmojisRequest message or plain object
|
|
13256
|
+
* @param callback Node-style callback called with the error, if any, and ListCustomEmojisResponse
|
|
13257
|
+
*/
|
|
13258
|
+
public listCustomEmojis(request: google.chat.v1.IListCustomEmojisRequest, callback: google.chat.v1.ChatService.ListCustomEmojisCallback): void;
|
|
13259
|
+
|
|
13260
|
+
/**
|
|
13261
|
+
* Calls ListCustomEmojis.
|
|
13262
|
+
* @param request ListCustomEmojisRequest message or plain object
|
|
13263
|
+
* @returns Promise
|
|
13264
|
+
*/
|
|
13265
|
+
public listCustomEmojis(request: google.chat.v1.IListCustomEmojisRequest): Promise<google.chat.v1.ListCustomEmojisResponse>;
|
|
13266
|
+
|
|
13267
|
+
/**
|
|
13268
|
+
* Calls DeleteCustomEmoji.
|
|
13269
|
+
* @param request DeleteCustomEmojiRequest message or plain object
|
|
13270
|
+
* @param callback Node-style callback called with the error, if any, and Empty
|
|
13271
|
+
*/
|
|
13272
|
+
public deleteCustomEmoji(request: google.chat.v1.IDeleteCustomEmojiRequest, callback: google.chat.v1.ChatService.DeleteCustomEmojiCallback): void;
|
|
13273
|
+
|
|
13274
|
+
/**
|
|
13275
|
+
* Calls DeleteCustomEmoji.
|
|
13276
|
+
* @param request DeleteCustomEmojiRequest message or plain object
|
|
13277
|
+
* @returns Promise
|
|
13278
|
+
*/
|
|
13279
|
+
public deleteCustomEmoji(request: google.chat.v1.IDeleteCustomEmojiRequest): Promise<google.protobuf.Empty>;
|
|
13280
|
+
|
|
12595
13281
|
/**
|
|
12596
13282
|
* Calls GetSpaceReadState.
|
|
12597
13283
|
* @param request GetSpaceReadStateRequest message or plain object
|
|
@@ -12861,6 +13547,34 @@ export namespace google {
|
|
|
12861
13547
|
*/
|
|
12862
13548
|
type DeleteReactionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
12863
13549
|
|
|
13550
|
+
/**
|
|
13551
|
+
* Callback as used by {@link google.chat.v1.ChatService|createCustomEmoji}.
|
|
13552
|
+
* @param error Error, if any
|
|
13553
|
+
* @param [response] CustomEmoji
|
|
13554
|
+
*/
|
|
13555
|
+
type CreateCustomEmojiCallback = (error: (Error|null), response?: google.chat.v1.CustomEmoji) => void;
|
|
13556
|
+
|
|
13557
|
+
/**
|
|
13558
|
+
* Callback as used by {@link google.chat.v1.ChatService|getCustomEmoji}.
|
|
13559
|
+
* @param error Error, if any
|
|
13560
|
+
* @param [response] CustomEmoji
|
|
13561
|
+
*/
|
|
13562
|
+
type GetCustomEmojiCallback = (error: (Error|null), response?: google.chat.v1.CustomEmoji) => void;
|
|
13563
|
+
|
|
13564
|
+
/**
|
|
13565
|
+
* Callback as used by {@link google.chat.v1.ChatService|listCustomEmojis}.
|
|
13566
|
+
* @param error Error, if any
|
|
13567
|
+
* @param [response] ListCustomEmojisResponse
|
|
13568
|
+
*/
|
|
13569
|
+
type ListCustomEmojisCallback = (error: (Error|null), response?: google.chat.v1.ListCustomEmojisResponse) => void;
|
|
13570
|
+
|
|
13571
|
+
/**
|
|
13572
|
+
* Callback as used by {@link google.chat.v1.ChatService|deleteCustomEmoji}.
|
|
13573
|
+
* @param error Error, if any
|
|
13574
|
+
* @param [response] Empty
|
|
13575
|
+
*/
|
|
13576
|
+
type DeleteCustomEmojiCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
13577
|
+
|
|
12864
13578
|
/**
|
|
12865
13579
|
* Callback as used by {@link google.chat.v1.ChatService|getSpaceReadState}.
|
|
12866
13580
|
* @param error Error, if any
|
|
@@ -18507,30 +19221,6 @@ export namespace google {
|
|
|
18507
19221
|
/** PermissionSettings replyMessages. */
|
|
18508
19222
|
public replyMessages?: (google.chat.v1.Space.IPermissionSetting|null);
|
|
18509
19223
|
|
|
18510
|
-
/** PermissionSettings _manageMembersAndGroups. */
|
|
18511
|
-
public _manageMembersAndGroups?: "manageMembersAndGroups";
|
|
18512
|
-
|
|
18513
|
-
/** PermissionSettings _modifySpaceDetails. */
|
|
18514
|
-
public _modifySpaceDetails?: "modifySpaceDetails";
|
|
18515
|
-
|
|
18516
|
-
/** PermissionSettings _toggleHistory. */
|
|
18517
|
-
public _toggleHistory?: "toggleHistory";
|
|
18518
|
-
|
|
18519
|
-
/** PermissionSettings _useAtMentionAll. */
|
|
18520
|
-
public _useAtMentionAll?: "useAtMentionAll";
|
|
18521
|
-
|
|
18522
|
-
/** PermissionSettings _manageApps. */
|
|
18523
|
-
public _manageApps?: "manageApps";
|
|
18524
|
-
|
|
18525
|
-
/** PermissionSettings _manageWebhooks. */
|
|
18526
|
-
public _manageWebhooks?: "manageWebhooks";
|
|
18527
|
-
|
|
18528
|
-
/** PermissionSettings _postMessages. */
|
|
18529
|
-
public _postMessages?: "postMessages";
|
|
18530
|
-
|
|
18531
|
-
/** PermissionSettings _replyMessages. */
|
|
18532
|
-
public _replyMessages?: "replyMessages";
|
|
18533
|
-
|
|
18534
19224
|
/**
|
|
18535
19225
|
* Creates a new PermissionSettings instance using the specified properties.
|
|
18536
19226
|
* @param [properties] Properties to set
|
|
@@ -22183,12 +22873,6 @@ export namespace google {
|
|
|
22183
22873
|
/** SpaceNotificationSetting muteSetting. */
|
|
22184
22874
|
public muteSetting?: (google.chat.v1.SpaceNotificationSetting.MuteSetting|keyof typeof google.chat.v1.SpaceNotificationSetting.MuteSetting|null);
|
|
22185
22875
|
|
|
22186
|
-
/** SpaceNotificationSetting _notificationSetting. */
|
|
22187
|
-
public _notificationSetting?: "notificationSetting";
|
|
22188
|
-
|
|
22189
|
-
/** SpaceNotificationSetting _muteSetting. */
|
|
22190
|
-
public _muteSetting?: "muteSetting";
|
|
22191
|
-
|
|
22192
22876
|
/**
|
|
22193
22877
|
* Creates a new SpaceNotificationSetting instance using the specified properties.
|
|
22194
22878
|
* @param [properties] Properties to set
|
|
@@ -24154,6 +24838,9 @@ export namespace google {
|
|
|
24154
24838
|
|
|
24155
24839
|
/** Publishing protoReferenceDocumentationUri */
|
|
24156
24840
|
protoReferenceDocumentationUri?: (string|null);
|
|
24841
|
+
|
|
24842
|
+
/** Publishing restReferenceDocumentationUri */
|
|
24843
|
+
restReferenceDocumentationUri?: (string|null);
|
|
24157
24844
|
}
|
|
24158
24845
|
|
|
24159
24846
|
/** Represents a Publishing. */
|
|
@@ -24195,6 +24882,9 @@ export namespace google {
|
|
|
24195
24882
|
/** Publishing protoReferenceDocumentationUri. */
|
|
24196
24883
|
public protoReferenceDocumentationUri: string;
|
|
24197
24884
|
|
|
24885
|
+
/** Publishing restReferenceDocumentationUri. */
|
|
24886
|
+
public restReferenceDocumentationUri: string;
|
|
24887
|
+
|
|
24198
24888
|
/**
|
|
24199
24889
|
* Creates a new Publishing instance using the specified properties.
|
|
24200
24890
|
* @param [properties] Properties to set
|