@devizovaburza/payments-api-sdk 1.3.2 → 1.3.4

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.
@@ -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: {
@@ -359,12 +492,14 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
359
492
  debtor: {
360
493
  name: string | null;
361
494
  iban: string | null;
495
+ accountNumber?: string | undefined;
362
496
  accountId?: string | undefined;
363
497
  bankCode?: string | undefined;
364
498
  };
365
499
  creditor: {
366
500
  name: string | null;
367
501
  iban?: string | undefined;
502
+ accountNumber?: string | undefined;
368
503
  bankCode?: string | undefined;
369
504
  swiftBic?: string | undefined;
370
505
  address?: {
@@ -502,10 +637,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
502
637
  iban: string | null;
503
638
  accountId: string;
504
639
  bankCode: string | null;
640
+ accountNumber?: string | undefined;
505
641
  };
506
642
  creditor: {
507
643
  name: string | null;
508
644
  iban?: string | undefined;
645
+ accountNumber?: string | undefined;
509
646
  bankCode?: string | undefined;
510
647
  swiftBic?: string | undefined;
511
648
  address?: {
@@ -641,10 +778,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
641
778
  iban: string | null;
642
779
  accountId: string;
643
780
  bankCode: string | null;
781
+ accountNumber?: string | undefined;
644
782
  };
645
783
  creditor: {
646
784
  name: string | null;
647
785
  iban?: string | undefined;
786
+ accountNumber?: string | undefined;
648
787
  bankCode?: string | undefined;
649
788
  swiftBic?: string | undefined;
650
789
  address?: {
@@ -934,10 +1073,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
934
1073
  iban: string | null;
935
1074
  accountId: string;
936
1075
  bankCode: string | null;
1076
+ accountNumber?: string | undefined;
937
1077
  };
938
1078
  creditor: {
939
1079
  name: string | null;
940
1080
  iban?: string | undefined;
1081
+ accountNumber?: string | undefined;
941
1082
  bankCode?: string | undefined;
942
1083
  swiftBic?: string | undefined;
943
1084
  address?: {
@@ -1202,10 +1343,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
1202
1343
  iban: string | null;
1203
1344
  accountId: string;
1204
1345
  bankCode: string | null;
1346
+ accountNumber?: string | undefined;
1205
1347
  };
1206
1348
  creditor: {
1207
1349
  name: string | null;
1208
1350
  iban?: string | undefined;
1351
+ accountNumber?: string | undefined;
1209
1352
  bankCode?: string | undefined;
1210
1353
  swiftBic?: string | undefined;
1211
1354
  address?: {
@@ -1288,6 +1431,7 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
1288
1431
  };
1289
1432
  output: {
1290
1433
  message: string;
1434
+ name: string;
1291
1435
  publicKey: string;
1292
1436
  privateKey: string;
1293
1437
  };
@@ -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: {
@@ -359,12 +492,14 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
359
492
  debtor: {
360
493
  name: string | null;
361
494
  iban: string | null;
495
+ accountNumber?: string | undefined;
362
496
  accountId?: string | undefined;
363
497
  bankCode?: string | undefined;
364
498
  };
365
499
  creditor: {
366
500
  name: string | null;
367
501
  iban?: string | undefined;
502
+ accountNumber?: string | undefined;
368
503
  bankCode?: string | undefined;
369
504
  swiftBic?: string | undefined;
370
505
  address?: {
@@ -502,10 +637,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
502
637
  iban: string | null;
503
638
  accountId: string;
504
639
  bankCode: string | null;
640
+ accountNumber?: string | undefined;
505
641
  };
506
642
  creditor: {
507
643
  name: string | null;
508
644
  iban?: string | undefined;
645
+ accountNumber?: string | undefined;
509
646
  bankCode?: string | undefined;
510
647
  swiftBic?: string | undefined;
511
648
  address?: {
@@ -641,10 +778,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
641
778
  iban: string | null;
642
779
  accountId: string;
643
780
  bankCode: string | null;
781
+ accountNumber?: string | undefined;
644
782
  };
645
783
  creditor: {
646
784
  name: string | null;
647
785
  iban?: string | undefined;
786
+ accountNumber?: string | undefined;
648
787
  bankCode?: string | undefined;
649
788
  swiftBic?: string | undefined;
650
789
  address?: {
@@ -934,10 +1073,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
934
1073
  iban: string | null;
935
1074
  accountId: string;
936
1075
  bankCode: string | null;
1076
+ accountNumber?: string | undefined;
937
1077
  };
938
1078
  creditor: {
939
1079
  name: string | null;
940
1080
  iban?: string | undefined;
1081
+ accountNumber?: string | undefined;
941
1082
  bankCode?: string | undefined;
942
1083
  swiftBic?: string | undefined;
943
1084
  address?: {
@@ -1202,10 +1343,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
1202
1343
  iban: string | null;
1203
1344
  accountId: string;
1204
1345
  bankCode: string | null;
1346
+ accountNumber?: string | undefined;
1205
1347
  };
1206
1348
  creditor: {
1207
1349
  name: string | null;
1208
1350
  iban?: string | undefined;
1351
+ accountNumber?: string | undefined;
1209
1352
  bankCode?: string | undefined;
1210
1353
  swiftBic?: string | undefined;
1211
1354
  address?: {
@@ -1288,6 +1431,7 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
1288
1431
  };
1289
1432
  output: {
1290
1433
  message: string;
1434
+ name: string;
1291
1435
  publicKey: string;
1292
1436
  privateKey: string;
1293
1437
  };
@@ -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: {
@@ -359,12 +492,14 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
359
492
  debtor: {
360
493
  name: string | null;
361
494
  iban: string | null;
495
+ accountNumber?: string | undefined;
362
496
  accountId?: string | undefined;
363
497
  bankCode?: string | undefined;
364
498
  };
365
499
  creditor: {
366
500
  name: string | null;
367
501
  iban?: string | undefined;
502
+ accountNumber?: string | undefined;
368
503
  bankCode?: string | undefined;
369
504
  swiftBic?: string | undefined;
370
505
  address?: {
@@ -502,10 +637,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
502
637
  iban: string | null;
503
638
  accountId: string;
504
639
  bankCode: string | null;
640
+ accountNumber?: string | undefined;
505
641
  };
506
642
  creditor: {
507
643
  name: string | null;
508
644
  iban?: string | undefined;
645
+ accountNumber?: string | undefined;
509
646
  bankCode?: string | undefined;
510
647
  swiftBic?: string | undefined;
511
648
  address?: {
@@ -641,10 +778,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
641
778
  iban: string | null;
642
779
  accountId: string;
643
780
  bankCode: string | null;
781
+ accountNumber?: string | undefined;
644
782
  };
645
783
  creditor: {
646
784
  name: string | null;
647
785
  iban?: string | undefined;
786
+ accountNumber?: string | undefined;
648
787
  bankCode?: string | undefined;
649
788
  swiftBic?: string | undefined;
650
789
  address?: {
@@ -934,10 +1073,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
934
1073
  iban: string | null;
935
1074
  accountId: string;
936
1075
  bankCode: string | null;
1076
+ accountNumber?: string | undefined;
937
1077
  };
938
1078
  creditor: {
939
1079
  name: string | null;
940
1080
  iban?: string | undefined;
1081
+ accountNumber?: string | undefined;
941
1082
  bankCode?: string | undefined;
942
1083
  swiftBic?: string | undefined;
943
1084
  address?: {
@@ -1202,10 +1343,12 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
1202
1343
  iban: string | null;
1203
1344
  accountId: string;
1204
1345
  bankCode: string | null;
1346
+ accountNumber?: string | undefined;
1205
1347
  };
1206
1348
  creditor: {
1207
1349
  name: string | null;
1208
1350
  iban?: string | undefined;
1351
+ accountNumber?: string | undefined;
1209
1352
  bankCode?: string | undefined;
1210
1353
  swiftBic?: string | undefined;
1211
1354
  address?: {
@@ -1288,6 +1431,7 @@ declare const createPartnerApiClient: (...args: Parameters<typeof hc>) => {
1288
1431
  };
1289
1432
  output: {
1290
1433
  message: string;
1434
+ name: string;
1291
1435
  publicKey: string;
1292
1436
  privateKey: string;
1293
1437
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devizovaburza/payments-api-sdk",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "author": "Devizová burza a.s.",
5
5
  "license": "ISC",
6
6
  "type": "module",