vellum-ai 1.5.5 → 1.5.6

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.
Files changed (99) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/events/client/Client.js +1 -1
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/integrationAuthConfigs/client/Client.js +1 -1
  10. package/api/resources/integrationProviders/client/Client.js +2 -2
  11. package/api/resources/integrations/client/Client.js +4 -4
  12. package/api/resources/metricDefinitions/client/Client.js +2 -2
  13. package/api/resources/mlModels/client/Client.js +1 -1
  14. package/api/resources/organizations/client/Client.js +1 -1
  15. package/api/resources/prompts/client/Client.js +2 -2
  16. package/api/resources/sandboxes/client/Client.js +3 -3
  17. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  18. package/api/resources/testSuites/client/Client.js +4 -4
  19. package/api/resources/workflowDeployments/client/Client.js +9 -9
  20. package/api/resources/workflowExecutions/client/Client.js +1 -1
  21. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  22. package/api/resources/workflows/client/Client.js +3 -3
  23. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  24. package/api/resources/workspaces/client/Client.js +1 -1
  25. package/api/types/IntegrationAuthConfigIntegration.d.ts +9 -0
  26. package/api/types/IntegrationAuthConfigIntegration.js +5 -0
  27. package/api/types/IntegrationAuthConfigIntegrationCredential.d.ts +1 -1
  28. package/api/types/IntegrationRead.d.ts +1 -1
  29. package/api/types/SlimIntegrationAuthConfigRead.d.ts +2 -1
  30. package/api/types/SlimIntegrationRead.d.ts +1 -1
  31. package/api/types/ToolDefinitionIntegration.d.ts +1 -1
  32. package/api/types/index.d.ts +1 -0
  33. package/api/types/index.js +1 -0
  34. package/dist/Client.js +11 -11
  35. package/dist/api/resources/adHoc/client/Client.js +2 -2
  36. package/dist/api/resources/containerImages/client/Client.js +4 -4
  37. package/dist/api/resources/deployments/client/Client.js +8 -8
  38. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  39. package/dist/api/resources/documents/client/Client.js +5 -5
  40. package/dist/api/resources/events/client/Client.js +1 -1
  41. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  42. package/dist/api/resources/integrationAuthConfigs/client/Client.js +1 -1
  43. package/dist/api/resources/integrationProviders/client/Client.js +2 -2
  44. package/dist/api/resources/integrations/client/Client.js +4 -4
  45. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  46. package/dist/api/resources/mlModels/client/Client.js +1 -1
  47. package/dist/api/resources/organizations/client/Client.js +1 -1
  48. package/dist/api/resources/prompts/client/Client.js +2 -2
  49. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  50. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  51. package/dist/api/resources/testSuites/client/Client.js +4 -4
  52. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  53. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  54. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  55. package/dist/api/resources/workflows/client/Client.js +3 -3
  56. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  57. package/dist/api/resources/workspaces/client/Client.js +1 -1
  58. package/dist/api/types/IntegrationAuthConfigIntegration.d.ts +9 -0
  59. package/dist/api/types/IntegrationAuthConfigIntegration.js +5 -0
  60. package/dist/api/types/IntegrationAuthConfigIntegrationCredential.d.ts +1 -1
  61. package/dist/api/types/IntegrationRead.d.ts +1 -1
  62. package/dist/api/types/SlimIntegrationAuthConfigRead.d.ts +2 -1
  63. package/dist/api/types/SlimIntegrationRead.d.ts +1 -1
  64. package/dist/api/types/ToolDefinitionIntegration.d.ts +1 -1
  65. package/dist/api/types/index.d.ts +1 -0
  66. package/dist/api/types/index.js +1 -0
  67. package/dist/serialization/types/IntegrationAuthConfigIntegration.d.ts +16 -0
  68. package/dist/serialization/types/IntegrationAuthConfigIntegration.js +47 -0
  69. package/dist/serialization/types/IntegrationAuthConfigIntegrationCredential.d.ts +1 -1
  70. package/dist/serialization/types/IntegrationAuthConfigIntegrationCredential.js +1 -1
  71. package/dist/serialization/types/IntegrationRead.d.ts +1 -1
  72. package/dist/serialization/types/IntegrationRead.js +1 -1
  73. package/dist/serialization/types/SlimIntegrationAuthConfigRead.d.ts +3 -1
  74. package/dist/serialization/types/SlimIntegrationAuthConfigRead.js +3 -1
  75. package/dist/serialization/types/SlimIntegrationRead.d.ts +1 -1
  76. package/dist/serialization/types/SlimIntegrationRead.js +1 -1
  77. package/dist/serialization/types/ToolDefinitionIntegration.d.ts +1 -1
  78. package/dist/serialization/types/ToolDefinitionIntegration.js +1 -1
  79. package/dist/serialization/types/index.d.ts +1 -0
  80. package/dist/serialization/types/index.js +1 -0
  81. package/dist/version.d.ts +1 -1
  82. package/dist/version.js +1 -1
  83. package/package.json +1 -1
  84. package/serialization/types/IntegrationAuthConfigIntegration.d.ts +16 -0
  85. package/serialization/types/IntegrationAuthConfigIntegration.js +47 -0
  86. package/serialization/types/IntegrationAuthConfigIntegrationCredential.d.ts +1 -1
  87. package/serialization/types/IntegrationAuthConfigIntegrationCredential.js +1 -1
  88. package/serialization/types/IntegrationRead.d.ts +1 -1
  89. package/serialization/types/IntegrationRead.js +1 -1
  90. package/serialization/types/SlimIntegrationAuthConfigRead.d.ts +3 -1
  91. package/serialization/types/SlimIntegrationAuthConfigRead.js +3 -1
  92. package/serialization/types/SlimIntegrationRead.d.ts +1 -1
  93. package/serialization/types/SlimIntegrationRead.js +1 -1
  94. package/serialization/types/ToolDefinitionIntegration.d.ts +1 -1
  95. package/serialization/types/ToolDefinitionIntegration.js +1 -1
  96. package/serialization/types/index.d.ts +1 -0
  97. package/serialization/types/index.js +1 -0
  98. package/version.d.ts +1 -1
  99. package/version.js +1 -1
