@workos/openapi-spec 0.161.0 → 0.162.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
@@ -1,3 +1,22 @@
1
+ /**
2
+ * Consumer-owned resolution policy for the WorkOS OpenAPI spec.
3
+ *
4
+ * Single source of truth for the policy that determines what the generated
5
+ * SDKs (and any other downstream consumer of the resolved IR — docs
6
+ * snippets, postman collections, etc.) look like. The spec repo's own
7
+ * `oagen.config.ts` consumes this barrel to drive `npx oagen generate`;
8
+ * the WorkOS docs build consumes it via `@workos/openapi-spec/policy` so
9
+ * the snippet emitters produce method names, mount targets, and parameter
10
+ * shapes that match the real SDKs.
11
+ *
12
+ * Adding or changing a hint here changes what every consumer sees on the
13
+ * next release of `@workos/openapi-spec`.
14
+ *
15
+ * The generated post-mount service roster is published separately as
16
+ * `@workos/openapi-spec/services` (see tsdown.config.ts) — it is intentionally
17
+ * NOT re-exported here, because this barrel is loaded by oagen.config.ts during
18
+ * `generate:services` itself, before the roster file exists.
19
+ */
1
20
  /**
2
21
  * Vendored type definitions for the policy module.
3
22
  *
package/dist/services.mjs CHANGED
@@ -481,6 +481,26 @@ const serviceEndpoints = {
481
481
  "path": "/directories",
482
482
  "name": "list_directories"
483
483
  },
484
+ {
485
+ "method": "GET",
486
+ "path": "/directories/{directoryId}/groups",
487
+ "name": "list_directory_groups"
488
+ },
489
+ {
490
+ "method": "GET",
491
+ "path": "/directories/{directoryId}/groups/{groupId}",
492
+ "name": "get_directory_group"
493
+ },
494
+ {
495
+ "method": "GET",
496
+ "path": "/directories/{directoryId}/users",
497
+ "name": "list_directory_users"
498
+ },
499
+ {
500
+ "method": "GET",
501
+ "path": "/directories/{directoryId}/users/{userId}",
502
+ "name": "get_directory_user"
503
+ },
484
504
  {
485
505
  "method": "DELETE",
486
506
  "path": "/directories/{id}",