linerb 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0618b061ba9d6a1489b472de41a6fe87eebf348994b4a61c1d3750146ec5d908'
4
- data.tar.gz: 27ee35a4eab3dd005f946b464f92eca1cfcb88f1594303e74757f571719f2c92
3
+ metadata.gz: 73c66740ba6320b253a8b05f50d04b0c6bcbfe6a894c30e30ab83e3c05d9ba4b
4
+ data.tar.gz: 8c51f60638a55748dc1ded2c7c96b8a1baff350e2d498d5ef3854909bbb93d62
5
5
  SHA512:
6
- metadata.gz: cbfd5dbb5388ab8904d8101aac7d775bd3ab97ffc08c3de34359171879a85c5e27ac41460af9a9d1d0561a7f1be25057535018d71358a8241e6960cae7b70d1a
7
- data.tar.gz: 369e92f6a99d8deb7d19cbd94ea53511ed89b5bb5f5b80609751e395d15872d718d79aff1192b3f0fee5f96b15c38bcde2e0929325ec5a0457ab18ba2c05b060
6
+ metadata.gz: e7bf47b5195a9cfdc3855c49bcfa84ac6ac8550345f5fd1ddad0d6bd4c4ec07024d4b2821098ec45d0682e14c9d9d124adf0a6ae03c8070a1065f98eeb63a47d
7
+ data.tar.gz: fa19034a1dd2d5b4b14046dbb00b7a194d8191c19a62ddc988da27889f439e31a67752c94cc253fbba764a443552dde72bfec3888a141c529d18413e4976e40e
@@ -112,6 +112,10 @@ def api_inviteIntoChat(chatMid:, targetUserMids:)
112
112
  @client.inviteIntoChat(obj)
113
113
  end
114
114
 
115
+ def api_generateUserTicket(expirationTime:, maxUseCount:)
116
+ @client.generateUserTicket(expirationTime, maxUseCount)
117
+ end
118
+
115
119
  def api_reissueChatTicket(groupMid:)
116
120
  obj = ReissueChatTicketRequest.new
117
121
  obj::reqSeq = 0
@@ -16,8 +16,6 @@ begin
16
16
  def initialize(auth_token:, certificate:)
17
17
  @auth = auth_token
18
18
  @cert = certificate
19
-
20
- #authToken login is in progress
21
19
  end
22
20
 
23
21
  def client_proto(url, headers)
@@ -29,6 +27,12 @@ begin
29
27
  end
30
28
 
31
29
  def login
30
+
31
+ unless @auth.empty?
32
+ Config::HEADERS.store(:"X-Line-Access", @auth)
33
+ return
34
+ end
35
+
32
36
  protocol = client_proto(Config::LOGIN_URL, Config::HEADERS)
33
37
  login_client = SecondaryQrcodeLoginService::Client.new(protocol)
34
38
 
@@ -102,7 +106,7 @@ begin
102
106
 
103
107
  login_req = QrCodeLoginRequest.new
104
108
  login_req.authSessionId = session_id
105
- login_req.systemName = "Ruby on Rails"
109
+ login_req.systemName = "LINELITE"
106
110
  login_req.autoLoginIsRequired = FALSE
107
111
 
108
112
  res = login_client.qrCodeLogin(login_req)
@@ -7,8 +7,8 @@ module Config
7
7
  POLL_SERVICE_V4_URL = HOST_URL + "/P4"
8
8
 
9
9
  HEADERS = {
10
- "User-Agent": "Mozilla/5.0 (Windows NT 6.1; rv:49.0) Gecko/20100101 Firefox/49.0",
11
- "X-Line-Application": "DESKTOPWIN\t6.3.1.2337\tDESKTOP_WIN\t10;SECONDARY",
10
+ "User-Agent": "LLA/2.16.0 Google Pixel 5 10.0",
11
+ "X-Line-Application": "ANDROIDLITE\t2.16.0\tAndroid OS\t10.0;SECONDARY",
12
12
  "x-lal": "ja_jp",
13
13
  }
14
14
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  require 'thrift'
8
- require_relative 'takagi_chan_types'
8
+ require 'takagi_chan_types'
9
9
 
10
10
  module AccountAuthFactorEapConnectService
11
11
  class Client
