@aceplus/smartace-api 3.2.1 → 3.3.0-alpha.2

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.
@@ -448,6 +448,9 @@ export namespace AccountProto {
448
448
  getPushtype(): auth_push_notification_pb.PushNotificationProto.PushTypeMap[keyof auth_push_notification_pb.PushNotificationProto.PushTypeMap];
449
449
  setPushtype(value: auth_push_notification_pb.PushNotificationProto.PushTypeMap[keyof auth_push_notification_pb.PushNotificationProto.PushTypeMap]): void;
450
450
 
451
+ getLocale(): string;
452
+ setLocale(value: string): void;
453
+
451
454
  serializeBinary(): Uint8Array;
452
455
  toObject(includeInstance?: boolean): RetrievePushInfoReply.AsObject;
453
456
  static toObject(includeInstance: boolean, msg: RetrievePushInfoReply): RetrievePushInfoReply.AsObject;
@@ -463,6 +466,7 @@ export namespace AccountProto {
463
466
  id: number,
464
467
  pushToken: string,
465
468
  pushtype: auth_push_notification_pb.PushNotificationProto.PushTypeMap[keyof auth_push_notification_pb.PushNotificationProto.PushTypeMap],
469
+ locale: string,
466
470
  }
467
471
  }
468
472
 
@@ -3346,7 +3346,8 @@ proto.Auth.AccountProto.RetrievePushInfoReply.toObject = function(includeInstanc
3346
3346
  var f, obj = {
3347
3347
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3348
3348
  pushToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
3349
- pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0)
3349
+ pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0),
3350
+ locale: jspb.Message.getFieldWithDefault(msg, 4, "")
3350
3351
  };
3351
3352
 
3352
3353
  if (includeInstance) {
@@ -3395,6 +3396,10 @@ proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader = func
3395
3396
  var value = /** @type {!proto.Auth.PushNotificationProto.PushType} */ (reader.readEnum());
3396
3397
  msg.setPushtype(value);
3397
3398
  break;
3399
+ case 4:
3400
+ var value = /** @type {string} */ (reader.readString());
3401
+ msg.setLocale(value);
3402
+ break;
3398
3403
  default:
3399
3404
  reader.skipField();
3400
3405
  break;
@@ -3445,6 +3450,13 @@ proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function
3445
3450
  f
3446
3451
  );
3447
3452
  }
3453
+ f = message.getLocale();
3454
+ if (f.length > 0) {
3455
+ writer.writeString(
3456
+ 4,
3457
+ f
3458
+ );
3459
+ }
3448
3460
  };
3449
3461
 
3450
3462
 
@@ -3502,6 +3514,24 @@ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushtype = function(v
3502
3514
  };
3503
3515
 
3504
3516
 
3517
+ /**
3518
+ * optional string locale = 4;
3519
+ * @return {string}
3520
+ */
3521
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getLocale = function() {
3522
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3523
+ };
3524
+
3525
+
3526
+ /**
3527
+ * @param {string} value
3528
+ * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
3529
+ */
3530
+ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setLocale = function(value) {
3531
+ return jspb.Message.setProto3StringField(this, 4, value);
3532
+ };
3533
+
3534
+
3505
3535
 
