@workos/openapi-spec 0.57.0 → 0.58.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.
@@ -21184,12 +21184,16 @@ components:
21184
21184
  authorization_url:
21185
21185
  type: string
21186
21186
  format: uri
21187
- description: The provider's OAuth authorization endpoint.
21187
+ description: >-
21188
+ The provider's OAuth authorization endpoint. Required for OAuth
21189
+ providers; omit for `api_key` providers.
21188
21190
  example: https://provider.example.com/oauth/authorize
21189
21191
  token_url:
21190
21192
  type: string
21191
21193
  format: uri
21192
- description: The provider's OAuth token endpoint.
21194
+ description: >-
21195
+ The provider's OAuth token endpoint. Required for OAuth providers;
21196
+ omit for `api_key` providers.
21193
21197
  example: https://provider.example.com/oauth/token
21194
21198
  refresh_token_url:
21195
21199
  type:
@@ -21246,8 +21250,6 @@ components:
21246
21250
  example: request_body
21247
21251
  required:
21248
21252
  - name
21249
- - authorization_url
21250
- - token_url
21251
21253
  CreateDataIntegrationDto:
21252
21254
  type: object
21253
21255
  properties:
package/dist/types.d.ts CHANGED
@@ -4260,16 +4260,16 @@ export interface components {
4260
4260
  name: string;
4261
4261
  /**
4262
4262
  * Format: uri
4263
- * @description The provider's OAuth authorization endpoint.
4263
+ * @description The provider's OAuth authorization endpoint. Required for OAuth providers; omit for `api_key` providers.
4264
4264
  * @example https://provider.example.com/oauth/authorize
4265
4265
  */
4266
- authorization_url: string;
4266
+ authorization_url?: string;
4267
4267
  /**
4268
4268
  * Format: uri
4269
- * @description The provider's OAuth token endpoint.
4269
+ * @description The provider's OAuth token endpoint. Required for OAuth providers; omit for `api_key` providers.
4270
4270
  * @example https://provider.example.com/oauth/token
4271
4271
  */
4272
- token_url: string;
4272
+ token_url?: string;
4273
4273
  /**
4274
4274
  * Format: uri
4275
4275
  * @description The endpoint used to refresh tokens, if different from the token endpoint.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.57.0",
3
+ "version": "0.58.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",