@@ -201,7 +201,7 @@ module AccountAuthFactorEapConnectService
201
201
  REQUEST = 1
202
202
 
203
203
  FIELDS = {
204
- REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::OpenSessionRequest}
204
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::OpenSession_AAFECS_Request}
205
205
  }
206
206
 
207
207
  def struct_fields; FIELDS; end
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  require 'thrift'
8
- require_relative 'takagi_chan_types'
8
+ require 'takagi_chan_types'
9
9
 
10
10
  module AuthService
11
11
  class Client
@@ -134,6 +134,7 @@ module AuthService
134
134
 
135
135
  def recv_respondE2EELoginRequest()
136
136
  result = receive_message(RespondE2EELoginRequest_result)
137
+ raise result.e unless result.e.nil?
137
138
  return
138
139
  end
139
140
 
@@ -318,7 +319,11 @@ module AuthService
318
319
  def process_respondE2EELoginRequest(seqid, iprot, oprot)
319
320
  args = read_args(iprot, RespondE2EELoginRequest_args)
320
321
  result = RespondE2EELoginRequest_result.new()
321
- @handler.respondE2EELoginRequest(args.verifier, args.publicKey, args.encryptedKeyChain, args.hashKeyChain, args.errorCode)
322
+ begin
323
+ @handler.respondE2EELoginRequest(args.verifier, args.publicKey, args.encryptedKeyChain, args.hashKeyChain, args.errorCode)
324
+ rescue ::TalkException => e
325
+ result.e = e
326
+ end
322
327
  write_result(result, oprot, 'respondE2EELoginRequest', seqid)
323
328
  end
324
329
 
@@ -653,13 +658,13 @@ module AuthService
653
658
  PUBLICKEY => {:type => ::Thrift::Types::STRUCT, :name => 'publicKey', :class => ::E2EEPublicKey},
654
659
  ENCRYPTEDKEYCHAIN => {:type => ::Thrift::Types::STRING, :name => 'encryptedKeyChain'},
655
660
  HASHKEYCHAIN => {:type => ::Thrift::Types::STRING, :name => 'hashKeyChain'},
656
- ERRORCODE => {:type => ::Thrift::Types::I32, :name => 'errorCode', :enum_class => ::J0_a_e_a_b_ba}
661
+ ERRORCODE => {:type => ::Thrift::Types::I32, :name => 'errorCode', :enum_class => ::P0_a_e_a_b_ca}
657
662
  }
658
663
 
659
664
  def struct_fields; FIELDS; end
660
665
 
661
666
  def validate
662
- unless @errorCode.nil? || ::J0_a_e_a_b_ba::VALID_VALUES.include?(@errorCode)
667
+ unless @errorCode.nil? || ::P0_a_e_a_b_ca::VALID_VALUES.include?(@errorCode)
663
668
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field errorCode!')
664
669
  end
665
670
  end
@@ -669,9 +674,10 @@ module AuthService
669
674
 
670
675
  class RespondE2EELoginRequest_result
671
676
  include ::Thrift::Struct, ::Thrift::Struct_Union
677
+ E = 1
672
678
 
673
679
  FIELDS = {
674
-
680
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
675
681
  }
676
682
 
677
683
  def struct_fields; FIELDS; end
@@ -689,13 +695,13 @@ module AuthService
689
695
 
690
696
  FIELDS = {
691
697
  AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'},
692
- IDENTITYPROVIDER => {:type => ::Thrift::Types::I32, :name => 'identityProvider', :enum_class => ::J0_a_e_a_b_rc}
698
+ IDENTITYPROVIDER => {:type => ::Thrift::Types::I32, :name => 'identityProvider', :enum_class => ::P0_a_e_a_b_sc}
693
699
  }
694
700
 
695
701
  def struct_fields; FIELDS; end
696
702
 
697
703
  def validate
698
- unless @identityProvider.nil? || ::J0_a_e_a_b_rc::VALID_VALUES.include?(@identityProvider)
704
+ unless @identityProvider.nil? || ::P0_a_e_a_b_sc::VALID_VALUES.include?(@identityProvider)
699
705
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field identityProvider!')
700
706
  end
701
707
  end
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  require 'thrift'
8
- require_relative 'takagi_chan_types'
8
+ require 'takagi_chan_types'
9
9
 
