mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 16:28:40 +00:00
refactor
This commit is contained in:
parent
23e2cd5031
commit
e9502c7ce9
24 changed files with 3684 additions and 1635 deletions
|
|
@ -33,26 +33,34 @@ class TextMessage extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
TextMessage._() : super();
|
TextMessage._() : super();
|
||||||
factory TextMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory TextMessage.fromBuffer($core.List<$core.int> i,
|
||||||
factory TextMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory TextMessage.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TextMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'http_requests'), createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
|
_omitMessageNames ? '' : 'TextMessage',
|
||||||
|
package: const $pb.PackageName(_omitMessageNames ? '' : 'http_requests'),
|
||||||
|
createEmptyInstance: create)
|
||||||
..aInt64(1, _omitFieldNames ? '' : 'userId')
|
..aInt64(1, _omitFieldNames ? '' : 'userId')
|
||||||
..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'body', $pb.PbFieldType.OY)
|
..a<$core.List<$core.int>>(
|
||||||
..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'pushData', $pb.PbFieldType.OY)
|
2, _omitFieldNames ? '' : 'body', $pb.PbFieldType.OY)
|
||||||
..hasRequiredFields = false
|
..a<$core.List<$core.int>>(
|
||||||
;
|
3, _omitFieldNames ? '' : 'pushData', $pb.PbFieldType.OY)
|
||||||
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
TextMessage clone() => TextMessage()..mergeFromMessage(this);
|
TextMessage clone() => TextMessage()..mergeFromMessage(this);
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
TextMessage copyWith(void Function(TextMessage) updates) => super.copyWith((message) => updates(message as TextMessage)) as TextMessage;
|
TextMessage copyWith(void Function(TextMessage) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as TextMessage))
|
||||||
|
as TextMessage;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
|
|
@ -61,13 +69,17 @@ class TextMessage extends $pb.GeneratedMessage {
|
||||||
TextMessage createEmptyInstance() => create();
|
TextMessage createEmptyInstance() => create();
|
||||||
static $pb.PbList<TextMessage> createRepeated() => $pb.PbList<TextMessage>();
|
static $pb.PbList<TextMessage> createRepeated() => $pb.PbList<TextMessage>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static TextMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TextMessage>(create);
|
static TextMessage getDefault() => _defaultInstance ??=
|
||||||
|
$pb.GeneratedMessage.$_defaultFor<TextMessage>(create);
|
||||||
static TextMessage? _defaultInstance;
|
static TextMessage? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$fixnum.Int64 get userId => $_getI64(0);
|
$fixnum.Int64 get userId => $_getI64(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
set userId($fixnum.Int64 v) { $_setInt64(0, v); }
|
set userId($fixnum.Int64 v) {
|
||||||
|
$_setInt64(0, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.bool hasUserId() => $_has(0);
|
$core.bool hasUserId() => $_has(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -76,7 +88,10 @@ class TextMessage extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.List<$core.int> get body => $_getN(1);
|
$core.List<$core.int> get body => $_getN(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
set body($core.List<$core.int> v) { $_setBytes(1, v); }
|
set body($core.List<$core.int> v) {
|
||||||
|
$_setBytes(1, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.bool hasBody() => $_has(1);
|
$core.bool hasBody() => $_has(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
|
|
@ -85,7 +100,10 @@ class TextMessage extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.List<$core.int> get pushData => $_getN(2);
|
$core.List<$core.int> get pushData => $_getN(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
set pushData($core.List<$core.int> v) { $_setBytes(2, v); }
|
set pushData($core.List<$core.int> v) {
|
||||||
|
$_setBytes(2, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.bool hasPushData() => $_has(2);
|
$core.bool hasPushData() => $_has(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
|
|
@ -111,41 +129,56 @@ class UploadRequest extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
UploadRequest._() : super();
|
UploadRequest._() : super();
|
||||||
factory UploadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory UploadRequest.fromBuffer($core.List<$core.int> i,
|
||||||
factory UploadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory UploadRequest.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'http_requests'), createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'encryptedData', $pb.PbFieldType.OY)
|
_omitMessageNames ? '' : 'UploadRequest',
|
||||||
..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'downloadTokens', $pb.PbFieldType.PY)
|
package: const $pb.PackageName(_omitMessageNames ? '' : 'http_requests'),
|
||||||
..pc<TextMessage>(3, _omitFieldNames ? '' : 'messagesOnSuccess', $pb.PbFieldType.PM, subBuilder: TextMessage.create)
|
createEmptyInstance: create)
|
||||||
..hasRequiredFields = false
|
..a<$core.List<$core.int>>(
|
||||||
;
|
1, _omitFieldNames ? '' : 'encryptedData', $pb.PbFieldType.OY)
|
||||||
|
..p<$core.List<$core.int>>(
|
||||||
|
2, _omitFieldNames ? '' : 'downloadTokens', $pb.PbFieldType.PY)
|
||||||
|
..pc<TextMessage>(
|
||||||
|
3, _omitFieldNames ? '' : 'messagesOnSuccess', $pb.PbFieldType.PM,
|
||||||
|
subBuilder: TextMessage.create)
|
||||||
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
UploadRequest clone() => UploadRequest()..mergeFromMessage(this);
|
UploadRequest clone() => UploadRequest()..mergeFromMessage(this);
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
UploadRequest copyWith(void Function(UploadRequest) updates) => super.copyWith((message) => updates(message as UploadRequest)) as UploadRequest;
|
UploadRequest copyWith(void Function(UploadRequest) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as UploadRequest))
|
||||||
|
as UploadRequest;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static UploadRequest create() => UploadRequest._();
|
static UploadRequest create() => UploadRequest._();
|
||||||
UploadRequest createEmptyInstance() => create();
|
UploadRequest createEmptyInstance() => create();
|
||||||
static $pb.PbList<UploadRequest> createRepeated() => $pb.PbList<UploadRequest>();
|
static $pb.PbList<UploadRequest> createRepeated() =>
|
||||||
|
$pb.PbList<UploadRequest>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static UploadRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UploadRequest>(create);
|
static UploadRequest getDefault() => _defaultInstance ??=
|
||||||
|
$pb.GeneratedMessage.$_defaultFor<UploadRequest>(create);
|
||||||
static UploadRequest? _defaultInstance;
|
static UploadRequest? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.List<$core.int> get encryptedData => $_getN(0);
|
$core.List<$core.int> get encryptedData => $_getN(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
set encryptedData($core.List<$core.int> v) { $_setBytes(0, v); }
|
set encryptedData($core.List<$core.int> v) {
|
||||||
|
$_setBytes(0, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.bool hasEncryptedData() => $_has(0);
|
$core.bool hasEncryptedData() => $_has(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -158,6 +191,6 @@ class UploadRequest extends $pb.GeneratedMessage {
|
||||||
$core.List<TextMessage> get messagesOnSuccess => $_getList(2);
|
$core.List<TextMessage> get messagesOnSuccess => $_getList(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||||
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
const _omitMessageNames =
|
||||||
|
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,3 @@
|
||||||
// ignore_for_file: constant_identifier_names, library_prefixes
|
// ignore_for_file: constant_identifier_names, library_prefixes
|
||||||
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,15 @@ const TextMessage$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'user_id', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
{'1': 'user_id', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
||||||
{'1': 'body', '3': 2, '4': 1, '5': 12, '10': 'body'},
|
{'1': 'body', '3': 2, '4': 1, '5': 12, '10': 'body'},
|
||||||
{'1': 'push_data', '3': 3, '4': 1, '5': 12, '9': 0, '10': 'pushData', '17': true},
|
{
|
||||||
|
'1': 'push_data',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'pushData',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': '_push_data'},
|
{'1': '_push_data'},
|
||||||
|
|
@ -37,7 +45,14 @@ const UploadRequest$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'encrypted_data', '3': 1, '4': 1, '5': 12, '10': 'encryptedData'},
|
{'1': 'encrypted_data', '3': 1, '4': 1, '5': 12, '10': 'encryptedData'},
|
||||||
{'1': 'download_tokens', '3': 2, '4': 3, '5': 12, '10': 'downloadTokens'},
|
{'1': 'download_tokens', '3': 2, '4': 3, '5': 12, '10': 'downloadTokens'},
|
||||||
{'1': 'messages_on_success', '3': 3, '4': 3, '5': 11, '6': '.http_requests.TextMessage', '10': 'messagesOnSuccess'},
|
{
|
||||||
|
'1': 'messages_on_success',
|
||||||
|
'3': 3,
|
||||||
|
'4': 3,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.http_requests.TextMessage',
|
||||||
|
'10': 'messagesOnSuccess'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -47,4 +62,3 @@ final $typed_data.Uint8List uploadRequestDescriptor = $convert.base64Decode(
|
||||||
'cKD2Rvd25sb2FkX3Rva2VucxgCIAMoDFIOZG93bmxvYWRUb2tlbnMSSgoTbWVzc2FnZXNfb25f'
|
'cKD2Rvd25sb2FkX3Rva2VucxgCIAMoDFIOZG93bmxvYWRUb2tlbnMSSgoTbWVzc2FnZXNfb25f'
|
||||||
'c3VjY2VzcxgDIAMoCzIaLmh0dHBfcmVxdWVzdHMuVGV4dE1lc3NhZ2VSEW1lc3NhZ2VzT25TdW'
|
'c3VjY2VzcxgDIAMoCzIaLmh0dHBfcmVxdWVzdHMuVGV4dE1lc3NhZ2VSEW1lc3NhZ2VzT25TdW'
|
||||||
'NjZXNz');
|
'NjZXNz');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
export 'http_requests.pb.dart';
|
export 'http_requests.pb.dart';
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -8,4 +8,3 @@
|
||||||
// ignore_for_file: constant_identifier_names, library_prefixes
|
// ignore_for_file: constant_identifier_names, library_prefixes
|
||||||
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,15 @@ import 'dart:typed_data' as $typed_data;
|
||||||
const ClientToServer$json = {
|
const ClientToServer$json = {
|
||||||
'1': 'ClientToServer',
|
'1': 'ClientToServer',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'V0', '3': 1, '4': 1, '5': 11, '6': '.client_to_server.V0', '9': 0, '10': 'V0'},
|
{
|
||||||
|
'1': 'V0',
|
||||||
|
'3': 1,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.V0',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'V0'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'v'},
|
{'1': 'v'},
|
||||||
|
|
@ -34,9 +42,33 @@ const V0$json = {
|
||||||
'1': 'V0',
|
'1': 'V0',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'seq', '3': 1, '4': 1, '5': 4, '10': 'seq'},
|
{'1': 'seq', '3': 1, '4': 1, '5': 4, '10': 'seq'},
|
||||||
{'1': 'handshake', '3': 2, '4': 1, '5': 11, '6': '.client_to_server.Handshake', '9': 0, '10': 'handshake'},
|
{
|
||||||
{'1': 'applicationdata', '3': 3, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData', '9': 0, '10': 'applicationdata'},
|
'1': 'handshake',
|
||||||
{'1': 'response', '3': 4, '4': 1, '5': 11, '6': '.client_to_server.Response', '9': 0, '10': 'response'},
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Handshake',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'handshake'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'applicationdata',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'applicationdata'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'response',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Response',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'response'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'Kind'},
|
{'1': 'Kind'},
|
||||||
|
|
@ -55,12 +87,49 @@ final $typed_data.Uint8List v0Descriptor = $convert.base64Decode(
|
||||||
const Handshake$json = {
|
const Handshake$json = {
|
||||||
'1': 'Handshake',
|
'1': 'Handshake',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'register', '3': 1, '4': 1, '5': 11, '6': '.client_to_server.Handshake.Register', '9': 0, '10': 'register'},
|
{
|
||||||
{'1': 'getauthchallenge', '3': 2, '4': 1, '5': 11, '6': '.client_to_server.Handshake.GetAuthChallenge', '9': 0, '10': 'getauthchallenge'},
|
'1': 'register',
|
||||||
{'1': 'getauthtoken', '3': 3, '4': 1, '5': 11, '6': '.client_to_server.Handshake.GetAuthToken', '9': 0, '10': 'getauthtoken'},
|
'3': 1,
|
||||||
{'1': 'authenticate', '3': 4, '4': 1, '5': 11, '6': '.client_to_server.Handshake.Authenticate', '9': 0, '10': 'authenticate'},
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Handshake.Register',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'register'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getauthchallenge',
|
||||||
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Handshake.GetAuthChallenge',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getauthchallenge'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getauthtoken',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Handshake.GetAuthToken',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getauthtoken'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'authenticate',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Handshake.Authenticate',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'authenticate'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
'3': [
|
||||||
|
Handshake_Register$json,
|
||||||
|
Handshake_GetAuthChallenge$json,
|
||||||
|
Handshake_GetAuthToken$json,
|
||||||
|
Handshake_Authenticate$json
|
||||||
],
|
],
|
||||||
'3': [Handshake_Register$json, Handshake_GetAuthChallenge$json, Handshake_GetAuthToken$json, Handshake_Authenticate$json],
|
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'Handshake'},
|
{'1': 'Handshake'},
|
||||||
],
|
],
|
||||||
|
|
@ -71,10 +140,30 @@ const Handshake_Register$json = {
|
||||||
'1': 'Register',
|
'1': 'Register',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'username', '3': 1, '4': 1, '5': 9, '10': 'username'},
|
{'1': 'username', '3': 1, '4': 1, '5': 9, '10': 'username'},
|
||||||
{'1': 'invite_code', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'inviteCode', '17': true},
|
{
|
||||||
{'1': 'public_identity_key', '3': 3, '4': 1, '5': 12, '10': 'publicIdentityKey'},
|
'1': 'invite_code',
|
||||||
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 9,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'inviteCode',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'public_identity_key',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'10': 'publicIdentityKey'
|
||||||
|
},
|
||||||
{'1': 'signed_prekey', '3': 4, '4': 1, '5': 12, '10': 'signedPrekey'},
|
{'1': 'signed_prekey', '3': 4, '4': 1, '5': 12, '10': 'signedPrekey'},
|
||||||
{'1': 'signed_prekey_signature', '3': 5, '4': 1, '5': 12, '10': 'signedPrekeySignature'},
|
{
|
||||||
|
'1': 'signed_prekey_signature',
|
||||||
|
'3': 5,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'10': 'signedPrekeySignature'
|
||||||
|
},
|
||||||
{'1': 'signed_prekey_id', '3': 6, '4': 1, '5': 3, '10': 'signedPrekeyId'},
|
{'1': 'signed_prekey_id', '3': 6, '4': 1, '5': 3, '10': 'signedPrekeyId'},
|
||||||
{'1': 'registration_id', '3': 7, '4': 1, '5': 3, '10': 'registrationId'},
|
{'1': 'registration_id', '3': 7, '4': 1, '5': 3, '10': 'registrationId'},
|
||||||
{'1': 'is_ios', '3': 8, '4': 1, '5': 8, '9': 1, '10': 'isIos', '17': true},
|
{'1': 'is_ios', '3': 8, '4': 1, '5': 8, '9': 1, '10': 'isIos', '17': true},
|
||||||
|
|
@ -105,7 +194,15 @@ const Handshake_Authenticate$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'user_id', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
{'1': 'user_id', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
||||||
{'1': 'auth_token', '3': 2, '4': 1, '5': 12, '10': 'authToken'},
|
{'1': 'auth_token', '3': 2, '4': 1, '5': 12, '10': 'authToken'},
|
||||||
{'1': 'app_version', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'appVersion', '17': true},
|
{
|
||||||
|
'1': 'app_version',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 9,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'appVersion',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': '_app_version'},
|
{'1': '_app_version'},
|
||||||
|
|
@ -136,28 +233,209 @@ final $typed_data.Uint8List handshakeDescriptor = $convert.base64Decode(
|
||||||
const ApplicationData$json = {
|
const ApplicationData$json = {
|
||||||
'1': 'ApplicationData',
|
'1': 'ApplicationData',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'textmessage', '3': 1, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.TextMessage', '9': 0, '10': 'textmessage'},
|
{
|
||||||
{'1': 'getuserbyusername', '3': 2, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetUserByUsername', '9': 0, '10': 'getuserbyusername'},
|
'1': 'textmessage',
|
||||||
{'1': 'getprekeysbyuserid', '3': 3, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetPrekeysByUserId', '9': 0, '10': 'getprekeysbyuserid'},
|
'3': 1,
|
||||||
{'1': 'getuserbyid', '3': 6, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetUserById', '9': 0, '10': 'getuserbyid'},
|
'4': 1,
|
||||||
{'1': 'updategooglefcmtoken', '3': 8, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.UpdateGoogleFcmToken', '9': 0, '10': 'updategooglefcmtoken'},
|
'5': 11,
|
||||||
{'1': 'getlocation', '3': 9, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetLocation', '9': 0, '10': 'getlocation'},
|
'6': '.client_to_server.ApplicationData.TextMessage',
|
||||||
{'1': 'getcurrentplaninfos', '3': 10, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetCurrentPlanInfos', '9': 0, '10': 'getcurrentplaninfos'},
|
'9': 0,
|
||||||
{'1': 'redeemvoucher', '3': 11, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.RedeemVoucher', '9': 0, '10': 'redeemvoucher'},
|
'10': 'textmessage'
|
||||||
{'1': 'getavailableplans', '3': 12, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetAvailablePlans', '9': 0, '10': 'getavailableplans'},
|
},
|
||||||
{'1': 'createvoucher', '3': 13, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.CreateVoucher', '9': 0, '10': 'createvoucher'},
|
{
|
||||||
{'1': 'getvouchers', '3': 14, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetVouchers', '9': 0, '10': 'getvouchers'},
|
'1': 'getuserbyusername',
|
||||||
{'1': 'Switchtopayedplan', '3': 15, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.SwitchToPayedPlan', '9': 0, '10': 'Switchtopayedplan'},
|
'3': 2,
|
||||||
{'1': 'getaddaccountsinvites', '3': 16, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetAddAccountsInvites', '9': 0, '10': 'getaddaccountsinvites'},
|
'4': 1,
|
||||||
{'1': 'redeemadditionalcode', '3': 17, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.RedeemAdditionalCode', '9': 0, '10': 'redeemadditionalcode'},
|
'5': 11,
|
||||||
{'1': 'removeadditionaluser', '3': 18, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.RemoveAdditionalUser', '9': 0, '10': 'removeadditionaluser'},
|
'6': '.client_to_server.ApplicationData.GetUserByUsername',
|
||||||
{'1': 'updateplanoptions', '3': 19, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.UpdatePlanOptions', '9': 0, '10': 'updateplanoptions'},
|
'9': 0,
|
||||||
{'1': 'downloaddone', '3': 20, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.DownloadDone', '9': 0, '10': 'downloaddone'},
|
'10': 'getuserbyusername'
|
||||||
{'1': 'getsignedprekeybyuserid', '3': 22, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.GetSignedPreKeyByUserId', '9': 0, '10': 'getsignedprekeybyuserid'},
|
},
|
||||||
{'1': 'updatesignedprekey', '3': 23, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.UpdateSignedPreKey', '9': 0, '10': 'updatesignedprekey'},
|
{
|
||||||
{'1': 'deleteaccount', '3': 24, '4': 1, '5': 11, '6': '.client_to_server.ApplicationData.DeleteAccount', '9': 0, '10': 'deleteaccount'},
|
'1': 'getprekeysbyuserid',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.GetPrekeysByUserId',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getprekeysbyuserid'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getuserbyid',
|
||||||
|
'3': 6,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.GetUserById',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getuserbyid'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'updategooglefcmtoken',
|
||||||
|
'3': 8,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.UpdateGoogleFcmToken',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'updategooglefcmtoken'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getlocation',
|
||||||
|
'3': 9,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.GetLocation',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getlocation'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getcurrentplaninfos',
|
||||||
|
'3': 10,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.GetCurrentPlanInfos',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getcurrentplaninfos'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'redeemvoucher',
|
||||||
|
'3': 11,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.RedeemVoucher',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'redeemvoucher'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getavailableplans',
|
||||||
|
'3': 12,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.GetAvailablePlans',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getavailableplans'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'createvoucher',
|
||||||
|
'3': 13,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.CreateVoucher',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'createvoucher'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getvouchers',
|
||||||
|
'3': 14,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.GetVouchers',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getvouchers'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'Switchtopayedplan',
|
||||||
|
'3': 15,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.SwitchToPayedPlan',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'Switchtopayedplan'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getaddaccountsinvites',
|
||||||
|
'3': 16,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.GetAddAccountsInvites',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getaddaccountsinvites'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'redeemadditionalcode',
|
||||||
|
'3': 17,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.RedeemAdditionalCode',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'redeemadditionalcode'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'removeadditionaluser',
|
||||||
|
'3': 18,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.RemoveAdditionalUser',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'removeadditionaluser'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'updateplanoptions',
|
||||||
|
'3': 19,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.UpdatePlanOptions',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'updateplanoptions'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'downloaddone',
|
||||||
|
'3': 20,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.DownloadDone',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'downloaddone'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'getsignedprekeybyuserid',
|
||||||
|
'3': 22,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.GetSignedPreKeyByUserId',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'getsignedprekeybyuserid'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'updatesignedprekey',
|
||||||
|
'3': 23,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.UpdateSignedPreKey',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'updatesignedprekey'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'deleteaccount',
|
||||||
|
'3': 24,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.ApplicationData.DeleteAccount',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'deleteaccount'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
'3': [
|
||||||
|
ApplicationData_TextMessage$json,
|
||||||
|
ApplicationData_GetUserByUsername$json,
|
||||||
|
ApplicationData_UpdateGoogleFcmToken$json,
|
||||||
|
ApplicationData_GetUserById$json,
|
||||||
|
ApplicationData_RedeemVoucher$json,
|
||||||
|
ApplicationData_SwitchToPayedPlan$json,
|
||||||
|
ApplicationData_UpdatePlanOptions$json,
|
||||||
|
ApplicationData_CreateVoucher$json,
|
||||||
|
ApplicationData_GetLocation$json,
|
||||||
|
ApplicationData_GetVouchers$json,
|
||||||
|
ApplicationData_GetAvailablePlans$json,
|
||||||
|
ApplicationData_GetAddAccountsInvites$json,
|
||||||
|
ApplicationData_GetCurrentPlanInfos$json,
|
||||||
|
ApplicationData_RedeemAdditionalCode$json,
|
||||||
|
ApplicationData_RemoveAdditionalUser$json,
|
||||||
|
ApplicationData_GetPrekeysByUserId$json,
|
||||||
|
ApplicationData_GetSignedPreKeyByUserId$json,
|
||||||
|
ApplicationData_UpdateSignedPreKey$json,
|
||||||
|
ApplicationData_DownloadDone$json,
|
||||||
|
ApplicationData_DeleteAccount$json
|
||||||
],
|
],
|
||||||
'3': [ApplicationData_TextMessage$json, ApplicationData_GetUserByUsername$json, ApplicationData_UpdateGoogleFcmToken$json, ApplicationData_GetUserById$json, ApplicationData_RedeemVoucher$json, ApplicationData_SwitchToPayedPlan$json, ApplicationData_UpdatePlanOptions$json, ApplicationData_CreateVoucher$json, ApplicationData_GetLocation$json, ApplicationData_GetVouchers$json, ApplicationData_GetAvailablePlans$json, ApplicationData_GetAddAccountsInvites$json, ApplicationData_GetCurrentPlanInfos$json, ApplicationData_RedeemAdditionalCode$json, ApplicationData_RemoveAdditionalUser$json, ApplicationData_GetPrekeysByUserId$json, ApplicationData_GetSignedPreKeyByUserId$json, ApplicationData_UpdateSignedPreKey$json, ApplicationData_DownloadDone$json, ApplicationData_DeleteAccount$json],
|
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'ApplicationData'},
|
{'1': 'ApplicationData'},
|
||||||
],
|
],
|
||||||
|
|
@ -169,7 +447,15 @@ const ApplicationData_TextMessage$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'user_id', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
{'1': 'user_id', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
||||||
{'1': 'body', '3': 3, '4': 1, '5': 12, '10': 'body'},
|
{'1': 'body', '3': 3, '4': 1, '5': 12, '10': 'body'},
|
||||||
{'1': 'push_data', '3': 4, '4': 1, '5': 12, '9': 0, '10': 'pushData', '17': true},
|
{
|
||||||
|
'1': 'push_data',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'pushData',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': '_push_data'},
|
{'1': '_push_data'},
|
||||||
|
|
@ -297,7 +583,13 @@ const ApplicationData_UpdateSignedPreKey$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'signed_prekey_id', '3': 1, '4': 1, '5': 3, '10': 'signedPrekeyId'},
|
{'1': 'signed_prekey_id', '3': 1, '4': 1, '5': 3, '10': 'signedPrekeyId'},
|
||||||
{'1': 'signed_prekey', '3': 2, '4': 1, '5': 12, '10': 'signedPrekey'},
|
{'1': 'signed_prekey', '3': 2, '4': 1, '5': 12, '10': 'signedPrekey'},
|
||||||
{'1': 'signed_prekey_signature', '3': 3, '4': 1, '5': 12, '10': 'signedPrekeySignature'},
|
{
|
||||||
|
'1': 'signed_prekey_signature',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'10': 'signedPrekeySignature'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -376,8 +668,24 @@ final $typed_data.Uint8List applicationDataDescriptor = $convert.base64Decode(
|
||||||
const Response$json = {
|
const Response$json = {
|
||||||
'1': 'Response',
|
'1': 'Response',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'ok', '3': 1, '4': 1, '5': 11, '6': '.client_to_server.Response.Ok', '9': 0, '10': 'ok'},
|
{
|
||||||
{'1': 'error', '3': 2, '4': 1, '5': 14, '6': '.error.ErrorCode', '9': 0, '10': 'error'},
|
'1': 'ok',
|
||||||
|
'3': 1,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Response.Ok',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'ok'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'error',
|
||||||
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 14,
|
||||||
|
'6': '.error.ErrorCode',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'error'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'3': [Response_PreKey$json, Response_Prekeys$json, Response_Ok$json],
|
'3': [Response_PreKey$json, Response_Prekeys$json, Response_Ok$json],
|
||||||
'8': [
|
'8': [
|
||||||
|
|
@ -398,7 +706,14 @@ const Response_PreKey$json = {
|
||||||
const Response_Prekeys$json = {
|
const Response_Prekeys$json = {
|
||||||
'1': 'Prekeys',
|
'1': 'Prekeys',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'prekeys', '3': 1, '4': 3, '5': 11, '6': '.client_to_server.Response.PreKey', '10': 'prekeys'},
|
{
|
||||||
|
'1': 'prekeys',
|
||||||
|
'3': 1,
|
||||||
|
'4': 3,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Response.PreKey',
|
||||||
|
'10': 'prekeys'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -407,7 +722,15 @@ const Response_Ok$json = {
|
||||||
'1': 'Ok',
|
'1': 'Ok',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'None', '3': 1, '4': 1, '5': 8, '9': 0, '10': 'None'},
|
{'1': 'None', '3': 1, '4': 1, '5': 8, '9': 0, '10': 'None'},
|
||||||
{'1': 'prekeys', '3': 2, '4': 1, '5': 11, '6': '.client_to_server.Response.Prekeys', '9': 0, '10': 'prekeys'},
|
{
|
||||||
|
'1': 'prekeys',
|
||||||
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.client_to_server.Response.Prekeys',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'prekeys'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'Ok'},
|
{'1': 'Ok'},
|
||||||
|
|
@ -422,4 +745,3 @@ final $typed_data.Uint8List responseDescriptor = $convert.base64Decode(
|
||||||
'ByZWtleXMYASADKAsyIS5jbGllbnRfdG9fc2VydmVyLlJlc3BvbnNlLlByZUtleVIHcHJla2V5'
|
'ByZWtleXMYASADKAsyIS5jbGllbnRfdG9fc2VydmVyLlJlc3BvbnNlLlByZUtleVIHcHJla2V5'
|
||||||
'cxpgCgJPaxIUCgROb25lGAEgASgISABSBE5vbmUSPgoHcHJla2V5cxgCIAEoCzIiLmNsaWVudF'
|
'cxpgCgJPaxIUCgROb25lGAEgASgISABSBE5vbmUSPgoHcHJla2V5cxgCIAEoCzIiLmNsaWVudF'
|
||||||
'90b19zZXJ2ZXIuUmVzcG9uc2UuUHJla2V5c0gAUgdwcmVrZXlzQgQKAk9rQgoKCFJlc3BvbnNl');
|
'90b19zZXJ2ZXIuUmVzcG9uc2UuUHJla2V5c0gAUgdwcmVrZXlzQgQKAk9rQgoKCFJlc3BvbnNl');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
export 'client_to_server.pb.dart';
|
export 'client_to_server.pb.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,3 @@
|
||||||
import 'dart:core' as $core;
|
import 'dart:core' as $core;
|
||||||
|
|
||||||
export 'error.pbenum.dart';
|
export 'error.pbenum.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,39 +14,72 @@ import 'dart:core' as $core;
|
||||||
import 'package:protobuf/protobuf.dart' as $pb;
|
import 'package:protobuf/protobuf.dart' as $pb;
|
||||||
|
|
||||||
class ErrorCode extends $pb.ProtobufEnum {
|
class ErrorCode extends $pb.ProtobufEnum {
|
||||||
static const ErrorCode Unknown = ErrorCode._(0, _omitEnumNames ? '' : 'Unknown');
|
static const ErrorCode Unknown =
|
||||||
static const ErrorCode BadRequest = ErrorCode._(400, _omitEnumNames ? '' : 'BadRequest');
|
ErrorCode._(0, _omitEnumNames ? '' : 'Unknown');
|
||||||
static const ErrorCode TooManyRequests = ErrorCode._(429, _omitEnumNames ? '' : 'TooManyRequests');
|
static const ErrorCode BadRequest =
|
||||||
static const ErrorCode InternalError = ErrorCode._(500, _omitEnumNames ? '' : 'InternalError');
|
ErrorCode._(400, _omitEnumNames ? '' : 'BadRequest');
|
||||||
static const ErrorCode InvalidInvitationCode = ErrorCode._(1002, _omitEnumNames ? '' : 'InvalidInvitationCode');
|
static const ErrorCode TooManyRequests =
|
||||||
static const ErrorCode UsernameAlreadyTaken = ErrorCode._(1003, _omitEnumNames ? '' : 'UsernameAlreadyTaken');
|
ErrorCode._(429, _omitEnumNames ? '' : 'TooManyRequests');
|
||||||
static const ErrorCode SignatureNotValid = ErrorCode._(1004, _omitEnumNames ? '' : 'SignatureNotValid');
|
static const ErrorCode InternalError =
|
||||||
static const ErrorCode UsernameNotFound = ErrorCode._(1005, _omitEnumNames ? '' : 'UsernameNotFound');
|
ErrorCode._(500, _omitEnumNames ? '' : 'InternalError');
|
||||||
static const ErrorCode UsernameNotValid = ErrorCode._(1006, _omitEnumNames ? '' : 'UsernameNotValid');
|
static const ErrorCode InvalidInvitationCode =
|
||||||
static const ErrorCode InvalidPublicKey = ErrorCode._(1007, _omitEnumNames ? '' : 'InvalidPublicKey');
|
ErrorCode._(1002, _omitEnumNames ? '' : 'InvalidInvitationCode');
|
||||||
static const ErrorCode SessionAlreadyAuthenticated = ErrorCode._(1008, _omitEnumNames ? '' : 'SessionAlreadyAuthenticated');
|
static const ErrorCode UsernameAlreadyTaken =
|
||||||
static const ErrorCode SessionNotAuthenticated = ErrorCode._(1009, _omitEnumNames ? '' : 'SessionNotAuthenticated');
|
ErrorCode._(1003, _omitEnumNames ? '' : 'UsernameAlreadyTaken');
|
||||||
static const ErrorCode OnlyOneSessionAllowed = ErrorCode._(1010, _omitEnumNames ? '' : 'OnlyOneSessionAllowed');
|
static const ErrorCode SignatureNotValid =
|
||||||
static const ErrorCode UploadLimitReached = ErrorCode._(1011, _omitEnumNames ? '' : 'UploadLimitReached');
|
ErrorCode._(1004, _omitEnumNames ? '' : 'SignatureNotValid');
|
||||||
static const ErrorCode InvalidUpdateToken = ErrorCode._(1012, _omitEnumNames ? '' : 'InvalidUpdateToken');
|
static const ErrorCode UsernameNotFound =
|
||||||
static const ErrorCode InvalidOffset = ErrorCode._(1013, _omitEnumNames ? '' : 'InvalidOffset');
|
ErrorCode._(1005, _omitEnumNames ? '' : 'UsernameNotFound');
|
||||||
static const ErrorCode InvalidGoogleFcmToken = ErrorCode._(1014, _omitEnumNames ? '' : 'InvalidGoogleFcmToken');
|
static const ErrorCode UsernameNotValid =
|
||||||
static const ErrorCode UploadTokenIsBlocked = ErrorCode._(1015, _omitEnumNames ? '' : 'UploadTokenIsBlocked');
|
ErrorCode._(1006, _omitEnumNames ? '' : 'UsernameNotValid');
|
||||||
static const ErrorCode UploadChecksumInvalid = ErrorCode._(1016, _omitEnumNames ? '' : 'UploadChecksumInvalid');
|
static const ErrorCode InvalidPublicKey =
|
||||||
static const ErrorCode InvalidDownloadToken = ErrorCode._(1017, _omitEnumNames ? '' : 'InvalidDownloadToken');
|
ErrorCode._(1007, _omitEnumNames ? '' : 'InvalidPublicKey');
|
||||||
static const ErrorCode ApiEndpointNotFound = ErrorCode._(1018, _omitEnumNames ? '' : 'ApiEndpointNotFound');
|
static const ErrorCode SessionAlreadyAuthenticated =
|
||||||
static const ErrorCode AuthTokenNotValid = ErrorCode._(1019, _omitEnumNames ? '' : 'AuthTokenNotValid');
|
ErrorCode._(1008, _omitEnumNames ? '' : 'SessionAlreadyAuthenticated');
|
||||||
static const ErrorCode InvalidPreKeys = ErrorCode._(1020, _omitEnumNames ? '' : 'InvalidPreKeys');
|
static const ErrorCode SessionNotAuthenticated =
|
||||||
static const ErrorCode VoucherInValid = ErrorCode._(1021, _omitEnumNames ? '' : 'VoucherInValid');
|
ErrorCode._(1009, _omitEnumNames ? '' : 'SessionNotAuthenticated');
|
||||||
static const ErrorCode PlanNotAllowed = ErrorCode._(1022, _omitEnumNames ? '' : 'PlanNotAllowed');
|
static const ErrorCode OnlyOneSessionAllowed =
|
||||||
static const ErrorCode PlanLimitReached = ErrorCode._(1023, _omitEnumNames ? '' : 'PlanLimitReached');
|
ErrorCode._(1010, _omitEnumNames ? '' : 'OnlyOneSessionAllowed');
|
||||||
static const ErrorCode NotEnoughCredit = ErrorCode._(1024, _omitEnumNames ? '' : 'NotEnoughCredit');
|
static const ErrorCode UploadLimitReached =
|
||||||
static const ErrorCode PlanDowngrade = ErrorCode._(1025, _omitEnumNames ? '' : 'PlanDowngrade');
|
ErrorCode._(1011, _omitEnumNames ? '' : 'UploadLimitReached');
|
||||||
static const ErrorCode PlanUpgradeNotYearly = ErrorCode._(1026, _omitEnumNames ? '' : 'PlanUpgradeNotYearly');
|
static const ErrorCode InvalidUpdateToken =
|
||||||
static const ErrorCode InvalidSignedPreKey = ErrorCode._(1027, _omitEnumNames ? '' : 'InvalidSignedPreKey');
|
ErrorCode._(1012, _omitEnumNames ? '' : 'InvalidUpdateToken');
|
||||||
static const ErrorCode UserIdNotFound = ErrorCode._(1028, _omitEnumNames ? '' : 'UserIdNotFound');
|
static const ErrorCode InvalidOffset =
|
||||||
static const ErrorCode UserIdAlreadyTaken = ErrorCode._(1029, _omitEnumNames ? '' : 'UserIdAlreadyTaken');
|
ErrorCode._(1013, _omitEnumNames ? '' : 'InvalidOffset');
|
||||||
static const ErrorCode AppVersionOutdated = ErrorCode._(1030, _omitEnumNames ? '' : 'AppVersionOutdated');
|
static const ErrorCode InvalidGoogleFcmToken =
|
||||||
|
ErrorCode._(1014, _omitEnumNames ? '' : 'InvalidGoogleFcmToken');
|
||||||
|
static const ErrorCode UploadTokenIsBlocked =
|
||||||
|
ErrorCode._(1015, _omitEnumNames ? '' : 'UploadTokenIsBlocked');
|
||||||
|
static const ErrorCode UploadChecksumInvalid =
|
||||||
|
ErrorCode._(1016, _omitEnumNames ? '' : 'UploadChecksumInvalid');
|
||||||
|
static const ErrorCode InvalidDownloadToken =
|
||||||
|
ErrorCode._(1017, _omitEnumNames ? '' : 'InvalidDownloadToken');
|
||||||
|
static const ErrorCode ApiEndpointNotFound =
|
||||||
|
ErrorCode._(1018, _omitEnumNames ? '' : 'ApiEndpointNotFound');
|
||||||
|
static const ErrorCode AuthTokenNotValid =
|
||||||
|
ErrorCode._(1019, _omitEnumNames ? '' : 'AuthTokenNotValid');
|
||||||
|
static const ErrorCode InvalidPreKeys =
|
||||||
|
ErrorCode._(1020, _omitEnumNames ? '' : 'InvalidPreKeys');
|
||||||
|
static const ErrorCode VoucherInValid =
|
||||||
|
ErrorCode._(1021, _omitEnumNames ? '' : 'VoucherInValid');
|
||||||
|
static const ErrorCode PlanNotAllowed =
|
||||||
|
ErrorCode._(1022, _omitEnumNames ? '' : 'PlanNotAllowed');
|
||||||
|
static const ErrorCode PlanLimitReached =
|
||||||
|
ErrorCode._(1023, _omitEnumNames ? '' : 'PlanLimitReached');
|
||||||
|
static const ErrorCode NotEnoughCredit =
|
||||||
|
ErrorCode._(1024, _omitEnumNames ? '' : 'NotEnoughCredit');
|
||||||
|
static const ErrorCode PlanDowngrade =
|
||||||
|
ErrorCode._(1025, _omitEnumNames ? '' : 'PlanDowngrade');
|
||||||
|
static const ErrorCode PlanUpgradeNotYearly =
|
||||||
|
ErrorCode._(1026, _omitEnumNames ? '' : 'PlanUpgradeNotYearly');
|
||||||
|
static const ErrorCode InvalidSignedPreKey =
|
||||||
|
ErrorCode._(1027, _omitEnumNames ? '' : 'InvalidSignedPreKey');
|
||||||
|
static const ErrorCode UserIdNotFound =
|
||||||
|
ErrorCode._(1028, _omitEnumNames ? '' : 'UserIdNotFound');
|
||||||
|
static const ErrorCode UserIdAlreadyTaken =
|
||||||
|
ErrorCode._(1029, _omitEnumNames ? '' : 'UserIdAlreadyTaken');
|
||||||
|
static const ErrorCode AppVersionOutdated =
|
||||||
|
ErrorCode._(1030, _omitEnumNames ? '' : 'AppVersionOutdated');
|
||||||
|
|
||||||
static const $core.List<ErrorCode> values = <ErrorCode>[
|
static const $core.List<ErrorCode> values = <ErrorCode>[
|
||||||
Unknown,
|
Unknown,
|
||||||
|
|
@ -84,11 +117,11 @@ class ErrorCode extends $pb.ProtobufEnum {
|
||||||
AppVersionOutdated,
|
AppVersionOutdated,
|
||||||
];
|
];
|
||||||
|
|
||||||
static final $core.Map<$core.int, ErrorCode> _byValue = $pb.ProtobufEnum.initByValue(values);
|
static final $core.Map<$core.int, ErrorCode> _byValue =
|
||||||
|
$pb.ProtobufEnum.initByValue(values);
|
||||||
static ErrorCode? valueOf($core.int value) => _byValue[value];
|
static ErrorCode? valueOf($core.int value) => _byValue[value];
|
||||||
|
|
||||||
const ErrorCode._($core.int v, $core.String n) : super(v, n);
|
const ErrorCode._($core.int v, $core.String n) : super(v, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||||
|
|
|
||||||
|
|
@ -70,4 +70,3 @@ final $typed_data.Uint8List errorCodeDescriptor = $convert.base64Decode(
|
||||||
'bGFuRG93bmdyYWRlEIEIEhkKFFBsYW5VcGdyYWRlTm90WWVhcmx5EIIIEhgKE0ludmFsaWRTaW'
|
'bGFuRG93bmdyYWRlEIEIEhkKFFBsYW5VcGdyYWRlTm90WWVhcmx5EIIIEhgKE0ludmFsaWRTaW'
|
||||||
'duZWRQcmVLZXkQgwgSEwoOVXNlcklkTm90Rm91bmQQhAgSFwoSVXNlcklkQWxyZWFkeVRha2Vu'
|
'duZWRQcmVLZXkQgwgSEwoOVXNlcklkTm90Rm91bmQQhAgSFwoSVXNlcklkQWxyZWFkeVRha2Vu'
|
||||||
'EIUIEhcKEkFwcFZlcnNpb25PdXRkYXRlZBCGCA==');
|
'EIUIEhcKEkFwcFZlcnNpb25PdXRkYXRlZBCGCA==');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
export 'error.pb.dart';
|
export 'error.pb.dart';
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -14,16 +14,25 @@ import 'dart:core' as $core;
|
||||||
import 'package:protobuf/protobuf.dart' as $pb;
|
import 'package:protobuf/protobuf.dart' as $pb;
|
||||||
|
|
||||||
class Response_TransactionTypes extends $pb.ProtobufEnum {
|
class Response_TransactionTypes extends $pb.ProtobufEnum {
|
||||||
static const Response_TransactionTypes Refund = Response_TransactionTypes._(0, _omitEnumNames ? '' : 'Refund');
|
static const Response_TransactionTypes Refund =
|
||||||
static const Response_TransactionTypes VoucherRedeemed = Response_TransactionTypes._(1, _omitEnumNames ? '' : 'VoucherRedeemed');
|
Response_TransactionTypes._(0, _omitEnumNames ? '' : 'Refund');
|
||||||
static const Response_TransactionTypes VoucherCreated = Response_TransactionTypes._(2, _omitEnumNames ? '' : 'VoucherCreated');
|
static const Response_TransactionTypes VoucherRedeemed =
|
||||||
static const Response_TransactionTypes Cash = Response_TransactionTypes._(3, _omitEnumNames ? '' : 'Cash');
|
Response_TransactionTypes._(1, _omitEnumNames ? '' : 'VoucherRedeemed');
|
||||||
static const Response_TransactionTypes PlanUpgrade = Response_TransactionTypes._(4, _omitEnumNames ? '' : 'PlanUpgrade');
|
static const Response_TransactionTypes VoucherCreated =
|
||||||
static const Response_TransactionTypes Unknown = Response_TransactionTypes._(5, _omitEnumNames ? '' : 'Unknown');
|
Response_TransactionTypes._(2, _omitEnumNames ? '' : 'VoucherCreated');
|
||||||
static const Response_TransactionTypes ThanksForTesting = Response_TransactionTypes._(6, _omitEnumNames ? '' : 'ThanksForTesting');
|
static const Response_TransactionTypes Cash =
|
||||||
static const Response_TransactionTypes AutoRenewal = Response_TransactionTypes._(7, _omitEnumNames ? '' : 'AutoRenewal');
|
Response_TransactionTypes._(3, _omitEnumNames ? '' : 'Cash');
|
||||||
|
static const Response_TransactionTypes PlanUpgrade =
|
||||||
|
Response_TransactionTypes._(4, _omitEnumNames ? '' : 'PlanUpgrade');
|
||||||
|
static const Response_TransactionTypes Unknown =
|
||||||
|
Response_TransactionTypes._(5, _omitEnumNames ? '' : 'Unknown');
|
||||||
|
static const Response_TransactionTypes ThanksForTesting =
|
||||||
|
Response_TransactionTypes._(6, _omitEnumNames ? '' : 'ThanksForTesting');
|
||||||
|
static const Response_TransactionTypes AutoRenewal =
|
||||||
|
Response_TransactionTypes._(7, _omitEnumNames ? '' : 'AutoRenewal');
|
||||||
|
|
||||||
static const $core.List<Response_TransactionTypes> values = <Response_TransactionTypes> [
|
static const $core.List<Response_TransactionTypes> values =
|
||||||
|
<Response_TransactionTypes>[
|
||||||
Refund,
|
Refund,
|
||||||
VoucherRedeemed,
|
VoucherRedeemed,
|
||||||
VoucherCreated,
|
VoucherCreated,
|
||||||
|
|
@ -34,11 +43,11 @@ class Response_TransactionTypes extends $pb.ProtobufEnum {
|
||||||
AutoRenewal,
|
AutoRenewal,
|
||||||
];
|
];
|
||||||
|
|
||||||
static final $core.Map<$core.int, Response_TransactionTypes> _byValue = $pb.ProtobufEnum.initByValue(values);
|
static final $core.Map<$core.int, Response_TransactionTypes> _byValue =
|
||||||
|
$pb.ProtobufEnum.initByValue(values);
|
||||||
static Response_TransactionTypes? valueOf($core.int value) => _byValue[value];
|
static Response_TransactionTypes? valueOf($core.int value) => _byValue[value];
|
||||||
|
|
||||||
const Response_TransactionTypes._($core.int v, $core.String n) : super(v, n);
|
const Response_TransactionTypes._($core.int v, $core.String n) : super(v, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,15 @@ import 'dart:typed_data' as $typed_data;
|
||||||
const ServerToClient$json = {
|
const ServerToClient$json = {
|
||||||
'1': 'ServerToClient',
|
'1': 'ServerToClient',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'V0', '3': 1, '4': 1, '5': 11, '6': '.server_to_client.V0', '9': 0, '10': 'V0'},
|
{
|
||||||
|
'1': 'V0',
|
||||||
|
'3': 1,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.V0',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'V0'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'v'},
|
{'1': 'v'},
|
||||||
|
|
@ -34,10 +42,41 @@ const V0$json = {
|
||||||
'1': 'V0',
|
'1': 'V0',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'seq', '3': 1, '4': 1, '5': 4, '10': 'seq'},
|
{'1': 'seq', '3': 1, '4': 1, '5': 4, '10': 'seq'},
|
||||||
{'1': 'response', '3': 2, '4': 1, '5': 11, '6': '.server_to_client.Response', '9': 0, '10': 'response'},
|
{
|
||||||
{'1': 'newMessage', '3': 3, '4': 1, '5': 11, '6': '.server_to_client.NewMessage', '9': 0, '10': 'newMessage'},
|
'1': 'response',
|
||||||
{'1': 'RequestNewPreKeys', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'RequestNewPreKeys'},
|
'3': 2,
|
||||||
{'1': 'error', '3': 6, '4': 1, '5': 14, '6': '.error.ErrorCode', '9': 0, '10': 'error'},
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'response'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'newMessage',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.NewMessage',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'newMessage'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'RequestNewPreKeys',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 8,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'RequestNewPreKeys'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'error',
|
||||||
|
'3': 6,
|
||||||
|
'4': 1,
|
||||||
|
'5': 14,
|
||||||
|
'6': '.error.ErrorCode',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'error'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'Kind'},
|
{'1': 'Kind'},
|
||||||
|
|
@ -70,10 +109,44 @@ final $typed_data.Uint8List newMessageDescriptor = $convert.base64Decode(
|
||||||
const Response$json = {
|
const Response$json = {
|
||||||
'1': 'Response',
|
'1': 'Response',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'ok', '3': 1, '4': 1, '5': 11, '6': '.server_to_client.Response.Ok', '9': 0, '10': 'ok'},
|
{
|
||||||
{'1': 'error', '3': 2, '4': 1, '5': 14, '6': '.error.ErrorCode', '9': 0, '10': 'error'},
|
'1': 'ok',
|
||||||
|
'3': 1,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.Ok',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'ok'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'error',
|
||||||
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 14,
|
||||||
|
'6': '.error.ErrorCode',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'error'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
'3': [
|
||||||
|
Response_Authenticated$json,
|
||||||
|
Response_Plan$json,
|
||||||
|
Response_Plans$json,
|
||||||
|
Response_AddAccountsInvite$json,
|
||||||
|
Response_AddAccountsInvites$json,
|
||||||
|
Response_Transaction$json,
|
||||||
|
Response_AdditionalAccount$json,
|
||||||
|
Response_Voucher$json,
|
||||||
|
Response_Vouchers$json,
|
||||||
|
Response_PlanBallance$json,
|
||||||
|
Response_Location$json,
|
||||||
|
Response_PreKey$json,
|
||||||
|
Response_SignedPreKey$json,
|
||||||
|
Response_UserData$json,
|
||||||
|
Response_UploadToken$json,
|
||||||
|
Response_DownloadTokens$json,
|
||||||
|
Response_Ok$json
|
||||||
],
|
],
|
||||||
'3': [Response_Authenticated$json, Response_Plan$json, Response_Plans$json, Response_AddAccountsInvite$json, Response_AddAccountsInvites$json, Response_Transaction$json, Response_AdditionalAccount$json, Response_Voucher$json, Response_Vouchers$json, Response_PlanBallance$json, Response_Location$json, Response_PreKey$json, Response_SignedPreKey$json, Response_UserData$json, Response_UploadToken$json, Response_DownloadTokens$json, Response_Ok$json],
|
|
||||||
'4': [Response_TransactionTypes$json],
|
'4': [Response_TransactionTypes$json],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'Response'},
|
{'1': 'Response'},
|
||||||
|
|
@ -94,14 +167,56 @@ const Response_Plan$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'plan_id', '3': 1, '4': 1, '5': 9, '10': 'planId'},
|
{'1': 'plan_id', '3': 1, '4': 1, '5': 9, '10': 'planId'},
|
||||||
{'1': 'upload_size_limit', '3': 2, '4': 1, '5': 3, '10': 'uploadSizeLimit'},
|
{'1': 'upload_size_limit', '3': 2, '4': 1, '5': 3, '10': 'uploadSizeLimit'},
|
||||||
{'1': 'daily_media_upload_limit', '3': 3, '4': 1, '5': 3, '10': 'dailyMediaUploadLimit'},
|
{
|
||||||
{'1': 'maximal_upload_size_of_single_media_size', '3': 4, '4': 1, '5': 3, '10': 'maximalUploadSizeOfSingleMediaSize'},
|
'1': 'daily_media_upload_limit',
|
||||||
{'1': 'additional_plus_accounts', '3': 5, '4': 1, '5': 3, '10': 'additionalPlusAccounts'},
|
'3': 3,
|
||||||
{'1': 'additional_free_accounts', '3': 6, '4': 1, '5': 3, '10': 'additionalFreeAccounts'},
|
'4': 1,
|
||||||
{'1': 'monthly_costs_cent', '3': 7, '4': 1, '5': 3, '10': 'monthlyCostsCent'},
|
'5': 3,
|
||||||
|
'10': 'dailyMediaUploadLimit'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'maximal_upload_size_of_single_media_size',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'10': 'maximalUploadSizeOfSingleMediaSize'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'additional_plus_accounts',
|
||||||
|
'3': 5,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'10': 'additionalPlusAccounts'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'additional_free_accounts',
|
||||||
|
'3': 6,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'10': 'additionalFreeAccounts'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'monthly_costs_cent',
|
||||||
|
'3': 7,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'10': 'monthlyCostsCent'
|
||||||
|
},
|
||||||
{'1': 'yearly_costs_cent', '3': 8, '4': 1, '5': 3, '10': 'yearlyCostsCent'},
|
{'1': 'yearly_costs_cent', '3': 8, '4': 1, '5': 3, '10': 'yearlyCostsCent'},
|
||||||
{'1': 'allowed_to_send_text_messages', '3': 9, '4': 1, '5': 8, '10': 'allowedToSendTextMessages'},
|
{
|
||||||
{'1': 'is_additional_account', '3': 10, '4': 1, '5': 8, '10': 'isAdditionalAccount'},
|
'1': 'allowed_to_send_text_messages',
|
||||||
|
'3': 9,
|
||||||
|
'4': 1,
|
||||||
|
'5': 8,
|
||||||
|
'10': 'allowedToSendTextMessages'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'is_additional_account',
|
||||||
|
'3': 10,
|
||||||
|
'4': 1,
|
||||||
|
'5': 8,
|
||||||
|
'10': 'isAdditionalAccount'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -109,7 +224,14 @@ const Response_Plan$json = {
|
||||||
const Response_Plans$json = {
|
const Response_Plans$json = {
|
||||||
'1': 'Plans',
|
'1': 'Plans',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'plans', '3': 1, '4': 3, '5': 11, '6': '.server_to_client.Response.Plan', '10': 'plans'},
|
{
|
||||||
|
'1': 'plans',
|
||||||
|
'3': 1,
|
||||||
|
'4': 3,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.Plan',
|
||||||
|
'10': 'plans'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -126,7 +248,14 @@ const Response_AddAccountsInvite$json = {
|
||||||
const Response_AddAccountsInvites$json = {
|
const Response_AddAccountsInvites$json = {
|
||||||
'1': 'AddAccountsInvites',
|
'1': 'AddAccountsInvites',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'invites', '3': 1, '4': 3, '5': 11, '6': '.server_to_client.Response.AddAccountsInvite', '10': 'invites'},
|
{
|
||||||
|
'1': 'invites',
|
||||||
|
'3': 1,
|
||||||
|
'4': 3,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.AddAccountsInvite',
|
||||||
|
'10': 'invites'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -135,8 +264,21 @@ const Response_Transaction$json = {
|
||||||
'1': 'Transaction',
|
'1': 'Transaction',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'deposit_cents', '3': 1, '4': 1, '5': 3, '10': 'depositCents'},
|
{'1': 'deposit_cents', '3': 1, '4': 1, '5': 3, '10': 'depositCents'},
|
||||||
{'1': 'transaction_type', '3': 2, '4': 1, '5': 14, '6': '.server_to_client.Response.TransactionTypes', '10': 'transactionType'},
|
{
|
||||||
{'1': 'created_at_unix_timestamp', '3': 3, '4': 1, '5': 3, '10': 'createdAtUnixTimestamp'},
|
'1': 'transaction_type',
|
||||||
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 14,
|
||||||
|
'6': '.server_to_client.Response.TransactionTypes',
|
||||||
|
'10': 'transactionType'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'created_at_unix_timestamp',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'10': 'createdAtUnixTimestamp'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -157,7 +299,13 @@ const Response_Voucher$json = {
|
||||||
{'1': 'value_cents', '3': 2, '4': 1, '5': 3, '10': 'valueCents'},
|
{'1': 'value_cents', '3': 2, '4': 1, '5': 3, '10': 'valueCents'},
|
||||||
{'1': 'redeemed', '3': 3, '4': 1, '5': 8, '10': 'redeemed'},
|
{'1': 'redeemed', '3': 3, '4': 1, '5': 8, '10': 'redeemed'},
|
||||||
{'1': 'requested', '3': 4, '4': 1, '5': 8, '10': 'requested'},
|
{'1': 'requested', '3': 4, '4': 1, '5': 8, '10': 'requested'},
|
||||||
{'1': 'created_at_unix_timestamp', '3': 5, '4': 1, '5': 3, '10': 'createdAtUnixTimestamp'},
|
{
|
||||||
|
'1': 'created_at_unix_timestamp',
|
||||||
|
'3': 5,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'10': 'createdAtUnixTimestamp'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -165,7 +313,14 @@ const Response_Voucher$json = {
|
||||||
const Response_Vouchers$json = {
|
const Response_Vouchers$json = {
|
||||||
'1': 'Vouchers',
|
'1': 'Vouchers',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'vouchers', '3': 1, '4': 3, '5': 11, '6': '.server_to_client.Response.Voucher', '10': 'vouchers'},
|
{
|
||||||
|
'1': 'vouchers',
|
||||||
|
'3': 1,
|
||||||
|
'4': 3,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.Voucher',
|
||||||
|
'10': 'vouchers'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -173,14 +328,72 @@ const Response_Vouchers$json = {
|
||||||
const Response_PlanBallance$json = {
|
const Response_PlanBallance$json = {
|
||||||
'1': 'PlanBallance',
|
'1': 'PlanBallance',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'used_daily_media_upload_limit', '3': 1, '4': 1, '5': 3, '10': 'usedDailyMediaUploadLimit'},
|
{
|
||||||
{'1': 'used_upload_media_size_limit', '3': 2, '4': 1, '5': 3, '10': 'usedUploadMediaSizeLimit'},
|
'1': 'used_daily_media_upload_limit',
|
||||||
{'1': 'payment_period_days', '3': 3, '4': 1, '5': 3, '9': 0, '10': 'paymentPeriodDays', '17': true},
|
'3': 1,
|
||||||
{'1': 'last_payment_done_unix_timestamp', '3': 4, '4': 1, '5': 3, '9': 1, '10': 'lastPaymentDoneUnixTimestamp', '17': true},
|
'4': 1,
|
||||||
{'1': 'transactions', '3': 5, '4': 3, '5': 11, '6': '.server_to_client.Response.Transaction', '10': 'transactions'},
|
'5': 3,
|
||||||
{'1': 'additional_accounts', '3': 6, '4': 3, '5': 11, '6': '.server_to_client.Response.AdditionalAccount', '10': 'additionalAccounts'},
|
'10': 'usedDailyMediaUploadLimit'
|
||||||
{'1': 'auto_renewal', '3': 7, '4': 1, '5': 8, '9': 2, '10': 'autoRenewal', '17': true},
|
},
|
||||||
{'1': 'additional_account_owner_id', '3': 8, '4': 1, '5': 3, '9': 3, '10': 'additionalAccountOwnerId', '17': true},
|
{
|
||||||
|
'1': 'used_upload_media_size_limit',
|
||||||
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'10': 'usedUploadMediaSizeLimit'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'payment_period_days',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'paymentPeriodDays',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'last_payment_done_unix_timestamp',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'9': 1,
|
||||||
|
'10': 'lastPaymentDoneUnixTimestamp',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'transactions',
|
||||||
|
'3': 5,
|
||||||
|
'4': 3,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.Transaction',
|
||||||
|
'10': 'transactions'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'additional_accounts',
|
||||||
|
'3': 6,
|
||||||
|
'4': 3,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.AdditionalAccount',
|
||||||
|
'10': 'additionalAccounts'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'auto_renewal',
|
||||||
|
'3': 7,
|
||||||
|
'4': 1,
|
||||||
|
'5': 8,
|
||||||
|
'9': 2,
|
||||||
|
'10': 'autoRenewal',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'additional_account_owner_id',
|
||||||
|
'3': 8,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'9': 3,
|
||||||
|
'10': 'additionalAccountOwnerId',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': '_payment_period_days'},
|
{'1': '_payment_period_days'},
|
||||||
|
|
@ -215,7 +428,13 @@ const Response_SignedPreKey$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'signed_prekey_id', '3': 1, '4': 1, '5': 3, '10': 'signedPrekeyId'},
|
{'1': 'signed_prekey_id', '3': 1, '4': 1, '5': 3, '10': 'signedPrekeyId'},
|
||||||
{'1': 'signed_prekey', '3': 2, '4': 1, '5': 12, '10': 'signedPrekey'},
|
{'1': 'signed_prekey', '3': 2, '4': 1, '5': 12, '10': 'signedPrekey'},
|
||||||
{'1': 'signed_prekey_signature', '3': 3, '4': 1, '5': 12, '10': 'signedPrekeySignature'},
|
{
|
||||||
|
'1': 'signed_prekey_signature',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'10': 'signedPrekeySignature'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -224,12 +443,59 @@ const Response_UserData$json = {
|
||||||
'1': 'UserData',
|
'1': 'UserData',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'user_id', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
{'1': 'user_id', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
||||||
{'1': 'prekeys', '3': 2, '4': 3, '5': 11, '6': '.server_to_client.Response.PreKey', '10': 'prekeys'},
|
{
|
||||||
{'1': 'username', '3': 7, '4': 1, '5': 12, '9': 0, '10': 'username', '17': true},
|
'1': 'prekeys',
|
||||||
{'1': 'public_identity_key', '3': 3, '4': 1, '5': 12, '9': 1, '10': 'publicIdentityKey', '17': true},
|
'3': 2,
|
||||||
{'1': 'signed_prekey', '3': 4, '4': 1, '5': 12, '9': 2, '10': 'signedPrekey', '17': true},
|
'4': 3,
|
||||||
{'1': 'signed_prekey_signature', '3': 5, '4': 1, '5': 12, '9': 3, '10': 'signedPrekeySignature', '17': true},
|
'5': 11,
|
||||||
{'1': 'signed_prekey_id', '3': 6, '4': 1, '5': 3, '9': 4, '10': 'signedPrekeyId', '17': true},
|
'6': '.server_to_client.Response.PreKey',
|
||||||
|
'10': 'prekeys'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'username',
|
||||||
|
'3': 7,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'username',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'public_identity_key',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'9': 1,
|
||||||
|
'10': 'publicIdentityKey',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'signed_prekey',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'9': 2,
|
||||||
|
'10': 'signedPrekey',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'signed_prekey_signature',
|
||||||
|
'3': 5,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'9': 3,
|
||||||
|
'10': 'signedPrekeySignature',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'signed_prekey_id',
|
||||||
|
'3': 6,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'9': 4,
|
||||||
|
'10': 'signedPrekeyId',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': '_username'},
|
{'1': '_username'},
|
||||||
|
|
@ -263,18 +529,105 @@ const Response_Ok$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'None', '3': 1, '4': 1, '5': 8, '9': 0, '10': 'None'},
|
{'1': 'None', '3': 1, '4': 1, '5': 8, '9': 0, '10': 'None'},
|
||||||
{'1': 'userid', '3': 2, '4': 1, '5': 3, '9': 0, '10': 'userid'},
|
{'1': 'userid', '3': 2, '4': 1, '5': 3, '9': 0, '10': 'userid'},
|
||||||
{'1': 'authchallenge', '3': 3, '4': 1, '5': 12, '9': 0, '10': 'authchallenge'},
|
{
|
||||||
{'1': 'uploadtoken', '3': 4, '4': 1, '5': 11, '6': '.server_to_client.Response.UploadToken', '9': 0, '10': 'uploadtoken'},
|
'1': 'authchallenge',
|
||||||
{'1': 'userdata', '3': 5, '4': 1, '5': 11, '6': '.server_to_client.Response.UserData', '9': 0, '10': 'userdata'},
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 12,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'authchallenge'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'uploadtoken',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.UploadToken',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'uploadtoken'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'userdata',
|
||||||
|
'3': 5,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.UserData',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'userdata'
|
||||||
|
},
|
||||||
{'1': 'authtoken', '3': 6, '4': 1, '5': 12, '9': 0, '10': 'authtoken'},
|
{'1': 'authtoken', '3': 6, '4': 1, '5': 12, '9': 0, '10': 'authtoken'},
|
||||||
{'1': 'location', '3': 7, '4': 1, '5': 11, '6': '.server_to_client.Response.Location', '9': 0, '10': 'location'},
|
{
|
||||||
{'1': 'authenticated', '3': 8, '4': 1, '5': 11, '6': '.server_to_client.Response.Authenticated', '9': 0, '10': 'authenticated'},
|
'1': 'location',
|
||||||
{'1': 'plans', '3': 9, '4': 1, '5': 11, '6': '.server_to_client.Response.Plans', '9': 0, '10': 'plans'},
|
'3': 7,
|
||||||
{'1': 'planballance', '3': 10, '4': 1, '5': 11, '6': '.server_to_client.Response.PlanBallance', '9': 0, '10': 'planballance'},
|
'4': 1,
|
||||||
{'1': 'vouchers', '3': 11, '4': 1, '5': 11, '6': '.server_to_client.Response.Vouchers', '9': 0, '10': 'vouchers'},
|
'5': 11,
|
||||||
{'1': 'addaccountsinvites', '3': 12, '4': 1, '5': 11, '6': '.server_to_client.Response.AddAccountsInvites', '9': 0, '10': 'addaccountsinvites'},
|
'6': '.server_to_client.Response.Location',
|
||||||
{'1': 'downloadtokens', '3': 13, '4': 1, '5': 11, '6': '.server_to_client.Response.DownloadTokens', '9': 0, '10': 'downloadtokens'},
|
'9': 0,
|
||||||
{'1': 'signedprekey', '3': 14, '4': 1, '5': 11, '6': '.server_to_client.Response.SignedPreKey', '9': 0, '10': 'signedprekey'},
|
'10': 'location'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'authenticated',
|
||||||
|
'3': 8,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.Authenticated',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'authenticated'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'plans',
|
||||||
|
'3': 9,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.Plans',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'plans'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'planballance',
|
||||||
|
'3': 10,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.PlanBallance',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'planballance'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'vouchers',
|
||||||
|
'3': 11,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.Vouchers',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'vouchers'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'addaccountsinvites',
|
||||||
|
'3': 12,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.AddAccountsInvites',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'addaccountsinvites'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'downloadtokens',
|
||||||
|
'3': 13,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.DownloadTokens',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'downloadtokens'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'signedprekey',
|
||||||
|
'3': 14,
|
||||||
|
'4': 1,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.server_to_client.Response.SignedPreKey',
|
||||||
|
'9': 0,
|
||||||
|
'10': 'signedprekey'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': 'Ok'},
|
{'1': 'Ok'},
|
||||||
|
|
@ -372,4 +725,3 @@ final $typed_data.Uint8List responseDescriptor = $convert.base64Decode(
|
||||||
'ESEgoOVm91Y2hlckNyZWF0ZWQQAhIICgRDYXNoEAMSDwoLUGxhblVwZ3JhZGUQBBILCgdVbmtu'
|
'ESEgoOVm91Y2hlckNyZWF0ZWQQAhIICgRDYXNoEAMSDwoLUGxhblVwZ3JhZGUQBBILCgdVbmtu'
|
||||||
'b3duEAUSFAoQVGhhbmtzRm9yVGVzdGluZxAGEg8KC0F1dG9SZW5ld2FsEAdCCgoIUmVzcG9uc2'
|
'b3duEAUSFAoQVGhhbmtzRm9yVGVzdGluZxAGEg8KC0F1dG9SZW5ld2FsEAdCCgoIUmVzcG9uc2'
|
||||||
'U=');
|
'U=');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
export 'server_to_client.pb.dart';
|
export 'server_to_client.pb.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,40 +28,55 @@ class TwonlySafeBackupContent extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
TwonlySafeBackupContent._() : super();
|
TwonlySafeBackupContent._() : super();
|
||||||
factory TwonlySafeBackupContent.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory TwonlySafeBackupContent.fromBuffer($core.List<$core.int> i,
|
||||||
factory TwonlySafeBackupContent.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory TwonlySafeBackupContent.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TwonlySafeBackupContent', createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
..aOS(1, _omitFieldNames ? '' : 'secureStorageJson', protoName: 'secureStorageJson')
|
_omitMessageNames ? '' : 'TwonlySafeBackupContent',
|
||||||
..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'twonlyDatabase', $pb.PbFieldType.OY, protoName: 'twonlyDatabase')
|
createEmptyInstance: create)
|
||||||
..hasRequiredFields = false
|
..aOS(1, _omitFieldNames ? '' : 'secureStorageJson',
|
||||||
;
|
protoName: 'secureStorageJson')
|
||||||
|
..a<$core.List<$core.int>>(
|
||||||
|
2, _omitFieldNames ? '' : 'twonlyDatabase', $pb.PbFieldType.OY,
|
||||||
|
protoName: 'twonlyDatabase')
|
||||||
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
TwonlySafeBackupContent clone() => TwonlySafeBackupContent()..mergeFromMessage(this);
|
TwonlySafeBackupContent clone() =>
|
||||||
@$core.Deprecated(
|
TwonlySafeBackupContent()..mergeFromMessage(this);
|
||||||
'Using this can add significant overhead to your binary. '
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
TwonlySafeBackupContent copyWith(void Function(TwonlySafeBackupContent) updates) => super.copyWith((message) => updates(message as TwonlySafeBackupContent)) as TwonlySafeBackupContent;
|
TwonlySafeBackupContent copyWith(
|
||||||
|
void Function(TwonlySafeBackupContent) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as TwonlySafeBackupContent))
|
||||||
|
as TwonlySafeBackupContent;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static TwonlySafeBackupContent create() => TwonlySafeBackupContent._();
|
static TwonlySafeBackupContent create() => TwonlySafeBackupContent._();
|
||||||
TwonlySafeBackupContent createEmptyInstance() => create();
|
TwonlySafeBackupContent createEmptyInstance() => create();
|
||||||
static $pb.PbList<TwonlySafeBackupContent> createRepeated() => $pb.PbList<TwonlySafeBackupContent>();
|
static $pb.PbList<TwonlySafeBackupContent> createRepeated() =>
|
||||||
|
$pb.PbList<TwonlySafeBackupContent>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static TwonlySafeBackupContent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TwonlySafeBackupContent>(create);
|
static TwonlySafeBackupContent getDefault() => _defaultInstance ??=
|
||||||
|
$pb.GeneratedMessage.$_defaultFor<TwonlySafeBackupContent>(create);
|
||||||
static TwonlySafeBackupContent? _defaultInstance;
|
static TwonlySafeBackupContent? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.String get secureStorageJson => $_getSZ(0);
|
$core.String get secureStorageJson => $_getSZ(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
set secureStorageJson($core.String v) { $_setString(0, v); }
|
set secureStorageJson($core.String v) {
|
||||||
|
$_setString(0, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.bool hasSecureStorageJson() => $_has(0);
|
$core.bool hasSecureStorageJson() => $_has(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -70,7 +85,10 @@ class TwonlySafeBackupContent extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.List<$core.int> get twonlyDatabase => $_getN(1);
|
$core.List<$core.int> get twonlyDatabase => $_getN(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
set twonlyDatabase($core.List<$core.int> v) { $_setBytes(1, v); }
|
set twonlyDatabase($core.List<$core.int> v) {
|
||||||
|
$_setBytes(1, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.bool hasTwonlyDatabase() => $_has(1);
|
$core.bool hasTwonlyDatabase() => $_has(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
|
|
@ -96,41 +114,57 @@ class TwonlySafeBackupEncrypted extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
TwonlySafeBackupEncrypted._() : super();
|
TwonlySafeBackupEncrypted._() : super();
|
||||||
factory TwonlySafeBackupEncrypted.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory TwonlySafeBackupEncrypted.fromBuffer($core.List<$core.int> i,
|
||||||
factory TwonlySafeBackupEncrypted.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory TwonlySafeBackupEncrypted.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TwonlySafeBackupEncrypted', createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'mac', $pb.PbFieldType.OY)
|
_omitMessageNames ? '' : 'TwonlySafeBackupEncrypted',
|
||||||
..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY)
|
createEmptyInstance: create)
|
||||||
..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'cipherText', $pb.PbFieldType.OY, protoName: 'cipherText')
|
..a<$core.List<$core.int>>(
|
||||||
..hasRequiredFields = false
|
1, _omitFieldNames ? '' : 'mac', $pb.PbFieldType.OY)
|
||||||
;
|
..a<$core.List<$core.int>>(
|
||||||
|
2, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY)
|
||||||
|
..a<$core.List<$core.int>>(
|
||||||
|
3, _omitFieldNames ? '' : 'cipherText', $pb.PbFieldType.OY,
|
||||||
|
protoName: 'cipherText')
|
||||||
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
TwonlySafeBackupEncrypted clone() => TwonlySafeBackupEncrypted()..mergeFromMessage(this);
|
TwonlySafeBackupEncrypted clone() =>
|
||||||
@$core.Deprecated(
|
TwonlySafeBackupEncrypted()..mergeFromMessage(this);
|
||||||
'Using this can add significant overhead to your binary. '
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
TwonlySafeBackupEncrypted copyWith(void Function(TwonlySafeBackupEncrypted) updates) => super.copyWith((message) => updates(message as TwonlySafeBackupEncrypted)) as TwonlySafeBackupEncrypted;
|
TwonlySafeBackupEncrypted copyWith(
|
||||||
|
void Function(TwonlySafeBackupEncrypted) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as TwonlySafeBackupEncrypted))
|
||||||
|
as TwonlySafeBackupEncrypted;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static TwonlySafeBackupEncrypted create() => TwonlySafeBackupEncrypted._();
|
static TwonlySafeBackupEncrypted create() => TwonlySafeBackupEncrypted._();
|
||||||
TwonlySafeBackupEncrypted createEmptyInstance() => create();
|
TwonlySafeBackupEncrypted createEmptyInstance() => create();
|
||||||
static $pb.PbList<TwonlySafeBackupEncrypted> createRepeated() => $pb.PbList<TwonlySafeBackupEncrypted>();
|
static $pb.PbList<TwonlySafeBackupEncrypted> createRepeated() =>
|
||||||
|
$pb.PbList<TwonlySafeBackupEncrypted>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static TwonlySafeBackupEncrypted getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TwonlySafeBackupEncrypted>(create);
|
static TwonlySafeBackupEncrypted getDefault() => _defaultInstance ??=
|
||||||
|
$pb.GeneratedMessage.$_defaultFor<TwonlySafeBackupEncrypted>(create);
|
||||||
static TwonlySafeBackupEncrypted? _defaultInstance;
|
static TwonlySafeBackupEncrypted? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.List<$core.int> get mac => $_getN(0);
|
$core.List<$core.int> get mac => $_getN(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
set mac($core.List<$core.int> v) { $_setBytes(0, v); }
|
set mac($core.List<$core.int> v) {
|
||||||
|
$_setBytes(0, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.bool hasMac() => $_has(0);
|
$core.bool hasMac() => $_has(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -139,7 +173,10 @@ class TwonlySafeBackupEncrypted extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.List<$core.int> get nonce => $_getN(1);
|
$core.List<$core.int> get nonce => $_getN(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
set nonce($core.List<$core.int> v) { $_setBytes(1, v); }
|
set nonce($core.List<$core.int> v) {
|
||||||
|
$_setBytes(1, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.bool hasNonce() => $_has(1);
|
$core.bool hasNonce() => $_has(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
|
|
@ -148,13 +185,16 @@ class TwonlySafeBackupEncrypted extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.List<$core.int> get cipherText => $_getN(2);
|
$core.List<$core.int> get cipherText => $_getN(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
set cipherText($core.List<$core.int> v) { $_setBytes(2, v); }
|
set cipherText($core.List<$core.int> v) {
|
||||||
|
$_setBytes(2, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.bool hasCipherText() => $_has(2);
|
$core.bool hasCipherText() => $_has(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
void clearCipherText() => clearField(3);
|
void clearCipherText() => clearField(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||||
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
const _omitMessageNames =
|
||||||
|
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,3 @@
|
||||||
// ignore_for_file: constant_identifier_names, library_prefixes
|
// ignore_for_file: constant_identifier_names, library_prefixes
|
||||||
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,13 @@ import 'dart:typed_data' as $typed_data;
|
||||||
const TwonlySafeBackupContent$json = {
|
const TwonlySafeBackupContent$json = {
|
||||||
'1': 'TwonlySafeBackupContent',
|
'1': 'TwonlySafeBackupContent',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'secureStorageJson', '3': 1, '4': 1, '5': 9, '10': 'secureStorageJson'},
|
{
|
||||||
|
'1': 'secureStorageJson',
|
||||||
|
'3': 1,
|
||||||
|
'4': 1,
|
||||||
|
'5': 9,
|
||||||
|
'10': 'secureStorageJson'
|
||||||
|
},
|
||||||
{'1': 'twonlyDatabase', '3': 2, '4': 1, '5': 12, '10': 'twonlyDatabase'},
|
{'1': 'twonlyDatabase', '3': 2, '4': 1, '5': 12, '10': 'twonlyDatabase'},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
@ -38,7 +44,7 @@ const TwonlySafeBackupEncrypted$json = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Descriptor for `TwonlySafeBackupEncrypted`. Decode as a `google.protobuf.DescriptorProto`.
|
/// Descriptor for `TwonlySafeBackupEncrypted`. Decode as a `google.protobuf.DescriptorProto`.
|
||||||
final $typed_data.Uint8List twonlySafeBackupEncryptedDescriptor = $convert.base64Decode(
|
final $typed_data.Uint8List twonlySafeBackupEncryptedDescriptor =
|
||||||
|
$convert.base64Decode(
|
||||||
'ChlUd29ubHlTYWZlQmFja3VwRW5jcnlwdGVkEhAKA21hYxgBIAEoDFIDbWFjEhQKBW5vbmNlGA'
|
'ChlUd29ubHlTYWZlQmFja3VwRW5jcnlwdGVkEhAKA21hYxgBIAEoDFIDbWFjEhQKBW5vbmNlGA'
|
||||||
'IgASgMUgVub25jZRIeCgpjaXBoZXJUZXh0GAMgASgMUgpjaXBoZXJUZXh0');
|
'IgASgMUgVub25jZRIeCgpjaXBoZXJUZXh0GAMgASgMUgpjaXBoZXJUZXh0');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
export 'backup.pb.dart';
|
export 'backup.pb.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,42 +41,57 @@ class EncryptedPushNotification extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
EncryptedPushNotification._() : super();
|
EncryptedPushNotification._() : super();
|
||||||
factory EncryptedPushNotification.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory EncryptedPushNotification.fromBuffer($core.List<$core.int> i,
|
||||||
factory EncryptedPushNotification.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory EncryptedPushNotification.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EncryptedPushNotification', createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
|
_omitMessageNames ? '' : 'EncryptedPushNotification',
|
||||||
|
createEmptyInstance: create)
|
||||||
..aInt64(1, _omitFieldNames ? '' : 'keyId', protoName: 'keyId')
|
..aInt64(1, _omitFieldNames ? '' : 'keyId', protoName: 'keyId')
|
||||||
..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY)
|
..a<$core.List<$core.int>>(
|
||||||
..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'ciphertext', $pb.PbFieldType.OY)
|
2, _omitFieldNames ? '' : 'nonce', $pb.PbFieldType.OY)
|
||||||
..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'mac', $pb.PbFieldType.OY)
|
..a<$core.List<$core.int>>(
|
||||||
..hasRequiredFields = false
|
3, _omitFieldNames ? '' : 'ciphertext', $pb.PbFieldType.OY)
|
||||||
;
|
..a<$core.List<$core.int>>(
|
||||||
|
4, _omitFieldNames ? '' : 'mac', $pb.PbFieldType.OY)
|
||||||
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
EncryptedPushNotification clone() => EncryptedPushNotification()..mergeFromMessage(this);
|
EncryptedPushNotification clone() =>
|
||||||
@$core.Deprecated(
|
EncryptedPushNotification()..mergeFromMessage(this);
|
||||||
'Using this can add significant overhead to your binary. '
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
EncryptedPushNotification copyWith(void Function(EncryptedPushNotification) updates) => super.copyWith((message) => updates(message as EncryptedPushNotification)) as EncryptedPushNotification;
|
EncryptedPushNotification copyWith(
|
||||||
|
void Function(EncryptedPushNotification) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as EncryptedPushNotification))
|
||||||
|
as EncryptedPushNotification;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static EncryptedPushNotification create() => EncryptedPushNotification._();
|
static EncryptedPushNotification create() => EncryptedPushNotification._();
|
||||||
EncryptedPushNotification createEmptyInstance() => create();
|
EncryptedPushNotification createEmptyInstance() => create();
|
||||||
static $pb.PbList<EncryptedPushNotification> createRepeated() => $pb.PbList<EncryptedPushNotification>();
|
static $pb.PbList<EncryptedPushNotification> createRepeated() =>
|
||||||
|
$pb.PbList<EncryptedPushNotification>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static EncryptedPushNotification getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<EncryptedPushNotification>(create);
|
static EncryptedPushNotification getDefault() => _defaultInstance ??=
|
||||||
|
$pb.GeneratedMessage.$_defaultFor<EncryptedPushNotification>(create);
|
||||||
static EncryptedPushNotification? _defaultInstance;
|
static EncryptedPushNotification? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$fixnum.Int64 get keyId => $_getI64(0);
|
$fixnum.Int64 get keyId => $_getI64(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
set keyId($fixnum.Int64 v) { $_setInt64(0, v); }
|
set keyId($fixnum.Int64 v) {
|
||||||
|
$_setInt64(0, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.bool hasKeyId() => $_has(0);
|
$core.bool hasKeyId() => $_has(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -85,7 +100,10 @@ class EncryptedPushNotification extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.List<$core.int> get nonce => $_getN(1);
|
$core.List<$core.int> get nonce => $_getN(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
set nonce($core.List<$core.int> v) { $_setBytes(1, v); }
|
set nonce($core.List<$core.int> v) {
|
||||||
|
$_setBytes(1, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.bool hasNonce() => $_has(1);
|
$core.bool hasNonce() => $_has(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
|
|
@ -94,7 +112,10 @@ class EncryptedPushNotification extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.List<$core.int> get ciphertext => $_getN(2);
|
$core.List<$core.int> get ciphertext => $_getN(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
set ciphertext($core.List<$core.int> v) { $_setBytes(2, v); }
|
set ciphertext($core.List<$core.int> v) {
|
||||||
|
$_setBytes(2, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.bool hasCiphertext() => $_has(2);
|
$core.bool hasCiphertext() => $_has(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
|
|
@ -103,7 +124,10 @@ class EncryptedPushNotification extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(4)
|
@$pb.TagNumber(4)
|
||||||
$core.List<$core.int> get mac => $_getN(3);
|
$core.List<$core.int> get mac => $_getN(3);
|
||||||
@$pb.TagNumber(4)
|
@$pb.TagNumber(4)
|
||||||
set mac($core.List<$core.int> v) { $_setBytes(3, v); }
|
set mac($core.List<$core.int> v) {
|
||||||
|
$_setBytes(3, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(4)
|
@$pb.TagNumber(4)
|
||||||
$core.bool hasMac() => $_has(3);
|
$core.bool hasMac() => $_has(3);
|
||||||
@$pb.TagNumber(4)
|
@$pb.TagNumber(4)
|
||||||
|
|
@ -129,41 +153,55 @@ class PushNotification extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
PushNotification._() : super();
|
PushNotification._() : super();
|
||||||
factory PushNotification.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory PushNotification.fromBuffer($core.List<$core.int> i,
|
||||||
factory PushNotification.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory PushNotification.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PushNotification', createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
..e<PushKind>(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE, defaultOrMaker: PushKind.reaction, valueOf: PushKind.valueOf, enumValues: PushKind.values)
|
_omitMessageNames ? '' : 'PushNotification',
|
||||||
|
createEmptyInstance: create)
|
||||||
|
..e<PushKind>(1, _omitFieldNames ? '' : 'kind', $pb.PbFieldType.OE,
|
||||||
|
defaultOrMaker: PushKind.reaction,
|
||||||
|
valueOf: PushKind.valueOf,
|
||||||
|
enumValues: PushKind.values)
|
||||||
..aInt64(2, _omitFieldNames ? '' : 'messageId', protoName: 'messageId')
|
..aInt64(2, _omitFieldNames ? '' : 'messageId', protoName: 'messageId')
|
||||||
..aOS(3, _omitFieldNames ? '' : 'reactionContent', protoName: 'reactionContent')
|
..aOS(3, _omitFieldNames ? '' : 'reactionContent',
|
||||||
..hasRequiredFields = false
|
protoName: 'reactionContent')
|
||||||
;
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
PushNotification clone() => PushNotification()..mergeFromMessage(this);
|
PushNotification clone() => PushNotification()..mergeFromMessage(this);
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
PushNotification copyWith(void Function(PushNotification) updates) => super.copyWith((message) => updates(message as PushNotification)) as PushNotification;
|
PushNotification copyWith(void Function(PushNotification) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as PushNotification))
|
||||||
|
as PushNotification;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static PushNotification create() => PushNotification._();
|
static PushNotification create() => PushNotification._();
|
||||||
PushNotification createEmptyInstance() => create();
|
PushNotification createEmptyInstance() => create();
|
||||||
static $pb.PbList<PushNotification> createRepeated() => $pb.PbList<PushNotification>();
|
static $pb.PbList<PushNotification> createRepeated() =>
|
||||||
|
$pb.PbList<PushNotification>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static PushNotification getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PushNotification>(create);
|
static PushNotification getDefault() => _defaultInstance ??=
|
||||||
|
$pb.GeneratedMessage.$_defaultFor<PushNotification>(create);
|
||||||
static PushNotification? _defaultInstance;
|
static PushNotification? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
PushKind get kind => $_getN(0);
|
PushKind get kind => $_getN(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
set kind(PushKind v) { setField(1, v); }
|
set kind(PushKind v) {
|
||||||
|
setField(1, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.bool hasKind() => $_has(0);
|
$core.bool hasKind() => $_has(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -172,7 +210,10 @@ class PushNotification extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$fixnum.Int64 get messageId => $_getI64(1);
|
$fixnum.Int64 get messageId => $_getI64(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
set messageId($fixnum.Int64 v) { $_setInt64(1, v); }
|
set messageId($fixnum.Int64 v) {
|
||||||
|
$_setInt64(1, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.bool hasMessageId() => $_has(1);
|
$core.bool hasMessageId() => $_has(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
|
|
@ -181,7 +222,10 @@ class PushNotification extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.String get reactionContent => $_getSZ(2);
|
$core.String get reactionContent => $_getSZ(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
set reactionContent($core.String v) { $_setString(2, v); }
|
set reactionContent($core.String v) {
|
||||||
|
$_setString(2, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.bool hasReactionContent() => $_has(2);
|
$core.bool hasReactionContent() => $_has(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
|
|
@ -199,24 +243,29 @@ class PushUsers extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
PushUsers._() : super();
|
PushUsers._() : super();
|
||||||
factory PushUsers.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory PushUsers.fromBuffer($core.List<$core.int> i,
|
||||||
factory PushUsers.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory PushUsers.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PushUsers', createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
..pc<PushUser>(1, _omitFieldNames ? '' : 'users', $pb.PbFieldType.PM, subBuilder: PushUser.create)
|
_omitMessageNames ? '' : 'PushUsers',
|
||||||
..hasRequiredFields = false
|
createEmptyInstance: create)
|
||||||
;
|
..pc<PushUser>(1, _omitFieldNames ? '' : 'users', $pb.PbFieldType.PM,
|
||||||
|
subBuilder: PushUser.create)
|
||||||
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
PushUsers clone() => PushUsers()..mergeFromMessage(this);
|
PushUsers clone() => PushUsers()..mergeFromMessage(this);
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
PushUsers copyWith(void Function(PushUsers) updates) => super.copyWith((message) => updates(message as PushUsers)) as PushUsers;
|
PushUsers copyWith(void Function(PushUsers) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as PushUsers)) as PushUsers;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
|
|
@ -225,7 +274,8 @@ class PushUsers extends $pb.GeneratedMessage {
|
||||||
PushUsers createEmptyInstance() => create();
|
PushUsers createEmptyInstance() => create();
|
||||||
static $pb.PbList<PushUsers> createRepeated() => $pb.PbList<PushUsers>();
|
static $pb.PbList<PushUsers> createRepeated() => $pb.PbList<PushUsers>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static PushUsers getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PushUsers>(create);
|
static PushUsers getDefault() =>
|
||||||
|
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PushUsers>(create);
|
||||||
static PushUsers? _defaultInstance;
|
static PushUsers? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -259,28 +309,34 @@ class PushUser extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
PushUser._() : super();
|
PushUser._() : super();
|
||||||
factory PushUser.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory PushUser.fromBuffer($core.List<$core.int> i,
|
||||||
factory PushUser.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory PushUser.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PushUser', createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
|
_omitMessageNames ? '' : 'PushUser',
|
||||||
|
createEmptyInstance: create)
|
||||||
..aInt64(1, _omitFieldNames ? '' : 'userId', protoName: 'userId')
|
..aInt64(1, _omitFieldNames ? '' : 'userId', protoName: 'userId')
|
||||||
..aOS(2, _omitFieldNames ? '' : 'displayName', protoName: 'displayName')
|
..aOS(2, _omitFieldNames ? '' : 'displayName', protoName: 'displayName')
|
||||||
..aOB(3, _omitFieldNames ? '' : 'blocked')
|
..aOB(3, _omitFieldNames ? '' : 'blocked')
|
||||||
..aInt64(4, _omitFieldNames ? '' : 'lastMessageId', protoName: 'lastMessageId')
|
..aInt64(4, _omitFieldNames ? '' : 'lastMessageId',
|
||||||
..pc<PushKey>(5, _omitFieldNames ? '' : 'pushKeys', $pb.PbFieldType.PM, protoName: 'pushKeys', subBuilder: PushKey.create)
|
protoName: 'lastMessageId')
|
||||||
..hasRequiredFields = false
|
..pc<PushKey>(5, _omitFieldNames ? '' : 'pushKeys', $pb.PbFieldType.PM,
|
||||||
;
|
protoName: 'pushKeys', subBuilder: PushKey.create)
|
||||||
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
PushUser clone() => PushUser()..mergeFromMessage(this);
|
PushUser clone() => PushUser()..mergeFromMessage(this);
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
PushUser copyWith(void Function(PushUser) updates) => super.copyWith((message) => updates(message as PushUser)) as PushUser;
|
PushUser copyWith(void Function(PushUser) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as PushUser)) as PushUser;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
|
|
@ -289,13 +345,17 @@ class PushUser extends $pb.GeneratedMessage {
|
||||||
PushUser createEmptyInstance() => create();
|
PushUser createEmptyInstance() => create();
|
||||||
static $pb.PbList<PushUser> createRepeated() => $pb.PbList<PushUser>();
|
static $pb.PbList<PushUser> createRepeated() => $pb.PbList<PushUser>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static PushUser getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PushUser>(create);
|
static PushUser getDefault() =>
|
||||||
|
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PushUser>(create);
|
||||||
static PushUser? _defaultInstance;
|
static PushUser? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$fixnum.Int64 get userId => $_getI64(0);
|
$fixnum.Int64 get userId => $_getI64(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
set userId($fixnum.Int64 v) { $_setInt64(0, v); }
|
set userId($fixnum.Int64 v) {
|
||||||
|
$_setInt64(0, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.bool hasUserId() => $_has(0);
|
$core.bool hasUserId() => $_has(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -304,7 +364,10 @@ class PushUser extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.String get displayName => $_getSZ(1);
|
$core.String get displayName => $_getSZ(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
set displayName($core.String v) { $_setString(1, v); }
|
set displayName($core.String v) {
|
||||||
|
$_setString(1, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.bool hasDisplayName() => $_has(1);
|
$core.bool hasDisplayName() => $_has(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
|
|
@ -313,7 +376,10 @@ class PushUser extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.bool get blocked => $_getBF(2);
|
$core.bool get blocked => $_getBF(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
set blocked($core.bool v) { $_setBool(2, v); }
|
set blocked($core.bool v) {
|
||||||
|
$_setBool(2, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.bool hasBlocked() => $_has(2);
|
$core.bool hasBlocked() => $_has(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
|
|
@ -322,7 +388,10 @@ class PushUser extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(4)
|
@$pb.TagNumber(4)
|
||||||
$fixnum.Int64 get lastMessageId => $_getI64(3);
|
$fixnum.Int64 get lastMessageId => $_getI64(3);
|
||||||
@$pb.TagNumber(4)
|
@$pb.TagNumber(4)
|
||||||
set lastMessageId($fixnum.Int64 v) { $_setInt64(3, v); }
|
set lastMessageId($fixnum.Int64 v) {
|
||||||
|
$_setInt64(3, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(4)
|
@$pb.TagNumber(4)
|
||||||
$core.bool hasLastMessageId() => $_has(3);
|
$core.bool hasLastMessageId() => $_has(3);
|
||||||
@$pb.TagNumber(4)
|
@$pb.TagNumber(4)
|
||||||
|
|
@ -351,26 +420,32 @@ class PushKey extends $pb.GeneratedMessage {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
PushKey._() : super();
|
PushKey._() : super();
|
||||||
factory PushKey.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
factory PushKey.fromBuffer($core.List<$core.int> i,
|
||||||
factory PushKey.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromBuffer(i, r);
|
||||||
|
factory PushKey.fromJson($core.String i,
|
||||||
|
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
|
||||||
|
create()..mergeFromJson(i, r);
|
||||||
|
|
||||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PushKey', createEmptyInstance: create)
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||||
|
_omitMessageNames ? '' : 'PushKey',
|
||||||
|
createEmptyInstance: create)
|
||||||
..aInt64(1, _omitFieldNames ? '' : 'id')
|
..aInt64(1, _omitFieldNames ? '' : 'id')
|
||||||
..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'key', $pb.PbFieldType.OY)
|
..a<$core.List<$core.int>>(
|
||||||
..aInt64(3, _omitFieldNames ? '' : 'createdAtUnixTimestamp', protoName: 'createdAtUnixTimestamp')
|
2, _omitFieldNames ? '' : 'key', $pb.PbFieldType.OY)
|
||||||
..hasRequiredFields = false
|
..aInt64(3, _omitFieldNames ? '' : 'createdAtUnixTimestamp',
|
||||||
;
|
protoName: 'createdAtUnixTimestamp')
|
||||||
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
PushKey clone() => PushKey()..mergeFromMessage(this);
|
PushKey clone() => PushKey()..mergeFromMessage(this);
|
||||||
@$core.Deprecated(
|
@$core.Deprecated('Using this can add significant overhead to your binary. '
|
||||||
'Using this can add significant overhead to your binary. '
|
|
||||||
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
||||||
'Will be removed in next major version')
|
'Will be removed in next major version')
|
||||||
PushKey copyWith(void Function(PushKey) updates) => super.copyWith((message) => updates(message as PushKey)) as PushKey;
|
PushKey copyWith(void Function(PushKey) updates) =>
|
||||||
|
super.copyWith((message) => updates(message as PushKey)) as PushKey;
|
||||||
|
|
||||||
$pb.BuilderInfo get info_ => _i;
|
$pb.BuilderInfo get info_ => _i;
|
||||||
|
|
||||||
|
|
@ -379,13 +454,17 @@ class PushKey extends $pb.GeneratedMessage {
|
||||||
PushKey createEmptyInstance() => create();
|
PushKey createEmptyInstance() => create();
|
||||||
static $pb.PbList<PushKey> createRepeated() => $pb.PbList<PushKey>();
|
static $pb.PbList<PushKey> createRepeated() => $pb.PbList<PushKey>();
|
||||||
@$core.pragma('dart2js:noInline')
|
@$core.pragma('dart2js:noInline')
|
||||||
static PushKey getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PushKey>(create);
|
static PushKey getDefault() =>
|
||||||
|
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PushKey>(create);
|
||||||
static PushKey? _defaultInstance;
|
static PushKey? _defaultInstance;
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$fixnum.Int64 get id => $_getI64(0);
|
$fixnum.Int64 get id => $_getI64(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
set id($fixnum.Int64 v) { $_setInt64(0, v); }
|
set id($fixnum.Int64 v) {
|
||||||
|
$_setInt64(0, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
$core.bool hasId() => $_has(0);
|
$core.bool hasId() => $_has(0);
|
||||||
@$pb.TagNumber(1)
|
@$pb.TagNumber(1)
|
||||||
|
|
@ -394,7 +473,10 @@ class PushKey extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.List<$core.int> get key => $_getN(1);
|
$core.List<$core.int> get key => $_getN(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
set key($core.List<$core.int> v) { $_setBytes(1, v); }
|
set key($core.List<$core.int> v) {
|
||||||
|
$_setBytes(1, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$core.bool hasKey() => $_has(1);
|
$core.bool hasKey() => $_has(1);
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
|
|
@ -403,13 +485,16 @@ class PushKey extends $pb.GeneratedMessage {
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$fixnum.Int64 get createdAtUnixTimestamp => $_getI64(2);
|
$fixnum.Int64 get createdAtUnixTimestamp => $_getI64(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
set createdAtUnixTimestamp($fixnum.Int64 v) { $_setInt64(2, v); }
|
set createdAtUnixTimestamp($fixnum.Int64 v) {
|
||||||
|
$_setInt64(2, v);
|
||||||
|
}
|
||||||
|
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
$core.bool hasCreatedAtUnixTimestamp() => $_has(2);
|
$core.bool hasCreatedAtUnixTimestamp() => $_has(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
void clearCreatedAtUnixTimestamp() => clearField(3);
|
void clearCreatedAtUnixTimestamp() => clearField(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||||
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
const _omitMessageNames =
|
||||||
|
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||||
|
|
|
||||||
|
|
@ -14,20 +14,30 @@ import 'dart:core' as $core;
|
||||||
import 'package:protobuf/protobuf.dart' as $pb;
|
import 'package:protobuf/protobuf.dart' as $pb;
|
||||||
|
|
||||||
class PushKind extends $pb.ProtobufEnum {
|
class PushKind extends $pb.ProtobufEnum {
|
||||||
static const PushKind reaction = PushKind._(0, _omitEnumNames ? '' : 'reaction');
|
static const PushKind reaction =
|
||||||
static const PushKind response = PushKind._(1, _omitEnumNames ? '' : 'response');
|
PushKind._(0, _omitEnumNames ? '' : 'reaction');
|
||||||
|
static const PushKind response =
|
||||||
|
PushKind._(1, _omitEnumNames ? '' : 'response');
|
||||||
static const PushKind text = PushKind._(2, _omitEnumNames ? '' : 'text');
|
static const PushKind text = PushKind._(2, _omitEnumNames ? '' : 'text');
|
||||||
static const PushKind video = PushKind._(3, _omitEnumNames ? '' : 'video');
|
static const PushKind video = PushKind._(3, _omitEnumNames ? '' : 'video');
|
||||||
static const PushKind twonly = PushKind._(4, _omitEnumNames ? '' : 'twonly');
|
static const PushKind twonly = PushKind._(4, _omitEnumNames ? '' : 'twonly');
|
||||||
static const PushKind image = PushKind._(5, _omitEnumNames ? '' : 'image');
|
static const PushKind image = PushKind._(5, _omitEnumNames ? '' : 'image');
|
||||||
static const PushKind contactRequest = PushKind._(6, _omitEnumNames ? '' : 'contactRequest');
|
static const PushKind contactRequest =
|
||||||
static const PushKind acceptRequest = PushKind._(7, _omitEnumNames ? '' : 'acceptRequest');
|
PushKind._(6, _omitEnumNames ? '' : 'contactRequest');
|
||||||
static const PushKind storedMediaFile = PushKind._(8, _omitEnumNames ? '' : 'storedMediaFile');
|
static const PushKind acceptRequest =
|
||||||
static const PushKind testNotification = PushKind._(9, _omitEnumNames ? '' : 'testNotification');
|
PushKind._(7, _omitEnumNames ? '' : 'acceptRequest');
|
||||||
static const PushKind reopenedMedia = PushKind._(10, _omitEnumNames ? '' : 'reopenedMedia');
|
static const PushKind storedMediaFile =
|
||||||
static const PushKind reactionToVideo = PushKind._(11, _omitEnumNames ? '' : 'reactionToVideo');
|
PushKind._(8, _omitEnumNames ? '' : 'storedMediaFile');
|
||||||
static const PushKind reactionToText = PushKind._(12, _omitEnumNames ? '' : 'reactionToText');
|
static const PushKind testNotification =
|
||||||
static const PushKind reactionToImage = PushKind._(13, _omitEnumNames ? '' : 'reactionToImage');
|
PushKind._(9, _omitEnumNames ? '' : 'testNotification');
|
||||||
|
static const PushKind reopenedMedia =
|
||||||
|
PushKind._(10, _omitEnumNames ? '' : 'reopenedMedia');
|
||||||
|
static const PushKind reactionToVideo =
|
||||||
|
PushKind._(11, _omitEnumNames ? '' : 'reactionToVideo');
|
||||||
|
static const PushKind reactionToText =
|
||||||
|
PushKind._(12, _omitEnumNames ? '' : 'reactionToText');
|
||||||
|
static const PushKind reactionToImage =
|
||||||
|
PushKind._(13, _omitEnumNames ? '' : 'reactionToImage');
|
||||||
|
|
||||||
static const $core.List<PushKind> values = <PushKind>[
|
static const $core.List<PushKind> values = <PushKind>[
|
||||||
reaction,
|
reaction,
|
||||||
|
|
@ -46,11 +56,11 @@ class PushKind extends $pb.ProtobufEnum {
|
||||||
reactionToImage,
|
reactionToImage,
|
||||||
];
|
];
|
||||||
|
|
||||||
static final $core.Map<$core.int, PushKind> _byValue = $pb.ProtobufEnum.initByValue(values);
|
static final $core.Map<$core.int, PushKind> _byValue =
|
||||||
|
$pb.ProtobufEnum.initByValue(values);
|
||||||
static PushKind? valueOf($core.int value) => _byValue[value];
|
static PushKind? valueOf($core.int value) => _byValue[value];
|
||||||
|
|
||||||
const PushKind._($core.int v, $core.String n) : super(v, n);
|
const PushKind._($core.int v, $core.String n) : super(v, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||||
|
|
|
||||||
|
|
@ -64,8 +64,24 @@ const PushNotification$json = {
|
||||||
'1': 'PushNotification',
|
'1': 'PushNotification',
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'kind', '3': 1, '4': 1, '5': 14, '6': '.PushKind', '10': 'kind'},
|
{'1': 'kind', '3': 1, '4': 1, '5': 14, '6': '.PushKind', '10': 'kind'},
|
||||||
{'1': 'messageId', '3': 2, '4': 1, '5': 3, '9': 0, '10': 'messageId', '17': true},
|
{
|
||||||
{'1': 'reactionContent', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'reactionContent', '17': true},
|
'1': 'messageId',
|
||||||
|
'3': 2,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'messageId',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'reactionContent',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 9,
|
||||||
|
'9': 1,
|
||||||
|
'10': 'reactionContent',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': '_messageId'},
|
{'1': '_messageId'},
|
||||||
|
|
@ -98,8 +114,23 @@ const PushUser$json = {
|
||||||
{'1': 'userId', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
{'1': 'userId', '3': 1, '4': 1, '5': 3, '10': 'userId'},
|
||||||
{'1': 'displayName', '3': 2, '4': 1, '5': 9, '10': 'displayName'},
|
{'1': 'displayName', '3': 2, '4': 1, '5': 9, '10': 'displayName'},
|
||||||
{'1': 'blocked', '3': 3, '4': 1, '5': 8, '10': 'blocked'},
|
{'1': 'blocked', '3': 3, '4': 1, '5': 8, '10': 'blocked'},
|
||||||
{'1': 'lastMessageId', '3': 4, '4': 1, '5': 3, '9': 0, '10': 'lastMessageId', '17': true},
|
{
|
||||||
{'1': 'pushKeys', '3': 5, '4': 3, '5': 11, '6': '.PushKey', '10': 'pushKeys'},
|
'1': 'lastMessageId',
|
||||||
|
'3': 4,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'9': 0,
|
||||||
|
'10': 'lastMessageId',
|
||||||
|
'17': true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'1': 'pushKeys',
|
||||||
|
'3': 5,
|
||||||
|
'4': 3,
|
||||||
|
'5': 11,
|
||||||
|
'6': '.PushKey',
|
||||||
|
'10': 'pushKeys'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
'8': [
|
'8': [
|
||||||
{'1': '_lastMessageId'},
|
{'1': '_lastMessageId'},
|
||||||
|
|
@ -119,7 +150,13 @@ const PushKey$json = {
|
||||||
'2': [
|
'2': [
|
||||||
{'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'},
|
{'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'},
|
||||||
{'1': 'key', '3': 2, '4': 1, '5': 12, '10': 'key'},
|
{'1': 'key', '3': 2, '4': 1, '5': 12, '10': 'key'},
|
||||||
{'1': 'createdAtUnixTimestamp', '3': 3, '4': 1, '5': 3, '10': 'createdAtUnixTimestamp'},
|
{
|
||||||
|
'1': 'createdAtUnixTimestamp',
|
||||||
|
'3': 3,
|
||||||
|
'4': 1,
|
||||||
|
'5': 3,
|
||||||
|
'10': 'createdAtUnixTimestamp'
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -127,4 +164,3 @@ const PushKey$json = {
|
||||||
final $typed_data.Uint8List pushKeyDescriptor = $convert.base64Decode(
|
final $typed_data.Uint8List pushKeyDescriptor = $convert.base64Decode(
|
||||||
'CgdQdXNoS2V5Eg4KAmlkGAEgASgDUgJpZBIQCgNrZXkYAiABKAxSA2tleRI2ChZjcmVhdGVkQX'
|
'CgdQdXNoS2V5Eg4KAmlkGAEgASgDUgJpZBIQCgNrZXkYAiABKAxSA2tleRI2ChZjcmVhdGVkQX'
|
||||||
'RVbml4VGltZXN0YW1wGAMgASgDUhZjcmVhdGVkQXRVbml4VGltZXN0YW1w');
|
'RVbml4VGltZXN0YW1wGAMgASgDUhZjcmVhdGVkQXRVbml4VGltZXN0YW1w');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,3 @@
|
||||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||||
|
|
||||||
export 'push_notification.pb.dart';
|
export 'push_notification.pb.dart';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue