@distyra/sdk 0.3.0 → 0.4.0
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/generated.d.ts +1590 -297
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -548,6 +548,56 @@ export interface paths {
|
|
|
548
548
|
patch?: never;
|
|
549
549
|
trace?: never;
|
|
550
550
|
};
|
|
551
|
+
"/v1/billing/invoices/{id}/pdf": {
|
|
552
|
+
parameters: {
|
|
553
|
+
query?: never;
|
|
554
|
+
header?: never;
|
|
555
|
+
path?: never;
|
|
556
|
+
cookie?: never;
|
|
557
|
+
};
|
|
558
|
+
/**
|
|
559
|
+
* Download an invoice or credit-note PDF
|
|
560
|
+
* @description Streams the stored PDF for one of the organization's invoices or credit notes.
|
|
561
|
+
*
|
|
562
|
+
* **404** for an unknown id (RLS-scoped to your org). **410** if the PDF has not been generated/stored yet.
|
|
563
|
+
*
|
|
564
|
+
* Required scope: `enrichment:read`.
|
|
565
|
+
*/
|
|
566
|
+
get: operations["getBillingInvoicePdf"];
|
|
567
|
+
put?: never;
|
|
568
|
+
post?: never;
|
|
569
|
+
delete?: never;
|
|
570
|
+
options?: never;
|
|
571
|
+
head?: never;
|
|
572
|
+
patch?: never;
|
|
573
|
+
trace?: never;
|
|
574
|
+
};
|
|
575
|
+
"/v1/billing/payments/{paymentId}": {
|
|
576
|
+
parameters: {
|
|
577
|
+
query?: never;
|
|
578
|
+
header?: never;
|
|
579
|
+
path?: never;
|
|
580
|
+
cookie?: never;
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* Live Mollie state for one of the org’s payments
|
|
584
|
+
* @description Returns a reconciliation projection of the Mollie payment behind a ledger
|
|
585
|
+
* entry or invoice: status, method, settlement, refund/chargeback totals, and
|
|
586
|
+
* the payment's own dashboard deep-link. First-party only (service principal).
|
|
587
|
+
*
|
|
588
|
+
* **404** if the payment id is not one of this org’s payments.
|
|
589
|
+
*
|
|
590
|
+
* Required scope: `enrichment:read`.
|
|
591
|
+
*/
|
|
592
|
+
get: operations["getBillingPayment"];
|
|
593
|
+
put?: never;
|
|
594
|
+
post?: never;
|
|
595
|
+
delete?: never;
|
|
596
|
+
options?: never;
|
|
597
|
+
head?: never;
|
|
598
|
+
patch?: never;
|
|
599
|
+
trace?: never;
|
|
600
|
+
};
|
|
551
601
|
"/v1/enrich/batch/async": {
|
|
552
602
|
parameters: {
|
|
553
603
|
query?: never;
|
|
@@ -730,6 +780,110 @@ export interface paths {
|
|
|
730
780
|
patch?: never;
|
|
731
781
|
trace?: never;
|
|
732
782
|
};
|
|
783
|
+
"/v1/connect/aspsps": {
|
|
784
|
+
parameters: {
|
|
785
|
+
query?: never;
|
|
786
|
+
header?: never;
|
|
787
|
+
path?: never;
|
|
788
|
+
cookie?: never;
|
|
789
|
+
};
|
|
790
|
+
/** List banks (ASPSPs) available for a country */
|
|
791
|
+
get: operations["listAspsps"];
|
|
792
|
+
put?: never;
|
|
793
|
+
post?: never;
|
|
794
|
+
delete?: never;
|
|
795
|
+
options?: never;
|
|
796
|
+
head?: never;
|
|
797
|
+
patch?: never;
|
|
798
|
+
trace?: never;
|
|
799
|
+
};
|
|
800
|
+
"/v1/connect/connections": {
|
|
801
|
+
parameters: {
|
|
802
|
+
query?: never;
|
|
803
|
+
header?: never;
|
|
804
|
+
path?: never;
|
|
805
|
+
cookie?: never;
|
|
806
|
+
};
|
|
807
|
+
/** List your bank connections */
|
|
808
|
+
get: operations["listConnections"];
|
|
809
|
+
put?: never;
|
|
810
|
+
/** Open a bank connection (returns the authorization URL) */
|
|
811
|
+
post: operations["createConnection"];
|
|
812
|
+
delete?: never;
|
|
813
|
+
options?: never;
|
|
814
|
+
head?: never;
|
|
815
|
+
patch?: never;
|
|
816
|
+
trace?: never;
|
|
817
|
+
};
|
|
818
|
+
"/v1/connect/connections/{id}": {
|
|
819
|
+
parameters: {
|
|
820
|
+
query?: never;
|
|
821
|
+
header?: never;
|
|
822
|
+
path?: never;
|
|
823
|
+
cookie?: never;
|
|
824
|
+
};
|
|
825
|
+
/** Read a bank connection */
|
|
826
|
+
get: operations["getConnection"];
|
|
827
|
+
put?: never;
|
|
828
|
+
post?: never;
|
|
829
|
+
/** Revoke a bank connection */
|
|
830
|
+
delete: operations["revokeConnection"];
|
|
831
|
+
options?: never;
|
|
832
|
+
head?: never;
|
|
833
|
+
patch?: never;
|
|
834
|
+
trace?: never;
|
|
835
|
+
};
|
|
836
|
+
"/v1/connect/connections/{id}/accounts": {
|
|
837
|
+
parameters: {
|
|
838
|
+
query?: never;
|
|
839
|
+
header?: never;
|
|
840
|
+
path?: never;
|
|
841
|
+
cookie?: never;
|
|
842
|
+
};
|
|
843
|
+
/** List the accounts on a connection */
|
|
844
|
+
get: operations["getConnectionAccounts"];
|
|
845
|
+
put?: never;
|
|
846
|
+
post?: never;
|
|
847
|
+
delete?: never;
|
|
848
|
+
options?: never;
|
|
849
|
+
head?: never;
|
|
850
|
+
patch?: never;
|
|
851
|
+
trace?: never;
|
|
852
|
+
};
|
|
853
|
+
"/v1/connect/connections/{id}/transactions": {
|
|
854
|
+
parameters: {
|
|
855
|
+
query?: never;
|
|
856
|
+
header?: never;
|
|
857
|
+
path?: never;
|
|
858
|
+
cookie?: never;
|
|
859
|
+
};
|
|
860
|
+
/** Fetch normalized transactions for a connection */
|
|
861
|
+
get: operations["getConnectionTransactions"];
|
|
862
|
+
put?: never;
|
|
863
|
+
post?: never;
|
|
864
|
+
delete?: never;
|
|
865
|
+
options?: never;
|
|
866
|
+
head?: never;
|
|
867
|
+
patch?: never;
|
|
868
|
+
trace?: never;
|
|
869
|
+
};
|
|
870
|
+
"/v1/connect/hosted-link": {
|
|
871
|
+
parameters: {
|
|
872
|
+
query?: never;
|
|
873
|
+
header?: never;
|
|
874
|
+
path?: never;
|
|
875
|
+
cookie?: never;
|
|
876
|
+
};
|
|
877
|
+
get?: never;
|
|
878
|
+
put?: never;
|
|
879
|
+
/** Mint a hosted bank-connect link for an applicant */
|
|
880
|
+
post: operations["createHostedConnectLink"];
|
|
881
|
+
delete?: never;
|
|
882
|
+
options?: never;
|
|
883
|
+
head?: never;
|
|
884
|
+
patch?: never;
|
|
885
|
+
trace?: never;
|
|
886
|
+
};
|
|
733
887
|
"/v1/internal/crawl/re-enqueue": {
|
|
734
888
|
parameters: {
|
|
735
889
|
query?: never;
|
|
@@ -3126,6 +3280,11 @@ export interface operations {
|
|
|
3126
3280
|
/** Format: uuid */
|
|
3127
3281
|
id: string;
|
|
3128
3282
|
applicant_id: string;
|
|
3283
|
+
/**
|
|
3284
|
+
* @description The lender's own reference for Distyra Connect analyses, joined from the originating connection. For connect-originated analyses `applicant_id` is the connection id (the data-source identity used for idempotency), and this is the human reference the lender set on the connection. null for direct JSON /analyze submissions, where the lender's reference is already `applicant_id`.
|
|
3285
|
+
* @example loan_app_42
|
|
3286
|
+
*/
|
|
3287
|
+
applicant_ref: string | null;
|
|
3129
3288
|
/** Format: date-time */
|
|
3130
3289
|
created_at: string;
|
|
3131
3290
|
/** @description false for 7-day idempotent re-pulls and for calls within the included-quota tier. */
|
|
@@ -4643,65 +4802,24 @@ export interface operations {
|
|
|
4643
4802
|
};
|
|
4644
4803
|
};
|
|
4645
4804
|
};
|
|
4646
|
-
|
|
4805
|
+
getBillingInvoicePdf: {
|
|
4647
4806
|
parameters: {
|
|
4648
4807
|
query?: never;
|
|
4649
4808
|
header?: never;
|
|
4650
|
-
path
|
|
4651
|
-
|
|
4652
|
-
};
|
|
4653
|
-
requestBody: {
|
|
4654
|
-
content: {
|
|
4655
|
-
"application/json": {
|
|
4656
|
-
items: {
|
|
4657
|
-
descriptor: string;
|
|
4658
|
-
amount?: number;
|
|
4659
|
-
currency?: string;
|
|
4660
|
-
mcc?: string;
|
|
4661
|
-
country_hint?: string;
|
|
4662
|
-
merchant_name?: string;
|
|
4663
|
-
bank_code_description?: string;
|
|
4664
|
-
}[];
|
|
4665
|
-
};
|
|
4809
|
+
path: {
|
|
4810
|
+
id: string;
|
|
4666
4811
|
};
|
|
4812
|
+
cookie?: never;
|
|
4667
4813
|
};
|
|
4814
|
+
requestBody?: never;
|
|
4668
4815
|
responses: {
|
|
4669
4816
|
/** @description Default Response */
|
|
4670
|
-
|
|
4671
|
-
headers: {
|
|
4672
|
-
[name: string]: unknown;
|
|
4673
|
-
};
|
|
4674
|
-
content: {
|
|
4675
|
-
"application/json": {
|
|
4676
|
-
/** Format: uuid */
|
|
4677
|
-
id: string;
|
|
4678
|
-
/** @enum {string} */
|
|
4679
|
-
status: "pending";
|
|
4680
|
-
item_count: number;
|
|
4681
|
-
/** Format: date-time */
|
|
4682
|
-
submitted_at: string;
|
|
4683
|
-
/** Format: date-time */
|
|
4684
|
-
expires_at: string;
|
|
4685
|
-
/** Format: uri */
|
|
4686
|
-
status_url: string;
|
|
4687
|
-
};
|
|
4688
|
-
};
|
|
4689
|
-
};
|
|
4690
|
-
/** @description Standard error envelope used for all non-2xx responses. */
|
|
4691
|
-
400: {
|
|
4817
|
+
200: {
|
|
4692
4818
|
headers: {
|
|
4693
4819
|
[name: string]: unknown;
|
|
4694
4820
|
};
|
|
4695
4821
|
content: {
|
|
4696
|
-
"application/
|
|
4697
|
-
/**
|
|
4698
|
-
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
4699
|
-
* @example invalid_key
|
|
4700
|
-
*/
|
|
4701
|
-
error: string;
|
|
4702
|
-
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
4703
|
-
detail?: string;
|
|
4704
|
-
};
|
|
4822
|
+
"application/pdf": unknown;
|
|
4705
4823
|
};
|
|
4706
4824
|
};
|
|
4707
4825
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
@@ -4710,7 +4828,7 @@ export interface operations {
|
|
|
4710
4828
|
[name: string]: unknown;
|
|
4711
4829
|
};
|
|
4712
4830
|
content: {
|
|
4713
|
-
"application/
|
|
4831
|
+
"application/pdf": {
|
|
4714
4832
|
/**
|
|
4715
4833
|
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
4716
4834
|
* @example invalid_key
|
|
@@ -4722,12 +4840,12 @@ export interface operations {
|
|
|
4722
4840
|
};
|
|
4723
4841
|
};
|
|
4724
4842
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
4725
|
-
|
|
4843
|
+
403: {
|
|
4726
4844
|
headers: {
|
|
4727
4845
|
[name: string]: unknown;
|
|
4728
4846
|
};
|
|
4729
4847
|
content: {
|
|
4730
|
-
"application/
|
|
4848
|
+
"application/pdf": {
|
|
4731
4849
|
/**
|
|
4732
4850
|
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
4733
4851
|
* @example invalid_key
|
|
@@ -4739,12 +4857,12 @@ export interface operations {
|
|
|
4739
4857
|
};
|
|
4740
4858
|
};
|
|
4741
4859
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
4742
|
-
|
|
4860
|
+
404: {
|
|
4743
4861
|
headers: {
|
|
4744
4862
|
[name: string]: unknown;
|
|
4745
4863
|
};
|
|
4746
4864
|
content: {
|
|
4747
|
-
"application/
|
|
4865
|
+
"application/pdf": {
|
|
4748
4866
|
/**
|
|
4749
4867
|
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
4750
4868
|
* @example invalid_key
|
|
@@ -4756,12 +4874,12 @@ export interface operations {
|
|
|
4756
4874
|
};
|
|
4757
4875
|
};
|
|
4758
4876
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
4759
|
-
|
|
4877
|
+
410: {
|
|
4760
4878
|
headers: {
|
|
4761
4879
|
[name: string]: unknown;
|
|
4762
4880
|
};
|
|
4763
4881
|
content: {
|
|
4764
|
-
"application/
|
|
4882
|
+
"application/pdf": {
|
|
4765
4883
|
/**
|
|
4766
4884
|
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
4767
4885
|
* @example invalid_key
|
|
@@ -4774,12 +4892,12 @@ export interface operations {
|
|
|
4774
4892
|
};
|
|
4775
4893
|
};
|
|
4776
4894
|
};
|
|
4777
|
-
|
|
4895
|
+
getBillingPayment: {
|
|
4778
4896
|
parameters: {
|
|
4779
4897
|
query?: never;
|
|
4780
4898
|
header?: never;
|
|
4781
4899
|
path: {
|
|
4782
|
-
|
|
4900
|
+
paymentId: string;
|
|
4783
4901
|
};
|
|
4784
4902
|
cookie?: never;
|
|
4785
4903
|
};
|
|
@@ -4792,22 +4910,31 @@ export interface operations {
|
|
|
4792
4910
|
};
|
|
4793
4911
|
content: {
|
|
4794
4912
|
"application/json": {
|
|
4795
|
-
/** Format: uuid */
|
|
4796
4913
|
id: string;
|
|
4797
|
-
status:
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4914
|
+
status: string;
|
|
4915
|
+
method: string | null;
|
|
4916
|
+
sequenceType: string | null;
|
|
4917
|
+
amount: {
|
|
4918
|
+
value: string;
|
|
4919
|
+
currency: string;
|
|
4920
|
+
};
|
|
4921
|
+
settlementAmount: {
|
|
4922
|
+
value: string;
|
|
4923
|
+
currency: string;
|
|
4924
|
+
} | null;
|
|
4925
|
+
amountRefunded: {
|
|
4926
|
+
value: string;
|
|
4927
|
+
currency: string;
|
|
4928
|
+
} | null;
|
|
4929
|
+
amountChargedBack: {
|
|
4930
|
+
value: string;
|
|
4931
|
+
currency: string;
|
|
4932
|
+
} | null;
|
|
4933
|
+
isRefunded: boolean;
|
|
4934
|
+
isChargedBack: boolean;
|
|
4935
|
+
createdAt: string | null;
|
|
4936
|
+
paidAt: string | null;
|
|
4937
|
+
dashboardUrl: string | null;
|
|
4811
4938
|
};
|
|
4812
4939
|
};
|
|
4813
4940
|
};
|
|
@@ -4862,46 +4989,8 @@ export interface operations {
|
|
|
4862
4989
|
};
|
|
4863
4990
|
};
|
|
4864
4991
|
};
|
|
4865
|
-
};
|
|
4866
|
-
};
|
|
4867
|
-
getMerchant: {
|
|
4868
|
-
parameters: {
|
|
4869
|
-
query?: never;
|
|
4870
|
-
header?: never;
|
|
4871
|
-
path: {
|
|
4872
|
-
/** @description Catalog id (positive integer, accepted as a path string). */
|
|
4873
|
-
id: string;
|
|
4874
|
-
};
|
|
4875
|
-
cookie?: never;
|
|
4876
|
-
};
|
|
4877
|
-
requestBody?: never;
|
|
4878
|
-
responses: {
|
|
4879
|
-
/** @description Default Response */
|
|
4880
|
-
200: {
|
|
4881
|
-
headers: {
|
|
4882
|
-
[name: string]: unknown;
|
|
4883
|
-
};
|
|
4884
|
-
content: {
|
|
4885
|
-
"application/json": {
|
|
4886
|
-
/** @description Catalog id; pass to /v1/merchants/{id} to refetch. */
|
|
4887
|
-
id: number;
|
|
4888
|
-
name: string;
|
|
4889
|
-
parent: string | null;
|
|
4890
|
-
domain: string | null;
|
|
4891
|
-
logo_url: string | null;
|
|
4892
|
-
brand_colors: {
|
|
4893
|
-
[key: string]: unknown;
|
|
4894
|
-
};
|
|
4895
|
-
industry: string | null;
|
|
4896
|
-
subindustries: string[];
|
|
4897
|
-
primary_mcc: string | null;
|
|
4898
|
-
/** @description ISO-3166 alpha-2. */
|
|
4899
|
-
country_codes: string[];
|
|
4900
|
-
};
|
|
4901
|
-
};
|
|
4902
|
-
};
|
|
4903
4992
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
4904
|
-
|
|
4993
|
+
502: {
|
|
4905
4994
|
headers: {
|
|
4906
4995
|
[name: string]: unknown;
|
|
4907
4996
|
};
|
|
@@ -4918,7 +5007,7 @@ export interface operations {
|
|
|
4918
5007
|
};
|
|
4919
5008
|
};
|
|
4920
5009
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
4921
|
-
|
|
5010
|
+
503: {
|
|
4922
5011
|
headers: {
|
|
4923
5012
|
[name: string]: unknown;
|
|
4924
5013
|
};
|
|
@@ -4934,8 +5023,1006 @@ export interface operations {
|
|
|
4934
5023
|
};
|
|
4935
5024
|
};
|
|
4936
5025
|
};
|
|
4937
|
-
|
|
4938
|
-
|
|
5026
|
+
};
|
|
5027
|
+
};
|
|
5028
|
+
enrichBatchAsync: {
|
|
5029
|
+
parameters: {
|
|
5030
|
+
query?: never;
|
|
5031
|
+
header?: never;
|
|
5032
|
+
path?: never;
|
|
5033
|
+
cookie?: never;
|
|
5034
|
+
};
|
|
5035
|
+
requestBody: {
|
|
5036
|
+
content: {
|
|
5037
|
+
"application/json": {
|
|
5038
|
+
items: {
|
|
5039
|
+
descriptor: string;
|
|
5040
|
+
amount?: number;
|
|
5041
|
+
currency?: string;
|
|
5042
|
+
mcc?: string;
|
|
5043
|
+
country_hint?: string;
|
|
5044
|
+
merchant_name?: string;
|
|
5045
|
+
bank_code_description?: string;
|
|
5046
|
+
}[];
|
|
5047
|
+
};
|
|
5048
|
+
};
|
|
5049
|
+
};
|
|
5050
|
+
responses: {
|
|
5051
|
+
/** @description Default Response */
|
|
5052
|
+
202: {
|
|
5053
|
+
headers: {
|
|
5054
|
+
[name: string]: unknown;
|
|
5055
|
+
};
|
|
5056
|
+
content: {
|
|
5057
|
+
"application/json": {
|
|
5058
|
+
/** Format: uuid */
|
|
5059
|
+
id: string;
|
|
5060
|
+
/** @enum {string} */
|
|
5061
|
+
status: "pending";
|
|
5062
|
+
item_count: number;
|
|
5063
|
+
/** Format: date-time */
|
|
5064
|
+
submitted_at: string;
|
|
5065
|
+
/** Format: date-time */
|
|
5066
|
+
expires_at: string;
|
|
5067
|
+
/** Format: uri */
|
|
5068
|
+
status_url: string;
|
|
5069
|
+
};
|
|
5070
|
+
};
|
|
5071
|
+
};
|
|
5072
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5073
|
+
400: {
|
|
5074
|
+
headers: {
|
|
5075
|
+
[name: string]: unknown;
|
|
5076
|
+
};
|
|
5077
|
+
content: {
|
|
5078
|
+
"application/json": {
|
|
5079
|
+
/**
|
|
5080
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5081
|
+
* @example invalid_key
|
|
5082
|
+
*/
|
|
5083
|
+
error: string;
|
|
5084
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5085
|
+
detail?: string;
|
|
5086
|
+
};
|
|
5087
|
+
};
|
|
5088
|
+
};
|
|
5089
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5090
|
+
401: {
|
|
5091
|
+
headers: {
|
|
5092
|
+
[name: string]: unknown;
|
|
5093
|
+
};
|
|
5094
|
+
content: {
|
|
5095
|
+
"application/json": {
|
|
5096
|
+
/**
|
|
5097
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5098
|
+
* @example invalid_key
|
|
5099
|
+
*/
|
|
5100
|
+
error: string;
|
|
5101
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5102
|
+
detail?: string;
|
|
5103
|
+
};
|
|
5104
|
+
};
|
|
5105
|
+
};
|
|
5106
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5107
|
+
402: {
|
|
5108
|
+
headers: {
|
|
5109
|
+
[name: string]: unknown;
|
|
5110
|
+
};
|
|
5111
|
+
content: {
|
|
5112
|
+
"application/json": {
|
|
5113
|
+
/**
|
|
5114
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5115
|
+
* @example invalid_key
|
|
5116
|
+
*/
|
|
5117
|
+
error: string;
|
|
5118
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5119
|
+
detail?: string;
|
|
5120
|
+
};
|
|
5121
|
+
};
|
|
5122
|
+
};
|
|
5123
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5124
|
+
403: {
|
|
5125
|
+
headers: {
|
|
5126
|
+
[name: string]: unknown;
|
|
5127
|
+
};
|
|
5128
|
+
content: {
|
|
5129
|
+
"application/json": {
|
|
5130
|
+
/**
|
|
5131
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5132
|
+
* @example invalid_key
|
|
5133
|
+
*/
|
|
5134
|
+
error: string;
|
|
5135
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5136
|
+
detail?: string;
|
|
5137
|
+
};
|
|
5138
|
+
};
|
|
5139
|
+
};
|
|
5140
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5141
|
+
429: {
|
|
5142
|
+
headers: {
|
|
5143
|
+
[name: string]: unknown;
|
|
5144
|
+
};
|
|
5145
|
+
content: {
|
|
5146
|
+
"application/json": {
|
|
5147
|
+
/**
|
|
5148
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5149
|
+
* @example invalid_key
|
|
5150
|
+
*/
|
|
5151
|
+
error: string;
|
|
5152
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5153
|
+
detail?: string;
|
|
5154
|
+
};
|
|
5155
|
+
};
|
|
5156
|
+
};
|
|
5157
|
+
};
|
|
5158
|
+
};
|
|
5159
|
+
enrichBatchAsyncStatus: {
|
|
5160
|
+
parameters: {
|
|
5161
|
+
query?: never;
|
|
5162
|
+
header?: never;
|
|
5163
|
+
path: {
|
|
5164
|
+
id: string;
|
|
5165
|
+
};
|
|
5166
|
+
cookie?: never;
|
|
5167
|
+
};
|
|
5168
|
+
requestBody?: never;
|
|
5169
|
+
responses: {
|
|
5170
|
+
/** @description Default Response */
|
|
5171
|
+
200: {
|
|
5172
|
+
headers: {
|
|
5173
|
+
[name: string]: unknown;
|
|
5174
|
+
};
|
|
5175
|
+
content: {
|
|
5176
|
+
"application/json": {
|
|
5177
|
+
/** Format: uuid */
|
|
5178
|
+
id: string;
|
|
5179
|
+
status: "pending" | "running" | "completed" | "failed" | "expired";
|
|
5180
|
+
item_count: number;
|
|
5181
|
+
completed_count: number;
|
|
5182
|
+
failed_count: number;
|
|
5183
|
+
/** Format: date-time */
|
|
5184
|
+
submitted_at: string;
|
|
5185
|
+
started_at: string | null;
|
|
5186
|
+
completed_at: string | null;
|
|
5187
|
+
/** Format: date-time */
|
|
5188
|
+
expires_at: string;
|
|
5189
|
+
result: {
|
|
5190
|
+
[key: string]: unknown;
|
|
5191
|
+
}[] | null;
|
|
5192
|
+
error: string | null;
|
|
5193
|
+
};
|
|
5194
|
+
};
|
|
5195
|
+
};
|
|
5196
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5197
|
+
401: {
|
|
5198
|
+
headers: {
|
|
5199
|
+
[name: string]: unknown;
|
|
5200
|
+
};
|
|
5201
|
+
content: {
|
|
5202
|
+
"application/json": {
|
|
5203
|
+
/**
|
|
5204
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5205
|
+
* @example invalid_key
|
|
5206
|
+
*/
|
|
5207
|
+
error: string;
|
|
5208
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5209
|
+
detail?: string;
|
|
5210
|
+
};
|
|
5211
|
+
};
|
|
5212
|
+
};
|
|
5213
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5214
|
+
403: {
|
|
5215
|
+
headers: {
|
|
5216
|
+
[name: string]: unknown;
|
|
5217
|
+
};
|
|
5218
|
+
content: {
|
|
5219
|
+
"application/json": {
|
|
5220
|
+
/**
|
|
5221
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5222
|
+
* @example invalid_key
|
|
5223
|
+
*/
|
|
5224
|
+
error: string;
|
|
5225
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5226
|
+
detail?: string;
|
|
5227
|
+
};
|
|
5228
|
+
};
|
|
5229
|
+
};
|
|
5230
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5231
|
+
404: {
|
|
5232
|
+
headers: {
|
|
5233
|
+
[name: string]: unknown;
|
|
5234
|
+
};
|
|
5235
|
+
content: {
|
|
5236
|
+
"application/json": {
|
|
5237
|
+
/**
|
|
5238
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5239
|
+
* @example invalid_key
|
|
5240
|
+
*/
|
|
5241
|
+
error: string;
|
|
5242
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5243
|
+
detail?: string;
|
|
5244
|
+
};
|
|
5245
|
+
};
|
|
5246
|
+
};
|
|
5247
|
+
};
|
|
5248
|
+
};
|
|
5249
|
+
getMerchant: {
|
|
5250
|
+
parameters: {
|
|
5251
|
+
query?: never;
|
|
5252
|
+
header?: never;
|
|
5253
|
+
path: {
|
|
5254
|
+
/** @description Catalog id (positive integer, accepted as a path string). */
|
|
5255
|
+
id: string;
|
|
5256
|
+
};
|
|
5257
|
+
cookie?: never;
|
|
5258
|
+
};
|
|
5259
|
+
requestBody?: never;
|
|
5260
|
+
responses: {
|
|
5261
|
+
/** @description Default Response */
|
|
5262
|
+
200: {
|
|
5263
|
+
headers: {
|
|
5264
|
+
[name: string]: unknown;
|
|
5265
|
+
};
|
|
5266
|
+
content: {
|
|
5267
|
+
"application/json": {
|
|
5268
|
+
/** @description Catalog id; pass to /v1/merchants/{id} to refetch. */
|
|
5269
|
+
id: number;
|
|
5270
|
+
name: string;
|
|
5271
|
+
parent: string | null;
|
|
5272
|
+
domain: string | null;
|
|
5273
|
+
logo_url: string | null;
|
|
5274
|
+
brand_colors: {
|
|
5275
|
+
[key: string]: unknown;
|
|
5276
|
+
};
|
|
5277
|
+
industry: string | null;
|
|
5278
|
+
subindustries: string[];
|
|
5279
|
+
primary_mcc: string | null;
|
|
5280
|
+
/** @description ISO-3166 alpha-2. */
|
|
5281
|
+
country_codes: string[];
|
|
5282
|
+
};
|
|
5283
|
+
};
|
|
5284
|
+
};
|
|
5285
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5286
|
+
400: {
|
|
5287
|
+
headers: {
|
|
5288
|
+
[name: string]: unknown;
|
|
5289
|
+
};
|
|
5290
|
+
content: {
|
|
5291
|
+
"application/json": {
|
|
5292
|
+
/**
|
|
5293
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5294
|
+
* @example invalid_key
|
|
5295
|
+
*/
|
|
5296
|
+
error: string;
|
|
5297
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5298
|
+
detail?: string;
|
|
5299
|
+
};
|
|
5300
|
+
};
|
|
5301
|
+
};
|
|
5302
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5303
|
+
401: {
|
|
5304
|
+
headers: {
|
|
5305
|
+
[name: string]: unknown;
|
|
5306
|
+
};
|
|
5307
|
+
content: {
|
|
5308
|
+
"application/json": {
|
|
5309
|
+
/**
|
|
5310
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5311
|
+
* @example invalid_key
|
|
5312
|
+
*/
|
|
5313
|
+
error: string;
|
|
5314
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5315
|
+
detail?: string;
|
|
5316
|
+
};
|
|
5317
|
+
};
|
|
5318
|
+
};
|
|
5319
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5320
|
+
403: {
|
|
5321
|
+
headers: {
|
|
5322
|
+
[name: string]: unknown;
|
|
5323
|
+
};
|
|
5324
|
+
content: {
|
|
5325
|
+
"application/json": {
|
|
5326
|
+
/**
|
|
5327
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5328
|
+
* @example invalid_key
|
|
5329
|
+
*/
|
|
5330
|
+
error: string;
|
|
5331
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5332
|
+
detail?: string;
|
|
5333
|
+
};
|
|
5334
|
+
};
|
|
5335
|
+
};
|
|
5336
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5337
|
+
404: {
|
|
5338
|
+
headers: {
|
|
5339
|
+
[name: string]: unknown;
|
|
5340
|
+
};
|
|
5341
|
+
content: {
|
|
5342
|
+
"application/json": {
|
|
5343
|
+
/**
|
|
5344
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5345
|
+
* @example invalid_key
|
|
5346
|
+
*/
|
|
5347
|
+
error: string;
|
|
5348
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5349
|
+
detail?: string;
|
|
5350
|
+
};
|
|
5351
|
+
};
|
|
5352
|
+
};
|
|
5353
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5354
|
+
429: {
|
|
5355
|
+
headers: {
|
|
5356
|
+
[name: string]: unknown;
|
|
5357
|
+
};
|
|
5358
|
+
content: {
|
|
5359
|
+
"application/json": {
|
|
5360
|
+
/**
|
|
5361
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5362
|
+
* @example invalid_key
|
|
5363
|
+
*/
|
|
5364
|
+
error: string;
|
|
5365
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5366
|
+
detail?: string;
|
|
5367
|
+
};
|
|
5368
|
+
};
|
|
5369
|
+
};
|
|
5370
|
+
};
|
|
5371
|
+
};
|
|
5372
|
+
getCategories: {
|
|
5373
|
+
parameters: {
|
|
5374
|
+
query?: never;
|
|
5375
|
+
header?: never;
|
|
5376
|
+
path?: never;
|
|
5377
|
+
cookie?: never;
|
|
5378
|
+
};
|
|
5379
|
+
requestBody?: never;
|
|
5380
|
+
responses: {
|
|
5381
|
+
/** @description Default Response */
|
|
5382
|
+
200: {
|
|
5383
|
+
headers: {
|
|
5384
|
+
[name: string]: unknown;
|
|
5385
|
+
};
|
|
5386
|
+
content: {
|
|
5387
|
+
"application/json": {
|
|
5388
|
+
industries: {
|
|
5389
|
+
name: string;
|
|
5390
|
+
subindustries: string[];
|
|
5391
|
+
}[];
|
|
5392
|
+
};
|
|
5393
|
+
};
|
|
5394
|
+
};
|
|
5395
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5396
|
+
401: {
|
|
5397
|
+
headers: {
|
|
5398
|
+
[name: string]: unknown;
|
|
5399
|
+
};
|
|
5400
|
+
content: {
|
|
5401
|
+
"application/json": {
|
|
5402
|
+
/**
|
|
5403
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5404
|
+
* @example invalid_key
|
|
5405
|
+
*/
|
|
5406
|
+
error: string;
|
|
5407
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5408
|
+
detail?: string;
|
|
5409
|
+
};
|
|
5410
|
+
};
|
|
5411
|
+
};
|
|
5412
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5413
|
+
403: {
|
|
5414
|
+
headers: {
|
|
5415
|
+
[name: string]: unknown;
|
|
5416
|
+
};
|
|
5417
|
+
content: {
|
|
5418
|
+
"application/json": {
|
|
5419
|
+
/**
|
|
5420
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5421
|
+
* @example invalid_key
|
|
5422
|
+
*/
|
|
5423
|
+
error: string;
|
|
5424
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5425
|
+
detail?: string;
|
|
5426
|
+
};
|
|
5427
|
+
};
|
|
5428
|
+
};
|
|
5429
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5430
|
+
429: {
|
|
5431
|
+
headers: {
|
|
5432
|
+
[name: string]: unknown;
|
|
5433
|
+
};
|
|
5434
|
+
content: {
|
|
5435
|
+
"application/json": {
|
|
5436
|
+
/**
|
|
5437
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5438
|
+
* @example invalid_key
|
|
5439
|
+
*/
|
|
5440
|
+
error: string;
|
|
5441
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5442
|
+
detail?: string;
|
|
5443
|
+
};
|
|
5444
|
+
};
|
|
5445
|
+
};
|
|
5446
|
+
};
|
|
5447
|
+
};
|
|
5448
|
+
submitCorrection: {
|
|
5449
|
+
parameters: {
|
|
5450
|
+
query?: never;
|
|
5451
|
+
header?: never;
|
|
5452
|
+
path?: never;
|
|
5453
|
+
cookie?: never;
|
|
5454
|
+
};
|
|
5455
|
+
/** @description At least one of `corrected_merchant_id` or `corrected_merchant_name` must be provided. */
|
|
5456
|
+
requestBody: {
|
|
5457
|
+
content: {
|
|
5458
|
+
"application/json": {
|
|
5459
|
+
/** @description The original transaction descriptor as passed to /v1/enrich. */
|
|
5460
|
+
descriptor: string;
|
|
5461
|
+
/** @description Catalog id of the merchant that should have been returned. Use this when the right merchant exists in the catalog (lookup via /v1/merchants/{id} or by trial enrichment). */
|
|
5462
|
+
corrected_merchant_id?: number;
|
|
5463
|
+
/** @description Free-text name of the right merchant when no catalog id is known. Triages into the manual-review queue; a catalog-mint may follow. */
|
|
5464
|
+
corrected_merchant_name?: string;
|
|
5465
|
+
/** @description Optional free-text context (e.g. "this is a French chain not the German one"). */
|
|
5466
|
+
note?: string;
|
|
5467
|
+
};
|
|
5468
|
+
};
|
|
5469
|
+
};
|
|
5470
|
+
responses: {
|
|
5471
|
+
/** @description Default Response */
|
|
5472
|
+
200: {
|
|
5473
|
+
headers: {
|
|
5474
|
+
[name: string]: unknown;
|
|
5475
|
+
};
|
|
5476
|
+
content: {
|
|
5477
|
+
"application/json": {
|
|
5478
|
+
/**
|
|
5479
|
+
* Format: uuid
|
|
5480
|
+
* @description Server-generated id of the persisted feedback row.
|
|
5481
|
+
*/
|
|
5482
|
+
id: string;
|
|
5483
|
+
/** @description The normalized descriptor hash this feedback is keyed on. Matches the hash /v1/enrich uses for cache + tenant_corrections lookup. */
|
|
5484
|
+
descriptor_hash: string;
|
|
5485
|
+
};
|
|
5486
|
+
};
|
|
5487
|
+
};
|
|
5488
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5489
|
+
400: {
|
|
5490
|
+
headers: {
|
|
5491
|
+
[name: string]: unknown;
|
|
5492
|
+
};
|
|
5493
|
+
content: {
|
|
5494
|
+
"application/json": {
|
|
5495
|
+
/**
|
|
5496
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5497
|
+
* @example invalid_key
|
|
5498
|
+
*/
|
|
5499
|
+
error: string;
|
|
5500
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5501
|
+
detail?: string;
|
|
5502
|
+
};
|
|
5503
|
+
};
|
|
5504
|
+
};
|
|
5505
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5506
|
+
401: {
|
|
5507
|
+
headers: {
|
|
5508
|
+
[name: string]: unknown;
|
|
5509
|
+
};
|
|
5510
|
+
content: {
|
|
5511
|
+
"application/json": {
|
|
5512
|
+
/**
|
|
5513
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5514
|
+
* @example invalid_key
|
|
5515
|
+
*/
|
|
5516
|
+
error: string;
|
|
5517
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5518
|
+
detail?: string;
|
|
5519
|
+
};
|
|
5520
|
+
};
|
|
5521
|
+
};
|
|
5522
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5523
|
+
403: {
|
|
5524
|
+
headers: {
|
|
5525
|
+
[name: string]: unknown;
|
|
5526
|
+
};
|
|
5527
|
+
content: {
|
|
5528
|
+
"application/json": {
|
|
5529
|
+
/**
|
|
5530
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5531
|
+
* @example invalid_key
|
|
5532
|
+
*/
|
|
5533
|
+
error: string;
|
|
5534
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5535
|
+
detail?: string;
|
|
5536
|
+
};
|
|
5537
|
+
};
|
|
5538
|
+
};
|
|
5539
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5540
|
+
429: {
|
|
5541
|
+
headers: {
|
|
5542
|
+
[name: string]: unknown;
|
|
5543
|
+
};
|
|
5544
|
+
content: {
|
|
5545
|
+
"application/json": {
|
|
5546
|
+
/**
|
|
5547
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5548
|
+
* @example invalid_key
|
|
5549
|
+
*/
|
|
5550
|
+
error: string;
|
|
5551
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5552
|
+
detail?: string;
|
|
5553
|
+
};
|
|
5554
|
+
};
|
|
5555
|
+
};
|
|
5556
|
+
};
|
|
5557
|
+
};
|
|
5558
|
+
submitConfirmation: {
|
|
5559
|
+
parameters: {
|
|
5560
|
+
query?: never;
|
|
5561
|
+
header?: never;
|
|
5562
|
+
path?: never;
|
|
5563
|
+
cookie?: never;
|
|
5564
|
+
};
|
|
5565
|
+
requestBody: {
|
|
5566
|
+
content: {
|
|
5567
|
+
"application/json": {
|
|
5568
|
+
/** @description The original transaction descriptor as passed to /v1/enrich. */
|
|
5569
|
+
descriptor: string;
|
|
5570
|
+
/** @description Catalog id of the merchant whose enrichment is being confirmed. Omit to confirm a "no merchant resolved" decision (e.g. /v1/enrich correctly classified this as a bank fee). */
|
|
5571
|
+
confirmed_merchant_id?: number;
|
|
5572
|
+
};
|
|
5573
|
+
};
|
|
5574
|
+
};
|
|
5575
|
+
responses: {
|
|
5576
|
+
/** @description Default Response */
|
|
5577
|
+
200: {
|
|
5578
|
+
headers: {
|
|
5579
|
+
[name: string]: unknown;
|
|
5580
|
+
};
|
|
5581
|
+
content: {
|
|
5582
|
+
"application/json": {
|
|
5583
|
+
/**
|
|
5584
|
+
* Format: uuid
|
|
5585
|
+
* @description Server-generated id of the persisted feedback row.
|
|
5586
|
+
*/
|
|
5587
|
+
id: string;
|
|
5588
|
+
/** @description The normalized descriptor hash this feedback is keyed on. Matches the hash /v1/enrich uses for cache + tenant_corrections lookup. */
|
|
5589
|
+
descriptor_hash: string;
|
|
5590
|
+
};
|
|
5591
|
+
};
|
|
5592
|
+
};
|
|
5593
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5594
|
+
400: {
|
|
5595
|
+
headers: {
|
|
5596
|
+
[name: string]: unknown;
|
|
5597
|
+
};
|
|
5598
|
+
content: {
|
|
5599
|
+
"application/json": {
|
|
5600
|
+
/**
|
|
5601
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5602
|
+
* @example invalid_key
|
|
5603
|
+
*/
|
|
5604
|
+
error: string;
|
|
5605
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5606
|
+
detail?: string;
|
|
5607
|
+
};
|
|
5608
|
+
};
|
|
5609
|
+
};
|
|
5610
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5611
|
+
401: {
|
|
5612
|
+
headers: {
|
|
5613
|
+
[name: string]: unknown;
|
|
5614
|
+
};
|
|
5615
|
+
content: {
|
|
5616
|
+
"application/json": {
|
|
5617
|
+
/**
|
|
5618
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5619
|
+
* @example invalid_key
|
|
5620
|
+
*/
|
|
5621
|
+
error: string;
|
|
5622
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5623
|
+
detail?: string;
|
|
5624
|
+
};
|
|
5625
|
+
};
|
|
5626
|
+
};
|
|
5627
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5628
|
+
403: {
|
|
5629
|
+
headers: {
|
|
5630
|
+
[name: string]: unknown;
|
|
5631
|
+
};
|
|
5632
|
+
content: {
|
|
5633
|
+
"application/json": {
|
|
5634
|
+
/**
|
|
5635
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5636
|
+
* @example invalid_key
|
|
5637
|
+
*/
|
|
5638
|
+
error: string;
|
|
5639
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5640
|
+
detail?: string;
|
|
5641
|
+
};
|
|
5642
|
+
};
|
|
5643
|
+
};
|
|
5644
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5645
|
+
429: {
|
|
5646
|
+
headers: {
|
|
5647
|
+
[name: string]: unknown;
|
|
5648
|
+
};
|
|
5649
|
+
content: {
|
|
5650
|
+
"application/json": {
|
|
5651
|
+
/**
|
|
5652
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5653
|
+
* @example invalid_key
|
|
5654
|
+
*/
|
|
5655
|
+
error: string;
|
|
5656
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5657
|
+
detail?: string;
|
|
5658
|
+
};
|
|
5659
|
+
};
|
|
5660
|
+
};
|
|
5661
|
+
};
|
|
5662
|
+
};
|
|
5663
|
+
listWebhookEndpoints: {
|
|
5664
|
+
parameters: {
|
|
5665
|
+
query?: never;
|
|
5666
|
+
header?: never;
|
|
5667
|
+
path?: never;
|
|
5668
|
+
cookie?: never;
|
|
5669
|
+
};
|
|
5670
|
+
requestBody?: never;
|
|
5671
|
+
responses: {
|
|
5672
|
+
/** @description Default Response */
|
|
5673
|
+
200: {
|
|
5674
|
+
headers: {
|
|
5675
|
+
[name: string]: unknown;
|
|
5676
|
+
};
|
|
5677
|
+
content: {
|
|
5678
|
+
"application/json": {
|
|
5679
|
+
endpoints: {
|
|
5680
|
+
/** Format: uuid */
|
|
5681
|
+
id: string;
|
|
5682
|
+
/** Format: uri */
|
|
5683
|
+
url: string;
|
|
5684
|
+
secret_prefix: string;
|
|
5685
|
+
events: string[];
|
|
5686
|
+
status: "active" | "disabled" | "auto_disabled";
|
|
5687
|
+
consecutive_failures: number;
|
|
5688
|
+
/** Format: date-time */
|
|
5689
|
+
created_at: string;
|
|
5690
|
+
rotated_at: string | null;
|
|
5691
|
+
last_delivered_at: string | null;
|
|
5692
|
+
}[];
|
|
5693
|
+
};
|
|
5694
|
+
};
|
|
5695
|
+
};
|
|
5696
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5697
|
+
401: {
|
|
5698
|
+
headers: {
|
|
5699
|
+
[name: string]: unknown;
|
|
5700
|
+
};
|
|
5701
|
+
content: {
|
|
5702
|
+
"application/json": {
|
|
5703
|
+
/**
|
|
5704
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5705
|
+
* @example invalid_key
|
|
5706
|
+
*/
|
|
5707
|
+
error: string;
|
|
5708
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5709
|
+
detail?: string;
|
|
5710
|
+
};
|
|
5711
|
+
};
|
|
5712
|
+
};
|
|
5713
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5714
|
+
403: {
|
|
5715
|
+
headers: {
|
|
5716
|
+
[name: string]: unknown;
|
|
5717
|
+
};
|
|
5718
|
+
content: {
|
|
5719
|
+
"application/json": {
|
|
5720
|
+
/**
|
|
5721
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5722
|
+
* @example invalid_key
|
|
5723
|
+
*/
|
|
5724
|
+
error: string;
|
|
5725
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5726
|
+
detail?: string;
|
|
5727
|
+
};
|
|
5728
|
+
};
|
|
5729
|
+
};
|
|
5730
|
+
};
|
|
5731
|
+
};
|
|
5732
|
+
createWebhookEndpoint: {
|
|
5733
|
+
parameters: {
|
|
5734
|
+
query?: never;
|
|
5735
|
+
header?: never;
|
|
5736
|
+
path?: never;
|
|
5737
|
+
cookie?: never;
|
|
5738
|
+
};
|
|
5739
|
+
requestBody: {
|
|
5740
|
+
content: {
|
|
5741
|
+
"application/json": {
|
|
5742
|
+
/**
|
|
5743
|
+
* Format: uri
|
|
5744
|
+
* @description HTTPS URL to receive events. Plain HTTP rejected.
|
|
5745
|
+
*/
|
|
5746
|
+
url: string;
|
|
5747
|
+
/** @description Subset of supported events to subscribe to. Defaults to all currently-supported. */
|
|
5748
|
+
events?: ("batch.completed" | "batch.failed" | "analysis.completed" | "ingestion.completed" | "connect.connection.activated")[];
|
|
5749
|
+
};
|
|
5750
|
+
};
|
|
5751
|
+
};
|
|
5752
|
+
responses: {
|
|
5753
|
+
/** @description Default Response */
|
|
5754
|
+
201: {
|
|
5755
|
+
headers: {
|
|
5756
|
+
[name: string]: unknown;
|
|
5757
|
+
};
|
|
5758
|
+
content: {
|
|
5759
|
+
"application/json": {
|
|
5760
|
+
/** Format: uuid */
|
|
5761
|
+
id: string;
|
|
5762
|
+
/** Format: uri */
|
|
5763
|
+
url: string;
|
|
5764
|
+
secret_prefix: string;
|
|
5765
|
+
events: string[];
|
|
5766
|
+
status: "active" | "disabled" | "auto_disabled";
|
|
5767
|
+
consecutive_failures: number;
|
|
5768
|
+
/** Format: date-time */
|
|
5769
|
+
created_at: string;
|
|
5770
|
+
rotated_at: string | null;
|
|
5771
|
+
last_delivered_at: string | null;
|
|
5772
|
+
} & {
|
|
5773
|
+
/** @description Raw signing secret — shown ONCE. Save it; it cannot be recovered. Use it to verify the X-Distyra-Signature header on incoming deliveries. */
|
|
5774
|
+
secret: string;
|
|
5775
|
+
};
|
|
5776
|
+
};
|
|
5777
|
+
};
|
|
5778
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5779
|
+
400: {
|
|
5780
|
+
headers: {
|
|
5781
|
+
[name: string]: unknown;
|
|
5782
|
+
};
|
|
5783
|
+
content: {
|
|
5784
|
+
"application/json": {
|
|
5785
|
+
/**
|
|
5786
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5787
|
+
* @example invalid_key
|
|
5788
|
+
*/
|
|
5789
|
+
error: string;
|
|
5790
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5791
|
+
detail?: string;
|
|
5792
|
+
};
|
|
5793
|
+
};
|
|
5794
|
+
};
|
|
5795
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5796
|
+
401: {
|
|
5797
|
+
headers: {
|
|
5798
|
+
[name: string]: unknown;
|
|
5799
|
+
};
|
|
5800
|
+
content: {
|
|
5801
|
+
"application/json": {
|
|
5802
|
+
/**
|
|
5803
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5804
|
+
* @example invalid_key
|
|
5805
|
+
*/
|
|
5806
|
+
error: string;
|
|
5807
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5808
|
+
detail?: string;
|
|
5809
|
+
};
|
|
5810
|
+
};
|
|
5811
|
+
};
|
|
5812
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5813
|
+
403: {
|
|
5814
|
+
headers: {
|
|
5815
|
+
[name: string]: unknown;
|
|
5816
|
+
};
|
|
5817
|
+
content: {
|
|
5818
|
+
"application/json": {
|
|
5819
|
+
/**
|
|
5820
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5821
|
+
* @example invalid_key
|
|
5822
|
+
*/
|
|
5823
|
+
error: string;
|
|
5824
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5825
|
+
detail?: string;
|
|
5826
|
+
};
|
|
5827
|
+
};
|
|
5828
|
+
};
|
|
5829
|
+
};
|
|
5830
|
+
};
|
|
5831
|
+
getWebhookEndpoint: {
|
|
5832
|
+
parameters: {
|
|
5833
|
+
query?: never;
|
|
5834
|
+
header?: never;
|
|
5835
|
+
path: {
|
|
5836
|
+
id: string;
|
|
5837
|
+
};
|
|
5838
|
+
cookie?: never;
|
|
5839
|
+
};
|
|
5840
|
+
requestBody?: never;
|
|
5841
|
+
responses: {
|
|
5842
|
+
/** @description Default Response */
|
|
5843
|
+
200: {
|
|
5844
|
+
headers: {
|
|
5845
|
+
[name: string]: unknown;
|
|
5846
|
+
};
|
|
5847
|
+
content: {
|
|
5848
|
+
"application/json": {
|
|
5849
|
+
/** Format: uuid */
|
|
5850
|
+
id: string;
|
|
5851
|
+
/** Format: uri */
|
|
5852
|
+
url: string;
|
|
5853
|
+
secret_prefix: string;
|
|
5854
|
+
events: string[];
|
|
5855
|
+
status: "active" | "disabled" | "auto_disabled";
|
|
5856
|
+
consecutive_failures: number;
|
|
5857
|
+
/** Format: date-time */
|
|
5858
|
+
created_at: string;
|
|
5859
|
+
rotated_at: string | null;
|
|
5860
|
+
last_delivered_at: string | null;
|
|
5861
|
+
};
|
|
5862
|
+
};
|
|
5863
|
+
};
|
|
5864
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5865
|
+
401: {
|
|
5866
|
+
headers: {
|
|
5867
|
+
[name: string]: unknown;
|
|
5868
|
+
};
|
|
5869
|
+
content: {
|
|
5870
|
+
"application/json": {
|
|
5871
|
+
/**
|
|
5872
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5873
|
+
* @example invalid_key
|
|
5874
|
+
*/
|
|
5875
|
+
error: string;
|
|
5876
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5877
|
+
detail?: string;
|
|
5878
|
+
};
|
|
5879
|
+
};
|
|
5880
|
+
};
|
|
5881
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5882
|
+
403: {
|
|
5883
|
+
headers: {
|
|
5884
|
+
[name: string]: unknown;
|
|
5885
|
+
};
|
|
5886
|
+
content: {
|
|
5887
|
+
"application/json": {
|
|
5888
|
+
/**
|
|
5889
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5890
|
+
* @example invalid_key
|
|
5891
|
+
*/
|
|
5892
|
+
error: string;
|
|
5893
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5894
|
+
detail?: string;
|
|
5895
|
+
};
|
|
5896
|
+
};
|
|
5897
|
+
};
|
|
5898
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5899
|
+
404: {
|
|
5900
|
+
headers: {
|
|
5901
|
+
[name: string]: unknown;
|
|
5902
|
+
};
|
|
5903
|
+
content: {
|
|
5904
|
+
"application/json": {
|
|
5905
|
+
/**
|
|
5906
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5907
|
+
* @example invalid_key
|
|
5908
|
+
*/
|
|
5909
|
+
error: string;
|
|
5910
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5911
|
+
detail?: string;
|
|
5912
|
+
};
|
|
5913
|
+
};
|
|
5914
|
+
};
|
|
5915
|
+
};
|
|
5916
|
+
};
|
|
5917
|
+
deleteWebhookEndpoint: {
|
|
5918
|
+
parameters: {
|
|
5919
|
+
query?: never;
|
|
5920
|
+
header?: never;
|
|
5921
|
+
path: {
|
|
5922
|
+
id: string;
|
|
5923
|
+
};
|
|
5924
|
+
cookie?: never;
|
|
5925
|
+
};
|
|
5926
|
+
requestBody?: never;
|
|
5927
|
+
responses: {
|
|
5928
|
+
/** @description Default Response */
|
|
5929
|
+
204: {
|
|
5930
|
+
headers: {
|
|
5931
|
+
[name: string]: unknown;
|
|
5932
|
+
};
|
|
5933
|
+
content?: never;
|
|
5934
|
+
};
|
|
5935
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5936
|
+
401: {
|
|
5937
|
+
headers: {
|
|
5938
|
+
[name: string]: unknown;
|
|
5939
|
+
};
|
|
5940
|
+
content: {
|
|
5941
|
+
"application/json": {
|
|
5942
|
+
/**
|
|
5943
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5944
|
+
* @example invalid_key
|
|
5945
|
+
*/
|
|
5946
|
+
error: string;
|
|
5947
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5948
|
+
detail?: string;
|
|
5949
|
+
};
|
|
5950
|
+
};
|
|
5951
|
+
};
|
|
5952
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5953
|
+
403: {
|
|
5954
|
+
headers: {
|
|
5955
|
+
[name: string]: unknown;
|
|
5956
|
+
};
|
|
5957
|
+
content: {
|
|
5958
|
+
"application/json": {
|
|
5959
|
+
/**
|
|
5960
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5961
|
+
* @example invalid_key
|
|
5962
|
+
*/
|
|
5963
|
+
error: string;
|
|
5964
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5965
|
+
detail?: string;
|
|
5966
|
+
};
|
|
5967
|
+
};
|
|
5968
|
+
};
|
|
5969
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5970
|
+
404: {
|
|
5971
|
+
headers: {
|
|
5972
|
+
[name: string]: unknown;
|
|
5973
|
+
};
|
|
5974
|
+
content: {
|
|
5975
|
+
"application/json": {
|
|
5976
|
+
/**
|
|
5977
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5978
|
+
* @example invalid_key
|
|
5979
|
+
*/
|
|
5980
|
+
error: string;
|
|
5981
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5982
|
+
detail?: string;
|
|
5983
|
+
};
|
|
5984
|
+
};
|
|
5985
|
+
};
|
|
5986
|
+
};
|
|
5987
|
+
};
|
|
5988
|
+
rotateWebhookEndpointSecret: {
|
|
5989
|
+
parameters: {
|
|
5990
|
+
query?: never;
|
|
5991
|
+
header?: never;
|
|
5992
|
+
path: {
|
|
5993
|
+
id: string;
|
|
5994
|
+
};
|
|
5995
|
+
cookie?: never;
|
|
5996
|
+
};
|
|
5997
|
+
requestBody?: never;
|
|
5998
|
+
responses: {
|
|
5999
|
+
/** @description Default Response */
|
|
6000
|
+
200: {
|
|
6001
|
+
headers: {
|
|
6002
|
+
[name: string]: unknown;
|
|
6003
|
+
};
|
|
6004
|
+
content: {
|
|
6005
|
+
"application/json": {
|
|
6006
|
+
/** Format: uuid */
|
|
6007
|
+
id: string;
|
|
6008
|
+
/** Format: uri */
|
|
6009
|
+
url: string;
|
|
6010
|
+
secret_prefix: string;
|
|
6011
|
+
events: string[];
|
|
6012
|
+
status: "active" | "disabled" | "auto_disabled";
|
|
6013
|
+
consecutive_failures: number;
|
|
6014
|
+
/** Format: date-time */
|
|
6015
|
+
created_at: string;
|
|
6016
|
+
rotated_at: string | null;
|
|
6017
|
+
last_delivered_at: string | null;
|
|
6018
|
+
} & {
|
|
6019
|
+
/** @description Raw signing secret — shown ONCE. Save it; it cannot be recovered. Use it to verify the X-Distyra-Signature header on incoming deliveries. */
|
|
6020
|
+
secret: string;
|
|
6021
|
+
};
|
|
6022
|
+
};
|
|
6023
|
+
};
|
|
6024
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6025
|
+
401: {
|
|
4939
6026
|
headers: {
|
|
4940
6027
|
[name: string]: unknown;
|
|
4941
6028
|
};
|
|
@@ -4952,7 +6039,7 @@ export interface operations {
|
|
|
4952
6039
|
};
|
|
4953
6040
|
};
|
|
4954
6041
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
4955
|
-
|
|
6042
|
+
403: {
|
|
4956
6043
|
headers: {
|
|
4957
6044
|
[name: string]: unknown;
|
|
4958
6045
|
};
|
|
@@ -4969,7 +6056,7 @@ export interface operations {
|
|
|
4969
6056
|
};
|
|
4970
6057
|
};
|
|
4971
6058
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
4972
|
-
|
|
6059
|
+
404: {
|
|
4973
6060
|
headers: {
|
|
4974
6061
|
[name: string]: unknown;
|
|
4975
6062
|
};
|
|
@@ -4987,9 +6074,12 @@ export interface operations {
|
|
|
4987
6074
|
};
|
|
4988
6075
|
};
|
|
4989
6076
|
};
|
|
4990
|
-
|
|
6077
|
+
listAspsps: {
|
|
4991
6078
|
parameters: {
|
|
4992
|
-
query
|
|
6079
|
+
query: {
|
|
6080
|
+
country: string;
|
|
6081
|
+
psu_type?: "business" | "personal";
|
|
6082
|
+
};
|
|
4993
6083
|
header?: never;
|
|
4994
6084
|
path?: never;
|
|
4995
6085
|
cookie?: never;
|
|
@@ -5003,14 +6093,33 @@ export interface operations {
|
|
|
5003
6093
|
};
|
|
5004
6094
|
content: {
|
|
5005
6095
|
"application/json": {
|
|
5006
|
-
|
|
6096
|
+
country: string;
|
|
6097
|
+
psu_type: "business" | "personal";
|
|
6098
|
+
aspsps: {
|
|
5007
6099
|
name: string;
|
|
5008
|
-
|
|
6100
|
+
country: string;
|
|
5009
6101
|
}[];
|
|
5010
6102
|
};
|
|
5011
6103
|
};
|
|
5012
6104
|
};
|
|
5013
6105
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6106
|
+
400: {
|
|
6107
|
+
headers: {
|
|
6108
|
+
[name: string]: unknown;
|
|
6109
|
+
};
|
|
6110
|
+
content: {
|
|
6111
|
+
"application/json": {
|
|
6112
|
+
/**
|
|
6113
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6114
|
+
* @example invalid_key
|
|
6115
|
+
*/
|
|
6116
|
+
error: string;
|
|
6117
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6118
|
+
detail?: string;
|
|
6119
|
+
};
|
|
6120
|
+
};
|
|
6121
|
+
};
|
|
6122
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5014
6123
|
401: {
|
|
5015
6124
|
headers: {
|
|
5016
6125
|
[name: string]: unknown;
|
|
@@ -5045,7 +6154,24 @@ export interface operations {
|
|
|
5045
6154
|
};
|
|
5046
6155
|
};
|
|
5047
6156
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5048
|
-
|
|
6157
|
+
502: {
|
|
6158
|
+
headers: {
|
|
6159
|
+
[name: string]: unknown;
|
|
6160
|
+
};
|
|
6161
|
+
content: {
|
|
6162
|
+
"application/json": {
|
|
6163
|
+
/**
|
|
6164
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6165
|
+
* @example invalid_key
|
|
6166
|
+
*/
|
|
6167
|
+
error: string;
|
|
6168
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6169
|
+
detail?: string;
|
|
6170
|
+
};
|
|
6171
|
+
};
|
|
6172
|
+
};
|
|
6173
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6174
|
+
503: {
|
|
5049
6175
|
headers: {
|
|
5050
6176
|
[name: string]: unknown;
|
|
5051
6177
|
};
|
|
@@ -5063,43 +6189,112 @@ export interface operations {
|
|
|
5063
6189
|
};
|
|
5064
6190
|
};
|
|
5065
6191
|
};
|
|
5066
|
-
|
|
6192
|
+
listConnections: {
|
|
6193
|
+
parameters: {
|
|
6194
|
+
query?: never;
|
|
6195
|
+
header?: never;
|
|
6196
|
+
path?: never;
|
|
6197
|
+
cookie?: never;
|
|
6198
|
+
};
|
|
6199
|
+
requestBody?: never;
|
|
6200
|
+
responses: {
|
|
6201
|
+
/** @description Default Response */
|
|
6202
|
+
200: {
|
|
6203
|
+
headers: {
|
|
6204
|
+
[name: string]: unknown;
|
|
6205
|
+
};
|
|
6206
|
+
content: {
|
|
6207
|
+
"application/json": {
|
|
6208
|
+
connections: {
|
|
6209
|
+
/** Format: uuid */
|
|
6210
|
+
id: string;
|
|
6211
|
+
applicant_ref: string | null;
|
|
6212
|
+
aspsp_name: string | null;
|
|
6213
|
+
country: string | null;
|
|
6214
|
+
psu_type: "business" | "personal";
|
|
6215
|
+
status: "pending" | "active" | "expired" | "revoked";
|
|
6216
|
+
consent_expires_at: string | null;
|
|
6217
|
+
/** Format: date-time */
|
|
6218
|
+
created_at: string;
|
|
6219
|
+
}[];
|
|
6220
|
+
};
|
|
6221
|
+
};
|
|
6222
|
+
};
|
|
6223
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6224
|
+
401: {
|
|
6225
|
+
headers: {
|
|
6226
|
+
[name: string]: unknown;
|
|
6227
|
+
};
|
|
6228
|
+
content: {
|
|
6229
|
+
"application/json": {
|
|
6230
|
+
/**
|
|
6231
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6232
|
+
* @example invalid_key
|
|
6233
|
+
*/
|
|
6234
|
+
error: string;
|
|
6235
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6236
|
+
detail?: string;
|
|
6237
|
+
};
|
|
6238
|
+
};
|
|
6239
|
+
};
|
|
6240
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6241
|
+
403: {
|
|
6242
|
+
headers: {
|
|
6243
|
+
[name: string]: unknown;
|
|
6244
|
+
};
|
|
6245
|
+
content: {
|
|
6246
|
+
"application/json": {
|
|
6247
|
+
/**
|
|
6248
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6249
|
+
* @example invalid_key
|
|
6250
|
+
*/
|
|
6251
|
+
error: string;
|
|
6252
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6253
|
+
detail?: string;
|
|
6254
|
+
};
|
|
6255
|
+
};
|
|
6256
|
+
};
|
|
6257
|
+
};
|
|
6258
|
+
};
|
|
6259
|
+
createConnection: {
|
|
5067
6260
|
parameters: {
|
|
5068
6261
|
query?: never;
|
|
5069
6262
|
header?: never;
|
|
5070
6263
|
path?: never;
|
|
5071
6264
|
cookie?: never;
|
|
5072
6265
|
};
|
|
5073
|
-
/** @description At least one of `corrected_merchant_id` or `corrected_merchant_name` must be provided. */
|
|
5074
6266
|
requestBody: {
|
|
5075
6267
|
content: {
|
|
5076
6268
|
"application/json": {
|
|
5077
|
-
/** @description
|
|
5078
|
-
|
|
5079
|
-
/** @description
|
|
5080
|
-
|
|
5081
|
-
/** @description
|
|
5082
|
-
|
|
5083
|
-
/**
|
|
5084
|
-
|
|
6269
|
+
/** @description ISO-2 country code, e.g. DE. */
|
|
6270
|
+
country: string;
|
|
6271
|
+
/** @description Bank name; resolved to the canonical Enable Banking ASPSP name. */
|
|
6272
|
+
aspsp_name: string;
|
|
6273
|
+
/** @description Your reference for the applicant/deal (model 2). Omit for a self-link of your own accounts (model 1). */
|
|
6274
|
+
applicant_ref?: string;
|
|
6275
|
+
/**
|
|
6276
|
+
* Format: uri
|
|
6277
|
+
* @description Where to send the applicant after consent. Defaults to a Distyra-hosted page.
|
|
6278
|
+
*/
|
|
6279
|
+
return_url?: string;
|
|
5085
6280
|
};
|
|
5086
6281
|
};
|
|
5087
6282
|
};
|
|
5088
6283
|
responses: {
|
|
5089
6284
|
/** @description Default Response */
|
|
5090
|
-
|
|
6285
|
+
201: {
|
|
5091
6286
|
headers: {
|
|
5092
6287
|
[name: string]: unknown;
|
|
5093
6288
|
};
|
|
5094
6289
|
content: {
|
|
5095
6290
|
"application/json": {
|
|
6291
|
+
/** Format: uuid */
|
|
6292
|
+
connection_id: string;
|
|
5096
6293
|
/**
|
|
5097
|
-
* Format:
|
|
5098
|
-
* @description
|
|
6294
|
+
* Format: uri
|
|
6295
|
+
* @description Redirect the applicant here to complete SCA at their bank.
|
|
5099
6296
|
*/
|
|
5100
|
-
|
|
5101
|
-
/** @description The normalized descriptor hash this feedback is keyed on. Matches the hash /v1/enrich uses for cache + tenant_corrections lookup. */
|
|
5102
|
-
descriptor_hash: string;
|
|
6297
|
+
authorization_url: string;
|
|
5103
6298
|
};
|
|
5104
6299
|
};
|
|
5105
6300
|
};
|
|
@@ -5110,13 +6305,148 @@ export interface operations {
|
|
|
5110
6305
|
};
|
|
5111
6306
|
content: {
|
|
5112
6307
|
"application/json": {
|
|
5113
|
-
/**
|
|
5114
|
-
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5115
|
-
* @example invalid_key
|
|
5116
|
-
*/
|
|
5117
|
-
error: string;
|
|
5118
|
-
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5119
|
-
detail?: string;
|
|
6308
|
+
/**
|
|
6309
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6310
|
+
* @example invalid_key
|
|
6311
|
+
*/
|
|
6312
|
+
error: string;
|
|
6313
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6314
|
+
detail?: string;
|
|
6315
|
+
};
|
|
6316
|
+
};
|
|
6317
|
+
};
|
|
6318
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6319
|
+
401: {
|
|
6320
|
+
headers: {
|
|
6321
|
+
[name: string]: unknown;
|
|
6322
|
+
};
|
|
6323
|
+
content: {
|
|
6324
|
+
"application/json": {
|
|
6325
|
+
/**
|
|
6326
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6327
|
+
* @example invalid_key
|
|
6328
|
+
*/
|
|
6329
|
+
error: string;
|
|
6330
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6331
|
+
detail?: string;
|
|
6332
|
+
};
|
|
6333
|
+
};
|
|
6334
|
+
};
|
|
6335
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6336
|
+
402: {
|
|
6337
|
+
headers: {
|
|
6338
|
+
[name: string]: unknown;
|
|
6339
|
+
};
|
|
6340
|
+
content: {
|
|
6341
|
+
"application/json": {
|
|
6342
|
+
/**
|
|
6343
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6344
|
+
* @example invalid_key
|
|
6345
|
+
*/
|
|
6346
|
+
error: string;
|
|
6347
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6348
|
+
detail?: string;
|
|
6349
|
+
};
|
|
6350
|
+
};
|
|
6351
|
+
};
|
|
6352
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6353
|
+
403: {
|
|
6354
|
+
headers: {
|
|
6355
|
+
[name: string]: unknown;
|
|
6356
|
+
};
|
|
6357
|
+
content: {
|
|
6358
|
+
"application/json": {
|
|
6359
|
+
/**
|
|
6360
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6361
|
+
* @example invalid_key
|
|
6362
|
+
*/
|
|
6363
|
+
error: string;
|
|
6364
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6365
|
+
detail?: string;
|
|
6366
|
+
};
|
|
6367
|
+
};
|
|
6368
|
+
};
|
|
6369
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6370
|
+
422: {
|
|
6371
|
+
headers: {
|
|
6372
|
+
[name: string]: unknown;
|
|
6373
|
+
};
|
|
6374
|
+
content: {
|
|
6375
|
+
"application/json": {
|
|
6376
|
+
/**
|
|
6377
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6378
|
+
* @example invalid_key
|
|
6379
|
+
*/
|
|
6380
|
+
error: string;
|
|
6381
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6382
|
+
detail?: string;
|
|
6383
|
+
};
|
|
6384
|
+
};
|
|
6385
|
+
};
|
|
6386
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6387
|
+
502: {
|
|
6388
|
+
headers: {
|
|
6389
|
+
[name: string]: unknown;
|
|
6390
|
+
};
|
|
6391
|
+
content: {
|
|
6392
|
+
"application/json": {
|
|
6393
|
+
/**
|
|
6394
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6395
|
+
* @example invalid_key
|
|
6396
|
+
*/
|
|
6397
|
+
error: string;
|
|
6398
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6399
|
+
detail?: string;
|
|
6400
|
+
};
|
|
6401
|
+
};
|
|
6402
|
+
};
|
|
6403
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6404
|
+
503: {
|
|
6405
|
+
headers: {
|
|
6406
|
+
[name: string]: unknown;
|
|
6407
|
+
};
|
|
6408
|
+
content: {
|
|
6409
|
+
"application/json": {
|
|
6410
|
+
/**
|
|
6411
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6412
|
+
* @example invalid_key
|
|
6413
|
+
*/
|
|
6414
|
+
error: string;
|
|
6415
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6416
|
+
detail?: string;
|
|
6417
|
+
};
|
|
6418
|
+
};
|
|
6419
|
+
};
|
|
6420
|
+
};
|
|
6421
|
+
};
|
|
6422
|
+
getConnection: {
|
|
6423
|
+
parameters: {
|
|
6424
|
+
query?: never;
|
|
6425
|
+
header?: never;
|
|
6426
|
+
path: {
|
|
6427
|
+
id: string;
|
|
6428
|
+
};
|
|
6429
|
+
cookie?: never;
|
|
6430
|
+
};
|
|
6431
|
+
requestBody?: never;
|
|
6432
|
+
responses: {
|
|
6433
|
+
/** @description Default Response */
|
|
6434
|
+
200: {
|
|
6435
|
+
headers: {
|
|
6436
|
+
[name: string]: unknown;
|
|
6437
|
+
};
|
|
6438
|
+
content: {
|
|
6439
|
+
"application/json": {
|
|
6440
|
+
/** Format: uuid */
|
|
6441
|
+
id: string;
|
|
6442
|
+
applicant_ref: string | null;
|
|
6443
|
+
aspsp_name: string | null;
|
|
6444
|
+
country: string | null;
|
|
6445
|
+
psu_type: "business" | "personal";
|
|
6446
|
+
status: "pending" | "active" | "expired" | "revoked";
|
|
6447
|
+
consent_expires_at: string | null;
|
|
6448
|
+
/** Format: date-time */
|
|
6449
|
+
created_at: string;
|
|
5120
6450
|
};
|
|
5121
6451
|
};
|
|
5122
6452
|
};
|
|
@@ -5155,7 +6485,7 @@ export interface operations {
|
|
|
5155
6485
|
};
|
|
5156
6486
|
};
|
|
5157
6487
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5158
|
-
|
|
6488
|
+
404: {
|
|
5159
6489
|
headers: {
|
|
5160
6490
|
[name: string]: unknown;
|
|
5161
6491
|
};
|
|
@@ -5173,57 +6503,23 @@ export interface operations {
|
|
|
5173
6503
|
};
|
|
5174
6504
|
};
|
|
5175
6505
|
};
|
|
5176
|
-
|
|
6506
|
+
revokeConnection: {
|
|
5177
6507
|
parameters: {
|
|
5178
6508
|
query?: never;
|
|
5179
6509
|
header?: never;
|
|
5180
|
-
path
|
|
5181
|
-
|
|
5182
|
-
};
|
|
5183
|
-
requestBody: {
|
|
5184
|
-
content: {
|
|
5185
|
-
"application/json": {
|
|
5186
|
-
/** @description The original transaction descriptor as passed to /v1/enrich. */
|
|
5187
|
-
descriptor: string;
|
|
5188
|
-
/** @description Catalog id of the merchant whose enrichment is being confirmed. Omit to confirm a "no merchant resolved" decision (e.g. /v1/enrich correctly classified this as a bank fee). */
|
|
5189
|
-
confirmed_merchant_id?: number;
|
|
5190
|
-
};
|
|
6510
|
+
path: {
|
|
6511
|
+
id: string;
|
|
5191
6512
|
};
|
|
6513
|
+
cookie?: never;
|
|
5192
6514
|
};
|
|
6515
|
+
requestBody?: never;
|
|
5193
6516
|
responses: {
|
|
5194
6517
|
/** @description Default Response */
|
|
5195
|
-
|
|
5196
|
-
headers: {
|
|
5197
|
-
[name: string]: unknown;
|
|
5198
|
-
};
|
|
5199
|
-
content: {
|
|
5200
|
-
"application/json": {
|
|
5201
|
-
/**
|
|
5202
|
-
* Format: uuid
|
|
5203
|
-
* @description Server-generated id of the persisted feedback row.
|
|
5204
|
-
*/
|
|
5205
|
-
id: string;
|
|
5206
|
-
/** @description The normalized descriptor hash this feedback is keyed on. Matches the hash /v1/enrich uses for cache + tenant_corrections lookup. */
|
|
5207
|
-
descriptor_hash: string;
|
|
5208
|
-
};
|
|
5209
|
-
};
|
|
5210
|
-
};
|
|
5211
|
-
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5212
|
-
400: {
|
|
6518
|
+
204: {
|
|
5213
6519
|
headers: {
|
|
5214
6520
|
[name: string]: unknown;
|
|
5215
6521
|
};
|
|
5216
|
-
content
|
|
5217
|
-
"application/json": {
|
|
5218
|
-
/**
|
|
5219
|
-
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
5220
|
-
* @example invalid_key
|
|
5221
|
-
*/
|
|
5222
|
-
error: string;
|
|
5223
|
-
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
5224
|
-
detail?: string;
|
|
5225
|
-
};
|
|
5226
|
-
};
|
|
6522
|
+
content?: never;
|
|
5227
6523
|
};
|
|
5228
6524
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5229
6525
|
401: {
|
|
@@ -5260,7 +6556,7 @@ export interface operations {
|
|
|
5260
6556
|
};
|
|
5261
6557
|
};
|
|
5262
6558
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5263
|
-
|
|
6559
|
+
404: {
|
|
5264
6560
|
headers: {
|
|
5265
6561
|
[name: string]: unknown;
|
|
5266
6562
|
};
|
|
@@ -5278,11 +6574,13 @@ export interface operations {
|
|
|
5278
6574
|
};
|
|
5279
6575
|
};
|
|
5280
6576
|
};
|
|
5281
|
-
|
|
6577
|
+
getConnectionAccounts: {
|
|
5282
6578
|
parameters: {
|
|
5283
6579
|
query?: never;
|
|
5284
6580
|
header?: never;
|
|
5285
|
-
path
|
|
6581
|
+
path: {
|
|
6582
|
+
id: string;
|
|
6583
|
+
};
|
|
5286
6584
|
cookie?: never;
|
|
5287
6585
|
};
|
|
5288
6586
|
requestBody?: never;
|
|
@@ -5294,19 +6592,17 @@ export interface operations {
|
|
|
5294
6592
|
};
|
|
5295
6593
|
content: {
|
|
5296
6594
|
"application/json": {
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
rotated_at: string | null;
|
|
5309
|
-
last_delivered_at: string | null;
|
|
6595
|
+
accounts: {
|
|
6596
|
+
account_id: string;
|
|
6597
|
+
uid?: string;
|
|
6598
|
+
name: string;
|
|
6599
|
+
currency: string;
|
|
6600
|
+
iban?: string;
|
|
6601
|
+
account_type?: string;
|
|
6602
|
+
balance: {
|
|
6603
|
+
amount: number;
|
|
6604
|
+
currency: string;
|
|
6605
|
+
};
|
|
5310
6606
|
}[];
|
|
5311
6607
|
};
|
|
5312
6608
|
};
|
|
@@ -5345,56 +6641,25 @@ export interface operations {
|
|
|
5345
6641
|
};
|
|
5346
6642
|
};
|
|
5347
6643
|
};
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
createWebhookEndpoint: {
|
|
5351
|
-
parameters: {
|
|
5352
|
-
query?: never;
|
|
5353
|
-
header?: never;
|
|
5354
|
-
path?: never;
|
|
5355
|
-
cookie?: never;
|
|
5356
|
-
};
|
|
5357
|
-
requestBody: {
|
|
5358
|
-
content: {
|
|
5359
|
-
"application/json": {
|
|
5360
|
-
/**
|
|
5361
|
-
* Format: uri
|
|
5362
|
-
* @description HTTPS URL to receive events. Plain HTTP rejected.
|
|
5363
|
-
*/
|
|
5364
|
-
url: string;
|
|
5365
|
-
/** @description Subset of supported events to subscribe to. Defaults to all currently-supported. */
|
|
5366
|
-
events?: ("batch.completed" | "batch.failed" | "analysis.completed" | "ingestion.completed")[];
|
|
5367
|
-
};
|
|
5368
|
-
};
|
|
5369
|
-
};
|
|
5370
|
-
responses: {
|
|
5371
|
-
/** @description Default Response */
|
|
5372
|
-
201: {
|
|
6644
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6645
|
+
404: {
|
|
5373
6646
|
headers: {
|
|
5374
6647
|
[name: string]: unknown;
|
|
5375
6648
|
};
|
|
5376
6649
|
content: {
|
|
5377
6650
|
"application/json": {
|
|
5378
|
-
/**
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
consecutive_failures: number;
|
|
5386
|
-
/** Format: date-time */
|
|
5387
|
-
created_at: string;
|
|
5388
|
-
rotated_at: string | null;
|
|
5389
|
-
last_delivered_at: string | null;
|
|
5390
|
-
} & {
|
|
5391
|
-
/** @description Raw signing secret — shown ONCE. Save it; it cannot be recovered. Use it to verify the X-Distyra-Signature header on incoming deliveries. */
|
|
5392
|
-
secret: string;
|
|
6651
|
+
/**
|
|
6652
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6653
|
+
* @example invalid_key
|
|
6654
|
+
*/
|
|
6655
|
+
error: string;
|
|
6656
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6657
|
+
detail?: string;
|
|
5393
6658
|
};
|
|
5394
6659
|
};
|
|
5395
6660
|
};
|
|
5396
6661
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5397
|
-
|
|
6662
|
+
409: {
|
|
5398
6663
|
headers: {
|
|
5399
6664
|
[name: string]: unknown;
|
|
5400
6665
|
};
|
|
@@ -5411,7 +6676,7 @@ export interface operations {
|
|
|
5411
6676
|
};
|
|
5412
6677
|
};
|
|
5413
6678
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5414
|
-
|
|
6679
|
+
502: {
|
|
5415
6680
|
headers: {
|
|
5416
6681
|
[name: string]: unknown;
|
|
5417
6682
|
};
|
|
@@ -5428,7 +6693,7 @@ export interface operations {
|
|
|
5428
6693
|
};
|
|
5429
6694
|
};
|
|
5430
6695
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5431
|
-
|
|
6696
|
+
503: {
|
|
5432
6697
|
headers: {
|
|
5433
6698
|
[name: string]: unknown;
|
|
5434
6699
|
};
|
|
@@ -5446,9 +6711,18 @@ export interface operations {
|
|
|
5446
6711
|
};
|
|
5447
6712
|
};
|
|
5448
6713
|
};
|
|
5449
|
-
|
|
6714
|
+
getConnectionTransactions: {
|
|
5450
6715
|
parameters: {
|
|
5451
|
-
query?:
|
|
6716
|
+
query?: {
|
|
6717
|
+
/** @description EB account uid; omit to fetch all accounts on the connection. */
|
|
6718
|
+
account_id?: string;
|
|
6719
|
+
date_from?: string;
|
|
6720
|
+
date_to?: string;
|
|
6721
|
+
/** @description Run enrichment on each transaction (bills the enrichment meter; needs enrichment:read). */
|
|
6722
|
+
enrich?: "true" | "false";
|
|
6723
|
+
/** @description Run the full underwriting analysis (enrichment always included; bills the per-applicant underwriting meter; needs underwriting:write). Returns the analysis bundle instead of transactions. */
|
|
6724
|
+
underwrite?: "true" | "false";
|
|
6725
|
+
};
|
|
5452
6726
|
header?: never;
|
|
5453
6727
|
path: {
|
|
5454
6728
|
id: string;
|
|
@@ -5464,18 +6738,7 @@ export interface operations {
|
|
|
5464
6738
|
};
|
|
5465
6739
|
content: {
|
|
5466
6740
|
"application/json": {
|
|
5467
|
-
|
|
5468
|
-
id: string;
|
|
5469
|
-
/** Format: uri */
|
|
5470
|
-
url: string;
|
|
5471
|
-
secret_prefix: string;
|
|
5472
|
-
events: string[];
|
|
5473
|
-
status: "active" | "disabled" | "auto_disabled";
|
|
5474
|
-
consecutive_failures: number;
|
|
5475
|
-
/** Format: date-time */
|
|
5476
|
-
created_at: string;
|
|
5477
|
-
rotated_at: string | null;
|
|
5478
|
-
last_delivered_at: string | null;
|
|
6741
|
+
[key: string]: unknown;
|
|
5479
6742
|
};
|
|
5480
6743
|
};
|
|
5481
6744
|
};
|
|
@@ -5497,6 +6760,23 @@ export interface operations {
|
|
|
5497
6760
|
};
|
|
5498
6761
|
};
|
|
5499
6762
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6763
|
+
402: {
|
|
6764
|
+
headers: {
|
|
6765
|
+
[name: string]: unknown;
|
|
6766
|
+
};
|
|
6767
|
+
content: {
|
|
6768
|
+
"application/json": {
|
|
6769
|
+
/**
|
|
6770
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6771
|
+
* @example invalid_key
|
|
6772
|
+
*/
|
|
6773
|
+
error: string;
|
|
6774
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6775
|
+
detail?: string;
|
|
6776
|
+
};
|
|
6777
|
+
};
|
|
6778
|
+
};
|
|
6779
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5500
6780
|
403: {
|
|
5501
6781
|
headers: {
|
|
5502
6782
|
[name: string]: unknown;
|
|
@@ -5530,28 +6810,25 @@ export interface operations {
|
|
|
5530
6810
|
};
|
|
5531
6811
|
};
|
|
5532
6812
|
};
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
deleteWebhookEndpoint: {
|
|
5536
|
-
parameters: {
|
|
5537
|
-
query?: never;
|
|
5538
|
-
header?: never;
|
|
5539
|
-
path: {
|
|
5540
|
-
id: string;
|
|
5541
|
-
};
|
|
5542
|
-
cookie?: never;
|
|
5543
|
-
};
|
|
5544
|
-
requestBody?: never;
|
|
5545
|
-
responses: {
|
|
5546
|
-
/** @description Default Response */
|
|
5547
|
-
204: {
|
|
6813
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6814
|
+
409: {
|
|
5548
6815
|
headers: {
|
|
5549
6816
|
[name: string]: unknown;
|
|
5550
6817
|
};
|
|
5551
|
-
content
|
|
6818
|
+
content: {
|
|
6819
|
+
"application/json": {
|
|
6820
|
+
/**
|
|
6821
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6822
|
+
* @example invalid_key
|
|
6823
|
+
*/
|
|
6824
|
+
error: string;
|
|
6825
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6826
|
+
detail?: string;
|
|
6827
|
+
};
|
|
6828
|
+
};
|
|
5552
6829
|
};
|
|
5553
6830
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5554
|
-
|
|
6831
|
+
422: {
|
|
5555
6832
|
headers: {
|
|
5556
6833
|
[name: string]: unknown;
|
|
5557
6834
|
};
|
|
@@ -5568,7 +6845,7 @@ export interface operations {
|
|
|
5568
6845
|
};
|
|
5569
6846
|
};
|
|
5570
6847
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5571
|
-
|
|
6848
|
+
502: {
|
|
5572
6849
|
headers: {
|
|
5573
6850
|
[name: string]: unknown;
|
|
5574
6851
|
};
|
|
@@ -5585,7 +6862,7 @@ export interface operations {
|
|
|
5585
6862
|
};
|
|
5586
6863
|
};
|
|
5587
6864
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5588
|
-
|
|
6865
|
+
503: {
|
|
5589
6866
|
headers: {
|
|
5590
6867
|
[name: string]: unknown;
|
|
5591
6868
|
};
|
|
@@ -5603,39 +6880,55 @@ export interface operations {
|
|
|
5603
6880
|
};
|
|
5604
6881
|
};
|
|
5605
6882
|
};
|
|
5606
|
-
|
|
6883
|
+
createHostedConnectLink: {
|
|
5607
6884
|
parameters: {
|
|
5608
6885
|
query?: never;
|
|
5609
6886
|
header?: never;
|
|
5610
|
-
path
|
|
5611
|
-
id: string;
|
|
5612
|
-
};
|
|
6887
|
+
path?: never;
|
|
5613
6888
|
cookie?: never;
|
|
5614
6889
|
};
|
|
5615
|
-
requestBody
|
|
6890
|
+
requestBody: {
|
|
6891
|
+
content: {
|
|
6892
|
+
"application/json": {
|
|
6893
|
+
country: string;
|
|
6894
|
+
applicant_ref?: string;
|
|
6895
|
+
/** Format: uri */
|
|
6896
|
+
return_url?: string;
|
|
6897
|
+
/** @default 72 */
|
|
6898
|
+
expires_in_hours?: number;
|
|
6899
|
+
};
|
|
6900
|
+
};
|
|
6901
|
+
};
|
|
5616
6902
|
responses: {
|
|
5617
6903
|
/** @description Default Response */
|
|
5618
|
-
|
|
6904
|
+
201: {
|
|
5619
6905
|
headers: {
|
|
5620
6906
|
[name: string]: unknown;
|
|
5621
6907
|
};
|
|
5622
6908
|
content: {
|
|
5623
6909
|
"application/json": {
|
|
5624
|
-
/** Format: uuid */
|
|
5625
|
-
id: string;
|
|
5626
6910
|
/** Format: uri */
|
|
5627
6911
|
url: string;
|
|
5628
|
-
|
|
5629
|
-
events: string[];
|
|
5630
|
-
status: "active" | "disabled" | "auto_disabled";
|
|
5631
|
-
consecutive_failures: number;
|
|
6912
|
+
token: string;
|
|
5632
6913
|
/** Format: date-time */
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
6914
|
+
expires_at: string;
|
|
6915
|
+
};
|
|
6916
|
+
};
|
|
6917
|
+
};
|
|
6918
|
+
/** @description Standard error envelope used for all non-2xx responses. */
|
|
6919
|
+
400: {
|
|
6920
|
+
headers: {
|
|
6921
|
+
[name: string]: unknown;
|
|
6922
|
+
};
|
|
6923
|
+
content: {
|
|
6924
|
+
"application/json": {
|
|
6925
|
+
/**
|
|
6926
|
+
* @description Stable machine-readable code. SDK consumers should switch on this.
|
|
6927
|
+
* @example invalid_key
|
|
6928
|
+
*/
|
|
6929
|
+
error: string;
|
|
6930
|
+
/** @description Free-form human-readable explanation. Safe to surface. */
|
|
6931
|
+
detail?: string;
|
|
5639
6932
|
};
|
|
5640
6933
|
};
|
|
5641
6934
|
};
|
|
@@ -5674,7 +6967,7 @@ export interface operations {
|
|
|
5674
6967
|
};
|
|
5675
6968
|
};
|
|
5676
6969
|
/** @description Standard error envelope used for all non-2xx responses. */
|
|
5677
|
-
|
|
6970
|
+
503: {
|
|
5678
6971
|
headers: {
|
|
5679
6972
|
[name: string]: unknown;
|
|
5680
6973
|
};
|