10
10
  module CallService
11
11
  class Client
@@ -77,7 +77,7 @@ module CallService
77
77
 
78
78
  def deleteGroupCallUrl(request)
79
79
  send_deleteGroupCallUrl(request)
80
- return recv_deleteGroupCallUrl()
80
+ recv_deleteGroupCallUrl()
81
81
  end
82
82
 
83
83
  def send_deleteGroupCallUrl(request)
@@ -86,9 +86,7 @@ module CallService
86
86
 
87
87
  def recv_deleteGroupCallUrl()
88
88
  result = receive_message(DeleteGroupCallUrl_result)
89
- return result.success unless result.success.nil?
90
- raise result.e unless result.e.nil?
91
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'deleteGroupCallUrl failed: unknown result')
89
+ return
92
90
  end
93
91
 
94
92
  def updateGroupCallUrl(request)
@@ -107,22 +105,6 @@ module CallService
107
105
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateGroupCallUrl failed: unknown result')
108
106
  end
109
107
 
110
- def redeemPaidCallVoucher(serial, language)
111
- send_redeemPaidCallVoucher(serial, language)
112
- return recv_redeemPaidCallVoucher()
113
- end
114
-
115
- def send_redeemPaidCallVoucher(serial, language)
116
- send_message('redeemPaidCallVoucher', RedeemPaidCallVoucher_args, :serial => serial, :language => language)
117
- end
118
-
119
- def recv_redeemPaidCallVoucher()
120
- result = receive_message(RedeemPaidCallVoucher_result)
121
- return result.success unless result.success.nil?
122
- raise result.e unless result.e.nil?
123
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'redeemPaidCallVoucher failed: unknown result')
124
- end
125
-
126
108
  def getCallCreditPurchaseHistory(request)
127
109
  send_getCallCreditPurchaseHistory(request)
128
110
  return recv_getCallCreditPurchaseHistory()
@@ -139,36 +121,36 @@ module CallService
139
121
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCallCreditPurchaseHistory failed: unknown result')
140
122
  end
141
123
 
142
- def getCallCreditProducts(appStoreCode, pgCode, country, language)
143
- send_getCallCreditProducts(appStoreCode, pgCode, country, language)
144
- return recv_getCallCreditProducts()
124
+ def redeemPaidCallVoucher(serial, language)
125
+ send_redeemPaidCallVoucher(serial, language)
126
+ return recv_redeemPaidCallVoucher()
145
127
  end
146
128
 
147
- def send_getCallCreditProducts(appStoreCode, pgCode, country, language)
148
- send_message('getCallCreditProducts', GetCallCreditProducts_args, :appStoreCode => appStoreCode, :pgCode => pgCode, :country => country, :language => language)
129
+ def send_redeemPaidCallVoucher(serial, language)
130
+ send_message('redeemPaidCallVoucher', RedeemPaidCallVoucher_args, :serial => serial, :language => language)
149
131
  end
150
132
 
151
- def recv_getCallCreditProducts()
152
- result = receive_message(GetCallCreditProducts_result)
133
+ def recv_redeemPaidCallVoucher()
134
+ result = receive_message(RedeemPaidCallVoucher_result)
153
135
  return result.success unless result.success.nil?
154
136
  raise result.e unless result.e.nil?
155
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCallCreditProducts failed: unknown result')
137
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'redeemPaidCallVoucher failed: unknown result')
156
138
  end
157
139
 
158
- def getPaidCallBalanceList(language)
159
- send_getPaidCallBalanceList(language)
160
- return recv_getPaidCallBalanceList()
140
+ def getCallCreditProducts(appStoreCode, pgCode, country, language)
141
+ send_getCallCreditProducts(appStoreCode, pgCode, country, language)
142
+ return recv_getCallCreditProducts()
161
143
  end
162
144
 
163
- def send_getPaidCallBalanceList(language)
164
- send_message('getPaidCallBalanceList', GetPaidCallBalanceList_args, :language => language)
145
+ def send_getCallCreditProducts(appStoreCode, pgCode, country, language)
146
+ send_message('getCallCreditProducts', GetCallCreditProducts_args, :appStoreCode => appStoreCode, :pgCode => pgCode, :country => country, :language => language)
165
147
  end
166
148
 