@@ -97,7 +97,7 @@ class WorkflowDeployments {
97
97
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
98
98
  unrecognizedObjectKeys: "strip",
99
99
  })
100
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -163,7 +163,7 @@ class WorkflowDeployments {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -241,7 +241,7 @@ class WorkflowDeployments {
241
241
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
242
242
  unrecognizedObjectKeys: "strip",
243
243
  })
244
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
244
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
245
245
  contentType: "application/json",
246
246
  queryParameters: _queryParams,
247
247
  requestType: "json",
@@ -306,7 +306,7 @@ class WorkflowDeployments {
306
306
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
307
307
  unrecognizedObjectKeys: "strip",
308
308
  })
309
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
309
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
310
310
  contentType: "application/json",
311
311
  requestType: "json",
312
312
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -373,7 +373,7 @@ class WorkflowDeployments {
373
373
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
374
374
  unrecognizedObjectKeys: "strip",
375
375
  })
376
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
376
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
377
377
  contentType: "application/json",
378
378
  requestType: "json",
379
379
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -455,7 +455,7 @@ class WorkflowDeployments {
455
455
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
456
456
  unrecognizedObjectKeys: "strip",
457
457
  })
458
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
458
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
459
459
  contentType: "application/json",
460
460
  queryParameters: _queryParams,
461
461
  requestType: "json",
@@ -522,7 +522,7 @@ class WorkflowDeployments {
522
522
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
523
523
  unrecognizedObjectKeys: "strip",
524
524
  })
525
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
525
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
526
526
  contentType: "application/json",
527
527
  requestType: "json",
528
528
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -589,7 +589,7 @@ class WorkflowDeployments {
589
589
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
590
590
  unrecognizedObjectKeys: "strip",
591
591
  })
592
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
592
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
593
593
  contentType: "application/json",
594
594
  requestType: "json",
595
595
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -658,7 +658,7 @@ class WorkflowDeployments {
658
658
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
659
659
  unrecognizedObjectKeys: "strip",
660
660
  })
661
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
661
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
662
662
  contentType: "application/json",
663
663
  requestType: "json",
664
664
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -88,7 +88,7 @@ class WorkflowExecutions {
88
88
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
89
89
  unrecognizedObjectKeys: "strip",
90
90
  })
91
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
92
  contentType: "application/json",
93
93
  queryParameters: _queryParams,
94
94
  requestType: "json",
