Skip to content

Commit 8e97806

Browse files
feat(api): api update
1 parent d9eeb4b commit 8e97806

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-d5c3e3934333478f55af69889eafaea9b0eeae82a1597c5dec34426e9d55efd5.yml
3-
openapi_spec_hash: 9ec42fee7f3124b3050846f74404b398
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-ded87cb73affcaff9cf779d9cfd119a4026cfc1757b39be95d933edea48a0328.yml
3+
openapi_spec_hash: 0e6394b222fc68d7607114e70b72d23e
44
config_hash: 0892e2e0eeb0343a022afa62e9080dd1

src/resources/sandbox/connections/accounts.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ export interface AccountCreateResponse {
6464
*/
6565
connection_id: string;
6666

67+
/**
68+
* The ID of the entity for this connection
69+
*/
70+
entity_id: string;
71+
6772
products: Array<string>;
6873

6974
/**
@@ -87,17 +92,22 @@ export interface AccountUpdateResponse {
8792
*/
8893
company_id: string;
8994

90-
products: Array<string>;
95+
/**
96+
* The ID of the new connection
97+
*/
98+
connection_id: string;
9199

92100
/**
93-
* The ID of the provider associated with the `access_token`
101+
* The ID of the entity whose status was updated
94102
*/
95-
provider_id: string;
103+
entity_id: string;
104+
105+
products: Array<string>;
96106

97107
/**
98-
* The ID of the new connection
108+
* The ID of the provider associated with the `access_token`
99109
*/
100-
connection_id?: string;
110+
provider_id: string;
101111
}
102112

103113
export interface AccountCreateParams {

src/resources/sandbox/connections/connections.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ export interface ConnectionCreateResponse {
5252
*/
5353
connection_id: string;
5454

55+
/**
56+
* The ID of the entity for this connection
57+
*/
58+
entity_id: string;
59+
5560
products: Array<string>;
5661

5762
/**

0 commit comments

Comments
 (0)