-
Notifications
You must be signed in to change notification settings - Fork 21
/
oas_parameters_gen.go
628 lines (545 loc) · 17.1 KB
/
oas_parameters_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
// Code generated by ogen, DO NOT EDIT.
package tonapi
// AccountDnsBackResolveParams is parameters of accountDnsBackResolve operation.
type AccountDnsBackResolveParams struct {
// Account ID.
AccountID string
}
// AddressParseParams is parameters of addressParse operation.
type AddressParseParams struct {
// Account ID.
AccountID string
}
// BlockchainAccountInspectParams is parameters of blockchainAccountInspect operation.
type BlockchainAccountInspectParams struct {
// Account ID.
AccountID string
}
// DnsResolveParams is parameters of dnsResolve operation.
type DnsResolveParams struct {
// Domain name with .ton or .t.me.
DomainName string
}
// EmulateMessageToAccountEventParams is parameters of emulateMessageToAccountEvent operation.
type EmulateMessageToAccountEventParams struct {
AcceptLanguage OptString
// Account ID.
AccountID string
IgnoreSignatureCheck OptBool
}
// EmulateMessageToEventParams is parameters of emulateMessageToEvent operation.
type EmulateMessageToEventParams struct {
AcceptLanguage OptString
IgnoreSignatureCheck OptBool
}
// EmulateMessageToTraceParams is parameters of emulateMessageToTrace operation.
type EmulateMessageToTraceParams struct {
IgnoreSignatureCheck OptBool
}
// EmulateMessageToWalletParams is parameters of emulateMessageToWallet operation.
type EmulateMessageToWalletParams struct {
AcceptLanguage OptString
}
// ExecGetMethodForBlockchainAccountParams is parameters of execGetMethodForBlockchainAccount operation.
type ExecGetMethodForBlockchainAccountParams struct {
// Account ID.
AccountID string
// Contract get method name.
MethodName string
Args []string
}
// GaslessEstimateParams is parameters of gaslessEstimate operation.
type GaslessEstimateParams struct {
// Jetton to pay commission.
MasterID string
}
// GetAccountParams is parameters of getAccount operation.
type GetAccountParams struct {
// Account ID.
AccountID string
}
// GetAccountDiffParams is parameters of getAccountDiff operation.
type GetAccountDiffParams struct {
// Account ID.
AccountID string
StartDate int64
EndDate int64
}
// GetAccountDnsExpiringParams is parameters of getAccountDnsExpiring operation.
type GetAccountDnsExpiringParams struct {
// Account ID.
AccountID string
// Number of days before expiration.
Period OptInt
}
// GetAccountEventParams is parameters of getAccountEvent operation.
type GetAccountEventParams struct {
// Account ID.
AccountID string
// Event ID or transaction hash in hex (without 0x) or base64url format.
EventID string
AcceptLanguage OptString
// Filter actions where requested account is not real subject (for example sender or receiver jettons).
SubjectOnly OptBool
}
// GetAccountEventsParams is parameters of getAccountEvents operation.
type GetAccountEventsParams struct {
// Account ID.
AccountID string
AcceptLanguage OptString
// Show only events that are initiated by this account.
Initiator OptBool
// Filter actions where requested account is not real subject (for example sender or receiver jettons).
SubjectOnly OptBool
// Omit this parameter to get last events.
BeforeLt OptInt64
Limit int
StartDate OptInt64
EndDate OptInt64
}
// GetAccountInscriptionsParams is parameters of getAccountInscriptions operation.
type GetAccountInscriptionsParams struct {
// Account ID.
AccountID string
Limit OptInt
Offset OptInt
}
// GetAccountInscriptionsHistoryParams is parameters of getAccountInscriptionsHistory operation.
type GetAccountInscriptionsHistoryParams struct {
// Account ID.
AccountID string
AcceptLanguage OptString
// Omit this parameter to get last events.
BeforeLt OptInt64
Limit OptInt
}
// GetAccountInscriptionsHistoryByTickerParams is parameters of getAccountInscriptionsHistoryByTicker operation.
type GetAccountInscriptionsHistoryByTickerParams struct {
// Account ID.
AccountID string
AcceptLanguage OptString
Ticker string
// Omit this parameter to get last events.
BeforeLt OptInt64
Limit OptInt
}
// GetAccountJettonBalanceParams is parameters of getAccountJettonBalance operation.
type GetAccountJettonBalanceParams struct {
// Account ID.
AccountID string
// Jetton ID.
JettonID string
// Accept ton and all possible fiat currencies, separated by commas.
Currencies []string
// Comma separated list supported extensions.
SupportedExtensions []string
}
// GetAccountJettonHistoryByIDParams is parameters of getAccountJettonHistoryByID operation.
type GetAccountJettonHistoryByIDParams struct {
// Account ID.
AccountID string
// Jetton ID.
JettonID string
AcceptLanguage OptString
// Omit this parameter to get last events.
BeforeLt OptInt64
Limit int
StartDate OptInt64
EndDate OptInt64
}
// GetAccountJettonsBalancesParams is parameters of getAccountJettonsBalances operation.
type GetAccountJettonsBalancesParams struct {
// Account ID.
AccountID string
// Accept ton and all possible fiat currencies, separated by commas.
Currencies []string
// Comma separated list supported extensions.
SupportedExtensions []string
}
// GetAccountJettonsHistoryParams is parameters of getAccountJettonsHistory operation.
type GetAccountJettonsHistoryParams struct {
// Account ID.
AccountID string
AcceptLanguage OptString
// Omit this parameter to get last events.
BeforeLt OptInt64
Limit int
StartDate OptInt64
EndDate OptInt64
}
// GetAccountMultisigsParams is parameters of getAccountMultisigs operation.
type GetAccountMultisigsParams struct {
// Account ID.
AccountID string
}
// GetAccountNftHistoryParams is parameters of getAccountNftHistory operation.
type GetAccountNftHistoryParams struct {
// Account ID.
AccountID string
AcceptLanguage OptString
// Omit this parameter to get last events.
BeforeLt OptInt64
Limit int
StartDate OptInt64
EndDate OptInt64
}
// GetAccountNftItemsParams is parameters of getAccountNftItems operation.
type GetAccountNftItemsParams struct {
// Account ID.
AccountID string
// Nft collection.
Collection OptString
Limit OptInt
Offset OptInt
// Selling nft items in ton implemented usually via transfer items to special selling account. This
// option enables including items which owned not directly.
IndirectOwnership OptBool
}
// GetAccountNominatorsPoolsParams is parameters of getAccountNominatorsPools operation.
type GetAccountNominatorsPoolsParams struct {
// Account ID.
AccountID string
}
// GetAccountPublicKeyParams is parameters of getAccountPublicKey operation.
type GetAccountPublicKeyParams struct {
// Account ID.
AccountID string
}
// GetAccountSeqnoParams is parameters of getAccountSeqno operation.
type GetAccountSeqnoParams struct {
// Account ID.
AccountID string
}
// GetAccountSubscriptionsParams is parameters of getAccountSubscriptions operation.
type GetAccountSubscriptionsParams struct {
// Account ID.
AccountID string
}
// GetAccountTracesParams is parameters of getAccountTraces operation.
type GetAccountTracesParams struct {
// Account ID.
AccountID string
// Omit this parameter to get last events.
BeforeLt OptInt64
Limit OptInt
}
// GetAccountsParams is parameters of getAccounts operation.
type GetAccountsParams struct {
Currency OptString
}
// GetAllAuctionsParams is parameters of getAllAuctions operation.
type GetAllAuctionsParams struct {
// Domain filter for current auctions "ton" or "t.me".
Tld OptString
}
// GetAllRawShardsInfoParams is parameters of getAllRawShardsInfo operation.
type GetAllRawShardsInfoParams struct {
// Block ID: (workchain,shard,seqno,root_hash,file_hash).
BlockID string
}
// GetBlockchainAccountTransactionsParams is parameters of getBlockchainAccountTransactions operation.
type GetBlockchainAccountTransactionsParams struct {
// Account ID.
AccountID string
// Omit this parameter to get last transactions.
AfterLt OptInt64
// Omit this parameter to get last transactions.
BeforeLt OptInt64
Limit OptInt32
SortOrder OptGetBlockchainAccountTransactionsSortOrder
}
// GetBlockchainBlockParams is parameters of getBlockchainBlock operation.
type GetBlockchainBlockParams struct {
// Block ID.
BlockID string
}
// GetBlockchainBlockTransactionsParams is parameters of getBlockchainBlockTransactions operation.
type GetBlockchainBlockTransactionsParams struct {
// Block ID.
BlockID string
}
// GetBlockchainConfigFromBlockParams is parameters of getBlockchainConfigFromBlock operation.
type GetBlockchainConfigFromBlockParams struct {
// Masterchain block seqno.
MasterchainSeqno int32
}
// GetBlockchainMasterchainBlocksParams is parameters of getBlockchainMasterchainBlocks operation.
type GetBlockchainMasterchainBlocksParams struct {
// Masterchain block seqno.
MasterchainSeqno int32
}
// GetBlockchainMasterchainShardsParams is parameters of getBlockchainMasterchainShards operation.
type GetBlockchainMasterchainShardsParams struct {
// Masterchain block seqno.
MasterchainSeqno int32
}
// GetBlockchainMasterchainTransactionsParams is parameters of getBlockchainMasterchainTransactions operation.
type GetBlockchainMasterchainTransactionsParams struct {
// Masterchain block seqno.
MasterchainSeqno int32
}
// GetBlockchainRawAccountParams is parameters of getBlockchainRawAccount operation.
type GetBlockchainRawAccountParams struct {
// Account ID.
AccountID string
}
// GetBlockchainTransactionParams is parameters of getBlockchainTransaction operation.
type GetBlockchainTransactionParams struct {
// Transaction ID.
TransactionID string
}
// GetBlockchainTransactionByMessageHashParams is parameters of getBlockchainTransactionByMessageHash operation.
type GetBlockchainTransactionByMessageHashParams struct {
// Message ID.
MsgID string
}
// GetChartRatesParams is parameters of getChartRates operation.
type GetChartRatesParams struct {
// Accept jetton master address.
Token string
Currency OptString
StartDate OptInt64
EndDate OptInt64
PointsCount OptInt
}
// GetDnsInfoParams is parameters of getDnsInfo operation.
type GetDnsInfoParams struct {
// Domain name with .ton or .t.me.
DomainName string
}
// GetDomainBidsParams is parameters of getDomainBids operation.
type GetDomainBidsParams struct {
// Domain name with .ton or .t.me.
DomainName string
}
// GetEventParams is parameters of getEvent operation.
type GetEventParams struct {
// Event ID or transaction hash in hex (without 0x) or base64url format.
EventID string
AcceptLanguage OptString
}
// GetInscriptionOpTemplateParams is parameters of getInscriptionOpTemplate operation.
type GetInscriptionOpTemplateParams struct {
Type GetInscriptionOpTemplateType
Destination OptString
Comment OptString
Operation GetInscriptionOpTemplateOperation
Amount string
Ticker string
Who string
}
// GetItemsFromCollectionParams is parameters of getItemsFromCollection operation.
type GetItemsFromCollectionParams struct {
// Account ID.
AccountID string
Limit OptInt
Offset OptInt
}
// GetJettonHoldersParams is parameters of getJettonHolders operation.
type GetJettonHoldersParams struct {
// Account ID.
AccountID string
Limit OptInt
Offset OptInt
}
// GetJettonInfoParams is parameters of getJettonInfo operation.
type GetJettonInfoParams struct {
// Account ID.
AccountID string
}
// GetJettonTransferPayloadParams is parameters of getJettonTransferPayload operation.
type GetJettonTransferPayloadParams struct {
// Account ID.
AccountID string
// Jetton ID.
JettonID string
}
// GetJettonsParams is parameters of getJettons operation.
type GetJettonsParams struct {
Limit OptInt32
Offset OptInt32
}
// GetJettonsEventsParams is parameters of getJettonsEvents operation.
type GetJettonsEventsParams struct {
// Event ID or transaction hash in hex (without 0x) or base64url format.
EventID string
AcceptLanguage OptString
}
// GetMultisigAccountParams is parameters of getMultisigAccount operation.
type GetMultisigAccountParams struct {
// Account ID.
AccountID string
}
// GetNftCollectionParams is parameters of getNftCollection operation.
type GetNftCollectionParams struct {
// Account ID.
AccountID string
}
// GetNftCollectionsParams is parameters of getNftCollections operation.
type GetNftCollectionsParams struct {
Limit OptInt32
Offset OptInt32
}
// GetNftHistoryByIDParams is parameters of getNftHistoryByID operation.
type GetNftHistoryByIDParams struct {
// Account ID.
AccountID string
AcceptLanguage OptString
// Omit this parameter to get last events.
BeforeLt OptInt64
Limit int
StartDate OptInt64
EndDate OptInt64
}
// GetNftItemByAddressParams is parameters of getNftItemByAddress operation.
type GetNftItemByAddressParams struct {
// Account ID.
AccountID string
}
// GetRatesParams is parameters of getRates operation.
type GetRatesParams struct {
// Accept ton and jetton master addresses, separated by commas.
Tokens []string
// Accept ton and all possible fiat currencies, separated by commas.
Currencies []string
}
// GetRawAccountStateParams is parameters of getRawAccountState operation.
type GetRawAccountStateParams struct {
// Account ID.
AccountID string
// Target block: (workchain,shard,seqno,root_hash,file_hash).
TargetBlock OptString
}
// GetRawBlockProofParams is parameters of getRawBlockProof operation.
type GetRawBlockProofParams struct {
// Known block: (workchain,shard,seqno,root_hash,file_hash).
KnownBlock string
// Target block: (workchain,shard,seqno,root_hash,file_hash).
TargetBlock OptString
// Mode.
Mode int32
}
// GetRawBlockchainBlockParams is parameters of getRawBlockchainBlock operation.
type GetRawBlockchainBlockParams struct {
// Block ID: (workchain,shard,seqno,root_hash,file_hash).
BlockID string
}
// GetRawBlockchainBlockHeaderParams is parameters of getRawBlockchainBlockHeader operation.
type GetRawBlockchainBlockHeaderParams struct {
// Block ID: (workchain,shard,seqno,root_hash,file_hash).
BlockID string
// Mode.
Mode int32
}
// GetRawBlockchainBlockStateParams is parameters of getRawBlockchainBlockState operation.
type GetRawBlockchainBlockStateParams struct {
// Block ID: (workchain,shard,seqno,root_hash,file_hash).
BlockID string
}
// GetRawBlockchainConfigFromBlockParams is parameters of getRawBlockchainConfigFromBlock operation.
type GetRawBlockchainConfigFromBlockParams struct {
// Masterchain block seqno.
MasterchainSeqno int32
}
// GetRawConfigParams is parameters of getRawConfig operation.
type GetRawConfigParams struct {
// Block ID: (workchain,shard,seqno,root_hash,file_hash).
BlockID string
// Mode.
Mode int32
}
// GetRawListBlockTransactionsParams is parameters of getRawListBlockTransactions operation.
type GetRawListBlockTransactionsParams struct {
// Block ID: (workchain,shard,seqno,root_hash,file_hash).
BlockID string
// Mode.
Mode int32
// Count.
Count int32
// Account ID.
AccountID OptString
// Lt.
Lt OptInt64
}
// GetRawMasterchainInfoExtParams is parameters of getRawMasterchainInfoExt operation.
type GetRawMasterchainInfoExtParams struct {
// Mode.
Mode int32
}
// GetRawShardBlockProofParams is parameters of getRawShardBlockProof operation.
type GetRawShardBlockProofParams struct {
// Block ID: (workchain,shard,seqno,root_hash,file_hash).
BlockID string
}
// GetRawShardInfoParams is parameters of getRawShardInfo operation.
type GetRawShardInfoParams struct {
// Block ID: (workchain,shard,seqno,root_hash,file_hash).
BlockID string
// Workchain.
Workchain int32
// Shard.
Shard int64
// Exact.
Exact bool
}
// GetRawTransactionsParams is parameters of getRawTransactions operation.
type GetRawTransactionsParams struct {
// Account ID.
AccountID string
// Count.
Count int32
// Lt.
Lt int64
// Hash.
Hash string
}
// GetReducedBlockchainBlocksParams is parameters of getReducedBlockchainBlocks operation.
type GetReducedBlockchainBlocksParams struct {
From int64
To int64
}
// GetStakingPoolHistoryParams is parameters of getStakingPoolHistory operation.
type GetStakingPoolHistoryParams struct {
// Account ID.
AccountID string
}
// GetStakingPoolInfoParams is parameters of getStakingPoolInfo operation.
type GetStakingPoolInfoParams struct {
// Account ID.
AccountID string
AcceptLanguage OptString
}
// GetStakingPoolsParams is parameters of getStakingPools operation.
type GetStakingPoolsParams struct {
// Account ID.
AvailableFor OptString
// Return also pools not from white list - just compatible by interfaces (maybe dangerous!).
IncludeUnverified OptBool
AcceptLanguage OptString
}
// GetTraceParams is parameters of getTrace operation.
type GetTraceParams struct {
// Trace ID or transaction hash in hex (without 0x) or base64url format.
TraceID string
}
// GetWalletBackupParams is parameters of getWalletBackup operation.
type GetWalletBackupParams struct {
XTonConnectAuth string
}
// GetWalletsByPublicKeyParams is parameters of getWalletsByPublicKey operation.
type GetWalletsByPublicKeyParams struct {
PublicKey string
}
// ReindexAccountParams is parameters of reindexAccount operation.
type ReindexAccountParams struct {
// Account ID.
AccountID string
}
// SearchAccountsParams is parameters of searchAccounts operation.
type SearchAccountsParams struct {
Name string
}
// SetWalletBackupParams is parameters of setWalletBackup operation.
type SetWalletBackupParams struct {
XTonConnectAuth string
}