167
- def recv_getPaidCallBalanceList()
168
- result = receive_message(GetPaidCallBalanceList_result)
149
+ def recv_getCallCreditProducts()
150
+ result = receive_message(GetCallCreditProducts_result)
169
151
  return result.success unless result.success.nil?
170
152
  raise result.e unless result.e.nil?
171
- raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPaidCallBalanceList failed: unknown result')
153
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCallCreditProducts failed: unknown result')
172
154
  end
173
155
 
174
156
  def getPaidCallMetadata(language)
@@ -187,6 +169,22 @@ module CallService
187
169
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPaidCallMetadata failed: unknown result')
188
170
  end
189
171
 
172
+ def getPaidCallBalanceList(language)
173
+ send_getPaidCallBalanceList(language)
174
+ return recv_getPaidCallBalanceList()
175
+ end
176
+
177
+ def send_getPaidCallBalanceList(language)
178
+ send_message('getPaidCallBalanceList', GetPaidCallBalanceList_args, :language => language)
179
+ end
180
+
181
+ def recv_getPaidCallBalanceList()
182
+ result = receive_message(GetPaidCallBalanceList_result)
183
+ return result.success unless result.success.nil?
184
+ raise result.e unless result.e.nil?
185
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPaidCallBalanceList failed: unknown result')
186
+ end
187
+
190
188
  def searchPaidCallUserRate(countryCode, language)
191
189
  send_searchPaidCallUserRate(countryCode, language)
192
190
  return recv_searchPaidCallUserRate()
@@ -271,11 +269,7 @@ module CallService
271
269
  def process_deleteGroupCallUrl(seqid, iprot, oprot)
272
270
  args = read_args(iprot, DeleteGroupCallUrl_args)
273
271
  result = DeleteGroupCallUrl_result.new()
274
- begin
275
- result.success = @handler.deleteGroupCallUrl(args.request)
276
- rescue ::TalkException => e
277
- result.e = e
278
- end
272
+ @handler.deleteGroupCallUrl(args.request)
279
273
  write_result(result, oprot, 'deleteGroupCallUrl', seqid)
280
274
  end
281
275
 
@@ -290,26 +284,26 @@ module CallService
290
284
  write_result(result, oprot, 'updateGroupCallUrl', seqid)
291
285
  end
292
286
 
293
- def process_redeemPaidCallVoucher(seqid, iprot, oprot)
294
- args = read_args(iprot, RedeemPaidCallVoucher_args)
295
- result = RedeemPaidCallVoucher_result.new()
287
+ def process_getCallCreditPurchaseHistory(seqid, iprot, oprot)
288
+ args = read_args(iprot, GetCallCreditPurchaseHistory_args)
289
+ result = GetCallCreditPurchaseHistory_result.new()
296
290
  begin
297
- result.success = @handler.redeemPaidCallVoucher(args.serial, args.language)
291
+ result.success = @handler.getCallCreditPurchaseHistory(args.request)
298
292
  rescue ::TalkException => e
299
293
  result.e = e
300
294
  end
301
- write_result(result, oprot, 'redeemPaidCallVoucher', seqid)
295
+ write_result(result, oprot, 'getCallCreditPurchaseHistory', seqid)
302
296
  end
303
297
 
304
- def process_getCallCreditPurchaseHistory(seqid, iprot, oprot)
305
- args = read_args(iprot, GetCallCreditPurchaseHistory_args)
306
- result = GetCallCreditPurchaseHistory_result.new()
298
+ def process_redeemPaidCallVoucher(seqid, iprot, oprot)
299
+ args = read_args(iprot, RedeemPaidCallVoucher_args)
300
+ result = RedeemPaidCallVoucher_result.new()
307
301
  begin
308
- result.success = @handler.getCallCreditPurchaseHistory(args.request)
302
+ result.success = @handler.redeemPaidCallVoucher(args.serial, args.language)
309
303
  rescue ::TalkException => e
310
304
  result.e = e
311
305
  end
312
- write_result(result, oprot, 'getCallCreditPurchaseHistory', seqid)
306
+ write_result(result, oprot, 'redeemPaidCallVoucher', seqid)
313
307
  end
314
308
 
315
309
  def process_getCallCreditProducts(seqid, iprot, oprot)
