@firela/api-types 0.0.0-canary.a7bda42
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/README.md +40 -0
- package/dist/generated/core/ApiError.d.ts +11 -0
- package/dist/generated/core/ApiError.d.ts.map +1 -0
- package/dist/generated/core/ApiError.js +11 -0
- package/dist/generated/core/ApiRequestOptions.d.ts +14 -0
- package/dist/generated/core/ApiRequestOptions.d.ts.map +1 -0
- package/dist/generated/core/ApiRequestOptions.js +1 -0
- package/dist/generated/core/ApiResult.d.ts +8 -0
- package/dist/generated/core/ApiResult.d.ts.map +1 -0
- package/dist/generated/core/ApiResult.js +1 -0
- package/dist/generated/core/CancelablePromise.d.ts +27 -0
- package/dist/generated/core/CancelablePromise.d.ts.map +1 -0
- package/dist/generated/core/CancelablePromise.js +88 -0
- package/dist/generated/core/OpenAPI.d.ts +28 -0
- package/dist/generated/core/OpenAPI.d.ts.map +1 -0
- package/dist/generated/core/OpenAPI.js +29 -0
- package/dist/generated/core/request.d.ts +30 -0
- package/dist/generated/core/request.d.ts.map +1 -0
- package/dist/generated/core/request.js +297 -0
- package/dist/generated/index.d.ts +7 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +7 -0
- package/dist/generated/schemas.gen.d.ts +771 -0
- package/dist/generated/schemas.gen.d.ts.map +1 -0
- package/dist/generated/schemas.gen.js +771 -0
- package/dist/generated/services.gen.d.ts +313 -0
- package/dist/generated/services.gen.d.ts.map +1 -0
- package/dist/generated/services.gen.js +705 -0
- package/dist/generated/types.gen.d.ts +1159 -0
- package/dist/generated/types.gen.d.ts.map +1 -0
- package/dist/generated/types.gen.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/package.json +31 -0
|
@@ -0,0 +1,1159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Beancount account type
|
|
3
|
+
*/
|
|
4
|
+
export type AccountType = 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
|
|
5
|
+
/**
|
|
6
|
+
* Account lifecycle status
|
|
7
|
+
*/
|
|
8
|
+
export type AccountStatus = 'OPEN' | 'CLOSED' | 'SUSPENDED';
|
|
9
|
+
/**
|
|
10
|
+
* Inventory booking method for cost tracking
|
|
11
|
+
*/
|
|
12
|
+
export type BookingMethod = 'FIFO' | 'LIFO' | 'HIFO' | 'AVERAGE' | 'STRICT' | 'STRICT_WITH_SIZE' | 'NONE';
|
|
13
|
+
/**
|
|
14
|
+
* Transaction lifecycle status
|
|
15
|
+
*/
|
|
16
|
+
export type TxnStatus = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
|
|
17
|
+
/**
|
|
18
|
+
* Transaction flag: '*' = complete, '!' = incomplete
|
|
19
|
+
*/
|
|
20
|
+
export type TransactionFlag = '*' | '!';
|
|
21
|
+
export type HealthResponse = {
|
|
22
|
+
status: 'ok' | 'degraded';
|
|
23
|
+
version?: string;
|
|
24
|
+
};
|
|
25
|
+
export type status = 'ok' | 'degraded';
|
|
26
|
+
export type Posting = {
|
|
27
|
+
id?: string;
|
|
28
|
+
accountId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Full Beancount account path
|
|
31
|
+
*/
|
|
32
|
+
accountName?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Decimal string for precision
|
|
35
|
+
*/
|
|
36
|
+
units?: string;
|
|
37
|
+
currency?: string;
|
|
38
|
+
costAmount?: string;
|
|
39
|
+
costCurrency?: string;
|
|
40
|
+
costDate?: string;
|
|
41
|
+
priceAmount?: string;
|
|
42
|
+
priceCurrency?: string;
|
|
43
|
+
flag?: string;
|
|
44
|
+
meta?: {
|
|
45
|
+
[key: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export type CreatePostingRequest = {
|
|
49
|
+
/**
|
|
50
|
+
* Full Beancount account path (e.g., "Assets:Bank:Checking")
|
|
51
|
+
*/
|
|
52
|
+
account: string;
|
|
53
|
+
/**
|
|
54
|
+
* Decimal string for precision (e.g., "100.50")
|
|
55
|
+
*/
|
|
56
|
+
units?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Currency code if units provided
|
|
59
|
+
*/
|
|
60
|
+
currency?: string;
|
|
61
|
+
meta?: {
|
|
62
|
+
[key: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export type CreateTransactionRequest = {
|
|
66
|
+
date: string;
|
|
67
|
+
flag?: TransactionFlag;
|
|
68
|
+
payee?: string;
|
|
69
|
+
narration: string;
|
|
70
|
+
tags?: Array<(string)>;
|
|
71
|
+
links?: Array<(string)>;
|
|
72
|
+
postings: Array<CreatePostingRequest>;
|
|
73
|
+
meta?: {
|
|
74
|
+
[key: string]: unknown;
|
|
75
|
+
};
|
|
76
|
+
idempotencyKey?: string;
|
|
77
|
+
};
|
|
78
|
+
export type UpdateTransactionRequest = {
|
|
79
|
+
payee?: string;
|
|
80
|
+
narration?: string;
|
|
81
|
+
tags?: Array<(string)>;
|
|
82
|
+
links?: Array<(string)>;
|
|
83
|
+
meta?: {
|
|
84
|
+
[key: string]: unknown;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export type TransactionDetail = {
|
|
88
|
+
id: string;
|
|
89
|
+
date: string;
|
|
90
|
+
flag?: TransactionFlag;
|
|
91
|
+
customFlag?: string;
|
|
92
|
+
payee?: string;
|
|
93
|
+
narration: string;
|
|
94
|
+
tags?: Array<(string)>;
|
|
95
|
+
links?: Array<(string)>;
|
|
96
|
+
meta?: {
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
status: TxnStatus;
|
|
100
|
+
sourceType?: string;
|
|
101
|
+
sourcePlatform?: string;
|
|
102
|
+
postings: Array<Posting>;
|
|
103
|
+
createdAt?: string;
|
|
104
|
+
voidedAt?: string;
|
|
105
|
+
voidedBy?: string;
|
|
106
|
+
correctionReason?: string;
|
|
107
|
+
};
|
|
108
|
+
export type TransactionResponse = {
|
|
109
|
+
transactionId: string;
|
|
110
|
+
idempotencyKey?: string;
|
|
111
|
+
date: string;
|
|
112
|
+
flag?: TransactionFlag;
|
|
113
|
+
payee?: string;
|
|
114
|
+
narration: string;
|
|
115
|
+
postings: Array<Posting>;
|
|
116
|
+
interpolated?: boolean;
|
|
117
|
+
booked?: boolean;
|
|
118
|
+
warnings?: Array<(string)>;
|
|
119
|
+
createdAccountIds?: Array<(string)>;
|
|
120
|
+
recurringSuggestion?: {
|
|
121
|
+
[key: string]: unknown;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export type TransactionListResponse = {
|
|
125
|
+
data: Array<TransactionDetail>;
|
|
126
|
+
total: number;
|
|
127
|
+
limit?: number;
|
|
128
|
+
offset?: number;
|
|
129
|
+
};
|
|
130
|
+
export type PlatformInfo = {
|
|
131
|
+
id?: string;
|
|
132
|
+
name?: string;
|
|
133
|
+
canonical?: string;
|
|
134
|
+
logoUrl?: string;
|
|
135
|
+
type?: string;
|
|
136
|
+
};
|
|
137
|
+
export type AccountResponse = {
|
|
138
|
+
id: string;
|
|
139
|
+
/**
|
|
140
|
+
* Full Beancount account path
|
|
141
|
+
*/
|
|
142
|
+
path: string;
|
|
143
|
+
type: AccountType;
|
|
144
|
+
status: AccountStatus;
|
|
145
|
+
openDate: string;
|
|
146
|
+
closeDate?: string;
|
|
147
|
+
currencies?: Array<(string)> | null;
|
|
148
|
+
bookingMethod: BookingMethod;
|
|
149
|
+
templatePath?: string;
|
|
150
|
+
isCustom: boolean;
|
|
151
|
+
i18nKey?: string;
|
|
152
|
+
icon?: string;
|
|
153
|
+
openMeta?: {
|
|
154
|
+
[key: string]: unknown;
|
|
155
|
+
};
|
|
156
|
+
platformId?: string | null;
|
|
157
|
+
platform?: PlatformInfo;
|
|
158
|
+
createdAt?: string;
|
|
159
|
+
updatedAt?: string;
|
|
160
|
+
};
|
|
161
|
+
export type CreateAccountRequest = {
|
|
162
|
+
/**
|
|
163
|
+
* Full Beancount account path
|
|
164
|
+
*/
|
|
165
|
+
path: string;
|
|
166
|
+
openDate: string;
|
|
167
|
+
currencies?: Array<(string)> | null;
|
|
168
|
+
bookingMethod?: BookingMethod;
|
|
169
|
+
templatePath?: string;
|
|
170
|
+
isCustom?: boolean;
|
|
171
|
+
i18nKey?: string;
|
|
172
|
+
icon?: string;
|
|
173
|
+
openMeta?: {
|
|
174
|
+
[key: string]: unknown;
|
|
175
|
+
};
|
|
176
|
+
platformId?: string;
|
|
177
|
+
};
|
|
178
|
+
export type UpdateAccountRequest = {
|
|
179
|
+
currencies?: Array<(string)> | null;
|
|
180
|
+
bookingMethod?: BookingMethod;
|
|
181
|
+
i18nKey?: string;
|
|
182
|
+
icon?: string;
|
|
183
|
+
};
|
|
184
|
+
export type AccountListResponse = {
|
|
185
|
+
items: Array<AccountResponse>;
|
|
186
|
+
total: number;
|
|
187
|
+
};
|
|
188
|
+
export type CommodityResponse = {
|
|
189
|
+
id: string;
|
|
190
|
+
userId?: string | null;
|
|
191
|
+
symbol: string;
|
|
192
|
+
date: string;
|
|
193
|
+
metadata?: {
|
|
194
|
+
[key: string]: unknown;
|
|
195
|
+
};
|
|
196
|
+
symbolProfileId?: string | null;
|
|
197
|
+
createdAt?: string;
|
|
198
|
+
updatedAt?: string;
|
|
199
|
+
};
|
|
200
|
+
export type CreateCommodityRequest = {
|
|
201
|
+
symbol: string;
|
|
202
|
+
date: string;
|
|
203
|
+
metadata?: {
|
|
204
|
+
[key: string]: unknown;
|
|
205
|
+
};
|
|
206
|
+
symbolProfileId?: string;
|
|
207
|
+
};
|
|
208
|
+
export type UpdateCommodityRequest = {
|
|
209
|
+
metadata?: {
|
|
210
|
+
[key: string]: unknown;
|
|
211
|
+
};
|
|
212
|
+
symbolProfileId?: string;
|
|
213
|
+
};
|
|
214
|
+
export type EnsureCommodityRequest = {
|
|
215
|
+
date: string;
|
|
216
|
+
metadata?: {
|
|
217
|
+
[key: string]: unknown;
|
|
218
|
+
};
|
|
219
|
+
symbolProfileId?: string;
|
|
220
|
+
};
|
|
221
|
+
export type CommodityListResponse = {
|
|
222
|
+
items: Array<CommodityResponse>;
|
|
223
|
+
total: number;
|
|
224
|
+
};
|
|
225
|
+
export type PriceResponse = {
|
|
226
|
+
id: string;
|
|
227
|
+
userId: string;
|
|
228
|
+
currency: string;
|
|
229
|
+
quoteCurrency: string;
|
|
230
|
+
amount: number;
|
|
231
|
+
date: string;
|
|
232
|
+
meta?: {
|
|
233
|
+
[key: string]: unknown;
|
|
234
|
+
};
|
|
235
|
+
createdAt?: string;
|
|
236
|
+
updatedAt?: string;
|
|
237
|
+
};
|
|
238
|
+
export type CreatePriceRequest = {
|
|
239
|
+
/**
|
|
240
|
+
* Base currency (e.g., "USD")
|
|
241
|
+
*/
|
|
242
|
+
currency: string;
|
|
243
|
+
/**
|
|
244
|
+
* Quote currency (e.g., "CNY")
|
|
245
|
+
*/
|
|
246
|
+
quoteCurrency: string;
|
|
247
|
+
/**
|
|
248
|
+
* Exchange rate
|
|
249
|
+
*/
|
|
250
|
+
amount: number;
|
|
251
|
+
date: string;
|
|
252
|
+
metadata?: {
|
|
253
|
+
[key: string]: unknown;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
export type UpdatePriceRequest = {
|
|
257
|
+
amount?: number;
|
|
258
|
+
metadata?: {
|
|
259
|
+
[key: string]: unknown;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
export type PriceListResponse = {
|
|
263
|
+
items: Array<PriceResponse>;
|
|
264
|
+
total: number;
|
|
265
|
+
};
|
|
266
|
+
export type BalanceResponse = {
|
|
267
|
+
account: string;
|
|
268
|
+
/**
|
|
269
|
+
* Decimal string for precision
|
|
270
|
+
*/
|
|
271
|
+
balance: string;
|
|
272
|
+
currency: string;
|
|
273
|
+
date: string;
|
|
274
|
+
};
|
|
275
|
+
export type MultiCurrencyBalanceResponse = {
|
|
276
|
+
account: string;
|
|
277
|
+
/**
|
|
278
|
+
* Map of currency to balance (decimal strings)
|
|
279
|
+
*/
|
|
280
|
+
balances: {
|
|
281
|
+
[key: string]: (string);
|
|
282
|
+
};
|
|
283
|
+
date: string;
|
|
284
|
+
};
|
|
285
|
+
export type ApiError = {
|
|
286
|
+
/**
|
|
287
|
+
* Error type URI
|
|
288
|
+
*/
|
|
289
|
+
type: string;
|
|
290
|
+
/**
|
|
291
|
+
* Short error title
|
|
292
|
+
*/
|
|
293
|
+
title: string;
|
|
294
|
+
/**
|
|
295
|
+
* HTTP status code
|
|
296
|
+
*/
|
|
297
|
+
status: number;
|
|
298
|
+
/**
|
|
299
|
+
* Detailed error message
|
|
300
|
+
*/
|
|
301
|
+
detail?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Request path
|
|
304
|
+
*/
|
|
305
|
+
instance?: string;
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* Region code for tenant context
|
|
309
|
+
*/
|
|
310
|
+
export type ParameterRegionPath = 'cn' | 'us' | 'eu-core' | 'de';
|
|
311
|
+
/**
|
|
312
|
+
* Transaction ID (CUID format)
|
|
313
|
+
*/
|
|
314
|
+
export type ParameterTransactionIdPath = string;
|
|
315
|
+
/**
|
|
316
|
+
* Account ID (UUID format)
|
|
317
|
+
*/
|
|
318
|
+
export type ParameterAccountIdPath = string;
|
|
319
|
+
/**
|
|
320
|
+
* Commodity symbol (e.g., "USD", "AAPL")
|
|
321
|
+
*/
|
|
322
|
+
export type ParameterCommoditySymbolPath = string;
|
|
323
|
+
/**
|
|
324
|
+
* Price ID (UUID format)
|
|
325
|
+
*/
|
|
326
|
+
export type ParameterPriceIdPath = string;
|
|
327
|
+
export type GetHealthResponse = HealthResponse;
|
|
328
|
+
export type ListTransactionsData = {
|
|
329
|
+
/**
|
|
330
|
+
* Filter by account ID
|
|
331
|
+
*/
|
|
332
|
+
accountId?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Filter from date (inclusive, ISO 8601)
|
|
335
|
+
*/
|
|
336
|
+
dateFrom?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Filter to date (inclusive, ISO 8601)
|
|
339
|
+
*/
|
|
340
|
+
dateTo?: string;
|
|
341
|
+
/**
|
|
342
|
+
* Maximum number of results (1-100)
|
|
343
|
+
*/
|
|
344
|
+
limit?: number;
|
|
345
|
+
/**
|
|
346
|
+
* Number of items to skip
|
|
347
|
+
*/
|
|
348
|
+
offset?: number;
|
|
349
|
+
/**
|
|
350
|
+
* Region code for tenant context
|
|
351
|
+
*/
|
|
352
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
353
|
+
/**
|
|
354
|
+
* Search in narration and payee fields
|
|
355
|
+
*/
|
|
356
|
+
search?: string;
|
|
357
|
+
/**
|
|
358
|
+
* Filter by transaction status
|
|
359
|
+
*/
|
|
360
|
+
status?: TxnStatus;
|
|
361
|
+
};
|
|
362
|
+
export type ListTransactionsResponse = TransactionListResponse;
|
|
363
|
+
export type CreateTransactionData = {
|
|
364
|
+
/**
|
|
365
|
+
* Region code for tenant context
|
|
366
|
+
*/
|
|
367
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
368
|
+
requestBody: CreateTransactionRequest;
|
|
369
|
+
};
|
|
370
|
+
export type CreateTransactionResponse = TransactionResponse;
|
|
371
|
+
export type GetTransactionData = {
|
|
372
|
+
/**
|
|
373
|
+
* Transaction ID (CUID format)
|
|
374
|
+
*/
|
|
375
|
+
id: string;
|
|
376
|
+
/**
|
|
377
|
+
* Region code for tenant context
|
|
378
|
+
*/
|
|
379
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
380
|
+
};
|
|
381
|
+
export type GetTransactionResponse = TransactionDetail;
|
|
382
|
+
export type UpdateTransactionData = {
|
|
383
|
+
/**
|
|
384
|
+
* Transaction ID (CUID format)
|
|
385
|
+
*/
|
|
386
|
+
id: string;
|
|
387
|
+
/**
|
|
388
|
+
* Region code for tenant context
|
|
389
|
+
*/
|
|
390
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
391
|
+
requestBody: UpdateTransactionRequest;
|
|
392
|
+
};
|
|
393
|
+
export type UpdateTransactionResponse = TransactionDetail;
|
|
394
|
+
export type VoidTransactionData = {
|
|
395
|
+
/**
|
|
396
|
+
* Transaction ID (CUID format)
|
|
397
|
+
*/
|
|
398
|
+
id: string;
|
|
399
|
+
/**
|
|
400
|
+
* Region code for tenant context
|
|
401
|
+
*/
|
|
402
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
403
|
+
};
|
|
404
|
+
export type VoidTransactionResponse = void;
|
|
405
|
+
export type ListAccountsData = {
|
|
406
|
+
/**
|
|
407
|
+
* Filter custom accounts only
|
|
408
|
+
*/
|
|
409
|
+
isCustom?: boolean;
|
|
410
|
+
limit?: number;
|
|
411
|
+
offset?: number;
|
|
412
|
+
/**
|
|
413
|
+
* Region code for tenant context
|
|
414
|
+
*/
|
|
415
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
416
|
+
/**
|
|
417
|
+
* Search in path and i18nKey
|
|
418
|
+
*/
|
|
419
|
+
search?: string;
|
|
420
|
+
/**
|
|
421
|
+
* Filter by account status
|
|
422
|
+
*/
|
|
423
|
+
status?: AccountStatus;
|
|
424
|
+
/**
|
|
425
|
+
* Filter by account type
|
|
426
|
+
*/
|
|
427
|
+
type?: AccountType;
|
|
428
|
+
};
|
|
429
|
+
export type ListAccountsResponse = AccountListResponse;
|
|
430
|
+
export type CreateAccountData = {
|
|
431
|
+
/**
|
|
432
|
+
* Region code for tenant context
|
|
433
|
+
*/
|
|
434
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
435
|
+
requestBody: CreateAccountRequest;
|
|
436
|
+
};
|
|
437
|
+
export type CreateAccountResponse = AccountResponse;
|
|
438
|
+
export type GetAccountData = {
|
|
439
|
+
/**
|
|
440
|
+
* Account ID (UUID format)
|
|
441
|
+
*/
|
|
442
|
+
id: string;
|
|
443
|
+
/**
|
|
444
|
+
* Region code for tenant context
|
|
445
|
+
*/
|
|
446
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
447
|
+
};
|
|
448
|
+
export type GetAccountResponse = AccountResponse;
|
|
449
|
+
export type UpdateAccountData = {
|
|
450
|
+
/**
|
|
451
|
+
* Account ID (UUID format)
|
|
452
|
+
*/
|
|
453
|
+
id: string;
|
|
454
|
+
/**
|
|
455
|
+
* Region code for tenant context
|
|
456
|
+
*/
|
|
457
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
458
|
+
requestBody: UpdateAccountRequest;
|
|
459
|
+
};
|
|
460
|
+
export type UpdateAccountResponse = AccountResponse;
|
|
461
|
+
export type DeleteAccountData = {
|
|
462
|
+
/**
|
|
463
|
+
* Account ID (UUID format)
|
|
464
|
+
*/
|
|
465
|
+
id: string;
|
|
466
|
+
/**
|
|
467
|
+
* Region code for tenant context
|
|
468
|
+
*/
|
|
469
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
470
|
+
};
|
|
471
|
+
export type DeleteAccountResponse = void;
|
|
472
|
+
export type CloseAccountData = {
|
|
473
|
+
/**
|
|
474
|
+
* Account ID (UUID format)
|
|
475
|
+
*/
|
|
476
|
+
id: string;
|
|
477
|
+
/**
|
|
478
|
+
* Region code for tenant context
|
|
479
|
+
*/
|
|
480
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
481
|
+
};
|
|
482
|
+
export type CloseAccountResponse = AccountResponse;
|
|
483
|
+
export type ReopenAccountData = {
|
|
484
|
+
/**
|
|
485
|
+
* Account ID (UUID format)
|
|
486
|
+
*/
|
|
487
|
+
id: string;
|
|
488
|
+
/**
|
|
489
|
+
* Region code for tenant context
|
|
490
|
+
*/
|
|
491
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
492
|
+
};
|
|
493
|
+
export type ReopenAccountResponse = AccountResponse;
|
|
494
|
+
export type ListCommoditiesData = {
|
|
495
|
+
/**
|
|
496
|
+
* Region code for tenant context
|
|
497
|
+
*/
|
|
498
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
499
|
+
};
|
|
500
|
+
export type ListCommoditiesResponse = CommodityListResponse;
|
|
501
|
+
export type CreateCommodityData = {
|
|
502
|
+
/**
|
|
503
|
+
* Region code for tenant context
|
|
504
|
+
*/
|
|
505
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
506
|
+
requestBody: CreateCommodityRequest;
|
|
507
|
+
};
|
|
508
|
+
export type CreateCommodityResponse = CommodityResponse;
|
|
509
|
+
export type GetCommodityData = {
|
|
510
|
+
/**
|
|
511
|
+
* Region code for tenant context
|
|
512
|
+
*/
|
|
513
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
514
|
+
/**
|
|
515
|
+
* Commodity symbol (e.g., "USD", "AAPL")
|
|
516
|
+
*/
|
|
517
|
+
symbol: string;
|
|
518
|
+
};
|
|
519
|
+
export type GetCommodityResponse = CommodityResponse;
|
|
520
|
+
export type UpdateCommodityData = {
|
|
521
|
+
/**
|
|
522
|
+
* Region code for tenant context
|
|
523
|
+
*/
|
|
524
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
525
|
+
requestBody: UpdateCommodityRequest;
|
|
526
|
+
/**
|
|
527
|
+
* Commodity symbol (e.g., "USD", "AAPL")
|
|
528
|
+
*/
|
|
529
|
+
symbol: string;
|
|
530
|
+
};
|
|
531
|
+
export type UpdateCommodityResponse = CommodityResponse;
|
|
532
|
+
export type DeleteCommodityData = {
|
|
533
|
+
/**
|
|
534
|
+
* Region code for tenant context
|
|
535
|
+
*/
|
|
536
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
537
|
+
/**
|
|
538
|
+
* Commodity symbol (e.g., "USD", "AAPL")
|
|
539
|
+
*/
|
|
540
|
+
symbol: string;
|
|
541
|
+
};
|
|
542
|
+
export type DeleteCommodityResponse = void;
|
|
543
|
+
export type EnsureCommodityData = {
|
|
544
|
+
/**
|
|
545
|
+
* Region code for tenant context
|
|
546
|
+
*/
|
|
547
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
548
|
+
requestBody: EnsureCommodityRequest;
|
|
549
|
+
/**
|
|
550
|
+
* Commodity symbol (e.g., "USD", "AAPL")
|
|
551
|
+
*/
|
|
552
|
+
symbol: string;
|
|
553
|
+
};
|
|
554
|
+
export type EnsureCommodityResponse = CommodityResponse;
|
|
555
|
+
export type BulkCreateCommoditiesData = {
|
|
556
|
+
/**
|
|
557
|
+
* Region code for tenant context
|
|
558
|
+
*/
|
|
559
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
560
|
+
requestBody: {
|
|
561
|
+
commodities: Array<CreateCommodityRequest>;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
export type BulkCreateCommoditiesResponse = CommodityListResponse;
|
|
565
|
+
export type ListPricesData = {
|
|
566
|
+
/**
|
|
567
|
+
* Region code for tenant context
|
|
568
|
+
*/
|
|
569
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
570
|
+
};
|
|
571
|
+
export type ListPricesResponse = PriceListResponse;
|
|
572
|
+
export type CreatePriceData = {
|
|
573
|
+
/**
|
|
574
|
+
* Region code for tenant context
|
|
575
|
+
*/
|
|
576
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
577
|
+
requestBody: CreatePriceRequest;
|
|
578
|
+
};
|
|
579
|
+
export type CreatePriceResponse = PriceResponse;
|
|
580
|
+
export type GetPriceData = {
|
|
581
|
+
/**
|
|
582
|
+
* Price ID (UUID format)
|
|
583
|
+
*/
|
|
584
|
+
id: string;
|
|
585
|
+
/**
|
|
586
|
+
* Region code for tenant context
|
|
587
|
+
*/
|
|
588
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
589
|
+
};
|
|
590
|
+
export type GetPriceResponse = PriceResponse;
|
|
591
|
+
export type UpdatePriceData = {
|
|
592
|
+
/**
|
|
593
|
+
* Price ID (UUID format)
|
|
594
|
+
*/
|
|
595
|
+
id: string;
|
|
596
|
+
/**
|
|
597
|
+
* Region code for tenant context
|
|
598
|
+
*/
|
|
599
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
600
|
+
requestBody: UpdatePriceRequest;
|
|
601
|
+
};
|
|
602
|
+
export type UpdatePriceResponse = PriceResponse;
|
|
603
|
+
export type DeletePriceData = {
|
|
604
|
+
/**
|
|
605
|
+
* Price ID (UUID format)
|
|
606
|
+
*/
|
|
607
|
+
id: string;
|
|
608
|
+
/**
|
|
609
|
+
* Region code for tenant context
|
|
610
|
+
*/
|
|
611
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
612
|
+
};
|
|
613
|
+
export type DeletePriceResponse = void;
|
|
614
|
+
export type BulkCreatePricesData = {
|
|
615
|
+
/**
|
|
616
|
+
* Region code for tenant context
|
|
617
|
+
*/
|
|
618
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
619
|
+
requestBody: {
|
|
620
|
+
prices: Array<CreatePriceRequest>;
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
export type BulkCreatePricesResponse = PriceListResponse;
|
|
624
|
+
export type GetBalanceData = {
|
|
625
|
+
/**
|
|
626
|
+
* Account path (e.g., "Assets:Bank:Checking")
|
|
627
|
+
*/
|
|
628
|
+
account: string;
|
|
629
|
+
/**
|
|
630
|
+
* Currency code (e.g., "USD")
|
|
631
|
+
*/
|
|
632
|
+
currency: string;
|
|
633
|
+
/**
|
|
634
|
+
* Query date (defaults to today)
|
|
635
|
+
*/
|
|
636
|
+
date?: string;
|
|
637
|
+
/**
|
|
638
|
+
* Region code for tenant context
|
|
639
|
+
*/
|
|
640
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
641
|
+
};
|
|
642
|
+
export type GetBalanceResponse = BalanceResponse;
|
|
643
|
+
export type GetMultiCurrencyBalanceData = {
|
|
644
|
+
/**
|
|
645
|
+
* Account path (e.g., "Assets:Bank:Checking")
|
|
646
|
+
*/
|
|
647
|
+
account: string;
|
|
648
|
+
/**
|
|
649
|
+
* Query date (defaults to today)
|
|
650
|
+
*/
|
|
651
|
+
date?: string;
|
|
652
|
+
/**
|
|
653
|
+
* Region code for tenant context
|
|
654
|
+
*/
|
|
655
|
+
region: 'cn' | 'us' | 'eu-core' | 'de';
|
|
656
|
+
};
|
|
657
|
+
export type GetMultiCurrencyBalanceResponse = MultiCurrencyBalanceResponse;
|
|
658
|
+
export type $OpenApiTs = {
|
|
659
|
+
'/health': {
|
|
660
|
+
get: {
|
|
661
|
+
res: {
|
|
662
|
+
/**
|
|
663
|
+
* Service is healthy
|
|
664
|
+
*/
|
|
665
|
+
200: HealthResponse;
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
'/{region}/bean/transactions': {
|
|
670
|
+
get: {
|
|
671
|
+
req: ListTransactionsData;
|
|
672
|
+
res: {
|
|
673
|
+
/**
|
|
674
|
+
* List of transactions
|
|
675
|
+
*/
|
|
676
|
+
200: TransactionListResponse;
|
|
677
|
+
/**
|
|
678
|
+
* Authentication required
|
|
679
|
+
*/
|
|
680
|
+
401: ApiError;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
post: {
|
|
684
|
+
req: CreateTransactionData;
|
|
685
|
+
res: {
|
|
686
|
+
/**
|
|
687
|
+
* Transaction created successfully
|
|
688
|
+
*/
|
|
689
|
+
201: TransactionResponse;
|
|
690
|
+
/**
|
|
691
|
+
* Invalid request parameters
|
|
692
|
+
*/
|
|
693
|
+
400: ApiError;
|
|
694
|
+
/**
|
|
695
|
+
* Authentication required
|
|
696
|
+
*/
|
|
697
|
+
401: ApiError;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
'/{region}/bean/transactions/{id}': {
|
|
702
|
+
get: {
|
|
703
|
+
req: GetTransactionData;
|
|
704
|
+
res: {
|
|
705
|
+
/**
|
|
706
|
+
* Transaction details
|
|
707
|
+
*/
|
|
708
|
+
200: TransactionDetail;
|
|
709
|
+
/**
|
|
710
|
+
* Authentication required
|
|
711
|
+
*/
|
|
712
|
+
401: ApiError;
|
|
713
|
+
/**
|
|
714
|
+
* Resource not found
|
|
715
|
+
*/
|
|
716
|
+
404: ApiError;
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
patch: {
|
|
720
|
+
req: UpdateTransactionData;
|
|
721
|
+
res: {
|
|
722
|
+
/**
|
|
723
|
+
* Transaction updated
|
|
724
|
+
*/
|
|
725
|
+
200: TransactionDetail;
|
|
726
|
+
/**
|
|
727
|
+
* Invalid request parameters
|
|
728
|
+
*/
|
|
729
|
+
400: ApiError;
|
|
730
|
+
/**
|
|
731
|
+
* Authentication required
|
|
732
|
+
*/
|
|
733
|
+
401: ApiError;
|
|
734
|
+
/**
|
|
735
|
+
* Resource not found
|
|
736
|
+
*/
|
|
737
|
+
404: ApiError;
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
delete: {
|
|
741
|
+
req: VoidTransactionData;
|
|
742
|
+
res: {
|
|
743
|
+
/**
|
|
744
|
+
* Transaction voided
|
|
745
|
+
*/
|
|
746
|
+
204: void;
|
|
747
|
+
/**
|
|
748
|
+
* Authentication required
|
|
749
|
+
*/
|
|
750
|
+
401: ApiError;
|
|
751
|
+
/**
|
|
752
|
+
* Resource not found
|
|
753
|
+
*/
|
|
754
|
+
404: ApiError;
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
'/{region}/bean/accounts': {
|
|
759
|
+
get: {
|
|
760
|
+
req: ListAccountsData;
|
|
761
|
+
res: {
|
|
762
|
+
/**
|
|
763
|
+
* List of accounts
|
|
764
|
+
*/
|
|
765
|
+
200: AccountListResponse;
|
|
766
|
+
/**
|
|
767
|
+
* Authentication required
|
|
768
|
+
*/
|
|
769
|
+
401: ApiError;
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
post: {
|
|
773
|
+
req: CreateAccountData;
|
|
774
|
+
res: {
|
|
775
|
+
/**
|
|
776
|
+
* Account created
|
|
777
|
+
*/
|
|
778
|
+
201: AccountResponse;
|
|
779
|
+
/**
|
|
780
|
+
* Invalid request parameters
|
|
781
|
+
*/
|
|
782
|
+
400: ApiError;
|
|
783
|
+
/**
|
|
784
|
+
* Authentication required
|
|
785
|
+
*/
|
|
786
|
+
401: ApiError;
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
'/{region}/bean/accounts/{id}': {
|
|
791
|
+
get: {
|
|
792
|
+
req: GetAccountData;
|
|
793
|
+
res: {
|
|
794
|
+
/**
|
|
795
|
+
* Account details
|
|
796
|
+
*/
|
|
797
|
+
200: AccountResponse;
|
|
798
|
+
/**
|
|
799
|
+
* Authentication required
|
|
800
|
+
*/
|
|
801
|
+
401: ApiError;
|
|
802
|
+
/**
|
|
803
|
+
* Resource not found
|
|
804
|
+
*/
|
|
805
|
+
404: ApiError;
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
put: {
|
|
809
|
+
req: UpdateAccountData;
|
|
810
|
+
res: {
|
|
811
|
+
/**
|
|
812
|
+
* Account updated
|
|
813
|
+
*/
|
|
814
|
+
200: AccountResponse;
|
|
815
|
+
/**
|
|
816
|
+
* Invalid request parameters
|
|
817
|
+
*/
|
|
818
|
+
400: ApiError;
|
|
819
|
+
/**
|
|
820
|
+
* Authentication required
|
|
821
|
+
*/
|
|
822
|
+
401: ApiError;
|
|
823
|
+
/**
|
|
824
|
+
* Resource not found
|
|
825
|
+
*/
|
|
826
|
+
404: ApiError;
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
delete: {
|
|
830
|
+
req: DeleteAccountData;
|
|
831
|
+
res: {
|
|
832
|
+
/**
|
|
833
|
+
* Account deleted
|
|
834
|
+
*/
|
|
835
|
+
204: void;
|
|
836
|
+
/**
|
|
837
|
+
* Authentication required
|
|
838
|
+
*/
|
|
839
|
+
401: ApiError;
|
|
840
|
+
/**
|
|
841
|
+
* Resource not found
|
|
842
|
+
*/
|
|
843
|
+
404: ApiError;
|
|
844
|
+
/**
|
|
845
|
+
* Resource conflict (e.g., account has postings)
|
|
846
|
+
*/
|
|
847
|
+
409: ApiError;
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
'/{region}/bean/accounts/{id}/close': {
|
|
852
|
+
post: {
|
|
853
|
+
req: CloseAccountData;
|
|
854
|
+
res: {
|
|
855
|
+
/**
|
|
856
|
+
* Account closed
|
|
857
|
+
*/
|
|
858
|
+
200: AccountResponse;
|
|
859
|
+
/**
|
|
860
|
+
* Authentication required
|
|
861
|
+
*/
|
|
862
|
+
401: ApiError;
|
|
863
|
+
/**
|
|
864
|
+
* Resource not found
|
|
865
|
+
*/
|
|
866
|
+
404: ApiError;
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
'/{region}/bean/accounts/{id}/reopen': {
|
|
871
|
+
post: {
|
|
872
|
+
req: ReopenAccountData;
|
|
873
|
+
res: {
|
|
874
|
+
/**
|
|
875
|
+
* Account reopened
|
|
876
|
+
*/
|
|
877
|
+
200: AccountResponse;
|
|
878
|
+
/**
|
|
879
|
+
* Authentication required
|
|
880
|
+
*/
|
|
881
|
+
401: ApiError;
|
|
882
|
+
/**
|
|
883
|
+
* Resource not found
|
|
884
|
+
*/
|
|
885
|
+
404: ApiError;
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
'/{region}/bean/commodities': {
|
|
890
|
+
get: {
|
|
891
|
+
req: ListCommoditiesData;
|
|
892
|
+
res: {
|
|
893
|
+
/**
|
|
894
|
+
* List of commodities
|
|
895
|
+
*/
|
|
896
|
+
200: CommodityListResponse;
|
|
897
|
+
/**
|
|
898
|
+
* Authentication required
|
|
899
|
+
*/
|
|
900
|
+
401: ApiError;
|
|
901
|
+
};
|
|
902
|
+
};
|
|
903
|
+
post: {
|
|
904
|
+
req: CreateCommodityData;
|
|
905
|
+
res: {
|
|
906
|
+
/**
|
|
907
|
+
* Commodity created
|
|
908
|
+
*/
|
|
909
|
+
201: CommodityResponse;
|
|
910
|
+
/**
|
|
911
|
+
* Invalid request parameters
|
|
912
|
+
*/
|
|
913
|
+
400: ApiError;
|
|
914
|
+
/**
|
|
915
|
+
* Authentication required
|
|
916
|
+
*/
|
|
917
|
+
401: ApiError;
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
'/{region}/bean/commodities/{symbol}': {
|
|
922
|
+
get: {
|
|
923
|
+
req: GetCommodityData;
|
|
924
|
+
res: {
|
|
925
|
+
/**
|
|
926
|
+
* Commodity details
|
|
927
|
+
*/
|
|
928
|
+
200: CommodityResponse;
|
|
929
|
+
/**
|
|
930
|
+
* Authentication required
|
|
931
|
+
*/
|
|
932
|
+
401: ApiError;
|
|
933
|
+
/**
|
|
934
|
+
* Resource not found
|
|
935
|
+
*/
|
|
936
|
+
404: ApiError;
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
put: {
|
|
940
|
+
req: UpdateCommodityData;
|
|
941
|
+
res: {
|
|
942
|
+
/**
|
|
943
|
+
* Commodity updated
|
|
944
|
+
*/
|
|
945
|
+
200: CommodityResponse;
|
|
946
|
+
/**
|
|
947
|
+
* Invalid request parameters
|
|
948
|
+
*/
|
|
949
|
+
400: ApiError;
|
|
950
|
+
/**
|
|
951
|
+
* Authentication required
|
|
952
|
+
*/
|
|
953
|
+
401: ApiError;
|
|
954
|
+
/**
|
|
955
|
+
* Resource not found
|
|
956
|
+
*/
|
|
957
|
+
404: ApiError;
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
delete: {
|
|
961
|
+
req: DeleteCommodityData;
|
|
962
|
+
res: {
|
|
963
|
+
/**
|
|
964
|
+
* Commodity deleted
|
|
965
|
+
*/
|
|
966
|
+
204: void;
|
|
967
|
+
/**
|
|
968
|
+
* Authentication required
|
|
969
|
+
*/
|
|
970
|
+
401: ApiError;
|
|
971
|
+
/**
|
|
972
|
+
* Resource not found
|
|
973
|
+
*/
|
|
974
|
+
404: ApiError;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
'/{region}/bean/commodities/{symbol}/ensure': {
|
|
979
|
+
post: {
|
|
980
|
+
req: EnsureCommodityData;
|
|
981
|
+
res: {
|
|
982
|
+
/**
|
|
983
|
+
* Commodity found or created
|
|
984
|
+
*/
|
|
985
|
+
200: CommodityResponse;
|
|
986
|
+
/**
|
|
987
|
+
* Authentication required
|
|
988
|
+
*/
|
|
989
|
+
401: ApiError;
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
'/{region}/bean/commodities/bulk': {
|
|
994
|
+
post: {
|
|
995
|
+
req: BulkCreateCommoditiesData;
|
|
996
|
+
res: {
|
|
997
|
+
/**
|
|
998
|
+
* Commodities created
|
|
999
|
+
*/
|
|
1000
|
+
201: CommodityListResponse;
|
|
1001
|
+
/**
|
|
1002
|
+
* Invalid request parameters
|
|
1003
|
+
*/
|
|
1004
|
+
400: ApiError;
|
|
1005
|
+
/**
|
|
1006
|
+
* Authentication required
|
|
1007
|
+
*/
|
|
1008
|
+
401: ApiError;
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
'/{region}/bean/prices': {
|
|
1013
|
+
get: {
|
|
1014
|
+
req: ListPricesData;
|
|
1015
|
+
res: {
|
|
1016
|
+
/**
|
|
1017
|
+
* List of prices
|
|
1018
|
+
*/
|
|
1019
|
+
200: PriceListResponse;
|
|
1020
|
+
/**
|
|
1021
|
+
* Authentication required
|
|
1022
|
+
*/
|
|
1023
|
+
401: ApiError;
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
post: {
|
|
1027
|
+
req: CreatePriceData;
|
|
1028
|
+
res: {
|
|
1029
|
+
/**
|
|
1030
|
+
* Price created
|
|
1031
|
+
*/
|
|
1032
|
+
201: PriceResponse;
|
|
1033
|
+
/**
|
|
1034
|
+
* Invalid request parameters
|
|
1035
|
+
*/
|
|
1036
|
+
400: ApiError;
|
|
1037
|
+
/**
|
|
1038
|
+
* Authentication required
|
|
1039
|
+
*/
|
|
1040
|
+
401: ApiError;
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
'/{region}/bean/prices/{id}': {
|
|
1045
|
+
get: {
|
|
1046
|
+
req: GetPriceData;
|
|
1047
|
+
res: {
|
|
1048
|
+
/**
|
|
1049
|
+
* Price details
|
|
1050
|
+
*/
|
|
1051
|
+
200: PriceResponse;
|
|
1052
|
+
/**
|
|
1053
|
+
* Authentication required
|
|
1054
|
+
*/
|
|
1055
|
+
401: ApiError;
|
|
1056
|
+
/**
|
|
1057
|
+
* Resource not found
|
|
1058
|
+
*/
|
|
1059
|
+
404: ApiError;
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
put: {
|
|
1063
|
+
req: UpdatePriceData;
|
|
1064
|
+
res: {
|
|
1065
|
+
/**
|
|
1066
|
+
* Price updated
|
|
1067
|
+
*/
|
|
1068
|
+
200: PriceResponse;
|
|
1069
|
+
/**
|
|
1070
|
+
* Invalid request parameters
|
|
1071
|
+
*/
|
|
1072
|
+
400: ApiError;
|
|
1073
|
+
/**
|
|
1074
|
+
* Authentication required
|
|
1075
|
+
*/
|
|
1076
|
+
401: ApiError;
|
|
1077
|
+
/**
|
|
1078
|
+
* Resource not found
|
|
1079
|
+
*/
|
|
1080
|
+
404: ApiError;
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
delete: {
|
|
1084
|
+
req: DeletePriceData;
|
|
1085
|
+
res: {
|
|
1086
|
+
/**
|
|
1087
|
+
* Price deleted
|
|
1088
|
+
*/
|
|
1089
|
+
204: void;
|
|
1090
|
+
/**
|
|
1091
|
+
* Authentication required
|
|
1092
|
+
*/
|
|
1093
|
+
401: ApiError;
|
|
1094
|
+
/**
|
|
1095
|
+
* Resource not found
|
|
1096
|
+
*/
|
|
1097
|
+
404: ApiError;
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
'/{region}/bean/prices/bulk': {
|
|
1102
|
+
post: {
|
|
1103
|
+
req: BulkCreatePricesData;
|
|
1104
|
+
res: {
|
|
1105
|
+
/**
|
|
1106
|
+
* Prices created
|
|
1107
|
+
*/
|
|
1108
|
+
201: PriceListResponse;
|
|
1109
|
+
/**
|
|
1110
|
+
* Invalid request parameters
|
|
1111
|
+
*/
|
|
1112
|
+
400: ApiError;
|
|
1113
|
+
/**
|
|
1114
|
+
* Authentication required
|
|
1115
|
+
*/
|
|
1116
|
+
401: ApiError;
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
'/{region}/bean/balances': {
|
|
1121
|
+
get: {
|
|
1122
|
+
req: GetBalanceData;
|
|
1123
|
+
res: {
|
|
1124
|
+
/**
|
|
1125
|
+
* Balance result
|
|
1126
|
+
*/
|
|
1127
|
+
200: BalanceResponse;
|
|
1128
|
+
/**
|
|
1129
|
+
* Invalid request parameters
|
|
1130
|
+
*/
|
|
1131
|
+
400: ApiError;
|
|
1132
|
+
/**
|
|
1133
|
+
* Authentication required
|
|
1134
|
+
*/
|
|
1135
|
+
401: ApiError;
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
'/{region}/bean/balances/multi-currency': {
|
|
1140
|
+
get: {
|
|
1141
|
+
req: GetMultiCurrencyBalanceData;
|
|
1142
|
+
res: {
|
|
1143
|
+
/**
|
|
1144
|
+
* Multi-currency balance result
|
|
1145
|
+
*/
|
|
1146
|
+
200: MultiCurrencyBalanceResponse;
|
|
1147
|
+
/**
|
|
1148
|
+
* Invalid request parameters
|
|
1149
|
+
*/
|
|
1150
|
+
400: ApiError;
|
|
1151
|
+
/**
|
|
1152
|
+
* Authentication required
|
|
1153
|
+
*/
|
|
1154
|
+
401: ApiError;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
//# sourceMappingURL=types.gen.d.ts.map
|