@workos/openapi-spec 0.33.0 → 0.34.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.d.mts CHANGED
@@ -56,6 +56,14 @@ declare const operationHints: Record<string, OperationHint>;
56
56
  * Service-level remounting. Maps IR service name → target service/namespace
57
57
  * (PascalCase). All operations in the source service are mounted on the
58
58
  * target unless overridden per-operation in {@link operationHints}.
59
+ *
60
+ * Keys may be exact service names or trailing-`*` prefix patterns
61
+ * (requires @workos/oagen >= 0.25.0). Precedence: an exact key always wins;
62
+ * among wildcards the longest prefix wins. Matching is plain `startsWith` —
63
+ * no regex. Note that a wildcard also absorbs future spec tags under its
64
+ * prefix, so review `oagen diff` output when tags are added: a new tag that
65
+ * does not belong to its prefix family (cf. UserManagementDataProviders →
66
+ * Pipes) needs its own exact entry here.
59
67
  */
60
68
  declare const mountRules: Record<string, string>;
61
69
  //#endregion
package/dist/policy.mjs CHANGED
@@ -326,6 +326,14 @@ const operationHints = {
326
326
  * Service-level remounting. Maps IR service name → target service/namespace
327
327
  * (PascalCase). All operations in the source service are mounted on the
328
328
  * target unless overridden per-operation in {@link operationHints}.
329
+ *
330
+ * Keys may be exact service names or trailing-`*` prefix patterns
331
+ * (requires @workos/oagen >= 0.25.0). Precedence: an exact key always wins;
332
+ * among wildcards the longest prefix wins. Matching is plain `startsWith` —
333
+ * no regex. Note that a wildcard also absorbs future spec tags under its
334
+ * prefix, so review `oagen diff` output when tags are added: a new tag that
335
+ * does not belong to its prefix family (cf. UserManagementDataProviders →
336
+ * Pipes) needs its own exact entry here.
329
337
  */
330
338
  const mountRules = {
331
339
  Client: "ClientApi",
@@ -335,24 +343,13 @@ const mountRules = {
335
343
  Applications: "Connect",
336
344
  ApplicationClientSecrets: "Connect",
337
345
  Connections: "SSO",
338
- Directories: "DirectorySync",
339
- DirectoryGroups: "DirectorySync",
340
- DirectoryUsers: "DirectorySync",
346
+ "Director*": "DirectorySync",
341
347
  FeatureFlagsTargets: "FeatureFlags",
342
348
  OrganizationsFeatureFlags: "FeatureFlags",
343
349
  UserManagementUsersFeatureFlags: "FeatureFlags",
344
350
  OrganizationsApiKeys: "ApiKeys",
345
- UserManagementSessionTokens: "UserManagement",
346
- UserManagementAuthentication: "UserManagement",
347
- UserManagementCorsOrigins: "UserManagement",
348
- UserManagementUsers: "UserManagement",
349
- UserManagementInvitations: "UserManagement",
350
- UserManagementJWTTemplate: "UserManagement",
351
- UserManagementMagicAuth: "UserManagement",
352
- UserManagementOrganizationMembership: "OrganizationMembership",
353
- UserManagementOrganizationMembershipGroups: "OrganizationMembership",
354
- UserManagementRedirectUris: "UserManagement",
355
- UserManagementUsersAuthorizedApplications: "UserManagement",
351
+ "UserManagement*": "UserManagement",
352
+ "UserManagementOrganizationMembership*": "OrganizationMembership",
356
353
  UserManagementDataProviders: "Pipes",
357
354
  UserManagementMultiFactorAuthentication: "MultiFactorAuth"
358
355
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "./package.json": "./package.json"
31
31
  },
32
32
  "dependencies": {
33
- "@workos/oagen": "^0.24.6"
33
+ "@workos/oagen": "^0.25.0"
34
34
  },
35
35
  "scripts": {
36
36
  "generate:services": "node scripts/generate-services.mjs",
@@ -60,8 +60,8 @@
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/js-yaml": "^4.0.9",
63
- "@types/node": "^26.1.0",
64
- "@workos/oagen-emitters": "^0.19.9",
63
+ "@types/node": "^26.1.1",
64
+ "@workos/oagen-emitters": "^0.19.10",
65
65
  "diff2html": "^3.4.56",
66
66
  "husky": "^9.1.7",
67
67
  "js-yaml": "^4.1.1",