@orbis-systems/orbis-api-clients 0.7.11 → 0.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aesmidas/index.d.ts +103 -103
- package/dist/aesmidas/index.d.ts.map +1 -1
- package/dist/aesmidas/index.esm.js +1 -1
- package/dist/aesmidas/index.esm.js.map +1 -1
- package/dist/aesmidas/index.js +1 -1
- package/dist/aesmidas/index.js.map +1 -1
- package/dist/bridgewise/index.d.ts +497 -497
- package/dist/bridgewise/index.d.ts.map +1 -1
- package/dist/bridgewise/index.esm.js +1 -1
- package/dist/bridgewise/index.esm.js.map +1 -1
- package/dist/bridgewise/index.js +1 -1
- package/dist/bridgewise/index.js.map +1 -1
- package/dist/insight/index.d.ts +659 -484
- package/dist/insight/index.d.ts.map +1 -1
- package/dist/insight/index.esm.js +1 -1
- package/dist/insight/index.esm.js.map +1 -1
- package/dist/insight/index.js +1 -1
- package/dist/insight/index.js.map +1 -1
- package/dist/middleware/index.d.ts +30 -30
- package/dist/middleware/index.d.ts.map +1 -1
- package/dist/middleware/index.esm.js +1 -1
- package/dist/middleware/index.esm.js.map +1 -1
- package/dist/middleware/index.js +1 -1
- package/dist/middleware/index.js.map +1 -1
- package/dist/orbis/index.d.ts +1344 -1344
- package/dist/orbis/index.d.ts.map +1 -1
- package/dist/orbis/index.esm.js +1 -1
- package/dist/orbis/index.esm.js.map +1 -1
- package/dist/orbis/index.js +1 -1
- package/dist/orbis/index.js.map +1 -1
- package/dist/uma/index.d.ts +288 -288
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +1 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +1 -1
- package/dist/uma/index.js.map +1 -1
- package/dist/zerohash/index.d.ts +406 -406
- package/dist/zerohash/index.d.ts.map +1 -1
- package/dist/zerohash/index.esm.js +1 -1
- package/dist/zerohash/index.esm.js.map +1 -1
- package/dist/zerohash/index.js +1 -1
- package/dist/zerohash/index.js.map +1 -1
- package/package.json +1 -1
package/dist/zerohash/index.d.ts
CHANGED
|
@@ -77,250 +77,6 @@ declare class JwtClient<HandleError extends boolean = boolean, AuthData extends
|
|
|
77
77
|
setRenewTokenCallback(renewTokenCallback: () => Promise<AuthData>): void;
|
|
78
78
|
protected prepareAuthRequestConfig(): Promise<Pick<RequestConfig<any>, 'headers' | 'data' | 'params'>>;
|
|
79
79
|
}
|
|
80
|
-
declare class TransfersRelationships<HandleError extends boolean = boolean> {
|
|
81
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
82
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
83
|
-
/**
|
|
84
|
-
* @tags Transfers Relationships
|
|
85
|
-
* @name List
|
|
86
|
-
* @summary List
|
|
87
|
-
* @request GET:/transfer/relationship/list/{account}
|
|
88
|
-
* @secure
|
|
89
|
-
*/
|
|
90
|
-
list(account: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
91
|
-
/**
|
|
92
|
-
* @tags Transfers Relationships
|
|
93
|
-
* @name GetInfo
|
|
94
|
-
* @summary Get Info
|
|
95
|
-
* @request GET:/transfer/relationship/get
|
|
96
|
-
* @secure
|
|
97
|
-
*/
|
|
98
|
-
getInfo(query?: {
|
|
99
|
-
/**
|
|
100
|
-
* Account number
|
|
101
|
-
* @example "ABC123"
|
|
102
|
-
*/
|
|
103
|
-
account?: any;
|
|
104
|
-
/**
|
|
105
|
-
* Desired entry ID
|
|
106
|
-
* @example "123"
|
|
107
|
-
*/
|
|
108
|
-
entryId?: any;
|
|
109
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
110
|
-
/**
|
|
111
|
-
* @tags Transfers Relationships
|
|
112
|
-
* @name PaymentMethods
|
|
113
|
-
* @summary Payment methods
|
|
114
|
-
* @request GET:/transfer/bank/paymentMethods
|
|
115
|
-
* @secure
|
|
116
|
-
*/
|
|
117
|
-
paymentMethods(query?: {
|
|
118
|
-
/** @example "IND" */
|
|
119
|
-
country?: any;
|
|
120
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
121
|
-
/**
|
|
122
|
-
* @tags Transfers Relationships
|
|
123
|
-
* @name PaymentMethodsViaAddress
|
|
124
|
-
* @summary Payment methods (via address)
|
|
125
|
-
* @request POST:/transfer/bank/paymentMethods
|
|
126
|
-
* @secure
|
|
127
|
-
*/
|
|
128
|
-
paymentMethodsViaAddress(data: {
|
|
129
|
-
/** @example "Mumbai" */
|
|
130
|
-
city?: any;
|
|
131
|
-
/** @example "IND" */
|
|
132
|
-
country?: any;
|
|
133
|
-
/** @example "400018" */
|
|
134
|
-
postalCode?: any;
|
|
135
|
-
/** @example "Maharashtra" */
|
|
136
|
-
stateProvince?: any;
|
|
137
|
-
/** @example ["716 /a, Poonam Chem, Dr.annie Besant Road, Opp.atre Mall, Worli"] */
|
|
138
|
-
streetAddress?: any;
|
|
139
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
140
|
-
/**
|
|
141
|
-
* @tags Transfers Relationships
|
|
142
|
-
* @name BankCodes
|
|
143
|
-
* @summary Bank Codes
|
|
144
|
-
* @request GET:/transfer/bank/bankCodes
|
|
145
|
-
* @secure
|
|
146
|
-
*/
|
|
147
|
-
bankCodes(query?: {
|
|
148
|
-
/** @example "IND|MEX" */
|
|
149
|
-
country?: any;
|
|
150
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
151
|
-
/**
|
|
152
|
-
* @tags Transfers Relationships
|
|
153
|
-
* @name BankCodesViaAddress
|
|
154
|
-
* @summary Bank Codes (via address)
|
|
155
|
-
* @request POST:/transfer/bank/bankCodes
|
|
156
|
-
* @secure
|
|
157
|
-
*/
|
|
158
|
-
bankCodesViaAddress(data: {
|
|
159
|
-
/** @example "Mumbai" */
|
|
160
|
-
city?: any;
|
|
161
|
-
/** @example "IND" */
|
|
162
|
-
country?: any;
|
|
163
|
-
/** @example "400018" */
|
|
164
|
-
postalCode?: any;
|
|
165
|
-
/** @example "Maharashtra" */
|
|
166
|
-
stateProvince?: any;
|
|
167
|
-
/** @example ["716 /a, Poonam Chem, Dr.annie Besant Road, Opp.atre Mall, Worli"] */
|
|
168
|
-
streetAddress?: any;
|
|
169
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
170
|
-
/**
|
|
171
|
-
* @tags Transfers Relationships
|
|
172
|
-
* @name Create
|
|
173
|
-
* @summary Create
|
|
174
|
-
* @request POST:/transfer/relationship/create
|
|
175
|
-
* @secure
|
|
176
|
-
*/
|
|
177
|
-
create(data: {
|
|
178
|
-
/** @example "5VA0XXXX" */
|
|
179
|
-
account?: any;
|
|
180
|
-
/** @example "111111" */
|
|
181
|
-
bankAccount?: any;
|
|
182
|
-
/** @example "John Doe" */
|
|
183
|
-
bankAccountOwnerName?: any;
|
|
184
|
-
/** @example "CHECKING" */
|
|
185
|
-
bankAccountType?: any;
|
|
186
|
-
/** @example "010101010" */
|
|
187
|
-
bankRoutingNumber?: any;
|
|
188
|
-
/** @example "Test" */
|
|
189
|
-
nickname?: any;
|
|
190
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
191
|
-
/**
|
|
192
|
-
* @tags Transfers Relationships
|
|
193
|
-
* @name WireInformation
|
|
194
|
-
* @summary Wire information
|
|
195
|
-
* @request POST:/transfer/relationship/wire/create
|
|
196
|
-
* @secure
|
|
197
|
-
*/
|
|
198
|
-
wireInformation(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
199
|
-
/**
|
|
200
|
-
* @tags Transfers Relationships
|
|
201
|
-
* @name BankingRelationship
|
|
202
|
-
* @summary Banking relationship
|
|
203
|
-
* @request POST:/transfer/relationship/bank/create
|
|
204
|
-
* @secure
|
|
205
|
-
*/
|
|
206
|
-
bankingRelationship(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
207
|
-
/**
|
|
208
|
-
* @tags Transfers Relationships
|
|
209
|
-
* @name Approve
|
|
210
|
-
* @summary Approve
|
|
211
|
-
* @request POST:/transfer/relationship/approve
|
|
212
|
-
* @secure
|
|
213
|
-
*/
|
|
214
|
-
approve(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
215
|
-
/**
|
|
216
|
-
* @tags Transfers Relationships
|
|
217
|
-
* @name Cancel
|
|
218
|
-
* @summary Cancel
|
|
219
|
-
* @request POST:/transfer/relationship/cancel/{entryId}
|
|
220
|
-
* @secure
|
|
221
|
-
*/
|
|
222
|
-
cancel(entryId: string, data: {
|
|
223
|
-
/** @example "2QC05208" */
|
|
224
|
-
account?: any;
|
|
225
|
-
/** @example "USER CANCELED" */
|
|
226
|
-
reason?: any;
|
|
227
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
228
|
-
/**
|
|
229
|
-
* @tags Transfers Relationships
|
|
230
|
-
* @name Rename
|
|
231
|
-
* @summary Rename
|
|
232
|
-
* @request POST:/transfer/relationship/rename/{entryId}
|
|
233
|
-
* @secure
|
|
234
|
-
*/
|
|
235
|
-
rename(entryId: string, data: {
|
|
236
|
-
/** @example "Citi Checking 2" */
|
|
237
|
-
nickname?: any;
|
|
238
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
239
|
-
/**
|
|
240
|
-
* @tags Transfers Relationships
|
|
241
|
-
* @name AdvisorPolicyUpdate
|
|
242
|
-
* @summary Advisor Policy Update
|
|
243
|
-
* @request POST:/transfer/relationship/policy
|
|
244
|
-
* @secure
|
|
245
|
-
*/
|
|
246
|
-
advisorPolicyUpdate(data: {
|
|
247
|
-
account?: {
|
|
248
|
-
/** @example 0 */
|
|
249
|
-
accountId?: number;
|
|
250
|
-
/** @example "{optional}" */
|
|
251
|
-
accountNumber?: string;
|
|
252
|
-
};
|
|
253
|
-
/** @example 123 */
|
|
254
|
-
entryId?: any;
|
|
255
|
-
/** @example true */
|
|
256
|
-
esigned?: any;
|
|
257
|
-
/** @example "AllowWithdrawal|Disallow" */
|
|
258
|
-
policy?: any;
|
|
259
|
-
/** @example "" */
|
|
260
|
-
remoteAddr?: any;
|
|
261
|
-
/** @example "" */
|
|
262
|
-
remoteDevice?: any;
|
|
263
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
264
|
-
/**
|
|
265
|
-
* @tags Transfers Relationships
|
|
266
|
-
* @name DocumentUpload
|
|
267
|
-
* @summary Document upload
|
|
268
|
-
* @request POST:/transfer/relationship/wire/upload
|
|
269
|
-
* @secure
|
|
270
|
-
*/
|
|
271
|
-
documentUpload(data: {
|
|
272
|
-
/**
|
|
273
|
-
* Wire relationship ID
|
|
274
|
-
* @example ""
|
|
275
|
-
*/
|
|
276
|
-
entryId?: string;
|
|
277
|
-
/**
|
|
278
|
-
* Document file
|
|
279
|
-
* @format binary
|
|
280
|
-
*/
|
|
281
|
-
file?: File;
|
|
282
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
283
|
-
/**
|
|
284
|
-
* @tags Transfers Relationships
|
|
285
|
-
* @name MfaReInitiation
|
|
286
|
-
* @summary 2FA re-initiation
|
|
287
|
-
* @request POST:/transfer/relationship/wire/2fa/reinitiate
|
|
288
|
-
* @secure
|
|
289
|
-
*/
|
|
290
|
-
mfaReInitiation(data: {
|
|
291
|
-
/** @example 123 */
|
|
292
|
-
entryId?: any;
|
|
293
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
294
|
-
/**
|
|
295
|
-
* @tags Transfers Relationships
|
|
296
|
-
* @name SupplementWire
|
|
297
|
-
* @summary Supplement wire
|
|
298
|
-
* @request POST:/transfer/relationship/wire/supplement
|
|
299
|
-
* @secure
|
|
300
|
-
*/
|
|
301
|
-
supplementWire(data: {
|
|
302
|
-
/** @example 123456 */
|
|
303
|
-
entryId?: any;
|
|
304
|
-
recipientBank?: {
|
|
305
|
-
/** @example "Capital City" */
|
|
306
|
-
city?: string;
|
|
307
|
-
identifier?: {
|
|
308
|
-
/** @example "AAA-123-2587964" */
|
|
309
|
-
id?: string;
|
|
310
|
-
/** @example "BIC" */
|
|
311
|
-
type?: string;
|
|
312
|
-
};
|
|
313
|
-
/** @example "ABC 123" */
|
|
314
|
-
postalCode?: string;
|
|
315
|
-
/** @example "NJ" */
|
|
316
|
-
stateProvince?: string;
|
|
317
|
-
};
|
|
318
|
-
userAccount?: {
|
|
319
|
-
/** @example "AB12345" */
|
|
320
|
-
accountNumber?: string;
|
|
321
|
-
};
|
|
322
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
323
|
-
}
|
|
324
80
|
declare class TransfersInstantAccountVerification<HandleError extends boolean = boolean> {
|
|
325
81
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
326
82
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -628,65 +384,14 @@ declare class TransfersWires<HandleError extends boolean = boolean> {
|
|
|
628
384
|
remoteDevice?: any;
|
|
629
385
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
630
386
|
}
|
|
631
|
-
declare class
|
|
387
|
+
declare class TransfersJournals<HandleError extends boolean = boolean> {
|
|
632
388
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
633
389
|
constructor(apiClient: JwtClient<HandleError>);
|
|
634
390
|
/**
|
|
635
|
-
* @tags Transfers
|
|
636
|
-
* @name
|
|
637
|
-
* @summary
|
|
638
|
-
* @request POST:/transfer/
|
|
639
|
-
* @secure
|
|
640
|
-
*/
|
|
641
|
-
transferRequest(data: {
|
|
642
|
-
deliverFrom?: {
|
|
643
|
-
/** @example 124 */
|
|
644
|
-
accountId?: number;
|
|
645
|
-
/** @example "ABC123456" */
|
|
646
|
-
accountNumber?: string;
|
|
647
|
-
};
|
|
648
|
-
deliverTo?: {
|
|
649
|
-
/** @example 456 */
|
|
650
|
-
accountId?: number;
|
|
651
|
-
/** @example "DEF123456" */
|
|
652
|
-
accountNumber?: string;
|
|
653
|
-
};
|
|
654
|
-
/** @example "NoPurpose|Gift" */
|
|
655
|
-
purpose?: any;
|
|
656
|
-
/** @example 1000 */
|
|
657
|
-
quantity?: any;
|
|
658
|
-
quote?: {
|
|
659
|
-
/** @example "IBM" */
|
|
660
|
-
symbol?: string;
|
|
661
|
-
};
|
|
662
|
-
/** @example "" */
|
|
663
|
-
reason?: any;
|
|
664
|
-
/** @example "0.0.0.0" */
|
|
665
|
-
remoteAddr?: any;
|
|
666
|
-
/** @example "Ultra fast proxy" */
|
|
667
|
-
remoteDevice?: any;
|
|
668
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
669
|
-
}
|
|
670
|
-
declare class TransfersBank<HandleError extends boolean = boolean> {
|
|
671
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
672
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
673
|
-
/**
|
|
674
|
-
* @tags Transfers Bank
|
|
675
|
-
* @name FundTransfer
|
|
676
|
-
* @summary Fund transfer
|
|
677
|
-
* @request POST:/transfer/bank/{direction}
|
|
678
|
-
* @secure
|
|
679
|
-
*/
|
|
680
|
-
fundTransfer(direction: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
681
|
-
}
|
|
682
|
-
declare class TransfersJournals<HandleError extends boolean = boolean> {
|
|
683
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
684
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
685
|
-
/**
|
|
686
|
-
* @tags Transfers Journals
|
|
687
|
-
* @name JournalRequest
|
|
688
|
-
* @summary Journal request
|
|
689
|
-
* @request POST:/transfer/journal/request
|
|
391
|
+
* @tags Transfers Journals
|
|
392
|
+
* @name JournalRequest
|
|
393
|
+
* @summary Journal request
|
|
394
|
+
* @request POST:/transfer/journal/request
|
|
690
395
|
* @secure
|
|
691
396
|
*/
|
|
692
397
|
journalRequest(data: {
|
|
@@ -749,6 +454,57 @@ declare class TransfersJournals<HandleError extends boolean = boolean> {
|
|
|
749
454
|
transferId?: any;
|
|
750
455
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
751
456
|
}
|
|
457
|
+
declare class TransfersPositions<HandleError extends boolean = boolean> {
|
|
458
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
459
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
460
|
+
/**
|
|
461
|
+
* @tags Transfers Positions
|
|
462
|
+
* @name TransferRequest
|
|
463
|
+
* @summary Transfer request
|
|
464
|
+
* @request POST:/transfer/position/request
|
|
465
|
+
* @secure
|
|
466
|
+
*/
|
|
467
|
+
transferRequest(data: {
|
|
468
|
+
deliverFrom?: {
|
|
469
|
+
/** @example 124 */
|
|
470
|
+
accountId?: number;
|
|
471
|
+
/** @example "ABC123456" */
|
|
472
|
+
accountNumber?: string;
|
|
473
|
+
};
|
|
474
|
+
deliverTo?: {
|
|
475
|
+
/** @example 456 */
|
|
476
|
+
accountId?: number;
|
|
477
|
+
/** @example "DEF123456" */
|
|
478
|
+
accountNumber?: string;
|
|
479
|
+
};
|
|
480
|
+
/** @example "NoPurpose|Gift" */
|
|
481
|
+
purpose?: any;
|
|
482
|
+
/** @example 1000 */
|
|
483
|
+
quantity?: any;
|
|
484
|
+
quote?: {
|
|
485
|
+
/** @example "IBM" */
|
|
486
|
+
symbol?: string;
|
|
487
|
+
};
|
|
488
|
+
/** @example "" */
|
|
489
|
+
reason?: any;
|
|
490
|
+
/** @example "0.0.0.0" */
|
|
491
|
+
remoteAddr?: any;
|
|
492
|
+
/** @example "Ultra fast proxy" */
|
|
493
|
+
remoteDevice?: any;
|
|
494
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
495
|
+
}
|
|
496
|
+
declare class TransfersBank<HandleError extends boolean = boolean> {
|
|
497
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
498
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
499
|
+
/**
|
|
500
|
+
* @tags Transfers Bank
|
|
501
|
+
* @name FundTransfer
|
|
502
|
+
* @summary Fund transfer
|
|
503
|
+
* @request POST:/transfer/bank/{direction}
|
|
504
|
+
* @secure
|
|
505
|
+
*/
|
|
506
|
+
fundTransfer(direction: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
507
|
+
}
|
|
752
508
|
declare class TransfersInstantCashTransfers<HandleError extends boolean = boolean> {
|
|
753
509
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
754
510
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -829,30 +585,274 @@ declare class TransfersInstantCashTransfers<HandleError extends boolean = boolea
|
|
|
829
585
|
currency?: any;
|
|
830
586
|
/** @example "1.1.1.1" */
|
|
831
587
|
remoteAddr?: any;
|
|
832
|
-
/** @example "Droid Phone" */
|
|
588
|
+
/** @example "Droid Phone" */
|
|
589
|
+
remoteDevice?: any;
|
|
590
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
591
|
+
/**
|
|
592
|
+
* @tags Transfers Instant Cash Transfers
|
|
593
|
+
* @name ObtainTheReport
|
|
594
|
+
* @summary Obtain the report
|
|
595
|
+
* @request POST:/transfer/reports/obtain
|
|
596
|
+
* @secure
|
|
597
|
+
*/
|
|
598
|
+
obtainTheReport(data: {
|
|
599
|
+
/** @example "MM/DD/YYYY HH:MM:SS ZZZ" */
|
|
600
|
+
date?: any;
|
|
601
|
+
/** @example "RETAIL_BANKING" */
|
|
602
|
+
reportType?: any;
|
|
603
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
604
|
+
/**
|
|
605
|
+
* @tags Transfers Instant Cash Transfers
|
|
606
|
+
* @name ListReports
|
|
607
|
+
* @summary List reports
|
|
608
|
+
* @request GET:/transfer/reports
|
|
609
|
+
* @secure
|
|
610
|
+
*/
|
|
611
|
+
listReports(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
612
|
+
}
|
|
613
|
+
declare class TransfersRelationships<HandleError extends boolean = boolean> {
|
|
614
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
615
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
616
|
+
/**
|
|
617
|
+
* @tags Transfers Relationships
|
|
618
|
+
* @name List
|
|
619
|
+
* @summary List
|
|
620
|
+
* @request GET:/transfer/relationship/list/{account}
|
|
621
|
+
* @secure
|
|
622
|
+
*/
|
|
623
|
+
list(account: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
624
|
+
/**
|
|
625
|
+
* @tags Transfers Relationships
|
|
626
|
+
* @name GetInfo
|
|
627
|
+
* @summary Get Info
|
|
628
|
+
* @request GET:/transfer/relationship/get
|
|
629
|
+
* @secure
|
|
630
|
+
*/
|
|
631
|
+
getInfo(query?: {
|
|
632
|
+
/**
|
|
633
|
+
* Account number
|
|
634
|
+
* @example "ABC123"
|
|
635
|
+
*/
|
|
636
|
+
account?: any;
|
|
637
|
+
/**
|
|
638
|
+
* Desired entry ID
|
|
639
|
+
* @example "123"
|
|
640
|
+
*/
|
|
641
|
+
entryId?: any;
|
|
642
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
643
|
+
/**
|
|
644
|
+
* @tags Transfers Relationships
|
|
645
|
+
* @name PaymentMethods
|
|
646
|
+
* @summary Payment methods
|
|
647
|
+
* @request GET:/transfer/bank/paymentMethods
|
|
648
|
+
* @secure
|
|
649
|
+
*/
|
|
650
|
+
paymentMethods(query?: {
|
|
651
|
+
/** @example "IND" */
|
|
652
|
+
country?: any;
|
|
653
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
654
|
+
/**
|
|
655
|
+
* @tags Transfers Relationships
|
|
656
|
+
* @name PaymentMethodsViaAddress
|
|
657
|
+
* @summary Payment methods (via address)
|
|
658
|
+
* @request POST:/transfer/bank/paymentMethods
|
|
659
|
+
* @secure
|
|
660
|
+
*/
|
|
661
|
+
paymentMethodsViaAddress(data: {
|
|
662
|
+
/** @example "Mumbai" */
|
|
663
|
+
city?: any;
|
|
664
|
+
/** @example "IND" */
|
|
665
|
+
country?: any;
|
|
666
|
+
/** @example "400018" */
|
|
667
|
+
postalCode?: any;
|
|
668
|
+
/** @example "Maharashtra" */
|
|
669
|
+
stateProvince?: any;
|
|
670
|
+
/** @example ["716 /a, Poonam Chem, Dr.annie Besant Road, Opp.atre Mall, Worli"] */
|
|
671
|
+
streetAddress?: any;
|
|
672
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
673
|
+
/**
|
|
674
|
+
* @tags Transfers Relationships
|
|
675
|
+
* @name BankCodes
|
|
676
|
+
* @summary Bank Codes
|
|
677
|
+
* @request GET:/transfer/bank/bankCodes
|
|
678
|
+
* @secure
|
|
679
|
+
*/
|
|
680
|
+
bankCodes(query?: {
|
|
681
|
+
/** @example "IND|MEX" */
|
|
682
|
+
country?: any;
|
|
683
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
684
|
+
/**
|
|
685
|
+
* @tags Transfers Relationships
|
|
686
|
+
* @name BankCodesViaAddress
|
|
687
|
+
* @summary Bank Codes (via address)
|
|
688
|
+
* @request POST:/transfer/bank/bankCodes
|
|
689
|
+
* @secure
|
|
690
|
+
*/
|
|
691
|
+
bankCodesViaAddress(data: {
|
|
692
|
+
/** @example "Mumbai" */
|
|
693
|
+
city?: any;
|
|
694
|
+
/** @example "IND" */
|
|
695
|
+
country?: any;
|
|
696
|
+
/** @example "400018" */
|
|
697
|
+
postalCode?: any;
|
|
698
|
+
/** @example "Maharashtra" */
|
|
699
|
+
stateProvince?: any;
|
|
700
|
+
/** @example ["716 /a, Poonam Chem, Dr.annie Besant Road, Opp.atre Mall, Worli"] */
|
|
701
|
+
streetAddress?: any;
|
|
702
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
703
|
+
/**
|
|
704
|
+
* @tags Transfers Relationships
|
|
705
|
+
* @name Create
|
|
706
|
+
* @summary Create
|
|
707
|
+
* @request POST:/transfer/relationship/create
|
|
708
|
+
* @secure
|
|
709
|
+
*/
|
|
710
|
+
create(data: {
|
|
711
|
+
/** @example "5VA0XXXX" */
|
|
712
|
+
account?: any;
|
|
713
|
+
/** @example "111111" */
|
|
714
|
+
bankAccount?: any;
|
|
715
|
+
/** @example "John Doe" */
|
|
716
|
+
bankAccountOwnerName?: any;
|
|
717
|
+
/** @example "CHECKING" */
|
|
718
|
+
bankAccountType?: any;
|
|
719
|
+
/** @example "010101010" */
|
|
720
|
+
bankRoutingNumber?: any;
|
|
721
|
+
/** @example "Test" */
|
|
722
|
+
nickname?: any;
|
|
723
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
724
|
+
/**
|
|
725
|
+
* @tags Transfers Relationships
|
|
726
|
+
* @name WireInformation
|
|
727
|
+
* @summary Wire information
|
|
728
|
+
* @request POST:/transfer/relationship/wire/create
|
|
729
|
+
* @secure
|
|
730
|
+
*/
|
|
731
|
+
wireInformation(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
732
|
+
/**
|
|
733
|
+
* @tags Transfers Relationships
|
|
734
|
+
* @name BankingRelationship
|
|
735
|
+
* @summary Banking relationship
|
|
736
|
+
* @request POST:/transfer/relationship/bank/create
|
|
737
|
+
* @secure
|
|
738
|
+
*/
|
|
739
|
+
bankingRelationship(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
740
|
+
/**
|
|
741
|
+
* @tags Transfers Relationships
|
|
742
|
+
* @name Approve
|
|
743
|
+
* @summary Approve
|
|
744
|
+
* @request POST:/transfer/relationship/approve
|
|
745
|
+
* @secure
|
|
746
|
+
*/
|
|
747
|
+
approve(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
748
|
+
/**
|
|
749
|
+
* @tags Transfers Relationships
|
|
750
|
+
* @name Cancel
|
|
751
|
+
* @summary Cancel
|
|
752
|
+
* @request POST:/transfer/relationship/cancel/{entryId}
|
|
753
|
+
* @secure
|
|
754
|
+
*/
|
|
755
|
+
cancel(entryId: string, data: {
|
|
756
|
+
/** @example "2QC05208" */
|
|
757
|
+
account?: any;
|
|
758
|
+
/** @example "USER CANCELED" */
|
|
759
|
+
reason?: any;
|
|
760
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
761
|
+
/**
|
|
762
|
+
* @tags Transfers Relationships
|
|
763
|
+
* @name Rename
|
|
764
|
+
* @summary Rename
|
|
765
|
+
* @request POST:/transfer/relationship/rename/{entryId}
|
|
766
|
+
* @secure
|
|
767
|
+
*/
|
|
768
|
+
rename(entryId: string, data: {
|
|
769
|
+
/** @example "Citi Checking 2" */
|
|
770
|
+
nickname?: any;
|
|
771
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
772
|
+
/**
|
|
773
|
+
* @tags Transfers Relationships
|
|
774
|
+
* @name AdvisorPolicyUpdate
|
|
775
|
+
* @summary Advisor Policy Update
|
|
776
|
+
* @request POST:/transfer/relationship/policy
|
|
777
|
+
* @secure
|
|
778
|
+
*/
|
|
779
|
+
advisorPolicyUpdate(data: {
|
|
780
|
+
account?: {
|
|
781
|
+
/** @example 0 */
|
|
782
|
+
accountId?: number;
|
|
783
|
+
/** @example "{optional}" */
|
|
784
|
+
accountNumber?: string;
|
|
785
|
+
};
|
|
786
|
+
/** @example 123 */
|
|
787
|
+
entryId?: any;
|
|
788
|
+
/** @example true */
|
|
789
|
+
esigned?: any;
|
|
790
|
+
/** @example "AllowWithdrawal|Disallow" */
|
|
791
|
+
policy?: any;
|
|
792
|
+
/** @example "" */
|
|
793
|
+
remoteAddr?: any;
|
|
794
|
+
/** @example "" */
|
|
833
795
|
remoteDevice?: any;
|
|
834
796
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
835
797
|
/**
|
|
836
|
-
* @tags Transfers
|
|
837
|
-
* @name
|
|
838
|
-
* @summary
|
|
839
|
-
* @request POST:/transfer/
|
|
798
|
+
* @tags Transfers Relationships
|
|
799
|
+
* @name DocumentUpload
|
|
800
|
+
* @summary Document upload
|
|
801
|
+
* @request POST:/transfer/relationship/wire/upload
|
|
840
802
|
* @secure
|
|
841
803
|
*/
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
804
|
+
documentUpload(data: {
|
|
805
|
+
/**
|
|
806
|
+
* Wire relationship ID
|
|
807
|
+
* @example ""
|
|
808
|
+
*/
|
|
809
|
+
entryId?: string;
|
|
810
|
+
/**
|
|
811
|
+
* Document file
|
|
812
|
+
* @format binary
|
|
813
|
+
*/
|
|
814
|
+
file?: File;
|
|
847
815
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
848
816
|
/**
|
|
849
|
-
* @tags Transfers
|
|
850
|
-
* @name
|
|
851
|
-
* @summary
|
|
852
|
-
* @request
|
|
817
|
+
* @tags Transfers Relationships
|
|
818
|
+
* @name MfaReInitiation
|
|
819
|
+
* @summary 2FA re-initiation
|
|
820
|
+
* @request POST:/transfer/relationship/wire/2fa/reinitiate
|
|
853
821
|
* @secure
|
|
854
822
|
*/
|
|
855
|
-
|
|
823
|
+
mfaReInitiation(data: {
|
|
824
|
+
/** @example 123 */
|
|
825
|
+
entryId?: any;
|
|
826
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
827
|
+
/**
|
|
828
|
+
* @tags Transfers Relationships
|
|
829
|
+
* @name SupplementWire
|
|
830
|
+
* @summary Supplement wire
|
|
831
|
+
* @request POST:/transfer/relationship/wire/supplement
|
|
832
|
+
* @secure
|
|
833
|
+
*/
|
|
834
|
+
supplementWire(data: {
|
|
835
|
+
/** @example 123456 */
|
|
836
|
+
entryId?: any;
|
|
837
|
+
recipientBank?: {
|
|
838
|
+
/** @example "Capital City" */
|
|
839
|
+
city?: string;
|
|
840
|
+
identifier?: {
|
|
841
|
+
/** @example "AAA-123-2587964" */
|
|
842
|
+
id?: string;
|
|
843
|
+
/** @example "BIC" */
|
|
844
|
+
type?: string;
|
|
845
|
+
};
|
|
846
|
+
/** @example "ABC 123" */
|
|
847
|
+
postalCode?: string;
|
|
848
|
+
/** @example "NJ" */
|
|
849
|
+
stateProvince?: string;
|
|
850
|
+
};
|
|
851
|
+
userAccount?: {
|
|
852
|
+
/** @example "AB12345" */
|
|
853
|
+
accountNumber?: string;
|
|
854
|
+
};
|
|
855
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
|
|
856
856
|
}
|
|
857
857
|
declare class TransfersCheques<HandleError extends boolean = boolean> {
|
|
858
858
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
@@ -14996,6 +14996,97 @@ export class Payments<HandleError extends boolean = boolean> {
|
|
|
14996
14996
|
'X-SCX-TIMESTAMP'?: string;
|
|
14997
14997
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostPaymentsExecutePaymentResponse, HandleError>>;
|
|
14998
14998
|
}
|
|
14999
|
+
export class MarketData<HandleError extends boolean = boolean> {
|
|
15000
|
+
protected readonly apiClient: JwtClient<HandleError>;
|
|
15001
|
+
constructor(apiClient: JwtClient<HandleError>);
|
|
15002
|
+
/**
|
|
15003
|
+
* @description Retrieves a list of symbols and their market data.
|
|
15004
|
+
* @tags Market Data
|
|
15005
|
+
* @name GetSymbolData
|
|
15006
|
+
* @summary Get symbol data
|
|
15007
|
+
* @request GET:/market_data/symbol_data
|
|
15008
|
+
* @secure
|
|
15009
|
+
*/
|
|
15010
|
+
getSymbolData(query?: {
|
|
15011
|
+
/** Filter for underlying asset */
|
|
15012
|
+
underlying?: string;
|
|
15013
|
+
/** Filter for quoted_currency */
|
|
15014
|
+
quoted_currency?: string;
|
|
15015
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetSymbolDataResponse, HandleError>>;
|
|
15016
|
+
/**
|
|
15017
|
+
* @description Retrieves an list of historical data of open, high, low, close, underlying_volume and quoted_volume.
|
|
15018
|
+
* @tags Market Data
|
|
15019
|
+
* @name GetOhlcvData
|
|
15020
|
+
* @summary Get OHLCV data
|
|
15021
|
+
* @request GET:/market_data/ohlcv
|
|
15022
|
+
* @secure
|
|
15023
|
+
*/
|
|
15024
|
+
getOhlcvData(query: {
|
|
15025
|
+
/** Filter for underlying asset */
|
|
15026
|
+
underlying: string;
|
|
15027
|
+
/** Filter for quoted asset */
|
|
15028
|
+
quoted_currency: string;
|
|
15029
|
+
/** Filter for maximum number of data points to be returned */
|
|
15030
|
+
limit?: string;
|
|
15031
|
+
/** Filter for objects before given timestamp */
|
|
15032
|
+
data_end_date?: string;
|
|
15033
|
+
/** Filter for all data(daily `time_frame`) */
|
|
15034
|
+
all_data?: boolean;
|
|
15035
|
+
/** Filter for time_frame */
|
|
15036
|
+
time_frame: ZeroHashGetOhlcvDataParamsTimeFrameEnum;
|
|
15037
|
+
}, headers?: {
|
|
15038
|
+
/**
|
|
15039
|
+
* Signature for your request.
|
|
15040
|
+
* @default "[WEB] auto-generated on fly"
|
|
15041
|
+
*/
|
|
15042
|
+
'X-SCX-SIGNED'?: string;
|
|
15043
|
+
/**
|
|
15044
|
+
* UNIX timestamp.
|
|
15045
|
+
* @default "[WEB] auto-generated on fly"
|
|
15046
|
+
*/
|
|
15047
|
+
'X-SCX-TIMESTAMP'?: string;
|
|
15048
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetOHLCVResponse, HandleError>>;
|
|
15049
|
+
/**
|
|
15050
|
+
* @description Retrieves a list of market news articles filtered using given parameters.
|
|
15051
|
+
* @tags Market Data
|
|
15052
|
+
* @name GetNewsArticles
|
|
15053
|
+
* @summary Get news articles
|
|
15054
|
+
* @request GET:/market_data/news/latest
|
|
15055
|
+
* @secure
|
|
15056
|
+
*/
|
|
15057
|
+
getNewsArticles(query?: {
|
|
15058
|
+
/** Sources (feeds) of news articles, options can be fetched from /news/feeds */
|
|
15059
|
+
news_source?: string;
|
|
15060
|
+
/** Categories of news articles, options can be fetched from /news/categories */
|
|
15061
|
+
categories?: string;
|
|
15062
|
+
/** Categories of news articles to be excluded from result, options can be fetched from /news/categories */
|
|
15063
|
+
exclude_categories?: string;
|
|
15064
|
+
/** UNIX timestamp, is used to fetch articles before the given time */
|
|
15065
|
+
lookback?: string;
|
|
15066
|
+
/** Language of articles to be fetched. Format: `EN` (English) or `PT` (Portuguese) */
|
|
15067
|
+
language?: string;
|
|
15068
|
+
/** Sorting order of news articles. Can be either `popular` or `latest` */
|
|
15069
|
+
sort_by?: string;
|
|
15070
|
+
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetLatestNewsResponse, HandleError>>;
|
|
15071
|
+
/**
|
|
15072
|
+
* @description Retrieves a list of available market data feeds, which can be used to query articles.
|
|
15073
|
+
* @tags Market Data
|
|
15074
|
+
* @name GetNewsFeeds
|
|
15075
|
+
* @summary Get news feeds
|
|
15076
|
+
* @request GET:/market_data/news/feeds
|
|
15077
|
+
* @secure
|
|
15078
|
+
*/
|
|
15079
|
+
getNewsFeeds(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsFeedsResponse, HandleError>>;
|
|
15080
|
+
/**
|
|
15081
|
+
* @description Retrieves a list of available market data categories, which can be used to query articles.
|
|
15082
|
+
* @tags Market Data
|
|
15083
|
+
* @name GetCategories
|
|
15084
|
+
* @summary Get categories
|
|
15085
|
+
* @request GET:/market_data/news/categories
|
|
15086
|
+
* @secure
|
|
15087
|
+
*/
|
|
15088
|
+
getCategories(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsCategoriesResponse, HandleError>>;
|
|
15089
|
+
}
|
|
14999
15090
|
export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
|
|
15000
15091
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
15001
15092
|
constructor(apiClient: JwtClient<HandleError>);
|
|
@@ -15090,97 +15181,6 @@ export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
|
|
|
15090
15181
|
'X-SCX-TIMESTAMP'?: string;
|
|
15091
15182
|
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostCWExecuteQuoteResponse, HandleError>>;
|
|
15092
15183
|
}
|
|
15093
|
-
export class MarketData<HandleError extends boolean = boolean> {
|
|
15094
|
-
protected readonly apiClient: JwtClient<HandleError>;
|
|
15095
|
-
constructor(apiClient: JwtClient<HandleError>);
|
|
15096
|
-
/**
|
|
15097
|
-
* @description Retrieves a list of symbols and their market data.
|
|
15098
|
-
* @tags Market Data
|
|
15099
|
-
* @name GetSymbolData
|
|
15100
|
-
* @summary Get symbol data
|
|
15101
|
-
* @request GET:/market_data/symbol_data
|
|
15102
|
-
* @secure
|
|
15103
|
-
*/
|
|
15104
|
-
getSymbolData(query?: {
|
|
15105
|
-
/** Filter for underlying asset */
|
|
15106
|
-
underlying?: string;
|
|
15107
|
-
/** Filter for quoted_currency */
|
|
15108
|
-
quoted_currency?: string;
|
|
15109
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetSymbolDataResponse, HandleError>>;
|
|
15110
|
-
/**
|
|
15111
|
-
* @description Retrieves an list of historical data of open, high, low, close, underlying_volume and quoted_volume.
|
|
15112
|
-
* @tags Market Data
|
|
15113
|
-
* @name GetOhlcvData
|
|
15114
|
-
* @summary Get OHLCV data
|
|
15115
|
-
* @request GET:/market_data/ohlcv
|
|
15116
|
-
* @secure
|
|
15117
|
-
*/
|
|
15118
|
-
getOhlcvData(query: {
|
|
15119
|
-
/** Filter for underlying asset */
|
|
15120
|
-
underlying: string;
|
|
15121
|
-
/** Filter for quoted asset */
|
|
15122
|
-
quoted_currency: string;
|
|
15123
|
-
/** Filter for maximum number of data points to be returned */
|
|
15124
|
-
limit?: string;
|
|
15125
|
-
/** Filter for objects before given timestamp */
|
|
15126
|
-
data_end_date?: string;
|
|
15127
|
-
/** Filter for all data(daily `time_frame`) */
|
|
15128
|
-
all_data?: boolean;
|
|
15129
|
-
/** Filter for time_frame */
|
|
15130
|
-
time_frame: ZeroHashGetOhlcvDataParamsTimeFrameEnum;
|
|
15131
|
-
}, headers?: {
|
|
15132
|
-
/**
|
|
15133
|
-
* Signature for your request.
|
|
15134
|
-
* @default "[WEB] auto-generated on fly"
|
|
15135
|
-
*/
|
|
15136
|
-
'X-SCX-SIGNED'?: string;
|
|
15137
|
-
/**
|
|
15138
|
-
* UNIX timestamp.
|
|
15139
|
-
* @default "[WEB] auto-generated on fly"
|
|
15140
|
-
*/
|
|
15141
|
-
'X-SCX-TIMESTAMP'?: string;
|
|
15142
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetOHLCVResponse, HandleError>>;
|
|
15143
|
-
/**
|
|
15144
|
-
* @description Retrieves a list of market news articles filtered using given parameters.
|
|
15145
|
-
* @tags Market Data
|
|
15146
|
-
* @name GetNewsArticles
|
|
15147
|
-
* @summary Get news articles
|
|
15148
|
-
* @request GET:/market_data/news/latest
|
|
15149
|
-
* @secure
|
|
15150
|
-
*/
|
|
15151
|
-
getNewsArticles(query?: {
|
|
15152
|
-
/** Sources (feeds) of news articles, options can be fetched from /news/feeds */
|
|
15153
|
-
news_source?: string;
|
|
15154
|
-
/** Categories of news articles, options can be fetched from /news/categories */
|
|
15155
|
-
categories?: string;
|
|
15156
|
-
/** Categories of news articles to be excluded from result, options can be fetched from /news/categories */
|
|
15157
|
-
exclude_categories?: string;
|
|
15158
|
-
/** UNIX timestamp, is used to fetch articles before the given time */
|
|
15159
|
-
lookback?: string;
|
|
15160
|
-
/** Language of articles to be fetched. Format: `EN` (English) or `PT` (Portuguese) */
|
|
15161
|
-
language?: string;
|
|
15162
|
-
/** Sorting order of news articles. Can be either `popular` or `latest` */
|
|
15163
|
-
sort_by?: string;
|
|
15164
|
-
}, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetLatestNewsResponse, HandleError>>;
|
|
15165
|
-
/**
|
|
15166
|
-
* @description Retrieves a list of available market data feeds, which can be used to query articles.
|
|
15167
|
-
* @tags Market Data
|
|
15168
|
-
* @name GetNewsFeeds
|
|
15169
|
-
* @summary Get news feeds
|
|
15170
|
-
* @request GET:/market_data/news/feeds
|
|
15171
|
-
* @secure
|
|
15172
|
-
*/
|
|
15173
|
-
getNewsFeeds(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsFeedsResponse, HandleError>>;
|
|
15174
|
-
/**
|
|
15175
|
-
* @description Retrieves a list of available market data categories, which can be used to query articles.
|
|
15176
|
-
* @tags Market Data
|
|
15177
|
-
* @name GetCategories
|
|
15178
|
-
* @summary Get categories
|
|
15179
|
-
* @request GET:/market_data/news/categories
|
|
15180
|
-
* @secure
|
|
15181
|
-
*/
|
|
15182
|
-
getCategories(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsCategoriesResponse, HandleError>>;
|
|
15183
|
-
}
|
|
15184
15184
|
export class Fund<HandleError extends boolean = boolean> {
|
|
15185
15185
|
protected readonly apiClient: JwtClient<HandleError>;
|
|
15186
15186
|
constructor(apiClient: JwtClient<HandleError>);
|