@@ -323,26 +317,26 @@ module CallService
323
317
  write_result(result, oprot, 'getCallCreditProducts', seqid)
324
318
  end
325
319
 
326
- def process_getPaidCallBalanceList(seqid, iprot, oprot)
327
- args = read_args(iprot, GetPaidCallBalanceList_args)
328
- result = GetPaidCallBalanceList_result.new()
320
+ def process_getPaidCallMetadata(seqid, iprot, oprot)
321
+ args = read_args(iprot, GetPaidCallMetadata_args)
322
+ result = GetPaidCallMetadata_result.new()
329
323
  begin
330
- result.success = @handler.getPaidCallBalanceList(args.language)
324
+ result.success = @handler.getPaidCallMetadata(args.language)
331
325
  rescue ::TalkException => e
332
326
  result.e = e
333
327
  end
334
- write_result(result, oprot, 'getPaidCallBalanceList', seqid)
328
+ write_result(result, oprot, 'getPaidCallMetadata', seqid)
335
329
  end
336
330
 
337
- def process_getPaidCallMetadata(seqid, iprot, oprot)
338
- args = read_args(iprot, GetPaidCallMetadata_args)
339
- result = GetPaidCallMetadata_result.new()
331
+ def process_getPaidCallBalanceList(seqid, iprot, oprot)
332
+ args = read_args(iprot, GetPaidCallBalanceList_args)
333
+ result = GetPaidCallBalanceList_result.new()
340
334
  begin
341
- result.success = @handler.getPaidCallMetadata(args.language)
335
+ result.success = @handler.getPaidCallBalanceList(args.language)
342
336
  rescue ::TalkException => e
343
337
  result.e = e
344
338
  end
345
- write_result(result, oprot, 'getPaidCallMetadata', seqid)
339
+ write_result(result, oprot, 'getPaidCallBalanceList', seqid)
346
340
  end
347
341
 
348
342
  def process_searchPaidCallUserRate(seqid, iprot, oprot)
@@ -525,12 +519,9 @@ module CallService
525
519
 
526
520
  class DeleteGroupCallUrl_result
527
521
  include ::Thrift::Struct, ::Thrift::Struct_Union
528
- SUCCESS = 0
529
- E = 1
530
522
 
531
523
  FIELDS = {
532
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::DeleteGroupCallUrlResponse},
533
- E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
524
+
534
525
  }
535
526
 
536
527
  def struct_fields; FIELDS; end
@@ -575,14 +566,12 @@ module CallService
575
566
  ::Thrift::Struct.generate_accessors self
576
567
  end
577
568
 
578
- class RedeemPaidCallVoucher_args
569
+ class GetCallCreditPurchaseHistory_args
579
570
  include ::Thrift::Struct, ::Thrift::Struct_Union
580
- SERIAL = 2
581
- LANGUAGE = 3
571
+ REQUEST = 2
582
572
 
583
573
  FIELDS = {
584
- SERIAL => {:type => ::Thrift::Types::STRING, :name => 'serial'},
585
- LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}
574
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CoinHistoryCondition}
586
575
  }
587
576
 
588
577
  def struct_fields; FIELDS; end
@@ -593,13 +582,13 @@ module CallService
593
582
  ::Thrift::Struct.generate_accessors self
594
583
  end
595
584
 
596
- class RedeemPaidCallVoucher_result
585
+ class GetCallCreditPurchaseHistory_result
597
586
  include ::Thrift::Struct, ::Thrift::Struct_Union
598
587
  SUCCESS = 0
599
588
  E = 1
600
589
 
601
590
  FIELDS = {
602
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PaidCallRedeemResult},
591
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::CoinHistoryResult},
603
592
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
604
593
  }
605
594
 
@@ -611,12 +600,14 @@ module CallService
611
600
  ::Thrift::Struct.generate_accessors self
612
601
  end
613
602
 
614
- class GetCallCreditPurchaseHistory_args
603
+ class RedeemPaidCallVoucher_args
615
604
  include ::Thrift::Struct, ::Thrift::Struct_Union
616
- REQUEST = 2
605
+ SERIAL = 2
606
+ LANGUAGE = 3
617
607
 
618
608
  FIELDS = {
619
- REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CoinHistoryCondition}
609
+ SERIAL => {:type => ::Thrift::Types::STRING, :name => 'serial'},
610
+ LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}
620
611
  }
