@composio/client 0.1.0-alpha.44 → 0.1.0-alpha.46
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/CHANGELOG.md +21 -0
- package/client.d.mts +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -1
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +30 -0
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +30 -0
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/connected-accounts.d.mts +173 -80
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +173 -80
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/link.d.mts +11 -20
- package/resources/link.d.mts.map +1 -1
- package/resources/link.d.ts +11 -20
- package/resources/link.d.ts.map +1 -1
- package/resources/toolkits.d.mts +13 -0
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +13 -0
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/tools.d.mts +402 -4
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +402 -4
- package/resources/tools.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +52 -5
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +52 -5
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/src/client.ts +1 -1
- package/src/resources/auth-configs.ts +36 -0
- package/src/resources/connected-accounts.ts +246 -100
- package/src/resources/link.ts +19 -25
- package/src/resources/toolkits.ts +16 -0
- package/src/resources/tools.ts +719 -5
- package/src/resources/trigger-instances/trigger-instances.ts +55 -5
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -89,6 +89,18 @@ export interface ConnectedAccountCreateResponse {
|
|
|
89
89
|
*/
|
|
90
90
|
connectionData: ConnectedAccountCreateResponse.UnionMember0 | ConnectedAccountCreateResponse.UnionMember1 | ConnectedAccountCreateResponse.UnionMember2 | ConnectedAccountCreateResponse.UnionMember3 | ConnectedAccountCreateResponse.UnionMember4 | ConnectedAccountCreateResponse.UnionMember5 | ConnectedAccountCreateResponse.UnionMember6 | ConnectedAccountCreateResponse.UnionMember7 | ConnectedAccountCreateResponse.UnionMember8 | ConnectedAccountCreateResponse.UnionMember9 | ConnectedAccountCreateResponse.UnionMember10 | ConnectedAccountCreateResponse.UnionMember11 | ConnectedAccountCreateResponse.UnionMember12;
|
|
91
91
|
deprecated: ConnectedAccountCreateResponse.Deprecated;
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
94
|
+
*/
|
|
95
|
+
redirect_uri: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
98
|
+
*/
|
|
99
|
+
redirect_url: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
102
|
+
*/
|
|
103
|
+
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE';
|
|
92
104
|
}
|
|
93
105
|
export declare namespace ConnectedAccountCreateResponse {
|
|
94
106
|
interface UnionMember0 {
|
|
@@ -1987,10 +1999,6 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
1987
1999
|
* Dynamically registered client ID
|
|
1988
2000
|
*/
|
|
1989
2001
|
client_id: string;
|
|
1990
|
-
/**
|
|
1991
|
-
* Dynamically registered client secret
|
|
1992
|
-
*/
|
|
1993
|
-
client_secret: string;
|
|
1994
2002
|
redirectUrl: string;
|
|
1995
2003
|
status: 'INITIATED';
|
|
1996
2004
|
account_id?: string;
|
|
@@ -1999,6 +2007,13 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
1999
2007
|
base_url?: string;
|
|
2000
2008
|
borneo_dashboard_url?: string;
|
|
2001
2009
|
callback_url?: string;
|
|
2010
|
+
client_id_issued_at?: number;
|
|
2011
|
+
/**
|
|
2012
|
+
* Dynamically registered client secret
|
|
2013
|
+
*/
|
|
2014
|
+
client_secret?: string;
|
|
2015
|
+
client_secret_expires_at?: number;
|
|
2016
|
+
code_verifier?: string;
|
|
2002
2017
|
COMPANYDOMAIN?: string;
|
|
2003
2018
|
dc?: string;
|
|
2004
2019
|
domain?: string;
|
|
@@ -2014,14 +2029,6 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
2014
2029
|
proxy_password?: string;
|
|
2015
2030
|
proxy_username?: string;
|
|
2016
2031
|
region?: string;
|
|
2017
|
-
/**
|
|
2018
|
-
* Token for managing the registered client
|
|
2019
|
-
*/
|
|
2020
|
-
registration_access_token?: string;
|
|
2021
|
-
/**
|
|
2022
|
-
* URI for managing the registered client
|
|
2023
|
-
*/
|
|
2024
|
-
registration_client_uri?: string;
|
|
2025
2032
|
server_location?: string;
|
|
2026
2033
|
shop?: string;
|
|
2027
2034
|
site_name?: string;
|
|
@@ -2047,10 +2054,12 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
2047
2054
|
api_url?: string;
|
|
2048
2055
|
base_url?: string;
|
|
2049
2056
|
borneo_dashboard_url?: string;
|
|
2057
|
+
client_id_issued_at?: number;
|
|
2050
2058
|
/**
|
|
2051
2059
|
* Dynamically registered client secret
|
|
2052
2060
|
*/
|
|
2053
2061
|
client_secret?: string;
|
|
2062
|
+
client_secret_expires_at?: number;
|
|
2054
2063
|
COMPANYDOMAIN?: string;
|
|
2055
2064
|
dc?: string;
|
|
2056
2065
|
domain?: string;
|
|
@@ -2068,10 +2077,6 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
2068
2077
|
proxy_username?: string;
|
|
2069
2078
|
refresh_token?: string | null;
|
|
2070
2079
|
region?: string;
|
|
2071
|
-
/**
|
|
2072
|
-
* Token for managing the registered client
|
|
2073
|
-
*/
|
|
2074
|
-
registration_access_token?: string;
|
|
2075
2080
|
scope?: string | Array<string> | null;
|
|
2076
2081
|
server_location?: string;
|
|
2077
2082
|
shop?: string;
|
|
@@ -2099,10 +2104,12 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
2099
2104
|
api_url?: string;
|
|
2100
2105
|
base_url?: string;
|
|
2101
2106
|
borneo_dashboard_url?: string;
|
|
2107
|
+
client_id_issued_at?: number;
|
|
2102
2108
|
/**
|
|
2103
2109
|
* Dynamically registered client secret
|
|
2104
2110
|
*/
|
|
2105
2111
|
client_secret?: string;
|
|
2112
|
+
client_secret_expires_at?: number;
|
|
2106
2113
|
COMPANYDOMAIN?: string;
|
|
2107
2114
|
dc?: string;
|
|
2108
2115
|
domain?: string;
|
|
@@ -2120,10 +2127,6 @@ export declare namespace ConnectedAccountCreateResponse {
|
|
|
2120
2127
|
proxy_username?: string;
|
|
2121
2128
|
refresh_token?: string | null;
|
|
2122
2129
|
region?: string;
|
|
2123
|
-
/**
|
|
2124
|
-
* Token for managing the registered client
|
|
2125
|
-
*/
|
|
2126
|
-
registration_access_token?: string;
|
|
2127
2130
|
scope?: string | Array<string> | null;
|
|
2128
2131
|
server_location?: string;
|
|
2129
2132
|
shop?: string;
|
|
@@ -2232,10 +2235,23 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
2232
2235
|
* The created at of the connection
|
|
2233
2236
|
*/
|
|
2234
2237
|
created_at: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* @deprecated This is deprecated, use `state` instead
|
|
2240
|
+
*/
|
|
2241
|
+
data: {
|
|
2242
|
+
[key: string]: unknown;
|
|
2243
|
+
};
|
|
2235
2244
|
/**
|
|
2236
2245
|
* Whether the connection is disabled
|
|
2237
2246
|
*/
|
|
2238
2247
|
is_disabled: boolean;
|
|
2248
|
+
/**
|
|
2249
|
+
* @deprecated The initialization data of the connection, including configuration
|
|
2250
|
+
* parameters
|
|
2251
|
+
*/
|
|
2252
|
+
params: {
|
|
2253
|
+
[key: string]: unknown;
|
|
2254
|
+
};
|
|
2239
2255
|
/**
|
|
2240
2256
|
* The state of the connection
|
|
2241
2257
|
*/
|
|
@@ -2253,6 +2269,15 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
2253
2269
|
* The updated at of the connection
|
|
2254
2270
|
*/
|
|
2255
2271
|
updated_at: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* @deprecated This is deprecated, we will not be providing userId from this api
|
|
2274
|
+
* anymore, you will only be able to read via userId not get it back
|
|
2275
|
+
*/
|
|
2276
|
+
user_id: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* @deprecated
|
|
2279
|
+
*/
|
|
2280
|
+
deprecated?: ConnectedAccountRetrieveResponse.Deprecated;
|
|
2256
2281
|
/**
|
|
2257
2282
|
* The endpoint to make test request for verification
|
|
2258
2283
|
*/
|
|
@@ -2264,6 +2289,10 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
2264
2289
|
* The id of the auth config
|
|
2265
2290
|
*/
|
|
2266
2291
|
id: string;
|
|
2292
|
+
/**
|
|
2293
|
+
* @deprecated the authScheme is part of the connection state use it there
|
|
2294
|
+
*/
|
|
2295
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'CALCOM_AUTH' | 'SERVICE_ACCOUNT' | 'SAML' | 'DCR_OAUTH';
|
|
2267
2296
|
/**
|
|
2268
2297
|
* Whether the auth config is managed by Composio
|
|
2269
2298
|
*/
|
|
@@ -2272,6 +2301,21 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
2272
2301
|
* Whether the auth config is disabled
|
|
2273
2302
|
*/
|
|
2274
2303
|
is_disabled: boolean;
|
|
2304
|
+
/**
|
|
2305
|
+
* @deprecated
|
|
2306
|
+
*/
|
|
2307
|
+
deprecated?: AuthConfig.Deprecated;
|
|
2308
|
+
}
|
|
2309
|
+
namespace AuthConfig {
|
|
2310
|
+
/**
|
|
2311
|
+
* @deprecated
|
|
2312
|
+
*/
|
|
2313
|
+
interface Deprecated {
|
|
2314
|
+
/**
|
|
2315
|
+
* The uuid of the auth config
|
|
2316
|
+
*/
|
|
2317
|
+
uuid: string;
|
|
2318
|
+
}
|
|
2275
2319
|
}
|
|
2276
2320
|
interface UnionMember0 {
|
|
2277
2321
|
authScheme: 'OAUTH1';
|
|
@@ -4169,10 +4213,6 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4169
4213
|
* Dynamically registered client ID
|
|
4170
4214
|
*/
|
|
4171
4215
|
client_id: string;
|
|
4172
|
-
/**
|
|
4173
|
-
* Dynamically registered client secret
|
|
4174
|
-
*/
|
|
4175
|
-
client_secret: string;
|
|
4176
4216
|
redirectUrl: string;
|
|
4177
4217
|
status: 'INITIATED';
|
|
4178
4218
|
account_id?: string;
|
|
@@ -4181,6 +4221,13 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4181
4221
|
base_url?: string;
|
|
4182
4222
|
borneo_dashboard_url?: string;
|
|
4183
4223
|
callback_url?: string;
|
|
4224
|
+
client_id_issued_at?: number;
|
|
4225
|
+
/**
|
|
4226
|
+
* Dynamically registered client secret
|
|
4227
|
+
*/
|
|
4228
|
+
client_secret?: string;
|
|
4229
|
+
client_secret_expires_at?: number;
|
|
4230
|
+
code_verifier?: string;
|
|
4184
4231
|
COMPANYDOMAIN?: string;
|
|
4185
4232
|
dc?: string;
|
|
4186
4233
|
domain?: string;
|
|
@@ -4196,14 +4243,6 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4196
4243
|
proxy_password?: string;
|
|
4197
4244
|
proxy_username?: string;
|
|
4198
4245
|
region?: string;
|
|
4199
|
-
/**
|
|
4200
|
-
* Token for managing the registered client
|
|
4201
|
-
*/
|
|
4202
|
-
registration_access_token?: string;
|
|
4203
|
-
/**
|
|
4204
|
-
* URI for managing the registered client
|
|
4205
|
-
*/
|
|
4206
|
-
registration_client_uri?: string;
|
|
4207
4246
|
server_location?: string;
|
|
4208
4247
|
shop?: string;
|
|
4209
4248
|
site_name?: string;
|
|
@@ -4229,10 +4268,12 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4229
4268
|
api_url?: string;
|
|
4230
4269
|
base_url?: string;
|
|
4231
4270
|
borneo_dashboard_url?: string;
|
|
4271
|
+
client_id_issued_at?: number;
|
|
4232
4272
|
/**
|
|
4233
4273
|
* Dynamically registered client secret
|
|
4234
4274
|
*/
|
|
4235
4275
|
client_secret?: string;
|
|
4276
|
+
client_secret_expires_at?: number;
|
|
4236
4277
|
COMPANYDOMAIN?: string;
|
|
4237
4278
|
dc?: string;
|
|
4238
4279
|
domain?: string;
|
|
@@ -4250,10 +4291,6 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4250
4291
|
proxy_username?: string;
|
|
4251
4292
|
refresh_token?: string | null;
|
|
4252
4293
|
region?: string;
|
|
4253
|
-
/**
|
|
4254
|
-
* Token for managing the registered client
|
|
4255
|
-
*/
|
|
4256
|
-
registration_access_token?: string;
|
|
4257
4294
|
scope?: string | Array<string> | null;
|
|
4258
4295
|
server_location?: string;
|
|
4259
4296
|
shop?: string;
|
|
@@ -4281,10 +4318,12 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4281
4318
|
api_url?: string;
|
|
4282
4319
|
base_url?: string;
|
|
4283
4320
|
borneo_dashboard_url?: string;
|
|
4321
|
+
client_id_issued_at?: number;
|
|
4284
4322
|
/**
|
|
4285
4323
|
* Dynamically registered client secret
|
|
4286
4324
|
*/
|
|
4287
4325
|
client_secret?: string;
|
|
4326
|
+
client_secret_expires_at?: number;
|
|
4288
4327
|
COMPANYDOMAIN?: string;
|
|
4289
4328
|
dc?: string;
|
|
4290
4329
|
domain?: string;
|
|
@@ -4302,10 +4341,6 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4302
4341
|
proxy_username?: string;
|
|
4303
4342
|
refresh_token?: string | null;
|
|
4304
4343
|
region?: string;
|
|
4305
|
-
/**
|
|
4306
|
-
* Token for managing the registered client
|
|
4307
|
-
*/
|
|
4308
|
-
registration_access_token?: string;
|
|
4309
4344
|
scope?: string | Array<string> | null;
|
|
4310
4345
|
server_location?: string;
|
|
4311
4346
|
shop?: string;
|
|
@@ -4399,6 +4434,19 @@ export declare namespace ConnectedAccountRetrieveResponse {
|
|
|
4399
4434
|
*/
|
|
4400
4435
|
slug: string;
|
|
4401
4436
|
}
|
|
4437
|
+
/**
|
|
4438
|
+
* @deprecated
|
|
4439
|
+
*/
|
|
4440
|
+
interface Deprecated {
|
|
4441
|
+
/**
|
|
4442
|
+
* The labels of the connection
|
|
4443
|
+
*/
|
|
4444
|
+
labels: Array<string>;
|
|
4445
|
+
/**
|
|
4446
|
+
* The uuid of the connection
|
|
4447
|
+
*/
|
|
4448
|
+
uuid: string;
|
|
4449
|
+
}
|
|
4402
4450
|
}
|
|
4403
4451
|
export interface ConnectedAccountListResponse {
|
|
4404
4452
|
current_page: number;
|
|
@@ -4418,6 +4466,12 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4418
4466
|
* The created at of the connection
|
|
4419
4467
|
*/
|
|
4420
4468
|
created_at: string;
|
|
4469
|
+
/**
|
|
4470
|
+
* @deprecated This is deprecated, use `state` instead
|
|
4471
|
+
*/
|
|
4472
|
+
data: {
|
|
4473
|
+
[key: string]: unknown;
|
|
4474
|
+
};
|
|
4421
4475
|
/**
|
|
4422
4476
|
* Whether the connection is disabled
|
|
4423
4477
|
*/
|
|
@@ -4439,6 +4493,15 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4439
4493
|
* The updated at of the connection
|
|
4440
4494
|
*/
|
|
4441
4495
|
updated_at: string;
|
|
4496
|
+
/**
|
|
4497
|
+
* @deprecated This is deprecated, we will not be providing userId from this api
|
|
4498
|
+
* anymore, you will only be able to read via userId not get it back
|
|
4499
|
+
*/
|
|
4500
|
+
user_id: string;
|
|
4501
|
+
/**
|
|
4502
|
+
* @deprecated
|
|
4503
|
+
*/
|
|
4504
|
+
deprecated?: Item.Deprecated;
|
|
4442
4505
|
/**
|
|
4443
4506
|
* The endpoint to make test request for verification
|
|
4444
4507
|
*/
|
|
@@ -4450,6 +4513,10 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4450
4513
|
* The id of the auth config
|
|
4451
4514
|
*/
|
|
4452
4515
|
id: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* @deprecated the authScheme is part of the connection state use it there
|
|
4518
|
+
*/
|
|
4519
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'CALCOM_AUTH' | 'SERVICE_ACCOUNT' | 'SAML' | 'DCR_OAUTH';
|
|
4453
4520
|
/**
|
|
4454
4521
|
* Whether the auth config is managed by Composio
|
|
4455
4522
|
*/
|
|
@@ -4458,6 +4525,21 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
4458
4525
|
* Whether the auth config is disabled
|
|
4459
4526
|
*/
|
|
4460
4527
|
is_disabled: boolean;
|
|
4528
|
+
/**
|
|
4529
|
+
* @deprecated
|
|
4530
|
+
*/
|
|
4531
|
+
deprecated?: AuthConfig.Deprecated;
|
|
4532
|
+
}
|
|
4533
|
+
namespace AuthConfig {
|
|
4534
|
+
/**
|
|
4535
|
+
* @deprecated
|
|
4536
|
+
*/
|
|
4537
|
+
interface Deprecated {
|
|
4538
|
+
/**
|
|
4539
|
+
* The uuid of the auth config
|
|
4540
|
+
*/
|
|
4541
|
+
uuid: string;
|
|
4542
|
+
}
|
|
4461
4543
|
}
|
|
4462
4544
|
interface UnionMember0 {
|
|
4463
4545
|
authScheme: 'OAUTH1';
|
|
@@ -6355,10 +6437,6 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6355
6437
|
* Dynamically registered client ID
|
|
6356
6438
|
*/
|
|
6357
6439
|
client_id: string;
|
|
6358
|
-
/**
|
|
6359
|
-
* Dynamically registered client secret
|
|
6360
|
-
*/
|
|
6361
|
-
client_secret: string;
|
|
6362
6440
|
redirectUrl: string;
|
|
6363
6441
|
status: 'INITIATED';
|
|
6364
6442
|
account_id?: string;
|
|
@@ -6367,6 +6445,13 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6367
6445
|
base_url?: string;
|
|
6368
6446
|
borneo_dashboard_url?: string;
|
|
6369
6447
|
callback_url?: string;
|
|
6448
|
+
client_id_issued_at?: number;
|
|
6449
|
+
/**
|
|
6450
|
+
* Dynamically registered client secret
|
|
6451
|
+
*/
|
|
6452
|
+
client_secret?: string;
|
|
6453
|
+
client_secret_expires_at?: number;
|
|
6454
|
+
code_verifier?: string;
|
|
6370
6455
|
COMPANYDOMAIN?: string;
|
|
6371
6456
|
dc?: string;
|
|
6372
6457
|
domain?: string;
|
|
@@ -6382,14 +6467,6 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6382
6467
|
proxy_password?: string;
|
|
6383
6468
|
proxy_username?: string;
|
|
6384
6469
|
region?: string;
|
|
6385
|
-
/**
|
|
6386
|
-
* Token for managing the registered client
|
|
6387
|
-
*/
|
|
6388
|
-
registration_access_token?: string;
|
|
6389
|
-
/**
|
|
6390
|
-
* URI for managing the registered client
|
|
6391
|
-
*/
|
|
6392
|
-
registration_client_uri?: string;
|
|
6393
6470
|
server_location?: string;
|
|
6394
6471
|
shop?: string;
|
|
6395
6472
|
site_name?: string;
|
|
@@ -6415,10 +6492,12 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6415
6492
|
api_url?: string;
|
|
6416
6493
|
base_url?: string;
|
|
6417
6494
|
borneo_dashboard_url?: string;
|
|
6495
|
+
client_id_issued_at?: number;
|
|
6418
6496
|
/**
|
|
6419
6497
|
* Dynamically registered client secret
|
|
6420
6498
|
*/
|
|
6421
6499
|
client_secret?: string;
|
|
6500
|
+
client_secret_expires_at?: number;
|
|
6422
6501
|
COMPANYDOMAIN?: string;
|
|
6423
6502
|
dc?: string;
|
|
6424
6503
|
domain?: string;
|
|
@@ -6436,10 +6515,6 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6436
6515
|
proxy_username?: string;
|
|
6437
6516
|
refresh_token?: string | null;
|
|
6438
6517
|
region?: string;
|
|
6439
|
-
/**
|
|
6440
|
-
* Token for managing the registered client
|
|
6441
|
-
*/
|
|
6442
|
-
registration_access_token?: string;
|
|
6443
6518
|
scope?: string | Array<string> | null;
|
|
6444
6519
|
server_location?: string;
|
|
6445
6520
|
shop?: string;
|
|
@@ -6467,10 +6542,12 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6467
6542
|
api_url?: string;
|
|
6468
6543
|
base_url?: string;
|
|
6469
6544
|
borneo_dashboard_url?: string;
|
|
6545
|
+
client_id_issued_at?: number;
|
|
6470
6546
|
/**
|
|
6471
6547
|
* Dynamically registered client secret
|
|
6472
6548
|
*/
|
|
6473
6549
|
client_secret?: string;
|
|
6550
|
+
client_secret_expires_at?: number;
|
|
6474
6551
|
COMPANYDOMAIN?: string;
|
|
6475
6552
|
dc?: string;
|
|
6476
6553
|
domain?: string;
|
|
@@ -6488,10 +6565,6 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6488
6565
|
proxy_username?: string;
|
|
6489
6566
|
refresh_token?: string | null;
|
|
6490
6567
|
region?: string;
|
|
6491
|
-
/**
|
|
6492
|
-
* Token for managing the registered client
|
|
6493
|
-
*/
|
|
6494
|
-
registration_access_token?: string;
|
|
6495
6568
|
scope?: string | Array<string> | null;
|
|
6496
6569
|
server_location?: string;
|
|
6497
6570
|
shop?: string;
|
|
@@ -6585,6 +6658,19 @@ export declare namespace ConnectedAccountListResponse {
|
|
|
6585
6658
|
*/
|
|
6586
6659
|
slug: string;
|
|
6587
6660
|
}
|
|
6661
|
+
/**
|
|
6662
|
+
* @deprecated
|
|
6663
|
+
*/
|
|
6664
|
+
interface Deprecated {
|
|
6665
|
+
/**
|
|
6666
|
+
* The labels of the connection
|
|
6667
|
+
*/
|
|
6668
|
+
labels: Array<string>;
|
|
6669
|
+
/**
|
|
6670
|
+
* The uuid of the connection
|
|
6671
|
+
*/
|
|
6672
|
+
uuid: string;
|
|
6673
|
+
}
|
|
6588
6674
|
}
|
|
6589
6675
|
}
|
|
6590
6676
|
/**
|
|
@@ -6644,6 +6730,22 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
6644
6730
|
* The URL to redirect to after connection completion
|
|
6645
6731
|
*/
|
|
6646
6732
|
callback_url?: string;
|
|
6733
|
+
/**
|
|
6734
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
6735
|
+
* Please use state instead.
|
|
6736
|
+
*/
|
|
6737
|
+
data?: {
|
|
6738
|
+
[key: string]: unknown;
|
|
6739
|
+
};
|
|
6740
|
+
/**
|
|
6741
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
6742
|
+
*/
|
|
6743
|
+
deprecated_is_v1_rerouted?: boolean;
|
|
6744
|
+
/**
|
|
6745
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
6746
|
+
* Please use callback_url instead.
|
|
6747
|
+
*/
|
|
6748
|
+
redirect_uri?: string;
|
|
6647
6749
|
/**
|
|
6648
6750
|
* The state of the connected account
|
|
6649
6751
|
*/
|
|
@@ -8550,10 +8652,6 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
8550
8652
|
* Dynamically registered client ID
|
|
8551
8653
|
*/
|
|
8552
8654
|
client_id: string;
|
|
8553
|
-
/**
|
|
8554
|
-
* Dynamically registered client secret
|
|
8555
|
-
*/
|
|
8556
|
-
client_secret: string;
|
|
8557
8655
|
redirectUrl: string;
|
|
8558
8656
|
status: 'INITIATED';
|
|
8559
8657
|
account_id?: string;
|
|
@@ -8562,6 +8660,13 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
8562
8660
|
base_url?: string;
|
|
8563
8661
|
borneo_dashboard_url?: string;
|
|
8564
8662
|
callback_url?: string;
|
|
8663
|
+
client_id_issued_at?: number;
|
|
8664
|
+
/**
|
|
8665
|
+
* Dynamically registered client secret
|
|
8666
|
+
*/
|
|
8667
|
+
client_secret?: string;
|
|
8668
|
+
client_secret_expires_at?: number;
|
|
8669
|
+
code_verifier?: string;
|
|
8565
8670
|
COMPANYDOMAIN?: string;
|
|
8566
8671
|
dc?: string;
|
|
8567
8672
|
domain?: string;
|
|
@@ -8577,14 +8682,6 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
8577
8682
|
proxy_password?: string;
|
|
8578
8683
|
proxy_username?: string;
|
|
8579
8684
|
region?: string;
|
|
8580
|
-
/**
|
|
8581
|
-
* Token for managing the registered client
|
|
8582
|
-
*/
|
|
8583
|
-
registration_access_token?: string;
|
|
8584
|
-
/**
|
|
8585
|
-
* URI for managing the registered client
|
|
8586
|
-
*/
|
|
8587
|
-
registration_client_uri?: string;
|
|
8588
8685
|
server_location?: string;
|
|
8589
8686
|
shop?: string;
|
|
8590
8687
|
site_name?: string;
|
|
@@ -8610,10 +8707,12 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
8610
8707
|
api_url?: string;
|
|
8611
8708
|
base_url?: string;
|
|
8612
8709
|
borneo_dashboard_url?: string;
|
|
8710
|
+
client_id_issued_at?: number;
|
|
8613
8711
|
/**
|
|
8614
8712
|
* Dynamically registered client secret
|
|
8615
8713
|
*/
|
|
8616
8714
|
client_secret?: string;
|
|
8715
|
+
client_secret_expires_at?: number;
|
|
8617
8716
|
COMPANYDOMAIN?: string;
|
|
8618
8717
|
dc?: string;
|
|
8619
8718
|
domain?: string;
|
|
@@ -8631,10 +8730,6 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
8631
8730
|
proxy_username?: string;
|
|
8632
8731
|
refresh_token?: string | null;
|
|
8633
8732
|
region?: string;
|
|
8634
|
-
/**
|
|
8635
|
-
* Token for managing the registered client
|
|
8636
|
-
*/
|
|
8637
|
-
registration_access_token?: string;
|
|
8638
8733
|
scope?: string | Array<string> | null;
|
|
8639
8734
|
server_location?: string;
|
|
8640
8735
|
shop?: string;
|
|
@@ -8662,10 +8757,12 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
8662
8757
|
api_url?: string;
|
|
8663
8758
|
base_url?: string;
|
|
8664
8759
|
borneo_dashboard_url?: string;
|
|
8760
|
+
client_id_issued_at?: number;
|
|
8665
8761
|
/**
|
|
8666
8762
|
* Dynamically registered client secret
|
|
8667
8763
|
*/
|
|
8668
8764
|
client_secret?: string;
|
|
8765
|
+
client_secret_expires_at?: number;
|
|
8669
8766
|
COMPANYDOMAIN?: string;
|
|
8670
8767
|
dc?: string;
|
|
8671
8768
|
domain?: string;
|
|
@@ -8683,10 +8780,6 @@ export declare namespace ConnectedAccountCreateParams {
|
|
|
8683
8780
|
proxy_username?: string;
|
|
8684
8781
|
refresh_token?: string | null;
|
|
8685
8782
|
region?: string;
|
|
8686
|
-
/**
|
|
8687
|
-
* Token for managing the registered client
|
|
8688
|
-
*/
|
|
8689
|
-
registration_access_token?: string;
|
|
8690
8783
|
scope?: string | Array<string> | null;
|
|
8691
8784
|
server_location?: string;
|
|
8692
8785
|
shop?: string;
|