@workos/openapi-spec 0.99.0 → 0.101.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 +19 -0
- package/dist/policy.mjs +1 -0
- package/dist/services.d.mts +1 -1
- package/dist/services.mjs +26 -28
- package/dist/types.d.ts +17 -0
- package/package.json +2 -2
package/dist/open-api-spec.yaml
CHANGED
|
@@ -3003,6 +3003,25 @@ paths:
|
|
|
3003
3003
|
application/json:
|
|
3004
3004
|
schema:
|
|
3005
3005
|
oneOf:
|
|
3006
|
+
- type: object
|
|
3007
|
+
properties:
|
|
3008
|
+
code:
|
|
3009
|
+
type: string
|
|
3010
|
+
description: The error code identifying the type of error.
|
|
3011
|
+
example: rate_limit_exceeded
|
|
3012
|
+
const: rate_limit_exceeded
|
|
3013
|
+
message:
|
|
3014
|
+
type: string
|
|
3015
|
+
description: A human-readable description of the error.
|
|
3016
|
+
example: Request could not be processed.
|
|
3017
|
+
retry_after:
|
|
3018
|
+
type: number
|
|
3019
|
+
description: Seconds to wait before retrying.
|
|
3020
|
+
example: 60
|
|
3021
|
+
required:
|
|
3022
|
+
- code
|
|
3023
|
+
- message
|
|
3024
|
+
- retry_after
|
|
3006
3025
|
- type: object
|
|
3007
3026
|
properties:
|
|
3008
3027
|
code:
|
package/dist/policy.mjs
CHANGED
|
@@ -360,6 +360,7 @@ const mountRules = {
|
|
|
360
360
|
OrganizationsItContacts: "Organizations",
|
|
361
361
|
"UserManagement*": "UserManagement",
|
|
362
362
|
"UserManagementOrganizationMembership*": "OrganizationMembership",
|
|
363
|
+
OrganizationsDataProviders: "Pipes",
|
|
363
364
|
UserManagementDataProviders: "Pipes",
|
|
364
365
|
UserManagementMultiFactorAuthentication: "MultiFactorAuth"
|
|
365
366
|
};
|
package/dist/services.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/policy/services.generated.d.ts
|
|
2
|
-
export declare const services: readonly ["AdminPortal", "Agents", "ApiKeys", "AuditLogs", "Authorization", "ClientApi", "Connect", "DirectorySync", "Events", "FeatureFlags", "Groups", "MultiFactorAuth", "OrganizationDomains", "OrganizationMembership", "Organizations", "
|
|
2
|
+
export declare const services: readonly ["AdminPortal", "Agents", "ApiKeys", "AuditLogs", "Authorization", "ClientApi", "Connect", "DirectorySync", "Events", "FeatureFlags", "Groups", "MultiFactorAuth", "OrganizationDomains", "OrganizationMembership", "Organizations", "Pipes", "PipesProvider", "PlatformTeams", "Radar", "SSO", "UserManagement", "Vault", "Webhooks", "Widgets"];
|
|
3
3
|
export type ServiceName = (typeof services)[number];
|
|
4
4
|
export interface ServiceEndpoint {
|
|
5
5
|
method: string;
|
package/dist/services.mjs
CHANGED
|
@@ -15,7 +15,6 @@ const services = [
|
|
|
15
15
|
"OrganizationDomains",
|
|
16
16
|
"OrganizationMembership",
|
|
17
17
|
"Organizations",
|
|
18
|
-
"OrganizationsDataProviders",
|
|
19
18
|
"Pipes",
|
|
20
19
|
"PipesProvider",
|
|
21
20
|
"PlatformTeams",
|
|
@@ -756,33 +755,6 @@ const serviceEndpoints = {
|
|
|
756
755
|
"name": "get_organization_by_external_id"
|
|
757
756
|
}
|
|
758
757
|
],
|
|
759
|
-
"OrganizationsDataProviders": [
|
|
760
|
-
{
|
|
761
|
-
"method": "DELETE",
|
|
762
|
-
"path": "/organizations/{organization_id}/connected_accounts/{slug}",
|
|
763
|
-
"name": "delete_organization_connected_account"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
"method": "GET",
|
|
767
|
-
"path": "/organizations/{organization_id}/connected_accounts/{slug}",
|
|
768
|
-
"name": "get_organization_connected_account"
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
"method": "POST",
|
|
772
|
-
"path": "/organizations/{organization_id}/connected_accounts/{slug}",
|
|
773
|
-
"name": "create_organization_connected_account"
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
"method": "PUT",
|
|
777
|
-
"path": "/organizations/{organization_id}/connected_accounts/{slug}",
|
|
778
|
-
"name": "update_organization_connected_account"
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"method": "GET",
|
|
782
|
-
"path": "/organizations/{organization_id}/data_providers",
|
|
783
|
-
"name": "list_organization_data_providers"
|
|
784
|
-
}
|
|
785
|
-
],
|
|
786
758
|
"Pipes": [
|
|
787
759
|
{
|
|
788
760
|
"method": "GET",
|
|
@@ -849,6 +821,31 @@ const serviceEndpoints = {
|
|
|
849
821
|
"path": "/data-integrations/{slug}/organization",
|
|
850
822
|
"name": "update_data_integration_organization"
|
|
851
823
|
},
|
|
824
|
+
{
|
|
825
|
+
"method": "DELETE",
|
|
826
|
+
"path": "/organizations/{organization_id}/connected_accounts/{slug}",
|
|
827
|
+
"name": "delete_organization_connected_account"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"method": "GET",
|
|
831
|
+
"path": "/organizations/{organization_id}/connected_accounts/{slug}",
|
|
832
|
+
"name": "get_organization_connected_account"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"method": "POST",
|
|
836
|
+
"path": "/organizations/{organization_id}/connected_accounts/{slug}",
|
|
837
|
+
"name": "create_organization_connected_account"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"method": "PUT",
|
|
841
|
+
"path": "/organizations/{organization_id}/connected_accounts/{slug}",
|
|
842
|
+
"name": "update_organization_connected_account"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"method": "GET",
|
|
846
|
+
"path": "/organizations/{organization_id}/data_providers",
|
|
847
|
+
"name": "list_organization_data_providers"
|
|
848
|
+
},
|
|
852
849
|
{
|
|
853
850
|
"method": "DELETE",
|
|
854
851
|
"path": "/user_management/users/{user_id}/connected_accounts/{slug}",
|
|
@@ -1386,6 +1383,7 @@ const serviceAliases = {
|
|
|
1386
1383
|
"MultiFactorAuthChallenges": "MultiFactorAuth",
|
|
1387
1384
|
"OrganizationsApiKeys": "ApiKeys",
|
|
1388
1385
|
"OrganizationsAuthorizedApplications": "Organizations",
|
|
1386
|
+
"OrganizationsDataProviders": "Pipes",
|
|
1389
1387
|
"OrganizationsFeatureFlags": "FeatureFlags",
|
|
1390
1388
|
"OrganizationsItContacts": "Organizations",
|
|
1391
1389
|
"Permissions": "Authorization",
|
package/dist/types.d.ts
CHANGED
|
@@ -22563,6 +22563,23 @@ export interface operations {
|
|
|
22563
22563
|
};
|
|
22564
22564
|
content: {
|
|
22565
22565
|
"application/json": {
|
|
22566
|
+
/**
|
|
22567
|
+
* @description The error code identifying the type of error.
|
|
22568
|
+
* @example rate_limit_exceeded
|
|
22569
|
+
* @constant
|
|
22570
|
+
*/
|
|
22571
|
+
code: "rate_limit_exceeded";
|
|
22572
|
+
/**
|
|
22573
|
+
* @description A human-readable description of the error.
|
|
22574
|
+
* @example Request could not be processed.
|
|
22575
|
+
*/
|
|
22576
|
+
message: string;
|
|
22577
|
+
/**
|
|
22578
|
+
* @description Seconds to wait before retrying.
|
|
22579
|
+
* @example 60
|
|
22580
|
+
*/
|
|
22581
|
+
retry_after: number;
|
|
22582
|
+
} | {
|
|
22566
22583
|
/**
|
|
22567
22584
|
* @description The error code identifying the type of error.
|
|
22568
22585
|
* @example sms_challenge_rate_limited
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workos/openapi-spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.101.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/node": "^26.6.0",
|
|
60
60
|
"@workos/oagen": "^0.30.2",
|
|
61
|
-
"@workos/oagen-emitters": "^0.24.
|
|
61
|
+
"@workos/oagen-emitters": "^0.24.15",
|
|
62
62
|
"diff2html": "^3.4.56",
|
|
63
63
|
"husky": "^9.1.7",
|
|
64
64
|
"js-yaml": "^5.4.2",
|