@@ -80,7 +80,7 @@ class WorkflowSandboxes {
80
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
81
  unrecognizedObjectKeys: "strip",
82
82
  })
83
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -162,7 +162,7 @@ class WorkflowSandboxes {
162
162
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
163
163
  unrecognizedObjectKeys: "strip",
164
164
  })
165
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
166
  contentType: "application/json",
167
167
  queryParameters: _queryParams,
168
168
  requestType: "json",
@@ -100,7 +100,7 @@ class Workflows {
100
100
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
101
101
  unrecognizedObjectKeys: "strip",
102
102
  })
103
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
104
104
  contentType: "application/json",
105
105
  queryParameters: _queryParams,
106
106
  requestType: "json",
@@ -180,7 +180,7 @@ class Workflows {
180
180
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
181
181
  unrecognizedObjectKeys: "strip",
182
182
  })
183
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
183
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
184
184
  requestType: "file",
185
185
  duplex: _maybeEncodedRequest.duplex,
186
186
  body: _maybeEncodedRequest.body,
@@ -252,7 +252,7 @@ class Workflows {
252
252
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
253
253
  unrecognizedObjectKeys: "strip",
254
254
  })
255
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
255
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
256
256
  contentType: "application/json",
257
257
  requestType: "json",
258
258
  body: serializers.SerializeWorkflowFilesRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -81,7 +81,7 @@ class WorkspaceSecrets {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -147,7 +147,7 @@ class WorkspaceSecrets {
147
147
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
148
148
  unrecognizedObjectKeys: "strip",
149
149
  })
150
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
150
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
151
151
  contentType: "application/json",
152
152
  requestType: "json",
153
153
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -80,7 +80,7 @@ class Workspaces {
80
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
81
  unrecognizedObjectKeys: "strip",
82
82
  })
