@aceplus/smartace-api 3.3.0-alpha.1 → 3.3.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.
@@ -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.
@@ -33,15 +33,6 @@ export namespace PushNotificationProto {
33
33
  getTag(): PushNotificationProto.TagMap[keyof PushNotificationProto.TagMap];
34
34
  setTag(value: PushNotificationProto.TagMap[keyof PushNotificationProto.TagMap]): void;
35
35
 
36
- getError(): string;
37
- setError(value: string): void;
38
-
39
- getOperatorname(): string;
40
- setOperatorname(value: string): void;
41
-
42
- getLocale(): string;
43
- setLocale(value: string): void;
44
-
45
36
  serializeBinary(): Uint8Array;
46
37
  toObject(includeInstance?: boolean): OpenRequest.AsObject;
47
38
  static toObject(includeInstance: boolean, msg: OpenRequest): OpenRequest.AsObject;
@@ -58,113 +49,6 @@ export namespace PushNotificationProto {
58
49
  cabinetname: string,
59
50
  cabinetid: number,
60
51
  tag: PushNotificationProto.TagMap[keyof PushNotificationProto.TagMap],
61
- error: string,
62
- operatorname: string,
63
- locale: string,
64
- }
65
- }
66
-
67
- export class ActiveRequest extends jspb.Message {
68
- getAccountid(): number;
69
- setAccountid(value: number): void;
70
-
71
- getOperator(): string;
72
- setOperator(value: string): void;
73
-
74
- getAccepted(): boolean;
75
- setAccepted(value: boolean): void;
76
-
77
- getTag(): PushNotificationProto.TagMap[keyof PushNotificationProto.TagMap];
78
- setTag(value: PushNotificationProto.TagMap[keyof PushNotificationProto.TagMap]): void;
79
-
80
- getLocale(): string;
81
- setLocale(value: string): void;
82
-
83
- serializeBinary(): Uint8Array;
84
- toObject(includeInstance?: boolean): ActiveRequest.AsObject;
85
- static toObject(includeInstance: boolean, msg: ActiveRequest): ActiveRequest.AsObject;
86
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
87
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
88
- static serializeBinaryToWriter(message: ActiveRequest, writer: jspb.BinaryWriter): void;
89
- static deserializeBinary(bytes: Uint8Array): ActiveRequest;
90
- static deserializeBinaryFromReader(message: ActiveRequest, reader: jspb.BinaryReader): ActiveRequest;
91
- }
92
-
93
- export namespace ActiveRequest {
94
- export type AsObject = {
95
- accountid: number,
96
- operator: string,
97
- accepted: boolean,
98
- tag: PushNotificationProto.TagMap[keyof PushNotificationProto.TagMap],
99
- locale: string,
100
- }
101
- }
102
-
103
- export class InfoPushRequest extends jspb.Message {
104
- getAccountid(): number;
105
- setAccountid(value: number): void;
106
-
107
- getCabinetname(): string;
108
- setCabinetname(value: string): void;
109
-
110
- getStatus(): string;
111
- setStatus(value: string): void;
112
-
113
- getLocale(): string;
114
- setLocale(value: string): void;
115
-
116
- getPushtype(): PushNotificationProto.PushTypeMap[keyof PushNotificationProto.PushTypeMap];
117
- setPushtype(value: PushNotificationProto.PushTypeMap[keyof PushNotificationProto.PushTypeMap]): void;
118
-
119
- serializeBinary(): Uint8Array;
120
- toObject(includeInstance?: boolean): InfoPushRequest.AsObject;
121
- static toObject(includeInstance: boolean, msg: InfoPushRequest): InfoPushRequest.AsObject;
122
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
123
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
124
- static serializeBinaryToWriter(message: InfoPushRequest, writer: jspb.BinaryWriter): void;
125
- static deserializeBinary(bytes: Uint8Array): InfoPushRequest;
126
- static deserializeBinaryFromReader(message: InfoPushRequest, reader: jspb.BinaryReader): InfoPushRequest;
127
- }
128
-
129
- export namespace InfoPushRequest {
130
- export type AsObject = {
131
- accountid: number,
132
- cabinetname: string,
133
- status: string,
134
- locale: string,
135
- pushtype: PushNotificationProto.PushTypeMap[keyof PushNotificationProto.PushTypeMap],
136
- }
137
- }
138
-
139
- export class ExpiredOpeningRequest extends jspb.Message {
140
- getAccountid(): number;
141
- setAccountid(value: number): void;
142
-
143
- getCabinetname(): string;
144
- setCabinetname(value: string): void;
145
-
146
- getLocale(): string;
147
- setLocale(value: string): void;
148
-
149
- getJobid(): string;
150
- setJobid(value: string): void;
151
-
152
- serializeBinary(): Uint8Array;
153
- toObject(includeInstance?: boolean): ExpiredOpeningRequest.AsObject;
154
- static toObject(includeInstance: boolean, msg: ExpiredOpeningRequest): ExpiredOpeningRequest.AsObject;
155
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
156
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
157
- static serializeBinaryToWriter(message: ExpiredOpeningRequest, writer: jspb.BinaryWriter): void;
158
- static deserializeBinary(bytes: Uint8Array): ExpiredOpeningRequest;
159
- static deserializeBinaryFromReader(message: ExpiredOpeningRequest, reader: jspb.BinaryReader): ExpiredOpeningRequest;
160
- }
161
-
162
- export namespace ExpiredOpeningRequest {
163
- export type AsObject = {
164
- accountid: number,
165
- cabinetname: string,
166
- locale: string,
167
- jobid: string,
168
52
  }
169
53
  }
170
54
 
@@ -177,9 +61,7 @@ export namespace PushNotificationProto {
177
61
 
178
62
  export interface TagMap {
179
63
  OPENING: 0;
180
- ACTIVE: 1;
181
- DELETED: 3;
182
- CLOSED: 4;
64
+ CLOSED: 1;
183
65
  }
184
66
 
185
67
  export const Tag: TagMap;