@workos/openapi-spec 0.123.0 → 0.125.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/open-api-spec.yaml +1219 -137
- package/dist/services.mjs +4 -0
- package/dist/types.d.ts +1009 -24
- package/package.json +7 -7
package/dist/types.d.ts
CHANGED
|
@@ -380,8 +380,6 @@ export interface paths {
|
|
|
380
380
|
* This API supports idempotency which guarantees that performing the same operation multiple times will have the same result as if the operation were performed only once. This is handy in situations where you may need to retry a request due to a failure or prevent accidental duplicate requests from creating more than one resource.
|
|
381
381
|
*
|
|
382
382
|
* To achieve idempotency, you can add `Idempotency-Key` request header to a Create Event request with a unique string as the value. Each subsequent request matching this unique string will return the same response. We suggest using [v4 UUIDs](https://en.wikipedia.org/wiki/Universally_unique_identifier) for idempotency keys to avoid collisions.
|
|
383
|
-
*
|
|
384
|
-
* Idempotency keys expire after 24 hours. The API will generate a new response if you submit a request with an expired key.
|
|
385
383
|
*/
|
|
386
384
|
post: operations["AuditLogEventsController_create"];
|
|
387
385
|
delete?: never;
|
|
@@ -2441,6 +2439,26 @@ export interface paths {
|
|
|
2441
2439
|
patch?: never;
|
|
2442
2440
|
trace?: never;
|
|
2443
2441
|
};
|
|
2442
|
+
"/portal/revoke_link": {
|
|
2443
|
+
parameters: {
|
|
2444
|
+
query?: never;
|
|
2445
|
+
header?: never;
|
|
2446
|
+
path?: never;
|
|
2447
|
+
cookie?: never;
|
|
2448
|
+
};
|
|
2449
|
+
get?: never;
|
|
2450
|
+
put?: never;
|
|
2451
|
+
/**
|
|
2452
|
+
* Revoke Portal Links
|
|
2453
|
+
* @description Revokes every Portal Link generated for the given organization with the given `external_user_id`, and immediately ends any Admin Portal sessions that were started from those links. Use this when an admin is deprovisioned from your application: unopened links stop working, and their already-open portal sessions are ended. Only links that were generated with an `external_user_id` can be revoked, so pass one to `generate_link` for every admin you may later need to deprovision.
|
|
2454
|
+
*/
|
|
2455
|
+
post: operations["PortalSessionsController_revokeLink"];
|
|
2456
|
+
delete?: never;
|
|
2457
|
+
options?: never;
|
|
2458
|
+
head?: never;
|
|
2459
|
+
patch?: never;
|
|
2460
|
+
trace?: never;
|
|
2461
|
+
};
|
|
2444
2462
|
"/radar/attempts": {
|
|
2445
2463
|
parameters: {
|
|
2446
2464
|
query?: never;
|
|
@@ -5763,6 +5781,11 @@ export interface components {
|
|
|
5763
5781
|
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
5764
5782
|
*/
|
|
5765
5783
|
organization: string;
|
|
5784
|
+
/**
|
|
5785
|
+
* @description The ID of the user in your application the link is generated for. The link and any Admin Portal sessions started from it can later be revoked by this ID, for example when that user is deprovisioned from your application.
|
|
5786
|
+
* @example user_12345
|
|
5787
|
+
*/
|
|
5788
|
+
external_user_id?: string;
|
|
5766
5789
|
/**
|
|
5767
5790
|
* @description The intent of the Admin Portal.
|
|
5768
5791
|
* - `sso` - Launch Admin Portal for creating SSO connections
|
|
@@ -5784,6 +5807,18 @@ export interface components {
|
|
|
5784
5807
|
*/
|
|
5785
5808
|
it_contact_emails?: string[];
|
|
5786
5809
|
};
|
|
5810
|
+
RevokeLinkDto: {
|
|
5811
|
+
/**
|
|
5812
|
+
* @description An [Organization](/reference/organization) identifier.
|
|
5813
|
+
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
5814
|
+
*/
|
|
5815
|
+
organization: string;
|
|
5816
|
+
/**
|
|
5817
|
+
* @description The `external_user_id` the Portal Links were generated with for this organization. Every matching link is revoked, along with any Admin Portal sessions started from those links.
|
|
5818
|
+
* @example user_12345
|
|
5819
|
+
*/
|
|
5820
|
+
external_user_id: string;
|
|
5821
|
+
};
|
|
5787
5822
|
SendRadarSmsChallengeDto: {
|
|
5788
5823
|
/**
|
|
5789
5824
|
* @description The ID of the user to send the SMS challenge to.
|
|
@@ -9266,6 +9301,16 @@ export interface components {
|
|
|
9266
9301
|
* @enum {string}
|
|
9267
9302
|
*/
|
|
9268
9303
|
state: "connected" | "needs_reauthorization";
|
|
9304
|
+
/**
|
|
9305
|
+
* @description The ID of the User whose authorization established the connected account, or null when it is developer-managed, its establisher is unknown, or the establishing member left the organization. Historical events may omit this field.
|
|
9306
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
9307
|
+
*/
|
|
9308
|
+
established_by_user_id?: string | null;
|
|
9309
|
+
/**
|
|
9310
|
+
* @description Why WorkOS put the connected account in its current state, or null when there is no WorkOS-recorded reason. `establishing_member_membership_ended` means the member who established an organization-owned connection is no longer an active member. Additional values may be added. Historical events may omit this field.
|
|
9311
|
+
* @example null
|
|
9312
|
+
*/
|
|
9313
|
+
state_reason?: "establishing_member_membership_ended" | null;
|
|
9269
9314
|
/**
|
|
9270
9315
|
* Format: date-time
|
|
9271
9316
|
* @description An ISO 8601 timestamp.
|
|
@@ -18572,12 +18617,25 @@ export interface components {
|
|
|
18572
18617
|
/**
|
|
18573
18618
|
* @description The state of the connected account:
|
|
18574
18619
|
* - `connected`: The connection is active and tokens are valid.
|
|
18575
|
-
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
|
|
18620
|
+
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed. `state_reason` explains why when WorkOS invalidated the connection itself.
|
|
18576
18621
|
* - `disconnected`: The connection has been disconnected.
|
|
18577
18622
|
* @example connected
|
|
18578
18623
|
* @enum {string}
|
|
18579
18624
|
*/
|
|
18580
18625
|
state: "connected" | "needs_reauthorization" | "disconnected";
|
|
18626
|
+
/**
|
|
18627
|
+
* @description The [User](/reference/authkit/user) whose authorization established this connection. `null` when the connection is developer-managed or its establisher is unknown, and when the establishing member lost access to the organization — in which case `state_reason` is `establishing_member_membership_ended`.
|
|
18628
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
18629
|
+
*/
|
|
18630
|
+
established_by_user_id?: string | null;
|
|
18631
|
+
/**
|
|
18632
|
+
* @description Why WorkOS put the connection in its current `state`, or `null` when there is no WorkOS-recorded reason:
|
|
18633
|
+
* - `establishing_member_membership_ended`: The member who established this organization-owned connection is no longer an active member of the organization, so its credentials were cleared. An organization admin must provide new credentials.
|
|
18634
|
+
*
|
|
18635
|
+
* Additional values may be added; treat an unrecognized value as an unknown reason.
|
|
18636
|
+
* @example null
|
|
18637
|
+
*/
|
|
18638
|
+
state_reason?: "establishing_member_membership_ended" | null;
|
|
18581
18639
|
/**
|
|
18582
18640
|
* @description The timestamp when the connection was created.
|
|
18583
18641
|
* @example 2024-01-16T14:20:00.000Z
|
|
@@ -18778,12 +18836,25 @@ export interface components {
|
|
|
18778
18836
|
/**
|
|
18779
18837
|
* @description The state of the connected account:
|
|
18780
18838
|
* - `connected`: The connection is active and tokens are valid.
|
|
18781
|
-
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
|
|
18839
|
+
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed. `state_reason` explains why when WorkOS invalidated the connection itself.
|
|
18782
18840
|
* - `disconnected`: The connection has been disconnected.
|
|
18783
18841
|
* @example connected
|
|
18784
18842
|
* @enum {string}
|
|
18785
18843
|
*/
|
|
18786
18844
|
state: "connected" | "needs_reauthorization" | "disconnected";
|
|
18845
|
+
/**
|
|
18846
|
+
* @description The [User](/reference/authkit/user) whose authorization established this connection. `null` when the connection is developer-managed or its establisher is unknown, and when the establishing member lost access to the organization — in which case `state_reason` is `establishing_member_membership_ended`.
|
|
18847
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
18848
|
+
*/
|
|
18849
|
+
established_by_user_id?: string | null;
|
|
18850
|
+
/**
|
|
18851
|
+
* @description Why WorkOS put the connection in its current `state`, or `null` when there is no WorkOS-recorded reason:
|
|
18852
|
+
* - `establishing_member_membership_ended`: The member who established this organization-owned connection is no longer an active member of the organization, so its credentials were cleared. An organization admin must provide new credentials.
|
|
18853
|
+
*
|
|
18854
|
+
* Additional values may be added; treat an unrecognized value as an unknown reason.
|
|
18855
|
+
* @example null
|
|
18856
|
+
*/
|
|
18857
|
+
state_reason?: "establishing_member_membership_ended" | null;
|
|
18787
18858
|
/**
|
|
18788
18859
|
* @description The timestamp when the connection was created.
|
|
18789
18860
|
* @example 2024-01-16T14:20:00.000Z
|
|
@@ -18894,12 +18965,25 @@ export interface components {
|
|
|
18894
18965
|
/**
|
|
18895
18966
|
* @description The state of the connected account:
|
|
18896
18967
|
* - `connected`: The connection is active and tokens are valid.
|
|
18897
|
-
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
|
|
18968
|
+
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed. `state_reason` explains why when WorkOS invalidated the connection itself.
|
|
18898
18969
|
* - `disconnected`: The connection has been disconnected.
|
|
18899
18970
|
* @example connected
|
|
18900
18971
|
* @enum {string}
|
|
18901
18972
|
*/
|
|
18902
18973
|
state: "connected" | "needs_reauthorization" | "disconnected";
|
|
18974
|
+
/**
|
|
18975
|
+
* @description The [User](/reference/authkit/user) whose authorization established this connection. `null` when the connection is developer-managed or its establisher is unknown, and when the establishing member lost access to the organization — in which case `state_reason` is `establishing_member_membership_ended`.
|
|
18976
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
18977
|
+
*/
|
|
18978
|
+
established_by_user_id?: string | null;
|
|
18979
|
+
/**
|
|
18980
|
+
* @description Why WorkOS put the connection in its current `state`, or `null` when there is no WorkOS-recorded reason:
|
|
18981
|
+
* - `establishing_member_membership_ended`: The member who established this organization-owned connection is no longer an active member of the organization, so its credentials were cleared. An organization admin must provide new credentials.
|
|
18982
|
+
*
|
|
18983
|
+
* Additional values may be added; treat an unrecognized value as an unknown reason.
|
|
18984
|
+
* @example null
|
|
18985
|
+
*/
|
|
18986
|
+
state_reason?: "establishing_member_membership_ended" | null;
|
|
18903
18987
|
/**
|
|
18904
18988
|
* @description The timestamp when the connection was created.
|
|
18905
18989
|
* @example 2024-01-16T14:20:00.000Z
|
|
@@ -19011,12 +19095,25 @@ export interface components {
|
|
|
19011
19095
|
/**
|
|
19012
19096
|
* @description The state of the connected account:
|
|
19013
19097
|
* - `connected`: The connection is active and tokens are valid.
|
|
19014
|
-
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
|
|
19098
|
+
* - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed. `state_reason` explains why when WorkOS invalidated the connection itself.
|
|
19015
19099
|
* - `disconnected`: The connection has been disconnected.
|
|
19016
19100
|
* @example connected
|
|
19017
19101
|
* @enum {string}
|
|
19018
19102
|
*/
|
|
19019
19103
|
state: "connected" | "needs_reauthorization" | "disconnected";
|
|
19104
|
+
/**
|
|
19105
|
+
* @description The [User](/reference/authkit/user) whose authorization established this connection. `null` when the connection is developer-managed or its establisher is unknown, and when the establishing member lost access to the organization — in which case `state_reason` is `establishing_member_membership_ended`.
|
|
19106
|
+
* @example user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
19107
|
+
*/
|
|
19108
|
+
established_by_user_id?: string | null;
|
|
19109
|
+
/**
|
|
19110
|
+
* @description Why WorkOS put the connection in its current `state`, or `null` when there is no WorkOS-recorded reason:
|
|
19111
|
+
* - `establishing_member_membership_ended`: The member who established this organization-owned connection is no longer an active member of the organization, so its credentials were cleared. An organization admin must provide new credentials.
|
|
19112
|
+
*
|
|
19113
|
+
* Additional values may be added; treat an unrecognized value as an unknown reason.
|
|
19114
|
+
* @example null
|
|
19115
|
+
*/
|
|
19116
|
+
state_reason?: "establishing_member_membership_ended" | null;
|
|
19020
19117
|
/**
|
|
19021
19118
|
* @description The timestamp when the connection was created.
|
|
19022
19119
|
* @example 2024-01-16T14:20:00.000Z
|
|
@@ -19032,7 +19129,7 @@ export interface components {
|
|
|
19032
19129
|
/**
|
|
19033
19130
|
* Format: password
|
|
19034
19131
|
* @description An ephemeral link to initiate the Admin Portal.
|
|
19035
|
-
* @example https://setup.workos.com?
|
|
19132
|
+
* @example https://setup.workos.com/init?apiToken=01EHZNVPK3SFK441A1RGBFSHRT
|
|
19036
19133
|
*/
|
|
19037
19134
|
link: string;
|
|
19038
19135
|
};
|
|
@@ -22287,6 +22384,26 @@ export interface operations {
|
|
|
22287
22384
|
};
|
|
22288
22385
|
};
|
|
22289
22386
|
};
|
|
22387
|
+
402: {
|
|
22388
|
+
headers: {
|
|
22389
|
+
[name: string]: unknown;
|
|
22390
|
+
};
|
|
22391
|
+
content: {
|
|
22392
|
+
"application/json": {
|
|
22393
|
+
/**
|
|
22394
|
+
* @description The error code identifying the type of error.
|
|
22395
|
+
* @example production_feature_requires_billing
|
|
22396
|
+
* @constant
|
|
22397
|
+
*/
|
|
22398
|
+
code: "production_feature_requires_billing";
|
|
22399
|
+
/**
|
|
22400
|
+
* @description A human-readable description of the error.
|
|
22401
|
+
* @example Request could not be processed.
|
|
22402
|
+
*/
|
|
22403
|
+
message: string;
|
|
22404
|
+
};
|
|
22405
|
+
};
|
|
22406
|
+
};
|
|
22290
22407
|
/** @description Not Found */
|
|
22291
22408
|
404: {
|
|
22292
22409
|
headers: {
|
|
@@ -22371,6 +22488,26 @@ export interface operations {
|
|
|
22371
22488
|
};
|
|
22372
22489
|
};
|
|
22373
22490
|
};
|
|
22491
|
+
402: {
|
|
22492
|
+
headers: {
|
|
22493
|
+
[name: string]: unknown;
|
|
22494
|
+
};
|
|
22495
|
+
content: {
|
|
22496
|
+
"application/json": {
|
|
22497
|
+
/**
|
|
22498
|
+
* @description The error code identifying the type of error.
|
|
22499
|
+
* @example production_feature_requires_billing
|
|
22500
|
+
* @constant
|
|
22501
|
+
*/
|
|
22502
|
+
code: "production_feature_requires_billing";
|
|
22503
|
+
/**
|
|
22504
|
+
* @description A human-readable description of the error.
|
|
22505
|
+
* @example Request could not be processed.
|
|
22506
|
+
*/
|
|
22507
|
+
message: string;
|
|
22508
|
+
};
|
|
22509
|
+
};
|
|
22510
|
+
};
|
|
22374
22511
|
/** @description Not Found */
|
|
22375
22512
|
404: {
|
|
22376
22513
|
headers: {
|
|
@@ -22428,6 +22565,26 @@ export interface operations {
|
|
|
22428
22565
|
"application/json": components["schemas"]["AuditLogSchemaJson"];
|
|
22429
22566
|
};
|
|
22430
22567
|
};
|
|
22568
|
+
402: {
|
|
22569
|
+
headers: {
|
|
22570
|
+
[name: string]: unknown;
|
|
22571
|
+
};
|
|
22572
|
+
content: {
|
|
22573
|
+
"application/json": {
|
|
22574
|
+
/**
|
|
22575
|
+
* @description The error code identifying the type of error.
|
|
22576
|
+
* @example production_feature_requires_billing
|
|
22577
|
+
* @constant
|
|
22578
|
+
*/
|
|
22579
|
+
code: "production_feature_requires_billing";
|
|
22580
|
+
/**
|
|
22581
|
+
* @description A human-readable description of the error.
|
|
22582
|
+
* @example Request could not be processed.
|
|
22583
|
+
*/
|
|
22584
|
+
message: string;
|
|
22585
|
+
};
|
|
22586
|
+
};
|
|
22587
|
+
};
|
|
22431
22588
|
/** @description Unprocessable Entity */
|
|
22432
22589
|
422: {
|
|
22433
22590
|
headers: {
|
|
@@ -22449,7 +22606,7 @@ export interface operations {
|
|
|
22449
22606
|
parameters: {
|
|
22450
22607
|
query?: never;
|
|
22451
22608
|
header?: {
|
|
22452
|
-
/** @description A unique string to prevent duplicate requests. Each subsequent request matching this unique string will return the same response. We suggest using v4 UUIDs.
|
|
22609
|
+
/** @description A unique string to prevent duplicate requests. Each subsequent request matching this unique string will return the same response. We suggest using v4 UUIDs. */
|
|
22453
22610
|
"idempotency-key"?: string;
|
|
22454
22611
|
};
|
|
22455
22612
|
path?: never;
|
|
@@ -22520,6 +22677,26 @@ export interface operations {
|
|
|
22520
22677
|
};
|
|
22521
22678
|
};
|
|
22522
22679
|
};
|
|
22680
|
+
402: {
|
|
22681
|
+
headers: {
|
|
22682
|
+
[name: string]: unknown;
|
|
22683
|
+
};
|
|
22684
|
+
content: {
|
|
22685
|
+
"application/json": {
|
|
22686
|
+
/**
|
|
22687
|
+
* @description The error code identifying the type of error.
|
|
22688
|
+
* @example production_feature_requires_billing
|
|
22689
|
+
* @constant
|
|
22690
|
+
*/
|
|
22691
|
+
code: "production_feature_requires_billing";
|
|
22692
|
+
/**
|
|
22693
|
+
* @description A human-readable description of the error.
|
|
22694
|
+
* @example Request could not be processed.
|
|
22695
|
+
*/
|
|
22696
|
+
message: string;
|
|
22697
|
+
};
|
|
22698
|
+
};
|
|
22699
|
+
};
|
|
22523
22700
|
/** @description Not Found */
|
|
22524
22701
|
404: {
|
|
22525
22702
|
headers: {
|
|
@@ -22671,6 +22848,26 @@ export interface operations {
|
|
|
22671
22848
|
};
|
|
22672
22849
|
};
|
|
22673
22850
|
};
|
|
22851
|
+
402: {
|
|
22852
|
+
headers: {
|
|
22853
|
+
[name: string]: unknown;
|
|
22854
|
+
};
|
|
22855
|
+
content: {
|
|
22856
|
+
"application/json": {
|
|
22857
|
+
/**
|
|
22858
|
+
* @description The error code identifying the type of error.
|
|
22859
|
+
* @example production_feature_requires_billing
|
|
22860
|
+
* @constant
|
|
22861
|
+
*/
|
|
22862
|
+
code: "production_feature_requires_billing";
|
|
22863
|
+
/**
|
|
22864
|
+
* @description A human-readable description of the error.
|
|
22865
|
+
* @example Request could not be processed.
|
|
22866
|
+
*/
|
|
22867
|
+
message: string;
|
|
22868
|
+
};
|
|
22869
|
+
};
|
|
22870
|
+
};
|
|
22674
22871
|
};
|
|
22675
22872
|
};
|
|
22676
22873
|
AuditLogExportsController_export: {
|
|
@@ -22704,6 +22901,26 @@ export interface operations {
|
|
|
22704
22901
|
"application/json": components["schemas"]["AuditLogExportJson"];
|
|
22705
22902
|
};
|
|
22706
22903
|
};
|
|
22904
|
+
402: {
|
|
22905
|
+
headers: {
|
|
22906
|
+
[name: string]: unknown;
|
|
22907
|
+
};
|
|
22908
|
+
content: {
|
|
22909
|
+
"application/json": {
|
|
22910
|
+
/**
|
|
22911
|
+
* @description The error code identifying the type of error.
|
|
22912
|
+
* @example production_feature_requires_billing
|
|
22913
|
+
* @constant
|
|
22914
|
+
*/
|
|
22915
|
+
code: "production_feature_requires_billing";
|
|
22916
|
+
/**
|
|
22917
|
+
* @description A human-readable description of the error.
|
|
22918
|
+
* @example Request could not be processed.
|
|
22919
|
+
*/
|
|
22920
|
+
message: string;
|
|
22921
|
+
};
|
|
22922
|
+
};
|
|
22923
|
+
};
|
|
22707
22924
|
/** @description Audit Log Export not found. */
|
|
22708
22925
|
404: {
|
|
22709
22926
|
headers: {
|
|
@@ -23242,6 +23459,26 @@ export interface operations {
|
|
|
23242
23459
|
"application/json": components["schemas"]["GroupRoleAssignmentList"];
|
|
23243
23460
|
};
|
|
23244
23461
|
};
|
|
23462
|
+
402: {
|
|
23463
|
+
headers: {
|
|
23464
|
+
[name: string]: unknown;
|
|
23465
|
+
};
|
|
23466
|
+
content: {
|
|
23467
|
+
"application/json": {
|
|
23468
|
+
/**
|
|
23469
|
+
* @description The error code identifying the type of error.
|
|
23470
|
+
* @example production_feature_requires_billing
|
|
23471
|
+
* @constant
|
|
23472
|
+
*/
|
|
23473
|
+
code: "production_feature_requires_billing";
|
|
23474
|
+
/**
|
|
23475
|
+
* @description A human-readable description of the error.
|
|
23476
|
+
* @example Request could not be processed.
|
|
23477
|
+
*/
|
|
23478
|
+
message: string;
|
|
23479
|
+
};
|
|
23480
|
+
};
|
|
23481
|
+
};
|
|
23245
23482
|
/** @description Forbidden */
|
|
23246
23483
|
403: {
|
|
23247
23484
|
headers: {
|
|
@@ -23299,6 +23536,26 @@ export interface operations {
|
|
|
23299
23536
|
"application/json": components["schemas"]["GroupRoleAssignmentList"];
|
|
23300
23537
|
};
|
|
23301
23538
|
};
|
|
23539
|
+
402: {
|
|
23540
|
+
headers: {
|
|
23541
|
+
[name: string]: unknown;
|
|
23542
|
+
};
|
|
23543
|
+
content: {
|
|
23544
|
+
"application/json": {
|
|
23545
|
+
/**
|
|
23546
|
+
* @description The error code identifying the type of error.
|
|
23547
|
+
* @example production_feature_requires_billing
|
|
23548
|
+
* @constant
|
|
23549
|
+
*/
|
|
23550
|
+
code: "production_feature_requires_billing";
|
|
23551
|
+
/**
|
|
23552
|
+
* @description A human-readable description of the error.
|
|
23553
|
+
* @example Request could not be processed.
|
|
23554
|
+
*/
|
|
23555
|
+
message: string;
|
|
23556
|
+
};
|
|
23557
|
+
};
|
|
23558
|
+
};
|
|
23302
23559
|
/** @description Forbidden */
|
|
23303
23560
|
403: {
|
|
23304
23561
|
headers: {
|
|
@@ -23371,6 +23628,26 @@ export interface operations {
|
|
|
23371
23628
|
"application/json": components["schemas"]["GroupRoleAssignment"];
|
|
23372
23629
|
};
|
|
23373
23630
|
};
|
|
23631
|
+
402: {
|
|
23632
|
+
headers: {
|
|
23633
|
+
[name: string]: unknown;
|
|
23634
|
+
};
|
|
23635
|
+
content: {
|
|
23636
|
+
"application/json": {
|
|
23637
|
+
/**
|
|
23638
|
+
* @description The error code identifying the type of error.
|
|
23639
|
+
* @example production_feature_requires_billing
|
|
23640
|
+
* @constant
|
|
23641
|
+
*/
|
|
23642
|
+
code: "production_feature_requires_billing";
|
|
23643
|
+
/**
|
|
23644
|
+
* @description A human-readable description of the error.
|
|
23645
|
+
* @example Request could not be processed.
|
|
23646
|
+
*/
|
|
23647
|
+
message: string;
|
|
23648
|
+
};
|
|
23649
|
+
};
|
|
23650
|
+
};
|
|
23374
23651
|
/** @description Forbidden */
|
|
23375
23652
|
403: {
|
|
23376
23653
|
headers: {
|
|
@@ -23531,6 +23808,26 @@ export interface operations {
|
|
|
23531
23808
|
"application/json": components["schemas"]["GroupRoleAssignment"];
|
|
23532
23809
|
};
|
|
23533
23810
|
};
|
|
23811
|
+
402: {
|
|
23812
|
+
headers: {
|
|
23813
|
+
[name: string]: unknown;
|
|
23814
|
+
};
|
|
23815
|
+
content: {
|
|
23816
|
+
"application/json": {
|
|
23817
|
+
/**
|
|
23818
|
+
* @description The error code identifying the type of error.
|
|
23819
|
+
* @example production_feature_requires_billing
|
|
23820
|
+
* @constant
|
|
23821
|
+
*/
|
|
23822
|
+
code: "production_feature_requires_billing";
|
|
23823
|
+
/**
|
|
23824
|
+
* @description A human-readable description of the error.
|
|
23825
|
+
* @example Request could not be processed.
|
|
23826
|
+
*/
|
|
23827
|
+
message: string;
|
|
23828
|
+
};
|
|
23829
|
+
};
|
|
23830
|
+
};
|
|
23534
23831
|
/** @description Forbidden */
|
|
23535
23832
|
403: {
|
|
23536
23833
|
headers: {
|
|
@@ -23641,6 +23938,26 @@ export interface operations {
|
|
|
23641
23938
|
"application/json": components["schemas"]["AuthorizationCheck"];
|
|
23642
23939
|
};
|
|
23643
23940
|
};
|
|
23941
|
+
402: {
|
|
23942
|
+
headers: {
|
|
23943
|
+
[name: string]: unknown;
|
|
23944
|
+
};
|
|
23945
|
+
content: {
|
|
23946
|
+
"application/json": {
|
|
23947
|
+
/**
|
|
23948
|
+
* @description The error code identifying the type of error.
|
|
23949
|
+
* @example production_feature_requires_billing
|
|
23950
|
+
* @constant
|
|
23951
|
+
*/
|
|
23952
|
+
code: "production_feature_requires_billing";
|
|
23953
|
+
/**
|
|
23954
|
+
* @description A human-readable description of the error.
|
|
23955
|
+
* @example Request could not be processed.
|
|
23956
|
+
*/
|
|
23957
|
+
message: string;
|
|
23958
|
+
};
|
|
23959
|
+
};
|
|
23960
|
+
};
|
|
23644
23961
|
/** @description Forbidden */
|
|
23645
23962
|
403: {
|
|
23646
23963
|
headers: {
|
|
@@ -23747,6 +24064,26 @@ export interface operations {
|
|
|
23747
24064
|
};
|
|
23748
24065
|
};
|
|
23749
24066
|
};
|
|
24067
|
+
402: {
|
|
24068
|
+
headers: {
|
|
24069
|
+
[name: string]: unknown;
|
|
24070
|
+
};
|
|
24071
|
+
content: {
|
|
24072
|
+
"application/json": {
|
|
24073
|
+
/**
|
|
24074
|
+
* @description The error code identifying the type of error.
|
|
24075
|
+
* @example production_feature_requires_billing
|
|
24076
|
+
* @constant
|
|
24077
|
+
*/
|
|
24078
|
+
code: "production_feature_requires_billing";
|
|
24079
|
+
/**
|
|
24080
|
+
* @description A human-readable description of the error.
|
|
24081
|
+
* @example Request could not be processed.
|
|
24082
|
+
*/
|
|
24083
|
+
message: string;
|
|
24084
|
+
};
|
|
24085
|
+
};
|
|
24086
|
+
};
|
|
23750
24087
|
/** @description Forbidden */
|
|
23751
24088
|
403: {
|
|
23752
24089
|
headers: {
|
|
@@ -23826,6 +24163,26 @@ export interface operations {
|
|
|
23826
24163
|
"application/json": components["schemas"]["AuthorizationPermissionList"];
|
|
23827
24164
|
};
|
|
23828
24165
|
};
|
|
24166
|
+
402: {
|
|
24167
|
+
headers: {
|
|
24168
|
+
[name: string]: unknown;
|
|
24169
|
+
};
|
|
24170
|
+
content: {
|
|
24171
|
+
"application/json": {
|
|
24172
|
+
/**
|
|
24173
|
+
* @description The error code identifying the type of error.
|
|
24174
|
+
* @example production_feature_requires_billing
|
|
24175
|
+
* @constant
|
|
24176
|
+
*/
|
|
24177
|
+
code: "production_feature_requires_billing";
|
|
24178
|
+
/**
|
|
24179
|
+
* @description A human-readable description of the error.
|
|
24180
|
+
* @example Request could not be processed.
|
|
24181
|
+
*/
|
|
24182
|
+
message: string;
|
|
24183
|
+
};
|
|
24184
|
+
};
|
|
24185
|
+
};
|
|
23829
24186
|
/** @description Forbidden */
|
|
23830
24187
|
403: {
|
|
23831
24188
|
headers: {
|
|
@@ -23907,6 +24264,26 @@ export interface operations {
|
|
|
23907
24264
|
"application/json": components["schemas"]["AuthorizationPermissionList"];
|
|
23908
24265
|
};
|
|
23909
24266
|
};
|
|
24267
|
+
402: {
|
|
24268
|
+
headers: {
|
|
24269
|
+
[name: string]: unknown;
|
|
24270
|
+
};
|
|
24271
|
+
content: {
|
|
24272
|
+
"application/json": {
|
|
24273
|
+
/**
|
|
24274
|
+
* @description The error code identifying the type of error.
|
|
24275
|
+
* @example production_feature_requires_billing
|
|
24276
|
+
* @constant
|
|
24277
|
+
*/
|
|
24278
|
+
code: "production_feature_requires_billing";
|
|
24279
|
+
/**
|
|
24280
|
+
* @description A human-readable description of the error.
|
|
24281
|
+
* @example Request could not be processed.
|
|
24282
|
+
*/
|
|
24283
|
+
message: string;
|
|
24284
|
+
};
|
|
24285
|
+
};
|
|
24286
|
+
};
|
|
23910
24287
|
/** @description Forbidden */
|
|
23911
24288
|
403: {
|
|
23912
24289
|
headers: {
|
|
@@ -23990,6 +24367,26 @@ export interface operations {
|
|
|
23990
24367
|
"application/json": components["schemas"]["UserRoleAssignmentList"];
|
|
23991
24368
|
};
|
|
23992
24369
|
};
|
|
24370
|
+
402: {
|
|
24371
|
+
headers: {
|
|
24372
|
+
[name: string]: unknown;
|
|
24373
|
+
};
|
|
24374
|
+
content: {
|
|
24375
|
+
"application/json": {
|
|
24376
|
+
/**
|
|
24377
|
+
* @description The error code identifying the type of error.
|
|
24378
|
+
* @example production_feature_requires_billing
|
|
24379
|
+
* @constant
|
|
24380
|
+
*/
|
|
24381
|
+
code: "production_feature_requires_billing";
|
|
24382
|
+
/**
|
|
24383
|
+
* @description A human-readable description of the error.
|
|
24384
|
+
* @example Request could not be processed.
|
|
24385
|
+
*/
|
|
24386
|
+
message: string;
|
|
24387
|
+
};
|
|
24388
|
+
};
|
|
24389
|
+
};
|
|
23993
24390
|
/** @description Forbidden */
|
|
23994
24391
|
403: {
|
|
23995
24392
|
headers: {
|
|
@@ -24069,6 +24466,26 @@ export interface operations {
|
|
|
24069
24466
|
"application/json": components["schemas"]["UserRoleAssignment"];
|
|
24070
24467
|
};
|
|
24071
24468
|
};
|
|
24469
|
+
402: {
|
|
24470
|
+
headers: {
|
|
24471
|
+
[name: string]: unknown;
|
|
24472
|
+
};
|
|
24473
|
+
content: {
|
|
24474
|
+
"application/json": {
|
|
24475
|
+
/**
|
|
24476
|
+
* @description The error code identifying the type of error.
|
|
24477
|
+
* @example production_feature_requires_billing
|
|
24478
|
+
* @constant
|
|
24479
|
+
*/
|
|
24480
|
+
code: "production_feature_requires_billing";
|
|
24481
|
+
/**
|
|
24482
|
+
* @description A human-readable description of the error.
|
|
24483
|
+
* @example Request could not be processed.
|
|
24484
|
+
*/
|
|
24485
|
+
message: string;
|
|
24486
|
+
};
|
|
24487
|
+
};
|
|
24488
|
+
};
|
|
24072
24489
|
/** @description Forbidden */
|
|
24073
24490
|
403: {
|
|
24074
24491
|
headers: {
|
|
@@ -25203,6 +25620,26 @@ export interface operations {
|
|
|
25203
25620
|
"application/json": components["schemas"]["AuthorizationResource"];
|
|
25204
25621
|
};
|
|
25205
25622
|
};
|
|
25623
|
+
402: {
|
|
25624
|
+
headers: {
|
|
25625
|
+
[name: string]: unknown;
|
|
25626
|
+
};
|
|
25627
|
+
content: {
|
|
25628
|
+
"application/json": {
|
|
25629
|
+
/**
|
|
25630
|
+
* @description The error code identifying the type of error.
|
|
25631
|
+
* @example production_feature_requires_billing
|
|
25632
|
+
* @constant
|
|
25633
|
+
*/
|
|
25634
|
+
code: "production_feature_requires_billing";
|
|
25635
|
+
/**
|
|
25636
|
+
* @description A human-readable description of the error.
|
|
25637
|
+
* @example Request could not be processed.
|
|
25638
|
+
*/
|
|
25639
|
+
message: string;
|
|
25640
|
+
};
|
|
25641
|
+
};
|
|
25642
|
+
};
|
|
25206
25643
|
/** @description Forbidden */
|
|
25207
25644
|
403: {
|
|
25208
25645
|
headers: {
|
|
@@ -25449,6 +25886,26 @@ export interface operations {
|
|
|
25449
25886
|
};
|
|
25450
25887
|
};
|
|
25451
25888
|
};
|
|
25889
|
+
402: {
|
|
25890
|
+
headers: {
|
|
25891
|
+
[name: string]: unknown;
|
|
25892
|
+
};
|
|
25893
|
+
content: {
|
|
25894
|
+
"application/json": {
|
|
25895
|
+
/**
|
|
25896
|
+
* @description The error code identifying the type of error.
|
|
25897
|
+
* @example production_feature_requires_billing
|
|
25898
|
+
* @constant
|
|
25899
|
+
*/
|
|
25900
|
+
code: "production_feature_requires_billing";
|
|
25901
|
+
/**
|
|
25902
|
+
* @description A human-readable description of the error.
|
|
25903
|
+
* @example Request could not be processed.
|
|
25904
|
+
*/
|
|
25905
|
+
message: string;
|
|
25906
|
+
};
|
|
25907
|
+
};
|
|
25908
|
+
};
|
|
25452
25909
|
/** @description Forbidden */
|
|
25453
25910
|
403: {
|
|
25454
25911
|
headers: {
|
|
@@ -25575,6 +26032,26 @@ export interface operations {
|
|
|
25575
26032
|
};
|
|
25576
26033
|
};
|
|
25577
26034
|
};
|
|
26035
|
+
402: {
|
|
26036
|
+
headers: {
|
|
26037
|
+
[name: string]: unknown;
|
|
26038
|
+
};
|
|
26039
|
+
content: {
|
|
26040
|
+
"application/json": {
|
|
26041
|
+
/**
|
|
26042
|
+
* @description The error code identifying the type of error.
|
|
26043
|
+
* @example production_feature_requires_billing
|
|
26044
|
+
* @constant
|
|
26045
|
+
*/
|
|
26046
|
+
code: "production_feature_requires_billing";
|
|
26047
|
+
/**
|
|
26048
|
+
* @description A human-readable description of the error.
|
|
26049
|
+
* @example Request could not be processed.
|
|
26050
|
+
*/
|
|
26051
|
+
message: string;
|
|
26052
|
+
};
|
|
26053
|
+
};
|
|
26054
|
+
};
|
|
25578
26055
|
/** @description Forbidden */
|
|
25579
26056
|
403: {
|
|
25580
26057
|
headers: {
|
|
@@ -25658,6 +26135,26 @@ export interface operations {
|
|
|
25658
26135
|
"application/json": components["schemas"]["UserRoleAssignmentList"];
|
|
25659
26136
|
};
|
|
25660
26137
|
};
|
|
26138
|
+
402: {
|
|
26139
|
+
headers: {
|
|
26140
|
+
[name: string]: unknown;
|
|
26141
|
+
};
|
|
26142
|
+
content: {
|
|
26143
|
+
"application/json": {
|
|
26144
|
+
/**
|
|
26145
|
+
* @description The error code identifying the type of error.
|
|
26146
|
+
* @example production_feature_requires_billing
|
|
26147
|
+
* @constant
|
|
26148
|
+
*/
|
|
26149
|
+
code: "production_feature_requires_billing";
|
|
26150
|
+
/**
|
|
26151
|
+
* @description A human-readable description of the error.
|
|
26152
|
+
* @example Request could not be processed.
|
|
26153
|
+
*/
|
|
26154
|
+
message: string;
|
|
26155
|
+
};
|
|
26156
|
+
};
|
|
26157
|
+
};
|
|
25661
26158
|
/** @description Forbidden */
|
|
25662
26159
|
403: {
|
|
25663
26160
|
headers: {
|
|
@@ -26098,6 +26595,26 @@ export interface operations {
|
|
|
26098
26595
|
};
|
|
26099
26596
|
};
|
|
26100
26597
|
};
|
|
26598
|
+
402: {
|
|
26599
|
+
headers: {
|
|
26600
|
+
[name: string]: unknown;
|
|
26601
|
+
};
|
|
26602
|
+
content: {
|
|
26603
|
+
"application/json": {
|
|
26604
|
+
/**
|
|
26605
|
+
* @description The error code identifying the type of error.
|
|
26606
|
+
* @example production_feature_requires_billing
|
|
26607
|
+
* @constant
|
|
26608
|
+
*/
|
|
26609
|
+
code: "production_feature_requires_billing";
|
|
26610
|
+
/**
|
|
26611
|
+
* @description A human-readable description of the error.
|
|
26612
|
+
* @example Request could not be processed.
|
|
26613
|
+
*/
|
|
26614
|
+
message: string;
|
|
26615
|
+
};
|
|
26616
|
+
};
|
|
26617
|
+
};
|
|
26101
26618
|
/** @description Forbidden */
|
|
26102
26619
|
403: {
|
|
26103
26620
|
headers: {
|
|
@@ -26238,6 +26755,26 @@ export interface operations {
|
|
|
26238
26755
|
};
|
|
26239
26756
|
};
|
|
26240
26757
|
};
|
|
26758
|
+
402: {
|
|
26759
|
+
headers: {
|
|
26760
|
+
[name: string]: unknown;
|
|
26761
|
+
};
|
|
26762
|
+
content: {
|
|
26763
|
+
"application/json": {
|
|
26764
|
+
/**
|
|
26765
|
+
* @description The error code identifying the type of error.
|
|
26766
|
+
* @example production_feature_requires_billing
|
|
26767
|
+
* @constant
|
|
26768
|
+
*/
|
|
26769
|
+
code: "production_feature_requires_billing";
|
|
26770
|
+
/**
|
|
26771
|
+
* @description A human-readable description of the error.
|
|
26772
|
+
* @example Request could not be processed.
|
|
26773
|
+
*/
|
|
26774
|
+
message: string;
|
|
26775
|
+
};
|
|
26776
|
+
};
|
|
26777
|
+
};
|
|
26241
26778
|
/** @description Forbidden */
|
|
26242
26779
|
403: {
|
|
26243
26780
|
headers: {
|
|
@@ -26338,6 +26875,26 @@ export interface operations {
|
|
|
26338
26875
|
"application/json": components["schemas"]["AuthorizationResource"];
|
|
26339
26876
|
};
|
|
26340
26877
|
};
|
|
26878
|
+
402: {
|
|
26879
|
+
headers: {
|
|
26880
|
+
[name: string]: unknown;
|
|
26881
|
+
};
|
|
26882
|
+
content: {
|
|
26883
|
+
"application/json": {
|
|
26884
|
+
/**
|
|
26885
|
+
* @description The error code identifying the type of error.
|
|
26886
|
+
* @example production_feature_requires_billing
|
|
26887
|
+
* @constant
|
|
26888
|
+
*/
|
|
26889
|
+
code: "production_feature_requires_billing";
|
|
26890
|
+
/**
|
|
26891
|
+
* @description A human-readable description of the error.
|
|
26892
|
+
* @example Request could not be processed.
|
|
26893
|
+
*/
|
|
26894
|
+
message: string;
|
|
26895
|
+
};
|
|
26896
|
+
};
|
|
26897
|
+
};
|
|
26341
26898
|
/** @description Forbidden */
|
|
26342
26899
|
403: {
|
|
26343
26900
|
headers: {
|
|
@@ -26591,6 +27148,26 @@ export interface operations {
|
|
|
26591
27148
|
};
|
|
26592
27149
|
};
|
|
26593
27150
|
};
|
|
27151
|
+
402: {
|
|
27152
|
+
headers: {
|
|
27153
|
+
[name: string]: unknown;
|
|
27154
|
+
};
|
|
27155
|
+
content: {
|
|
27156
|
+
"application/json": {
|
|
27157
|
+
/**
|
|
27158
|
+
* @description The error code identifying the type of error.
|
|
27159
|
+
* @example production_feature_requires_billing
|
|
27160
|
+
* @constant
|
|
27161
|
+
*/
|
|
27162
|
+
code: "production_feature_requires_billing";
|
|
27163
|
+
/**
|
|
27164
|
+
* @description A human-readable description of the error.
|
|
27165
|
+
* @example Request could not be processed.
|
|
27166
|
+
*/
|
|
27167
|
+
message: string;
|
|
27168
|
+
};
|
|
27169
|
+
};
|
|
27170
|
+
};
|
|
26594
27171
|
/** @description Forbidden */
|
|
26595
27172
|
403: {
|
|
26596
27173
|
headers: {
|
|
@@ -26713,6 +27290,26 @@ export interface operations {
|
|
|
26713
27290
|
};
|
|
26714
27291
|
};
|
|
26715
27292
|
};
|
|
27293
|
+
402: {
|
|
27294
|
+
headers: {
|
|
27295
|
+
[name: string]: unknown;
|
|
27296
|
+
};
|
|
27297
|
+
content: {
|
|
27298
|
+
"application/json": {
|
|
27299
|
+
/**
|
|
27300
|
+
* @description The error code identifying the type of error.
|
|
27301
|
+
* @example production_feature_requires_billing
|
|
27302
|
+
* @constant
|
|
27303
|
+
*/
|
|
27304
|
+
code: "production_feature_requires_billing";
|
|
27305
|
+
/**
|
|
27306
|
+
* @description A human-readable description of the error.
|
|
27307
|
+
* @example Request could not be processed.
|
|
27308
|
+
*/
|
|
27309
|
+
message: string;
|
|
27310
|
+
};
|
|
27311
|
+
};
|
|
27312
|
+
};
|
|
26716
27313
|
/** @description Forbidden */
|
|
26717
27314
|
403: {
|
|
26718
27315
|
headers: {
|
|
@@ -26792,6 +27389,26 @@ export interface operations {
|
|
|
26792
27389
|
"application/json": components["schemas"]["UserRoleAssignmentList"];
|
|
26793
27390
|
};
|
|
26794
27391
|
};
|
|
27392
|
+
402: {
|
|
27393
|
+
headers: {
|
|
27394
|
+
[name: string]: unknown;
|
|
27395
|
+
};
|
|
27396
|
+
content: {
|
|
27397
|
+
"application/json": {
|
|
27398
|
+
/**
|
|
27399
|
+
* @description The error code identifying the type of error.
|
|
27400
|
+
* @example production_feature_requires_billing
|
|
27401
|
+
* @constant
|
|
27402
|
+
*/
|
|
27403
|
+
code: "production_feature_requires_billing";
|
|
27404
|
+
/**
|
|
27405
|
+
* @description A human-readable description of the error.
|
|
27406
|
+
* @example Request could not be processed.
|
|
27407
|
+
*/
|
|
27408
|
+
message: string;
|
|
27409
|
+
};
|
|
27410
|
+
};
|
|
27411
|
+
};
|
|
26795
27412
|
/** @description Forbidden */
|
|
26796
27413
|
403: {
|
|
26797
27414
|
headers: {
|
|
@@ -30177,7 +30794,10 @@ export interface operations {
|
|
|
30177
30794
|
DataIntegrationsController_createApiKeyConnection: {
|
|
30178
30795
|
parameters: {
|
|
30179
30796
|
query?: never;
|
|
30180
|
-
header?:
|
|
30797
|
+
header?: {
|
|
30798
|
+
/** @description Makes retries of this explicit add return the connection the first attempt created instead of creating another. Reuse the same key for every retry of one request. A matching retry within 24 hours returns the existing connection; reusing the key for a different owner, integration, or authentication method, or after 24 hours while that connection exists, returns 409 `idempotency_key_conflict`. If that connection was deleted, the key creates a new one. Requests without a key are not retry-safe. */
|
|
30799
|
+
"idempotency-key"?: string;
|
|
30800
|
+
};
|
|
30181
30801
|
path: {
|
|
30182
30802
|
/** @description The identifier of the integration. */
|
|
30183
30803
|
slug: string;
|
|
@@ -30314,7 +30934,7 @@ export interface operations {
|
|
|
30314
30934
|
};
|
|
30315
30935
|
};
|
|
30316
30936
|
};
|
|
30317
|
-
/** @description `connected_account_limit_reached` when the provider and owner already have 25 connections. */
|
|
30937
|
+
/** @description `connected_account_limit_reached` when the provider and owner already have 25 connections, or `idempotency_key_conflict` when the `Idempotency-Key` was already used for a different connection request or its replay window has passed. */
|
|
30318
30938
|
409: {
|
|
30319
30939
|
headers: {
|
|
30320
30940
|
[name: string]: unknown;
|
|
@@ -30324,9 +30944,9 @@ export interface operations {
|
|
|
30324
30944
|
/**
|
|
30325
30945
|
* @description The error code identifying the type of error.
|
|
30326
30946
|
* @example connected_account_limit_reached
|
|
30327
|
-
* @
|
|
30947
|
+
* @enum {string}
|
|
30328
30948
|
*/
|
|
30329
|
-
code: "connected_account_limit_reached";
|
|
30949
|
+
code: "connected_account_limit_reached" | "idempotency_key_conflict";
|
|
30330
30950
|
/**
|
|
30331
30951
|
* @description A human-readable description of the error.
|
|
30332
30952
|
* @example Request could not be processed.
|
|
@@ -30893,7 +31513,10 @@ export interface operations {
|
|
|
30893
31513
|
DataIntegrationsController_createClientCredentialsConnection: {
|
|
30894
31514
|
parameters: {
|
|
30895
31515
|
query?: never;
|
|
30896
|
-
header?:
|
|
31516
|
+
header?: {
|
|
31517
|
+
/** @description Makes retries of this explicit add return the connection the first attempt created instead of creating another. Reuse the same key for every retry of one request. A matching retry within 24 hours returns the existing connection; reusing the key for a different owner, integration, or authentication method, or after 24 hours while that connection exists, returns 409 `idempotency_key_conflict`. If that connection was deleted, the key creates a new one. Requests without a key are not retry-safe. */
|
|
31518
|
+
"idempotency-key"?: string;
|
|
31519
|
+
};
|
|
30897
31520
|
path: {
|
|
30898
31521
|
/** @description The identifier of the integration. */
|
|
30899
31522
|
slug: string;
|
|
@@ -31043,7 +31666,7 @@ export interface operations {
|
|
|
31043
31666
|
};
|
|
31044
31667
|
};
|
|
31045
31668
|
};
|
|
31046
|
-
/** @description `connected_account_limit_reached` when the provider and owner already have 25 connections. */
|
|
31669
|
+
/** @description `connected_account_limit_reached` when the provider and owner already have 25 connections, or `idempotency_key_conflict` when the `Idempotency-Key` was already used for a different connection request or its replay window has passed. */
|
|
31047
31670
|
409: {
|
|
31048
31671
|
headers: {
|
|
31049
31672
|
[name: string]: unknown;
|
|
@@ -31053,9 +31676,9 @@ export interface operations {
|
|
|
31053
31676
|
/**
|
|
31054
31677
|
* @description The error code identifying the type of error.
|
|
31055
31678
|
* @example connected_account_limit_reached
|
|
31056
|
-
* @
|
|
31679
|
+
* @enum {string}
|
|
31057
31680
|
*/
|
|
31058
|
-
code: "connected_account_limit_reached";
|
|
31681
|
+
code: "connected_account_limit_reached" | "idempotency_key_conflict";
|
|
31059
31682
|
/**
|
|
31060
31683
|
* @description A human-readable description of the error.
|
|
31061
31684
|
* @example Request could not be processed.
|
|
@@ -32524,6 +33147,26 @@ export interface operations {
|
|
|
32524
33147
|
};
|
|
32525
33148
|
};
|
|
32526
33149
|
};
|
|
33150
|
+
409: {
|
|
33151
|
+
headers: {
|
|
33152
|
+
[name: string]: unknown;
|
|
33153
|
+
};
|
|
33154
|
+
content: {
|
|
33155
|
+
"application/json": {
|
|
33156
|
+
/**
|
|
33157
|
+
* @description The error code identifying the type of error.
|
|
33158
|
+
* @example concurrent_flag_target_update
|
|
33159
|
+
* @constant
|
|
33160
|
+
*/
|
|
33161
|
+
code: "concurrent_flag_target_update";
|
|
33162
|
+
/**
|
|
33163
|
+
* @description A human-readable description of the error.
|
|
33164
|
+
* @example Request could not be processed.
|
|
33165
|
+
*/
|
|
33166
|
+
message: string;
|
|
33167
|
+
};
|
|
33168
|
+
};
|
|
33169
|
+
};
|
|
32527
33170
|
};
|
|
32528
33171
|
};
|
|
32529
33172
|
FeatureFlagsController_enableFlag: {
|
|
@@ -32635,6 +33278,26 @@ export interface operations {
|
|
|
32635
33278
|
};
|
|
32636
33279
|
};
|
|
32637
33280
|
};
|
|
33281
|
+
409: {
|
|
33282
|
+
headers: {
|
|
33283
|
+
[name: string]: unknown;
|
|
33284
|
+
};
|
|
33285
|
+
content: {
|
|
33286
|
+
"application/json": {
|
|
33287
|
+
/**
|
|
33288
|
+
* @description The error code identifying the type of error.
|
|
33289
|
+
* @example concurrent_flag_target_update
|
|
33290
|
+
* @constant
|
|
33291
|
+
*/
|
|
33292
|
+
code: "concurrent_flag_target_update";
|
|
33293
|
+
/**
|
|
33294
|
+
* @description A human-readable description of the error.
|
|
33295
|
+
* @example Request could not be processed.
|
|
33296
|
+
*/
|
|
33297
|
+
message: string;
|
|
33298
|
+
};
|
|
33299
|
+
};
|
|
33300
|
+
};
|
|
32638
33301
|
};
|
|
32639
33302
|
};
|
|
32640
33303
|
FlagTargetsController_createTarget: {
|
|
@@ -33508,6 +34171,26 @@ export interface operations {
|
|
|
33508
34171
|
"application/json": components["schemas"]["AuditLogsRetentionJson"];
|
|
33509
34172
|
};
|
|
33510
34173
|
};
|
|
34174
|
+
402: {
|
|
34175
|
+
headers: {
|
|
34176
|
+
[name: string]: unknown;
|
|
34177
|
+
};
|
|
34178
|
+
content: {
|
|
34179
|
+
"application/json": {
|
|
34180
|
+
/**
|
|
34181
|
+
* @description The error code identifying the type of error.
|
|
34182
|
+
* @example production_feature_requires_billing
|
|
34183
|
+
* @constant
|
|
34184
|
+
*/
|
|
34185
|
+
code: "production_feature_requires_billing";
|
|
34186
|
+
/**
|
|
34187
|
+
* @description A human-readable description of the error.
|
|
34188
|
+
* @example Request could not be processed.
|
|
34189
|
+
*/
|
|
34190
|
+
message: string;
|
|
34191
|
+
};
|
|
34192
|
+
};
|
|
34193
|
+
};
|
|
33511
34194
|
/** @description Not Found */
|
|
33512
34195
|
404: {
|
|
33513
34196
|
headers: {
|
|
@@ -33550,6 +34233,26 @@ export interface operations {
|
|
|
33550
34233
|
"application/json": components["schemas"]["AuditLogsRetentionJson"];
|
|
33551
34234
|
};
|
|
33552
34235
|
};
|
|
34236
|
+
402: {
|
|
34237
|
+
headers: {
|
|
34238
|
+
[name: string]: unknown;
|
|
34239
|
+
};
|
|
34240
|
+
content: {
|
|
34241
|
+
"application/json": {
|
|
34242
|
+
/**
|
|
34243
|
+
* @description The error code identifying the type of error.
|
|
34244
|
+
* @example production_feature_requires_billing
|
|
34245
|
+
* @constant
|
|
34246
|
+
*/
|
|
34247
|
+
code: "production_feature_requires_billing";
|
|
34248
|
+
/**
|
|
34249
|
+
* @description A human-readable description of the error.
|
|
34250
|
+
* @example Request could not be processed.
|
|
34251
|
+
*/
|
|
34252
|
+
message: string;
|
|
34253
|
+
};
|
|
34254
|
+
};
|
|
34255
|
+
};
|
|
33553
34256
|
/** @description Not Found */
|
|
33554
34257
|
404: {
|
|
33555
34258
|
headers: {
|
|
@@ -34554,6 +35257,8 @@ export interface operations {
|
|
|
34554
35257
|
* "instance_url": "https://example.my.salesforce.com"
|
|
34555
35258
|
* },
|
|
34556
35259
|
* "state": "connected",
|
|
35260
|
+
* "established_by_user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
35261
|
+
* "state_reason": null,
|
|
34557
35262
|
* "created_at": "2024-01-16T14:20:00.000Z",
|
|
34558
35263
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
34559
35264
|
* }
|
|
@@ -34661,6 +35366,8 @@ export interface operations {
|
|
|
34661
35366
|
* "instance_url": "https://example.my.salesforce.com"
|
|
34662
35367
|
* },
|
|
34663
35368
|
* "state": "connected",
|
|
35369
|
+
* "established_by_user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
35370
|
+
* "state_reason": null,
|
|
34664
35371
|
* "created_at": "2024-01-16T14:20:00.000Z",
|
|
34665
35372
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
34666
35373
|
* }
|
|
@@ -34768,7 +35475,10 @@ export interface operations {
|
|
|
34768
35475
|
DataIntegrationsOrganizationController_createOrganizationDataInstallation: {
|
|
34769
35476
|
parameters: {
|
|
34770
35477
|
query?: never;
|
|
34771
|
-
header?:
|
|
35478
|
+
header?: {
|
|
35479
|
+
/** @description Makes retries of this explicit add return the connection the first attempt created instead of creating another. Reuse the same key for every retry of one request. A matching retry within 24 hours returns the existing connection; reusing the key for a different owner, integration, or authentication method, or after 24 hours while that connection exists, returns 409 `idempotency_key_conflict`. If that connection was deleted, the key creates a new one. Requests without a key are not retry-safe. */
|
|
35480
|
+
"idempotency-key"?: string;
|
|
35481
|
+
};
|
|
34772
35482
|
path: {
|
|
34773
35483
|
/** @description An [Organization](/reference/organization) identifier. */
|
|
34774
35484
|
organization_id: string;
|
|
@@ -34810,6 +35520,8 @@ export interface operations {
|
|
|
34810
35520
|
* "instance_url": "https://example.my.salesforce.com"
|
|
34811
35521
|
* },
|
|
34812
35522
|
* "state": "connected",
|
|
35523
|
+
* "established_by_user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
35524
|
+
* "state_reason": null,
|
|
34813
35525
|
* "created_at": "2024-01-16T14:20:00.000Z",
|
|
34814
35526
|
* "updated_at": "2024-01-16T14:20:00.000Z"
|
|
34815
35527
|
* }
|
|
@@ -34866,7 +35578,7 @@ export interface operations {
|
|
|
34866
35578
|
};
|
|
34867
35579
|
};
|
|
34868
35580
|
};
|
|
34869
|
-
/** @description The compatibility connection already exists for this organization and integration,
|
|
35581
|
+
/** @description The compatibility connection already exists for this organization and integration, `connected_account_limit_reached` when `connection_intent: add` would create a standard connection and the owner already has 25 connections, or `idempotency_key_conflict` when the `Idempotency-Key` was already used for a different connection request or its replay window has passed. */
|
|
34870
35582
|
409: {
|
|
34871
35583
|
headers: {
|
|
34872
35584
|
[name: string]: unknown;
|
|
@@ -34876,9 +35588,9 @@ export interface operations {
|
|
|
34876
35588
|
/**
|
|
34877
35589
|
* @description The error code identifying the type of error.
|
|
34878
35590
|
* @example connected_account_limit_reached
|
|
34879
|
-
* @
|
|
35591
|
+
* @enum {string}
|
|
34880
35592
|
*/
|
|
34881
|
-
code: "connected_account_limit_reached";
|
|
35593
|
+
code: "connected_account_limit_reached" | "idempotency_key_conflict";
|
|
34882
35594
|
/**
|
|
34883
35595
|
* @description A human-readable description of the error.
|
|
34884
35596
|
* @example Request could not be processed.
|
|
@@ -35125,6 +35837,8 @@ export interface operations {
|
|
|
35125
35837
|
* "instance_url": "https://example.my.salesforce.com"
|
|
35126
35838
|
* },
|
|
35127
35839
|
* "state": "connected",
|
|
35840
|
+
* "established_by_user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
35841
|
+
* "state_reason": null,
|
|
35128
35842
|
* "created_at": "2024-01-16T14:20:00.000Z",
|
|
35129
35843
|
* "updated_at": "2024-01-16T14:20:00.000Z",
|
|
35130
35844
|
* "userlandUserId": null,
|
|
@@ -35153,6 +35867,8 @@ export interface operations {
|
|
|
35153
35867
|
* "instance_url": "https://example.my.salesforce.com"
|
|
35154
35868
|
* },
|
|
35155
35869
|
* "state": "connected",
|
|
35870
|
+
* "established_by_user_id": "user_01EHZNVPK3SFK441A1RGBFSHRT",
|
|
35871
|
+
* "state_reason": null,
|
|
35156
35872
|
* "created_at": "2024-01-16T14:20:00.000Z",
|
|
35157
35873
|
* "updated_at": "2024-01-16T14:20:00.000Z",
|
|
35158
35874
|
* "userlandUserId": null,
|
|
@@ -35456,6 +36172,26 @@ export interface operations {
|
|
|
35456
36172
|
};
|
|
35457
36173
|
content?: never;
|
|
35458
36174
|
};
|
|
36175
|
+
402: {
|
|
36176
|
+
headers: {
|
|
36177
|
+
[name: string]: unknown;
|
|
36178
|
+
};
|
|
36179
|
+
content: {
|
|
36180
|
+
"application/json": {
|
|
36181
|
+
/**
|
|
36182
|
+
* @description The error code identifying the type of error.
|
|
36183
|
+
* @example production_feature_requires_billing
|
|
36184
|
+
* @constant
|
|
36185
|
+
*/
|
|
36186
|
+
code: "production_feature_requires_billing";
|
|
36187
|
+
/**
|
|
36188
|
+
* @description A human-readable description of the error.
|
|
36189
|
+
* @example Request could not be processed.
|
|
36190
|
+
*/
|
|
36191
|
+
message: string;
|
|
36192
|
+
};
|
|
36193
|
+
};
|
|
36194
|
+
};
|
|
35459
36195
|
/** @description Forbidden */
|
|
35460
36196
|
403: {
|
|
35461
36197
|
headers: {
|
|
@@ -35757,6 +36493,26 @@ export interface operations {
|
|
|
35757
36493
|
};
|
|
35758
36494
|
};
|
|
35759
36495
|
};
|
|
36496
|
+
402: {
|
|
36497
|
+
headers: {
|
|
36498
|
+
[name: string]: unknown;
|
|
36499
|
+
};
|
|
36500
|
+
content: {
|
|
36501
|
+
"application/json": {
|
|
36502
|
+
/**
|
|
36503
|
+
* @description The error code identifying the type of error.
|
|
36504
|
+
* @example production_feature_requires_billing
|
|
36505
|
+
* @constant
|
|
36506
|
+
*/
|
|
36507
|
+
code: "production_feature_requires_billing";
|
|
36508
|
+
/**
|
|
36509
|
+
* @description A human-readable description of the error.
|
|
36510
|
+
* @example Request could not be processed.
|
|
36511
|
+
*/
|
|
36512
|
+
message: string;
|
|
36513
|
+
};
|
|
36514
|
+
};
|
|
36515
|
+
};
|
|
35760
36516
|
/** @description Forbidden */
|
|
35761
36517
|
403: {
|
|
35762
36518
|
headers: {
|
|
@@ -35804,6 +36560,58 @@ export interface operations {
|
|
|
35804
36560
|
};
|
|
35805
36561
|
};
|
|
35806
36562
|
};
|
|
36563
|
+
PortalSessionsController_revokeLink: {
|
|
36564
|
+
parameters: {
|
|
36565
|
+
query?: never;
|
|
36566
|
+
header?: never;
|
|
36567
|
+
path?: never;
|
|
36568
|
+
cookie?: never;
|
|
36569
|
+
};
|
|
36570
|
+
requestBody: {
|
|
36571
|
+
content: {
|
|
36572
|
+
"application/json": components["schemas"]["RevokeLinkDto"];
|
|
36573
|
+
};
|
|
36574
|
+
};
|
|
36575
|
+
responses: {
|
|
36576
|
+
/** @description OK */
|
|
36577
|
+
200: {
|
|
36578
|
+
headers: {
|
|
36579
|
+
[name: string]: unknown;
|
|
36580
|
+
};
|
|
36581
|
+
content?: never;
|
|
36582
|
+
};
|
|
36583
|
+
/** @description Not Found */
|
|
36584
|
+
404: {
|
|
36585
|
+
headers: {
|
|
36586
|
+
[name: string]: unknown;
|
|
36587
|
+
};
|
|
36588
|
+
content: {
|
|
36589
|
+
"application/json": {
|
|
36590
|
+
/**
|
|
36591
|
+
* @description A human-readable description of the error.
|
|
36592
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
36593
|
+
*/
|
|
36594
|
+
message: string;
|
|
36595
|
+
};
|
|
36596
|
+
};
|
|
36597
|
+
};
|
|
36598
|
+
/** @description Unprocessable Entity */
|
|
36599
|
+
422: {
|
|
36600
|
+
headers: {
|
|
36601
|
+
[name: string]: unknown;
|
|
36602
|
+
};
|
|
36603
|
+
content: {
|
|
36604
|
+
"application/json": {
|
|
36605
|
+
/**
|
|
36606
|
+
* @description A human-readable description of the error.
|
|
36607
|
+
* @example Organization not found: 'org_01EHQMYV6MBK39QC5PZXHY59C3'.
|
|
36608
|
+
*/
|
|
36609
|
+
message: string;
|
|
36610
|
+
};
|
|
36611
|
+
};
|
|
36612
|
+
};
|
|
36613
|
+
};
|
|
36614
|
+
};
|
|
35807
36615
|
RadarStandaloneController_assess: {
|
|
35808
36616
|
parameters: {
|
|
35809
36617
|
query?: never;
|
|
@@ -35875,6 +36683,26 @@ export interface operations {
|
|
|
35875
36683
|
};
|
|
35876
36684
|
};
|
|
35877
36685
|
};
|
|
36686
|
+
402: {
|
|
36687
|
+
headers: {
|
|
36688
|
+
[name: string]: unknown;
|
|
36689
|
+
};
|
|
36690
|
+
content: {
|
|
36691
|
+
"application/json": {
|
|
36692
|
+
/**
|
|
36693
|
+
* @description The error code identifying the type of error.
|
|
36694
|
+
* @example production_feature_requires_billing
|
|
36695
|
+
* @constant
|
|
36696
|
+
*/
|
|
36697
|
+
code: "production_feature_requires_billing";
|
|
36698
|
+
/**
|
|
36699
|
+
* @description A human-readable description of the error.
|
|
36700
|
+
* @example Request could not be processed.
|
|
36701
|
+
*/
|
|
36702
|
+
message: string;
|
|
36703
|
+
};
|
|
36704
|
+
};
|
|
36705
|
+
};
|
|
35878
36706
|
};
|
|
35879
36707
|
};
|
|
35880
36708
|
RadarStandaloneController_updateRadarAttempt: {
|
|
@@ -35928,6 +36756,26 @@ export interface operations {
|
|
|
35928
36756
|
};
|
|
35929
36757
|
};
|
|
35930
36758
|
};
|
|
36759
|
+
402: {
|
|
36760
|
+
headers: {
|
|
36761
|
+
[name: string]: unknown;
|
|
36762
|
+
};
|
|
36763
|
+
content: {
|
|
36764
|
+
"application/json": {
|
|
36765
|
+
/**
|
|
36766
|
+
* @description The error code identifying the type of error.
|
|
36767
|
+
* @example production_feature_requires_billing
|
|
36768
|
+
* @constant
|
|
36769
|
+
*/
|
|
36770
|
+
code: "production_feature_requires_billing";
|
|
36771
|
+
/**
|
|
36772
|
+
* @description A human-readable description of the error.
|
|
36773
|
+
* @example Request could not be processed.
|
|
36774
|
+
*/
|
|
36775
|
+
message: string;
|
|
36776
|
+
};
|
|
36777
|
+
};
|
|
36778
|
+
};
|
|
35931
36779
|
/** @description Not Found */
|
|
35932
36780
|
404: {
|
|
35933
36781
|
headers: {
|
|
@@ -36007,6 +36855,26 @@ export interface operations {
|
|
|
36007
36855
|
};
|
|
36008
36856
|
};
|
|
36009
36857
|
};
|
|
36858
|
+
402: {
|
|
36859
|
+
headers: {
|
|
36860
|
+
[name: string]: unknown;
|
|
36861
|
+
};
|
|
36862
|
+
content: {
|
|
36863
|
+
"application/json": {
|
|
36864
|
+
/**
|
|
36865
|
+
* @description The error code identifying the type of error.
|
|
36866
|
+
* @example production_feature_requires_billing
|
|
36867
|
+
* @constant
|
|
36868
|
+
*/
|
|
36869
|
+
code: "production_feature_requires_billing";
|
|
36870
|
+
/**
|
|
36871
|
+
* @description A human-readable description of the error.
|
|
36872
|
+
* @example Request could not be processed.
|
|
36873
|
+
*/
|
|
36874
|
+
message: string;
|
|
36875
|
+
};
|
|
36876
|
+
};
|
|
36877
|
+
};
|
|
36010
36878
|
};
|
|
36011
36879
|
};
|
|
36012
36880
|
RadarStandaloneController_deleteRadarListEntry: {
|
|
@@ -37547,6 +38415,18 @@ export interface operations {
|
|
|
37547
38415
|
* @example Request could not be processed.
|
|
37548
38416
|
*/
|
|
37549
38417
|
message: string;
|
|
38418
|
+
} | {
|
|
38419
|
+
/**
|
|
38420
|
+
* @description The error code identifying the type of error.
|
|
38421
|
+
* @example policy_denied
|
|
38422
|
+
* @constant
|
|
38423
|
+
*/
|
|
38424
|
+
code: "policy_denied";
|
|
38425
|
+
/**
|
|
38426
|
+
* @description A human-readable description of the error.
|
|
38427
|
+
* @example Request could not be processed.
|
|
38428
|
+
*/
|
|
38429
|
+
message: string;
|
|
37550
38430
|
};
|
|
37551
38431
|
};
|
|
37552
38432
|
};
|
|
@@ -38324,6 +39204,26 @@ export interface operations {
|
|
|
38324
39204
|
};
|
|
38325
39205
|
};
|
|
38326
39206
|
};
|
|
39207
|
+
402: {
|
|
39208
|
+
headers: {
|
|
39209
|
+
[name: string]: unknown;
|
|
39210
|
+
};
|
|
39211
|
+
content: {
|
|
39212
|
+
"application/json": {
|
|
39213
|
+
/**
|
|
39214
|
+
* @description The error code identifying the type of error.
|
|
39215
|
+
* @example production_feature_requires_billing
|
|
39216
|
+
* @constant
|
|
39217
|
+
*/
|
|
39218
|
+
code: "production_feature_requires_billing";
|
|
39219
|
+
/**
|
|
39220
|
+
* @description A human-readable description of the error.
|
|
39221
|
+
* @example Request could not be processed.
|
|
39222
|
+
*/
|
|
39223
|
+
message: string;
|
|
39224
|
+
};
|
|
39225
|
+
};
|
|
39226
|
+
};
|
|
38327
39227
|
/** @description Not Found */
|
|
38328
39228
|
404: {
|
|
38329
39229
|
headers: {
|
|
@@ -38646,6 +39546,26 @@ export interface operations {
|
|
|
38646
39546
|
};
|
|
38647
39547
|
};
|
|
38648
39548
|
};
|
|
39549
|
+
402: {
|
|
39550
|
+
headers: {
|
|
39551
|
+
[name: string]: unknown;
|
|
39552
|
+
};
|
|
39553
|
+
content: {
|
|
39554
|
+
"application/json": {
|
|
39555
|
+
/**
|
|
39556
|
+
* @description The error code identifying the type of error.
|
|
39557
|
+
* @example production_feature_requires_billing
|
|
39558
|
+
* @constant
|
|
39559
|
+
*/
|
|
39560
|
+
code: "production_feature_requires_billing";
|
|
39561
|
+
/**
|
|
39562
|
+
* @description A human-readable description of the error.
|
|
39563
|
+
* @example Request could not be processed.
|
|
39564
|
+
*/
|
|
39565
|
+
message: string;
|
|
39566
|
+
};
|
|
39567
|
+
};
|
|
39568
|
+
};
|
|
38649
39569
|
/** @description Not Found */
|
|
38650
39570
|
404: {
|
|
38651
39571
|
headers: {
|
|
@@ -38976,6 +39896,27 @@ export interface operations {
|
|
|
38976
39896
|
};
|
|
38977
39897
|
};
|
|
38978
39898
|
};
|
|
39899
|
+
/** @description Forbidden */
|
|
39900
|
+
403: {
|
|
39901
|
+
headers: {
|
|
39902
|
+
[name: string]: unknown;
|
|
39903
|
+
};
|
|
39904
|
+
content: {
|
|
39905
|
+
"application/json": {
|
|
39906
|
+
/**
|
|
39907
|
+
* @description The error code identifying the type of error.
|
|
39908
|
+
* @example policy_denied
|
|
39909
|
+
* @constant
|
|
39910
|
+
*/
|
|
39911
|
+
code: "policy_denied";
|
|
39912
|
+
/**
|
|
39913
|
+
* @description A human-readable description of the error.
|
|
39914
|
+
* @example Request could not be processed.
|
|
39915
|
+
*/
|
|
39916
|
+
message: string;
|
|
39917
|
+
};
|
|
39918
|
+
};
|
|
39919
|
+
};
|
|
38979
39920
|
/** @description Unprocessable Entity */
|
|
38980
39921
|
422: {
|
|
38981
39922
|
headers: {
|
|
@@ -40666,6 +41607,27 @@ export interface operations {
|
|
|
40666
41607
|
};
|
|
40667
41608
|
};
|
|
40668
41609
|
};
|
|
41610
|
+
/** @description Forbidden */
|
|
41611
|
+
403: {
|
|
41612
|
+
headers: {
|
|
41613
|
+
[name: string]: unknown;
|
|
41614
|
+
};
|
|
41615
|
+
content: {
|
|
41616
|
+
"application/json": {
|
|
41617
|
+
/**
|
|
41618
|
+
* @description The error code identifying the type of error.
|
|
41619
|
+
* @example policy_denied
|
|
41620
|
+
* @constant
|
|
41621
|
+
*/
|
|
41622
|
+
code: "policy_denied";
|
|
41623
|
+
/**
|
|
41624
|
+
* @description A human-readable description of the error.
|
|
41625
|
+
* @example Request could not be processed.
|
|
41626
|
+
*/
|
|
41627
|
+
message: string;
|
|
41628
|
+
};
|
|
41629
|
+
};
|
|
41630
|
+
};
|
|
40669
41631
|
/** @description Not Found */
|
|
40670
41632
|
404: {
|
|
40671
41633
|
headers: {
|
|
@@ -42400,7 +43362,10 @@ export interface operations {
|
|
|
42400
43362
|
/** @description An [Organization](/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
|
|
42401
43363
|
organization_id?: string;
|
|
42402
43364
|
};
|
|
42403
|
-
header?:
|
|
43365
|
+
header?: {
|
|
43366
|
+
/** @description Makes retries of this explicit add return the connection the first attempt created instead of creating another. Reuse the same key for every retry of one request. A matching retry within 24 hours returns the existing connection; reusing the key for a different owner, integration, or authentication method, or after 24 hours while that connection exists, returns 409 `idempotency_key_conflict`. If that connection was deleted, the key creates a new one. Requests without a key are not retry-safe. */
|
|
43367
|
+
"idempotency-key"?: string;
|
|
43368
|
+
};
|
|
42404
43369
|
path: {
|
|
42405
43370
|
/** @description A [User](/reference/authkit/user) identifier. */
|
|
42406
43371
|
user_id: string;
|
|
@@ -42458,7 +43423,7 @@ export interface operations {
|
|
|
42458
43423
|
};
|
|
42459
43424
|
};
|
|
42460
43425
|
};
|
|
42461
|
-
/** @description The compatibility connection already exists for this user, integration, and organization,
|
|
43426
|
+
/** @description The compatibility connection already exists for this user, integration, and organization, `connected_account_limit_reached` when `connection_intent: add` would create a standard connection and the owner already has 25 connections, or `idempotency_key_conflict` when the `Idempotency-Key` was already used for a different connection request or its replay window has passed. */
|
|
42462
43427
|
409: {
|
|
42463
43428
|
headers: {
|
|
42464
43429
|
[name: string]: unknown;
|
|
@@ -42468,9 +43433,9 @@ export interface operations {
|
|
|
42468
43433
|
/**
|
|
42469
43434
|
* @description The error code identifying the type of error.
|
|
42470
43435
|
* @example connected_account_limit_reached
|
|
42471
|
-
* @
|
|
43436
|
+
* @enum {string}
|
|
42472
43437
|
*/
|
|
42473
|
-
code: "connected_account_limit_reached";
|
|
43438
|
+
code: "connected_account_limit_reached" | "idempotency_key_conflict";
|
|
42474
43439
|
/**
|
|
42475
43440
|
* @description A human-readable description of the error.
|
|
42476
43441
|
* @example Request could not be processed.
|
|
@@ -42901,6 +43866,26 @@ export interface operations {
|
|
|
42901
43866
|
};
|
|
42902
43867
|
};
|
|
42903
43868
|
};
|
|
43869
|
+
402: {
|
|
43870
|
+
headers: {
|
|
43871
|
+
[name: string]: unknown;
|
|
43872
|
+
};
|
|
43873
|
+
content: {
|
|
43874
|
+
"application/json": {
|
|
43875
|
+
/**
|
|
43876
|
+
* @description The error code identifying the type of error.
|
|
43877
|
+
* @example production_feature_requires_billing
|
|
43878
|
+
* @constant
|
|
43879
|
+
*/
|
|
43880
|
+
code: "production_feature_requires_billing";
|
|
43881
|
+
/**
|
|
43882
|
+
* @description A human-readable description of the error.
|
|
43883
|
+
* @example Request could not be processed.
|
|
43884
|
+
*/
|
|
43885
|
+
message: string;
|
|
43886
|
+
};
|
|
43887
|
+
};
|
|
43888
|
+
};
|
|
42904
43889
|
/** @description Not Found */
|
|
42905
43890
|
404: {
|
|
42906
43891
|
headers: {
|