squarefi-bff-api-module 1.22.13 → 1.22.14
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.
|
@@ -1864,7 +1864,7 @@ export interface components {
|
|
|
1864
1864
|
fullPath: string;
|
|
1865
1865
|
};
|
|
1866
1866
|
CounterpartiesFilter: {
|
|
1867
|
-
email?: string
|
|
1867
|
+
email?: string;
|
|
1868
1868
|
/** @description Phone number */
|
|
1869
1869
|
phone?: string;
|
|
1870
1870
|
name?: string;
|
|
@@ -1876,9 +1876,9 @@ export interface components {
|
|
|
1876
1876
|
};
|
|
1877
1877
|
CounterpartyAccountDto: {
|
|
1878
1878
|
id: string;
|
|
1879
|
-
email
|
|
1879
|
+
email: string;
|
|
1880
1880
|
/** @description Phone number */
|
|
1881
|
-
phone
|
|
1881
|
+
phone: string;
|
|
1882
1882
|
name: string;
|
|
1883
1883
|
nickname?: string | null;
|
|
1884
1884
|
/** @enum {string} */
|
|
@@ -1892,16 +1892,16 @@ export interface components {
|
|
|
1892
1892
|
data: components["schemas"]["CounterpartyAccountDto"][];
|
|
1893
1893
|
};
|
|
1894
1894
|
CreateCounterpartyAccountDto: {
|
|
1895
|
-
email
|
|
1895
|
+
email: string;
|
|
1896
1896
|
/** @description Phone number */
|
|
1897
|
-
phone
|
|
1897
|
+
phone: string;
|
|
1898
1898
|
name: string;
|
|
1899
1899
|
nickname?: string | null;
|
|
1900
1900
|
/** @enum {string} */
|
|
1901
1901
|
type: "INDIVIDUAL" | "BUSINESS";
|
|
1902
1902
|
};
|
|
1903
1903
|
UpdateCounterpartyAccountDto: {
|
|
1904
|
-
email?: string
|
|
1904
|
+
email?: string;
|
|
1905
1905
|
/** @description Phone number */
|
|
1906
1906
|
phone?: string;
|
|
1907
1907
|
name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType,
|
|
1
|
+
import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CurrencyType, IssuingProgramStatus, KYCStatuses, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
|
|
2
2
|
import { WalletType } from '../..';
|
|
3
3
|
import { components, operations } from './autogen/apiV2.types';
|
|
4
4
|
export declare namespace API {
|
|
@@ -370,42 +370,17 @@ export declare namespace API {
|
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
namespace Counterparties {
|
|
373
|
-
|
|
374
|
-
id: string;
|
|
375
|
-
email?: string | null;
|
|
376
|
-
phone?: string | null;
|
|
377
|
-
name: string;
|
|
378
|
-
nickname?: string | null;
|
|
379
|
-
type: CounterpartyType | string;
|
|
380
|
-
created_at: string;
|
|
381
|
-
}
|
|
373
|
+
type Counterparty = components['schemas']['CounterpartyAccountDto'];
|
|
382
374
|
namespace Destination {
|
|
383
375
|
namespace List {
|
|
384
376
|
interface DestinationListItemCommonFields {
|
|
385
377
|
id: string;
|
|
386
378
|
nickname: string;
|
|
387
|
-
type:
|
|
379
|
+
type: components['schemas']['CounterpartyDestinationDto']['type'];
|
|
388
380
|
created_at: string;
|
|
389
381
|
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
routing_number: string;
|
|
393
|
-
bank_name: string;
|
|
394
|
-
note: string;
|
|
395
|
-
swift_bic: string;
|
|
396
|
-
address: {
|
|
397
|
-
city: string;
|
|
398
|
-
country_id: number;
|
|
399
|
-
postcode: string;
|
|
400
|
-
street1: string;
|
|
401
|
-
street2?: string;
|
|
402
|
-
};
|
|
403
|
-
}
|
|
404
|
-
interface DestinationListItemExternalCryptoData {
|
|
405
|
-
address: string;
|
|
406
|
-
currency_id: string;
|
|
407
|
-
memo?: string;
|
|
408
|
-
}
|
|
382
|
+
type DestinationListItemExternalBankingData = components['schemas']['CounterpartyExternalBankingDataDto'];
|
|
383
|
+
type DestinationListItemExternalCryptoData = components['schemas']['CounterpartyExternalCryptoDataDto'];
|
|
409
384
|
interface DestinationListItemWithExternalBankingData extends DestinationListItemCommonFields {
|
|
410
385
|
type: CounterpartyDestinationType.DOMESTIC_WIRE | CounterpartyDestinationType.ACH | CounterpartyDestinationType.SWIFT | CounterpartyDestinationType.SEPA;
|
|
411
386
|
external_banking_data: DestinationListItemExternalBankingData;
|
|
@@ -417,25 +392,11 @@ export declare namespace API {
|
|
|
417
392
|
external_crypto_data: DestinationListItemExternalCryptoData;
|
|
418
393
|
}
|
|
419
394
|
type CounterpartyDestinationListItem = DestinationListItemWithExternalBankingData | DestinationListItemWithExternalCryptoData;
|
|
420
|
-
|
|
395
|
+
type Request = operations['CounterpartyAccountsController_findAll']['parameters']['query'] & {
|
|
421
396
|
wallet_id: string;
|
|
422
397
|
counterparty_account_id: string;
|
|
423
|
-
limit?: number;
|
|
424
|
-
offset?: number;
|
|
425
|
-
search?: string;
|
|
426
|
-
type?: CounterpartyDestinationType | string;
|
|
427
|
-
sort_by?: 'created_at' | 'nickname' | 'type';
|
|
428
|
-
sort_order?: SortingDirection;
|
|
429
|
-
filter?: {
|
|
430
|
-
type?: CounterpartyDestinationType;
|
|
431
|
-
nickname?: string;
|
|
432
|
-
created_at?: string;
|
|
433
|
-
};
|
|
434
|
-
}
|
|
435
|
-
type Response = {
|
|
436
|
-
total: number;
|
|
437
|
-
data: CounterpartyDestinationListItem[];
|
|
438
398
|
};
|
|
399
|
+
type Response = operations['CounterpartyAccountsController_findAll']['responses']['200']['content']['application/json'];
|
|
439
400
|
}
|
|
440
401
|
namespace Detail {
|
|
441
402
|
type DestinationDetailItemCommonFields = API.Counterparties.Destination.List.DestinationListItemCommonFields;
|
|
@@ -444,9 +405,7 @@ export declare namespace API {
|
|
|
444
405
|
country?: API.Location.Countries.Country;
|
|
445
406
|
};
|
|
446
407
|
}
|
|
447
|
-
|
|
448
|
-
currency: API.Currencies.Currency;
|
|
449
|
-
}
|
|
408
|
+
type DestinationDetailItemExternalCryptoData = API.Counterparties.Destination.List.DestinationListItemExternalCryptoData;
|
|
450
409
|
interface DestinationDetailItemWithExternalBankingData extends DestinationDetailItemCommonFields {
|
|
451
410
|
type: CounterpartyDestinationType.DOMESTIC_WIRE | CounterpartyDestinationType.ACH | CounterpartyDestinationType.SWIFT | CounterpartyDestinationType.SEPA;
|
|
452
411
|
external_banking_data: DestinationDetailItemExternalBankingData;
|
|
@@ -458,79 +417,45 @@ export declare namespace API {
|
|
|
458
417
|
external_crypto_data: DestinationDetailItemExternalCryptoData;
|
|
459
418
|
}
|
|
460
419
|
type DestinationDetailItem = DestinationDetailItemWithExternalBankingData | DestinationDetailItemWithExternalCryptoData;
|
|
461
|
-
|
|
420
|
+
type Request = operations['CounterpartyDestinationsController_findOne']['parameters']['path'] & {
|
|
462
421
|
wallet_id: string;
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
}
|
|
466
|
-
type Response = DestinationDetailItem;
|
|
422
|
+
};
|
|
423
|
+
type Response = operations['CounterpartyDestinationsController_findOne']['responses']['200']['content']['application/json'];
|
|
467
424
|
}
|
|
468
425
|
namespace Create {
|
|
469
|
-
|
|
426
|
+
type Request = operations['CounterpartyDestinationsController_create']['requestBody']['content']['application/json'] & operations['CounterpartyDestinationsController_create']['parameters']['path'] & {
|
|
470
427
|
wallet_id: string;
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
nickname: string;
|
|
474
|
-
external_banking_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalBankingData;
|
|
475
|
-
external_crypto_data?: Pick<API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData, 'currency_id' | 'address' | 'memo'>;
|
|
476
|
-
}
|
|
477
|
-
type Response = API.Counterparties.Destination.Detail.DestinationDetailItem;
|
|
428
|
+
};
|
|
429
|
+
type Response = operations['CounterpartyDestinationsController_create']['responses']['200']['content']['application/json'];
|
|
478
430
|
}
|
|
479
431
|
namespace Delete {
|
|
480
|
-
|
|
432
|
+
type Request = operations['CounterpartyDestinationsController_delete']['parameters']['path'] & {
|
|
481
433
|
wallet_id: string;
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
}
|
|
434
|
+
};
|
|
435
|
+
type Response = operations['CounterpartyDestinationsController_delete']['responses']['200']['content']['application/json'];
|
|
485
436
|
}
|
|
486
437
|
namespace Update {
|
|
487
|
-
|
|
438
|
+
type Request = operations['CounterpartyDestinationsController_update']['requestBody']['content']['application/json'] & operations['CounterpartyDestinationsController_update']['parameters']['path'] & {
|
|
488
439
|
wallet_id: string;
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
nickname: string;
|
|
492
|
-
}
|
|
493
|
-
type Response = API.Counterparties.Destination.Detail.DestinationDetailItemCommonFields;
|
|
440
|
+
};
|
|
441
|
+
type Response = operations['CounterpartyDestinationsController_update']['responses']['200']['content']['application/json'];
|
|
494
442
|
}
|
|
495
443
|
}
|
|
496
444
|
namespace GetById {
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
counterparty_account_id: string;
|
|
500
|
-
}
|
|
501
|
-
type Response = Counterparty;
|
|
445
|
+
type Request = operations['CounterpartyAccountsController_findOne']['parameters']['path'] & operations['CounterpartyAccountsController_findOne']['parameters']['query'];
|
|
446
|
+
type Response = operations['CounterpartyAccountsController_findOne']['responses']['200']['content']['application/json'];
|
|
502
447
|
}
|
|
503
448
|
namespace List {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
offset?: number;
|
|
507
|
-
limit?: number;
|
|
508
|
-
sort_by?: 'created_at' | 'nickname' | 'type' | 'email' | 'phone';
|
|
509
|
-
sort_order?: SortingDirection;
|
|
510
|
-
filter?: {
|
|
511
|
-
type?: CounterpartyDestinationType;
|
|
512
|
-
nickname?: string;
|
|
513
|
-
created_at?: string;
|
|
514
|
-
search?: string;
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
type Response = {
|
|
518
|
-
total: number;
|
|
519
|
-
data: Counterparty[];
|
|
520
|
-
};
|
|
449
|
+
type Request = operations['CounterpartyAccountsController_findAll']['parameters']['query'] & operations['CounterpartyAccountsController_findAll']['parameters']['path'];
|
|
450
|
+
type Response = operations['CounterpartyAccountsController_findAll']['responses']['200']['content']['application/json'];
|
|
521
451
|
}
|
|
522
452
|
namespace Create {
|
|
523
|
-
type Request =
|
|
524
|
-
|
|
525
|
-
};
|
|
526
|
-
type Response = Counterparty;
|
|
453
|
+
type Request = operations['CounterpartyAccountsController_create']['requestBody']['content']['application/json'] & operations['CounterpartyAccountsController_create']['parameters']['path'];
|
|
454
|
+
type Response = operations['CounterpartyAccountsController_create']['responses']['200']['content']['application/json'];
|
|
527
455
|
}
|
|
528
456
|
namespace Update {
|
|
529
|
-
type Request =
|
|
530
|
-
|
|
531
|
-
counterparty_account_id: string;
|
|
532
|
-
};
|
|
533
|
-
type Response = Counterparty;
|
|
457
|
+
type Request = operations['CounterpartyAccountsController_update']['requestBody']['content']['application/json'] & operations['CounterpartyAccountsController_update']['parameters']['path'];
|
|
458
|
+
type Response = operations['CounterpartyAccountsController_update']['responses']['200']['content']['application/json'];
|
|
534
459
|
}
|
|
535
460
|
}
|
|
536
461
|
namespace Currencies {
|
package/package.json
CHANGED
|
@@ -1865,7 +1865,7 @@ export interface components {
|
|
|
1865
1865
|
fullPath: string;
|
|
1866
1866
|
};
|
|
1867
1867
|
CounterpartiesFilter: {
|
|
1868
|
-
email?: string
|
|
1868
|
+
email?: string;
|
|
1869
1869
|
/** @description Phone number */
|
|
1870
1870
|
phone?: string;
|
|
1871
1871
|
name?: string;
|
|
@@ -1877,9 +1877,9 @@ export interface components {
|
|
|
1877
1877
|
};
|
|
1878
1878
|
CounterpartyAccountDto: {
|
|
1879
1879
|
id: string;
|
|
1880
|
-
email
|
|
1880
|
+
email: string;
|
|
1881
1881
|
/** @description Phone number */
|
|
1882
|
-
phone
|
|
1882
|
+
phone: string;
|
|
1883
1883
|
name: string;
|
|
1884
1884
|
nickname?: string | null;
|
|
1885
1885
|
/** @enum {string} */
|
|
@@ -1893,16 +1893,16 @@ export interface components {
|
|
|
1893
1893
|
data: components["schemas"]["CounterpartyAccountDto"][];
|
|
1894
1894
|
};
|
|
1895
1895
|
CreateCounterpartyAccountDto: {
|
|
1896
|
-
email
|
|
1896
|
+
email: string;
|
|
1897
1897
|
/** @description Phone number */
|
|
1898
|
-
phone
|
|
1898
|
+
phone: string;
|
|
1899
1899
|
name: string;
|
|
1900
1900
|
nickname?: string | null;
|
|
1901
1901
|
/** @enum {string} */
|
|
1902
1902
|
type: "INDIVIDUAL" | "BUSINESS";
|
|
1903
1903
|
};
|
|
1904
1904
|
UpdateCounterpartyAccountDto: {
|
|
1905
|
-
email?: string
|
|
1905
|
+
email?: string;
|
|
1906
1906
|
/** @description Phone number */
|
|
1907
1907
|
phone?: string;
|
|
1908
1908
|
name?: string;
|
package/src/api/types/types.ts
CHANGED
|
@@ -430,44 +430,20 @@ export namespace API {
|
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
export namespace Counterparties {
|
|
433
|
-
export
|
|
434
|
-
id: string;
|
|
435
|
-
email?: string | null;
|
|
436
|
-
phone?: string | null;
|
|
437
|
-
name: string;
|
|
438
|
-
nickname?: string | null;
|
|
439
|
-
type: CounterpartyType | string;
|
|
440
|
-
created_at: string;
|
|
441
|
-
}
|
|
433
|
+
export type Counterparty = components['schemas']['CounterpartyAccountDto'];
|
|
442
434
|
export namespace Destination {
|
|
443
435
|
export namespace List {
|
|
444
436
|
export interface DestinationListItemCommonFields {
|
|
445
437
|
id: string;
|
|
446
438
|
nickname: string;
|
|
447
|
-
type:
|
|
439
|
+
type: components['schemas']['CounterpartyDestinationDto']['type'];
|
|
448
440
|
created_at: string;
|
|
449
441
|
}
|
|
450
442
|
|
|
451
|
-
export
|
|
452
|
-
|
|
453
|
-
routing_number: string;
|
|
454
|
-
bank_name: string;
|
|
455
|
-
note: string;
|
|
456
|
-
swift_bic: string;
|
|
457
|
-
address: {
|
|
458
|
-
city: string;
|
|
459
|
-
country_id: number;
|
|
460
|
-
postcode: string;
|
|
461
|
-
street1: string;
|
|
462
|
-
street2?: string;
|
|
463
|
-
};
|
|
464
|
-
}
|
|
443
|
+
export type DestinationListItemExternalBankingData =
|
|
444
|
+
components['schemas']['CounterpartyExternalBankingDataDto'];
|
|
465
445
|
|
|
466
|
-
export
|
|
467
|
-
address: string;
|
|
468
|
-
currency_id: string;
|
|
469
|
-
memo?: string;
|
|
470
|
-
}
|
|
446
|
+
export type DestinationListItemExternalCryptoData = components['schemas']['CounterpartyExternalCryptoDataDto'];
|
|
471
447
|
|
|
472
448
|
export interface DestinationListItemWithExternalBankingData extends DestinationListItemCommonFields {
|
|
473
449
|
type:
|
|
@@ -489,26 +465,13 @@ export namespace API {
|
|
|
489
465
|
| DestinationListItemWithExternalBankingData
|
|
490
466
|
| DestinationListItemWithExternalCryptoData;
|
|
491
467
|
|
|
492
|
-
export
|
|
468
|
+
export type Request = operations['CounterpartyAccountsController_findAll']['parameters']['query'] & {
|
|
493
469
|
wallet_id: string;
|
|
494
470
|
counterparty_account_id: string;
|
|
495
|
-
limit?: number;
|
|
496
|
-
offset?: number;
|
|
497
|
-
search?: string;
|
|
498
|
-
type?: CounterpartyDestinationType | string;
|
|
499
|
-
sort_by?: 'created_at' | 'nickname' | 'type';
|
|
500
|
-
sort_order?: SortingDirection;
|
|
501
|
-
filter?: {
|
|
502
|
-
type?: CounterpartyDestinationType;
|
|
503
|
-
nickname?: string;
|
|
504
|
-
created_at?: string;
|
|
505
|
-
};
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
export type Response = {
|
|
509
|
-
total: number;
|
|
510
|
-
data: CounterpartyDestinationListItem[];
|
|
511
471
|
};
|
|
472
|
+
|
|
473
|
+
export type Response =
|
|
474
|
+
operations['CounterpartyAccountsController_findAll']['responses']['200']['content']['application/json'];
|
|
512
475
|
}
|
|
513
476
|
|
|
514
477
|
export namespace Detail {
|
|
@@ -522,10 +485,8 @@ export namespace API {
|
|
|
522
485
|
};
|
|
523
486
|
}
|
|
524
487
|
|
|
525
|
-
export
|
|
526
|
-
|
|
527
|
-
currency: API.Currencies.Currency;
|
|
528
|
-
}
|
|
488
|
+
export type DestinationDetailItemExternalCryptoData =
|
|
489
|
+
API.Counterparties.Destination.List.DestinationListItemExternalCryptoData;
|
|
529
490
|
|
|
530
491
|
export interface DestinationDetailItemWithExternalBankingData extends DestinationDetailItemCommonFields {
|
|
531
492
|
type:
|
|
@@ -546,97 +507,78 @@ export namespace API {
|
|
|
546
507
|
export type DestinationDetailItem =
|
|
547
508
|
| DestinationDetailItemWithExternalBankingData
|
|
548
509
|
| DestinationDetailItemWithExternalCryptoData;
|
|
549
|
-
export
|
|
510
|
+
export type Request = operations['CounterpartyDestinationsController_findOne']['parameters']['path'] & {
|
|
550
511
|
wallet_id: string;
|
|
551
|
-
|
|
552
|
-
counterparty_destination_id: string;
|
|
553
|
-
}
|
|
512
|
+
};
|
|
554
513
|
|
|
555
|
-
export type Response =
|
|
514
|
+
export type Response =
|
|
515
|
+
operations['CounterpartyDestinationsController_findOne']['responses']['200']['content']['application/json'];
|
|
556
516
|
}
|
|
557
517
|
|
|
558
518
|
export namespace Create {
|
|
559
|
-
export
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
external_banking_data?: API.Counterparties.Destination.Detail.DestinationDetailItemExternalBankingData;
|
|
565
|
-
|
|
566
|
-
external_crypto_data?: Pick<
|
|
567
|
-
API.Counterparties.Destination.Detail.DestinationDetailItemExternalCryptoData,
|
|
568
|
-
'currency_id' | 'address' | 'memo'
|
|
569
|
-
>;
|
|
570
|
-
}
|
|
519
|
+
export type Request =
|
|
520
|
+
operations['CounterpartyDestinationsController_create']['requestBody']['content']['application/json'] &
|
|
521
|
+
operations['CounterpartyDestinationsController_create']['parameters']['path'] & {
|
|
522
|
+
wallet_id: string;
|
|
523
|
+
};
|
|
571
524
|
|
|
572
|
-
export type Response =
|
|
525
|
+
export type Response =
|
|
526
|
+
operations['CounterpartyDestinationsController_create']['responses']['200']['content']['application/json'];
|
|
573
527
|
}
|
|
574
528
|
|
|
575
529
|
export namespace Delete {
|
|
576
|
-
export
|
|
530
|
+
export type Request = operations['CounterpartyDestinationsController_delete']['parameters']['path'] & {
|
|
577
531
|
wallet_id: string;
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
export type Response =
|
|
535
|
+
operations['CounterpartyDestinationsController_delete']['responses']['200']['content']['application/json'];
|
|
581
536
|
}
|
|
582
537
|
|
|
583
538
|
export namespace Update {
|
|
584
|
-
export
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
}
|
|
539
|
+
export type Request =
|
|
540
|
+
operations['CounterpartyDestinationsController_update']['requestBody']['content']['application/json'] &
|
|
541
|
+
operations['CounterpartyDestinationsController_update']['parameters']['path'] & {
|
|
542
|
+
wallet_id: string;
|
|
543
|
+
};
|
|
590
544
|
|
|
591
|
-
export type Response =
|
|
545
|
+
export type Response =
|
|
546
|
+
operations['CounterpartyDestinationsController_update']['responses']['200']['content']['application/json'];
|
|
592
547
|
}
|
|
593
548
|
}
|
|
594
549
|
|
|
595
550
|
export namespace GetById {
|
|
596
|
-
export
|
|
597
|
-
|
|
598
|
-
counterparty_account_id: string;
|
|
599
|
-
}
|
|
551
|
+
export type Request = operations['CounterpartyAccountsController_findOne']['parameters']['path'] &
|
|
552
|
+
operations['CounterpartyAccountsController_findOne']['parameters']['query'];
|
|
600
553
|
|
|
601
|
-
export type Response =
|
|
554
|
+
export type Response =
|
|
555
|
+
operations['CounterpartyAccountsController_findOne']['responses']['200']['content']['application/json'];
|
|
602
556
|
}
|
|
603
557
|
|
|
604
558
|
export namespace List {
|
|
605
|
-
export
|
|
606
|
-
|
|
607
|
-
offset?: number;
|
|
608
|
-
limit?: number;
|
|
609
|
-
sort_by?: 'created_at' | 'nickname' | 'type' | 'email' | 'phone';
|
|
610
|
-
sort_order?: SortingDirection;
|
|
611
|
-
filter?: {
|
|
612
|
-
type?: CounterpartyDestinationType;
|
|
613
|
-
nickname?: string;
|
|
614
|
-
created_at?: string;
|
|
615
|
-
search?: string;
|
|
616
|
-
};
|
|
617
|
-
}
|
|
559
|
+
export type Request = operations['CounterpartyAccountsController_findAll']['parameters']['query'] &
|
|
560
|
+
operations['CounterpartyAccountsController_findAll']['parameters']['path'];
|
|
618
561
|
|
|
619
|
-
export type Response =
|
|
620
|
-
|
|
621
|
-
data: Counterparty[];
|
|
622
|
-
};
|
|
562
|
+
export type Response =
|
|
563
|
+
operations['CounterpartyAccountsController_findAll']['responses']['200']['content']['application/json'];
|
|
623
564
|
}
|
|
624
565
|
|
|
625
566
|
export namespace Create {
|
|
626
|
-
export type Request =
|
|
627
|
-
|
|
628
|
-
|
|
567
|
+
export type Request =
|
|
568
|
+
operations['CounterpartyAccountsController_create']['requestBody']['content']['application/json'] &
|
|
569
|
+
operations['CounterpartyAccountsController_create']['parameters']['path'];
|
|
629
570
|
|
|
630
|
-
export type Response =
|
|
571
|
+
export type Response =
|
|
572
|
+
operations['CounterpartyAccountsController_create']['responses']['200']['content']['application/json'];
|
|
631
573
|
}
|
|
632
574
|
|
|
633
575
|
export namespace Update {
|
|
634
|
-
export type Request =
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
};
|
|
576
|
+
export type Request =
|
|
577
|
+
operations['CounterpartyAccountsController_update']['requestBody']['content']['application/json'] &
|
|
578
|
+
operations['CounterpartyAccountsController_update']['parameters']['path'];
|
|
638
579
|
|
|
639
|
-
export type Response =
|
|
580
|
+
export type Response =
|
|
581
|
+
operations['CounterpartyAccountsController_update']['responses']['200']['content']['application/json'];
|
|
640
582
|
}
|
|
641
583
|
}
|
|
642
584
|
|