83
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.5", "User-Agent": "vellum-ai/1.5.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.6", "User-Agent": "vellum-ai/1.5.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface IntegrationAuthConfigIntegration {
6
+ id: string;
7
+ provider: Vellum.IntegrationProvider;
8
+ name: Vellum.IntegrationName;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface IntegrationAuthConfigIntegrationCredential {
5
- id?: string;
5
+ id: string;
6
6
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface IntegrationRead {
6
- id?: string;
6
+ id: string;
7
7
  label?: string;
8
8
  iconUrl: string;
9
9
  name: Vellum.IntegrationName;
@@ -6,7 +6,8 @@ import * as Vellum from "../index";
6
6
  * A slim representation of an Integration Auth Config.
7
7
  */
8
8
  export interface SlimIntegrationAuthConfigRead {
9
- id?: string;
9
+ id: string;
10
+ integration: Vellum.IntegrationAuthConfigIntegration;
10
11
  integrationCredentials?: Vellum.IntegrationAuthConfigIntegrationCredential[] | null;
11
12
  defaultAccessType?: Vellum.IntegrationCredentialAccessType;
12
13
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface SlimIntegrationRead {
6
- id?: string;
6
+ id: string;
7
7
  label?: string;
8
8
  iconUrl: string;
9
9
  name: Vellum.IntegrationName;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface ToolDefinitionIntegration {
6
- id?: string;
6
+ id: string;
7
7
  provider: Vellum.IntegrationProvider;
8
8
  name: Vellum.IntegrationName;
9
9
  }
@@ -208,6 +208,7 @@ export * from "./InitiatedPromptExecutionMeta";
208
208
  export * from "./InitiatedWorkflowNodeResultEvent";
209
209
  export * from "./InstructorVectorizerConfig";
210
210
  export * from "./InstructorVectorizerConfigRequest";
211
+ export * from "./IntegrationAuthConfigIntegration";
211
212
  export * from "./IntegrationAuthConfigIntegrationCredential";
212
213
  export * from "./IntegrationCredentialAccessType";
213
214
  export * from "./ComponentsSchemasComposioIntegrationExecConfig";
@@ -224,6 +224,7 @@ __exportStar(require("./InitiatedPromptExecutionMeta"), exports);
224
224
  __exportStar(require("./InitiatedWorkflowNodeResultEvent"), exports);
225
225
  __exportStar(require("./InstructorVectorizerConfig"), exports);
226
226
  __exportStar(require("./InstructorVectorizerConfigRequest"), exports);
227
+ __exportStar(require("./IntegrationAuthConfigIntegration"), exports);
227
228
  __exportStar(require("./IntegrationAuthConfigIntegrationCredential"), exports);
228
229
  __exportStar(require("./IntegrationCredentialAccessType"), exports);
229
230
  __exportStar(require("./ComponentsSchemasComposioIntegrationExecConfig"), exports);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { IntegrationProvider } from "./IntegrationProvider";
8
+ import { IntegrationName } from "./IntegrationName";
9
+ export declare const IntegrationAuthConfigIntegration: core.serialization.ObjectSchema<serializers.IntegrationAuthConfigIntegration.Raw, Vellum.IntegrationAuthConfigIntegration>;
10
+ export declare namespace IntegrationAuthConfigIntegration {
11
+ interface Raw {
12
+ id: string;
13
+ provider: IntegrationProvider.Raw;
14
+ name: IntegrationName.Raw;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.IntegrationAuthConfigIntegration = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const IntegrationProvider_1 = require("./IntegrationProvider");
42
+ const IntegrationName_1 = require("./IntegrationName");
43
+ exports.IntegrationAuthConfigIntegration = core.serialization.object({
44
+ id: core.serialization.string(),
45
+ provider: IntegrationProvider_1.IntegrationProvider,
46
+ name: IntegrationName_1.IntegrationName,
47
+ });
@@ -7,6 +7,6 @@ import * as core from "../../core";
7
7
  export declare const IntegrationAuthConfigIntegrationCredential: core.serialization.ObjectSchema<serializers.IntegrationAuthConfigIntegrationCredential.Raw, Vellum.IntegrationAuthConfigIntegrationCredential>;
8
8
  export declare namespace IntegrationAuthConfigIntegrationCredential {
9
9
  interface Raw {
10
- id?: string | null;
10
+ id: string;
11
11
  }
12
12
  }
@@ -39,5 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.IntegrationAuthConfigIntegrationCredential = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.IntegrationAuthConfigIntegrationCredential = core.serialization.object({
42
- id: core.serialization.string().optional(),
42
+ id: core.serialization.string(),
43
43
  });
@@ -10,7 +10,7 @@ import { ComponentsSchemasComposioIntegrationExecConfig } from "./ComponentsSche
10
10
  export declare const IntegrationRead: core.serialization.ObjectSchema<serializers.IntegrationRead.Raw, Vellum.IntegrationRead>;
11
11
  export declare namespace IntegrationRead {
12
12
  interface Raw {
13
- id?: string | null;
13
+ id: string;
14
14
  label?: string | null;
15
15
  icon_url: string;
16
16
  name: IntegrationName.Raw;
@@ -42,7 +42,7 @@ const IntegrationName_1 = require("./IntegrationName");
42
42
  const IntegrationProvider_1 = require("./IntegrationProvider");
43
43
  const ComponentsSchemasComposioIntegrationExecConfig_1 = require("./ComponentsSchemasComposioIntegrationExecConfig");
44
44
  exports.IntegrationRead = core.serialization.object({
45
- id: core.serialization.string().optional(),
45
+ id: core.serialization.string(),
46
46
  label: core.serialization.string().optional(),
47
47
  iconUrl: core.serialization.property("icon_url", core.serialization.string()),
48
48
  name: IntegrationName_1.IntegrationName,
@@ -4,12 +4,14 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { IntegrationAuthConfigIntegration } from "./IntegrationAuthConfigIntegration";
7
8
  import { IntegrationAuthConfigIntegrationCredential } from "./IntegrationAuthConfigIntegrationCredential";
8
9
  import { IntegrationCredentialAccessType } from "./IntegrationCredentialAccessType";
9
10
  export declare const SlimIntegrationAuthConfigRead: core.serialization.ObjectSchema<serializers.SlimIntegrationAuthConfigRead.Raw, Vellum.SlimIntegrationAuthConfigRead>;
10
11
  export declare namespace SlimIntegrationAuthConfigRead {
11
12
  interface Raw {
12
- id?: string | null;
13
+ id: string;
14
+ integration: IntegrationAuthConfigIntegration.Raw;
13
15
  integration_credentials?: (IntegrationAuthConfigIntegrationCredential.Raw[] | null) | null;
14
16
  default_access_type?: IntegrationCredentialAccessType.Raw | null;
15
17
  }
@@ -38,10 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.SlimIntegrationAuthConfigRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
+ const IntegrationAuthConfigIntegration_1 = require("./IntegrationAuthConfigIntegration");
41
42
  const IntegrationAuthConfigIntegrationCredential_1 = require("./IntegrationAuthConfigIntegrationCredential");
42
43
  const IntegrationCredentialAccessType_1 = require("./IntegrationCredentialAccessType");
43
44
  exports.SlimIntegrationAuthConfigRead = core.serialization.object({
44
- id: core.serialization.string().optional(),
45
+ id: core.serialization.string(),
46
+ integration: IntegrationAuthConfigIntegration_1.IntegrationAuthConfigIntegration,
45
47
  integrationCredentials: core.serialization.property("integration_credentials", core.serialization.list(IntegrationAuthConfigIntegrationCredential_1.IntegrationAuthConfigIntegrationCredential).optionalNullable()),
46
48
  defaultAccessType: core.serialization.property("default_access_type", IntegrationCredentialAccessType_1.IntegrationCredentialAccessType.optional()),
47
49
  });
@@ -9,7 +9,7 @@ import { IntegrationProvider } from "./IntegrationProvider";
9
9
  export declare const SlimIntegrationRead: core.serialization.ObjectSchema<serializers.SlimIntegrationRead.Raw, Vellum.SlimIntegrationRead>;
10
10
  export declare namespace SlimIntegrationRead {
11
11
  interface Raw {
12
- id?: string | null;
12
+ id: string;
13
13
  label?: string | null;
14
14
  icon_url: string;
15
15
  name: IntegrationName.Raw;
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  const IntegrationName_1 = require("./IntegrationName");
42
42
  const IntegrationProvider_1 = require("./IntegrationProvider");
43
43
  exports.SlimIntegrationRead = core.serialization.object({
44
- id: core.serialization.string().optional(),
44
+ id: core.serialization.string(),
45
45
  label: core.serialization.string().optional(),
46
46
  iconUrl: core.serialization.property("icon_url", core.serialization.string()),
47
47
  name: IntegrationName_1.IntegrationName,
@@ -9,7 +9,7 @@ import { IntegrationName } from "./IntegrationName";
9
9
  export declare const ToolDefinitionIntegration: core.serialization.ObjectSchema<serializers.ToolDefinitionIntegration.Raw, Vellum.ToolDefinitionIntegration>;
10
10
  export declare namespace ToolDefinitionIntegration {
11
11
  interface Raw {
12
- id?: string | null;
12
+ id: string;
13
13
  provider: IntegrationProvider.Raw;
14
14
  name: IntegrationName.Raw;
15
15
  }
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  const IntegrationProvider_1 = require("./IntegrationProvider");
42
42
  const IntegrationName_1 = require("./IntegrationName");
43
43
  exports.ToolDefinitionIntegration = core.serialization.object({
44
- id: core.serialization.string().optional(),
44
+ id: core.serialization.string(),
45
45
  provider: IntegrationProvider_1.IntegrationProvider,
46
46
  name: IntegrationName_1.IntegrationName,
47
47
  });
@@ -208,6 +208,7 @@ export * from "./InitiatedPromptExecutionMeta";
208
208
  export * from "./InitiatedWorkflowNodeResultEvent";
209
209
  export * from "./InstructorVectorizerConfig";
210
210
  export * from "./InstructorVectorizerConfigRequest";
211
+ export * from "./IntegrationAuthConfigIntegration";
211
212
  export * from "./IntegrationAuthConfigIntegrationCredential";
212
213
  export * from "./IntegrationCredentialAccessType";
213
214
  export * from "./ComponentsSchemasComposioIntegrationExecConfig";
@@ -224,6 +224,7 @@ __exportStar(require("./InitiatedPromptExecutionMeta"), exports);
224
224
  __exportStar(require("./InitiatedWorkflowNodeResultEvent"), exports);
225
225
  __exportStar(require("./InstructorVectorizerConfig"), exports);
226
226
  __exportStar(require("./InstructorVectorizerConfigRequest"), exports);
227
+ __exportStar(require("./IntegrationAuthConfigIntegration"), exports);
227
228
  __exportStar(require("./IntegrationAuthConfigIntegrationCredential"), exports);
228
229
  __exportStar(require("./IntegrationCredentialAccessType"), exports);
229
230
  __exportStar(require("./ComponentsSchemasComposioIntegrationExecConfig"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.5.5";
1
+ export declare const SDK_VERSION = "1.5.6";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.5.5";
4
+ exports.SDK_VERSION = "1.5.6";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { IntegrationProvider } from "./IntegrationProvider";
8
+ import { IntegrationName } from "./IntegrationName";
9
+ export declare const IntegrationAuthConfigIntegration: core.serialization.ObjectSchema<serializers.IntegrationAuthConfigIntegration.Raw, Vellum.IntegrationAuthConfigIntegration>;
10
+ export declare namespace IntegrationAuthConfigIntegration {
11
+ interface Raw {
12
+ id: string;
13
+ provider: IntegrationProvider.Raw;
14
+ name: IntegrationName.Raw;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.IntegrationAuthConfigIntegration = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const IntegrationProvider_1 = require("./IntegrationProvider");
42
+ const IntegrationName_1 = require("./IntegrationName");
43
+ exports.IntegrationAuthConfigIntegration = core.serialization.object({
44
+ id: core.serialization.string(),
45
+ provider: IntegrationProvider_1.IntegrationProvider,
46
+ name: IntegrationName_1.IntegrationName,
47
+ });
@@ -7,6 +7,6 @@ import * as core from "../../core";
7
7
  export declare const IntegrationAuthConfigIntegrationCredential: core.serialization.ObjectSchema<serializers.IntegrationAuthConfigIntegrationCredential.Raw, Vellum.IntegrationAuthConfigIntegrationCredential>;
8
8
  export declare namespace IntegrationAuthConfigIntegrationCredential {
9
9
  interface Raw {
10
- id?: string | null;
10
+ id: string;
11
11
  }
12
12
  }
@@ -39,5 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.IntegrationAuthConfigIntegrationCredential = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.IntegrationAuthConfigIntegrationCredential = core.serialization.object({
42
- id: core.serialization.string().optional(),
42
+ id: core.serialization.string(),
43
43
  });
@@ -10,7 +10,7 @@ import { ComponentsSchemasComposioIntegrationExecConfig } from "./ComponentsSche
10
10
  export declare const IntegrationRead: core.serialization.ObjectSchema<serializers.IntegrationRead.Raw, Vellum.IntegrationRead>;
11
11
  export declare namespace IntegrationRead {
12
12
  interface Raw {
13
- id?: string | null;
13
+ id: string;
14
14
  label?: string | null;
15
15
  icon_url: string;
16
16
  name: IntegrationName.Raw;
@@ -42,7 +42,7 @@ const IntegrationName_1 = require("./IntegrationName");
42
42
  const IntegrationProvider_1 = require("./IntegrationProvider");
43
43
  const ComponentsSchemasComposioIntegrationExecConfig_1 = require("./ComponentsSchemasComposioIntegrationExecConfig");
44
44
  exports.IntegrationRead = core.serialization.object({
45
- id: core.serialization.string().optional(),
45
+ id: core.serialization.string(),
46
46
  label: core.serialization.string().optional(),
47
47
  iconUrl: core.serialization.property("icon_url", core.serialization.string()),
48
48
  name: IntegrationName_1.IntegrationName,
@@ -4,12 +4,14 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { IntegrationAuthConfigIntegration } from "./IntegrationAuthConfigIntegration";
7
8
  import { IntegrationAuthConfigIntegrationCredential } from "./IntegrationAuthConfigIntegrationCredential";
8
9
  import { IntegrationCredentialAccessType } from "./IntegrationCredentialAccessType";
9
10
  export declare const SlimIntegrationAuthConfigRead: core.serialization.ObjectSchema<serializers.SlimIntegrationAuthConfigRead.Raw, Vellum.SlimIntegrationAuthConfigRead>;
10
11
  export declare namespace SlimIntegrationAuthConfigRead {
11
12
  interface Raw {
12
- id?: string | null;
13
+ id: string;
14
+ integration: IntegrationAuthConfigIntegration.Raw;
13
15
  integration_credentials?: (IntegrationAuthConfigIntegrationCredential.Raw[] | null) | null;
14
16
  default_access_type?: IntegrationCredentialAccessType.Raw | null;
15
17
  }