3506
3536
  /**
3507
3537
  * List of repeated fields within this message type.
@@ -18,9 +18,6 @@ export class ClusterProto extends jspb.Message {
18
18
  getEndpoint(): string;
19
19
  setEndpoint(value: string): void;
20
20
 
21
- getDeviceEndpoint(): string;
22
- setDeviceEndpoint(value: string): void;
23
-
24
21
  getCountry(): string;
25
22
  setCountry(value: string): void;
26
23
 
@@ -40,46 +37,9 @@ export namespace ClusterProto {
40
37
  name: string,
41
38
  customName: string,
42
39
  endpoint: string,
43
- deviceEndpoint: string,
44
40
  country: string,
45
41
  }
46
42
 
47
- export class CreateRequest extends jspb.Message {
48
- getName(): string;
49
- setName(value: string): void;
50
-
51
- getCustomName(): string;
52
- setCustomName(value: string): void;
53
-
54
- getEndpoint(): string;
55
- setEndpoint(value: string): void;
56
-
57
- getDeviceEndpoint(): string;
58
- setDeviceEndpoint(value: string): void;
59
-
60
- getCountry(): string;
61
- setCountry(value: string): void;
62
-
63
- serializeBinary(): Uint8Array;
64
- toObject(includeInstance?: boolean): CreateRequest.AsObject;
65
- static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
66
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
67
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
68
- static serializeBinaryToWriter(message: CreateRequest, writer: jspb.BinaryWriter): void;
69
- static deserializeBinary(bytes: Uint8Array): CreateRequest;
70
- static deserializeBinaryFromReader(message: CreateRequest, reader: jspb.BinaryReader): CreateRequest;
71
- }
72
-
73
- export namespace CreateRequest {
74
- export type AsObject = {
75
- name: string,
76
- customName: string,
77
- endpoint: string,
78
- deviceEndpoint: string,
79
- country: string,
80
- }
81
- }
82
-
83
43
  export class RetrieveRequest extends jspb.Message {
84
44
  hasId(): boolean;
85
45
  clearId(): void;
@@ -115,82 +75,6 @@ export namespace ClusterProto {
115
75
  }
116
76
  }
117
77
 
118
- export class UpdateRequest extends jspb.Message {
119
- getId(): number;
120
- setId(value: number): void;
121
-
122
- getName(): string;
123
- setName(value: string): void;
124
-
125
- getCustomName(): string;
126
- setCustomName(value: string): void;
127
-
128
- getEndpoint(): string;
129
- setEndpoint(value: string): void;
130
-
131
- getDeviceEndpoint(): string;
132
- setDeviceEndpoint(value: string): void;
133
-
134
- getCountry(): string;
135
- setCountry(value: string): void;
136
-
137
- serializeBinary(): Uint8Array;
138
- toObject(includeInstance?: boolean): UpdateRequest.AsObject;
139
- static toObject(includeInstance: boolean, msg: UpdateRequest): UpdateRequest.AsObject;
140
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
141
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
142
- static serializeBinaryToWriter(message: UpdateRequest, writer: jspb.BinaryWriter): void;
143
- static deserializeBinary(bytes: Uint8Array): UpdateRequest;
144
- static deserializeBinaryFromReader(message: UpdateRequest, reader: jspb.BinaryReader): UpdateRequest;
145
- }
146
-
147
- export namespace UpdateRequest {
148
- export type AsObject = {
149
- id: number,
150
- name: string,
151
- customName: string,
152
- endpoint: string,
153
- deviceEndpoint: string,
154
- country: string,
155
- }
156
- }
157
-
158
- export class DeleteRequest extends jspb.Message {
159
- getId(): number;
160
- setId(value: number): void;
161
-
162
- serializeBinary(): Uint8Array;
163
- toObject(includeInstance?: boolean): DeleteRequest.AsObject;
164
- static toObject(includeInstance: boolean, msg: DeleteRequest): DeleteRequest.AsObject;
165
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
166
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
167
- static serializeBinaryToWriter(message: DeleteRequest, writer: jspb.BinaryWriter): void;
168
- static deserializeBinary(bytes: Uint8Array): DeleteRequest;
169
- static deserializeBinaryFromReader(message: DeleteRequest, reader: jspb.BinaryReader): DeleteRequest;
170
- }
171
-
172
- export namespace DeleteRequest {
173
- export type AsObject = {
174
- id: number,
175
- }
176
- }
177
-
178
- export class DeleteReply extends jspb.Message {
179
- serializeBinary(): Uint8Array;
180
- toObject(includeInstance?: boolean): DeleteReply.AsObject;
181
- static toObject(includeInstance: boolean, msg: DeleteReply): DeleteReply.AsObject;
182
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
183
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
184
- static serializeBinaryToWriter(message: DeleteReply, writer: jspb.BinaryWriter): void;
185
- static deserializeBinary(bytes: Uint8Array): DeleteReply;
186
- static deserializeBinaryFromReader(message: DeleteReply, reader: jspb.BinaryReader): DeleteReply;
187
- }
188
-
189
- export namespace DeleteReply {
190
- export type AsObject = {
191
- }
192
- }
193
-
194
78
  export class SearchRequest extends jspb.Message {
195
79
  getId(): number;
196
80
  setId(value: number): void;