@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
package/dist/auth.test.js
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect, vi, beforeEach } from "vitest";
|
|
2
|
-
import * as auth from "./auth";
|
|
3
|
-
// Mock the CLI login package
|
|
4
|
-
const mockGetToken = vi.fn();
|
|
5
|
-
vi.mock("@zapier/zapier-sdk-cli-login", () => ({
|
|
6
|
-
getToken: mockGetToken,
|
|
7
|
-
}));
|
|
8
|
-
describe("auth", () => {
|
|
9
|
-
beforeEach(() => {
|
|
10
|
-
vi.clearAllMocks();
|
|
11
|
-
delete process.env.ZAPIER_TOKEN;
|
|
12
|
-
});
|
|
13
|
-
describe("getTokenFromEnv", () => {
|
|
14
|
-
it("should return ZAPIER_TOKEN when set", () => {
|
|
15
|
-
process.env.ZAPIER_TOKEN = "test-token";
|
|
16
|
-
expect(auth.getTokenFromEnv()).toBe("test-token");
|
|
17
|
-
});
|
|
18
|
-
it("should return undefined when ZAPIER_TOKEN is not set", () => {
|
|
19
|
-
delete process.env.ZAPIER_TOKEN;
|
|
20
|
-
expect(auth.getTokenFromEnv()).toBeUndefined();
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
describe("getTokenFromCliLogin", () => {
|
|
24
|
-
it("should pass all options to CLI login package getToken", async () => {
|
|
25
|
-
mockGetToken.mockResolvedValue("cli-token");
|
|
26
|
-
const options = {
|
|
27
|
-
baseUrl: "https://api.custom.zapier.com",
|
|
28
|
-
authBaseUrl: "https://auth.custom.zapier.com",
|
|
29
|
-
onEvent: vi.fn(),
|
|
30
|
-
fetch: vi.fn(),
|
|
31
|
-
};
|
|
32
|
-
const result = await auth.getTokenFromCliLogin(options);
|
|
33
|
-
expect(result).toBe("cli-token");
|
|
34
|
-
expect(mockGetToken).toHaveBeenCalledWith(options);
|
|
35
|
-
});
|
|
36
|
-
it("should pass empty options when none provided", async () => {
|
|
37
|
-
mockGetToken.mockResolvedValue("cli-token");
|
|
38
|
-
const result = await auth.getTokenFromCliLogin();
|
|
39
|
-
expect(result).toBe("cli-token");
|
|
40
|
-
expect(mockGetToken).toHaveBeenCalledWith({});
|
|
41
|
-
});
|
|
42
|
-
it("should return undefined when CLI login package throws error", async () => {
|
|
43
|
-
mockGetToken.mockRejectedValue(new Error("CLI not available"));
|
|
44
|
-
const result = await auth.getTokenFromCliLogin();
|
|
45
|
-
expect(result).toBeUndefined();
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
describe("getTokenFromEnvOrConfig", () => {
|
|
49
|
-
it("should prioritize ZAPIER_TOKEN environment variable", async () => {
|
|
50
|
-
process.env.ZAPIER_TOKEN = "env-token";
|
|
51
|
-
mockGetToken.mockResolvedValue("cli-token");
|
|
52
|
-
const result = await auth.getTokenFromEnvOrConfig();
|
|
53
|
-
expect(result).toBe("env-token");
|
|
54
|
-
expect(mockGetToken).not.toHaveBeenCalled();
|
|
55
|
-
});
|
|
56
|
-
it("should fall back to CLI login with options when env token not available", async () => {
|
|
57
|
-
delete process.env.ZAPIER_TOKEN;
|
|
58
|
-
mockGetToken.mockResolvedValue("cli-token");
|
|
59
|
-
const options = {
|
|
60
|
-
baseUrl: "https://api.custom.zapier.com",
|
|
61
|
-
authBaseUrl: "https://auth.custom.zapier.com",
|
|
62
|
-
onEvent: vi.fn(),
|
|
63
|
-
fetch: vi.fn(),
|
|
64
|
-
};
|
|
65
|
-
const result = await auth.getTokenFromEnvOrConfig(options);
|
|
66
|
-
expect(result).toBe("cli-token");
|
|
67
|
-
expect(mockGetToken).toHaveBeenCalledWith(options);
|
|
68
|
-
});
|
|
69
|
-
it("should return undefined when both env token and CLI login fail", async () => {
|
|
70
|
-
delete process.env.ZAPIER_TOKEN;
|
|
71
|
-
mockGetToken.mockRejectedValue(new Error("CLI not available"));
|
|
72
|
-
const result = await auth.getTokenFromEnvOrConfig();
|
|
73
|
-
expect(result).toBeUndefined();
|
|
74
|
-
});
|
|
75
|
-
it("should pass authBaseUrl through the authentication chain", async () => {
|
|
76
|
-
delete process.env.ZAPIER_TOKEN;
|
|
77
|
-
mockGetToken.mockResolvedValue("cli-token");
|
|
78
|
-
const options = {
|
|
79
|
-
authBaseUrl: "https://custom-auth.zapier.dev",
|
|
80
|
-
baseUrl: "https://api.zapier.dev",
|
|
81
|
-
};
|
|
82
|
-
await auth.getTokenFromEnvOrConfig(options);
|
|
83
|
-
expect(mockGetToken).toHaveBeenCalledWith({
|
|
84
|
-
authBaseUrl: "https://custom-auth.zapier.dev",
|
|
85
|
-
baseUrl: "https://api.zapier.dev",
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
it("should pass undefined authBaseUrl when not provided", async () => {
|
|
89
|
-
delete process.env.ZAPIER_TOKEN;
|
|
90
|
-
mockGetToken.mockResolvedValue("cli-token");
|
|
91
|
-
const options = {
|
|
92
|
-
baseUrl: "https://api.zapier.dev",
|
|
93
|
-
// authBaseUrl intentionally omitted
|
|
94
|
-
};
|
|
95
|
-
await auth.getTokenFromEnvOrConfig(options);
|
|
96
|
-
expect(mockGetToken).toHaveBeenCalledWith({
|
|
97
|
-
baseUrl: "https://api.zapier.dev",
|
|
98
|
-
authBaseUrl: undefined,
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
});
|
package/dist/constants.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SDK Constants
|
|
3
|
-
*
|
|
4
|
-
* This module contains shared constants used throughout the SDK.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Base URL for Zapier API endpoints
|
|
8
|
-
*/
|
|
9
|
-
export declare const ZAPIER_BASE_URL: string;
|
|
10
|
-
/**
|
|
11
|
-
* Maximum number of items that can be requested per page across all paginated functions
|
|
12
|
-
*/
|
|
13
|
-
export declare const MAX_PAGE_LIMIT = 10000;
|
|
14
|
-
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe,QACyB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,cAAc,QAAQ,CAAC"}
|
package/dist/constants.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SDK Constants
|
|
3
|
-
*
|
|
4
|
-
* This module contains shared constants used throughout the SDK.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Base URL for Zapier API endpoints
|
|
8
|
-
*/
|
|
9
|
-
export const ZAPIER_BASE_URL = process.env.ZAPIER_BASE_URL || "https://zapier.com";
|
|
10
|
-
/**
|
|
11
|
-
* Maximum number of items that can be requested per page across all paginated functions
|
|
12
|
-
*/
|
|
13
|
-
export const MAX_PAGE_LIMIT = 10000;
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAG9B,YAAY,EACV,MAAM,EACN,GAAG,EACH,IAAI,EACJ,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,cAAc,EACd,uBAAuB,EACvB,WAAW,GACZ,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG1E,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGhE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGxD,cAAc,aAAa,CAAC;AAG5B,cAAc,QAAQ,CAAC;AAGvB,cAAc,aAAa,CAAC;AAI5B,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,eAAe,EACf,8BAA8B,EAC9B,SAAS,EACT,gBAAgB,GACjB,MAAM,OAAO,CAAC;AAGf,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGzD,YAAY,EACV,MAAM,EACN,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,cAAc,EACd,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,YAAY,EACV,oBAAoB,EACpB,YAAY,EACZ,6BAA6B,EAC7B,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,mBAAmB,EACnB,IAAI,EACJ,aAAa,EACb,cAAc,EACd,UAAU,EACV,8BAA8B,EAC9B,0BAA0B,EAC1B,eAAe,EACf,eAAe,EACf,sBAAsB,GACvB,MAAM,yBAAyB,CAAC"}
|
package/dist/index.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
// Export everything from types and plugins
|
|
2
|
-
export * from "./types/domain";
|
|
3
|
-
export * from "./types/functions";
|
|
4
|
-
export * from "./types/properties";
|
|
5
|
-
export * from "./types/errors";
|
|
6
|
-
export * from "./plugins/apps";
|
|
7
|
-
export * from "./plugins/fetch";
|
|
8
|
-
export * from "./plugins/listApps";
|
|
9
|
-
export * from "./plugins/listActions";
|
|
10
|
-
export * from "./plugins/listInputFields";
|
|
11
|
-
export * from "./plugins/listAuthentications";
|
|
12
|
-
export * from "./plugins/getApp";
|
|
13
|
-
export * from "./plugins/getAction";
|
|
14
|
-
export * from "./plugins/getAuthentication";
|
|
15
|
-
export * from "./plugins/findFirstAuthentication";
|
|
16
|
-
export * from "./plugins/findUniqueAuthentication";
|
|
17
|
-
export * from "./plugins/runAction";
|
|
18
|
-
export * from "./plugins/request";
|
|
19
|
-
export * from "./plugins/manifest";
|
|
20
|
-
export * from "./plugins/getProfile";
|
|
21
|
-
export * from "./plugins/api";
|
|
22
|
-
// Export schema utilities for CLI
|
|
23
|
-
export { isPositional } from "./utils/schema-utils";
|
|
24
|
-
export { createFunction } from "./utils/function-utils";
|
|
25
|
-
// Export string utilities
|
|
26
|
-
export { toSnakeCase, toTitleCase } from "./utils/string-utils";
|
|
27
|
-
// Export batch utilities
|
|
28
|
-
export { batch } from "./utils/batch-utils";
|
|
29
|
-
// Export resolver utilities for CLI
|
|
30
|
-
export * from "./resolvers";
|
|
31
|
-
// Export auth utilities for CLI use
|
|
32
|
-
export * from "./auth";
|
|
33
|
-
// Export constants
|
|
34
|
-
export * from "./constants";
|
|
35
|
-
// All functions now available through the plugin system via createZapierSdk()
|
|
36
|
-
// Export plugin schemas for external use
|
|
37
|
-
export { RelayRequestSchema, RelayFetchSchema, } from "./plugins/request/schemas";
|
|
38
|
-
// Export the main combined SDK and new flexible SDK creator
|
|
39
|
-
export { createZapierSdk, createZapierSdkWithoutRegistry, createSdk, } from "./sdk";
|
|
40
|
-
// Export registry plugin for manual use
|
|
41
|
-
export { registryPlugin } from "./plugins/registry";
|
|
42
|
-
export { generateEventId, getCurrentTimestamp, getReleaseId, getOsInfo, getPlatformVersions, isCi, getCiPlatform, getMemoryUsage, getCpuTime, buildApplicationLifecycleEvent, buildErrorEventWithContext, buildErrorEvent, createBaseEvent, buildMethodCalledEvent, } from "./plugins/eventEmission";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ApiClient } from "../../api/types";
|
|
2
|
-
import type { BaseSdkOptions } from "../../types/sdk";
|
|
3
|
-
import type { Plugin } from "../../types/plugin";
|
|
4
|
-
export interface ApiPluginOptions extends BaseSdkOptions {
|
|
5
|
-
}
|
|
6
|
-
export interface ApiPluginProvides {
|
|
7
|
-
context: {
|
|
8
|
-
api: ApiClient;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare const apiPlugin: Plugin<{}, {}, ApiPluginProvides>;
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/api/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGjD,MAAM,WAAW,gBAAiB,SAAQ,cAAc;CAAG;AAG3D,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE;QACP,GAAG,EAAE,SAAS,CAAC;KAChB,CAAC;CACH;AAGD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,iBAAiB,CA+BvD,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { createZapierApi } from "../../api";
|
|
2
|
-
import { ZAPIER_BASE_URL } from "../../constants";
|
|
3
|
-
// API plugin requires no context and provides api in context
|
|
4
|
-
export const apiPlugin = (params) => {
|
|
5
|
-
// Extract all options - everything passed to the plugin
|
|
6
|
-
const { fetch: customFetch = globalThis.fetch, baseUrl = ZAPIER_BASE_URL, authBaseUrl, authClientId, token, getToken, onEvent, debug = false, } = params.context.options;
|
|
7
|
-
// Create the API client - it will handle token resolution internally
|
|
8
|
-
const api = createZapierApi({
|
|
9
|
-
baseUrl,
|
|
10
|
-
authBaseUrl,
|
|
11
|
-
authClientId,
|
|
12
|
-
token,
|
|
13
|
-
getToken,
|
|
14
|
-
debug,
|
|
15
|
-
fetch: customFetch,
|
|
16
|
-
onEvent,
|
|
17
|
-
});
|
|
18
|
-
// Return flat structure with context only
|
|
19
|
-
return {
|
|
20
|
-
context: {
|
|
21
|
-
api, // Provide API client in context for other plugins to use
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ActionProxy } from "./schemas";
|
|
2
|
-
import type { Plugin, GetSdkType } from "../../types/plugin";
|
|
3
|
-
import type { FetchPluginProvides } from "../fetch/index";
|
|
4
|
-
import type { RunActionPluginProvides } from "../runAction/index";
|
|
5
|
-
export interface AppsPluginProvides {
|
|
6
|
-
apps: ActionProxy;
|
|
7
|
-
}
|
|
8
|
-
export declare const appsPlugin: Plugin<GetSdkType<FetchPluginProvides & RunActionPluginProvides>, // requires fetch + runAction in SDK
|
|
9
|
-
{}, // no context requirements
|
|
10
|
-
AppsPluginProvides>;
|
|
11
|
-
export type { ActionExecutionOptions } from "./schemas";
|
|
12
|
-
export type { ActionExecutionResult } from "../../api/types";
|
|
13
|
-
export interface ZapierSdkApps {
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/apps/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EAEZ,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAGlE,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,WAAW,CAAC;CACnB;AAwJD,eAAO,MAAM,UAAU,EAAE,MAAM,CAC7B,UAAU,CAAC,mBAAmB,GAAG,uBAAuB,CAAC,EAAE,oCAAoC;AAC/F,EAAE,EAAE,0BAA0B;AAC9B,kBAAkB,CAyBnB,CAAC;AAGF,YAAY,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACxD,YAAY,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAI7D,MAAM,WAAW,aAAa;CAAG"}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { ActionExecutionInputSchema, AppFactoryInputSchema } from "./schemas";
|
|
2
|
-
import { ZapierValidationError } from "../../types/errors";
|
|
3
|
-
import { ActionResultItemSchema } from "../../schemas/Run";
|
|
4
|
-
function createActionFunction(appKey, actionType, actionKey, options, pinnedAuthId) {
|
|
5
|
-
return (actionOptions = {}) => {
|
|
6
|
-
const { sdk } = options;
|
|
7
|
-
const { inputs, authenticationId: providedAuthenticationId } = actionOptions;
|
|
8
|
-
// Use pinned auth ID first, then provided auth ID
|
|
9
|
-
const authenticationId = pinnedAuthId ?? providedAuthenticationId;
|
|
10
|
-
if (!authenticationId) {
|
|
11
|
-
throw new ZapierValidationError(`Authentication ID is required. Either use the factory pattern: sdk.apps.${appKey}({ authenticationId }) or provide authenticationId in the action call.`);
|
|
12
|
-
}
|
|
13
|
-
// Call sdk.runAction with the resolved parameters
|
|
14
|
-
return sdk.runAction({
|
|
15
|
-
appKey,
|
|
16
|
-
actionType: actionType,
|
|
17
|
-
actionKey,
|
|
18
|
-
inputs,
|
|
19
|
-
authenticationId,
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
function createActionTypeProxy(appKey, actionType, options, pinnedAuthId) {
|
|
24
|
-
// Special handling for "fetch" action type
|
|
25
|
-
if (actionType === "fetch") {
|
|
26
|
-
return async (url, init) => {
|
|
27
|
-
const { sdk } = options;
|
|
28
|
-
// Use pinned auth ID first, then provided auth ID
|
|
29
|
-
const authenticationId = pinnedAuthId ?? init?.authenticationId;
|
|
30
|
-
if (!authenticationId) {
|
|
31
|
-
throw new ZapierValidationError(`Authentication ID is required for fetch. Either use the factory pattern: sdk.apps.${appKey}({ authenticationId }).fetch(...) or provide authenticationId in the fetch call.`);
|
|
32
|
-
}
|
|
33
|
-
// Call sdk.fetch with the resolved authenticationId
|
|
34
|
-
return sdk.fetch(url, {
|
|
35
|
-
...init,
|
|
36
|
-
authenticationId,
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
return new Proxy({}, {
|
|
41
|
-
get(_, actionKey) {
|
|
42
|
-
if (typeof actionKey === "string") {
|
|
43
|
-
return createActionFunction(appKey, actionType, actionKey, options, pinnedAuthId);
|
|
44
|
-
}
|
|
45
|
-
return undefined;
|
|
46
|
-
},
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
function createPinnedAppProxy(appKey, options, pinnedAuthId) {
|
|
50
|
-
return new Proxy({}, {
|
|
51
|
-
get(_, actionType) {
|
|
52
|
-
if (typeof actionType === "string") {
|
|
53
|
-
return createActionTypeProxy(appKey, actionType, options, pinnedAuthId);
|
|
54
|
-
}
|
|
55
|
-
return undefined;
|
|
56
|
-
},
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
function createAppProxy(appKey, options) {
|
|
60
|
-
// Create the factory function that returns a pinned version
|
|
61
|
-
const appFactory = (factoryOptions) => {
|
|
62
|
-
return createPinnedAppProxy(appKey, options, factoryOptions.authenticationId);
|
|
63
|
-
};
|
|
64
|
-
// Add properties for direct usage (backward compatibility)
|
|
65
|
-
return new Proxy(appFactory, {
|
|
66
|
-
get(_, actionType) {
|
|
67
|
-
if (typeof actionType === "string") {
|
|
68
|
-
return createActionTypeProxy(appKey, actionType, options);
|
|
69
|
-
}
|
|
70
|
-
return undefined;
|
|
71
|
-
},
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
function createAppsProxy(options) {
|
|
75
|
-
// Create a proxy object that intercepts property access
|
|
76
|
-
const appsProxy = new Proxy({}, {
|
|
77
|
-
get(_, prop) {
|
|
78
|
-
if (typeof prop === "string") {
|
|
79
|
-
// First level: App names (e.g., 'slack')
|
|
80
|
-
return createAppProxy(prop, options);
|
|
81
|
-
}
|
|
82
|
-
return undefined;
|
|
83
|
-
},
|
|
84
|
-
});
|
|
85
|
-
return appsProxy;
|
|
86
|
-
}
|
|
87
|
-
// Direct plugin function - takes options + sdk + context in one object
|
|
88
|
-
export const appsPlugin = ({ sdk }) => {
|
|
89
|
-
// Return flat structure - apps goes directly to SDK
|
|
90
|
-
return {
|
|
91
|
-
apps: createAppsProxy({ sdk }),
|
|
92
|
-
context: {
|
|
93
|
-
meta: {
|
|
94
|
-
"apps.{appKey}": {
|
|
95
|
-
categories: ["app"],
|
|
96
|
-
packages: ["sdk"],
|
|
97
|
-
type: "function",
|
|
98
|
-
inputSchema: AppFactoryInputSchema,
|
|
99
|
-
returnType: "AppProxy",
|
|
100
|
-
},
|
|
101
|
-
"apps.{appKey}.{actionType}.{actionKey}": {
|
|
102
|
-
categories: ["app"],
|
|
103
|
-
packages: ["sdk"],
|
|
104
|
-
type: "list",
|
|
105
|
-
inputSchema: ActionExecutionInputSchema,
|
|
106
|
-
itemType: "ActionResult",
|
|
107
|
-
outputSchema: ActionResultItemSchema,
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
};
|
|
112
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { type AuthenticationIdProperty } from "../../types/properties";
|
|
3
|
-
export declare const ActionExecutionInputSchema: z.ZodObject<{
|
|
4
|
-
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5
|
-
authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
export type ActionExecutionOptions = z.infer<typeof ActionExecutionInputSchema>;
|
|
8
|
-
export declare const AppFactoryInputSchema: z.ZodObject<{
|
|
9
|
-
authenticationId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
export type AppFactoryInput = z.infer<typeof AppFactoryInputSchema>;
|
|
12
|
-
interface BaseActionTypeProxy {
|
|
13
|
-
[action: string]: (options?: ActionExecutionOptions) => Promise<{
|
|
14
|
-
data: any[];
|
|
15
|
-
nextCursor?: string;
|
|
16
|
-
}> & AsyncIterable<{
|
|
17
|
-
data: any[];
|
|
18
|
-
nextCursor?: string;
|
|
19
|
-
}> & {
|
|
20
|
-
items(): AsyncIterable<any>;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
interface FetchActionType {
|
|
24
|
-
fetch: (url: string | URL, init?: RequestInit & {
|
|
25
|
-
authenticationId?: AuthenticationIdProperty;
|
|
26
|
-
callbackUrl?: string;
|
|
27
|
-
authenticationTemplate?: string;
|
|
28
|
-
}) => Promise<Response>;
|
|
29
|
-
}
|
|
30
|
-
type ActionTypeProxy = BaseActionTypeProxy & Partial<FetchActionType>;
|
|
31
|
-
interface AppProxy {
|
|
32
|
-
[type: string]: ActionTypeProxy;
|
|
33
|
-
}
|
|
34
|
-
interface AppFactory {
|
|
35
|
-
(options: AppFactoryInput): AppProxy;
|
|
36
|
-
}
|
|
37
|
-
type AppProxyWithFactory = AppFactory & AppProxy;
|
|
38
|
-
export interface ActionProxy {
|
|
39
|
-
[app: string]: AppProxyWithFactory;
|
|
40
|
-
}
|
|
41
|
-
export {};
|
|
42
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/plugins/apps/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,0BAA0B;;;iBAOpC,CAAC;AAGJ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEhF,eAAO,MAAM,qBAAqB;;iBAIgB,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAGpE,UAAU,mBAAmB;IAC3B,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC,EAAE,sBAAsB,KAAK,OAAO,CAAC;QAC9D,IAAI,EAAE,GAAG,EAAE,CAAC;QACZ,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC,GACA,aAAa,CAAC;QAAE,IAAI,EAAE,GAAG,EAAE,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG;QACpD,KAAK,IAAI,aAAa,CAAC,GAAG,CAAC,CAAC;KAC7B,CAAC;CACL;AAGD,UAAU,eAAe;IACvB,KAAK,EAAE,CACL,GAAG,EAAE,MAAM,GAAG,GAAG,EACjB,IAAI,CAAC,EAAE,WAAW,GAAG;QACnB,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;QAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;KACjC,KACE,OAAO,CAAC,QAAQ,CAAC,CAAC;CACxB;AAGD,KAAK,eAAe,GAAG,mBAAmB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAEtE,UAAU,QAAQ;IAChB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAAC;CACjC;AAED,UAAU,UAAU;IAClB,CAAC,OAAO,EAAE,eAAe,GAAG,QAAQ,CAAC;CACtC;AAGD,KAAK,mBAAmB,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEjD,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAAC;CACpC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { AuthenticationIdPropertySchema, } from "../../types/properties";
|
|
3
|
-
export const ActionExecutionInputSchema = z
|
|
4
|
-
.object({
|
|
5
|
-
inputs: z.record(z.string(), z.unknown()).optional(),
|
|
6
|
-
authenticationId: AuthenticationIdPropertySchema.optional(),
|
|
7
|
-
})
|
|
8
|
-
.describe("Execute an action with the given inputs for the bound app, as an alternative to runAction");
|
|
9
|
-
export const AppFactoryInputSchema = z
|
|
10
|
-
.object({
|
|
11
|
-
authenticationId: AuthenticationIdPropertySchema,
|
|
12
|
-
})
|
|
13
|
-
.describe("Bind an authentication ID to an app");
|
|
14
|
-
// Note: AppsPluginSdkExtension removed - now using AppsPluginProvides in index.ts
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Event builder utilities for creating telemetry events
|
|
3
|
-
*
|
|
4
|
-
* Provides builder functions that auto-populate common fields and ensure
|
|
5
|
-
* schema compliance for all event types.
|
|
6
|
-
*/
|
|
7
|
-
import type { ErrorOccurredEvent, ApplicationLifecycleEvent, BaseEvent, MethodCalledEvent } from "../../types/telemetry-events";
|
|
8
|
-
import type { ApplicationLifecycleEventData, EnhancedErrorEventData, ErrorEventData, EventContext, MethodCalledEventData } from "./types";
|
|
9
|
-
export declare function createBaseEvent(context?: EventContext): BaseEvent;
|
|
10
|
-
export declare function buildErrorEvent(data: ErrorEventData, context?: EventContext): ErrorOccurredEvent;
|
|
11
|
-
export declare function buildApplicationLifecycleEvent(data: ApplicationLifecycleEventData, context?: EventContext): ApplicationLifecycleEvent;
|
|
12
|
-
export declare function buildErrorEventWithContext(data: EnhancedErrorEventData, context?: EventContext): ErrorOccurredEvent;
|
|
13
|
-
export declare function buildMethodCalledEvent(data: MethodCalledEventData, context?: EventContext): MethodCalledEvent;
|
|
14
|
-
//# sourceMappingURL=builders.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"builders.d.ts","sourceRoot":"","sources":["../../../src/plugins/eventEmission/builders.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,SAAS,EACT,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EACV,6BAA6B,EAC7B,sBAAsB,EACtB,cAAc,EACd,YAAY,EACZ,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAgBjB,wBAAgB,eAAe,CAAC,OAAO,GAAE,YAAiB,GAAG,SAAS,CAWrE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,cAAc,EACpB,OAAO,GAAE,YAAiB,GACzB,kBAAkB,CAYpB;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,6BAA6B,EACnC,OAAO,GAAE,YAAiB,GACzB,yBAAyB,CAyB3B;AAED,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,sBAAsB,EAC5B,OAAO,GAAE,YAAiB,GACzB,kBAAkB,CAiBpB;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,qBAAqB,EAC3B,OAAO,GAAE,YAAiB,GACzB,iBAAiB,CA+BnB"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Event builder utilities for creating telemetry events
|
|
3
|
-
*
|
|
4
|
-
* Provides builder functions that auto-populate common fields and ensure
|
|
5
|
-
* schema compliance for all event types.
|
|
6
|
-
*/
|
|
7
|
-
import { generateEventId, getCurrentTimestamp, getReleaseId, getOsInfo, getPlatformVersions, getMemoryUsage, getCpuTime, isCi, getCiPlatform, } from "./utils";
|
|
8
|
-
import sdkPackageJson from "../../../package.json";
|
|
9
|
-
// Create base event with auto-populated common fields
|
|
10
|
-
// Kept for backward compatibility but can be replaced with direct construction
|
|
11
|
-
export function createBaseEvent(context = {}) {
|
|
12
|
-
return {
|
|
13
|
-
event_id: generateEventId(),
|
|
14
|
-
timestamp_ms: getCurrentTimestamp(),
|
|
15
|
-
release_id: getReleaseId(),
|
|
16
|
-
customuser_id: context.customuser_id,
|
|
17
|
-
account_id: context.account_id,
|
|
18
|
-
identity_id: context.identity_id,
|
|
19
|
-
visitor_id: context.visitor_id,
|
|
20
|
-
correlation_id: context.correlation_id,
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export function buildErrorEvent(data, context = {}) {
|
|
24
|
-
return {
|
|
25
|
-
...createBaseEvent(context),
|
|
26
|
-
zap_id: context.zap_id,
|
|
27
|
-
node_id: context.node_id,
|
|
28
|
-
selected_api: context.selected_api,
|
|
29
|
-
app_id: context.app_id,
|
|
30
|
-
app_version_id: context.app_version_id,
|
|
31
|
-
environment: context.environment,
|
|
32
|
-
sdk_version: sdkPackageJson.version,
|
|
33
|
-
...data,
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function buildApplicationLifecycleEvent(data, context = {}) {
|
|
37
|
-
const osInfo = getOsInfo();
|
|
38
|
-
const platformVersions = getPlatformVersions();
|
|
39
|
-
return {
|
|
40
|
-
...createBaseEvent(context),
|
|
41
|
-
selected_api: context.selected_api,
|
|
42
|
-
app_id: context.app_id,
|
|
43
|
-
app_version_id: context.app_version_id,
|
|
44
|
-
sdk_version: sdkPackageJson.version,
|
|
45
|
-
cli_version: null,
|
|
46
|
-
memory_usage_bytes: data.memory_usage_bytes ?? getMemoryUsage(),
|
|
47
|
-
cpu_time_ms: data.cpu_time_ms ?? getCpuTime(),
|
|
48
|
-
os_platform: osInfo.platform,
|
|
49
|
-
os_release: osInfo.release,
|
|
50
|
-
os_architecture: osInfo.architecture,
|
|
51
|
-
platform_versions: platformVersions,
|
|
52
|
-
environment: context.environment ?? (process.env.NODE_ENV || null),
|
|
53
|
-
is_ci_environment: isCi(),
|
|
54
|
-
ci_platform: getCiPlatform(),
|
|
55
|
-
session_id: null,
|
|
56
|
-
metadata: null,
|
|
57
|
-
process_argv: process.argv || null,
|
|
58
|
-
...data,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
export function buildErrorEventWithContext(data, context = {}) {
|
|
62
|
-
const executionTime = data.execution_start_time
|
|
63
|
-
? Date.now() - data.execution_start_time
|
|
64
|
-
: null;
|
|
65
|
-
return {
|
|
66
|
-
...createBaseEvent(context),
|
|
67
|
-
zap_id: context.zap_id,
|
|
68
|
-
node_id: context.node_id,
|
|
69
|
-
selected_api: context.selected_api,
|
|
70
|
-
app_id: context.app_id,
|
|
71
|
-
app_version_id: context.app_version_id,
|
|
72
|
-
environment: context.environment ?? (process.env.NODE_ENV || null),
|
|
73
|
-
sdk_version: sdkPackageJson.version,
|
|
74
|
-
execution_time_before_error_ms: executionTime,
|
|
75
|
-
...data,
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
export function buildMethodCalledEvent(data, context = {}) {
|
|
79
|
-
return {
|
|
80
|
-
...createBaseEvent(context),
|
|
81
|
-
method_name: data.method_name ?? null,
|
|
82
|
-
method_module: data.method_module ?? null,
|
|
83
|
-
execution_duration_ms: data.execution_duration_ms,
|
|
84
|
-
success_flag: data.success_flag,
|
|
85
|
-
error_message: data.error_message ?? null,
|
|
86
|
-
error_type: data.error_type ?? null,
|
|
87
|
-
argument_count: data.argument_count,
|
|
88
|
-
is_paginated: data.is_paginated ?? false,
|
|
89
|
-
sdk_version: sdkPackageJson.version,
|
|
90
|
-
environment: context.environment ?? (process?.env?.NODE_ENV || null),
|
|
91
|
-
selected_api: context.selected_api ?? null,
|
|
92
|
-
app_id: context.app_id ?? null,
|
|
93
|
-
app_version_id: context.app_version_id ?? null,
|
|
94
|
-
zap_id: context.zap_id ?? null,
|
|
95
|
-
node_id: context.node_id ?? null,
|
|
96
|
-
operation_type: null,
|
|
97
|
-
operation_key: null,
|
|
98
|
-
call_context: null,
|
|
99
|
-
is_retry: false,
|
|
100
|
-
retry_attempt: null,
|
|
101
|
-
argument_types: null,
|
|
102
|
-
return_type: null,
|
|
103
|
-
caller_method: null,
|
|
104
|
-
call_stack_depth: null,
|
|
105
|
-
is_synchronous: false,
|
|
106
|
-
cpu_time_ms: null,
|
|
107
|
-
memory_usage_bytes: null,
|
|
108
|
-
};
|
|
109
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Event Emission Plugin for Zapier SDK
|
|
3
|
-
*
|
|
4
|
-
* Provides silent telemetry event emission capability to the SDK.
|
|
5
|
-
* All events are emitted asynchronously and failures are silently handled.
|
|
6
|
-
*/
|
|
7
|
-
import type { Plugin } from "../../types/plugin";
|
|
8
|
-
import type { BaseEvent } from "../../types/telemetry-events";
|
|
9
|
-
import type { EventTransport, TransportConfig } from "./transport";
|
|
10
|
-
import type { MethodCalledEventData } from "./types";
|
|
11
|
-
export interface EventEmissionConfig {
|
|
12
|
-
enabled?: boolean;
|
|
13
|
-
transport?: TransportConfig;
|
|
14
|
-
}
|
|
15
|
-
export interface EventEmissionContext {
|
|
16
|
-
eventEmission: {
|
|
17
|
-
transport: EventTransport;
|
|
18
|
-
config: EventEmissionConfig;
|
|
19
|
-
emit<T extends any>(subject: string, event: T): void;
|
|
20
|
-
createBaseEvent(): Promise<BaseEvent>;
|
|
21
|
-
emitMethodCalled(data: MethodCalledEventData): void;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export interface EventEmissionProvides {
|
|
25
|
-
context: EventEmissionContext;
|
|
26
|
-
}
|
|
27
|
-
export declare const eventEmissionPlugin: Plugin<{}, {
|
|
28
|
-
options: {
|
|
29
|
-
eventEmission?: EventEmissionConfig;
|
|
30
|
-
trackingBaseUrl?: string;
|
|
31
|
-
baseUrl?: string;
|
|
32
|
-
};
|
|
33
|
-
}, EventEmissionProvides>;
|
|
34
|
-
export type { EventContext, ApplicationLifecycleEventData, EnhancedErrorEventData, MethodCalledEventData, } from "./types";
|
|
35
|
-
export { buildApplicationLifecycleEvent, buildErrorEventWithContext, buildErrorEvent, createBaseEvent, buildMethodCalledEvent, } from "./builders";
|
|
36
|
-
export type { BaseEvent } from "../../types/telemetry-events";
|
|
37
|
-
export * from "./utils";
|
|
38
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/eventEmission/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAWnE,OAAO,KAAK,EAAgB,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAMnE,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B;AAGD,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE;QACb,SAAS,EAAE,cAAc,CAAC;QAC1B,MAAM,EAAE,mBAAmB,CAAC;QAE5B,IAAI,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;QAErD,eAAe,IAAI,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtC,gBAAgB,CAAC,IAAI,EAAE,qBAAqB,GAAG,IAAI,CAAC;KACrD,CAAC;CACH;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,oBAAoB,CAAC;CAC/B;AA6FD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CACtC,EAAE,EACF;IACE,OAAO,EAAE;QACP,aAAa,CAAC,EAAE,mBAAmB,CAAC;QACpC,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,EACD,qBAAqB,CAkStB,CAAC;AAGF,YAAY,EACV,YAAY,EACZ,6BAA6B,EAC7B,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,eAAe,EACf,eAAe,EACf,sBAAsB,GACvB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,cAAc,SAAS,CAAC"}
|