@workos/openapi-spec 0.15.0 → 0.16.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 +1830 -608
- package/dist/services.d.mts +1 -1
- package/dist/services.mjs +30 -0
- package/dist/types.d.ts +1292 -259
- package/package.json +2 -2
package/dist/services.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/policy/services.generated.d.ts
|
|
2
|
-
declare const services: readonly ["AdminPortal", "ApiKeys", "AuditLogs", "Authorization", "ClientApi", "Connect", "DirectorySync", "Events", "FeatureFlags", "Groups", "MultiFactorAuth", "OrganizationDomains", "OrganizationMembership", "Organizations", "Pipes", "PipesProvider", "Radar", "SSO", "UserManagement", "Vault", "Webhooks", "Widgets"];
|
|
2
|
+
declare const services: readonly ["AdminPortal", "Agents", "ApiKeys", "AuditLogs", "Authorization", "ClientApi", "Connect", "DirectorySync", "Events", "FeatureFlags", "Groups", "MultiFactorAuth", "OrganizationDomains", "OrganizationMembership", "Organizations", "Pipes", "PipesProvider", "Radar", "SSO", "UserManagement", "Vault", "Webhooks", "Widgets"];
|
|
3
3
|
type ServiceName = (typeof services)[number];
|
|
4
4
|
interface ServiceEndpoint {
|
|
5
5
|
method: string;
|
package/dist/services.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
//#region src/policy/services.generated.ts
|
|
2
2
|
const services = [
|
|
3
3
|
"AdminPortal",
|
|
4
|
+
"Agents",
|
|
4
5
|
"ApiKeys",
|
|
5
6
|
"AuditLogs",
|
|
6
7
|
"Authorization",
|
|
@@ -29,6 +30,15 @@ const serviceEndpoints = {
|
|
|
29
30
|
"path": "/portal/generate_link",
|
|
30
31
|
"name": "generate_link"
|
|
31
32
|
}],
|
|
33
|
+
"Agents": [{
|
|
34
|
+
"method": "POST",
|
|
35
|
+
"path": "/agents/credentials/validate",
|
|
36
|
+
"name": "create_validate"
|
|
37
|
+
}, {
|
|
38
|
+
"method": "GET",
|
|
39
|
+
"path": "/agents/registrations/{id}",
|
|
40
|
+
"name": "get_registration"
|
|
41
|
+
}],
|
|
32
42
|
"ApiKeys": [
|
|
33
43
|
{
|
|
34
44
|
"method": "DELETE",
|
|
@@ -647,11 +657,21 @@ const serviceEndpoints = {
|
|
|
647
657
|
"path": "/data-integrations/{provider}/token",
|
|
648
658
|
"name": "get_access_token"
|
|
649
659
|
},
|
|
660
|
+
{
|
|
661
|
+
"method": "PUT",
|
|
662
|
+
"path": "/data-integrations/{slug}/api-key",
|
|
663
|
+
"name": "update_data_integration_api_key"
|
|
664
|
+
},
|
|
650
665
|
{
|
|
651
666
|
"method": "POST",
|
|
652
667
|
"path": "/data-integrations/{slug}/authorize",
|
|
653
668
|
"name": "authorize_data_integration"
|
|
654
669
|
},
|
|
670
|
+
{
|
|
671
|
+
"method": "POST",
|
|
672
|
+
"path": "/data-integrations/{slug}/credentials",
|
|
673
|
+
"name": "create_data_integration_credential"
|
|
674
|
+
},
|
|
655
675
|
{
|
|
656
676
|
"method": "DELETE",
|
|
657
677
|
"path": "/user_management/users/{user_id}/connected_accounts/{slug}",
|
|
@@ -762,6 +782,11 @@ const serviceEndpoints = {
|
|
|
762
782
|
"path": "/user_management/authorize/device",
|
|
763
783
|
"name": "create_device"
|
|
764
784
|
},
|
|
785
|
+
{
|
|
786
|
+
"method": "GET",
|
|
787
|
+
"path": "/user_management/cors_origins",
|
|
788
|
+
"name": "list_cors_origins"
|
|
789
|
+
},
|
|
765
790
|
{
|
|
766
791
|
"method": "POST",
|
|
767
792
|
"path": "/user_management/cors_origins",
|
|
@@ -842,6 +867,11 @@ const serviceEndpoints = {
|
|
|
842
867
|
"path": "/user_management/password_reset/confirm",
|
|
843
868
|
"name": "confirm_password_reset"
|
|
844
869
|
},
|
|
870
|
+
{
|
|
871
|
+
"method": "GET",
|
|
872
|
+
"path": "/user_management/redirect_uris",
|
|
873
|
+
"name": "list_redirect_uris"
|
|
874
|
+
},
|
|
845
875
|
{
|
|
846
876
|
"method": "POST",
|
|
847
877
|
"path": "/user_management/redirect_uris",
|