@workos/openapi-spec 0.62.0 → 0.64.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/policy.mjs CHANGED
@@ -38,6 +38,11 @@ const operationHints = {
38
38
  "GET /organizations/{organizationId}/feature-flags": { name: "list_organization_feature_flags" },
39
39
  "GET /user_management/users/{userId}/feature-flags": { name: "list_user_feature_flags" },
40
40
  "GET /organizations/{organization_id}/authorized_applications": { name: "list_authorized_applications" },
41
+ "GET /organizations/{organization_id}/it_contacts": { name: "list_it_contacts" },
42
+ "POST /organizations/{organization_id}/it_contacts": { name: "create_it_contact" },
43
+ "DELETE /organizations/{organization_id}/it_contacts/{contact_id}": { name: "delete_it_contact" },
44
+ "POST /organizations/{organization_id}/it_contacts/{contact_id}/invite": { name: "invite_it_contact" },
45
+ "POST /organizations/{organization_id}/it_contacts/{contact_id}/revoke": { name: "revoke_it_contact" },
41
46
  "GET /organizations/external_id/{external_id}": { name: "get_organization_by_external_id" },
42
47
  "GET /user_management/users/external_id/{external_id}": { name: "get_user_by_external_id" },
43
48
  "GET /authorization/roles": { name: "list_environment_roles" },
@@ -347,8 +352,10 @@ const mountRules = {
347
352
  FeatureFlagsTargets: "FeatureFlags",
348
353
  OrganizationsFeatureFlags: "FeatureFlags",
349
354
  UserManagementUsersFeatureFlags: "FeatureFlags",
355
+ FeatureFlagsTargetTypes: "FlagTargetTypes",
350
356
  OrganizationsApiKeys: "ApiKeys",
351
357
  OrganizationsAuthorizedApplications: "Organizations",
358
+ OrganizationsItContacts: "Organizations",
352
359
  "UserManagement*": "UserManagement",
353
360
  "UserManagementOrganizationMembership*": "OrganizationMembership",
354
361
  UserManagementDataProviders: "Pipes",
@@ -1,5 +1,5 @@
1
1
  //#region src/policy/services.generated.d.ts
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"];
2
+ 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
  type ServiceName = (typeof services)[number];
4
4
  interface ServiceEndpoint {
5
5
  method: string;
package/dist/services.mjs CHANGED
@@ -17,6 +17,7 @@ const services = [
17
17
  "Organizations",
18
18
  "Pipes",
19
19
  "PipesProvider",
20
+ "PlatformTeams",
20
21
  "Radar",
21
22
  "SSO",
22
23
  "UserManagement",
@@ -658,6 +659,31 @@ const serviceEndpoints = {
658
659
  "path": "/organizations/{organization_id}/authorized_applications",
659
660
  "name": "list_authorized_applications"
660
661
  },
662
+ {
663
+ "method": "GET",
664
+ "path": "/organizations/{organization_id}/it_contacts",
665
+ "name": "list_it_contacts"
666
+ },
667
+ {
668
+ "method": "POST",
669
+ "path": "/organizations/{organization_id}/it_contacts",
670
+ "name": "create_it_contact"
671
+ },
672
+ {
673
+ "method": "DELETE",
674
+ "path": "/organizations/{organization_id}/it_contacts/{contact_id}",
675
+ "name": "delete_it_contact"
676
+ },
677
+ {
678
+ "method": "POST",
679
+ "path": "/organizations/{organization_id}/it_contacts/{contact_id}/invite",
680
+ "name": "invite_it_contact"
681
+ },
682
+ {
683
+ "method": "POST",
684
+ "path": "/organizations/{organization_id}/it_contacts/{contact_id}/revoke",
685
+ "name": "revoke_it_contact"
686
+ },
661
687
  {
662
688
  "method": "GET",
663
689
  "path": "/organizations/external_id/{external_id}",
@@ -750,6 +776,15 @@ const serviceEndpoints = {
750
776
  "path": "/organizations/{organizationId}/data_integration_configurations/{slug}",
751
777
  "name": "update_organization_data_integration_configuration"
752
778
  }],
779
+ "PlatformTeams": [{
780
+ "method": "POST",
781
+ "path": "/platform/teams",
782
+ "name": "create_team"
783
+ }, {
784
+ "method": "GET",
785
+ "path": "/platform/teams/{team_id}",
786
+ "name": "get_team"
787
+ }],
753
788
  "Radar": [
754
789
  {
755
790
  "method": "POST",
@@ -1034,6 +1069,41 @@ const serviceEndpoints = {
1034
1069
  "method": "GET",
1035
1070
  "path": "/user_management/users/external_id/{external_id}",
1036
1071
  "name": "get_user_by_external_id"
1072
+ },
1073
+ {
1074
+ "method": "DELETE",
1075
+ "path": "/user_management/waitlist_entries/{id}",
1076
+ "name": "delete_waitlist_entry"
1077
+ },
1078
+ {
1079
+ "method": "POST",
1080
+ "path": "/user_management/waitlist_entries/{id}/approve",
1081
+ "name": "create_waitlist_entry_approve"
1082
+ },
1083
+ {
1084
+ "method": "POST",
1085
+ "path": "/user_management/waitlist_entries/{id}/deny",
1086
+ "name": "create_waitlist_entry_deny"
1087
+ },
1088
+ {
1089
+ "method": "GET",
1090
+ "path": "/user_management/waitlists",
1091
+ "name": "list_waitlists"
1092
+ },
1093
+ {
1094
+ "method": "GET",
1095
+ "path": "/user_management/waitlists/{id}",
1096
+ "name": "get_waitlist"
1097
+ },
1098
+ {
1099
+ "method": "GET",
1100
+ "path": "/user_management/waitlists/{id}/entries",
1101
+ "name": "list_waitlist_entries"
1102
+ },
1103
+ {
1104
+ "method": "POST",
1105
+ "path": "/user_management/waitlists/{id}/entries",
1106
+ "name": "create_waitlist_entry"
1037
1107
  }
1038
1108
  ],
1039
1109
  "Vault": [
@@ -1134,6 +1204,7 @@ const serviceAliases = {
1134
1204
  "OrganizationsApiKeys": "ApiKeys",
1135
1205
  "OrganizationsAuthorizedApplications": "Organizations",
1136
1206
  "OrganizationsFeatureFlags": "FeatureFlags",
1207
+ "OrganizationsItContacts": "Organizations",
1137
1208
  "Permissions": "Authorization",
1138
1209
  "UserManagementAuthentication": "UserManagement",
1139
1210
  "UserManagementCorsOrigins": "UserManagement",
@@ -1149,6 +1220,7 @@ const serviceAliases = {
1149
1220
  "UserManagementUsers": "UserManagement",
1150
1221
  "UserManagementUsersAuthorizedApplications": "UserManagement",
1151
1222
  "UserManagementUsersFeatureFlags": "FeatureFlags",
1223
+ "UserManagementWaitlists": "UserManagement",
1152
1224
  "WorkosConnect": "Connect"
1153
1225
  };
1154
1226
  //#endregion