@zapier/zapier-sdk 0.77.1 → 0.77.2
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/CHANGELOG.md +20 -0
- package/dist/experimental.cjs +1 -1
- package/dist/experimental.d.mts +2 -3
- package/dist/experimental.d.ts +918 -934
- package/dist/experimental.mjs +1 -1
- package/dist/{index-BZShISEr.d.mts → index-kC0bJpsG.d.mts} +25 -3
- package/dist/{index-BZShISEr.d.ts → index-kC0bJpsG.d.ts} +25 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +6 -81
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/api/approval-review-stream.d.ts +0 -25
- package/dist/api/approval-review-stream.d.ts.map +0 -1
- package/dist/api/approval-review-stream.js +0 -104
- package/dist/api/auth.d.ts +0 -14
- package/dist/api/auth.d.ts.map +0 -1
- package/dist/api/auth.js +0 -77
- package/dist/api/client.d.ts +0 -9
- package/dist/api/client.d.ts.map +0 -1
- package/dist/api/client.js +0 -1232
- package/dist/api/concurrency.d.ts +0 -28
- package/dist/api/concurrency.d.ts.map +0 -1
- package/dist/api/concurrency.js +0 -90
- package/dist/api/debug.d.ts +0 -14
- package/dist/api/debug.d.ts.map +0 -1
- package/dist/api/debug.js +0 -133
- package/dist/api/error-classification.d.ts +0 -19
- package/dist/api/error-classification.d.ts.map +0 -1
- package/dist/api/error-classification.js +0 -31
- package/dist/api/index.d.ts +0 -33
- package/dist/api/index.d.ts.map +0 -1
- package/dist/api/index.js +0 -44
- package/dist/api/polling.d.ts +0 -64
- package/dist/api/polling.d.ts.map +0 -1
- package/dist/api/polling.js +0 -180
- package/dist/api/schemas.d.ts +0 -423
- package/dist/api/schemas.d.ts.map +0 -1
- package/dist/api/schemas.js +0 -323
- package/dist/api/sse-parser.d.ts +0 -51
- package/dist/api/sse-parser.d.ts.map +0 -1
- package/dist/api/sse-parser.js +0 -95
- package/dist/api/types.d.ts +0 -215
- package/dist/api/types.d.ts.map +0 -1
- package/dist/api/types.js +0 -1
- package/dist/auth.d.ts +0 -149
- package/dist/auth.d.ts.map +0 -1
- package/dist/auth.js +0 -526
- package/dist/cache.d.ts +0 -50
- package/dist/cache.d.ts.map +0 -1
- package/dist/cache.js +0 -47
- package/dist/constants.d.ts +0 -84
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -122
- package/dist/core-stack.d.ts +0 -24
- package/dist/core-stack.d.ts.map +0 -1
- package/dist/core-stack.js +0 -32
- package/dist/credentials.d.ts +0 -57
- package/dist/credentials.d.ts.map +0 -1
- package/dist/credentials.js +0 -184
- package/dist/define/apps-entrypoint.d.ts +0 -3
- package/dist/define/apps-entrypoint.d.ts.map +0 -1
- package/dist/define/apps-entrypoint.js +0 -1
- package/dist/define/apps-registry-keys.d.ts +0 -2
- package/dist/define/apps-registry-keys.d.ts.map +0 -1
- package/dist/define/apps-registry-keys.js +0 -2
- package/dist/define/apps-registry.d.ts +0 -13
- package/dist/define/apps-registry.d.ts.map +0 -1
- package/dist/define/apps-registry.js +0 -31
- package/dist/define/apps-registry.json +0 -9010
- package/dist/define/apps.d.ts +0 -11
- package/dist/define/apps.d.ts.map +0 -1
- package/dist/define/apps.js +0 -2
- package/dist/define/define.d.ts +0 -13
- package/dist/define/define.d.ts.map +0 -1
- package/dist/define/define.js +0 -93
- package/dist/define/helpers.d.ts +0 -8
- package/dist/define/helpers.d.ts.map +0 -1
- package/dist/define/helpers.js +0 -6
- package/dist/define/index.d.ts +0 -5
- package/dist/define/index.d.ts.map +0 -1
- package/dist/define/index.js +0 -2
- package/dist/define/types.d.ts +0 -246
- package/dist/define/types.d.ts.map +0 -1
- package/dist/define/types.js +0 -1
- package/dist/experimental.d.ts.map +0 -1
- package/dist/experimental.js +0 -232
- package/dist/formatters/action.d.ts +0 -4
- package/dist/formatters/action.d.ts.map +0 -1
- package/dist/formatters/action.js +0 -18
- package/dist/formatters/actionResult.d.ts +0 -3
- package/dist/formatters/actionResult.d.ts.map +0 -1
- package/dist/formatters/actionResult.js +0 -25
- package/dist/formatters/app.d.ts +0 -4
- package/dist/formatters/app.d.ts.map +0 -1
- package/dist/formatters/app.js +0 -10
- package/dist/formatters/clientCredentials.d.ts +0 -5
- package/dist/formatters/clientCredentials.d.ts.map +0 -1
- package/dist/formatters/clientCredentials.js +0 -27
- package/dist/formatters/connection.d.ts +0 -4
- package/dist/formatters/connection.d.ts.map +0 -1
- package/dist/formatters/connection.js +0 -26
- package/dist/formatters/field.d.ts +0 -4
- package/dist/formatters/field.d.ts.map +0 -1
- package/dist/formatters/field.js +0 -51
- package/dist/formatters/index.d.ts +0 -2
- package/dist/formatters/index.d.ts.map +0 -1
- package/dist/formatters/index.js +0 -1
- package/dist/formatters/inputFieldChoice.d.ts +0 -4
- package/dist/formatters/inputFieldChoice.d.ts.map +0 -1
- package/dist/formatters/inputFieldChoice.js +0 -16
- package/dist/formatters/tableField.d.ts +0 -4
- package/dist/formatters/tableField.d.ts.map +0 -1
- package/dist/formatters/tableField.js +0 -7
- package/dist/formatters/tableRecord.d.ts +0 -8
- package/dist/formatters/tableRecord.d.ts.map +0 -1
- package/dist/formatters/tableRecord.js +0 -24
- package/dist/formatters/triggerInbox.d.ts +0 -4
- package/dist/formatters/triggerInbox.d.ts.map +0 -1
- package/dist/formatters/triggerInbox.js +0 -31
- package/dist/formatters/triggerMessage.d.ts +0 -5
- package/dist/formatters/triggerMessage.d.ts.map +0 -1
- package/dist/formatters/triggerMessage.js +0 -34
- package/dist/formatters/userProfile.d.ts +0 -4
- package/dist/formatters/userProfile.d.ts.map +0 -1
- package/dist/formatters/userProfile.js +0 -19
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -94
- package/dist/plugins/api/index.d.ts +0 -30
- package/dist/plugins/api/index.d.ts.map +0 -1
- package/dist/plugins/api/index.js +0 -35
- package/dist/plugins/apps/index.d.ts +0 -118
- package/dist/plugins/apps/index.d.ts.map +0 -1
- package/dist/plugins/apps/index.js +0 -156
- package/dist/plugins/apps/schemas.d.ts +0 -50
- package/dist/plugins/apps/schemas.d.ts.map +0 -1
- package/dist/plugins/apps/schemas.js +0 -37
- package/dist/plugins/capabilities/index.d.ts +0 -27
- package/dist/plugins/capabilities/index.d.ts.map +0 -1
- package/dist/plugins/capabilities/index.js +0 -75
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts +0 -70
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/index.js +0 -28
- package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.d.ts +0 -11
- package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/cancelDurableRun/schemas.js +0 -12
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts +0 -49
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/createWorkflow/index.js +0 -24
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.d.ts +0 -20
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.js +0 -42
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +0 -75
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.js +0 -28
- package/dist/plugins/codeSubstrate/deleteWorkflow/schemas.d.ts +0 -10
- package/dist/plugins/codeSubstrate/deleteWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/schemas.js +0 -13
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +0 -76
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.js +0 -21
- package/dist/plugins/codeSubstrate/disableWorkflow/schemas.d.ts +0 -11
- package/dist/plugins/codeSubstrate/disableWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/schemas.js +0 -12
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +0 -76
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.js +0 -21
- package/dist/plugins/codeSubstrate/enableWorkflow/schemas.d.ts +0 -11
- package/dist/plugins/codeSubstrate/enableWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/schemas.js +0 -12
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts +0 -119
- package/dist/plugins/codeSubstrate/getDurableRun/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getDurableRun/index.js +0 -21
- package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts +0 -178
- package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getDurableRun/schemas.js +0 -126
- package/dist/plugins/codeSubstrate/getTriggerRun/index.d.ts +0 -47
- package/dist/plugins/codeSubstrate/getTriggerRun/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getTriggerRun/index.js +0 -23
- package/dist/plugins/codeSubstrate/getTriggerRun/schemas.d.ts +0 -24
- package/dist/plugins/codeSubstrate/getTriggerRun/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getTriggerRun/schemas.js +0 -30
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +0 -114
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.js +0 -21
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts +0 -81
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.js +0 -71
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +0 -112
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.js +0 -25
- package/dist/plugins/codeSubstrate/getWorkflowRun/schemas.d.ts +0 -26
- package/dist/plugins/codeSubstrate/getWorkflowRun/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/schemas.js +0 -43
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +0 -132
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.js +0 -25
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.d.ts +0 -30
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.js +0 -35
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts +0 -55
- package/dist/plugins/codeSubstrate/listDurableRuns/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/index.js +0 -31
- package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts +0 -73
- package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listDurableRuns/schemas.js +0 -58
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +0 -88
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.js +0 -34
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts +0 -63
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.js +0 -69
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +0 -98
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.js +0 -34
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.d.ts +0 -63
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.js +0 -58
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +0 -61
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.js +0 -28
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts +0 -86
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.js +0 -79
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +0 -150
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.js +0 -80
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.d.ts +0 -158
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.js +0 -124
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts +0 -94
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/runDurable/index.js +0 -41
- package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts +0 -149
- package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/runDurable/schemas.js +0 -95
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts +0 -41
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/shared-schemas.js +0 -83
- package/dist/plugins/codeSubstrate/shared.d.ts +0 -72
- package/dist/plugins/codeSubstrate/shared.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/shared.js +0 -115
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +0 -78
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.js +0 -40
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts +0 -16
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/triggerWorkflow/schemas.js +0 -26
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +0 -85
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.js +0 -28
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.d.ts +0 -20
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.d.ts.map +0 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.js +0 -37
- package/dist/plugins/connections/index.d.ts +0 -19
- package/dist/plugins/connections/index.d.ts.map +0 -1
- package/dist/plugins/connections/index.js +0 -21
- package/dist/plugins/createClientCredentials/index.d.ts +0 -32
- package/dist/plugins/createClientCredentials/index.d.ts.map +0 -1
- package/dist/plugins/createClientCredentials/index.js +0 -29
- package/dist/plugins/createClientCredentials/schemas.d.ts +0 -18
- package/dist/plugins/createClientCredentials/schemas.d.ts.map +0 -1
- package/dist/plugins/createClientCredentials/schemas.js +0 -16
- package/dist/plugins/createConnection/index.d.ts +0 -189
- package/dist/plugins/createConnection/index.d.ts.map +0 -1
- package/dist/plugins/createConnection/index.js +0 -71
- package/dist/plugins/createConnection/schemas.d.ts +0 -21
- package/dist/plugins/createConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/createConnection/schemas.js +0 -38
- package/dist/plugins/deleteClientCredentials/index.d.ts +0 -48
- package/dist/plugins/deleteClientCredentials/index.d.ts.map +0 -1
- package/dist/plugins/deleteClientCredentials/index.js +0 -21
- package/dist/plugins/deleteClientCredentials/schemas.d.ts +0 -12
- package/dist/plugins/deleteClientCredentials/schemas.d.ts.map +0 -1
- package/dist/plugins/deleteClientCredentials/schemas.js +0 -8
- package/dist/plugins/deprecated/authentications.d.ts +0 -763
- package/dist/plugins/deprecated/authentications.d.ts.map +0 -1
- package/dist/plugins/deprecated/authentications.js +0 -100
- package/dist/plugins/deprecated/inputFields.d.ts +0 -503
- package/dist/plugins/deprecated/inputFields.d.ts.map +0 -1
- package/dist/plugins/deprecated/inputFields.js +0 -81
- package/dist/plugins/eventEmission/builders.d.ts +0 -14
- package/dist/plugins/eventEmission/builders.d.ts.map +0 -1
- package/dist/plugins/eventEmission/builders.js +0 -117
- package/dist/plugins/eventEmission/event-emission-hook.d.ts +0 -10
- package/dist/plugins/eventEmission/event-emission-hook.d.ts.map +0 -1
- package/dist/plugins/eventEmission/event-emission-hook.js +0 -47
- package/dist/plugins/eventEmission/index.d.ts +0 -50
- package/dist/plugins/eventEmission/index.d.ts.map +0 -1
- package/dist/plugins/eventEmission/index.js +0 -398
- package/dist/plugins/eventEmission/method-metadata.d.ts +0 -16
- package/dist/plugins/eventEmission/method-metadata.d.ts.map +0 -1
- package/dist/plugins/eventEmission/method-metadata.js +0 -20
- package/dist/plugins/eventEmission/transport.d.ts +0 -27
- package/dist/plugins/eventEmission/transport.d.ts.map +0 -1
- package/dist/plugins/eventEmission/transport.js +0 -105
- package/dist/plugins/eventEmission/types.d.ts +0 -67
- package/dist/plugins/eventEmission/types.d.ts.map +0 -1
- package/dist/plugins/eventEmission/types.js +0 -1
- package/dist/plugins/eventEmission/utils.d.ts +0 -56
- package/dist/plugins/eventEmission/utils.d.ts.map +0 -1
- package/dist/plugins/eventEmission/utils.js +0 -142
- package/dist/plugins/fetch/index.d.ts +0 -72
- package/dist/plugins/fetch/index.d.ts.map +0 -1
- package/dist/plugins/fetch/index.js +0 -238
- package/dist/plugins/fetch/schemas.d.ts +0 -28
- package/dist/plugins/fetch/schemas.d.ts.map +0 -1
- package/dist/plugins/fetch/schemas.js +0 -52
- package/dist/plugins/findFirstConnection/index.d.ts +0 -115
- package/dist/plugins/findFirstConnection/index.d.ts.map +0 -1
- package/dist/plugins/findFirstConnection/index.js +0 -25
- package/dist/plugins/findFirstConnection/schemas.d.ts +0 -25
- package/dist/plugins/findFirstConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/findFirstConnection/schemas.js +0 -9
- package/dist/plugins/findUniqueConnection/index.d.ts +0 -115
- package/dist/plugins/findUniqueConnection/index.d.ts.map +0 -1
- package/dist/plugins/findUniqueConnection/index.js +0 -28
- package/dist/plugins/findUniqueConnection/schemas.d.ts +0 -25
- package/dist/plugins/findUniqueConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/findUniqueConnection/schemas.js +0 -9
- package/dist/plugins/getAction/index.d.ts +0 -215
- package/dist/plugins/getAction/index.d.ts.map +0 -1
- package/dist/plugins/getAction/index.js +0 -41
- package/dist/plugins/getAction/schemas.d.ts +0 -82
- package/dist/plugins/getAction/schemas.d.ts.map +0 -1
- package/dist/plugins/getAction/schemas.js +0 -22
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts +0 -301
- package/dist/plugins/getActionInputFieldsSchema/index.d.ts.map +0 -1
- package/dist/plugins/getActionInputFieldsSchema/index.js +0 -57
- package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts +0 -97
- package/dist/plugins/getActionInputFieldsSchema/schemas.d.ts.map +0 -1
- package/dist/plugins/getActionInputFieldsSchema/schemas.js +0 -49
- package/dist/plugins/getApp/index.d.ts +0 -146
- package/dist/plugins/getApp/index.d.ts.map +0 -1
- package/dist/plugins/getApp/index.js +0 -24
- package/dist/plugins/getApp/schemas.d.ts +0 -32
- package/dist/plugins/getApp/schemas.d.ts.map +0 -1
- package/dist/plugins/getApp/schemas.js +0 -18
- package/dist/plugins/getConnection/index.d.ts +0 -179
- package/dist/plugins/getConnection/index.d.ts.map +0 -1
- package/dist/plugins/getConnection/index.js +0 -33
- package/dist/plugins/getConnection/schemas.d.ts +0 -12
- package/dist/plugins/getConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/getConnection/schemas.js +0 -14
- package/dist/plugins/getConnectionStartUrl/index.d.ts +0 -206
- package/dist/plugins/getConnectionStartUrl/index.d.ts.map +0 -1
- package/dist/plugins/getConnectionStartUrl/index.js +0 -39
- package/dist/plugins/getConnectionStartUrl/schemas.d.ts +0 -15
- package/dist/plugins/getConnectionStartUrl/schemas.d.ts.map +0 -1
- package/dist/plugins/getConnectionStartUrl/schemas.js +0 -23
- package/dist/plugins/getProfile/index.d.ts +0 -32
- package/dist/plugins/getProfile/index.d.ts.map +0 -1
- package/dist/plugins/getProfile/index.js +0 -28
- package/dist/plugins/getProfile/schemas.d.ts +0 -4
- package/dist/plugins/getProfile/schemas.d.ts.map +0 -1
- package/dist/plugins/getProfile/schemas.js +0 -5
- package/dist/plugins/listActionInputFieldChoices/index.d.ts +0 -372
- package/dist/plugins/listActionInputFieldChoices/index.d.ts.map +0 -1
- package/dist/plugins/listActionInputFieldChoices/index.js +0 -110
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts +0 -133
- package/dist/plugins/listActionInputFieldChoices/schemas.d.ts.map +0 -1
- package/dist/plugins/listActionInputFieldChoices/schemas.js +0 -75
- package/dist/plugins/listActionInputFields/index.d.ts +0 -330
- package/dist/plugins/listActionInputFields/index.d.ts.map +0 -1
- package/dist/plugins/listActionInputFields/index.js +0 -208
- package/dist/plugins/listActionInputFields/schemas.d.ts +0 -113
- package/dist/plugins/listActionInputFields/schemas.d.ts.map +0 -1
- package/dist/plugins/listActionInputFields/schemas.js +0 -56
- package/dist/plugins/listActions/index.d.ts +0 -219
- package/dist/plugins/listActions/index.d.ts.map +0 -1
- package/dist/plugins/listActions/index.js +0 -60
- package/dist/plugins/listActions/schemas.d.ts +0 -78
- package/dist/plugins/listActions/schemas.d.ts.map +0 -1
- package/dist/plugins/listActions/schemas.js +0 -33
- package/dist/plugins/listApps/index.d.ts +0 -127
- package/dist/plugins/listApps/index.d.ts.map +0 -1
- package/dist/plugins/listApps/index.js +0 -63
- package/dist/plugins/listApps/schemas.d.ts +0 -43
- package/dist/plugins/listApps/schemas.d.ts.map +0 -1
- package/dist/plugins/listApps/schemas.js +0 -54
- package/dist/plugins/listClientCredentials/index.d.ts +0 -36
- package/dist/plugins/listClientCredentials/index.d.ts.map +0 -1
- package/dist/plugins/listClientCredentials/index.js +0 -32
- package/dist/plugins/listClientCredentials/schemas.d.ts +0 -17
- package/dist/plugins/listClientCredentials/schemas.d.ts.map +0 -1
- package/dist/plugins/listClientCredentials/schemas.js +0 -23
- package/dist/plugins/listConnections/index.d.ts +0 -243
- package/dist/plugins/listConnections/index.d.ts.map +0 -1
- package/dist/plugins/listConnections/index.js +0 -97
- package/dist/plugins/listConnections/schemas.d.ts +0 -34
- package/dist/plugins/listConnections/schemas.d.ts.map +0 -1
- package/dist/plugins/listConnections/schemas.js +0 -74
- package/dist/plugins/manifest/index.d.ts +0 -97
- package/dist/plugins/manifest/index.d.ts.map +0 -1
- package/dist/plugins/manifest/index.js +0 -395
- package/dist/plugins/manifest/schemas.d.ts +0 -88
- package/dist/plugins/manifest/schemas.d.ts.map +0 -1
- package/dist/plugins/manifest/schemas.js +0 -61
- package/dist/plugins/registry/index.d.ts +0 -17
- package/dist/plugins/registry/index.d.ts.map +0 -1
- package/dist/plugins/registry/index.js +0 -11
- package/dist/plugins/request/index.d.ts +0 -70
- package/dist/plugins/request/index.d.ts.map +0 -1
- package/dist/plugins/request/index.js +0 -28
- package/dist/plugins/request/schemas.d.ts +0 -46
- package/dist/plugins/request/schemas.d.ts.map +0 -1
- package/dist/plugins/request/schemas.js +0 -42
- package/dist/plugins/runAction/index.d.ts +0 -313
- package/dist/plugins/runAction/index.d.ts.map +0 -1
- package/dist/plugins/runAction/index.js +0 -190
- package/dist/plugins/runAction/schemas.d.ts +0 -108
- package/dist/plugins/runAction/schemas.d.ts.map +0 -1
- package/dist/plugins/runAction/schemas.js +0 -53
- package/dist/plugins/tables/createTable/index.d.ts +0 -48
- package/dist/plugins/tables/createTable/index.d.ts.map +0 -1
- package/dist/plugins/tables/createTable/index.js +0 -20
- package/dist/plugins/tables/createTable/schemas.d.ts +0 -36
- package/dist/plugins/tables/createTable/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/createTable/schemas.js +0 -16
- package/dist/plugins/tables/createTableFields/index.d.ts +0 -92
- package/dist/plugins/tables/createTableFields/index.d.ts.map +0 -1
- package/dist/plugins/tables/createTableFields/index.js +0 -29
- package/dist/plugins/tables/createTableFields/schemas.d.ts +0 -317
- package/dist/plugins/tables/createTableFields/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/createTableFields/schemas.js +0 -62
- package/dist/plugins/tables/createTableRecords/index.d.ts +0 -114
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +0 -1
- package/dist/plugins/tables/createTableRecords/index.js +0 -43
- package/dist/plugins/tables/createTableRecords/schemas.d.ts +0 -92
- package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/createTableRecords/schemas.js +0 -55
- package/dist/plugins/tables/deleteTable/index.d.ts +0 -74
- package/dist/plugins/tables/deleteTable/index.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTable/index.js +0 -23
- package/dist/plugins/tables/deleteTable/schemas.d.ts +0 -28
- package/dist/plugins/tables/deleteTable/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTable/schemas.js +0 -21
- package/dist/plugins/tables/deleteTableFields/index.d.ts +0 -102
- package/dist/plugins/tables/deleteTableFields/index.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTableFields/index.js +0 -30
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts +0 -34
- package/dist/plugins/tables/deleteTableFields/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTableFields/schemas.js +0 -29
- package/dist/plugins/tables/deleteTableRecords/index.d.ts +0 -123
- package/dist/plugins/tables/deleteTableRecords/index.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTableRecords/index.js +0 -23
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts +0 -34
- package/dist/plugins/tables/deleteTableRecords/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/deleteTableRecords/schemas.js +0 -30
- package/dist/plugins/tables/getTable/index.d.ts +0 -81
- package/dist/plugins/tables/getTable/index.d.ts.map +0 -1
- package/dist/plugins/tables/getTable/index.js +0 -24
- package/dist/plugins/tables/getTable/schemas.d.ts +0 -49
- package/dist/plugins/tables/getTable/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/getTable/schemas.js +0 -27
- package/dist/plugins/tables/getTableRecord/index.d.ts +0 -131
- package/dist/plugins/tables/getTableRecord/index.d.ts.map +0 -1
- package/dist/plugins/tables/getTableRecord/index.js +0 -38
- package/dist/plugins/tables/getTableRecord/schemas.d.ts +0 -88
- package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/getTableRecord/schemas.js +0 -56
- package/dist/plugins/tables/listTableFields/index.d.ts +0 -86
- package/dist/plugins/tables/listTableFields/index.d.ts.map +0 -1
- package/dist/plugins/tables/listTableFields/index.js +0 -41
- package/dist/plugins/tables/listTableFields/schemas.d.ts +0 -225
- package/dist/plugins/tables/listTableFields/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/listTableFields/schemas.js +0 -93
- package/dist/plugins/tables/listTableRecords/index.d.ts +0 -136
- package/dist/plugins/tables/listTableRecords/index.d.ts.map +0 -1
- package/dist/plugins/tables/listTableRecords/index.js +0 -81
- package/dist/plugins/tables/listTableRecords/schemas.d.ts +0 -256
- package/dist/plugins/tables/listTableRecords/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/listTableRecords/schemas.js +0 -95
- package/dist/plugins/tables/listTables/index.d.ts +0 -60
- package/dist/plugins/tables/listTables/index.d.ts.map +0 -1
- package/dist/plugins/tables/listTables/index.js +0 -67
- package/dist/plugins/tables/listTables/schemas.d.ts +0 -85
- package/dist/plugins/tables/listTables/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/listTables/schemas.js +0 -72
- package/dist/plugins/tables/shared.d.ts +0 -10
- package/dist/plugins/tables/shared.d.ts.map +0 -1
- package/dist/plugins/tables/shared.js +0 -9
- package/dist/plugins/tables/updateTableRecords/index.d.ts +0 -116
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +0 -1
- package/dist/plugins/tables/updateTableRecords/index.js +0 -47
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts +0 -97
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +0 -1
- package/dist/plugins/tables/updateTableRecords/schemas.js +0 -55
- package/dist/plugins/tables/utils.d.ts +0 -69
- package/dist/plugins/tables/utils.d.ts.map +0 -1
- package/dist/plugins/tables/utils.js +0 -270
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts +0 -108
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.d.ts.map +0 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/index.js +0 -36
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts +0 -34
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/ackTriggerInboxMessages/schemas.js +0 -17
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts +0 -292
- package/dist/plugins/triggers/createTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/createTriggerInbox/index.js +0 -68
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts +0 -20
- package/dist/plugins/triggers/createTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/createTriggerInbox/schemas.js +0 -21
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts +0 -81
- package/dist/plugins/triggers/deleteTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/deleteTriggerInbox/index.js +0 -29
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts +0 -13
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/deleteTriggerInbox/schemas.js +0 -9
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts +0 -277
- package/dist/plugins/triggers/drainTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/drainTriggerInbox/index.js +0 -260
- package/dist/plugins/triggers/drainTriggerInbox/pipeline.d.ts +0 -56
- package/dist/plugins/triggers/drainTriggerInbox/pipeline.d.ts.map +0 -1
- package/dist/plugins/triggers/drainTriggerInbox/pipeline.js +0 -225
- package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts +0 -104
- package/dist/plugins/triggers/drainTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/drainTriggerInbox/schemas.js +0 -102
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts +0 -292
- package/dist/plugins/triggers/ensureTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/ensureTriggerInbox/index.js +0 -65
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts +0 -20
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/ensureTriggerInbox/schemas.js +0 -21
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts +0 -81
- package/dist/plugins/triggers/getTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/getTriggerInbox/index.js +0 -28
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts +0 -13
- package/dist/plugins/triggers/getTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/getTriggerInbox/schemas.js +0 -9
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts +0 -277
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.d.ts.map +0 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/index.js +0 -23
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts +0 -13
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/getTriggerInputFieldsSchema/schemas.js +0 -10
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts +0 -89
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.d.ts.map +0 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/index.js +0 -74
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts +0 -57
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/leaseTriggerInboxMessages/schemas.js +0 -25
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts +0 -82
- package/dist/plugins/triggers/listTriggerInboxMessages/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/index.js +0 -40
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts +0 -37
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInboxMessages/schemas.js +0 -27
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts +0 -56
- package/dist/plugins/triggers/listTriggerInboxes/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInboxes/index.js +0 -42
- package/dist/plugins/triggers/listTriggerInboxes/schemas.d.ts +0 -58
- package/dist/plugins/triggers/listTriggerInboxes/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInboxes/schemas.js +0 -35
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts +0 -360
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInputFieldChoices/index.js +0 -32
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts +0 -20
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInputFieldChoices/schemas.js +0 -28
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts +0 -330
- package/dist/plugins/triggers/listTriggerInputFields/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInputFields/index.js +0 -34
- package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts +0 -16
- package/dist/plugins/triggers/listTriggerInputFields/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggerInputFields/schemas.js +0 -21
- package/dist/plugins/triggers/listTriggers/index.d.ts +0 -207
- package/dist/plugins/triggers/listTriggers/index.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggers/index.js +0 -26
- package/dist/plugins/triggers/listTriggers/schemas.d.ts +0 -11
- package/dist/plugins/triggers/listTriggers/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/listTriggers/schemas.js +0 -18
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts +0 -81
- package/dist/plugins/triggers/pauseTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/pauseTriggerInbox/index.js +0 -28
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts +0 -13
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/pauseTriggerInbox/schemas.js +0 -9
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts +0 -108
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.d.ts.map +0 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/index.js +0 -38
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts +0 -34
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/releaseTriggerInboxMessages/schemas.js +0 -17
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts +0 -81
- package/dist/plugins/triggers/resumeTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/resumeTriggerInbox/index.js +0 -28
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts +0 -13
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/resumeTriggerInbox/schemas.js +0 -9
- package/dist/plugins/triggers/shared.d.ts +0 -17
- package/dist/plugins/triggers/shared.d.ts.map +0 -1
- package/dist/plugins/triggers/shared.js +0 -16
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts +0 -82
- package/dist/plugins/triggers/updateTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/updateTriggerInbox/index.js +0 -32
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts +0 -14
- package/dist/plugins/triggers/updateTriggerInbox/schemas.d.ts.map +0 -1
- package/dist/plugins/triggers/updateTriggerInbox/schemas.js +0 -15
- package/dist/plugins/triggers/utils.d.ts +0 -23
- package/dist/plugins/triggers/utils.d.ts.map +0 -1
- package/dist/plugins/triggers/utils.js +0 -45
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts +0 -221
- package/dist/plugins/triggers/watchTriggerInbox/index.d.ts.map +0 -1
- package/dist/plugins/triggers/watchTriggerInbox/index.js +0 -402
- package/dist/plugins/triggers/watchTriggerInbox/sse.d.ts +0 -32
- package/dist/plugins/triggers/watchTriggerInbox/sse.d.ts.map +0 -1
- package/dist/plugins/triggers/watchTriggerInbox/sse.js +0 -36
- package/dist/plugins/waitForNewConnection/index.d.ts +0 -209
- package/dist/plugins/waitForNewConnection/index.d.ts.map +0 -1
- package/dist/plugins/waitForNewConnection/index.js +0 -75
- package/dist/plugins/waitForNewConnection/schemas.d.ts +0 -17
- package/dist/plugins/waitForNewConnection/schemas.d.ts.map +0 -1
- package/dist/plugins/waitForNewConnection/schemas.js +0 -39
- package/dist/resolvers/actionKey.d.ts +0 -16
- package/dist/resolvers/actionKey.d.ts.map +0 -1
- package/dist/resolvers/actionKey.js +0 -20
- package/dist/resolvers/actionType.d.ts +0 -14
- package/dist/resolvers/actionType.d.ts.map +0 -1
- package/dist/resolvers/actionType.js +0 -24
- package/dist/resolvers/appKey.d.ts +0 -13
- package/dist/resolvers/appKey.d.ts.map +0 -1
- package/dist/resolvers/appKey.js +0 -50
- package/dist/resolvers/clientCredentialsName.d.ts +0 -3
- package/dist/resolvers/clientCredentialsName.d.ts.map +0 -1
- package/dist/resolvers/clientCredentialsName.js +0 -5
- package/dist/resolvers/clientId.d.ts +0 -5
- package/dist/resolvers/clientId.d.ts.map +0 -1
- package/dist/resolvers/clientId.js +0 -14
- package/dist/resolvers/connectionId.d.ts +0 -12
- package/dist/resolvers/connectionId.d.ts.map +0 -1
- package/dist/resolvers/connectionId.js +0 -52
- package/dist/resolvers/durableRunId.d.ts +0 -5
- package/dist/resolvers/durableRunId.d.ts.map +0 -1
- package/dist/resolvers/durableRunId.js +0 -15
- package/dist/resolvers/index.d.ts +0 -27
- package/dist/resolvers/index.d.ts.map +0 -1
- package/dist/resolvers/index.js +0 -28
- package/dist/resolvers/inputFieldKey.d.ts +0 -12
- package/dist/resolvers/inputFieldKey.d.ts.map +0 -1
- package/dist/resolvers/inputFieldKey.js +0 -51
- package/dist/resolvers/inputs.d.ts +0 -17
- package/dist/resolvers/inputs.d.ts.map +0 -1
- package/dist/resolvers/inputs.js +0 -50
- package/dist/resolvers/tableFieldIds.d.ts +0 -7
- package/dist/resolvers/tableFieldIds.d.ts.map +0 -1
- package/dist/resolvers/tableFieldIds.js +0 -20
- package/dist/resolvers/tableFields.d.ts +0 -3
- package/dist/resolvers/tableFields.d.ts.map +0 -1
- package/dist/resolvers/tableFields.js +0 -31
- package/dist/resolvers/tableFilters.d.ts +0 -6
- package/dist/resolvers/tableFilters.d.ts.map +0 -1
- package/dist/resolvers/tableFilters.js +0 -74
- package/dist/resolvers/tableId.d.ts +0 -5
- package/dist/resolvers/tableId.d.ts.map +0 -1
- package/dist/resolvers/tableId.js +0 -30
- package/dist/resolvers/tableName.d.ts +0 -3
- package/dist/resolvers/tableName.d.ts.map +0 -1
- package/dist/resolvers/tableName.js +0 -5
- package/dist/resolvers/tableRecordId.d.ts +0 -10
- package/dist/resolvers/tableRecordId.d.ts.map +0 -1
- package/dist/resolvers/tableRecordId.js +0 -49
- package/dist/resolvers/tableRecords.d.ts +0 -9
- package/dist/resolvers/tableRecords.d.ts.map +0 -1
- package/dist/resolvers/tableRecords.js +0 -77
- package/dist/resolvers/tableSort.d.ts +0 -6
- package/dist/resolvers/tableSort.d.ts.map +0 -1
- package/dist/resolvers/tableSort.js +0 -43
- package/dist/resolvers/triggerInbox.d.ts +0 -5
- package/dist/resolvers/triggerInbox.d.ts.map +0 -1
- package/dist/resolvers/triggerInbox.js +0 -19
- package/dist/resolvers/triggerMessages.d.ts +0 -7
- package/dist/resolvers/triggerMessages.d.ts.map +0 -1
- package/dist/resolvers/triggerMessages.js +0 -21
- package/dist/resolvers/workflowId.d.ts +0 -5
- package/dist/resolvers/workflowId.d.ts.map +0 -1
- package/dist/resolvers/workflowId.js +0 -15
- package/dist/resolvers/workflowRunId.d.ts +0 -7
- package/dist/resolvers/workflowRunId.d.ts.map +0 -1
- package/dist/resolvers/workflowRunId.js +0 -20
- package/dist/resolvers/workflowVersionId.d.ts +0 -7
- package/dist/resolvers/workflowVersionId.d.ts.map +0 -1
- package/dist/resolvers/workflowVersionId.js +0 -20
- package/dist/schemas/Action.d.ts +0 -24
- package/dist/schemas/Action.d.ts.map +0 -1
- package/dist/schemas/Action.js +0 -16
- package/dist/schemas/App.d.ts +0 -56
- package/dist/schemas/App.d.ts.map +0 -1
- package/dist/schemas/App.js +0 -5
- package/dist/schemas/ClientCredentials.d.ts +0 -19
- package/dist/schemas/ClientCredentials.d.ts.map +0 -1
- package/dist/schemas/ClientCredentials.js +0 -6
- package/dist/schemas/Connection.d.ts +0 -32
- package/dist/schemas/Connection.d.ts.map +0 -1
- package/dist/schemas/Connection.js +0 -5
- package/dist/schemas/Field.d.ts +0 -61
- package/dist/schemas/Field.d.ts.map +0 -1
- package/dist/schemas/Field.js +0 -49
- package/dist/schemas/Run.d.ts +0 -3
- package/dist/schemas/Run.d.ts.map +0 -1
- package/dist/schemas/Run.js +0 -5
- package/dist/schemas/TriggerInbox.d.ts +0 -59
- package/dist/schemas/TriggerInbox.d.ts.map +0 -1
- package/dist/schemas/TriggerInbox.js +0 -49
- package/dist/schemas/TriggerMessage.d.ts +0 -48
- package/dist/schemas/TriggerMessage.d.ts.map +0 -1
- package/dist/schemas/TriggerMessage.js +0 -21
- package/dist/schemas/UserProfile.d.ts +0 -12
- package/dist/schemas/UserProfile.d.ts.map +0 -1
- package/dist/schemas/UserProfile.js +0 -13
- package/dist/sdk-version.d.ts +0 -28
- package/dist/sdk-version.d.ts.map +0 -1
- package/dist/sdk-version.js +0 -29
- package/dist/sdk.d.ts +0 -6065
- package/dist/sdk.d.ts.map +0 -1
- package/dist/sdk.js +0 -173
- package/dist/services/implementations.d.ts +0 -63
- package/dist/services/implementations.d.ts.map +0 -1
- package/dist/services/implementations.js +0 -79
- package/dist/types/connections.d.ts +0 -19
- package/dist/types/connections.d.ts.map +0 -1
- package/dist/types/connections.js +0 -20
- package/dist/types/credentials.d.ts +0 -186
- package/dist/types/credentials.d.ts.map +0 -1
- package/dist/types/credentials.js +0 -123
- package/dist/types/domain.d.ts +0 -52
- package/dist/types/domain.d.ts.map +0 -1
- package/dist/types/domain.js +0 -1
- package/dist/types/errors.d.ts +0 -254
- package/dist/types/errors.d.ts.map +0 -1
- package/dist/types/errors.js +0 -336
- package/dist/types/events.d.ts +0 -38
- package/dist/types/events.d.ts.map +0 -1
- package/dist/types/events.js +0 -7
- package/dist/types/functions.d.ts +0 -2
- package/dist/types/functions.d.ts.map +0 -1
- package/dist/types/functions.js +0 -1
- package/dist/types/properties.d.ts +0 -83
- package/dist/types/properties.d.ts.map +0 -1
- package/dist/types/properties.js +0 -120
- package/dist/types/sdk.d.ts +0 -97
- package/dist/types/sdk.d.ts.map +0 -1
- package/dist/types/sdk.js +0 -114
- package/dist/types/signals.d.ts +0 -20
- package/dist/types/signals.d.ts.map +0 -1
- package/dist/types/signals.js +0 -21
- package/dist/types/telemetry-events.d.ts +0 -114
- package/dist/types/telemetry-events.d.ts.map +0 -1
- package/dist/types/telemetry-events.js +0 -10
- package/dist/utils/abort-utils.d.ts +0 -77
- package/dist/utils/abort-utils.d.ts.map +0 -1
- package/dist/utils/abort-utils.js +0 -122
- package/dist/utils/agent.d.ts +0 -44
- package/dist/utils/agent.d.ts.map +0 -1
- package/dist/utils/agent.js +0 -76
- package/dist/utils/array-utils.d.ts +0 -31
- package/dist/utils/array-utils.d.ts.map +0 -1
- package/dist/utils/array-utils.js +0 -36
- package/dist/utils/batch-utils.d.ts +0 -72
- package/dist/utils/batch-utils.d.ts.map +0 -1
- package/dist/utils/batch-utils.js +0 -161
- package/dist/utils/caller-context.d.ts +0 -21
- package/dist/utils/caller-context.d.ts.map +0 -1
- package/dist/utils/caller-context.js +0 -35
- package/dist/utils/domain-utils.d.ts +0 -96
- package/dist/utils/domain-utils.d.ts.map +0 -1
- package/dist/utils/domain-utils.js +0 -248
- package/dist/utils/file-utils.d.ts +0 -4
- package/dist/utils/file-utils.d.ts.map +0 -1
- package/dist/utils/file-utils.js +0 -74
- package/dist/utils/id-utils.d.ts +0 -15
- package/dist/utils/id-utils.d.ts.map +0 -1
- package/dist/utils/id-utils.js +0 -24
- package/dist/utils/logging.d.ts +0 -2
- package/dist/utils/logging.d.ts.map +0 -1
- package/dist/utils/logging.js +0 -2
- package/dist/utils/open-approval.d.ts +0 -2
- package/dist/utils/open-approval.d.ts.map +0 -1
- package/dist/utils/open-approval.js +0 -13
- package/dist/utils/open-url.d.ts +0 -3
- package/dist/utils/open-url.d.ts.map +0 -1
- package/dist/utils/open-url.js +0 -79
- package/dist/utils/pagination.d.ts +0 -38
- package/dist/utils/pagination.d.ts.map +0 -1
- package/dist/utils/pagination.js +0 -53
- package/dist/utils/retry-utils.d.ts +0 -70
- package/dist/utils/retry-utils.d.ts.map +0 -1
- package/dist/utils/retry-utils.js +0 -97
- package/dist/utils/should-open-browser.d.ts +0 -24
- package/dist/utils/should-open-browser.d.ts.map +0 -1
- package/dist/utils/should-open-browser.js +0 -55
- package/dist/utils/telemetry.d.ts +0 -11
- package/dist/utils/telemetry.d.ts.map +0 -1
- package/dist/utils/telemetry.js +0 -19
- package/dist/utils/type-guard-utils.d.ts +0 -7
- package/dist/utils/type-guard-utils.d.ts.map +0 -1
- package/dist/utils/type-guard-utils.js +0 -11
- package/dist/utils/url-utils.d.ts +0 -25
- package/dist/utils/url-utils.d.ts.map +0 -1
- package/dist/utils/url-utils.js +0 -79
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { TablePropertySchema } from "../../../types/properties";
|
|
3
|
-
import { RecordApiItemSchema, RecordItemSchema, } from "../getTableRecord/schemas";
|
|
4
|
-
import { KeyModeSchema } from "../utils";
|
|
5
|
-
// Re-export for consumers
|
|
6
|
-
export { RecordItemSchema };
|
|
7
|
-
// The API returns changesets with old/new values
|
|
8
|
-
const RecordChangesetSchema = z.object({
|
|
9
|
-
change_id: z.string(),
|
|
10
|
-
old: RecordApiItemSchema.nullable(),
|
|
11
|
-
new: RecordApiItemSchema,
|
|
12
|
-
changed_field_ids: z.array(z.number()).nullable(),
|
|
13
|
-
record_id: z.string(),
|
|
14
|
-
});
|
|
15
|
-
export const CreateTableRecordsApiResponseSchema = z.object({
|
|
16
|
-
data: z.array(RecordChangesetSchema),
|
|
17
|
-
});
|
|
18
|
-
export const NewRecordSchema = z.object({
|
|
19
|
-
data: z
|
|
20
|
-
.record(z.string(), z.unknown())
|
|
21
|
-
.describe("The field values for the record, keyed by field ID"),
|
|
22
|
-
});
|
|
23
|
-
const CreateTableRecordsDescription = "Create one or more records in a table";
|
|
24
|
-
const CreateTableRecordsBase = z.object({
|
|
25
|
-
records: z
|
|
26
|
-
.array(NewRecordSchema)
|
|
27
|
-
.min(1)
|
|
28
|
-
.max(100)
|
|
29
|
-
.describe("Array of records to create (max 100)"),
|
|
30
|
-
keyMode: KeyModeSchema,
|
|
31
|
-
});
|
|
32
|
-
// Schema for docs/registry (new param names only)
|
|
33
|
-
export const CreateTableRecordsOptionsSchema = z
|
|
34
|
-
.object({
|
|
35
|
-
table: TablePropertySchema,
|
|
36
|
-
})
|
|
37
|
-
.merge(CreateTableRecordsBase)
|
|
38
|
-
.describe(CreateTableRecordsDescription)
|
|
39
|
-
.meta({ aliases: { tableId: "table" } });
|
|
40
|
-
// Deprecated schema (backward compat)
|
|
41
|
-
const CreateTableRecordsOptionsSchemaDeprecated = z
|
|
42
|
-
.object({
|
|
43
|
-
tableId: z
|
|
44
|
-
.string()
|
|
45
|
-
.regex(/^[A-Z0-9]{26}$/, "Table ID must be a valid ULID")
|
|
46
|
-
.describe("The unique identifier of the table"),
|
|
47
|
-
})
|
|
48
|
-
.merge(CreateTableRecordsBase);
|
|
49
|
-
// Union for runtime validation
|
|
50
|
-
export const CreateTableRecordsOptionsInputSchema = z
|
|
51
|
-
.union([
|
|
52
|
-
CreateTableRecordsOptionsSchema,
|
|
53
|
-
CreateTableRecordsOptionsSchemaDeprecated,
|
|
54
|
-
])
|
|
55
|
-
.describe(CreateTableRecordsDescription);
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { CapabilitiesContext } from "../../capabilities";
|
|
2
|
-
export declare const deleteTablePlugin: (sdk: {
|
|
3
|
-
context: {
|
|
4
|
-
api: import("../../..").ApiClient;
|
|
5
|
-
resolveCredentials: () => Promise<string | {
|
|
6
|
-
clientId: string;
|
|
7
|
-
clientSecret: string;
|
|
8
|
-
type?: "client_credentials" | undefined;
|
|
9
|
-
baseUrl?: string | undefined;
|
|
10
|
-
scope?: string | undefined;
|
|
11
|
-
} | {
|
|
12
|
-
clientId: string;
|
|
13
|
-
type?: "pkce" | undefined;
|
|
14
|
-
baseUrl?: string | undefined;
|
|
15
|
-
scope?: string | undefined;
|
|
16
|
-
} | undefined>;
|
|
17
|
-
};
|
|
18
|
-
} & {
|
|
19
|
-
context: import("../../eventEmission").EventEmissionContext;
|
|
20
|
-
} & {
|
|
21
|
-
listTables: (options?: ({
|
|
22
|
-
tables?: string[] | undefined;
|
|
23
|
-
tableIds?: string[] | undefined;
|
|
24
|
-
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
25
|
-
search?: string | undefined;
|
|
26
|
-
owner?: string | undefined;
|
|
27
|
-
includeShared?: boolean | undefined;
|
|
28
|
-
pageSize?: number | undefined;
|
|
29
|
-
maxItems?: number | undefined;
|
|
30
|
-
cursor?: string | undefined;
|
|
31
|
-
} & {
|
|
32
|
-
cursor?: string;
|
|
33
|
-
pageSize?: number;
|
|
34
|
-
maxItems?: number;
|
|
35
|
-
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
36
|
-
id: string;
|
|
37
|
-
name: string;
|
|
38
|
-
created_at: string;
|
|
39
|
-
edited_at: string;
|
|
40
|
-
kind: "table" | "virtual_table";
|
|
41
|
-
account_id: string;
|
|
42
|
-
profile_id: string;
|
|
43
|
-
description?: string | undefined;
|
|
44
|
-
parent_table_id?: string | undefined;
|
|
45
|
-
}>;
|
|
46
|
-
} & {
|
|
47
|
-
context: {
|
|
48
|
-
meta: {
|
|
49
|
-
listTables: import("kitcore").PluginMeta<unknown>;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
} & {
|
|
53
|
-
context: CapabilitiesContext;
|
|
54
|
-
} & {
|
|
55
|
-
context: {
|
|
56
|
-
meta: Record<string, import("kitcore").PluginMeta>;
|
|
57
|
-
};
|
|
58
|
-
}) => {
|
|
59
|
-
deleteTable: (options?: {
|
|
60
|
-
table: string;
|
|
61
|
-
} | {
|
|
62
|
-
tableId: string;
|
|
63
|
-
} | undefined) => Promise<{
|
|
64
|
-
success: boolean;
|
|
65
|
-
}>;
|
|
66
|
-
} & {
|
|
67
|
-
context: {
|
|
68
|
-
meta: {
|
|
69
|
-
deleteTable: import("kitcore").PluginMeta<unknown>;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
export type DeleteTablePluginProvides = ReturnType<typeof deleteTablePlugin>;
|
|
74
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/tables/deleteTable/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAK9D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAIc,mBAAmB;;;;;;;;;;;;;;;;;;;CAwB9D,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { definePlugin } from "kitcore";
|
|
2
|
-
import { createPluginMethod } from "kitcore";
|
|
3
|
-
import { DeleteTableOptionsInputSchema } from "./schemas";
|
|
4
|
-
import { tableIdResolver } from "../../../resolvers";
|
|
5
|
-
import { tablesDefaults } from "../shared";
|
|
6
|
-
export const deleteTablePlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
7
|
-
...tablesDefaults,
|
|
8
|
-
name: "deleteTable",
|
|
9
|
-
type: "delete",
|
|
10
|
-
itemType: "Table",
|
|
11
|
-
inputSchema: DeleteTableOptionsInputSchema,
|
|
12
|
-
resolvers: { table: tableIdResolver },
|
|
13
|
-
confirm: "delete",
|
|
14
|
-
handler: async ({ sdk, options }) => {
|
|
15
|
-
await sdk.context.checkCapability("canDeleteTables");
|
|
16
|
-
const tableId = "table" in options ? options.table : options.tableId;
|
|
17
|
-
await sdk.context.api.delete(`/tables/api/v1/tables/${tableId}`, undefined, {
|
|
18
|
-
authRequired: true,
|
|
19
|
-
resource: { type: "table", id: tableId },
|
|
20
|
-
});
|
|
21
|
-
return { success: true };
|
|
22
|
-
},
|
|
23
|
-
}));
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const DeleteTableOptionsSchema: z.ZodObject<{
|
|
3
|
-
table: z.ZodString & {
|
|
4
|
-
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
5
|
-
};
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
declare const DeleteTableOptionsSchemaDeprecated: z.ZodObject<{
|
|
8
|
-
tableId: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export declare const DeleteTableOptionsInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11
|
-
table: z.ZodString & {
|
|
12
|
-
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
13
|
-
};
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
tableId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>]>;
|
|
17
|
-
export type DeleteTableOptions = z.infer<typeof DeleteTableOptionsSchema> | (Omit<z.infer<typeof DeleteTableOptionsSchemaDeprecated>, "tableId"> & {
|
|
18
|
-
/** @deprecated Use `table` instead. */
|
|
19
|
-
tableId: z.infer<typeof DeleteTableOptionsSchemaDeprecated>["tableId"];
|
|
20
|
-
});
|
|
21
|
-
export interface DeleteTableResult {
|
|
22
|
-
success: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface DeleteTableSdkFunction {
|
|
25
|
-
deleteTable: (options: DeleteTableOptions) => Promise<DeleteTableResult>;
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/tables/deleteTable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,wBAAwB;;;;iBAKK,CAAC;AAG3C,QAAA,MAAM,kCAAkC;;iBAKtC,CAAC;AAGH,eAAO,MAAM,6BAA6B;;;;;;mBAEP,CAAC;AAGpC,MAAM,MAAM,kBAAkB,GAC1B,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,GACxC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,EAAE,SAAS,CAAC,GAAG;IACrE,uCAAuC;IACvC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC;CACxE,CAAC,CAAC;AAGP,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB;AAGD,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAC1E"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { TablePropertySchema } from "../../../types/properties";
|
|
3
|
-
const DeleteTableDescription = "Delete a table by its ID";
|
|
4
|
-
// Schema for docs/registry (new param names only)
|
|
5
|
-
export const DeleteTableOptionsSchema = z
|
|
6
|
-
.object({
|
|
7
|
-
table: TablePropertySchema,
|
|
8
|
-
})
|
|
9
|
-
.describe(DeleteTableDescription)
|
|
10
|
-
.meta({ aliases: { tableId: "table" } });
|
|
11
|
-
// Deprecated schema (backward compat)
|
|
12
|
-
const DeleteTableOptionsSchemaDeprecated = z.object({
|
|
13
|
-
tableId: z
|
|
14
|
-
.string()
|
|
15
|
-
.regex(/^[A-Z0-9]{26}$/, "Table ID must be a valid ULID")
|
|
16
|
-
.describe("The unique identifier of the table to delete"),
|
|
17
|
-
});
|
|
18
|
-
// Union for runtime validation
|
|
19
|
-
export const DeleteTableOptionsInputSchema = z
|
|
20
|
-
.union([DeleteTableOptionsSchema, DeleteTableOptionsSchemaDeprecated])
|
|
21
|
-
.describe(DeleteTableDescription);
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
export declare const deleteTableFieldsPlugin: (sdk: {
|
|
2
|
-
context: {
|
|
3
|
-
api: import("../../..").ApiClient;
|
|
4
|
-
resolveCredentials: () => Promise<string | {
|
|
5
|
-
clientId: string;
|
|
6
|
-
clientSecret: string;
|
|
7
|
-
type?: "client_credentials" | undefined;
|
|
8
|
-
baseUrl?: string | undefined;
|
|
9
|
-
scope?: string | undefined;
|
|
10
|
-
} | {
|
|
11
|
-
clientId: string;
|
|
12
|
-
type?: "pkce" | undefined;
|
|
13
|
-
baseUrl?: string | undefined;
|
|
14
|
-
scope?: string | undefined;
|
|
15
|
-
} | undefined>;
|
|
16
|
-
};
|
|
17
|
-
} & {
|
|
18
|
-
context: import("../../eventEmission").EventEmissionContext;
|
|
19
|
-
} & {
|
|
20
|
-
listTables: (options?: ({
|
|
21
|
-
tables?: string[] | undefined;
|
|
22
|
-
tableIds?: string[] | undefined;
|
|
23
|
-
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
24
|
-
search?: string | undefined;
|
|
25
|
-
owner?: string | undefined;
|
|
26
|
-
includeShared?: boolean | undefined;
|
|
27
|
-
pageSize?: number | undefined;
|
|
28
|
-
maxItems?: number | undefined;
|
|
29
|
-
cursor?: string | undefined;
|
|
30
|
-
} & {
|
|
31
|
-
cursor?: string;
|
|
32
|
-
pageSize?: number;
|
|
33
|
-
maxItems?: number;
|
|
34
|
-
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
35
|
-
id: string;
|
|
36
|
-
name: string;
|
|
37
|
-
created_at: string;
|
|
38
|
-
edited_at: string;
|
|
39
|
-
kind: "table" | "virtual_table";
|
|
40
|
-
account_id: string;
|
|
41
|
-
profile_id: string;
|
|
42
|
-
description?: string | undefined;
|
|
43
|
-
parent_table_id?: string | undefined;
|
|
44
|
-
}>;
|
|
45
|
-
} & {
|
|
46
|
-
context: {
|
|
47
|
-
meta: {
|
|
48
|
-
listTables: import("kitcore").PluginMeta<unknown>;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
} & {
|
|
52
|
-
listTableFields: (options?: {
|
|
53
|
-
table: string;
|
|
54
|
-
fields?: (string | number)[] | undefined;
|
|
55
|
-
fieldKeys?: (string | number)[] | undefined;
|
|
56
|
-
trash?: "only" | "include" | "exclude" | undefined;
|
|
57
|
-
} | {
|
|
58
|
-
tableId: string;
|
|
59
|
-
fields?: (string | number)[] | undefined;
|
|
60
|
-
fieldKeys?: (string | number)[] | undefined;
|
|
61
|
-
trash?: "only" | "include" | "exclude" | undefined;
|
|
62
|
-
} | undefined) => Promise<{
|
|
63
|
-
data: {
|
|
64
|
-
id: string;
|
|
65
|
-
type: "string" | "number" | "boolean" | "text" | "datetime" | "decimal" | "json" | "email" | "link" | "multiple_string" | "labeled_string" | "multiple_labeled_string" | "multiple_text" | "multiple_boolean" | "multiple_number" | "multiple_decimal" | "multiple_datetime" | "uuid" | "multiple_uuid" | "multiple_json" | "formula" | "button_trigger_zap" | "button_continue_zap" | "multiple_email" | "multiple_link" | "currency" | "phone_number" | "ai_formula" | "linked_record" | "multiple_linked_record";
|
|
66
|
-
name: string;
|
|
67
|
-
created_at?: string | undefined;
|
|
68
|
-
edited_at?: string | undefined;
|
|
69
|
-
options?: Record<string, unknown> | undefined;
|
|
70
|
-
config?: Record<string, unknown> | undefined;
|
|
71
|
-
deleted_at?: string | null | undefined;
|
|
72
|
-
}[];
|
|
73
|
-
}>;
|
|
74
|
-
} & {
|
|
75
|
-
context: {
|
|
76
|
-
meta: {
|
|
77
|
-
listTableFields: import("kitcore").PluginMeta<unknown>;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
} & {
|
|
81
|
-
context: {
|
|
82
|
-
meta: Record<string, import("kitcore").PluginMeta>;
|
|
83
|
-
};
|
|
84
|
-
}) => {
|
|
85
|
-
deleteTableFields: (options?: {
|
|
86
|
-
table: string;
|
|
87
|
-
fields: (string | number)[];
|
|
88
|
-
} | {
|
|
89
|
-
tableId: string;
|
|
90
|
-
fieldKeys: (string | number)[];
|
|
91
|
-
} | undefined) => Promise<{
|
|
92
|
-
success: boolean;
|
|
93
|
-
}>;
|
|
94
|
-
} & {
|
|
95
|
-
context: {
|
|
96
|
-
meta: {
|
|
97
|
-
deleteTableFields: import("kitcore").PluginMeta<unknown>;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
export type DeleteTableFieldsPluginProvides = ReturnType<typeof deleteTableFieldsPlugin>;
|
|
102
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/tables/deleteTableFields/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCnC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,uBAAuB,CAC/B,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { definePlugin } from "kitcore";
|
|
2
|
-
import { createPluginMethod } from "kitcore";
|
|
3
|
-
import { DeleteTableFieldsOptionsInputSchema } from "./schemas";
|
|
4
|
-
import { tableIdResolver, tableFieldIdsResolver } from "../../../resolvers";
|
|
5
|
-
import { resolveFieldKeys } from "../utils";
|
|
6
|
-
import { tablesDefaults } from "../shared";
|
|
7
|
-
export const deleteTableFieldsPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
8
|
-
...tablesDefaults,
|
|
9
|
-
name: "deleteTableFields",
|
|
10
|
-
type: "delete",
|
|
11
|
-
itemType: "Field",
|
|
12
|
-
inputSchema: DeleteTableFieldsOptionsInputSchema,
|
|
13
|
-
resolvers: { table: tableIdResolver, fields: tableFieldIdsResolver },
|
|
14
|
-
confirm: "delete",
|
|
15
|
-
handler: async ({ sdk, options }) => {
|
|
16
|
-
const { api } = sdk.context;
|
|
17
|
-
const tableId = "table" in options ? options.table : options.tableId;
|
|
18
|
-
const fieldKeys = "fields" in options ? options.fields : options.fieldKeys;
|
|
19
|
-
const numericFieldIds = await resolveFieldKeys({
|
|
20
|
-
api,
|
|
21
|
-
tableId,
|
|
22
|
-
fieldKeys,
|
|
23
|
-
});
|
|
24
|
-
await api.delete(`/tables/api/v1/tables/${tableId}/fields`, { field_ids: numericFieldIds }, {
|
|
25
|
-
authRequired: true,
|
|
26
|
-
resource: { type: "table", id: tableId },
|
|
27
|
-
});
|
|
28
|
-
return { success: true };
|
|
29
|
-
},
|
|
30
|
-
}));
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const DeleteTableFieldsOptionsSchema: z.ZodObject<{
|
|
3
|
-
table: z.ZodString & {
|
|
4
|
-
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
5
|
-
};
|
|
6
|
-
fields: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
declare const DeleteTableFieldsOptionsSchemaDeprecated: z.ZodObject<{
|
|
9
|
-
tableId: z.ZodString;
|
|
10
|
-
fieldKeys: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export declare const DeleteTableFieldsOptionsInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
13
|
-
table: z.ZodString & {
|
|
14
|
-
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
15
|
-
};
|
|
16
|
-
fields: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
tableId: z.ZodString;
|
|
19
|
-
fieldKeys: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
20
|
-
}, z.core.$strip>]>;
|
|
21
|
-
export type DeleteTableFieldsOptions = z.infer<typeof DeleteTableFieldsOptionsSchema> | (Omit<z.infer<typeof DeleteTableFieldsOptionsSchemaDeprecated>, "tableId" | "fieldKeys"> & {
|
|
22
|
-
/** @deprecated Use `table` instead. */
|
|
23
|
-
tableId: z.infer<typeof DeleteTableFieldsOptionsSchemaDeprecated>["tableId"];
|
|
24
|
-
/** @deprecated Use `fields` instead. */
|
|
25
|
-
fieldKeys: z.infer<typeof DeleteTableFieldsOptionsSchemaDeprecated>["fieldKeys"];
|
|
26
|
-
});
|
|
27
|
-
export interface DeleteTableFieldsResult {
|
|
28
|
-
success: boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface DeleteTableFieldsSdkFunction {
|
|
31
|
-
deleteTableFields: (options: DeleteTableFieldsOptions) => Promise<DeleteTableFieldsResult>;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/tables/deleteTableFields/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,8BAA8B;;;;;iBAMoB,CAAC;AAGhE,QAAA,MAAM,wCAAwC;;;iBAW5C,CAAC;AAGH,eAAO,MAAM,mCAAmC;;;;;;;;mBAKP,CAAC;AAG1C,MAAM,MAAM,wBAAwB,GAChC,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,GAC9C,CAAC,IAAI,CACH,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,EACxD,SAAS,GAAG,WAAW,CACxB,GAAG;IACF,uCAAuC;IACvC,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,OAAO,wCAAwC,CAChD,CAAC,SAAS,CAAC,CAAC;IACb,wCAAwC;IACxC,SAAS,EAAE,CAAC,CAAC,KAAK,CAChB,OAAO,wCAAwC,CAChD,CAAC,WAAW,CAAC,CAAC;CAChB,CAAC,CAAC;AAGP,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;CAClB;AAGD,MAAM,WAAW,4BAA4B;IAC3C,iBAAiB,EAAE,CACjB,OAAO,EAAE,wBAAwB,KAC9B,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACvC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { TablePropertySchema, FieldsPropertySchema, } from "../../../types/properties";
|
|
3
|
-
const DeleteTableFieldsDescription = "Delete one or more fields from a table";
|
|
4
|
-
// Schema for docs/registry (new param names only)
|
|
5
|
-
export const DeleteTableFieldsOptionsSchema = z
|
|
6
|
-
.object({
|
|
7
|
-
table: TablePropertySchema,
|
|
8
|
-
fields: FieldsPropertySchema.min(1),
|
|
9
|
-
})
|
|
10
|
-
.describe(DeleteTableFieldsDescription)
|
|
11
|
-
.meta({ aliases: { tableId: "table", fieldKeys: "fields" } });
|
|
12
|
-
// Deprecated schema (backward compat)
|
|
13
|
-
const DeleteTableFieldsOptionsSchemaDeprecated = z.object({
|
|
14
|
-
tableId: z
|
|
15
|
-
.string()
|
|
16
|
-
.regex(/^[A-Z0-9]{26}$/, "Table ID must be a valid ULID")
|
|
17
|
-
.describe("The unique identifier of the table"),
|
|
18
|
-
fieldKeys: z
|
|
19
|
-
.array(z.union([z.string(), z.number()]))
|
|
20
|
-
.min(1)
|
|
21
|
-
.describe('Fields to delete. Accepts field names (e.g., "Email") or IDs (e.g., "f6", "6", or 6).'),
|
|
22
|
-
});
|
|
23
|
-
// Union for runtime validation
|
|
24
|
-
export const DeleteTableFieldsOptionsInputSchema = z
|
|
25
|
-
.union([
|
|
26
|
-
DeleteTableFieldsOptionsSchema,
|
|
27
|
-
DeleteTableFieldsOptionsSchemaDeprecated,
|
|
28
|
-
])
|
|
29
|
-
.describe(DeleteTableFieldsDescription);
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
export declare const deleteTableRecordsPlugin: (sdk: {
|
|
2
|
-
context: {
|
|
3
|
-
api: import("../../..").ApiClient;
|
|
4
|
-
resolveCredentials: () => Promise<string | {
|
|
5
|
-
clientId: string;
|
|
6
|
-
clientSecret: string;
|
|
7
|
-
type?: "client_credentials" | undefined;
|
|
8
|
-
baseUrl?: string | undefined;
|
|
9
|
-
scope?: string | undefined;
|
|
10
|
-
} | {
|
|
11
|
-
clientId: string;
|
|
12
|
-
type?: "pkce" | undefined;
|
|
13
|
-
baseUrl?: string | undefined;
|
|
14
|
-
scope?: string | undefined;
|
|
15
|
-
} | undefined>;
|
|
16
|
-
};
|
|
17
|
-
} & {
|
|
18
|
-
context: import("../../eventEmission").EventEmissionContext;
|
|
19
|
-
} & {
|
|
20
|
-
listTables: (options?: ({
|
|
21
|
-
tables?: string[] | undefined;
|
|
22
|
-
tableIds?: string[] | undefined;
|
|
23
|
-
kind?: "table" | "virtual_table" | "both" | undefined;
|
|
24
|
-
search?: string | undefined;
|
|
25
|
-
owner?: string | undefined;
|
|
26
|
-
includeShared?: boolean | undefined;
|
|
27
|
-
pageSize?: number | undefined;
|
|
28
|
-
maxItems?: number | undefined;
|
|
29
|
-
cursor?: string | undefined;
|
|
30
|
-
} & {
|
|
31
|
-
cursor?: string;
|
|
32
|
-
pageSize?: number;
|
|
33
|
-
maxItems?: number;
|
|
34
|
-
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
35
|
-
id: string;
|
|
36
|
-
name: string;
|
|
37
|
-
created_at: string;
|
|
38
|
-
edited_at: string;
|
|
39
|
-
kind: "table" | "virtual_table";
|
|
40
|
-
account_id: string;
|
|
41
|
-
profile_id: string;
|
|
42
|
-
description?: string | undefined;
|
|
43
|
-
parent_table_id?: string | undefined;
|
|
44
|
-
}>;
|
|
45
|
-
} & {
|
|
46
|
-
context: {
|
|
47
|
-
meta: {
|
|
48
|
-
listTables: import("kitcore").PluginMeta<unknown>;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
} & {
|
|
52
|
-
listTableRecords: (options?: (({
|
|
53
|
-
table: string;
|
|
54
|
-
keyMode: "names" | "ids";
|
|
55
|
-
filters?: {
|
|
56
|
-
fieldKey: string;
|
|
57
|
-
operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
|
|
58
|
-
value?: unknown;
|
|
59
|
-
}[] | undefined;
|
|
60
|
-
sort?: {
|
|
61
|
-
fieldKey: string;
|
|
62
|
-
direction: "asc" | "desc";
|
|
63
|
-
} | undefined;
|
|
64
|
-
pageSize?: number | undefined;
|
|
65
|
-
maxItems?: number | undefined;
|
|
66
|
-
cursor?: string | undefined;
|
|
67
|
-
trash?: "only" | "include" | "exclude" | undefined;
|
|
68
|
-
} | {
|
|
69
|
-
tableId: string;
|
|
70
|
-
keyMode: "names" | "ids";
|
|
71
|
-
filters?: {
|
|
72
|
-
fieldKey: string;
|
|
73
|
-
operator: "in" | "contains" | "gt" | "gte" | "lt" | "lte" | "search" | "exact" | "different" | "icontains" | "range" | "isnull" | "startswith" | "is_within";
|
|
74
|
-
value?: unknown;
|
|
75
|
-
}[] | undefined;
|
|
76
|
-
sort?: {
|
|
77
|
-
fieldKey: string;
|
|
78
|
-
direction: "asc" | "desc";
|
|
79
|
-
} | undefined;
|
|
80
|
-
pageSize?: number | undefined;
|
|
81
|
-
maxItems?: number | undefined;
|
|
82
|
-
cursor?: string | undefined;
|
|
83
|
-
trash?: "only" | "include" | "exclude" | undefined;
|
|
84
|
-
}) & {
|
|
85
|
-
cursor?: string;
|
|
86
|
-
pageSize?: number;
|
|
87
|
-
maxItems?: number;
|
|
88
|
-
}) | undefined) => import("kitcore").PaginatedSdkResult<{
|
|
89
|
-
data: Record<string, unknown>;
|
|
90
|
-
id: string;
|
|
91
|
-
created_at: string;
|
|
92
|
-
edited_at: string;
|
|
93
|
-
deleted_at?: string | null | undefined;
|
|
94
|
-
}>;
|
|
95
|
-
} & {
|
|
96
|
-
context: {
|
|
97
|
-
meta: {
|
|
98
|
-
listTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
} & {
|
|
102
|
-
context: {
|
|
103
|
-
meta: Record<string, import("kitcore").PluginMeta>;
|
|
104
|
-
};
|
|
105
|
-
}) => {
|
|
106
|
-
deleteTableRecords: (options?: {
|
|
107
|
-
table: string;
|
|
108
|
-
records: string[];
|
|
109
|
-
} | {
|
|
110
|
-
tableId: string;
|
|
111
|
-
recordIds: string[];
|
|
112
|
-
} | undefined) => Promise<{
|
|
113
|
-
success: boolean;
|
|
114
|
-
}>;
|
|
115
|
-
} & {
|
|
116
|
-
context: {
|
|
117
|
-
meta: {
|
|
118
|
-
deleteTableRecords: import("kitcore").PluginMeta<unknown>;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
export type DeleteTableRecordsPluginProvides = ReturnType<typeof deleteTableRecordsPlugin>;
|
|
123
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/tables/deleteTableRecords/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BpC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,wBAAwB,CAChC,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { definePlugin } from "kitcore";
|
|
2
|
-
import { createPluginMethod } from "kitcore";
|
|
3
|
-
import { DeleteTableRecordsOptionsInputSchema } from "./schemas";
|
|
4
|
-
import { tableIdResolver, tableRecordIdsResolver } from "../../../resolvers";
|
|
5
|
-
import { tablesDefaults } from "../shared";
|
|
6
|
-
export const deleteTableRecordsPlugin = definePlugin((sdk) => createPluginMethod(sdk, {
|
|
7
|
-
...tablesDefaults,
|
|
8
|
-
name: "deleteTableRecords",
|
|
9
|
-
type: "delete",
|
|
10
|
-
itemType: "Record",
|
|
11
|
-
inputSchema: DeleteTableRecordsOptionsInputSchema,
|
|
12
|
-
resolvers: { table: tableIdResolver, records: tableRecordIdsResolver },
|
|
13
|
-
confirm: "delete",
|
|
14
|
-
handler: async ({ sdk, options }) => {
|
|
15
|
-
const tableId = "table" in options ? options.table : options.tableId;
|
|
16
|
-
const recordIds = "records" in options ? options.records : options.recordIds;
|
|
17
|
-
await sdk.context.api.delete(`/tables/api/v1/tables/${tableId}/records`, { record_ids: recordIds }, {
|
|
18
|
-
authRequired: true,
|
|
19
|
-
resource: { type: "table", id: tableId },
|
|
20
|
-
});
|
|
21
|
-
return { success: true };
|
|
22
|
-
},
|
|
23
|
-
}));
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const DeleteTableRecordsOptionsSchema: z.ZodObject<{
|
|
3
|
-
table: z.ZodString & {
|
|
4
|
-
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
5
|
-
};
|
|
6
|
-
records: z.ZodArray<z.ZodString>;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
declare const DeleteTableRecordsOptionsSchemaDeprecated: z.ZodObject<{
|
|
9
|
-
tableId: z.ZodString;
|
|
10
|
-
recordIds: z.ZodArray<z.ZodString>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export declare const DeleteTableRecordsOptionsInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
13
|
-
table: z.ZodString & {
|
|
14
|
-
_def: z.core.$ZodStringDef & import("kitcore").PositionalMetadata;
|
|
15
|
-
};
|
|
16
|
-
records: z.ZodArray<z.ZodString>;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
tableId: z.ZodString;
|
|
19
|
-
recordIds: z.ZodArray<z.ZodString>;
|
|
20
|
-
}, z.core.$strip>]>;
|
|
21
|
-
export type DeleteTableRecordsOptions = z.infer<typeof DeleteTableRecordsOptionsSchema> | (Omit<z.infer<typeof DeleteTableRecordsOptionsSchemaDeprecated>, "tableId" | "recordIds"> & {
|
|
22
|
-
/** @deprecated Use `table` instead. */
|
|
23
|
-
tableId: z.infer<typeof DeleteTableRecordsOptionsSchemaDeprecated>["tableId"];
|
|
24
|
-
/** @deprecated Use `records` instead. */
|
|
25
|
-
recordIds: z.infer<typeof DeleteTableRecordsOptionsSchemaDeprecated>["recordIds"];
|
|
26
|
-
});
|
|
27
|
-
export interface DeleteTableRecordsResult {
|
|
28
|
-
success: boolean;
|
|
29
|
-
}
|
|
30
|
-
export interface DeleteTableRecordsSdkFunction {
|
|
31
|
-
deleteTableRecords: (options: DeleteTableRecordsOptions) => Promise<DeleteTableRecordsResult>;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/plugins/tables/deleteTableRecords/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,+BAA+B;;;;;iBAMoB,CAAC;AAGjE,QAAA,MAAM,yCAAyC;;;iBAU7C,CAAC;AAGH,eAAO,MAAM,oCAAoC;;;;;;;;mBAKP,CAAC;AAG3C,MAAM,MAAM,yBAAyB,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,GAC/C,CAAC,IAAI,CACH,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,EACzD,SAAS,GAAG,WAAW,CACxB,GAAG;IACF,uCAAuC;IACvC,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,OAAO,yCAAyC,CACjD,CAAC,SAAS,CAAC,CAAC;IACb,yCAAyC;IACzC,SAAS,EAAE,CAAC,CAAC,KAAK,CAChB,OAAO,yCAAyC,CACjD,CAAC,WAAW,CAAC,CAAC;CAChB,CAAC,CAAC;AAEP,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,6BAA6B;IAC5C,kBAAkB,EAAE,CAClB,OAAO,EAAE,yBAAyB,KAC/B,OAAO,CAAC,wBAAwB,CAAC,CAAC;CACxC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { TablePropertySchema, RecordsPropertySchema, } from "../../../types/properties";
|
|
3
|
-
const DeleteTableRecordsDescription = "Delete one or more records from a table";
|
|
4
|
-
// Schema for docs/registry (new param names only)
|
|
5
|
-
export const DeleteTableRecordsOptionsSchema = z
|
|
6
|
-
.object({
|
|
7
|
-
table: TablePropertySchema,
|
|
8
|
-
records: RecordsPropertySchema,
|
|
9
|
-
})
|
|
10
|
-
.describe(DeleteTableRecordsDescription)
|
|
11
|
-
.meta({ aliases: { tableId: "table", recordIds: "records" } });
|
|
12
|
-
// Deprecated schema (backward compat)
|
|
13
|
-
const DeleteTableRecordsOptionsSchemaDeprecated = z.object({
|
|
14
|
-
tableId: z
|
|
15
|
-
.string()
|
|
16
|
-
.regex(/^[A-Z0-9]{26}$/, "Table ID must be a valid ULID")
|
|
17
|
-
.describe("The unique identifier of the table"),
|
|
18
|
-
recordIds: z
|
|
19
|
-
.array(z.string().regex(/^[A-Z0-9]{26}$/, "Record ID must be a valid ULID"))
|
|
20
|
-
.min(1)
|
|
21
|
-
.max(100)
|
|
22
|
-
.describe("Array of record IDs to delete (max 100)"),
|
|
23
|
-
});
|
|
24
|
-
// Union for runtime validation
|
|
25
|
-
export const DeleteTableRecordsOptionsInputSchema = z
|
|
26
|
-
.union([
|
|
27
|
-
DeleteTableRecordsOptionsSchema,
|
|
28
|
-
DeleteTableRecordsOptionsSchemaDeprecated,
|
|
29
|
-
])
|
|
30
|
-
.describe(DeleteTableRecordsDescription);
|