@objectstack/spec 0.3.3 → 0.4.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.
- package/dist/ai/conversation.zod.d.ts +14 -14
- package/dist/ai/cost.zod.d.ts +112 -112
- package/dist/ai/model-registry.zod.d.ts +44 -44
- package/dist/ai/nlq.zod.d.ts +2 -2
- package/dist/ai/orchestration.zod.d.ts +6 -6
- package/dist/ai/predictive.zod.d.ts +8 -8
- package/dist/ai/rag-pipeline.zod.d.ts +62 -62
- package/dist/api/contract.zod.d.ts +92 -92
- package/dist/api/discovery.zod.d.ts +2 -2
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/odata.zod.d.ts +482 -0
- package/dist/api/odata.zod.d.ts.map +1 -0
- package/dist/api/odata.zod.js +401 -0
- package/dist/api/router.zod.d.ts +4 -4
- package/dist/auth/config.zod.d.ts +21 -21
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +1 -0
- package/dist/auth/organization.zod.d.ts +2 -2
- package/dist/auth/role.zod.d.ts +14 -0
- package/dist/auth/role.zod.d.ts.map +1 -1
- package/dist/auth/role.zod.js +16 -1
- package/dist/auth/scim.zod.d.ts +2732 -0
- package/dist/auth/scim.zod.d.ts.map +1 -0
- package/dist/auth/scim.zod.js +811 -0
- package/dist/automation/approval.zod.d.ts +643 -0
- package/dist/automation/approval.zod.d.ts.map +1 -0
- package/dist/automation/approval.zod.js +84 -0
- package/dist/automation/connector.zod.d.ts +1284 -0
- package/dist/automation/connector.zod.d.ts.map +1 -0
- package/dist/automation/connector.zod.js +500 -0
- package/dist/automation/etl.zod.d.ts +623 -0
- package/dist/automation/etl.zod.d.ts.map +1 -0
- package/dist/automation/etl.zod.js +359 -0
- package/dist/automation/flow.zod.d.ts +6 -6
- package/dist/automation/index.d.ts +4 -0
- package/dist/automation/index.d.ts.map +1 -1
- package/dist/automation/index.js +4 -0
- package/dist/automation/sync.zod.d.ts +854 -0
- package/dist/automation/sync.zod.d.ts.map +1 -0
- package/dist/automation/sync.zod.js +444 -0
- package/dist/automation/webhook.zod.d.ts +24 -1
- package/dist/automation/webhook.zod.d.ts.map +1 -1
- package/dist/automation/webhook.zod.js +27 -3
- package/dist/automation/workflow.zod.d.ts +14 -0
- package/dist/automation/workflow.zod.d.ts.map +1 -1
- package/dist/automation/workflow.zod.js +16 -1
- package/dist/data/field.zod.d.ts +338 -8
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +100 -16
- package/dist/data/mapping.zod.d.ts +22 -10
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/mapping.zod.js +16 -3
- package/dist/data/object.zod.d.ts +116 -22
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +4 -4
- package/dist/data/validation.zod.d.ts +18 -18
- package/dist/hub/composer.zod.d.ts +42 -1939
- package/dist/hub/composer.zod.d.ts.map +1 -1
- package/dist/hub/composer.zod.js +1 -1
- package/dist/hub/license.zod.d.ts +2 -2
- package/dist/hub/marketplace.zod.d.ts +6 -6
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/permission/index.d.ts +7 -5
- package/dist/permission/index.d.ts.map +1 -1
- package/dist/permission/index.js +7 -5
- package/dist/permission/permission.zod.d.ts +14 -0
- package/dist/permission/permission.zod.d.ts.map +1 -1
- package/dist/permission/permission.zod.js +16 -1
- package/dist/permission/rls.zod.d.ts +605 -0
- package/dist/permission/rls.zod.d.ts.map +1 -0
- package/dist/permission/rls.zod.js +615 -0
- package/dist/permission/territory.zod.d.ts +13 -0
- package/dist/permission/territory.zod.d.ts.map +1 -1
- package/dist/permission/territory.zod.js +15 -1
- package/dist/shared/identifiers.zod.d.ts +87 -0
- package/dist/shared/identifiers.zod.d.ts.map +1 -0
- package/dist/shared/identifiers.zod.js +101 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/{driver → shared}/index.js +5 -4
- package/dist/stack.zod.d.ts +19869 -0
- package/dist/stack.zod.d.ts.map +1 -0
- package/dist/stack.zod.js +248 -0
- package/dist/system/audit.zod.d.ts +12 -12
- package/dist/{kernel → system}/context.zod.d.ts.map +1 -1
- package/dist/{driver → system}/datasource.zod.d.ts +2 -2
- package/dist/{driver → system}/datasource.zod.d.ts.map +1 -1
- package/dist/{driver → system/driver}/mongo.zod.d.ts +2 -2
- package/dist/system/driver/mongo.zod.d.ts.map +1 -0
- package/dist/{driver → system/driver}/postgres.zod.d.ts +4 -4
- package/dist/system/driver/postgres.zod.d.ts.map +1 -0
- package/dist/{driver → system}/driver.zod.d.ts +14 -14
- package/dist/{driver → system}/driver.zod.d.ts.map +1 -1
- package/dist/system/events.zod.d.ts +15 -12
- package/dist/system/events.zod.d.ts.map +1 -1
- package/dist/system/events.zod.js +5 -1
- package/dist/system/feature.zod.d.ts +131 -0
- package/dist/system/feature.zod.d.ts.map +1 -0
- package/dist/system/feature.zod.js +45 -0
- package/dist/system/index.d.ts +10 -0
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +12 -0
- package/dist/system/job.zod.d.ts +8 -8
- package/dist/{kernel → system}/logger.zod.d.ts +4 -4
- package/dist/{kernel → system}/logger.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.d.ts +515 -0
- package/dist/system/manifest.zod.d.ts.map +1 -0
- package/dist/{kernel → system}/manifest.zod.js +0 -12
- package/dist/{kernel → system}/plugin.zod.d.ts.map +1 -1
- package/dist/{kernel → system}/scoped-storage.zod.d.ts +2 -2
- package/dist/{kernel → system}/scoped-storage.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.d.ts +35 -10
- package/dist/ui/action.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.js +30 -1
- package/dist/ui/app.zod.d.ts +23 -8
- package/dist/ui/app.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.js +32 -4
- package/dist/ui/block.zod.d.ts +265 -0
- package/dist/ui/block.zod.d.ts.map +1 -0
- package/dist/ui/block.zod.js +90 -0
- package/dist/ui/component.zod.d.ts +265 -0
- package/dist/ui/component.zod.d.ts.map +1 -0
- package/dist/ui/component.zod.js +90 -0
- package/dist/ui/dashboard.zod.d.ts +15 -15
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +18 -8
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +1 -0
- package/dist/ui/page.zod.d.ts +21 -3
- package/dist/ui/page.zod.d.ts.map +1 -1
- package/dist/ui/page.zod.js +37 -4
- package/dist/ui/report.zod.d.ts +7 -7
- package/dist/ui/view.zod.d.ts +252 -240
- package/dist/ui/view.zod.d.ts.map +1 -1
- package/dist/ui/view.zod.js +32 -3
- package/dist/ui/widget.zod.d.ts +673 -5
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/dist/ui/widget.zod.js +294 -1
- package/json-schema/api/ODataError.json +65 -0
- package/json-schema/api/ODataFilterFunction.json +39 -0
- package/json-schema/api/ODataFilterOperator.json +24 -0
- package/json-schema/api/ODataMetadata.json +115 -0
- package/json-schema/api/ODataQuery.json +89 -0
- package/json-schema/api/ODataResponse.json +37 -0
- package/json-schema/auth/Role.json +3 -2
- package/json-schema/auth/SCIMAddress.json +50 -0
- package/json-schema/auth/SCIMEmail.json +38 -0
- package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
- package/json-schema/auth/SCIMError.json +52 -0
- package/json-schema/auth/SCIMGroup.json +102 -0
- package/json-schema/auth/SCIMGroupReference.json +36 -0
- package/json-schema/auth/SCIMListResponse.json +606 -0
- package/json-schema/auth/SCIMMemberReference.json +36 -0
- package/json-schema/auth/SCIMMeta.json +35 -0
- package/json-schema/auth/SCIMName.json +36 -0
- package/json-schema/auth/SCIMPatchOperation.json +31 -0
- package/json-schema/auth/SCIMPatchRequest.json +56 -0
- package/json-schema/auth/SCIMPhoneNumber.json +40 -0
- package/json-schema/auth/SCIMUser.json +462 -0
- package/json-schema/automation/ApprovalAction.json +35 -0
- package/json-schema/automation/ApprovalActionType.json +15 -0
- package/json-schema/automation/ApprovalProcess.json +326 -0
- package/json-schema/automation/ApprovalStep.json +147 -0
- package/json-schema/automation/ApproverType.json +16 -0
- package/json-schema/automation/AuthField.json +73 -0
- package/json-schema/automation/Authentication.json +159 -0
- package/json-schema/automation/AuthenticationType.json +18 -0
- package/json-schema/automation/ConflictResolution.json +16 -0
- package/json-schema/automation/Connector.json +440 -0
- package/json-schema/automation/ConnectorCategory.json +26 -0
- package/json-schema/automation/ConnectorInstance.json +69 -0
- package/json-schema/automation/ConnectorOperation.json +117 -0
- package/json-schema/automation/ConnectorTrigger.json +54 -0
- package/json-schema/automation/DataDestinationConfig.json +89 -0
- package/json-schema/automation/DataSourceConfig.json +34 -0
- package/json-schema/automation/DataSyncConfig.json +355 -0
- package/json-schema/automation/ETLDestination.json +57 -0
- package/json-schema/automation/ETLEndpointType.json +19 -0
- package/json-schema/automation/ETLPipeline.json +252 -0
- package/json-schema/automation/ETLPipelineRun.json +107 -0
- package/json-schema/automation/ETLRunStatus.json +17 -0
- package/json-schema/automation/ETLSource.json +60 -0
- package/json-schema/automation/ETLSyncMode.json +14 -0
- package/json-schema/automation/ETLTransformation.json +46 -0
- package/json-schema/automation/ETLTransformationType.json +21 -0
- package/json-schema/automation/FieldMapping.json +36 -0
- package/json-schema/automation/OAuth2Config.json +43 -0
- package/json-schema/automation/OperationParameter.json +59 -0
- package/json-schema/automation/OperationType.json +17 -0
- package/json-schema/automation/SyncDirection.json +14 -0
- package/json-schema/automation/SyncExecutionResult.json +135 -0
- package/json-schema/automation/SyncExecutionStatus.json +17 -0
- package/json-schema/automation/SyncMode.json +14 -0
- package/json-schema/automation/Webhook.json +3 -1
- package/json-schema/automation/WebhookReceiver.json +3 -1
- package/json-schema/automation/WorkflowRule.json +3 -2
- package/json-schema/data/Field.json +62 -4
- package/json-schema/data/FieldType.json +12 -2
- package/json-schema/data/Object.json +62 -4
- package/json-schema/data/SelectOption.json +4 -2
- package/json-schema/data/VectorConfig.json +51 -0
- package/json-schema/hub/ComposerResponse.json +0 -2162
- package/json-schema/permission/PermissionSet.json +3 -1
- package/json-schema/permission/RLSConfig.json +59 -0
- package/json-schema/permission/RLSEvaluationResult.json +40 -0
- package/json-schema/permission/RLSOperation.json +16 -0
- package/json-schema/permission/RLSUserContext.json +51 -0
- package/json-schema/permission/RowLevelSecurityPolicy.json +77 -0
- package/json-schema/permission/Territory.json +3 -1
- package/json-schema/shared/EventName.json +12 -0
- package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
- package/json-schema/shared/SystemIdentifier.json +12 -0
- package/json-schema/system/Event.json +3 -2
- package/json-schema/system/FeatureFlag.json +87 -0
- package/json-schema/system/FeatureStrategy.json +16 -0
- package/json-schema/system/Manifest.json +395 -0
- package/json-schema/ui/Action.json +25 -4
- package/json-schema/ui/ActionParam.json +12 -2
- package/json-schema/ui/App.json +18 -7
- package/json-schema/ui/ChartType.json +9 -1
- package/json-schema/ui/Dashboard.json +9 -1
- package/json-schema/ui/DashboardNavItem.json +3 -1
- package/json-schema/ui/DashboardWidget.json +9 -1
- package/json-schema/ui/FieldWidgetProps.json +62 -4
- package/json-schema/ui/FormView.json +4 -1
- package/json-schema/ui/GroupNavItem.json +3 -1
- package/json-schema/ui/ListView.json +7 -1
- package/json-schema/ui/NavigationItem.json +15 -5
- package/json-schema/ui/ObjectNavItem.json +3 -1
- package/json-schema/ui/Page.json +36 -4
- package/json-schema/ui/PageCardProps.json +32 -0
- package/json-schema/ui/PageComponent.json +33 -3
- package/json-schema/ui/PageComponentType.json +32 -0
- package/json-schema/ui/PageHeaderProps.json +39 -0
- package/json-schema/ui/PageNavItem.json +3 -1
- package/json-schema/ui/PageRegion.json +33 -3
- package/json-schema/ui/PageTabsProps.json +55 -0
- package/json-schema/ui/RecordDetailsProps.json +37 -0
- package/json-schema/ui/RecordHighlightsProps.json +24 -0
- package/json-schema/ui/RecordRelatedListProps.json +39 -0
- package/json-schema/ui/UrlNavItem.json +3 -1
- package/json-schema/ui/View.json +22 -4
- package/json-schema/ui/WidgetEvent.json +42 -0
- package/json-schema/ui/WidgetLifecycle.json +40 -0
- package/json-schema/ui/WidgetManifest.json +262 -0
- package/json-schema/ui/WidgetProperty.json +58 -0
- package/package.json +1 -1
- package/prompts/architecture.md +5 -5
- package/prompts/create-new-project.md +85 -0
- package/dist/driver/index.d.ts +0 -5
- package/dist/driver/index.d.ts.map +0 -1
- package/dist/driver/mongo.zod.d.ts.map +0 -1
- package/dist/driver/postgres.zod.d.ts.map +0 -1
- package/dist/kernel/index.d.ts +0 -12
- package/dist/kernel/index.d.ts.map +0 -1
- package/dist/kernel/index.js +0 -27
- package/dist/kernel/manifest.zod.d.ts +0 -2153
- package/dist/kernel/manifest.zod.d.ts.map +0 -1
- package/json-schema/kernel/Manifest.json +0 -2557
- /package/dist/{kernel → system}/context.zod.d.ts +0 -0
- /package/dist/{kernel → system}/context.zod.js +0 -0
- /package/dist/{driver → system}/datasource.zod.js +0 -0
- /package/dist/{driver → system/driver}/mongo.zod.js +0 -0
- /package/dist/{driver → system/driver}/postgres.zod.js +0 -0
- /package/dist/{driver → system}/driver.zod.js +0 -0
- /package/dist/{kernel → system}/logger.zod.js +0 -0
- /package/dist/{kernel → system}/plugin.zod.d.ts +0 -0
- /package/dist/{kernel → system}/plugin.zod.js +0 -0
- /package/dist/{kernel → system}/scoped-storage.zod.js +0 -0
- /package/json-schema/{driver → system}/Datasource.json +0 -0
- /package/json-schema/{driver → system}/DatasourceCapabilities.json +0 -0
- /package/json-schema/{driver → system}/DriverCapabilities.json +0 -0
- /package/json-schema/{driver → system}/DriverDefinition.json +0 -0
- /package/json-schema/{driver → system}/DriverInterface.json +0 -0
- /package/json-schema/{driver → system}/DriverOptions.json +0 -0
- /package/json-schema/{driver → system}/DriverType.json +0 -0
- /package/json-schema/{kernel → system}/FileMetadata.json +0 -0
- /package/json-schema/{kernel → system}/I18nContext.json +0 -0
- /package/json-schema/{kernel → system}/KernelContext.json +0 -0
- /package/json-schema/{kernel → system}/LogEntry.json +0 -0
- /package/json-schema/{kernel → system}/LogFormat.json +0 -0
- /package/json-schema/{kernel → system}/LogLevel.json +0 -0
- /package/json-schema/{kernel → system}/Logger.json +0 -0
- /package/json-schema/{kernel → system}/LoggerConfig.json +0 -0
- /package/json-schema/{driver → system}/MongoConfig.json +0 -0
- /package/json-schema/{kernel → system}/ObjectQLClient.json +0 -0
- /package/json-schema/{kernel → system}/Plugin.json +0 -0
- /package/json-schema/{kernel → system}/PluginContext.json +0 -0
- /package/json-schema/{kernel → system}/PluginLifecycle.json +0 -0
- /package/json-schema/{driver → system}/PostgresConfig.json +0 -0
- /package/json-schema/{kernel → system}/Router.json +0 -0
- /package/json-schema/{kernel → system}/RuntimeMode.json +0 -0
- /package/json-schema/{kernel → system}/Scheduler.json +0 -0
- /package/json-schema/{kernel → system}/ScopedStorage.json +0 -0
- /package/json-schema/{kernel → system}/ScopedStorageConfig.json +0 -0
- /package/json-schema/{kernel → system}/StorageAdapterType.json +0 -0
- /package/json-schema/{kernel → system}/StorageScope.json +0 -0
- /package/json-schema/{kernel → system}/SystemAPI.json +0 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Authentication",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Authentication": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"none",
|
|
11
|
+
"apiKey",
|
|
12
|
+
"basic",
|
|
13
|
+
"bearer",
|
|
14
|
+
"oauth1",
|
|
15
|
+
"oauth2",
|
|
16
|
+
"custom"
|
|
17
|
+
],
|
|
18
|
+
"description": "Authentication type"
|
|
19
|
+
},
|
|
20
|
+
"fields": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"name": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
28
|
+
"description": "Field name (snake_case)"
|
|
29
|
+
},
|
|
30
|
+
"label": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Field label"
|
|
33
|
+
},
|
|
34
|
+
"type": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"text",
|
|
38
|
+
"password",
|
|
39
|
+
"url",
|
|
40
|
+
"select"
|
|
41
|
+
],
|
|
42
|
+
"default": "text",
|
|
43
|
+
"description": "Field type"
|
|
44
|
+
},
|
|
45
|
+
"description": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "Field description"
|
|
48
|
+
},
|
|
49
|
+
"required": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"default": true,
|
|
52
|
+
"description": "Required field"
|
|
53
|
+
},
|
|
54
|
+
"default": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Default value"
|
|
57
|
+
},
|
|
58
|
+
"options": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"label": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"value": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": [
|
|
71
|
+
"label",
|
|
72
|
+
"value"
|
|
73
|
+
],
|
|
74
|
+
"additionalProperties": false
|
|
75
|
+
},
|
|
76
|
+
"description": "Select field options"
|
|
77
|
+
},
|
|
78
|
+
"placeholder": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Placeholder text"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"name",
|
|
85
|
+
"label"
|
|
86
|
+
],
|
|
87
|
+
"additionalProperties": false
|
|
88
|
+
},
|
|
89
|
+
"description": "Authentication fields"
|
|
90
|
+
},
|
|
91
|
+
"oauth2": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"authorizationUrl": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"format": "uri",
|
|
97
|
+
"description": "Authorization endpoint URL"
|
|
98
|
+
},
|
|
99
|
+
"tokenUrl": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"format": "uri",
|
|
102
|
+
"description": "Token endpoint URL"
|
|
103
|
+
},
|
|
104
|
+
"scopes": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"description": "OAuth scopes"
|
|
110
|
+
},
|
|
111
|
+
"clientIdField": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"default": "client_id",
|
|
114
|
+
"description": "Client ID field name"
|
|
115
|
+
},
|
|
116
|
+
"clientSecretField": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"default": "client_secret",
|
|
119
|
+
"description": "Client secret field name"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"authorizationUrl",
|
|
124
|
+
"tokenUrl"
|
|
125
|
+
],
|
|
126
|
+
"additionalProperties": false,
|
|
127
|
+
"description": "OAuth 2.0 configuration"
|
|
128
|
+
},
|
|
129
|
+
"test": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"properties": {
|
|
132
|
+
"url": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Test endpoint URL"
|
|
135
|
+
},
|
|
136
|
+
"method": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"enum": [
|
|
139
|
+
"GET",
|
|
140
|
+
"POST",
|
|
141
|
+
"PUT",
|
|
142
|
+
"DELETE"
|
|
143
|
+
],
|
|
144
|
+
"default": "GET",
|
|
145
|
+
"description": "HTTP method"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"additionalProperties": false,
|
|
149
|
+
"description": "Authentication test configuration"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": [
|
|
153
|
+
"type"
|
|
154
|
+
],
|
|
155
|
+
"additionalProperties": false
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
159
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/AuthenticationType",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"AuthenticationType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"none",
|
|
8
|
+
"apiKey",
|
|
9
|
+
"basic",
|
|
10
|
+
"bearer",
|
|
11
|
+
"oauth1",
|
|
12
|
+
"oauth2",
|
|
13
|
+
"custom"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ConflictResolution",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ConflictResolution": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"source_wins",
|
|
8
|
+
"destination_wins",
|
|
9
|
+
"latest_wins",
|
|
10
|
+
"manual",
|
|
11
|
+
"merge"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
16
|
+
}
|
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Connector",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Connector": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
10
|
+
"description": "Connector ID (snake_case)"
|
|
11
|
+
},
|
|
12
|
+
"name": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Connector name"
|
|
15
|
+
},
|
|
16
|
+
"description": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Connector description"
|
|
19
|
+
},
|
|
20
|
+
"version": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Connector version"
|
|
23
|
+
},
|
|
24
|
+
"icon": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Connector icon"
|
|
27
|
+
},
|
|
28
|
+
"category": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": [
|
|
31
|
+
"crm",
|
|
32
|
+
"payment",
|
|
33
|
+
"communication",
|
|
34
|
+
"storage",
|
|
35
|
+
"analytics",
|
|
36
|
+
"database",
|
|
37
|
+
"marketing",
|
|
38
|
+
"accounting",
|
|
39
|
+
"hr",
|
|
40
|
+
"productivity",
|
|
41
|
+
"ecommerce",
|
|
42
|
+
"support",
|
|
43
|
+
"devtools",
|
|
44
|
+
"social",
|
|
45
|
+
"other"
|
|
46
|
+
],
|
|
47
|
+
"description": "Connector category"
|
|
48
|
+
},
|
|
49
|
+
"baseUrl": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"format": "uri",
|
|
52
|
+
"description": "API base URL"
|
|
53
|
+
},
|
|
54
|
+
"authentication": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"type": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"enum": [
|
|
60
|
+
"none",
|
|
61
|
+
"apiKey",
|
|
62
|
+
"basic",
|
|
63
|
+
"bearer",
|
|
64
|
+
"oauth1",
|
|
65
|
+
"oauth2",
|
|
66
|
+
"custom"
|
|
67
|
+
],
|
|
68
|
+
"description": "Authentication type"
|
|
69
|
+
},
|
|
70
|
+
"fields": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"name": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
78
|
+
"description": "Field name (snake_case)"
|
|
79
|
+
},
|
|
80
|
+
"label": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Field label"
|
|
83
|
+
},
|
|
84
|
+
"type": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": [
|
|
87
|
+
"text",
|
|
88
|
+
"password",
|
|
89
|
+
"url",
|
|
90
|
+
"select"
|
|
91
|
+
],
|
|
92
|
+
"default": "text",
|
|
93
|
+
"description": "Field type"
|
|
94
|
+
},
|
|
95
|
+
"description": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "Field description"
|
|
98
|
+
},
|
|
99
|
+
"required": {
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"default": true,
|
|
102
|
+
"description": "Required field"
|
|
103
|
+
},
|
|
104
|
+
"default": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"description": "Default value"
|
|
107
|
+
},
|
|
108
|
+
"options": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"items": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"properties": {
|
|
113
|
+
"label": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"value": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"label",
|
|
122
|
+
"value"
|
|
123
|
+
],
|
|
124
|
+
"additionalProperties": false
|
|
125
|
+
},
|
|
126
|
+
"description": "Select field options"
|
|
127
|
+
},
|
|
128
|
+
"placeholder": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "Placeholder text"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": [
|
|
134
|
+
"name",
|
|
135
|
+
"label"
|
|
136
|
+
],
|
|
137
|
+
"additionalProperties": false
|
|
138
|
+
},
|
|
139
|
+
"description": "Authentication fields"
|
|
140
|
+
},
|
|
141
|
+
"oauth2": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"properties": {
|
|
144
|
+
"authorizationUrl": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"format": "uri",
|
|
147
|
+
"description": "Authorization endpoint URL"
|
|
148
|
+
},
|
|
149
|
+
"tokenUrl": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"format": "uri",
|
|
152
|
+
"description": "Token endpoint URL"
|
|
153
|
+
},
|
|
154
|
+
"scopes": {
|
|
155
|
+
"type": "array",
|
|
156
|
+
"items": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
},
|
|
159
|
+
"description": "OAuth scopes"
|
|
160
|
+
},
|
|
161
|
+
"clientIdField": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"default": "client_id",
|
|
164
|
+
"description": "Client ID field name"
|
|
165
|
+
},
|
|
166
|
+
"clientSecretField": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"default": "client_secret",
|
|
169
|
+
"description": "Client secret field name"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": [
|
|
173
|
+
"authorizationUrl",
|
|
174
|
+
"tokenUrl"
|
|
175
|
+
],
|
|
176
|
+
"additionalProperties": false,
|
|
177
|
+
"description": "OAuth 2.0 configuration"
|
|
178
|
+
},
|
|
179
|
+
"test": {
|
|
180
|
+
"type": "object",
|
|
181
|
+
"properties": {
|
|
182
|
+
"url": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"description": "Test endpoint URL"
|
|
185
|
+
},
|
|
186
|
+
"method": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"enum": [
|
|
189
|
+
"GET",
|
|
190
|
+
"POST",
|
|
191
|
+
"PUT",
|
|
192
|
+
"DELETE"
|
|
193
|
+
],
|
|
194
|
+
"default": "GET",
|
|
195
|
+
"description": "HTTP method"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"additionalProperties": false,
|
|
199
|
+
"description": "Authentication test configuration"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"required": [
|
|
203
|
+
"type"
|
|
204
|
+
],
|
|
205
|
+
"additionalProperties": false,
|
|
206
|
+
"description": "Authentication config"
|
|
207
|
+
},
|
|
208
|
+
"operations": {
|
|
209
|
+
"type": "array",
|
|
210
|
+
"items": {
|
|
211
|
+
"type": "object",
|
|
212
|
+
"properties": {
|
|
213
|
+
"id": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
216
|
+
"description": "Operation ID (snake_case)"
|
|
217
|
+
},
|
|
218
|
+
"name": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"description": "Operation name"
|
|
221
|
+
},
|
|
222
|
+
"description": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"description": "Operation description"
|
|
225
|
+
},
|
|
226
|
+
"type": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"enum": [
|
|
229
|
+
"read",
|
|
230
|
+
"write",
|
|
231
|
+
"delete",
|
|
232
|
+
"search",
|
|
233
|
+
"trigger",
|
|
234
|
+
"action"
|
|
235
|
+
],
|
|
236
|
+
"description": "Operation type"
|
|
237
|
+
},
|
|
238
|
+
"inputSchema": {
|
|
239
|
+
"type": "array",
|
|
240
|
+
"items": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"name": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"description": "Parameter name"
|
|
246
|
+
},
|
|
247
|
+
"label": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "Parameter label"
|
|
250
|
+
},
|
|
251
|
+
"description": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"description": "Parameter description"
|
|
254
|
+
},
|
|
255
|
+
"type": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"enum": [
|
|
258
|
+
"string",
|
|
259
|
+
"number",
|
|
260
|
+
"boolean",
|
|
261
|
+
"array",
|
|
262
|
+
"object",
|
|
263
|
+
"date",
|
|
264
|
+
"file"
|
|
265
|
+
],
|
|
266
|
+
"description": "Parameter type"
|
|
267
|
+
},
|
|
268
|
+
"required": {
|
|
269
|
+
"type": "boolean",
|
|
270
|
+
"default": false,
|
|
271
|
+
"description": "Required parameter"
|
|
272
|
+
},
|
|
273
|
+
"default": {
|
|
274
|
+
"description": "Default value"
|
|
275
|
+
},
|
|
276
|
+
"validation": {
|
|
277
|
+
"type": "object",
|
|
278
|
+
"additionalProperties": {},
|
|
279
|
+
"description": "Validation rules"
|
|
280
|
+
},
|
|
281
|
+
"dynamicOptions": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"description": "Function to load dynamic options"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": [
|
|
287
|
+
"name",
|
|
288
|
+
"label",
|
|
289
|
+
"type"
|
|
290
|
+
],
|
|
291
|
+
"additionalProperties": false
|
|
292
|
+
},
|
|
293
|
+
"description": "Input parameters"
|
|
294
|
+
},
|
|
295
|
+
"outputSchema": {
|
|
296
|
+
"type": "object",
|
|
297
|
+
"additionalProperties": {},
|
|
298
|
+
"description": "Output schema"
|
|
299
|
+
},
|
|
300
|
+
"sampleOutput": {
|
|
301
|
+
"description": "Sample output"
|
|
302
|
+
},
|
|
303
|
+
"supportsPagination": {
|
|
304
|
+
"type": "boolean",
|
|
305
|
+
"default": false,
|
|
306
|
+
"description": "Supports pagination"
|
|
307
|
+
},
|
|
308
|
+
"supportsFiltering": {
|
|
309
|
+
"type": "boolean",
|
|
310
|
+
"default": false,
|
|
311
|
+
"description": "Supports filtering"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"required": [
|
|
315
|
+
"id",
|
|
316
|
+
"name",
|
|
317
|
+
"type"
|
|
318
|
+
],
|
|
319
|
+
"additionalProperties": false
|
|
320
|
+
},
|
|
321
|
+
"description": "Connector operations"
|
|
322
|
+
},
|
|
323
|
+
"triggers": {
|
|
324
|
+
"type": "array",
|
|
325
|
+
"items": {
|
|
326
|
+
"type": "object",
|
|
327
|
+
"properties": {
|
|
328
|
+
"id": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
331
|
+
"description": "Trigger ID (snake_case)"
|
|
332
|
+
},
|
|
333
|
+
"name": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"description": "Trigger name"
|
|
336
|
+
},
|
|
337
|
+
"description": {
|
|
338
|
+
"type": "string",
|
|
339
|
+
"description": "Trigger description"
|
|
340
|
+
},
|
|
341
|
+
"type": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"enum": [
|
|
344
|
+
"webhook",
|
|
345
|
+
"polling",
|
|
346
|
+
"stream"
|
|
347
|
+
],
|
|
348
|
+
"description": "Trigger mechanism"
|
|
349
|
+
},
|
|
350
|
+
"config": {
|
|
351
|
+
"type": "object",
|
|
352
|
+
"additionalProperties": {},
|
|
353
|
+
"description": "Trigger configuration"
|
|
354
|
+
},
|
|
355
|
+
"outputSchema": {
|
|
356
|
+
"type": "object",
|
|
357
|
+
"additionalProperties": {},
|
|
358
|
+
"description": "Event payload schema"
|
|
359
|
+
},
|
|
360
|
+
"pollingIntervalMs": {
|
|
361
|
+
"type": "integer",
|
|
362
|
+
"minimum": 1000,
|
|
363
|
+
"description": "Polling interval in ms"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"required": [
|
|
367
|
+
"id",
|
|
368
|
+
"name",
|
|
369
|
+
"type"
|
|
370
|
+
],
|
|
371
|
+
"additionalProperties": false
|
|
372
|
+
},
|
|
373
|
+
"description": "Connector triggers"
|
|
374
|
+
},
|
|
375
|
+
"rateLimit": {
|
|
376
|
+
"type": "object",
|
|
377
|
+
"properties": {
|
|
378
|
+
"requestsPerSecond": {
|
|
379
|
+
"type": "number",
|
|
380
|
+
"description": "Max requests per second"
|
|
381
|
+
},
|
|
382
|
+
"requestsPerMinute": {
|
|
383
|
+
"type": "number",
|
|
384
|
+
"description": "Max requests per minute"
|
|
385
|
+
},
|
|
386
|
+
"requestsPerHour": {
|
|
387
|
+
"type": "number",
|
|
388
|
+
"description": "Max requests per hour"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"additionalProperties": false,
|
|
392
|
+
"description": "Rate limiting"
|
|
393
|
+
},
|
|
394
|
+
"author": {
|
|
395
|
+
"type": "string",
|
|
396
|
+
"description": "Connector author"
|
|
397
|
+
},
|
|
398
|
+
"documentation": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"format": "uri",
|
|
401
|
+
"description": "Documentation URL"
|
|
402
|
+
},
|
|
403
|
+
"homepage": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"format": "uri",
|
|
406
|
+
"description": "Homepage URL"
|
|
407
|
+
},
|
|
408
|
+
"license": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"description": "License (SPDX identifier)"
|
|
411
|
+
},
|
|
412
|
+
"tags": {
|
|
413
|
+
"type": "array",
|
|
414
|
+
"items": {
|
|
415
|
+
"type": "string"
|
|
416
|
+
},
|
|
417
|
+
"description": "Connector tags"
|
|
418
|
+
},
|
|
419
|
+
"verified": {
|
|
420
|
+
"type": "boolean",
|
|
421
|
+
"default": false,
|
|
422
|
+
"description": "Verified connector"
|
|
423
|
+
},
|
|
424
|
+
"metadata": {
|
|
425
|
+
"type": "object",
|
|
426
|
+
"additionalProperties": {},
|
|
427
|
+
"description": "Custom metadata"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"required": [
|
|
431
|
+
"id",
|
|
432
|
+
"name",
|
|
433
|
+
"category",
|
|
434
|
+
"authentication"
|
|
435
|
+
],
|
|
436
|
+
"additionalProperties": false
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
440
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ConnectorCategory",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ConnectorCategory": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"crm",
|
|
8
|
+
"payment",
|
|
9
|
+
"communication",
|
|
10
|
+
"storage",
|
|
11
|
+
"analytics",
|
|
12
|
+
"database",
|
|
13
|
+
"marketing",
|
|
14
|
+
"accounting",
|
|
15
|
+
"hr",
|
|
16
|
+
"productivity",
|
|
17
|
+
"ecommerce",
|
|
18
|
+
"support",
|
|
19
|
+
"devtools",
|
|
20
|
+
"social",
|
|
21
|
+
"other"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
26
|
+
}
|