@devizovaburza/payments-api-sdk 1.3.0 → 1.3.2-canary.cb69d30f
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/v1/index.cjs +24 -0
- package/dist/v1/index.d.cts +1810 -0
- package/dist/v1/index.d.mts +134 -0
- package/dist/v1/index.d.ts +134 -0
- package/package.json +3 -2
package/dist/v1/index.d.mts
CHANGED
|
@@ -308,6 +308,139 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
|
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
310
|
};
|
|
311
|
+
} & {
|
|
312
|
+
v1: {
|
|
313
|
+
organizations: {
|
|
314
|
+
":id": {
|
|
315
|
+
accounts: {
|
|
316
|
+
":accountId": {
|
|
317
|
+
balance: hono_client.ClientRequest<string, "/v1/organizations/:id/accounts/:accountId/balance", {
|
|
318
|
+
$get: {
|
|
319
|
+
input: {
|
|
320
|
+
param: {
|
|
321
|
+
id: string;
|
|
322
|
+
accountId: string;
|
|
323
|
+
} & {
|
|
324
|
+
[x: string]: string;
|
|
325
|
+
[x: number]: string;
|
|
326
|
+
[x: symbol]: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
output: {
|
|
330
|
+
balances: {
|
|
331
|
+
amount: {
|
|
332
|
+
value: number;
|
|
333
|
+
currency: string;
|
|
334
|
+
};
|
|
335
|
+
balanceType: "AVAILABLE" | "VALUTA" | "GPE_AVAILABLE" | "MULTI_AVAILABLE";
|
|
336
|
+
balanceDate: string;
|
|
337
|
+
}[];
|
|
338
|
+
};
|
|
339
|
+
outputFormat: "json";
|
|
340
|
+
status: 200;
|
|
341
|
+
} | {
|
|
342
|
+
input: {
|
|
343
|
+
param: {
|
|
344
|
+
id: string;
|
|
345
|
+
accountId: string;
|
|
346
|
+
} & {
|
|
347
|
+
[x: string]: string;
|
|
348
|
+
[x: number]: string;
|
|
349
|
+
[x: symbol]: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
output: {
|
|
353
|
+
message: string;
|
|
354
|
+
};
|
|
355
|
+
outputFormat: "json";
|
|
356
|
+
status: 400;
|
|
357
|
+
} | {
|
|
358
|
+
input: {
|
|
359
|
+
param: {
|
|
360
|
+
id: string;
|
|
361
|
+
accountId: string;
|
|
362
|
+
} & {
|
|
363
|
+
[x: string]: string;
|
|
364
|
+
[x: number]: string;
|
|
365
|
+
[x: symbol]: string;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
output: {
|
|
369
|
+
message: string;
|
|
370
|
+
};
|
|
371
|
+
outputFormat: "json";
|
|
372
|
+
status: 403;
|
|
373
|
+
} | {
|
|
374
|
+
input: {
|
|
375
|
+
param: {
|
|
376
|
+
id: string;
|
|
377
|
+
accountId: string;
|
|
378
|
+
} & {
|
|
379
|
+
[x: string]: string;
|
|
380
|
+
[x: number]: string;
|
|
381
|
+
[x: symbol]: string;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
output: {
|
|
385
|
+
message: string;
|
|
386
|
+
};
|
|
387
|
+
outputFormat: "json";
|
|
388
|
+
status: 404;
|
|
389
|
+
} | {
|
|
390
|
+
input: {
|
|
391
|
+
param: {
|
|
392
|
+
id: string;
|
|
393
|
+
accountId: string;
|
|
394
|
+
} & {
|
|
395
|
+
[x: string]: string;
|
|
396
|
+
[x: number]: string;
|
|
397
|
+
[x: symbol]: string;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
output: {
|
|
401
|
+
message: string;
|
|
402
|
+
};
|
|
403
|
+
outputFormat: "json";
|
|
404
|
+
status: 500;
|
|
405
|
+
} | {
|
|
406
|
+
input: {
|
|
407
|
+
param: {
|
|
408
|
+
id: string;
|
|
409
|
+
accountId: string;
|
|
410
|
+
} & {
|
|
411
|
+
[x: string]: string;
|
|
412
|
+
[x: number]: string;
|
|
413
|
+
[x: symbol]: string;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
output: {
|
|
417
|
+
message: string;
|
|
418
|
+
};
|
|
419
|
+
outputFormat: "json";
|
|
420
|
+
status: 501;
|
|
421
|
+
} | {
|
|
422
|
+
input: {
|
|
423
|
+
param: {
|
|
424
|
+
id: string;
|
|
425
|
+
accountId: string;
|
|
426
|
+
} & {
|
|
427
|
+
[x: string]: string;
|
|
428
|
+
[x: number]: string;
|
|
429
|
+
[x: symbol]: string;
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
output: {
|
|
433
|
+
message: string;
|
|
434
|
+
};
|
|
435
|
+
outputFormat: "json";
|
|
436
|
+
status: 503;
|
|
437
|
+
};
|
|
438
|
+
}>;
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
};
|
|
311
444
|
} & {
|
|
312
445
|
v1: {
|
|
313
446
|
organizations: {
|
|
@@ -1288,6 +1421,7 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
|
|
|
1288
1421
|
};
|
|
1289
1422
|
output: {
|
|
1290
1423
|
message: string;
|
|
1424
|
+
name: string;
|
|
1291
1425
|
publicKey: string;
|
|
1292
1426
|
privateKey: string;
|
|
1293
1427
|
};
|
package/dist/v1/index.d.ts
CHANGED
|
@@ -308,6 +308,139 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
|
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
310
|
};
|
|
311
|
+
} & {
|
|
312
|
+
v1: {
|
|
313
|
+
organizations: {
|
|
314
|
+
":id": {
|
|
315
|
+
accounts: {
|
|
316
|
+
":accountId": {
|
|
317
|
+
balance: hono_client.ClientRequest<string, "/v1/organizations/:id/accounts/:accountId/balance", {
|
|
318
|
+
$get: {
|
|
319
|
+
input: {
|
|
320
|
+
param: {
|
|
321
|
+
id: string;
|
|
322
|
+
accountId: string;
|
|
323
|
+
} & {
|
|
324
|
+
[x: string]: string;
|
|
325
|
+
[x: number]: string;
|
|
326
|
+
[x: symbol]: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
output: {
|
|
330
|
+
balances: {
|
|
331
|
+
amount: {
|
|
332
|
+
value: number;
|
|
333
|
+
currency: string;
|
|
334
|
+
};
|
|
335
|
+
balanceType: "AVAILABLE" | "VALUTA" | "GPE_AVAILABLE" | "MULTI_AVAILABLE";
|
|
336
|
+
balanceDate: string;
|
|
337
|
+
}[];
|
|
338
|
+
};
|
|
339
|
+
outputFormat: "json";
|
|
340
|
+
status: 200;
|
|
341
|
+
} | {
|
|
342
|
+
input: {
|
|
343
|
+
param: {
|
|
344
|
+
id: string;
|
|
345
|
+
accountId: string;
|
|
346
|
+
} & {
|
|
347
|
+
[x: string]: string;
|
|
348
|
+
[x: number]: string;
|
|
349
|
+
[x: symbol]: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
output: {
|
|
353
|
+
message: string;
|
|
354
|
+
};
|
|
355
|
+
outputFormat: "json";
|
|
356
|
+
status: 400;
|
|
357
|
+
} | {
|
|
358
|
+
input: {
|
|
359
|
+
param: {
|
|
360
|
+
id: string;
|
|
361
|
+
accountId: string;
|
|
362
|
+
} & {
|
|
363
|
+
[x: string]: string;
|
|
364
|
+
[x: number]: string;
|
|
365
|
+
[x: symbol]: string;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
output: {
|
|
369
|
+
message: string;
|
|
370
|
+
};
|
|
371
|
+
outputFormat: "json";
|
|
372
|
+
status: 403;
|
|
373
|
+
} | {
|
|
374
|
+
input: {
|
|
375
|
+
param: {
|
|
376
|
+
id: string;
|
|
377
|
+
accountId: string;
|
|
378
|
+
} & {
|
|
379
|
+
[x: string]: string;
|
|
380
|
+
[x: number]: string;
|
|
381
|
+
[x: symbol]: string;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
output: {
|
|
385
|
+
message: string;
|
|
386
|
+
};
|
|
387
|
+
outputFormat: "json";
|
|
388
|
+
status: 404;
|
|
389
|
+
} | {
|
|
390
|
+
input: {
|
|
391
|
+
param: {
|
|
392
|
+
id: string;
|
|
393
|
+
accountId: string;
|
|
394
|
+
} & {
|
|
395
|
+
[x: string]: string;
|
|
396
|
+
[x: number]: string;
|
|
397
|
+
[x: symbol]: string;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
output: {
|
|
401
|
+
message: string;
|
|
402
|
+
};
|
|
403
|
+
outputFormat: "json";
|
|
404
|
+
status: 500;
|
|
405
|
+
} | {
|
|
406
|
+
input: {
|
|
407
|
+
param: {
|
|
408
|
+
id: string;
|
|
409
|
+
accountId: string;
|
|
410
|
+
} & {
|
|
411
|
+
[x: string]: string;
|
|
412
|
+
[x: number]: string;
|
|
413
|
+
[x: symbol]: string;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
output: {
|
|
417
|
+
message: string;
|
|
418
|
+
};
|
|
419
|
+
outputFormat: "json";
|
|
420
|
+
status: 501;
|
|
421
|
+
} | {
|
|
422
|
+
input: {
|
|
423
|
+
param: {
|
|
424
|
+
id: string;
|
|
425
|
+
accountId: string;
|
|
426
|
+
} & {
|
|
427
|
+
[x: string]: string;
|
|
428
|
+
[x: number]: string;
|
|
429
|
+
[x: symbol]: string;
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
output: {
|
|
433
|
+
message: string;
|
|
434
|
+
};
|
|
435
|
+
outputFormat: "json";
|
|
436
|
+
status: 503;
|
|
437
|
+
};
|
|
438
|
+
}>;
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
};
|
|
311
444
|
} & {
|
|
312
445
|
v1: {
|
|
313
446
|
organizations: {
|
|
@@ -1288,6 +1421,7 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
|
|
|
1288
1421
|
};
|
|
1289
1422
|
output: {
|
|
1290
1423
|
message: string;
|
|
1424
|
+
name: string;
|
|
1291
1425
|
publicKey: string;
|
|
1292
1426
|
privateKey: string;
|
|
1293
1427
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devizovaburza/payments-api-sdk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2-canary.cb69d30f",
|
|
4
4
|
"author": "Devizová burza a.s.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"exports": {
|
|
12
12
|
"./v1": {
|
|
13
13
|
"types": "./dist/v1/index.d.ts",
|
|
14
|
-
"import": "./dist/v1/index.mjs"
|
|
14
|
+
"import": "./dist/v1/index.mjs",
|
|
15
|
+
"require": "./dist/v1/index.cjs"
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
"files": [
|