@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
|
@@ -145,6 +145,21 @@ export interface ConnectedAccountCreateResponse {
|
|
|
145
145
|
| ConnectedAccountCreateResponse.UnionMember12;
|
|
146
146
|
|
|
147
147
|
deprecated: ConnectedAccountCreateResponse.Deprecated;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
151
|
+
*/
|
|
152
|
+
redirect_uri: string | null;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
156
|
+
*/
|
|
157
|
+
redirect_url: string | null;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
161
|
+
*/
|
|
162
|
+
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE';
|
|
148
163
|
}
|
|
149
164
|
|
|
150
165
|
export namespace ConnectedAccountCreateResponse {
|
|
@@ -3765,11 +3780,6 @@ export namespace ConnectedAccountCreateResponse {
|
|
|
3765
3780
|
*/
|
|
3766
3781
|
client_id: string;
|
|
3767
3782
|
|
|
3768
|
-
/**
|
|
3769
|
-
* Dynamically registered client secret
|
|
3770
|
-
*/
|
|
3771
|
-
client_secret: string;
|
|
3772
|
-
|
|
3773
3783
|
redirectUrl: string;
|
|
3774
3784
|
|
|
3775
3785
|
status: 'INITIATED';
|
|
@@ -3786,6 +3796,17 @@ export namespace ConnectedAccountCreateResponse {
|
|
|
3786
3796
|
|
|
3787
3797
|
callback_url?: string;
|
|
3788
3798
|
|
|
3799
|
+
client_id_issued_at?: number;
|
|
3800
|
+
|
|
3801
|
+
/**
|
|
3802
|
+
* Dynamically registered client secret
|
|
3803
|
+
*/
|
|
3804
|
+
client_secret?: string;
|
|
3805
|
+
|
|
3806
|
+
client_secret_expires_at?: number;
|
|
3807
|
+
|
|
3808
|
+
code_verifier?: string;
|
|
3809
|
+
|
|
3789
3810
|
COMPANYDOMAIN?: string;
|
|
3790
3811
|
|
|
3791
3812
|
dc?: string;
|
|
@@ -3813,16 +3834,6 @@ export namespace ConnectedAccountCreateResponse {
|
|
|
3813
3834
|
|
|
3814
3835
|
region?: string;
|
|
3815
3836
|
|
|
3816
|
-
/**
|
|
3817
|
-
* Token for managing the registered client
|
|
3818
|
-
*/
|
|
3819
|
-
registration_access_token?: string;
|
|
3820
|
-
|
|
3821
|
-
/**
|
|
3822
|
-
* URI for managing the registered client
|
|
3823
|
-
*/
|
|
3824
|
-
registration_client_uri?: string;
|
|
3825
|
-
|
|
3826
3837
|
server_location?: string;
|
|
3827
3838
|
|
|
3828
3839
|
shop?: string;
|
|
@@ -3865,11 +3876,15 @@ export namespace ConnectedAccountCreateResponse {
|
|
|
3865
3876
|
|
|
3866
3877
|
borneo_dashboard_url?: string;
|
|
3867
3878
|
|
|
3879
|
+
client_id_issued_at?: number;
|
|
3880
|
+
|
|
3868
3881
|
/**
|
|
3869
3882
|
* Dynamically registered client secret
|
|
3870
3883
|
*/
|
|
3871
3884
|
client_secret?: string;
|
|
3872
3885
|
|
|
3886
|
+
client_secret_expires_at?: number;
|
|
3887
|
+
|
|
3873
3888
|
COMPANYDOMAIN?: string;
|
|
3874
3889
|
|
|
3875
3890
|
dc?: string;
|
|
@@ -3901,11 +3916,6 @@ export namespace ConnectedAccountCreateResponse {
|
|
|
3901
3916
|
|
|
3902
3917
|
region?: string;
|
|
3903
3918
|
|
|
3904
|
-
/**
|
|
3905
|
-
* Token for managing the registered client
|
|
3906
|
-
*/
|
|
3907
|
-
registration_access_token?: string;
|
|
3908
|
-
|
|
3909
3919
|
scope?: string | Array<string> | null;
|
|
3910
3920
|
|
|
3911
3921
|
server_location?: string;
|
|
@@ -3952,11 +3962,15 @@ export namespace ConnectedAccountCreateResponse {
|
|
|
3952
3962
|
|
|
3953
3963
|
borneo_dashboard_url?: string;
|
|
3954
3964
|
|
|
3965
|
+
client_id_issued_at?: number;
|
|
3966
|
+
|
|
3955
3967
|
/**
|
|
3956
3968
|
* Dynamically registered client secret
|
|
3957
3969
|
*/
|
|
3958
3970
|
client_secret?: string;
|
|
3959
3971
|
|
|
3972
|
+
client_secret_expires_at?: number;
|
|
3973
|
+
|
|
3960
3974
|
COMPANYDOMAIN?: string;
|
|
3961
3975
|
|
|
3962
3976
|
dc?: string;
|
|
@@ -3988,11 +4002,6 @@ export namespace ConnectedAccountCreateResponse {
|
|
|
3988
4002
|
|
|
3989
4003
|
region?: string;
|
|
3990
4004
|
|
|
3991
|
-
/**
|
|
3992
|
-
* Token for managing the registered client
|
|
3993
|
-
*/
|
|
3994
|
-
registration_access_token?: string;
|
|
3995
|
-
|
|
3996
4005
|
scope?: string | Array<string> | null;
|
|
3997
4006
|
|
|
3998
4007
|
server_location?: string;
|
|
@@ -4172,11 +4181,22 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
4172
4181
|
*/
|
|
4173
4182
|
created_at: string;
|
|
4174
4183
|
|
|
4184
|
+
/**
|
|
4185
|
+
* @deprecated This is deprecated, use `state` instead
|
|
4186
|
+
*/
|
|
4187
|
+
data: { [key: string]: unknown };
|
|
4188
|
+
|
|
4175
4189
|
/**
|
|
4176
4190
|
* Whether the connection is disabled
|
|
4177
4191
|
*/
|
|
4178
4192
|
is_disabled: boolean;
|
|
4179
4193
|
|
|
4194
|
+
/**
|
|
4195
|
+
* @deprecated The initialization data of the connection, including configuration
|
|
4196
|
+
* parameters
|
|
4197
|
+
*/
|
|
4198
|
+
params: { [key: string]: unknown };
|
|
4199
|
+
|
|
4180
4200
|
/**
|
|
4181
4201
|
* The state of the connection
|
|
4182
4202
|
*/
|
|
@@ -4212,6 +4232,17 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
4212
4232
|
*/
|
|
4213
4233
|
updated_at: string;
|
|
4214
4234
|
|
|
4235
|
+
/**
|
|
4236
|
+
* @deprecated This is deprecated, we will not be providing userId from this api
|
|
4237
|
+
* anymore, you will only be able to read via userId not get it back
|
|
4238
|
+
*/
|
|
4239
|
+
user_id: string;
|
|
4240
|
+
|
|
4241
|
+
/**
|
|
4242
|
+
* @deprecated
|
|
4243
|
+
*/
|
|
4244
|
+
deprecated?: ConnectedAccountRetrieveResponse.Deprecated;
|
|
4245
|
+
|
|
4215
4246
|
/**
|
|
4216
4247
|
* The endpoint to make test request for verification
|
|
4217
4248
|
*/
|
|
@@ -4225,6 +4256,24 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
4225
4256
|
*/
|
|
4226
4257
|
id: string;
|
|
4227
4258
|
|
|
4259
|
+
/**
|
|
4260
|
+
* @deprecated the authScheme is part of the connection state use it there
|
|
4261
|
+
*/
|
|
4262
|
+
auth_scheme:
|
|
4263
|
+
| 'OAUTH2'
|
|
4264
|
+
| 'OAUTH1'
|
|
4265
|
+
| 'API_KEY'
|
|
4266
|
+
| 'BASIC'
|
|
4267
|
+
| 'BILLCOM_AUTH'
|
|
4268
|
+
| 'BEARER_TOKEN'
|
|
4269
|
+
| 'GOOGLE_SERVICE_ACCOUNT'
|
|
4270
|
+
| 'NO_AUTH'
|
|
4271
|
+
| 'BASIC_WITH_JWT'
|
|
4272
|
+
| 'CALCOM_AUTH'
|
|
4273
|
+
| 'SERVICE_ACCOUNT'
|
|
4274
|
+
| 'SAML'
|
|
4275
|
+
| 'DCR_OAUTH';
|
|
4276
|
+
|
|
4228
4277
|
/**
|
|
4229
4278
|
* Whether the auth config is managed by Composio
|
|
4230
4279
|
*/
|
|
@@ -4234,6 +4283,23 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
4234
4283
|
* Whether the auth config is disabled
|
|
4235
4284
|
*/
|
|
4236
4285
|
is_disabled: boolean;
|
|
4286
|
+
|
|
4287
|
+
/**
|
|
4288
|
+
* @deprecated
|
|
4289
|
+
*/
|
|
4290
|
+
deprecated?: AuthConfig.Deprecated;
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
export namespace AuthConfig {
|
|
4294
|
+
/**
|
|
4295
|
+
* @deprecated
|
|
4296
|
+
*/
|
|
4297
|
+
export interface Deprecated {
|
|
4298
|
+
/**
|
|
4299
|
+
* The uuid of the auth config
|
|
4300
|
+
*/
|
|
4301
|
+
uuid: string;
|
|
4302
|
+
}
|
|
4237
4303
|
}
|
|
4238
4304
|
|
|
4239
4305
|
export interface UnionMember0 {
|
|
@@ -7853,11 +7919,6 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
7853
7919
|
*/
|
|
7854
7920
|
client_id: string;
|
|
7855
7921
|
|
|
7856
|
-
/**
|
|
7857
|
-
* Dynamically registered client secret
|
|
7858
|
-
*/
|
|
7859
|
-
client_secret: string;
|
|
7860
|
-
|
|
7861
7922
|
redirectUrl: string;
|
|
7862
7923
|
|
|
7863
7924
|
status: 'INITIATED';
|
|
@@ -7874,6 +7935,17 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
7874
7935
|
|
|
7875
7936
|
callback_url?: string;
|
|
7876
7937
|
|
|
7938
|
+
client_id_issued_at?: number;
|
|
7939
|
+
|
|
7940
|
+
/**
|
|
7941
|
+
* Dynamically registered client secret
|
|
7942
|
+
*/
|
|
7943
|
+
client_secret?: string;
|
|
7944
|
+
|
|
7945
|
+
client_secret_expires_at?: number;
|
|
7946
|
+
|
|
7947
|
+
code_verifier?: string;
|
|
7948
|
+
|
|
7877
7949
|
COMPANYDOMAIN?: string;
|
|
7878
7950
|
|
|
7879
7951
|
dc?: string;
|
|
@@ -7901,16 +7973,6 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
7901
7973
|
|
|
7902
7974
|
region?: string;
|
|
7903
7975
|
|
|
7904
|
-
/**
|
|
7905
|
-
* Token for managing the registered client
|
|
7906
|
-
*/
|
|
7907
|
-
registration_access_token?: string;
|
|
7908
|
-
|
|
7909
|
-
/**
|
|
7910
|
-
* URI for managing the registered client
|
|
7911
|
-
*/
|
|
7912
|
-
registration_client_uri?: string;
|
|
7913
|
-
|
|
7914
7976
|
server_location?: string;
|
|
7915
7977
|
|
|
7916
7978
|
shop?: string;
|
|
@@ -7953,11 +8015,15 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
7953
8015
|
|
|
7954
8016
|
borneo_dashboard_url?: string;
|
|
7955
8017
|
|
|
8018
|
+
client_id_issued_at?: number;
|
|
8019
|
+
|
|
7956
8020
|
/**
|
|
7957
8021
|
* Dynamically registered client secret
|
|
7958
8022
|
*/
|
|
7959
8023
|
client_secret?: string;
|
|
7960
8024
|
|
|
8025
|
+
client_secret_expires_at?: number;
|
|
8026
|
+
|
|
7961
8027
|
COMPANYDOMAIN?: string;
|
|
7962
8028
|
|
|
7963
8029
|
dc?: string;
|
|
@@ -7989,11 +8055,6 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
7989
8055
|
|
|
7990
8056
|
region?: string;
|
|
7991
8057
|
|
|
7992
|
-
/**
|
|
7993
|
-
* Token for managing the registered client
|
|
7994
|
-
*/
|
|
7995
|
-
registration_access_token?: string;
|
|
7996
|
-
|
|
7997
8058
|
scope?: string | Array<string> | null;
|
|
7998
8059
|
|
|
7999
8060
|
server_location?: string;
|
|
@@ -8040,11 +8101,15 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
8040
8101
|
|
|
8041
8102
|
borneo_dashboard_url?: string;
|
|
8042
8103
|
|
|
8104
|
+
client_id_issued_at?: number;
|
|
8105
|
+
|
|
8043
8106
|
/**
|
|
8044
8107
|
* Dynamically registered client secret
|
|
8045
8108
|
*/
|
|
8046
8109
|
client_secret?: string;
|
|
8047
8110
|
|
|
8111
|
+
client_secret_expires_at?: number;
|
|
8112
|
+
|
|
8048
8113
|
COMPANYDOMAIN?: string;
|
|
8049
8114
|
|
|
8050
8115
|
dc?: string;
|
|
@@ -8076,11 +8141,6 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
8076
8141
|
|
|
8077
8142
|
region?: string;
|
|
8078
8143
|
|
|
8079
|
-
/**
|
|
8080
|
-
* Token for managing the registered client
|
|
8081
|
-
*/
|
|
8082
|
-
registration_access_token?: string;
|
|
8083
|
-
|
|
8084
8144
|
scope?: string | Array<string> | null;
|
|
8085
8145
|
|
|
8086
8146
|
server_location?: string;
|
|
@@ -8240,6 +8300,21 @@ export namespace ConnectedAccountRetrieveResponse {
|
|
|
8240
8300
|
*/
|
|
8241
8301
|
slug: string;
|
|
8242
8302
|
}
|
|
8303
|
+
|
|
8304
|
+
/**
|
|
8305
|
+
* @deprecated
|
|
8306
|
+
*/
|
|
8307
|
+
export interface Deprecated {
|
|
8308
|
+
/**
|
|
8309
|
+
* The labels of the connection
|
|
8310
|
+
*/
|
|
8311
|
+
labels: Array<string>;
|
|
8312
|
+
|
|
8313
|
+
/**
|
|
8314
|
+
* The uuid of the connection
|
|
8315
|
+
*/
|
|
8316
|
+
uuid: string;
|
|
8317
|
+
}
|
|
8243
8318
|
}
|
|
8244
8319
|
|
|
8245
8320
|
export interface ConnectedAccountListResponse {
|
|
@@ -8268,6 +8343,11 @@ export namespace ConnectedAccountListResponse {
|
|
|
8268
8343
|
*/
|
|
8269
8344
|
created_at: string;
|
|
8270
8345
|
|
|
8346
|
+
/**
|
|
8347
|
+
* @deprecated This is deprecated, use `state` instead
|
|
8348
|
+
*/
|
|
8349
|
+
data: { [key: string]: unknown };
|
|
8350
|
+
|
|
8271
8351
|
/**
|
|
8272
8352
|
* Whether the connection is disabled
|
|
8273
8353
|
*/
|
|
@@ -8308,6 +8388,17 @@ export namespace ConnectedAccountListResponse {
|
|
|
8308
8388
|
*/
|
|
8309
8389
|
updated_at: string;
|
|
8310
8390
|
|
|
8391
|
+
/**
|
|
8392
|
+
* @deprecated This is deprecated, we will not be providing userId from this api
|
|
8393
|
+
* anymore, you will only be able to read via userId not get it back
|
|
8394
|
+
*/
|
|
8395
|
+
user_id: string;
|
|
8396
|
+
|
|
8397
|
+
/**
|
|
8398
|
+
* @deprecated
|
|
8399
|
+
*/
|
|
8400
|
+
deprecated?: Item.Deprecated;
|
|
8401
|
+
|
|
8311
8402
|
/**
|
|
8312
8403
|
* The endpoint to make test request for verification
|
|
8313
8404
|
*/
|
|
@@ -8321,6 +8412,24 @@ export namespace ConnectedAccountListResponse {
|
|
|
8321
8412
|
*/
|
|
8322
8413
|
id: string;
|
|
8323
8414
|
|
|
8415
|
+
/**
|
|
8416
|
+
* @deprecated the authScheme is part of the connection state use it there
|
|
8417
|
+
*/
|
|
8418
|
+
auth_scheme:
|
|
8419
|
+
| 'OAUTH2'
|
|
8420
|
+
| 'OAUTH1'
|
|
8421
|
+
| 'API_KEY'
|
|
8422
|
+
| 'BASIC'
|
|
8423
|
+
| 'BILLCOM_AUTH'
|
|
8424
|
+
| 'BEARER_TOKEN'
|
|
8425
|
+
| 'GOOGLE_SERVICE_ACCOUNT'
|
|
8426
|
+
| 'NO_AUTH'
|
|
8427
|
+
| 'BASIC_WITH_JWT'
|
|
8428
|
+
| 'CALCOM_AUTH'
|
|
8429
|
+
| 'SERVICE_ACCOUNT'
|
|
8430
|
+
| 'SAML'
|
|
8431
|
+
| 'DCR_OAUTH';
|
|
8432
|
+
|
|
8324
8433
|
/**
|
|
8325
8434
|
* Whether the auth config is managed by Composio
|
|
8326
8435
|
*/
|
|
@@ -8330,6 +8439,23 @@ export namespace ConnectedAccountListResponse {
|
|
|
8330
8439
|
* Whether the auth config is disabled
|
|
8331
8440
|
*/
|
|
8332
8441
|
is_disabled: boolean;
|
|
8442
|
+
|
|
8443
|
+
/**
|
|
8444
|
+
* @deprecated
|
|
8445
|
+
*/
|
|
8446
|
+
deprecated?: AuthConfig.Deprecated;
|
|
8447
|
+
}
|
|
8448
|
+
|
|
8449
|
+
export namespace AuthConfig {
|
|
8450
|
+
/**
|
|
8451
|
+
* @deprecated
|
|
8452
|
+
*/
|
|
8453
|
+
export interface Deprecated {
|
|
8454
|
+
/**
|
|
8455
|
+
* The uuid of the auth config
|
|
8456
|
+
*/
|
|
8457
|
+
uuid: string;
|
|
8458
|
+
}
|
|
8333
8459
|
}
|
|
8334
8460
|
|
|
8335
8461
|
export interface UnionMember0 {
|
|
@@ -11949,11 +12075,6 @@ export namespace ConnectedAccountListResponse {
|
|
|
11949
12075
|
*/
|
|
11950
12076
|
client_id: string;
|
|
11951
12077
|
|
|
11952
|
-
/**
|
|
11953
|
-
* Dynamically registered client secret
|
|
11954
|
-
*/
|
|
11955
|
-
client_secret: string;
|
|
11956
|
-
|
|
11957
12078
|
redirectUrl: string;
|
|
11958
12079
|
|
|
11959
12080
|
status: 'INITIATED';
|
|
@@ -11970,6 +12091,17 @@ export namespace ConnectedAccountListResponse {
|
|
|
11970
12091
|
|
|
11971
12092
|
callback_url?: string;
|
|
11972
12093
|
|
|
12094
|
+
client_id_issued_at?: number;
|
|
12095
|
+
|
|
12096
|
+
/**
|
|
12097
|
+
* Dynamically registered client secret
|
|
12098
|
+
*/
|
|
12099
|
+
client_secret?: string;
|
|
12100
|
+
|
|
12101
|
+
client_secret_expires_at?: number;
|
|
12102
|
+
|
|
12103
|
+
code_verifier?: string;
|
|
12104
|
+
|
|
11973
12105
|
COMPANYDOMAIN?: string;
|
|
11974
12106
|
|
|
11975
12107
|
dc?: string;
|
|
@@ -11997,16 +12129,6 @@ export namespace ConnectedAccountListResponse {
|
|
|
11997
12129
|
|
|
11998
12130
|
region?: string;
|
|
11999
12131
|
|
|
12000
|
-
/**
|
|
12001
|
-
* Token for managing the registered client
|
|
12002
|
-
*/
|
|
12003
|
-
registration_access_token?: string;
|
|
12004
|
-
|
|
12005
|
-
/**
|
|
12006
|
-
* URI for managing the registered client
|
|
12007
|
-
*/
|
|
12008
|
-
registration_client_uri?: string;
|
|
12009
|
-
|
|
12010
12132
|
server_location?: string;
|
|
12011
12133
|
|
|
12012
12134
|
shop?: string;
|
|
@@ -12049,11 +12171,15 @@ export namespace ConnectedAccountListResponse {
|
|
|
12049
12171
|
|
|
12050
12172
|
borneo_dashboard_url?: string;
|
|
12051
12173
|
|
|
12174
|
+
client_id_issued_at?: number;
|
|
12175
|
+
|
|
12052
12176
|
/**
|
|
12053
12177
|
* Dynamically registered client secret
|
|
12054
12178
|
*/
|
|
12055
12179
|
client_secret?: string;
|
|
12056
12180
|
|
|
12181
|
+
client_secret_expires_at?: number;
|
|
12182
|
+
|
|
12057
12183
|
COMPANYDOMAIN?: string;
|
|
12058
12184
|
|
|
12059
12185
|
dc?: string;
|
|
@@ -12085,11 +12211,6 @@ export namespace ConnectedAccountListResponse {
|
|
|
12085
12211
|
|
|
12086
12212
|
region?: string;
|
|
12087
12213
|
|
|
12088
|
-
/**
|
|
12089
|
-
* Token for managing the registered client
|
|
12090
|
-
*/
|
|
12091
|
-
registration_access_token?: string;
|
|
12092
|
-
|
|
12093
12214
|
scope?: string | Array<string> | null;
|
|
12094
12215
|
|
|
12095
12216
|
server_location?: string;
|
|
@@ -12136,11 +12257,15 @@ export namespace ConnectedAccountListResponse {
|
|
|
12136
12257
|
|
|
12137
12258
|
borneo_dashboard_url?: string;
|
|
12138
12259
|
|
|
12260
|
+
client_id_issued_at?: number;
|
|
12261
|
+
|
|
12139
12262
|
/**
|
|
12140
12263
|
* Dynamically registered client secret
|
|
12141
12264
|
*/
|
|
12142
12265
|
client_secret?: string;
|
|
12143
12266
|
|
|
12267
|
+
client_secret_expires_at?: number;
|
|
12268
|
+
|
|
12144
12269
|
COMPANYDOMAIN?: string;
|
|
12145
12270
|
|
|
12146
12271
|
dc?: string;
|
|
@@ -12172,11 +12297,6 @@ export namespace ConnectedAccountListResponse {
|
|
|
12172
12297
|
|
|
12173
12298
|
region?: string;
|
|
12174
12299
|
|
|
12175
|
-
/**
|
|
12176
|
-
* Token for managing the registered client
|
|
12177
|
-
*/
|
|
12178
|
-
registration_access_token?: string;
|
|
12179
|
-
|
|
12180
12300
|
scope?: string | Array<string> | null;
|
|
12181
12301
|
|
|
12182
12302
|
server_location?: string;
|
|
@@ -12336,6 +12456,21 @@ export namespace ConnectedAccountListResponse {
|
|
|
12336
12456
|
*/
|
|
12337
12457
|
slug: string;
|
|
12338
12458
|
}
|
|
12459
|
+
|
|
12460
|
+
/**
|
|
12461
|
+
* @deprecated
|
|
12462
|
+
*/
|
|
12463
|
+
export interface Deprecated {
|
|
12464
|
+
/**
|
|
12465
|
+
* The labels of the connection
|
|
12466
|
+
*/
|
|
12467
|
+
labels: Array<string>;
|
|
12468
|
+
|
|
12469
|
+
/**
|
|
12470
|
+
* The uuid of the connection
|
|
12471
|
+
*/
|
|
12472
|
+
uuid: string;
|
|
12473
|
+
}
|
|
12339
12474
|
}
|
|
12340
12475
|
}
|
|
12341
12476
|
|
|
@@ -12406,6 +12541,23 @@ export namespace ConnectedAccountCreateParams {
|
|
|
12406
12541
|
*/
|
|
12407
12542
|
callback_url?: string;
|
|
12408
12543
|
|
|
12544
|
+
/**
|
|
12545
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
12546
|
+
* Please use state instead.
|
|
12547
|
+
*/
|
|
12548
|
+
data?: { [key: string]: unknown };
|
|
12549
|
+
|
|
12550
|
+
/**
|
|
12551
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
12552
|
+
*/
|
|
12553
|
+
deprecated_is_v1_rerouted?: boolean;
|
|
12554
|
+
|
|
12555
|
+
/**
|
|
12556
|
+
* @deprecated DEPRECATED: This parameter will be removed in a future version.
|
|
12557
|
+
* Please use callback_url instead.
|
|
12558
|
+
*/
|
|
12559
|
+
redirect_uri?: string;
|
|
12560
|
+
|
|
12409
12561
|
/**
|
|
12410
12562
|
* The state of the connected account
|
|
12411
12563
|
*/
|
|
@@ -16048,11 +16200,6 @@ export namespace ConnectedAccountCreateParams {
|
|
|
16048
16200
|
*/
|
|
16049
16201
|
client_id: string;
|
|
16050
16202
|
|
|
16051
|
-
/**
|
|
16052
|
-
* Dynamically registered client secret
|
|
16053
|
-
*/
|
|
16054
|
-
client_secret: string;
|
|
16055
|
-
|
|
16056
16203
|
redirectUrl: string;
|
|
16057
16204
|
|
|
16058
16205
|
status: 'INITIATED';
|
|
@@ -16069,6 +16216,17 @@ export namespace ConnectedAccountCreateParams {
|
|
|
16069
16216
|
|
|
16070
16217
|
callback_url?: string;
|
|
16071
16218
|
|
|
16219
|
+
client_id_issued_at?: number;
|
|
16220
|
+
|
|
16221
|
+
/**
|
|
16222
|
+
* Dynamically registered client secret
|
|
16223
|
+
*/
|
|
16224
|
+
client_secret?: string;
|
|
16225
|
+
|
|
16226
|
+
client_secret_expires_at?: number;
|
|
16227
|
+
|
|
16228
|
+
code_verifier?: string;
|
|
16229
|
+
|
|
16072
16230
|
COMPANYDOMAIN?: string;
|
|
16073
16231
|
|
|
16074
16232
|
dc?: string;
|
|
@@ -16096,16 +16254,6 @@ export namespace ConnectedAccountCreateParams {
|
|
|
16096
16254
|
|
|
16097
16255
|
region?: string;
|
|
16098
16256
|
|
|
16099
|
-
/**
|
|
16100
|
-
* Token for managing the registered client
|
|
16101
|
-
*/
|
|
16102
|
-
registration_access_token?: string;
|
|
16103
|
-
|
|
16104
|
-
/**
|
|
16105
|
-
* URI for managing the registered client
|
|
16106
|
-
*/
|
|
16107
|
-
registration_client_uri?: string;
|
|
16108
|
-
|
|
16109
16257
|
server_location?: string;
|
|
16110
16258
|
|
|
16111
16259
|
shop?: string;
|
|
@@ -16148,11 +16296,15 @@ export namespace ConnectedAccountCreateParams {
|
|
|
16148
16296
|
|
|
16149
16297
|
borneo_dashboard_url?: string;
|
|
16150
16298
|
|
|
16299
|
+
client_id_issued_at?: number;
|
|
16300
|
+
|
|
16151
16301
|
/**
|
|
16152
16302
|
* Dynamically registered client secret
|
|
16153
16303
|
*/
|
|
16154
16304
|
client_secret?: string;
|
|
16155
16305
|
|
|
16306
|
+
client_secret_expires_at?: number;
|
|
16307
|
+
|
|
16156
16308
|
COMPANYDOMAIN?: string;
|
|
16157
16309
|
|
|
16158
16310
|
dc?: string;
|
|
@@ -16184,11 +16336,6 @@ export namespace ConnectedAccountCreateParams {
|
|
|
16184
16336
|
|
|
16185
16337
|
region?: string;
|
|
16186
16338
|
|
|
16187
|
-
/**
|
|
16188
|
-
* Token for managing the registered client
|
|
16189
|
-
*/
|
|
16190
|
-
registration_access_token?: string;
|
|
16191
|
-
|
|
16192
16339
|
scope?: string | Array<string> | null;
|
|
16193
16340
|
|
|
16194
16341
|
server_location?: string;
|
|
@@ -16235,11 +16382,15 @@ export namespace ConnectedAccountCreateParams {
|
|
|
16235
16382
|
|
|
16236
16383
|
borneo_dashboard_url?: string;
|
|
16237
16384
|
|
|
16385
|
+
client_id_issued_at?: number;
|
|
16386
|
+
|
|
16238
16387
|
/**
|
|
16239
16388
|
* Dynamically registered client secret
|
|
16240
16389
|
*/
|
|
16241
16390
|
client_secret?: string;
|
|
16242
16391
|
|
|
16392
|
+
client_secret_expires_at?: number;
|
|
16393
|
+
|
|
16243
16394
|
COMPANYDOMAIN?: string;
|
|
16244
16395
|
|
|
16245
16396
|
dc?: string;
|
|
@@ -16271,11 +16422,6 @@ export namespace ConnectedAccountCreateParams {
|
|
|
16271
16422
|
|
|
16272
16423
|
region?: string;
|
|
16273
16424
|
|
|
16274
|
-
/**
|
|
16275
|
-
* Token for managing the registered client
|
|
16276
|
-
*/
|
|
16277
|
-
registration_access_token?: string;
|
|
16278
|
-
|
|
16279
16425
|
scope?: string | Array<string> | null;
|
|
16280
16426
|
|
|
16281
16427
|
server_location?: string;
|