@zapier/zapier-sdk 0.18.3 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +44 -32
- package/dist/index.cjs +658 -693
- package/dist/index.d.mts +272 -138
- package/dist/index.d.ts +2541 -40
- package/dist/index.mjs +638 -692
- package/package.json +14 -13
- package/dist/api/auth.d.ts +0 -19
- package/dist/api/auth.d.ts.map +0 -1
- package/dist/api/auth.js +0 -70
- package/dist/api/auth.test.d.ts +0 -2
- package/dist/api/auth.test.d.ts.map +0 -1
- package/dist/api/auth.test.js +0 -220
- package/dist/api/client.d.ts +0 -9
- package/dist/api/client.d.ts.map +0 -1
- package/dist/api/client.integration.test.d.ts +0 -5
- package/dist/api/client.integration.test.d.ts.map +0 -1
- package/dist/api/client.integration.test.js +0 -318
- package/dist/api/client.js +0 -374
- package/dist/api/client.methods.test.d.ts +0 -2
- package/dist/api/client.methods.test.d.ts.map +0 -1
- package/dist/api/client.methods.test.js +0 -158
- package/dist/api/client.test.d.ts +0 -2
- package/dist/api/client.test.d.ts.map +0 -1
- package/dist/api/client.test.js +0 -96
- package/dist/api/debug.d.ts +0 -14
- package/dist/api/debug.d.ts.map +0 -1
- package/dist/api/debug.js +0 -131
- package/dist/api/debug.test.d.ts +0 -2
- package/dist/api/debug.test.d.ts.map +0 -1
- package/dist/api/debug.test.js +0 -59
- package/dist/api/index.d.ts +0 -30
- package/dist/api/index.d.ts.map +0 -1
- package/dist/api/index.js +0 -43
- package/dist/api/polling.d.ts +0 -46
- package/dist/api/polling.d.ts.map +0 -1
- package/dist/api/polling.js +0 -139
- package/dist/api/polling.test.d.ts +0 -2
- package/dist/api/polling.test.d.ts.map +0 -1
- package/dist/api/polling.test.js +0 -318
- package/dist/api/router.d.ts +0 -16
- package/dist/api/router.d.ts.map +0 -1
- package/dist/api/router.js +0 -31
- package/dist/api/router.test.d.ts +0 -2
- package/dist/api/router.test.d.ts.map +0 -1
- package/dist/api/router.test.js +0 -103
- package/dist/api/schemas.d.ts +0 -531
- package/dist/api/schemas.d.ts.map +0 -1
- package/dist/api/schemas.js +0 -389
- package/dist/api/types.d.ts +0 -82
- package/dist/api/types.d.ts.map +0 -1
- package/dist/api/types.js +0 -1
- package/dist/auth.d.ts +0 -52
- package/dist/auth.d.ts.map +0 -1
- package/dist/auth.js +0 -72
- package/dist/auth.test.d.ts +0 -2
- package/dist/auth.test.d.ts.map +0 -1
- package/dist/auth.test.js +0 -102
- package/dist/constants.d.ts +0 -14
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -42
- package/dist/plugins/api/index.d.ts +0 -12
- package/dist/plugins/api/index.d.ts.map +0 -1
- package/dist/plugins/api/index.js +0 -24
- package/dist/plugins/apps/index.d.ts +0 -15
- package/dist/plugins/apps/index.d.ts.map +0 -1
- package/dist/plugins/apps/index.js +0 -112
- package/dist/plugins/apps/schemas.d.ts +0 -42
- package/dist/plugins/apps/schemas.d.ts.map +0 -1
- package/dist/plugins/apps/schemas.js +0 -14
- 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 -109
- package/dist/plugins/eventEmission/index.d.ts +0 -38
- package/dist/plugins/eventEmission/index.d.ts.map +0 -1
- package/dist/plugins/eventEmission/index.js +0 -336
- package/dist/plugins/eventEmission/index.test.d.ts +0 -5
- package/dist/plugins/eventEmission/index.test.d.ts.map +0 -1
- package/dist/plugins/eventEmission/index.test.js +0 -581
- 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 -104
- package/dist/plugins/eventEmission/transport.test.d.ts +0 -5
- package/dist/plugins/eventEmission/transport.test.d.ts.map +0 -1
- package/dist/plugins/eventEmission/transport.test.js +0 -164
- package/dist/plugins/eventEmission/types.d.ts +0 -63
- 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 -45
- package/dist/plugins/eventEmission/utils.d.ts.map +0 -1
- package/dist/plugins/eventEmission/utils.js +0 -114
- package/dist/plugins/fetch/index.d.ts +0 -36
- package/dist/plugins/fetch/index.d.ts.map +0 -1
- package/dist/plugins/fetch/index.js +0 -62
- package/dist/plugins/fetch/schemas.d.ts +0 -19
- package/dist/plugins/fetch/schemas.d.ts.map +0 -1
- package/dist/plugins/fetch/schemas.js +0 -31
- package/dist/plugins/findFirstAuthentication/index.d.ts +0 -21
- package/dist/plugins/findFirstAuthentication/index.d.ts.map +0 -1
- package/dist/plugins/findFirstAuthentication/index.js +0 -36
- package/dist/plugins/findFirstAuthentication/index.test.d.ts +0 -2
- package/dist/plugins/findFirstAuthentication/index.test.d.ts.map +0 -1
- package/dist/plugins/findFirstAuthentication/index.test.js +0 -177
- package/dist/plugins/findFirstAuthentication/schemas.d.ts +0 -20
- package/dist/plugins/findFirstAuthentication/schemas.d.ts.map +0 -1
- package/dist/plugins/findFirstAuthentication/schemas.js +0 -18
- package/dist/plugins/findUniqueAuthentication/index.d.ts +0 -21
- package/dist/plugins/findUniqueAuthentication/index.d.ts.map +0 -1
- package/dist/plugins/findUniqueAuthentication/index.js +0 -39
- package/dist/plugins/findUniqueAuthentication/index.test.d.ts +0 -2
- package/dist/plugins/findUniqueAuthentication/index.test.d.ts.map +0 -1
- package/dist/plugins/findUniqueAuthentication/index.test.js +0 -159
- package/dist/plugins/findUniqueAuthentication/schemas.d.ts +0 -20
- package/dist/plugins/findUniqueAuthentication/schemas.d.ts.map +0 -1
- package/dist/plugins/findUniqueAuthentication/schemas.js +0 -18
- package/dist/plugins/getAction/index.d.ts +0 -25
- package/dist/plugins/getAction/index.d.ts.map +0 -1
- package/dist/plugins/getAction/index.js +0 -42
- package/dist/plugins/getAction/index.test.d.ts +0 -2
- package/dist/plugins/getAction/index.test.d.ts.map +0 -1
- package/dist/plugins/getAction/index.test.js +0 -211
- package/dist/plugins/getAction/schemas.d.ts +0 -30
- package/dist/plugins/getAction/schemas.d.ts.map +0 -1
- package/dist/plugins/getAction/schemas.js +0 -12
- package/dist/plugins/getApp/index.d.ts +0 -21
- package/dist/plugins/getApp/index.d.ts.map +0 -1
- package/dist/plugins/getApp/index.js +0 -44
- package/dist/plugins/getApp/index.test.d.ts +0 -2
- package/dist/plugins/getApp/index.test.d.ts.map +0 -1
- package/dist/plugins/getApp/index.test.js +0 -157
- package/dist/plugins/getApp/schemas.d.ts +0 -16
- package/dist/plugins/getApp/schemas.d.ts.map +0 -1
- package/dist/plugins/getApp/schemas.js +0 -8
- package/dist/plugins/getAuthentication/index.d.ts +0 -21
- package/dist/plugins/getAuthentication/index.d.ts.map +0 -1
- package/dist/plugins/getAuthentication/index.js +0 -29
- package/dist/plugins/getAuthentication/index.test.d.ts +0 -2
- package/dist/plugins/getAuthentication/index.test.d.ts.map +0 -1
- package/dist/plugins/getAuthentication/index.test.js +0 -106
- package/dist/plugins/getAuthentication/schemas.d.ts +0 -7
- package/dist/plugins/getAuthentication/schemas.d.ts.map +0 -1
- package/dist/plugins/getAuthentication/schemas.js +0 -1
- package/dist/plugins/getInputFieldsSchema/index.d.ts +0 -23
- package/dist/plugins/getInputFieldsSchema/index.d.ts.map +0 -1
- package/dist/plugins/getInputFieldsSchema/index.js +0 -53
- package/dist/plugins/getInputFieldsSchema/index.test.d.ts +0 -2
- package/dist/plugins/getInputFieldsSchema/index.test.d.ts.map +0 -1
- package/dist/plugins/getInputFieldsSchema/index.test.js +0 -291
- package/dist/plugins/getInputFieldsSchema/schemas.d.ts +0 -28
- package/dist/plugins/getInputFieldsSchema/schemas.d.ts.map +0 -1
- package/dist/plugins/getInputFieldsSchema/schemas.js +0 -13
- package/dist/plugins/getProfile/index.d.ts +0 -25
- package/dist/plugins/getProfile/index.d.ts.map +0 -1
- package/dist/plugins/getProfile/index.js +0 -39
- package/dist/plugins/getProfile/schemas.d.ts +0 -13
- package/dist/plugins/getProfile/schemas.d.ts.map +0 -1
- package/dist/plugins/getProfile/schemas.js +0 -6
- package/dist/plugins/listActions/index.d.ts +0 -30
- package/dist/plugins/listActions/index.d.ts.map +0 -1
- package/dist/plugins/listActions/index.js +0 -75
- package/dist/plugins/listActions/index.test.d.ts +0 -2
- package/dist/plugins/listActions/index.test.d.ts.map +0 -1
- package/dist/plugins/listActions/index.test.js +0 -453
- package/dist/plugins/listActions/schemas.d.ts +0 -35
- package/dist/plugins/listActions/schemas.d.ts.map +0 -1
- package/dist/plugins/listActions/schemas.js +0 -22
- package/dist/plugins/listApps/index.d.ts +0 -25
- package/dist/plugins/listApps/index.d.ts.map +0 -1
- package/dist/plugins/listApps/index.js +0 -69
- package/dist/plugins/listApps/index.test.d.ts +0 -2
- package/dist/plugins/listApps/index.test.d.ts.map +0 -1
- package/dist/plugins/listApps/index.test.js +0 -141
- package/dist/plugins/listApps/schemas.d.ts +0 -26
- package/dist/plugins/listApps/schemas.d.ts.map +0 -1
- package/dist/plugins/listApps/schemas.js +0 -19
- package/dist/plugins/listAuthentications/index.d.ts +0 -24
- package/dist/plugins/listAuthentications/index.d.ts.map +0 -1
- package/dist/plugins/listAuthentications/index.js +0 -77
- package/dist/plugins/listAuthentications/index.test.d.ts +0 -2
- package/dist/plugins/listAuthentications/index.test.d.ts.map +0 -1
- package/dist/plugins/listAuthentications/index.test.js +0 -832
- package/dist/plugins/listAuthentications/schemas.d.ts +0 -30
- package/dist/plugins/listAuthentications/schemas.d.ts.map +0 -1
- package/dist/plugins/listAuthentications/schemas.js +0 -32
- package/dist/plugins/listInputFieldChoices/index.d.ts +0 -33
- package/dist/plugins/listInputFieldChoices/index.d.ts.map +0 -1
- package/dist/plugins/listInputFieldChoices/index.js +0 -115
- package/dist/plugins/listInputFieldChoices/index.test.d.ts +0 -2
- package/dist/plugins/listInputFieldChoices/index.test.d.ts.map +0 -1
- package/dist/plugins/listInputFieldChoices/index.test.js +0 -717
- package/dist/plugins/listInputFieldChoices/schemas.d.ts +0 -43
- package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +0 -1
- package/dist/plugins/listInputFieldChoices/schemas.js +0 -65
- package/dist/plugins/listInputFields/index.d.ts +0 -34
- package/dist/plugins/listInputFields/index.d.ts.map +0 -1
- package/dist/plugins/listInputFields/index.js +0 -204
- package/dist/plugins/listInputFields/index.test.d.ts +0 -2
- package/dist/plugins/listInputFields/index.test.d.ts.map +0 -1
- package/dist/plugins/listInputFields/index.test.js +0 -359
- package/dist/plugins/listInputFields/schemas.d.ts +0 -35
- package/dist/plugins/listInputFields/schemas.d.ts.map +0 -1
- package/dist/plugins/listInputFields/schemas.js +0 -23
- package/dist/plugins/manifest/index.d.ts +0 -85
- package/dist/plugins/manifest/index.d.ts.map +0 -1
- package/dist/plugins/manifest/index.js +0 -376
- package/dist/plugins/manifest/index.test.d.ts +0 -2
- package/dist/plugins/manifest/index.test.d.ts.map +0 -1
- package/dist/plugins/manifest/index.test.js +0 -1139
- package/dist/plugins/manifest/schemas.d.ts +0 -57
- package/dist/plugins/manifest/schemas.d.ts.map +0 -1
- package/dist/plugins/manifest/schemas.js +0 -50
- package/dist/plugins/registry/index.d.ts +0 -21
- package/dist/plugins/registry/index.d.ts.map +0 -1
- package/dist/plugins/registry/index.js +0 -117
- package/dist/plugins/request/index.d.ts +0 -21
- package/dist/plugins/request/index.d.ts.map +0 -1
- package/dist/plugins/request/index.js +0 -76
- package/dist/plugins/request/index.test.d.ts +0 -2
- package/dist/plugins/request/index.test.d.ts.map +0 -1
- package/dist/plugins/request/index.test.js +0 -337
- package/dist/plugins/request/schemas.d.ts +0 -54
- package/dist/plugins/request/schemas.d.ts.map +0 -1
- package/dist/plugins/request/schemas.js +0 -41
- package/dist/plugins/runAction/index.d.ts +0 -33
- package/dist/plugins/runAction/index.d.ts.map +0 -1
- package/dist/plugins/runAction/index.js +0 -108
- package/dist/plugins/runAction/index.test.d.ts +0 -2
- package/dist/plugins/runAction/index.test.d.ts.map +0 -1
- package/dist/plugins/runAction/index.test.js +0 -333
- package/dist/plugins/runAction/schemas.d.ts +0 -34
- package/dist/plugins/runAction/schemas.d.ts.map +0 -1
- package/dist/plugins/runAction/schemas.js +0 -23
- package/dist/resolvers/actionKey.d.ts +0 -15
- package/dist/resolvers/actionKey.d.ts.map +0 -1
- package/dist/resolvers/actionKey.js +0 -19
- package/dist/resolvers/actionType.d.ts +0 -10
- package/dist/resolvers/actionType.d.ts.map +0 -1
- package/dist/resolvers/actionType.js +0 -21
- package/dist/resolvers/appKey.d.ts +0 -3
- package/dist/resolvers/appKey.d.ts.map +0 -1
- package/dist/resolvers/appKey.js +0 -5
- package/dist/resolvers/authenticationId.d.ts +0 -9
- package/dist/resolvers/authenticationId.d.ts.map +0 -1
- package/dist/resolvers/authenticationId.js +0 -42
- package/dist/resolvers/index.d.ts +0 -8
- package/dist/resolvers/index.d.ts.map +0 -1
- package/dist/resolvers/index.js +0 -8
- package/dist/resolvers/inputFieldKey.d.ts +0 -11
- package/dist/resolvers/inputFieldKey.d.ts.map +0 -1
- package/dist/resolvers/inputFieldKey.js +0 -47
- 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/schemas/Action.d.ts +0 -24
- package/dist/schemas/Action.d.ts.map +0 -1
- package/dist/schemas/Action.js +0 -40
- package/dist/schemas/App.d.ts +0 -57
- package/dist/schemas/App.d.ts.map +0 -1
- package/dist/schemas/App.js +0 -31
- package/dist/schemas/Auth.d.ts +0 -55
- package/dist/schemas/Auth.d.ts.map +0 -1
- package/dist/schemas/Auth.js +0 -33
- package/dist/schemas/Field.d.ts +0 -61
- package/dist/schemas/Field.d.ts.map +0 -1
- package/dist/schemas/Field.js +0 -116
- package/dist/schemas/Run.d.ts +0 -3
- package/dist/schemas/Run.d.ts.map +0 -1
- package/dist/schemas/Run.js +0 -31
- package/dist/schemas/UserProfile.d.ts +0 -13
- package/dist/schemas/UserProfile.d.ts.map +0 -1
- package/dist/schemas/UserProfile.js +0 -32
- package/dist/sdk.d.ts +0 -146
- package/dist/sdk.d.ts.map +0 -1
- package/dist/sdk.js +0 -112
- package/dist/sdk.test.d.ts +0 -2
- package/dist/sdk.test.d.ts.map +0 -1
- package/dist/sdk.test.js +0 -255
- package/dist/services/implementations.d.ts +0 -63
- package/dist/services/implementations.d.ts.map +0 -1
- package/dist/services/implementations.js +0 -80
- package/dist/temporary-internal-core/handlers/listApps.d.ts +0 -67
- package/dist/temporary-internal-core/handlers/listApps.d.ts.map +0 -1
- package/dist/temporary-internal-core/handlers/listApps.js +0 -134
- package/dist/temporary-internal-core/handlers/listApps.test.d.ts +0 -2
- package/dist/temporary-internal-core/handlers/listApps.test.d.ts.map +0 -1
- package/dist/temporary-internal-core/handlers/listApps.test.js +0 -367
- package/dist/temporary-internal-core/index.d.ts +0 -18
- package/dist/temporary-internal-core/index.d.ts.map +0 -1
- package/dist/temporary-internal-core/index.js +0 -18
- package/dist/temporary-internal-core/schemas/apps/index.d.ts +0 -175
- package/dist/temporary-internal-core/schemas/apps/index.d.ts.map +0 -1
- package/dist/temporary-internal-core/schemas/apps/index.js +0 -97
- package/dist/temporary-internal-core/schemas/errors/index.d.ts +0 -139
- package/dist/temporary-internal-core/schemas/errors/index.d.ts.map +0 -1
- package/dist/temporary-internal-core/schemas/errors/index.js +0 -129
- package/dist/temporary-internal-core/schemas/implementations/index.d.ts +0 -127
- package/dist/temporary-internal-core/schemas/implementations/index.d.ts.map +0 -1
- package/dist/temporary-internal-core/schemas/implementations/index.js +0 -79
- package/dist/temporary-internal-core/types/handler.d.ts +0 -51
- package/dist/temporary-internal-core/types/handler.d.ts.map +0 -1
- package/dist/temporary-internal-core/types/handler.js +0 -8
- package/dist/temporary-internal-core/types/index.d.ts +0 -5
- package/dist/temporary-internal-core/types/index.d.ts.map +0 -1
- package/dist/temporary-internal-core/types/index.js +0 -4
- package/dist/temporary-internal-core/utils/app-locators.d.ts +0 -34
- package/dist/temporary-internal-core/utils/app-locators.d.ts.map +0 -1
- package/dist/temporary-internal-core/utils/app-locators.js +0 -39
- package/dist/temporary-internal-core/utils/string-utils.d.ts +0 -28
- package/dist/temporary-internal-core/utils/string-utils.d.ts.map +0 -1
- package/dist/temporary-internal-core/utils/string-utils.js +0 -52
- package/dist/temporary-internal-core/utils/transformations.d.ts +0 -18
- package/dist/temporary-internal-core/utils/transformations.d.ts.map +0 -1
- package/dist/temporary-internal-core/utils/transformations.js +0 -36
- 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/domain.test.d.ts +0 -2
- package/dist/types/domain.test.d.ts.map +0 -1
- package/dist/types/domain.test.js +0 -39
- package/dist/types/errors.d.ts +0 -143
- package/dist/types/errors.d.ts.map +0 -1
- package/dist/types/errors.js +0 -187
- 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 -27
- package/dist/types/functions.d.ts.map +0 -1
- package/dist/types/functions.js +0 -1
- package/dist/types/plugin.d.ts +0 -75
- package/dist/types/plugin.d.ts.map +0 -1
- package/dist/types/plugin.js +0 -9
- package/dist/types/properties.d.ts +0 -33
- package/dist/types/properties.d.ts.map +0 -1
- package/dist/types/properties.js +0 -52
- package/dist/types/sdk.d.ts +0 -69
- package/dist/types/sdk.d.ts.map +0 -1
- package/dist/types/sdk.js +0 -4
- package/dist/types/telemetry-events.d.ts +0 -105
- package/dist/types/telemetry-events.d.ts.map +0 -1
- package/dist/types/telemetry-events.js +0 -8
- 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/array-utils.test.d.ts +0 -2
- package/dist/utils/array-utils.test.d.ts.map +0 -1
- package/dist/utils/array-utils.test.js +0 -107
- 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 -162
- package/dist/utils/batch-utils.test.d.ts +0 -2
- package/dist/utils/batch-utils.test.d.ts.map +0 -1
- package/dist/utils/batch-utils.test.js +0 -476
- package/dist/utils/domain-utils.d.ts +0 -66
- package/dist/utils/domain-utils.d.ts.map +0 -1
- package/dist/utils/domain-utils.js +0 -164
- package/dist/utils/domain-utils.test.d.ts +0 -2
- package/dist/utils/domain-utils.test.d.ts.map +0 -1
- package/dist/utils/domain-utils.test.js +0 -346
- 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/file-utils.test.d.ts +0 -2
- package/dist/utils/file-utils.test.d.ts.map +0 -1
- package/dist/utils/file-utils.test.js +0 -51
- package/dist/utils/function-utils.d.ts +0 -73
- package/dist/utils/function-utils.d.ts.map +0 -1
- package/dist/utils/function-utils.js +0 -245
- package/dist/utils/function-utils.test.d.ts +0 -2
- package/dist/utils/function-utils.test.d.ts.map +0 -1
- package/dist/utils/function-utils.test.js +0 -110
- package/dist/utils/id-utils.d.ts +0 -13
- package/dist/utils/id-utils.d.ts.map +0 -1
- package/dist/utils/id-utils.js +0 -22
- package/dist/utils/id-utils.test.d.ts +0 -2
- package/dist/utils/id-utils.test.d.ts.map +0 -1
- package/dist/utils/id-utils.test.js +0 -22
- package/dist/utils/pagination-utils.d.ts +0 -37
- package/dist/utils/pagination-utils.d.ts.map +0 -1
- package/dist/utils/pagination-utils.js +0 -165
- package/dist/utils/pagination-utils.test.d.ts +0 -17
- package/dist/utils/pagination-utils.test.d.ts.map +0 -1
- package/dist/utils/pagination-utils.test.js +0 -461
- package/dist/utils/retry-utils.d.ts +0 -45
- package/dist/utils/retry-utils.d.ts.map +0 -1
- package/dist/utils/retry-utils.js +0 -51
- package/dist/utils/retry-utils.test.d.ts +0 -2
- package/dist/utils/retry-utils.test.d.ts.map +0 -1
- package/dist/utils/retry-utils.test.js +0 -90
- package/dist/utils/schema-utils.d.ts +0 -69
- package/dist/utils/schema-utils.d.ts.map +0 -1
- package/dist/utils/schema-utils.js +0 -72
- package/dist/utils/string-utils.d.ts +0 -40
- package/dist/utils/string-utils.d.ts.map +0 -1
- package/dist/utils/string-utils.js +0 -69
- package/dist/utils/string-utils.test.d.ts +0 -2
- package/dist/utils/string-utils.test.d.ts.map +0 -1
- package/dist/utils/string-utils.test.js +0 -59
- package/dist/utils/telemetry-utils.d.ts +0 -44
- package/dist/utils/telemetry-utils.d.ts.map +0 -1
- package/dist/utils/telemetry-utils.js +0 -55
- package/dist/utils/telemetry-utils.test.d.ts +0 -2
- package/dist/utils/telemetry-utils.test.d.ts.map +0 -1
- package/dist/utils/telemetry-utils.test.js +0 -94
- package/dist/utils/url-utils.d.ts +0 -19
- package/dist/utils/url-utils.d.ts.map +0 -1
- package/dist/utils/url-utils.js +0 -62
- package/dist/utils/url-utils.test.d.ts +0 -2
- package/dist/utils/url-utils.test.d.ts.map +0 -1
- package/dist/utils/url-utils.test.js +0 -103
- package/dist/utils/validation.d.ts +0 -4
- package/dist/utils/validation.d.ts.map +0 -1
- package/dist/utils/validation.js +0 -30
- package/dist/utils/validation.test.d.ts +0 -2
- package/dist/utils/validation.test.d.ts.map +0 -1
- package/dist/utils/validation.test.js +0 -44
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* App and Service schemas
|
|
3
|
-
*
|
|
4
|
-
* Covers:
|
|
5
|
-
* - App metadata
|
|
6
|
-
* - Service definitions
|
|
7
|
-
* - App listings and searches
|
|
8
|
-
*/
|
|
9
|
-
import { z } from "zod";
|
|
10
|
-
/**
|
|
11
|
-
* Public API schema for listApps operation
|
|
12
|
-
*
|
|
13
|
-
* This is the user-facing schema that accepts app keys (slugs, implementation names, etc.)
|
|
14
|
-
* The plugin resolves these to implementation IDs before calling the handler.
|
|
15
|
-
*/
|
|
16
|
-
export declare const ListAppsOptionsSchema: z.ZodObject<{
|
|
17
|
-
appKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
-
search: z.ZodOptional<z.ZodString>;
|
|
19
|
-
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
20
|
-
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
21
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
22
|
-
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
23
|
-
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
-
}, z.core.$strip>>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
export type ListAppsOptions = z.infer<typeof ListAppsOptionsSchema>;
|
|
27
|
-
/**
|
|
28
|
-
* Normalized app item returned by listApps
|
|
29
|
-
* This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id)
|
|
30
|
-
*/
|
|
31
|
-
export declare const AppItemSchema: z.ZodObject<{
|
|
32
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
-
id: z.ZodNumber;
|
|
34
|
-
name: z.ZodString;
|
|
35
|
-
slug: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>>;
|
|
37
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
38
|
-
read: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
40
|
-
write: z.ZodOptional<z.ZodNumber>;
|
|
41
|
-
search: z.ZodOptional<z.ZodNumber>;
|
|
42
|
-
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
43
|
-
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
44
|
-
filter: z.ZodOptional<z.ZodNumber>;
|
|
45
|
-
}, z.core.$strip>>;
|
|
46
|
-
description: z.ZodOptional<z.ZodString>;
|
|
47
|
-
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
-
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
49
|
-
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
50
|
-
banner: z.ZodOptional<z.ZodString>;
|
|
51
|
-
image: z.ZodOptional<z.ZodString>;
|
|
52
|
-
images: z.ZodOptional<z.ZodObject<{
|
|
53
|
-
url_16x16: z.ZodOptional<z.ZodString>;
|
|
54
|
-
url_32x32: z.ZodOptional<z.ZodString>;
|
|
55
|
-
url_64x64: z.ZodOptional<z.ZodString>;
|
|
56
|
-
url_128x128: z.ZodOptional<z.ZodString>;
|
|
57
|
-
}, z.core.$strip>>;
|
|
58
|
-
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
-
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
-
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
-
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
-
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
-
popularity: z.ZodOptional<z.ZodNumber>;
|
|
65
|
-
primary_color: z.ZodOptional<z.ZodString>;
|
|
66
|
-
slug: z.ZodString;
|
|
67
|
-
auth_type: z.ZodOptional<z.ZodString>;
|
|
68
|
-
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
-
secondary_color: z.ZodOptional<z.ZodString>;
|
|
70
|
-
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
-
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
-
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
-
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
74
|
-
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
-
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
-
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
-
visibility: z.ZodOptional<z.ZodString>;
|
|
78
|
-
classification: z.ZodOptional<z.ZodString>;
|
|
79
|
-
title: z.ZodString;
|
|
80
|
-
key: z.ZodString;
|
|
81
|
-
implementation_id: z.ZodString;
|
|
82
|
-
version: z.ZodOptional<z.ZodString>;
|
|
83
|
-
}, z.core.$strip>;
|
|
84
|
-
export type AppItem = z.infer<typeof AppItemSchema>;
|
|
85
|
-
/**
|
|
86
|
-
* Response schema for listApps (paginated)
|
|
87
|
-
*/
|
|
88
|
-
export declare const ListAppsResponseSchema: z.ZodObject<{
|
|
89
|
-
data: z.ZodArray<z.ZodObject<{
|
|
90
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
|
-
id: z.ZodNumber;
|
|
92
|
-
name: z.ZodString;
|
|
93
|
-
slug: z.ZodString;
|
|
94
|
-
}, z.core.$strip>>>;
|
|
95
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
96
|
-
read: z.ZodOptional<z.ZodNumber>;
|
|
97
|
-
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
98
|
-
write: z.ZodOptional<z.ZodNumber>;
|
|
99
|
-
search: z.ZodOptional<z.ZodNumber>;
|
|
100
|
-
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
101
|
-
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
102
|
-
filter: z.ZodOptional<z.ZodNumber>;
|
|
103
|
-
}, z.core.$strip>>;
|
|
104
|
-
description: z.ZodOptional<z.ZodString>;
|
|
105
|
-
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
-
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
107
|
-
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
108
|
-
banner: z.ZodOptional<z.ZodString>;
|
|
109
|
-
image: z.ZodOptional<z.ZodString>;
|
|
110
|
-
images: z.ZodOptional<z.ZodObject<{
|
|
111
|
-
url_16x16: z.ZodOptional<z.ZodString>;
|
|
112
|
-
url_32x32: z.ZodOptional<z.ZodString>;
|
|
113
|
-
url_64x64: z.ZodOptional<z.ZodString>;
|
|
114
|
-
url_128x128: z.ZodOptional<z.ZodString>;
|
|
115
|
-
}, z.core.$strip>>;
|
|
116
|
-
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
-
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
-
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
-
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
-
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
-
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
-
popularity: z.ZodOptional<z.ZodNumber>;
|
|
123
|
-
primary_color: z.ZodOptional<z.ZodString>;
|
|
124
|
-
slug: z.ZodString;
|
|
125
|
-
auth_type: z.ZodOptional<z.ZodString>;
|
|
126
|
-
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
-
secondary_color: z.ZodOptional<z.ZodString>;
|
|
128
|
-
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
-
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
-
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
-
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
-
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
-
visibility: z.ZodOptional<z.ZodString>;
|
|
136
|
-
classification: z.ZodOptional<z.ZodString>;
|
|
137
|
-
title: z.ZodString;
|
|
138
|
-
key: z.ZodString;
|
|
139
|
-
implementation_id: z.ZodString;
|
|
140
|
-
version: z.ZodOptional<z.ZodString>;
|
|
141
|
-
}, z.core.$strip>>;
|
|
142
|
-
nextCursor: z.ZodOptional<z.ZodString>;
|
|
143
|
-
}, z.core.$strip>;
|
|
144
|
-
export type ListAppsResponse = z.infer<typeof ListAppsResponseSchema>;
|
|
145
|
-
/**
|
|
146
|
-
* Handler request schema for listApps operation
|
|
147
|
-
*
|
|
148
|
-
* This is the internal schema used by the handler. Unlike ListAppsOptionsSchema:
|
|
149
|
-
* - Accepts pre-resolved implementationIds (not user-facing appKeys)
|
|
150
|
-
* - Accepts search term for augmenting results (handler performs search augmentation)
|
|
151
|
-
* - Used for validation at the handler boundary
|
|
152
|
-
* - Will be the HTTP request schema in the SDK API
|
|
153
|
-
*
|
|
154
|
-
* Accepts flexible input types and normalizes them:
|
|
155
|
-
* - implementationIds: string (comma-separated) or string[] → normalized to string[]
|
|
156
|
-
* - pageSize: string or number → normalized to number
|
|
157
|
-
*/
|
|
158
|
-
export declare const ListAppsHandlerRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
159
|
-
implementationIds: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
160
|
-
search: z.ZodOptional<z.ZodString>;
|
|
161
|
-
pageSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
162
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
163
|
-
}, z.core.$strip>, z.ZodTransform<{
|
|
164
|
-
implementationIds: string[];
|
|
165
|
-
search: string | undefined;
|
|
166
|
-
pageSize: number | undefined;
|
|
167
|
-
cursor: string | undefined;
|
|
168
|
-
}, {
|
|
169
|
-
implementationIds?: string | string[] | undefined;
|
|
170
|
-
search?: string | undefined;
|
|
171
|
-
pageSize?: string | number | undefined;
|
|
172
|
-
cursor?: string | undefined;
|
|
173
|
-
}>>;
|
|
174
|
-
export type ListAppsHandlerRequest = z.infer<typeof ListAppsHandlerRequestSchema>;
|
|
175
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/temporary-internal-core/schemas/apps/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;iBAkB4B,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;GAiCpC,CAAC;AAEN,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* App and Service schemas
|
|
3
|
-
*
|
|
4
|
-
* Covers:
|
|
5
|
-
* - App metadata
|
|
6
|
-
* - Service definitions
|
|
7
|
-
* - App listings and searches
|
|
8
|
-
*/
|
|
9
|
-
import { z } from "zod";
|
|
10
|
-
import { ImplementationMetaSchema } from "../implementations";
|
|
11
|
-
import { TelemetryMarkerSchema } from "../../../utils/function-utils";
|
|
12
|
-
/**
|
|
13
|
-
* Public API schema for listApps operation
|
|
14
|
-
*
|
|
15
|
-
* This is the user-facing schema that accepts app keys (slugs, implementation names, etc.)
|
|
16
|
-
* The plugin resolves these to implementation IDs before calling the handler.
|
|
17
|
-
*/
|
|
18
|
-
export const ListAppsOptionsSchema = z
|
|
19
|
-
.object({
|
|
20
|
-
appKeys: z
|
|
21
|
-
.array(z.string())
|
|
22
|
-
.optional()
|
|
23
|
-
.describe("Filter apps by app keys (e.g., 'SlackCLIAPI' or slug like 'github')"),
|
|
24
|
-
search: z.string().optional().describe("Search for apps by name"),
|
|
25
|
-
pageSize: z.number().min(1).optional().describe("Number of apps per page"),
|
|
26
|
-
maxItems: z
|
|
27
|
-
.number()
|
|
28
|
-
.min(1)
|
|
29
|
-
.optional()
|
|
30
|
-
.describe("Maximum total items to return across all pages"),
|
|
31
|
-
cursor: z.string().optional().describe("Cursor to start from"),
|
|
32
|
-
})
|
|
33
|
-
.merge(TelemetryMarkerSchema)
|
|
34
|
-
.describe("List all available apps with optional filtering");
|
|
35
|
-
/**
|
|
36
|
-
* Normalized app item returned by listApps
|
|
37
|
-
* This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id)
|
|
38
|
-
*/
|
|
39
|
-
export const AppItemSchema = ImplementationMetaSchema.omit({
|
|
40
|
-
name: true,
|
|
41
|
-
id: true,
|
|
42
|
-
}).extend({
|
|
43
|
-
title: z.string(),
|
|
44
|
-
key: z.string(),
|
|
45
|
-
implementation_id: z.string(),
|
|
46
|
-
version: z.string().optional(),
|
|
47
|
-
});
|
|
48
|
-
/**
|
|
49
|
-
* Response schema for listApps (paginated)
|
|
50
|
-
*/
|
|
51
|
-
export const ListAppsResponseSchema = z.object({
|
|
52
|
-
data: z.array(AppItemSchema),
|
|
53
|
-
nextCursor: z.string().optional(),
|
|
54
|
-
});
|
|
55
|
-
/**
|
|
56
|
-
* Handler request schema for listApps operation
|
|
57
|
-
*
|
|
58
|
-
* This is the internal schema used by the handler. Unlike ListAppsOptionsSchema:
|
|
59
|
-
* - Accepts pre-resolved implementationIds (not user-facing appKeys)
|
|
60
|
-
* - Accepts search term for augmenting results (handler performs search augmentation)
|
|
61
|
-
* - Used for validation at the handler boundary
|
|
62
|
-
* - Will be the HTTP request schema in the SDK API
|
|
63
|
-
*
|
|
64
|
-
* Accepts flexible input types and normalizes them:
|
|
65
|
-
* - implementationIds: string (comma-separated) or string[] → normalized to string[]
|
|
66
|
-
* - pageSize: string or number → normalized to number
|
|
67
|
-
*/
|
|
68
|
-
export const ListAppsHandlerRequestSchema = z
|
|
69
|
-
.object({
|
|
70
|
-
implementationIds: z
|
|
71
|
-
.union([z.string(), z.array(z.string())])
|
|
72
|
-
.optional()
|
|
73
|
-
.describe("Pre-resolved implementation IDs - array or comma-separated string"),
|
|
74
|
-
search: z
|
|
75
|
-
.string()
|
|
76
|
-
.optional()
|
|
77
|
-
.describe("Optional search term to augment results"),
|
|
78
|
-
pageSize: z
|
|
79
|
-
.union([z.string(), z.number()])
|
|
80
|
-
.optional()
|
|
81
|
-
.describe("Number of apps per page"),
|
|
82
|
-
cursor: z.string().optional().describe("Pagination cursor"),
|
|
83
|
-
})
|
|
84
|
-
.transform((data) => ({
|
|
85
|
-
// Normalize implementationIds to array
|
|
86
|
-
implementationIds: typeof data.implementationIds === "string"
|
|
87
|
-
? data.implementationIds === ""
|
|
88
|
-
? []
|
|
89
|
-
: data.implementationIds.split(",")
|
|
90
|
-
: (data.implementationIds ?? []),
|
|
91
|
-
search: data.search,
|
|
92
|
-
// Normalize pageSize to number
|
|
93
|
-
pageSize: typeof data.pageSize === "string"
|
|
94
|
-
? parseInt(data.pageSize, 10)
|
|
95
|
-
: data.pageSize,
|
|
96
|
-
cursor: data.cursor,
|
|
97
|
-
}));
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Standard error format returned by the Zapier API
|
|
3
|
-
*/
|
|
4
|
-
export interface ApiError {
|
|
5
|
-
status: number;
|
|
6
|
-
code: string;
|
|
7
|
-
title: string;
|
|
8
|
-
detail: string;
|
|
9
|
-
source?: unknown;
|
|
10
|
-
meta?: unknown;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Base options for all error constructors
|
|
14
|
-
*/
|
|
15
|
-
export interface ErrorOptions {
|
|
16
|
-
statusCode?: number;
|
|
17
|
-
errors?: ApiError[];
|
|
18
|
-
cause?: unknown;
|
|
19
|
-
response?: unknown;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Base class for all Zapier SDK errors
|
|
23
|
-
* Use instanceof ZapierError to check if an error is from the SDK
|
|
24
|
-
*/
|
|
25
|
-
export declare abstract class ZapierError extends Error {
|
|
26
|
-
abstract readonly name: string;
|
|
27
|
-
statusCode?: number;
|
|
28
|
-
errors?: ApiError[];
|
|
29
|
-
cause?: unknown;
|
|
30
|
-
response?: unknown;
|
|
31
|
-
constructor(message: string, options?: ErrorOptions);
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Error thrown when API requests fail
|
|
35
|
-
*/
|
|
36
|
-
export declare class ZapierApiError extends ZapierError {
|
|
37
|
-
readonly name = "ZapierApiError";
|
|
38
|
-
constructor(message: string, options?: ErrorOptions);
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Error thrown when an app is not found
|
|
42
|
-
*/
|
|
43
|
-
export declare class ZapierAppNotFoundError extends ZapierError {
|
|
44
|
-
readonly name = "ZapierAppNotFoundError";
|
|
45
|
-
appKey?: string;
|
|
46
|
-
constructor(message: string, options?: ErrorOptions & {
|
|
47
|
-
appKey?: string;
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Error thrown when validation fails (e.g., invalid parameters)
|
|
52
|
-
*/
|
|
53
|
-
export declare class ZapierValidationError extends ZapierError {
|
|
54
|
-
readonly name = "ZapierValidationError";
|
|
55
|
-
details?: unknown;
|
|
56
|
-
constructor(message: string, options?: ErrorOptions & {
|
|
57
|
-
details?: unknown;
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Error for unrecognized/unknown errors that get wrapped by safe functions
|
|
62
|
-
*/
|
|
63
|
-
export declare class ZapierUnknownError extends ZapierError {
|
|
64
|
-
readonly name = "ZapierUnknownError";
|
|
65
|
-
constructor(message: string, options?: ErrorOptions);
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Error thrown for authentication and authorization failures (401/403)
|
|
69
|
-
*/
|
|
70
|
-
export declare class ZapierAuthenticationError extends ZapierError {
|
|
71
|
-
readonly name = "ZapierAuthenticationError";
|
|
72
|
-
constructor(message: string, options?: ErrorOptions);
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Error thrown when a requested resource is not found
|
|
76
|
-
*/
|
|
77
|
-
export declare class ZapierResourceNotFoundError extends ZapierError {
|
|
78
|
-
readonly name = "ZapierResourceNotFoundError";
|
|
79
|
-
resourceType?: string;
|
|
80
|
-
resourceId?: string;
|
|
81
|
-
constructor(message: string, options?: ErrorOptions & {
|
|
82
|
-
resourceType?: string;
|
|
83
|
-
resourceId?: string;
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Error thrown when required app or implementation configuration is missing
|
|
88
|
-
*/
|
|
89
|
-
export declare class ZapierConfigurationError extends ZapierError {
|
|
90
|
-
readonly name = "ZapierConfigurationError";
|
|
91
|
-
configType?: string;
|
|
92
|
-
constructor(message: string, options?: ErrorOptions & {
|
|
93
|
-
configType?: string;
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Error thrown when code bundling or compilation fails
|
|
98
|
-
*/
|
|
99
|
-
export declare class ZapierBundleError extends ZapierError {
|
|
100
|
-
readonly name = "ZapierBundleError";
|
|
101
|
-
buildErrors?: string[];
|
|
102
|
-
constructor(message: string, options?: ErrorOptions & {
|
|
103
|
-
buildErrors?: string[];
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Error thrown when operations timeout or exceed retry limits
|
|
108
|
-
*/
|
|
109
|
-
export declare class ZapierTimeoutError extends ZapierError {
|
|
110
|
-
readonly name = "ZapierTimeoutError";
|
|
111
|
-
attempts?: number;
|
|
112
|
-
maxAttempts?: number;
|
|
113
|
-
constructor(message: string, options?: ErrorOptions & {
|
|
114
|
-
attempts?: number;
|
|
115
|
-
maxAttempts?: number;
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Error thrown when action execution fails due to errors returned from the third-party service
|
|
120
|
-
* This happens when the Actions API returns a 200 status but includes errors in the response
|
|
121
|
-
*/
|
|
122
|
-
export declare class ZapierActionError extends ZapierError {
|
|
123
|
-
readonly name = "ZapierActionError";
|
|
124
|
-
appKey?: string;
|
|
125
|
-
actionKey?: string;
|
|
126
|
-
constructor(message: string, options?: ErrorOptions & {
|
|
127
|
-
appKey?: string;
|
|
128
|
-
actionKey?: string;
|
|
129
|
-
});
|
|
130
|
-
get actionErrors(): ApiError[] | undefined;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Error thrown when a resource is not found (404)
|
|
134
|
-
*/
|
|
135
|
-
export declare class ZapierNotFoundError extends ZapierError {
|
|
136
|
-
readonly name = "ZapierNotFoundError";
|
|
137
|
-
constructor(message: string, options?: ErrorOptions);
|
|
138
|
-
}
|
|
139
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/temporary-internal-core/schemas/errors/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base class for all Zapier SDK errors
|
|
3
|
-
* Use instanceof ZapierError to check if an error is from the SDK
|
|
4
|
-
*/
|
|
5
|
-
export class ZapierError extends Error {
|
|
6
|
-
constructor(message, options = {}) {
|
|
7
|
-
super(message);
|
|
8
|
-
this.statusCode = options.statusCode;
|
|
9
|
-
this.errors = options.errors;
|
|
10
|
-
this.cause = options.cause;
|
|
11
|
-
this.response = options.response;
|
|
12
|
-
// Maintain proper prototype chain for instanceof checks
|
|
13
|
-
Object.setPrototypeOf(this, new.target.prototype);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Error thrown when API requests fail
|
|
18
|
-
*/
|
|
19
|
-
export class ZapierApiError extends ZapierError {
|
|
20
|
-
constructor(message, options = {}) {
|
|
21
|
-
super(message, options);
|
|
22
|
-
this.name = "ZapierApiError";
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Error thrown when an app is not found
|
|
27
|
-
*/
|
|
28
|
-
export class ZapierAppNotFoundError extends ZapierError {
|
|
29
|
-
constructor(message, options = {}) {
|
|
30
|
-
super(message, options);
|
|
31
|
-
this.name = "ZapierAppNotFoundError";
|
|
32
|
-
this.appKey = options.appKey;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Error thrown when validation fails (e.g., invalid parameters)
|
|
37
|
-
*/
|
|
38
|
-
export class ZapierValidationError extends ZapierError {
|
|
39
|
-
constructor(message, options = {}) {
|
|
40
|
-
super(message, options);
|
|
41
|
-
this.name = "ZapierValidationError";
|
|
42
|
-
this.details = options.details;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Error for unrecognized/unknown errors that get wrapped by safe functions
|
|
47
|
-
*/
|
|
48
|
-
export class ZapierUnknownError extends ZapierError {
|
|
49
|
-
constructor(message, options = {}) {
|
|
50
|
-
super(message, options);
|
|
51
|
-
this.name = "ZapierUnknownError";
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Error thrown for authentication and authorization failures (401/403)
|
|
56
|
-
*/
|
|
57
|
-
export class ZapierAuthenticationError extends ZapierError {
|
|
58
|
-
constructor(message, options = {}) {
|
|
59
|
-
super(message, options);
|
|
60
|
-
this.name = "ZapierAuthenticationError";
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Error thrown when a requested resource is not found
|
|
65
|
-
*/
|
|
66
|
-
export class ZapierResourceNotFoundError extends ZapierError {
|
|
67
|
-
constructor(message, options = {}) {
|
|
68
|
-
super(message, options);
|
|
69
|
-
this.name = "ZapierResourceNotFoundError";
|
|
70
|
-
this.resourceType = options.resourceType;
|
|
71
|
-
this.resourceId = options.resourceId;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Error thrown when required app or implementation configuration is missing
|
|
76
|
-
*/
|
|
77
|
-
export class ZapierConfigurationError extends ZapierError {
|
|
78
|
-
constructor(message, options = {}) {
|
|
79
|
-
super(message, options);
|
|
80
|
-
this.name = "ZapierConfigurationError";
|
|
81
|
-
this.configType = options.configType;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Error thrown when code bundling or compilation fails
|
|
86
|
-
*/
|
|
87
|
-
export class ZapierBundleError extends ZapierError {
|
|
88
|
-
constructor(message, options = {}) {
|
|
89
|
-
super(message, options);
|
|
90
|
-
this.name = "ZapierBundleError";
|
|
91
|
-
this.buildErrors = options.buildErrors;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Error thrown when operations timeout or exceed retry limits
|
|
96
|
-
*/
|
|
97
|
-
export class ZapierTimeoutError extends ZapierError {
|
|
98
|
-
constructor(message, options = {}) {
|
|
99
|
-
super(message, options);
|
|
100
|
-
this.name = "ZapierTimeoutError";
|
|
101
|
-
this.attempts = options.attempts;
|
|
102
|
-
this.maxAttempts = options.maxAttempts;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Error thrown when action execution fails due to errors returned from the third-party service
|
|
107
|
-
* This happens when the Actions API returns a 200 status but includes errors in the response
|
|
108
|
-
*/
|
|
109
|
-
export class ZapierActionError extends ZapierError {
|
|
110
|
-
constructor(message, options = {}) {
|
|
111
|
-
super(message, options);
|
|
112
|
-
this.name = "ZapierActionError";
|
|
113
|
-
this.appKey = options.appKey;
|
|
114
|
-
this.actionKey = options.actionKey;
|
|
115
|
-
}
|
|
116
|
-
// Legacy accessor for backward compatibility
|
|
117
|
-
get actionErrors() {
|
|
118
|
-
return this.errors;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Error thrown when a resource is not found (404)
|
|
123
|
-
*/
|
|
124
|
-
export class ZapierNotFoundError extends ZapierError {
|
|
125
|
-
constructor(message, options = {}) {
|
|
126
|
-
super(message, options);
|
|
127
|
-
this.name = "ZapierNotFoundError";
|
|
128
|
-
}
|
|
129
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Implementation schemas
|
|
3
|
-
*
|
|
4
|
-
* Covers:
|
|
5
|
-
* - Implementation metadata
|
|
6
|
-
* - Implementation listings
|
|
7
|
-
* - Version information
|
|
8
|
-
*/
|
|
9
|
-
import { z } from "zod";
|
|
10
|
-
/**
|
|
11
|
-
* Lightweight implementation metadata returned by /api/v4/implementations-meta/*
|
|
12
|
-
*/
|
|
13
|
-
export declare const ImplementationMetaSchema: z.ZodObject<{
|
|
14
|
-
id: z.ZodString;
|
|
15
|
-
name: z.ZodString;
|
|
16
|
-
slug: z.ZodString;
|
|
17
|
-
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
18
|
-
auth_type: z.ZodOptional<z.ZodString>;
|
|
19
|
-
banner: z.ZodOptional<z.ZodString>;
|
|
20
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21
|
-
id: z.ZodNumber;
|
|
22
|
-
name: z.ZodString;
|
|
23
|
-
slug: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>>;
|
|
25
|
-
images: z.ZodOptional<z.ZodObject<{
|
|
26
|
-
url_16x16: z.ZodOptional<z.ZodString>;
|
|
27
|
-
url_32x32: z.ZodOptional<z.ZodString>;
|
|
28
|
-
url_64x64: z.ZodOptional<z.ZodString>;
|
|
29
|
-
url_128x128: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
popularity: z.ZodOptional<z.ZodNumber>;
|
|
32
|
-
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
-
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
-
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
-
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
-
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
-
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
-
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
-
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
-
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
-
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
-
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
-
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
-
version: z.ZodOptional<z.ZodString>;
|
|
48
|
-
visibility: z.ZodOptional<z.ZodString>;
|
|
49
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
50
|
-
read: z.ZodOptional<z.ZodNumber>;
|
|
51
|
-
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
52
|
-
write: z.ZodOptional<z.ZodNumber>;
|
|
53
|
-
search: z.ZodOptional<z.ZodNumber>;
|
|
54
|
-
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
55
|
-
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
56
|
-
filter: z.ZodOptional<z.ZodNumber>;
|
|
57
|
-
}, z.core.$strip>>;
|
|
58
|
-
description: z.ZodOptional<z.ZodString>;
|
|
59
|
-
primary_color: z.ZodOptional<z.ZodString>;
|
|
60
|
-
secondary_color: z.ZodOptional<z.ZodString>;
|
|
61
|
-
classification: z.ZodOptional<z.ZodString>;
|
|
62
|
-
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
63
|
-
image: z.ZodOptional<z.ZodString>;
|
|
64
|
-
}, z.core.$strip>;
|
|
65
|
-
export type ImplementationMeta = z.infer<typeof ImplementationMetaSchema>;
|
|
66
|
-
/**
|
|
67
|
-
* Paginated response from /api/v4/implementations-meta/lookup/ and search endpoints
|
|
68
|
-
*/
|
|
69
|
-
export declare const ImplementationsMetaResponseSchema: z.ZodObject<{
|
|
70
|
-
count: z.ZodNumber;
|
|
71
|
-
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
-
results: z.ZodArray<z.ZodObject<{
|
|
74
|
-
id: z.ZodString;
|
|
75
|
-
name: z.ZodString;
|
|
76
|
-
slug: z.ZodString;
|
|
77
|
-
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
78
|
-
auth_type: z.ZodOptional<z.ZodString>;
|
|
79
|
-
banner: z.ZodOptional<z.ZodString>;
|
|
80
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
81
|
-
id: z.ZodNumber;
|
|
82
|
-
name: z.ZodString;
|
|
83
|
-
slug: z.ZodString;
|
|
84
|
-
}, z.core.$strip>>>;
|
|
85
|
-
images: z.ZodOptional<z.ZodObject<{
|
|
86
|
-
url_16x16: z.ZodOptional<z.ZodString>;
|
|
87
|
-
url_32x32: z.ZodOptional<z.ZodString>;
|
|
88
|
-
url_64x64: z.ZodOptional<z.ZodString>;
|
|
89
|
-
url_128x128: z.ZodOptional<z.ZodString>;
|
|
90
|
-
}, z.core.$strip>>;
|
|
91
|
-
popularity: z.ZodOptional<z.ZodNumber>;
|
|
92
|
-
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
-
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
-
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
-
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
-
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
-
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
-
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
-
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
-
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
-
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
-
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
-
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
-
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
-
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
107
|
-
version: z.ZodOptional<z.ZodString>;
|
|
108
|
-
visibility: z.ZodOptional<z.ZodString>;
|
|
109
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
110
|
-
read: z.ZodOptional<z.ZodNumber>;
|
|
111
|
-
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
112
|
-
write: z.ZodOptional<z.ZodNumber>;
|
|
113
|
-
search: z.ZodOptional<z.ZodNumber>;
|
|
114
|
-
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
115
|
-
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
filter: z.ZodOptional<z.ZodNumber>;
|
|
117
|
-
}, z.core.$strip>>;
|
|
118
|
-
description: z.ZodOptional<z.ZodString>;
|
|
119
|
-
primary_color: z.ZodOptional<z.ZodString>;
|
|
120
|
-
secondary_color: z.ZodOptional<z.ZodString>;
|
|
121
|
-
classification: z.ZodOptional<z.ZodString>;
|
|
122
|
-
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
123
|
-
image: z.ZodOptional<z.ZodString>;
|
|
124
|
-
}, z.core.$strip>>;
|
|
125
|
-
}, z.core.$strip>;
|
|
126
|
-
export type ImplementationsMetaResponse = z.infer<typeof ImplementationsMetaResponseSchema>;
|
|
127
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/temporary-internal-core/schemas/implementations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2DnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK5C,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC"}
|