@cxtms/cx-schema 1.5.10 → 1.6.1

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.
@@ -34,25 +34,39 @@
34
34
  },
35
35
  "inputs": {
36
36
  "type": "object",
37
- "description": "Authentication operation inputs",
37
+ "description": "OAuth2 authentication inputs",
38
38
  "properties": {
39
- "provider": {
40
- "type": "string",
41
- "description": "OAuth2 provider name"
42
- },
43
- "clientId": {
44
- "type": "string",
45
- "description": "OAuth2 client ID"
46
- },
47
- "clientSecret": {
48
- "type": "string",
49
- "description": "OAuth2 client secret"
39
+ "credentials": {
40
+ "type": "object",
41
+ "description": "OAuth2 credentials object (e.g., grant_type, client_id, client_secret)",
42
+ "additionalProperties": true
50
43
  },
51
44
  "tokenUrl": {
52
45
  "type": "string",
53
46
  "description": "Token endpoint URL"
47
+ },
48
+ "headers": {
49
+ "type": "array",
50
+ "description": "Optional HTTP headers for the token request",
51
+ "items": {
52
+ "type": "object",
53
+ "additionalProperties": {
54
+ "type": "string"
55
+ }
56
+ }
57
+ },
58
+ "retryOptions": {
59
+ "type": "object",
60
+ "description": "Optional retry configuration for the HTTP request",
61
+ "additionalProperties": true
62
+ },
63
+ "cache": {
64
+ "type": "boolean",
65
+ "description": "Enable token caching (default: true). Set to false to always fetch a new token.",
66
+ "default": true
54
67
  }
55
68
  },
69
+ "required": ["credentials", "tokenUrl"],
56
70
  "additionalProperties": true
57
71
  },
58
72
  "outputs": {