621
612
 
622
613
  def struct_fields; FIELDS; end
@@ -627,13 +618,13 @@ module CallService
627
618
  ::Thrift::Struct.generate_accessors self
628
619
  end
629
620
 
630
- class GetCallCreditPurchaseHistory_result
621
+ class RedeemPaidCallVoucher_result
631
622
  include ::Thrift::Struct, ::Thrift::Struct_Union
632
623
  SUCCESS = 0
633
624
  E = 1
634
625
 
635
626
  FIELDS = {
636
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::CoinHistoryResult},
627
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PaidCallRedeemResult},
637
628
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
638
629
  }
639
630
 
@@ -653,8 +644,8 @@ module CallService
653
644
  LANGUAGE = 5
654
645
 
655
646
  FIELDS = {
656
- APPSTORECODE => {:type => ::Thrift::Types::I32, :name => 'appStoreCode', :enum_class => ::J0_a_e_a_b_ge},
657
- PGCODE => {:type => ::Thrift::Types::I32, :name => 'pgCode', :enum_class => ::J0_a_e_a_b_ee},
647
+ APPSTORECODE => {:type => ::Thrift::Types::I32, :name => 'appStoreCode', :enum_class => ::P0_a_e_a_b_he},
648
+ PGCODE => {:type => ::Thrift::Types::I32, :name => 'pgCode', :enum_class => ::P0_a_e_a_b_fe},
658
649
  COUNTRY => {:type => ::Thrift::Types::STRING, :name => 'country'},
659
650
  LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}
660
651
  }
@@ -662,10 +653,10 @@ module CallService
662
653
  def struct_fields; FIELDS; end
663
654
 
664
655
  def validate
665
- unless @appStoreCode.nil? || ::J0_a_e_a_b_ge::VALID_VALUES.include?(@appStoreCode)
656
+ unless @appStoreCode.nil? || ::P0_a_e_a_b_he::VALID_VALUES.include?(@appStoreCode)
666
657
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field appStoreCode!')
667
658
  end
668
- unless @pgCode.nil? || ::J0_a_e_a_b_ee::VALID_VALUES.include?(@pgCode)
659
+ unless @pgCode.nil? || ::P0_a_e_a_b_fe::VALID_VALUES.include?(@pgCode)
669
660
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field pgCode!')
670
661
  end
671
662
  end
@@ -691,7 +682,7 @@ module CallService
691
682
  ::Thrift::Struct.generate_accessors self
692
683
  end
693
684
 
694
- class GetPaidCallBalanceList_args
685
+ class GetPaidCallMetadata_args
695
686
  include ::Thrift::Struct, ::Thrift::Struct_Union
696
687
  LANGUAGE = 2
697
688
 
@@ -707,13 +698,13 @@ module CallService
707
698
  ::Thrift::Struct.generate_accessors self
708
699
  end
709
700
 
710
- class GetPaidCallBalanceList_result
701
+ class GetPaidCallMetadata_result
711
702
  include ::Thrift::Struct, ::Thrift::Struct_Union
712
703
  SUCCESS = 0
713
704
  E = 1
714
705
 
715
706
  FIELDS = {
716
- SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PaidCallBalance}},
707
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PaidCallMetadataResult},
717
708
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
718
709
  }
719
710
 
@@ -725,7 +716,7 @@ module CallService
725
716
  ::Thrift::Struct.generate_accessors self
726
717
  end
727
718
 
728
- class GetPaidCallMetadata_args
719
+ class GetPaidCallBalanceList_args
729
720
  include ::Thrift::Struct, ::Thrift::Struct_Union
730
721
  LANGUAGE = 2
731
722
 
@@ -741,13 +732,13 @@ module CallService
741
732
  ::Thrift::Struct.generate_accessors self
742
733
  end
743
734
 
744
- class GetPaidCallMetadata_result
735
+ class GetPaidCallBalanceList_result
745
736
  include ::Thrift::Struct, ::Thrift::Struct_Union
746
737
  SUCCESS = 0
747
738
  E = 1
748
739
 
749
740
  FIELDS = {
750
- SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PaidCallMetadataResult},
741
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PaidCallBalance}},
751
742
  E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
752
743
  }
753
744