@ndlib/ndlib-cdk2 1.0.21 → 1.0.23
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/lib/artifact-bucket.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/.package-lock.json +825 -757
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/README.md +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/index.js +152 -76
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/runtimeConfig.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/CodePipeline.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/commands/RollbackStageCommand.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/commands/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/endpoint/endpointResolver.js +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/models/models_0.js +33 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/protocols/Aws_json1_1.js +50 -41
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/runtimeConfig.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipeline.d.ts +13 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipelineClient.d.ts +8 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeJobCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreateCustomActionTypeCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreatePipelineCommand.d.ts +8 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeletePipelineCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteWebhookCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DisableStageTransitionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/EnableStageTransitionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetActionTypeCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetJobDetailsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineCommand.d.ts +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineExecutionCommand.d.ts +7 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineStateCommand.d.ts +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionExecutionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionTypesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelineExecutionsCommand.d.ts +13 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelinesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListWebhooksCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForJobsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutActionRevisionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutApprovalResultCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobFailureResultCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobSuccessResultCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutWebhookCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RetryStageExecutionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RollbackStageCommand.d.ts +86 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StartPipelineExecutionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdateActionTypeCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdatePipelineCommand.d.ts +8 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/models/models_0.d.ts +770 -602
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.browser.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.native.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipeline.d.ts +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipelineClient.d.ts +9 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListActionExecutionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RollbackStageCommand.d.ts +35 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/models/models_0.d.ts +56 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/package.json +43 -43
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/README.md +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +462 -268
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePropertiesCommand.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/endpointResolver.js +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +69 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +17 -43
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +43 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePropertiesPaginator.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +116 -43
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +37 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +8 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +5 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +5 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsItemCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts +28 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +5 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +5 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +151 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +8 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +5 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts +42 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +7 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +1418 -1333
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +1396 -1358
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +497 -238
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePropertiesPaginator.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +46 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +9 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePropertiesCommand.d.ts +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +11 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +10 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +13 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +10 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts +10 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts +10 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts +10 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +13 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +109 -66
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +70 -71
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +73 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePropertiesPaginator.d.ts +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/package.json +44 -44
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +6 -49
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -40
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +32 -32
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/package.json +40 -41
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +55 -52
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +25 -41
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +25 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +150 -89
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +4 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +11 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -45
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +10 -44
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +2 -34
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +98 -98
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +6 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +3 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +22 -42
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/package.json +42 -45
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +65 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/README.md +35 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/client.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/index.js +6 -322
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +226 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +228 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +51 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +57 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +60 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +82 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js +53 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +51 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +57 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/index.d.ts +22 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsExpectUnion.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +55 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/httpAuthSchemes.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +158 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/package.json +49 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/protocols.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +10 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +60 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +64 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +8 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/package.json +12 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +5 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/README.md +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/package.json +8 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +15 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/package.json +11 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/package.json +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +8 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +39 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-locate-window/package.json +5 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/abort-controller/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/config-resolver/package.json +7 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/core/package.json +11 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +11 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-es/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/package.json +8 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/README.md +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +10 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +11 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/package.json +9 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/hash-node/package.json +7 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/invalid-dependency/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/is-array-buffer/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-content-length/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/package.json +9 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +7 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +7 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/package.json +12 -13
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-cjs/index.js +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +5 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +6 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +5 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +5 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +6 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +5 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-stack/dist-cjs/index.js +7 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-stack/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-config-provider/package.json +7 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/README.md +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-cjs/index.js +60 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +39 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +16 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/package.json +8 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/property-provider/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/protocol-http/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/querystring-builder/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/querystring-parser/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-cjs/index.js +7 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-cjs/HeaderFormatter.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-cjs/index.js +130 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +125 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +6 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/package.json +10 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-cjs/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-es/command.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-types/command.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/package.json +9 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/client.d.ts +14 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/http.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/retry.d.ts +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/serde.d.ts +10 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/shapes.d.ts +10 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +14 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +10 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +10 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +9 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +27 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/util.d.ts +22 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/url-parser/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +16 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +14 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +16 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-es/toBase64.js +14 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-browser/package.json +2 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-buffer-from/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-config-provider/dist-cjs/index.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-config-provider/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-defaults-mode-node/package.json +9 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-hex-encoding/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-middleware/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-retry/dist-cjs/index.js +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-retry/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +8 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +8 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/package.json +14 -30
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-uri-escape/package.json +3 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-cjs/index.js +9 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +9 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/package.json +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-waiter/package.json +5 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/README.md +53 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.d.ts +45 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.js +24 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/has-magic.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.d.ts +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.js +37 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.d.ts +8 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.js +10 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.js +11 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.js +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.d.ts +7 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.js +44 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/bin.mjs +5 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/bin.mjs.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.d.ts +45 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.js +23 -19
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/has-magic.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.d.ts +6 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.js +37 -26
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.d.ts +8 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.js +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.js +11 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.js +4 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.d.ts +7 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.js +44 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/package.json +14 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/README.md +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.d.ts +26 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.js +204 -92
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.d.ts +26 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.js +204 -92
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/parse-args.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/package.json +5 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.d.ts +9 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.d.ts +9 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/package.json +6 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.js +1016 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.js +588 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.js +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.d.ts +94 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.js +1000 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.js +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/package.json +21 -25
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.js +9 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/package.json +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/package.json +6 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/README.md +34 -29
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.d.ts +1116 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.d.ts +1116 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.js +1979 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/package.json +33 -31
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/README.md +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/modules/index.js +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/package.json +12 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.es6.js +80 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.es6.mjs +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.js +54 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/package-lock.json +826 -2152
- package/lib/internal-lambdas/sourceWatcherLambda/src/package.json +3 -3
- package/package.json +13 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAOA,yCAAoE;AACpE,mDAA2C;AAE3C,kDAAkD;AAClD,YAAY;AACZ,0DAAiC;AACjC,yCAAoC;AAEpC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CACpB,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,EAC3D,EAAE,CACH,CAAA;AAED,wCAAwC;AACxC,MAAM,MAAM,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAA;AAEzC,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,GAAW,EAAU,EAAE;IACrD,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC;SAC9C,IAAI,CAAC,GAAG,CAAC;SACT,IAAI,EAAE;SACN,WAAW,E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CAAC;QAC3B,2CAA2C;SAC1C,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;SAC1B,IAAI,EAAE,CAAA;AAEf,kEAAkE;AAClE,MAAM,iBAAiB,GAAG,CAAC,CAAS,EAAE,MAAe,KAAK,EAAU,EAAE;IACpE,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;IAClD,OAAO,GAAG;QACR,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,UAAU;QAC/C,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,CAAA;AACrC,CAAC,CAAA;AAED,MAAM,gBAAgB,GAAG,CAAC,CAAS,EAAE,MAAe,KAAK,EAAE,EAAE;IAC3D,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC;SACxB,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC;SAC5B,IAAI,EAAE,CAAA;IACT,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;AAC7B,CAAC,CAAA;AAED;;GAEG;AACI,MAAM,IAAI,GAAG,CAAC,UAAuB,EAAE,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,CAAA;AAAvD,QAAA,IAAI,QAAmD","sourcesContent":["export type ConfigType = 'number' | 'string' | 'boolean'\n\n/**\n * Given a Jack object, get the typeof its ConfigSet\n */\nexport type Unwrap<J> = J extends Jack<infer C> ? C : never\n\nimport { inspect, InspectOptions, ParseArgsConfig } from 'node:util'\nimport { parseArgs } from './parse-args.js'\n\n// it's a tiny API, just cast it inline, it's fine\n//@ts-ignore\nimport cliui from '@isaacs/cliui'\nimport { basename } from 'node:path'\n\nconst width = Math.min(\n (process && process.stdout && process.stdout.columns) || 80,\n 80\n)\n\n// indentation spaces from heading level\nconst indent = (n: number) => (n - 1) * 2\n\nconst toEnvKey = (pref: string, key: string): string => {\n return [pref, key.replace(/[^a-zA-Z0-9]+/g, ' ')]\n .join(' ')\n .trim()\n .toUpperCase()\n .replace(/ /g, '_')\n}\n\nconst toEnvVal = (\n value: string | boolean | number | string[] | boolean[] | number[],\n delim: string = '\\n'\n): string => {\n const str =\n typeof value === 'string'\n ? value\n : typeof value === 'boolean'\n ? value\n ? '1'\n : '0'\n : typeof value === 'number'\n ? String(value)\n : Array.isArray(value)\n ? value\n .map((v: string | number | boolean) => toEnvVal(v))\n .join(delim)\n : /* c8 ignore start */\n undefined\n if (typeof str !== 'string') {\n throw new Error(\n `could not serialize value to environment: ${JSON.stringify(value)}`\n )\n }\n /* c8 ignore stop */\n return str\n}\n\nconst fromEnvVal = <T extends ConfigType, M extends boolean>(\n env: string,\n type: T,\n multiple: M,\n delim: string = '\\n'\n): ValidValue<T, M> =>\n (multiple\n ? env\n ? env.split(delim).map(v => fromEnvVal(v, type, false))\n : []\n : type === 'string'\n ? env\n : type === 'boolean'\n ? env === '1'\n : +env.trim()) as ValidValue<T, M>\n\n/**\n * Defines the type of value that is valid, given a config definition's\n * {@link ConfigType} and boolean multiple setting\n */\nexport type ValidValue<T extends ConfigType, M extends boolean> = [\n T,\n M\n] extends ['number', true]\n ? number[]\n : [T, M] extends ['string', true]\n ? string[]\n : [T, M] extends ['boolean', true]\n ? boolean[]\n : [T, M] extends ['number', false]\n ? number\n : [T, M] extends ['string', false]\n ? string\n : [T, M] extends ['boolean', false]\n ? boolean\n : [T, M] extends ['string', boolean]\n ? string | string[]\n : [T, M] extends ['boolean', boolean]\n ? boolean | boolean[]\n : [T, M] extends ['number', boolean]\n ? number | number[]\n : [T, M] extends [ConfigType, false]\n ? string | number | boolean\n : [T, M] extends [ConfigType, true]\n ? string[] | number[] | boolean[]\n : string | number | boolean | string[] | number[] | boolean[]\n\n/**\n * The meta information for a config option definition, when the\n * type and multiple values can be inferred by the method being used\n */\nexport type ConfigOptionMeta<T extends ConfigType, M extends boolean> = {\n default?: ValidValue<T, M> | undefined\n description?: string\n validate?: ((v: any) => v is ValidValue<T, M>) | ((v: any) => boolean)\n short?: string | undefined\n type?: T\n} & (T extends 'boolean' ? {} : { hint?: string | undefined }) &\n (M extends false\n ? {}\n : { multiple?: M | undefined; delim?: string | undefined })\n\n/**\n * A set of {@link ConfigOptionMeta} fields, referenced by their longOption\n * string values.\n */\nexport type ConfigMetaSet<T extends ConfigType, M extends boolean> = {\n [longOption: string]: ConfigOptionMeta<T, M>\n}\n\n/**\n * Infer {@link ConfigSet} fields from a given {@link ConfigMetaSet}\n */\nexport type ConfigSetFromMetaSet<\n T extends ConfigType,\n M extends boolean,\n S extends ConfigMetaSet<T, M>\n> = {\n [longOption in keyof S]: ConfigOptionBase<T, M>\n}\n\n/**\n * Fields that can be set on a {@link ConfigOptionBase} or\n * {@link ConfigOptionMeta} based on whether or not the field is known to be\n * multiple.\n */\nexport type MultiType<M extends boolean> = M extends true\n ? {\n multiple: true\n delim?: string | undefined\n }\n : M extends false\n ? {\n multiple?: false | undefined\n delim?: undefined\n }\n : {\n multiple?: boolean | undefined\n delim?: string | undefined\n }\n\n/**\n * A config field definition, in its full representation.\n */\nexport type ConfigOptionBase<T extends ConfigType, M extends boolean> = {\n type: T\n short?: string | undefined\n default?: ValidValue<T, M> | undefined\n description?: string\n hint?: T extends 'boolean' ? undefined : string | undefined\n validate?: (v: any) => v is ValidValue<T, M>\n} & MultiType<M>\n\nexport const isConfigType = (t: string): t is ConfigType =>\n typeof t === 'string' &&\n (t === 'string' || t === 'number' || t === 'boolean')\n\nconst undefOrType = (v: any, t: string): boolean =>\n v === undefined || typeof v === t\n\n// print the value type, for error message reporting\nconst valueType = (\n v:\n | string\n | number\n | boolean\n | string[]\n | number[]\n | boolean[]\n | { type: ConfigType; multiple?: boolean }\n): string =>\n typeof v === 'string'\n ? 'string'\n : typeof v === 'boolean'\n ? 'boolean'\n : typeof v === 'number'\n ? 'number'\n : Array.isArray(v)\n ? joinTypes([...new Set(v.map(v => valueType(v)))]) + '[]'\n : `${v.type}${v.multiple ? '[]' : ''}`\n\nconst joinTypes = (types: string[]): string =>\n types.length === 1 && typeof types[0] === 'string'\n ? types[0]\n : `(${types.join('|')})`\n\nconst isValidValue = <T extends ConfigType, M extends boolean>(\n v: any,\n type: T,\n multi: M\n): v is ValidValue<T, M> => {\n if (multi) {\n if (!Array.isArray(v)) return false\n return !v.some((v: any) => !isValidValue(v, type, false))\n }\n if (Array.isArray(v)) return false\n return typeof v === type\n}\n\nexport const isConfigOption = <T extends ConfigType, M extends boolean>(\n o: any,\n type: T,\n multi: M\n): o is ConfigOptionBase<T, M> =>\n !!o &&\n typeof o === 'object' &&\n isConfigType(o.type) &&\n o.type === type &&\n undefOrType(o.short, 'string') &&\n undefOrType(o.description, 'string') &&\n undefOrType(o.hint, 'string') &&\n undefOrType(o.validate, 'function') &&\n (o.default === undefined || isValidValue(o.default, type, multi)) &&\n !!o.multiple === multi\n\n/**\n * A set of {@link ConfigOptionBase} objects, referenced by their longOption\n * string values.\n */\nexport type ConfigSet = {\n [longOption: string]: ConfigOptionBase<ConfigType, boolean>\n}\n\n/**\n * The 'values' field returned by {@link Jack#parse}\n */\nexport type OptionsResults<T extends ConfigSet> = {\n [k in keyof T]?: T[k] extends ConfigOptionBase<'string', false>\n ? string\n : T[k] extends ConfigOptionBase<'string', true>\n ? string[]\n : T[k] extends ConfigOptionBase<'number', false>\n ? number\n : T[k] extends ConfigOptionBase<'number', true>\n ? number[]\n : T[k] extends ConfigOptionBase<'boolean', false>\n ? boolean\n : T[k] extends ConfigOptionBase<'boolean', true>\n ? boolean[]\n : never\n}\n\n/**\n * The object retured by {@link Jack#parse}\n */\nexport type Parsed<T extends ConfigSet> = {\n values: OptionsResults<T>\n positionals: string[]\n}\n\nfunction num(\n o: ConfigOptionMeta<'number', false> = {}\n): ConfigOptionBase<'number', false> {\n const { default: def, validate: val, ...rest } = o\n if (def !== undefined && !isValidValue(def, 'number', false)) {\n throw new TypeError('invalid default value')\n }\n const validate = val\n ? (val as (v: any) => v is ValidValue<'number', false>)\n : undefined\n return {\n ...rest,\n default: def,\n validate,\n type: 'number',\n multiple: false,\n }\n}\n\nfunction numList(\n o: ConfigOptionMeta<'number', true> = {}\n): ConfigOptionBase<'number', true> {\n const { default: def, validate: val, ...rest } = o\n if (def !== undefined && !isValidValue(def, 'number', true)) {\n throw new TypeError('invalid default value')\n }\n const validate = val\n ? (val as (v: any) => v is ValidValue<'number', true>)\n : undefined\n return {\n ...rest,\n default: def,\n validate,\n type: 'number',\n multiple: true,\n }\n}\n\nfunction opt(\n o: ConfigOptionMeta<'string', false> = {}\n): ConfigOptionBase<'string', false> {\n const { default: def, validate: val, ...rest } = o\n if (def !== undefined && !isValidValue(def, 'string', false)) {\n throw new TypeError('invalid default value')\n }\n const validate = val\n ? (val as (v: any) => v is ValidValue<'string', false>)\n : undefined\n return {\n ...rest,\n default: def,\n validate,\n type: 'string',\n multiple: false,\n }\n}\n\nfunction optList(\n o: ConfigOptionMeta<'string', true> = {}\n): ConfigOptionBase<'string', true> {\n const { default: def, validate: val, ...rest } = o\n if (def !== undefined && !isValidValue(def, 'string', true)) {\n throw new TypeError('invalid default value')\n }\n const validate = val\n ? (val as (v: any) => v is ValidValue<'string', true>)\n : undefined\n return {\n ...rest,\n default: def,\n validate,\n type: 'string',\n multiple: true,\n }\n}\n\nfunction flag(\n o: ConfigOptionMeta<'boolean', false> = {}\n): ConfigOptionBase<'boolean', false> {\n const {\n hint,\n default: def,\n validate: val,\n ...rest\n } = o as ConfigOptionMeta<'boolean', false> & { hint: any }\n if (def !== undefined && !isValidValue(def, 'boolean', false)) {\n throw new TypeError('invalid default value')\n }\n const validate = val\n ? (val as (v: any) => v is ValidValue<'boolean', false>)\n : undefined\n if (hint !== undefined) {\n throw new TypeError('cannot provide hint for flag')\n }\n return {\n ...rest,\n default: def,\n validate,\n type: 'boolean',\n multiple: false,\n }\n}\n\nfunction flagList(\n o: ConfigOptionMeta<'boolean', true> = {}\n): ConfigOptionBase<'boolean', true> {\n const {\n hint,\n default: def,\n validate: val,\n ...rest\n } = o as ConfigOptionMeta<'boolean', false> & { hint: any }\n if (def !== undefined && !isValidValue(def, 'boolean', true)) {\n throw new TypeError('invalid default value')\n }\n const validate = val\n ? (val as (v: any) => v is ValidValue<'boolean', true>)\n : undefined\n if (hint !== undefined) {\n throw new TypeError('cannot provide hint for flag list')\n }\n return {\n ...rest,\n default: def,\n validate,\n type: 'boolean',\n multiple: true,\n }\n}\nconst toParseArgsOptionsConfig = (\n options: ConfigSet\n): Exclude<ParseArgsConfig['options'], undefined> => {\n const c: Exclude<ParseArgsConfig['options'], undefined> = {}\n for (const longOption in options) {\n const config = options[longOption]\n /* c8 ignore start */\n if (!config) {\n throw new Error('config must be an object: ' + longOption)\n }\n /* c8 ignore start */\n if (isConfigOption(config, 'number', true)) {\n c[longOption] = {\n type: 'string',\n multiple: true,\n default: config.default?.map(c => String(c)),\n }\n } else if (isConfigOption(config, 'number', false)) {\n c[longOption] = {\n type: 'string',\n multiple: false,\n default:\n config.default === undefined\n ? undefined\n : String(config.default),\n }\n } else {\n const conf = config as\n | ConfigOptionBase<'string', boolean>\n | ConfigOptionBase<'boolean', boolean>\n c[longOption] = {\n type: conf.type,\n multiple: conf.multiple,\n default: conf.default,\n }\n }\n const clo = c[longOption] as ConfigOptionBase<ConfigType, boolean>\n if (typeof config.short === 'string') {\n clo.short = config.short\n }\n\n if (\n config.type === 'boolean' &&\n !longOption.startsWith('no-') &&\n !options[`no-${longOption}`]\n ) {\n c[`no-${longOption}`] = {\n type: 'boolean',\n multiple: config.multiple,\n }\n }\n }\n return c\n}\n\n/**\n * A row used when generating the {@link Jack#usage} string\n */\nexport interface Row {\n left?: string\n text: string\n skipLine?: boolean\n type?: string\n}\n\n/**\n * A heading for a section in the usage, created by the jack.heading()\n * method.\n *\n * First heading is always level 1, subsequent headings default to 2.\n *\n * The level of the nearest heading level sets the indentation of the\n * description that follows.\n */\nexport interface Heading extends Row {\n type: 'heading'\n text: string\n left?: ''\n skipLine?: boolean\n level: number\n pre?: boolean\n}\nconst isHeading = (r: { type?: string }): r is Heading =>\n r.type === 'heading'\n\n/**\n * An arbitrary blob of text describing some stuff, set by the\n * jack.description() method.\n *\n * Indentation determined by level of the nearest header.\n */\nexport interface Description extends Row {\n type: 'description'\n text: string\n left?: ''\n skipLine?: boolean\n pre?: boolean\n}\n\nconst isDescription = (r: { type?: string }): r is Description =>\n r.type === 'description'\n\n/**\n * A heading or description row used when generating the {@link Jack#usage}\n * string\n */\nexport type TextRow = Heading | Description\n\n/**\n * Either a {@link TextRow} or a reference to a {@link ConfigOptionBase}\n */\nexport type UsageField =\n | TextRow\n | {\n type: 'config'\n name: string\n value: ConfigOptionBase<ConfigType, boolean>\n }\n\n/**\n * Options provided to the {@link Jack} constructor\n */\nexport interface JackOptions {\n /**\n * Whether to allow positional arguments\n *\n * @default true\n */\n allowPositionals?: boolean\n\n /**\n * Prefix to use when reading/writing the environment variables\n *\n * If not specified, environment behavior will not be available.\n */\n envPrefix?: string\n\n /**\n * Environment object to read/write. Defaults `process.env`.\n * No effect if `envPrefix` is not set.\n */\n env?: { [k: string]: string | undefined }\n\n /**\n * A short usage string. If not provided, will be generated from the\n * options provided, but that can of course be rather verbose if\n * there are a lot of options.\n */\n usage?: string\n\n /**\n * Stop parsing flags and opts at the first positional argument.\n * This is to support cases like `cmd [flags] <subcmd> [options]`, where\n * each subcommand may have different options. This effectively treats\n * any positional as a `--` argument. Only relevant if `allowPositionals`\n * is true.\n *\n * To do subcommands, set this option, look at the first positional, and\n * parse the remaining positionals as appropriate.\n *\n * @default false\n */\n stopAtPositional?: boolean\n}\n\n/**\n * Class returned by the {@link jack} function and all configuration\n * definition methods. This is what gets chained together.\n */\nexport class Jack<C extends ConfigSet = {}> {\n #configSet: C\n #shorts: { [k: string]: string }\n #options: JackOptions\n #fields: UsageField[] = []\n #env: { [k: string]: string | undefined }\n #envPrefix?: string\n #allowPositionals: boolean\n #usage?: string\n #usageMarkdown?: string\n\n constructor(options: JackOptions = {}) {\n this.#options = options\n this.#allowPositionals = options.allowPositionals !== false\n this.#env =\n this.#options.env === undefined ? process.env : this.#options.env\n this.#envPrefix = options.envPrefix\n // We need to fib a little, because it's always the same object, but it\n // starts out as having an empty config set. Then each method that adds\n // fields returns `this as Jack<C & { ...newConfigs }>`\n this.#configSet = Object.create(null) as C\n this.#shorts = Object.create(null)\n }\n\n /**\n * Set the default value (which will still be overridden by env or cli)\n * as if from a parsed config file. The optional `source` param, if\n * provided, will be included in error messages if a value is invalid or\n * unknown.\n */\n setConfigValues(values: OptionsResults<C>, source = '') {\n try {\n this.validate(values)\n } catch (er) {\n throw Object.assign(er as Error, source ? { source } : {})\n }\n for (const [field, value] of Object.entries(values)) {\n const my = this.#configSet[field]\n // already validated, just for TS's benefit\n /* c8 ignore start */\n if (!my) {\n throw new Error('unexpected field in config set: ' + field)\n }\n /* c8 ignore stop */\n my.default = value\n }\n return this\n }\n\n /**\n * Parse a string of arguments, and return the resulting\n * `{ values, positionals }` object.\n *\n * If an {@link JackOptions#envPrefix} is set, then it will read default\n * values from the environment, and write the resulting values back\n * to the environment as well.\n *\n * Environment values always take precedence over any other value, except\n * an explicit CLI setting.\n */\n parse(args: string[] = process.argv): Parsed<C> {\n if (args === process.argv) {\n args = args.slice(\n (process as { _eval?: string })._eval !== undefined ? 1 : 2\n )\n }\n if (this.#envPrefix) {\n for (const [field, my] of Object.entries(this.#configSet)) {\n const ek = toEnvKey(this.#envPrefix, field)\n const env = this.#env[ek]\n if (env !== undefined) {\n my.default = fromEnvVal(env, my.type, !!my.multiple, my.delim)\n }\n }\n }\n\n const options = toParseArgsOptionsConfig(this.#configSet)\n const result = parseArgs({\n args,\n options,\n // always strict, but using our own logic\n strict: false,\n allowPositionals: this.#allowPositionals,\n tokens: true,\n })\n\n const p: Parsed<C> = {\n values: {},\n positionals: [],\n }\n for (const token of result.tokens) {\n if (token.kind === 'positional') {\n p.positionals.push(token.value)\n if (this.#options.stopAtPositional) {\n p.positionals.push(...args.slice(token.index + 1))\n return p\n }\n } else if (token.kind === 'option') {\n let value: string | number | boolean | undefined = undefined\n if (token.name.startsWith('no-')) {\n const my = this.#configSet[token.name]\n const pname = token.name.substring('no-'.length)\n const pos = this.#configSet[pname]\n if (\n pos &&\n pos.type === 'boolean' &&\n (!my ||\n (my.type === 'boolean' && !!my.multiple === !!pos.multiple))\n ) {\n value = false\n token.name = pname\n }\n }\n const my = this.#configSet[token.name]\n if (!my) {\n throw new Error(\n `Unknown option '${token.rawName}'. ` +\n `To specify a positional argument starting with a '-', ` +\n `place it at the end of the command after '--', as in ` +\n `'-- ${token.rawName}'`\n )\n }\n if (value === undefined) {\n if (token.value === undefined) {\n if (my.type !== 'boolean') {\n throw new Error(\n `No value provided for ${token.rawName}, expected ${my.type}`\n )\n }\n value = true\n } else {\n if (my.type === 'boolean') {\n throw new Error(\n `Flag ${token.rawName} does not take a value, received '${token.value}'`\n )\n }\n if (my.type === 'string') {\n value = token.value\n } else {\n value = +token.value\n if (value !== value) {\n throw new Error(\n `Invalid value '${token.value}' provided for ` +\n `'${token.rawName}' option, expected number`\n )\n }\n }\n }\n }\n if (my.multiple) {\n const pv = p.values as {\n [k: string]: (string | number | boolean)[]\n }\n const tn = pv[token.name] ?? []\n pv[token.name] = tn\n tn.push(value)\n } else {\n const pv = p.values as { [k: string]: string | number | boolean }\n pv[token.name] = value\n }\n }\n }\n\n for (const [field, c] of Object.entries(this.#configSet)) {\n if (c.default !== undefined && !(field in p.values)) {\n //@ts-ignore\n p.values[field] = c.default\n }\n }\n\n for (const [field, value] of Object.entries(p.values)) {\n const valid = this.#configSet[field]?.validate\n if (valid && !valid(value)) {\n throw new Error(\n `Invalid value provided for --${field}: ${JSON.stringify(value)}`\n )\n }\n }\n\n this.#writeEnv(p)\n\n return p\n }\n\n /**\n * do not set fields as 'no-foo' if 'foo' exists and both are bools\n * just set foo.\n */\n #noNoFields(f: string, val: any, s: string = f) {\n if (!f.startsWith('no-') || typeof val !== 'boolean') return\n const yes = f.substring('no-'.length)\n // recurse so we get the core config key we care about.\n this.#noNoFields(yes, val, s)\n if (this.#configSet[yes]?.type === 'boolean') {\n throw new Error(\n `do not set '${s}', instead set '${yes}' as desired.`\n )\n }\n }\n\n /**\n * Validate that any arbitrary object is a valid configuration `values`\n * object. Useful when loading config files or other sources.\n */\n validate(o: any): asserts o is Parsed<C>['values'] {\n if (!o || typeof o !== 'object') {\n throw new Error('Invalid config: not an object')\n }\n for (const field in o) {\n this.#noNoFields(field, o[field])\n const config = this.#configSet[field]\n if (!config) {\n throw new Error(`Unknown config option: ${field}`)\n }\n if (!isValidValue(o[field], config.type, !!config.multiple)) {\n throw Object.assign(\n new Error(\n `Invalid value ${valueType(\n o[field]\n )} for ${field}, expected ${valueType(config)}`\n ),\n {\n field,\n value: o[field],\n }\n )\n }\n if (config.validate && !config.validate(o[field])) {\n throw new Error(`Invalid config value for ${field}: ${o[field]}`)\n }\n }\n }\n\n #writeEnv(p: Parsed<C>) {\n if (!this.#env || !this.#envPrefix) return\n for (const [field, value] of Object.entries(p.values)) {\n const my = this.#configSet[field]\n this.#env[toEnvKey(this.#envPrefix, field)] = toEnvVal(\n value,\n my?.delim\n )\n }\n }\n\n /**\n * Add a heading to the usage output banner\n */\n heading(\n text: string,\n level?: 1 | 2 | 3 | 4 | 5 | 6,\n { pre = false }: { pre?: boolean } = {}\n ): Jack<C> {\n if (level === undefined) {\n level = this.#fields.some(r => isHeading(r)) ? 2 : 1\n }\n this.#fields.push({ type: 'heading', text, level, pre })\n return this\n }\n\n /**\n * Add a long-form description to the usage output at this position.\n */\n description(text: string, { pre }: { pre?: boolean } = {}): Jack<C> {\n this.#fields.push({ type: 'description', text, pre })\n return this\n }\n\n /**\n * Add one or more number fields.\n */\n num<F extends ConfigMetaSet<'number', false>>(\n fields: F\n ): Jack<C & ConfigSetFromMetaSet<'number', false, F>> {\n return this.#addFields(fields, num)\n }\n\n /**\n * Add one or more multiple number fields.\n */\n numList<F extends ConfigMetaSet<'number', true>>(\n fields: F\n ): Jack<C & ConfigSetFromMetaSet<'number', true, F>> {\n return this.#addFields(fields, numList)\n }\n\n /**\n * Add one or more string option fields.\n */\n opt<F extends ConfigMetaSet<'string', false>>(\n fields: F\n ): Jack<C & ConfigSetFromMetaSet<'string', false, F>> {\n return this.#addFields(fields, opt)\n }\n\n /**\n * Add one or more multiple string option fields.\n */\n optList<F extends ConfigMetaSet<'string', true>>(\n fields: F\n ): Jack<C & ConfigSetFromMetaSet<'string', true, F>> {\n return this.#addFields(fields, optList)\n }\n\n /**\n * Add one or more flag fields.\n */\n flag<F extends ConfigMetaSet<'boolean', false>>(\n fields: F\n ): Jack<C & ConfigSetFromMetaSet<'boolean', false, F>> {\n return this.#addFields(fields, flag)\n }\n\n /**\n * Add one or more multiple flag fields.\n */\n flagList<F extends ConfigMetaSet<'boolean', true>>(\n fields: F\n ): Jack<C & ConfigSetFromMetaSet<'boolean', true, F>> {\n return this.#addFields(fields, flagList)\n }\n\n /**\n * Generic field definition method. Similar to flag/flagList/number/etc,\n * but you must specify the `type` (and optionally `multiple` and `delim`)\n * fields on each one, or Jack won't know how to define them.\n */\n addFields<F extends ConfigSet>(fields: F): Jack<C & F> {\n const next = this as unknown as Jack<C & F>\n for (const [name, field] of Object.entries(fields)) {\n this.#validateName(name, field)\n next.#fields.push({\n type: 'config',\n name,\n value: field as ConfigOptionBase<ConfigType, boolean>,\n })\n }\n Object.assign(next.#configSet, fields)\n return next\n }\n\n #addFields<\n T extends ConfigType,\n M extends boolean,\n F extends ConfigMetaSet<T, M>\n >(\n fields: F,\n fn: (m: ConfigOptionMeta<T, M>) => ConfigOptionBase<T, M>\n ): Jack<C & ConfigSetFromMetaSet<T, M, F>> {\n type NextC = C & ConfigSetFromMetaSet<T, M, F>\n const next = this as unknown as Jack<NextC>\n Object.assign(\n next.#configSet,\n Object.fromEntries(\n Object.entries(fields).map(([name, field]) => {\n this.#validateName(name, field)\n const option = fn(field)\n next.#fields.push({\n type: 'config',\n name,\n value: option as ConfigOptionBase<ConfigType, boolean>,\n })\n return [name, option]\n })\n )\n )\n return next\n }\n\n #validateName(name: string, field: { short?: string }) {\n if (!/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/.test(name)) {\n throw new TypeError(\n `Invalid option name: ${name}, ` +\n `must be '-' delimited ASCII alphanumeric`\n )\n }\n if (this.#configSet[name]) {\n throw new TypeError(`Cannot redefine option ${field}`)\n }\n if (this.#shorts[name]) {\n throw new TypeError(\n `Cannot redefine option ${name}, already ` +\n `in use for ${this.#shorts[name]}`\n )\n }\n if (field.short) {\n if (!/^[a-zA-Z0-9]$/.test(field.short)) {\n throw new TypeError(\n `Invalid ${name} short option: ${field.short}, ` +\n 'must be 1 ASCII alphanumeric character'\n )\n }\n if (this.#shorts[field.short]) {\n throw new TypeError(\n `Invalid ${name} short option: ${field.short}, ` +\n `already in use for ${this.#shorts[field.short]}`\n )\n }\n this.#shorts[field.short] = name\n this.#shorts[name] = name\n }\n }\n\n /**\n * Return the usage banner for the given configuration\n */\n usage(): string {\n if (this.#usage) return this.#usage\n\n let headingLevel = 1\n const ui = cliui({ width })\n const first = this.#fields[0]\n let start = first?.type === 'heading' ? 1 : 0\n if (first?.type === 'heading') {\n ui.div({\n padding: [0, 0, 0, 0],\n text: normalize(first.text),\n })\n }\n ui.div({ padding: [0, 0, 0, 0], text: 'Usage:' })\n if (this.#options.usage) {\n ui.div({\n text: this.#options.usage,\n padding: [0, 0, 0, 2],\n })\n } else {\n const cmd = basename(String(process.argv[1]))\n const shortFlags: string[] = []\n const shorts: string[][] = []\n const flags: string[] = []\n const opts: string[][] = []\n for (const [field, config] of Object.entries(this.#configSet)) {\n if (config.short) {\n if (config.type === 'boolean') shortFlags.push(config.short)\n else shorts.push([config.short, config.hint || field])\n } else {\n if (config.type === 'boolean') flags.push(field)\n else opts.push([field, config.hint || field])\n }\n }\n const sf = shortFlags.length ? ' -' + shortFlags.join('') : ''\n const so = shorts.map(([k, v]) => ` --${k}=<${v}>`).join('')\n const lf = flags.map(k => ` --${k}`).join('')\n const lo = opts.map(([k, v]) => ` --${k}=<${v}>`).join('')\n const usage = `${cmd}${sf}${so}${lf}${lo}`.trim()\n ui.div({\n text: usage,\n padding: [0, 0, 0, 2],\n })\n }\n\n ui.div({ padding: [0, 0, 0, 0], text: '' })\n const maybeDesc = this.#fields[start]\n if (maybeDesc && isDescription(maybeDesc)) {\n const print = normalize(maybeDesc.text, maybeDesc.pre)\n start++\n ui.div({ padding: [0, 0, 0, 0], text: print })\n ui.div({ padding: [0, 0, 0, 0], text: '' })\n }\n\n const { rows, maxWidth } = this.#usageRows(start)\n\n // every heading/description after the first gets indented by 2\n // extra spaces.\n for (const row of rows) {\n if (row.left) {\n // If the row is too long, don't wrap it\n // Bump the right-hand side down a line to make room\n const configIndent = indent(Math.max(headingLevel, 2))\n if (row.left.length > maxWidth - 3) {\n ui.div({ text: row.left, padding: [0, 0, 0, configIndent] })\n ui.div({ text: row.text, padding: [0, 0, 0, maxWidth] })\n } else {\n ui.div(\n {\n text: row.left,\n padding: [0, 1, 0, configIndent],\n width: maxWidth,\n },\n { padding: [0, 0, 0, 0], text: row.text }\n )\n }\n if (row.skipLine) {\n ui.div({ padding: [0, 0, 0, 0], text: '' })\n }\n } else {\n if (isHeading(row)) {\n const { level } = row\n headingLevel = level\n // only h1 and h2 have bottom padding\n // h3-h6 do not\n const b = level <= 2 ? 1 : 0\n ui.div({ ...row, padding: [0, 0, b, indent(level)] })\n } else {\n ui.div({ ...row, padding: [0, 0, 1, indent(headingLevel + 1)] })\n }\n }\n }\n\n return (this.#usage = ui.toString())\n }\n\n /**\n * Return the usage banner markdown for the given configuration\n */\n usageMarkdown(): string {\n if (this.#usageMarkdown) return this.#usageMarkdown\n\n const out: string[] = []\n\n let headingLevel = 1\n const first = this.#fields[0]\n let start = first?.type === 'heading' ? 1 : 0\n if (first?.type === 'heading') {\n out.push(`# ${normalizeOneLine(first.text)}`)\n }\n out.push('Usage:')\n if (this.#options.usage) {\n out.push(normalizeMarkdown(this.#options.usage, true))\n } else {\n const cmd = basename(String(process.argv[1]))\n const shortFlags: string[] = []\n const shorts: string[][] = []\n const flags: string[] = []\n const opts: string[][] = []\n for (const [field, config] of Object.entries(this.#configSet)) {\n if (config.short) {\n if (config.type === 'boolean') shortFlags.push(config.short)\n else shorts.push([config.short, config.hint || field])\n } else {\n if (config.type === 'boolean') flags.push(field)\n else opts.push([field, config.hint || field])\n }\n }\n const sf = shortFlags.length ? ' -' + shortFlags.join('') : ''\n const so = shorts.map(([k, v]) => ` --${k}=<${v}>`).join('')\n const lf = flags.map(k => ` --${k}`).join('')\n const lo = opts.map(([k, v]) => ` --${k}=<${v}>`).join('')\n const usage = `${cmd}${sf}${so}${lf}${lo}`.trim()\n out.push(normalizeMarkdown(usage, true))\n }\n\n const maybeDesc = this.#fields[start]\n if (maybeDesc && isDescription(maybeDesc)) {\n out.push(normalizeMarkdown(maybeDesc.text, maybeDesc.pre))\n start++\n }\n\n const { rows } = this.#usageRows(start)\n\n // heading level in markdown is number of # ahead of text\n for (const row of rows) {\n if (row.left) {\n out.push(\n '#'.repeat(headingLevel + 1) +\n ' ' +\n normalizeOneLine(row.left, true)\n )\n if (row.text) out.push(normalizeMarkdown(row.text))\n } else if (isHeading(row)) {\n const { level } = row\n headingLevel = level\n out.push(\n `${'#'.repeat(headingLevel)} ${normalizeOneLine(\n row.text,\n row.pre\n )}`\n )\n } else {\n out.push(normalizeMarkdown(row.text, !!(row as Description).pre))\n }\n }\n\n return (this.#usageMarkdown = out.join('\\n\\n') + '\\n')\n }\n\n #usageRows(start: number) {\n // turn each config type into a row, and figure out the width of the\n // left hand indentation for the option descriptions.\n let maxMax = Math.max(12, Math.min(26, Math.floor(width / 3)))\n let maxWidth = 8\n let prev: Row | TextRow | undefined = undefined\n const rows: (Row | TextRow)[] = []\n for (const field of this.#fields.slice(start)) {\n if (field.type !== 'config') {\n if (prev?.type === 'config') prev.skipLine = true\n prev = undefined\n field.text = normalize(field.text, !!field.pre)\n rows.push(field)\n continue\n }\n const { value } = field\n const desc = value.description || ''\n const mult = value.multiple ? 'Can be set multiple times' : ''\n const dmDelim = mult && (desc.includes('\\n') ? '\\n\\n' : '\\n')\n const text = normalize(desc + dmDelim + mult)\n const hint =\n value.hint ||\n (value.type === 'number'\n ? 'n'\n : value.type === 'string'\n ? field.name\n : undefined)\n const short = !value.short\n ? ''\n : value.type === 'boolean'\n ? `-${value.short} `\n : `-${value.short}<${hint}> `\n const left =\n value.type === 'boolean'\n ? `${short}--${field.name}`\n : `${short}--${field.name}=<${hint}>`\n const row: Row = { text, left, type: 'config' }\n if (text.length > width - maxMax) {\n row.skipLine = true\n }\n if (prev && left.length > maxMax) prev.skipLine = true\n prev = row\n const len = left.length + 4\n if (len > maxWidth && len < maxMax) {\n maxWidth = len\n }\n\n rows.push(row)\n }\n\n return { rows, maxWidth }\n }\n\n /**\n * Return the configuration options as a plain object\n */\n toJSON() {\n return Object.fromEntries(\n Object.entries(this.#configSet).map(([field, def]) => [\n field,\n {\n type: def.type,\n ...(def.multiple ? { multiple: true } : {}),\n ...(def.delim ? { delim: def.delim } : {}),\n ...(def.short ? { short: def.short } : {}),\n ...(def.description\n ? { description: normalize(def.description) }\n : {}),\n ...(def.validate ? { validate: def.validate } : {}),\n ...(def.default !== undefined ? { default: def.default } : {}),\n },\n ])\n )\n }\n\n /**\n * Custom printer for `util.inspect`\n */\n [inspect.custom](_: number, options: InspectOptions) {\n return `Jack ${inspect(this.toJSON(), options)}`\n }\n}\n\n// Unwrap and un-indent, so we can wrap description\n// strings however makes them look nice in the code.\nconst normalize = (s: string, pre: boolean = false): string =>\n pre\n ? // prepend a ZWSP to each line so cliui doesn't strip it.\n s\n .split('\\n')\n .map(l => `\\u200b${l}`)\n .join('\\n')\n : s\n // remove single line breaks, except for lists\n .replace(/([^\\n])\\n[ \\t]*([^\\n])/g, (_, $1, $2) =>\n !/^[-*]/.test($2) ? `${$1} ${$2}` : `${$1}\\n${$2}`\n )\n // normalize mid-line whitespace\n .replace(/([^\\n])[ \\t]+([^\\n])/g, '$1 $2')\n // two line breaks are enough\n .replace(/\\n{3,}/g, '\\n\\n')\n // remove any spaces at the start of a line\n .replace(/\\n[ \\t]+/g, '\\n')\n .trim()\n\n// normalize for markdown printing, remove leading spaces on lines\nconst normalizeMarkdown = (s: string, pre: boolean = false): string => {\n const n = normalize(s, pre).replace(/\\\\/g, '\\\\\\\\')\n return pre\n ? `\\`\\`\\`\\n${n.replace(/\\u200b/g, '')}\\n\\`\\`\\``\n : n.replace(/\\n +/g, '\\n').trim()\n}\n\nconst normalizeOneLine = (s: string, pre: boolean = false) => {\n const n = normalize(s, pre)\n .replace(/[\\s\\u200b]+/g, ' ')\n .trim()\n return pre ? `\\`${n}\\`` : n\n}\n\n/**\n * Main entry point. Create and return a {@link Jack} object.\n */\nexport const jack = (options: JackOptions = {}) => new Jack(options)\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAOA,yCAAoE;AACpE,mDAA2C;AAE3C,kDAAkD;AAClD,YAAY;AACZ,0DAAiC;AACjC,yCAAoC;AAEpC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CACpB,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,EAC3D,EAAE,CACH,CAAA;AAED,wCAAwC;AACxC,MAAM,MAAM,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAA;AAEzC,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,GAAW,EAAU,EAAE;IACrD,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC;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,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,CAAA;AACrC,CAAC,CAAA;AAED,MAAM,gBAAgB,GAAG,CAAC,CAAS,EAAE,MAAe,KAAK,EAAE,EAAE;IAC3D,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC;SACxB,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC;SAC5B,IAAI,EAAE,CAAA;IACT,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;AAC7B,CAAC,CAAA;AAED;;GAEG;AACI,MAAM,IAAI,GAAG,CAAC,UAAuB,EAAE,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,CAAA;AAAvD,QAAA,IAAI,QAAmD","sourcesContent":["export type ConfigType = 'number' | 'string' | 'boolean'\n\n/**\n * Given a Jack object, get the typeof its ConfigSet\n */\nexport type Unwrap<J> = J extends Jack<infer C> ? C : never\n\nimport { inspect, InspectOptions, ParseArgsConfig } from 'node:util'\nimport { parseArgs } from './parse-args.js'\n\n// it's a tiny API, just cast it inline, it's fine\n//@ts-ignore\nimport cliui from '@isaacs/cliui'\nimport { basename } from 'node:path'\n\nconst width = Math.min(\n (process && process.stdout && process.stdout.columns) || 80,\n 80,\n)\n\n// indentation spaces from heading level\nconst indent = (n: number) => (n - 1) * 2\n\nconst toEnvKey = (pref: string, key: string): string => {\n return [pref, key.replace(/[^a-zA-Z0-9]+/g, ' ')]\n .join(' ')\n .trim()\n .toUpperCase()\n .replace(/ /g, '_')\n}\n\nconst toEnvVal = (\n value: string | boolean | number | string[] | boolean[] | number[],\n delim: string = '\\n',\n): string => {\n const str =\n typeof value === 'string' ? value\n : typeof value === 'boolean' ?\n value ? '1'\n : '0'\n : typeof value === 'number' ? String(value)\n : Array.isArray(value) ?\n value.map((v: string | number | boolean) => toEnvVal(v)).join(delim)\n : /* c8 ignore start */ undefined\n if (typeof str !== 'string') {\n throw new Error(\n `could not serialize value to environment: ${JSON.stringify(value)}`,\n )\n }\n /* c8 ignore stop */\n return str\n}\n\nconst fromEnvVal = <T extends ConfigType, M extends boolean>(\n env: string,\n type: T,\n multiple: M,\n delim: string = '\\n',\n): ValidValue<T, M> =>\n (multiple ?\n env ? env.split(delim).map(v => fromEnvVal(v, type, false))\n : []\n : type === 'string' ? env\n : type === 'boolean' ? env === '1'\n : +env.trim()) as ValidValue<T, M>\n\n/**\n * Defines the type of value that is valid, given a config definition's\n * {@link ConfigType} and boolean multiple setting\n */\nexport type ValidValue<\n T extends ConfigType = ConfigType,\n M extends boolean = boolean,\n> =\n [T, M] extends ['number', true] ? number[]\n : [T, M] extends ['string', true] ? string[]\n : [T, M] extends ['boolean', true] ? boolean[]\n : [T, M] extends ['number', false] ? number\n : [T, M] extends ['string', false] ? string\n : [T, M] extends ['boolean', false] ? boolean\n : [T, M] extends ['string', boolean] ? string | string[]\n : [T, M] extends ['boolean', boolean] ? boolean | boolean[]\n : [T, M] extends ['number', boolean] ? number | number[]\n : [T, M] extends [ConfigType, false] ? string | number | boolean\n : [T, M] extends [ConfigType, true] ? string[] | number[] | boolean[]\n : string | number | boolean | string[] | number[] | boolean[]\n\n/**\n * The meta information for a config option definition, when the\n * type and multiple values can be inferred by the method being used\n */\nexport type ConfigOptionMeta<\n T extends ConfigType,\n M extends boolean = boolean,\n O extends\n | undefined\n | (T extends 'boolean' ? never\n : T extends 'string' ? readonly string[]\n : T extends 'number' ? readonly number[]\n : readonly number[] | readonly string[]) =\n | undefined\n | (T extends 'boolean' ? never\n : T extends 'string' ? readonly string[]\n : T extends 'number' ? readonly number[]\n : readonly number[] | readonly string[]),\n> = {\n default?:\n | undefined\n | (ValidValue<T, M> &\n (O extends number[] | string[] ?\n M extends false ?\n O[number]\n : O[number][]\n : unknown))\n validOptions?: O\n description?: string\n validate?:\n | ((v: unknown) => v is ValidValue<T, M>)\n | ((v: unknown) => boolean)\n short?: string | undefined\n type?: T\n hint?: T extends 'boolean' ? never : string\n delim?: M extends true ? string : never\n} & (M extends false ? { multiple?: false | undefined }\n: M extends true ? { multiple: true }\n: { multiple?: boolean })\n\n/**\n * A set of {@link ConfigOptionMeta} fields, referenced by their longOption\n * string values.\n */\nexport type ConfigMetaSet<\n T extends ConfigType,\n M extends boolean = boolean,\n> = {\n [longOption: string]: ConfigOptionMeta<T, M>\n}\n\n/**\n * Infer {@link ConfigSet} fields from a given {@link ConfigMetaSet}\n */\nexport type ConfigSetFromMetaSet<\n T extends ConfigType,\n M extends boolean,\n S extends ConfigMetaSet<T, M>,\n> = {\n [longOption in keyof S]: ConfigOptionBase<T, M>\n}\n\n/**\n * Fields that can be set on a {@link ConfigOptionBase} or\n * {@link ConfigOptionMeta} based on whether or not the field is known to be\n * multiple.\n */\nexport type MultiType<M extends boolean> =\n M extends true ?\n {\n multiple: true\n delim?: string | undefined\n }\n : M extends false ?\n {\n multiple?: false | undefined\n delim?: undefined\n }\n : {\n multiple?: boolean | undefined\n delim?: string | undefined\n }\n\n/**\n * A config field definition, in its full representation.\n */\nexport type ConfigOptionBase<\n T extends ConfigType,\n M extends boolean = boolean,\n> = {\n type: T\n short?: string | undefined\n default?: ValidValue<T, M> | undefined\n description?: string\n hint?: T extends 'boolean' ? undefined : string | undefined\n validate?: (v: unknown) => v is ValidValue<T, M>\n validOptions?: T extends 'boolean' ? undefined\n : T extends 'string' ? readonly string[]\n : T extends 'number' ? readonly number[]\n : readonly number[] | readonly string[]\n} & MultiType<M>\n\nexport const isConfigType = (t: string): t is ConfigType =>\n typeof t === 'string' &&\n (t === 'string' || t === 'number' || t === 'boolean')\n\nconst undefOrType = (v: unknown, t: string): boolean =>\n v === undefined || typeof v === t\nconst undefOrTypeArray = (v: unknown, t: string): boolean =>\n v === undefined || (Array.isArray(v) && v.every(x => typeof x === t))\n\nconst isValidOption = (v: unknown, vo: readonly unknown[]): boolean =>\n Array.isArray(v) ? v.every(x => isValidOption(x, vo)) : vo.includes(v)\n\n// print the value type, for error message reporting\nconst valueType = (\n v:\n | string\n | number\n | boolean\n | string[]\n | number[]\n | boolean[]\n | { type: ConfigType; multiple?: boolean },\n): string =>\n typeof v === 'string' ? 'string'\n : typeof v === 'boolean' ? 'boolean'\n : typeof v === 'number' ? 'number'\n : Array.isArray(v) ?\n joinTypes([...new Set(v.map(v => valueType(v)))]) + '[]'\n : `${v.type}${v.multiple ? '[]' : ''}`\n\nconst joinTypes = (types: string[]): string =>\n types.length === 1 && typeof types[0] === 'string' ?\n types[0]\n : `(${types.join('|')})`\n\nconst isValidValue = <T extends ConfigType, M extends boolean>(\n v: unknown,\n type: T,\n multi: M,\n): v is ValidValue<T, M> => {\n if (multi) {\n if (!Array.isArray(v)) return false\n return !v.some((v: unknown) => !isValidValue(v, type, false))\n }\n if (Array.isArray(v)) return false\n return typeof v === type\n}\n\nexport const isConfigOption = <T extends ConfigType, M extends boolean>(\n o: any,\n type: T,\n multi: M,\n): o is ConfigOptionBase<T, M> =>\n !!o &&\n typeof o === 'object' &&\n isConfigType(o.type) &&\n o.type === type &&\n undefOrType(o.short, 'string') &&\n undefOrType(o.description, 'string') &&\n undefOrType(o.hint, 'string') &&\n undefOrType(o.validate, 'function') &&\n (o.type === 'boolean' ?\n o.validOptions === undefined\n : undefOrTypeArray(o.validOptions, o.type)) &&\n (o.default === undefined || isValidValue(o.default, type, multi)) &&\n !!o.multiple === multi\n\n/**\n * A set of {@link ConfigOptionBase} objects, referenced by their longOption\n * string values.\n */\nexport type ConfigSet = {\n [longOption: string]: ConfigOptionBase<ConfigType>\n}\n\n/**\n * The 'values' field returned by {@link Jack#parse}\n */\nexport type OptionsResults<T extends ConfigSet> = {\n [k in keyof T]?: T[k]['validOptions'] extends (\n readonly string[] | readonly number[]\n ) ?\n T[k] extends ConfigOptionBase<'string' | 'number', false> ?\n T[k]['validOptions'][number]\n : T[k] extends ConfigOptionBase<'string' | 'number', true> ?\n T[k]['validOptions'][number][]\n : never\n : T[k] extends ConfigOptionBase<'string', false> ? string\n : T[k] extends ConfigOptionBase<'string', true> ? string[]\n : T[k] extends ConfigOptionBase<'number', false> ? number\n : T[k] extends ConfigOptionBase<'number', true> ? number[]\n : T[k] extends ConfigOptionBase<'boolean', false> ? boolean\n : T[k] extends ConfigOptionBase<'boolean', true> ? boolean[]\n : never\n}\n\n/**\n * The object retured by {@link Jack#parse}\n */\nexport type Parsed<T extends ConfigSet> = {\n values: OptionsResults<T>\n positionals: string[]\n}\n\nfunction num(\n o: ConfigOptionMeta<'number', false> = {},\n): ConfigOptionBase<'number', false> {\n const { default: def, validate: val, validOptions, ...rest } = o\n if (def !== undefined && !isValidValue(def, 'number', false)) {\n throw new TypeError('invalid default value', {\n cause: {\n found: def,\n wanted: 'number',\n },\n })\n }\n if (!undefOrTypeArray(validOptions, 'number')) {\n throw new TypeError('invalid validOptions', {\n cause: {\n found: validOptions,\n wanted: 'number[]',\n },\n })\n }\n const validate =\n val ?\n (val as (v: unknown) => v is ValidValue<'number', false>)\n : undefined\n return {\n ...rest,\n default: def,\n validate,\n validOptions,\n type: 'number',\n multiple: false,\n }\n}\n\nfunction numList(\n o: ConfigOptionMeta<'number'> = {},\n): ConfigOptionBase<'number', true> {\n const { default: def, validate: val, validOptions, ...rest } = o\n if (def !== undefined && !isValidValue(def, 'number', true)) {\n throw new TypeError('invalid default value', {\n cause: {\n found: def,\n wanted: 'number[]',\n },\n })\n }\n if (!undefOrTypeArray(validOptions, 'number')) {\n throw new TypeError('invalid validOptions', {\n cause: {\n found: validOptions,\n wanted: 'number[]',\n },\n })\n }\n const validate =\n val ?\n (val as (v: unknown) => v is ValidValue<'number', true>)\n : undefined\n return {\n ...rest,\n default: def,\n validate,\n validOptions,\n type: 'number',\n multiple: true,\n }\n}\n\nfunction opt(\n o: ConfigOptionMeta<'string', false> = {},\n): ConfigOptionBase<'string', false> {\n const { default: def, validate: val, validOptions, ...rest } = o\n if (def !== undefined && !isValidValue(def, 'string', false)) {\n throw new TypeError('invalid default value', {\n cause: {\n found: def,\n wanted: 'string',\n },\n })\n }\n if (!undefOrTypeArray(validOptions, 'string')) {\n throw new TypeError('invalid validOptions', {\n cause: {\n found: validOptions,\n wanted: 'string[]',\n },\n })\n }\n const validate =\n val ?\n (val as (v: unknown) => v is ValidValue<'string', false>)\n : undefined\n return {\n ...rest,\n default: def,\n validate,\n validOptions,\n type: 'string',\n multiple: false,\n }\n}\n\nfunction optList(\n o: ConfigOptionMeta<'string'> = {},\n): ConfigOptionBase<'string', true> {\n const { default: def, validate: val, validOptions, ...rest } = o\n if (def !== undefined && !isValidValue(def, 'string', true)) {\n throw new TypeError('invalid default value', {\n cause: {\n found: def,\n wanted: 'string[]',\n },\n })\n }\n if (!undefOrTypeArray(validOptions, 'string')) {\n throw new TypeError('invalid validOptions', {\n cause: {\n found: validOptions,\n wanted: 'string[]',\n },\n })\n }\n const validate =\n val ?\n (val as (v: unknown) => v is ValidValue<'string', true>)\n : undefined\n return {\n ...rest,\n default: def,\n validate,\n validOptions,\n type: 'string',\n multiple: true,\n }\n}\n\nfunction flag(\n o: ConfigOptionMeta<'boolean', false> = {},\n): ConfigOptionBase<'boolean', false> {\n const {\n hint,\n default: def,\n validate: val,\n ...rest\n } = o as ConfigOptionMeta<'boolean', false>\n delete (rest as ConfigOptionMeta<'string', false>).validOptions\n if (def !== undefined && !isValidValue(def, 'boolean', false)) {\n throw new TypeError('invalid default value')\n }\n const validate =\n val ?\n (val as (v: unknown) => v is ValidValue<'boolean', false>)\n : undefined\n if (hint !== undefined) {\n throw new TypeError('cannot provide hint for flag')\n }\n return {\n ...rest,\n default: def,\n validate,\n type: 'boolean',\n multiple: false,\n }\n}\n\nfunction flagList(\n o: ConfigOptionMeta<'boolean'> = {},\n): ConfigOptionBase<'boolean', true> {\n const {\n hint,\n default: def,\n validate: val,\n ...rest\n } = o as ConfigOptionMeta<'boolean', false>\n delete (rest as ConfigOptionMeta<'string', false>).validOptions\n if (def !== undefined && !isValidValue(def, 'boolean', true)) {\n throw new TypeError('invalid default value')\n }\n const validate =\n val ?\n (val as (v: unknown) => v is ValidValue<'boolean', true>)\n : undefined\n if (hint !== undefined) {\n throw new TypeError('cannot provide hint for flag list')\n }\n return {\n ...rest,\n default: def,\n validate,\n type: 'boolean',\n multiple: true,\n }\n}\nconst toParseArgsOptionsConfig = (\n options: ConfigSet,\n): Exclude<ParseArgsConfig['options'], undefined> => {\n const c: Exclude<ParseArgsConfig['options'], undefined> = {}\n for (const longOption in options) {\n const config = options[longOption]\n /* c8 ignore start */\n if (!config) {\n throw new Error('config must be an object: ' + longOption)\n }\n /* c8 ignore start */\n if (isConfigOption(config, 'number', true)) {\n c[longOption] = {\n type: 'string',\n multiple: true,\n default: config.default?.map(c => String(c)),\n }\n } else if (isConfigOption(config, 'number', false)) {\n c[longOption] = {\n type: 'string',\n multiple: false,\n default:\n config.default === undefined ?\n undefined\n : String(config.default),\n }\n } else {\n const conf = config as\n | ConfigOptionBase<'string'>\n | ConfigOptionBase<'boolean'>\n c[longOption] = {\n type: conf.type,\n multiple: !!conf.multiple,\n default: conf.default,\n }\n }\n const clo = c[longOption] as ConfigOptionBase<ConfigType>\n if (typeof config.short === 'string') {\n clo.short = config.short\n }\n\n if (\n config.type === 'boolean' &&\n !longOption.startsWith('no-') &&\n !options[`no-${longOption}`]\n ) {\n c[`no-${longOption}`] = {\n type: 'boolean',\n multiple: config.multiple,\n }\n }\n }\n return c\n}\n\n/**\n * A row used when generating the {@link Jack#usage} string\n */\nexport interface Row {\n left?: string\n text: string\n skipLine?: boolean\n type?: string\n}\n\n/**\n * A heading for a section in the usage, created by the jack.heading()\n * method.\n *\n * First heading is always level 1, subsequent headings default to 2.\n *\n * The level of the nearest heading level sets the indentation of the\n * description that follows.\n */\nexport interface Heading extends Row {\n type: 'heading'\n text: string\n left?: ''\n skipLine?: boolean\n level: number\n pre?: boolean\n}\nconst isHeading = (r: { type?: string }): r is Heading =>\n r.type === 'heading'\n\n/**\n * An arbitrary blob of text describing some stuff, set by the\n * jack.description() method.\n *\n * Indentation determined by level of the nearest header.\n */\nexport interface Description extends Row {\n type: 'description'\n text: string\n left?: ''\n skipLine?: boolean\n pre?: boolean\n}\n\nconst isDescription = (r: { type?: string }): r is Description =>\n r.type === 'description'\n\n/**\n * A heading or description row used when generating the {@link Jack#usage}\n * string\n */\nexport type TextRow = Heading | Description\n\n/**\n * Either a {@link TextRow} or a reference to a {@link ConfigOptionBase}\n */\nexport type UsageField =\n | TextRow\n | {\n type: 'config'\n name: string\n value: ConfigOptionBase<ConfigType>\n }\n\n/**\n * Options provided to the {@link Jack} constructor\n */\nexport interface JackOptions {\n /**\n * Whether to allow positional arguments\n *\n * @default true\n */\n allowPositionals?: boolean\n\n /**\n * Prefix to use when reading/writing the environment variables\n *\n * If not specified, environment behavior will not be available.\n */\n envPrefix?: string\n\n /**\n * Environment object to read/write. Defaults `process.env`.\n * No effect if `envPrefix` is not set.\n */\n env?: { [k: string]: string | undefined }\n\n /**\n * A short usage string. If not provided, will be generated from the\n * options provided, but that can of course be rather verbose if\n * there are a lot of options.\n */\n usage?: string\n\n /**\n * Stop parsing flags and opts at the first positional argument.\n * This is to support cases like `cmd [flags] <subcmd> [options]`, where\n * each subcommand may have different options. This effectively treats\n * any positional as a `--` argument. Only relevant if `allowPositionals`\n * is true.\n *\n * To do subcommands, set this option, look at the first positional, and\n * parse the remaining positionals as appropriate.\n *\n * @default false\n */\n stopAtPositional?: boolean\n}\n\n/**\n * Class returned by the {@link jack} function and all configuration\n * definition methods. This is what gets chained together.\n */\nexport class Jack<C extends ConfigSet = {}> {\n #configSet: C\n #shorts: { [k: string]: string }\n #options: JackOptions\n #fields: UsageField[] = []\n #env: { [k: string]: string | undefined }\n #envPrefix?: string\n #allowPositionals: boolean\n #usage?: string\n #usageMarkdown?: string\n\n constructor(options: JackOptions = {}) {\n this.#options = options\n this.#allowPositionals = options.allowPositionals !== false\n this.#env =\n this.#options.env === undefined ? process.env : this.#options.env\n this.#envPrefix = options.envPrefix\n // We need to fib a little, because it's always the same object, but it\n // starts out as having an empty config set. Then each method that adds\n // fields returns `this as Jack<C & { ...newConfigs }>`\n this.#configSet = Object.create(null) as C\n this.#shorts = Object.create(null)\n }\n\n /**\n * Set the default value (which will still be overridden by env or cli)\n * as if from a parsed config file. The optional `source` param, if\n * provided, will be included in error messages if a value is invalid or\n * unknown.\n */\n setConfigValues(values: OptionsResults<C>, source = '') {\n try {\n this.validate(values)\n } catch (er) {\n const e = er as Error\n if (source && e && typeof e === 'object') {\n if (e.cause && typeof e.cause === 'object') {\n Object.assign(e.cause, { path: source })\n } else {\n e.cause = { path: source }\n }\n }\n throw e\n }\n for (const [field, value] of Object.entries(values)) {\n const my = this.#configSet[field]\n // already validated, just for TS's benefit\n /* c8 ignore start */\n if (!my) {\n throw new Error('unexpected field in config set: ' + field, {\n cause: { found: field },\n })\n }\n /* c8 ignore stop */\n my.default = value\n }\n return this\n }\n\n /**\n * Parse a string of arguments, and return the resulting\n * `{ values, positionals }` object.\n *\n * If an {@link JackOptions#envPrefix} is set, then it will read default\n * values from the environment, and write the resulting values back\n * to the environment as well.\n *\n * Environment values always take precedence over any other value, except\n * an explicit CLI setting.\n */\n parse(args: string[] = process.argv): Parsed<C> {\n if (args === process.argv) {\n args = args.slice(\n (process as { _eval?: string })._eval !== undefined ? 1 : 2,\n )\n }\n if (this.#envPrefix) {\n for (const [field, my] of Object.entries(this.#configSet)) {\n const ek = toEnvKey(this.#envPrefix, field)\n const env = this.#env[ek]\n if (env !== undefined) {\n my.default = fromEnvVal(env, my.type, !!my.multiple, my.delim)\n }\n }\n }\n\n const options = toParseArgsOptionsConfig(this.#configSet)\n const result = parseArgs({\n args,\n options,\n // always strict, but using our own logic\n strict: false,\n allowPositionals: this.#allowPositionals,\n tokens: true,\n })\n\n const p: Parsed<C> = {\n values: {},\n positionals: [],\n }\n for (const token of result.tokens) {\n if (token.kind === 'positional') {\n p.positionals.push(token.value)\n if (this.#options.stopAtPositional) {\n p.positionals.push(...args.slice(token.index + 1))\n return p\n }\n } else if (token.kind === 'option') {\n let value: string | number | boolean | undefined = undefined\n if (token.name.startsWith('no-')) {\n const my = this.#configSet[token.name]\n const pname = token.name.substring('no-'.length)\n const pos = this.#configSet[pname]\n if (\n pos &&\n pos.type === 'boolean' &&\n (!my ||\n (my.type === 'boolean' && !!my.multiple === !!pos.multiple))\n ) {\n value = false\n token.name = pname\n }\n }\n const my = this.#configSet[token.name]\n if (!my) {\n throw new Error(\n `Unknown option '${token.rawName}'. ` +\n `To specify a positional argument starting with a '-', ` +\n `place it at the end of the command after '--', as in ` +\n `'-- ${token.rawName}'`,\n {\n cause: {\n found:\n token.rawName + (token.value ? `=${token.value}` : ''),\n },\n },\n )\n }\n if (value === undefined) {\n if (token.value === undefined) {\n if (my.type !== 'boolean') {\n throw new Error(\n `No value provided for ${token.rawName}, expected ${my.type}`,\n {\n cause: {\n name: token.rawName,\n wanted: valueType(my),\n },\n },\n )\n }\n value = true\n } else {\n if (my.type === 'boolean') {\n throw new Error(\n `Flag ${token.rawName} does not take a value, received '${token.value}'`,\n { cause: { found: token } },\n )\n }\n if (my.type === 'string') {\n value = token.value\n } else {\n value = +token.value\n if (value !== value) {\n throw new Error(\n `Invalid value '${token.value}' provided for ` +\n `'${token.rawName}' option, expected number`,\n {\n cause: {\n name: token.rawName,\n found: token.value,\n wanted: 'number',\n },\n },\n )\n }\n }\n }\n }\n if (my.multiple) {\n const pv = p.values as {\n [k: string]: (string | number | boolean)[]\n }\n const tn = pv[token.name] ?? []\n pv[token.name] = tn\n tn.push(value)\n } else {\n const pv = p.values as { [k: string]: string | number | boolean }\n pv[token.name] = value\n }\n }\n }\n\n for (const [field, c] of Object.entries(this.#configSet)) {\n if (c.default !== undefined && !(field in p.values)) {\n //@ts-ignore\n p.values[field] = c.default\n }\n }\n\n for (const [field, value] of Object.entries(p.values)) {\n const valid = this.#configSet[field]?.validate\n const validOptions = this.#configSet[field]?.validOptions\n let cause:\n | undefined\n | {\n name: string\n found: unknown\n validOptions?: readonly string[] | readonly number[]\n }\n if (validOptions && !isValidOption(value, validOptions)) {\n cause = { name: field, found: value, validOptions: validOptions }\n }\n if (valid && !valid(value)) {\n cause ??= { name: field, found: value }\n }\n if (cause) {\n throw new Error(\n `Invalid value provided for --${field}: ${JSON.stringify(\n value,\n )}`,\n { cause },\n )\n }\n }\n\n this.#writeEnv(p)\n\n return p\n }\n\n /**\n * do not set fields as 'no-foo' if 'foo' exists and both are bools\n * just set foo.\n */\n #noNoFields(f: string, val: unknown, s: string = f) {\n if (!f.startsWith('no-') || typeof val !== 'boolean') return\n const yes = f.substring('no-'.length)\n // recurse so we get the core config key we care about.\n this.#noNoFields(yes, val, s)\n if (this.#configSet[yes]?.type === 'boolean') {\n throw new Error(\n `do not set '${s}', instead set '${yes}' as desired.`,\n { cause: { found: s, wanted: yes } },\n )\n }\n }\n\n /**\n * Validate that any arbitrary object is a valid configuration `values`\n * object. Useful when loading config files or other sources.\n */\n validate(o: unknown): asserts o is Parsed<C>['values'] {\n if (!o || typeof o !== 'object') {\n throw new Error('Invalid config: not an object', {\n cause: { found: o },\n })\n }\n const opts = o as Record<string, ValidValue>\n for (const field in o) {\n const value = opts[field]\n /* c8 ignore next - for TS */\n if (value === undefined) continue\n this.#noNoFields(field, value)\n const config = this.#configSet[field]\n if (!config) {\n throw new Error(`Unknown config option: ${field}`, {\n cause: { found: field },\n })\n }\n if (!isValidValue(value, config.type, !!config.multiple)) {\n throw new Error(\n `Invalid value ${valueType(\n value,\n )} for ${field}, expected ${valueType(config)}`,\n {\n cause: {\n name: field,\n found: value,\n wanted: valueType(config),\n },\n },\n )\n }\n let cause:\n | undefined\n | {\n name: string\n found: any\n validOptions?: readonly string[] | readonly number[]\n }\n if (\n config.validOptions &&\n !isValidOption(value, config.validOptions)\n ) {\n cause = {\n name: field,\n found: value,\n validOptions: config.validOptions,\n }\n }\n if (config.validate && !config.validate(value)) {\n cause ??= { name: field, found: value }\n }\n if (cause) {\n throw new Error(`Invalid config value for ${field}: ${value}`, {\n cause,\n })\n }\n }\n }\n\n #writeEnv(p: Parsed<C>) {\n if (!this.#env || !this.#envPrefix) return\n for (const [field, value] of Object.entries(p.values)) {\n const my = this.#configSet[field]\n this.#env[toEnvKey(this.#envPrefix, field)] = toEnvVal(\n value,\n my?.delim,\n )\n }\n }\n\n /**\n * Add a heading to the usage output banner\n */\n heading(\n text: string,\n level?: 1 | 2 | 3 | 4 | 5 | 6,\n { pre = false }: { pre?: boolean } = {},\n ): Jack<C> {\n if (level === undefined) {\n level = this.#fields.some(r => isHeading(r)) ? 2 : 1\n }\n this.#fields.push({ type: 'heading', text, level, pre })\n return this\n }\n\n /**\n * Add a long-form description to the usage output at this position.\n */\n description(text: string, { pre }: { pre?: boolean } = {}): Jack<C> {\n this.#fields.push({ type: 'description', text, pre })\n return this\n }\n\n /**\n * Add one or more number fields.\n */\n num<F extends ConfigMetaSet<'number', false>>(\n fields: F,\n ): Jack<C & ConfigSetFromMetaSet<'number', false, F>> {\n return this.#addFields(fields, num)\n }\n\n /**\n * Add one or more multiple number fields.\n */\n numList<F extends ConfigMetaSet<'number'>>(\n fields: F,\n ): Jack<C & ConfigSetFromMetaSet<'number', true, F>> {\n return this.#addFields(fields, numList)\n }\n\n /**\n * Add one or more string option fields.\n */\n opt<F extends ConfigMetaSet<'string', false>>(\n fields: F,\n ): Jack<C & ConfigSetFromMetaSet<'string', false, F>> {\n return this.#addFields(fields, opt)\n }\n\n /**\n * Add one or more multiple string option fields.\n */\n optList<F extends ConfigMetaSet<'string'>>(\n fields: F,\n ): Jack<C & ConfigSetFromMetaSet<'string', true, F>> {\n return this.#addFields(fields, optList)\n }\n\n /**\n * Add one or more flag fields.\n */\n flag<F extends ConfigMetaSet<'boolean', false>>(\n fields: F,\n ): Jack<C & ConfigSetFromMetaSet<'boolean', false, F>> {\n return this.#addFields(fields, flag)\n }\n\n /**\n * Add one or more multiple flag fields.\n */\n flagList<F extends ConfigMetaSet<'boolean'>>(\n fields: F,\n ): Jack<C & ConfigSetFromMetaSet<'boolean', true, F>> {\n return this.#addFields(fields, flagList)\n }\n\n /**\n * Generic field definition method. Similar to flag/flagList/number/etc,\n * but you must specify the `type` (and optionally `multiple` and `delim`)\n * fields on each one, or Jack won't know how to define them.\n */\n addFields<F extends ConfigSet>(fields: F): Jack<C & F> {\n const next = this as unknown as Jack<C & F>\n for (const [name, field] of Object.entries(fields)) {\n this.#validateName(name, field)\n next.#fields.push({\n type: 'config',\n name,\n value: field as ConfigOptionBase<ConfigType>,\n })\n }\n Object.assign(next.#configSet, fields)\n return next\n }\n\n #addFields<\n T extends ConfigType,\n M extends boolean,\n F extends ConfigMetaSet<T, M>,\n >(\n fields: F,\n fn: (m: ConfigOptionMeta<T, M>) => ConfigOptionBase<T, M>,\n ): Jack<C & ConfigSetFromMetaSet<T, M, F>> {\n type NextC = C & ConfigSetFromMetaSet<T, M, F>\n const next = this as unknown as Jack<NextC>\n Object.assign(\n next.#configSet,\n Object.fromEntries(\n Object.entries(fields).map(([name, field]) => {\n this.#validateName(name, field)\n const option = fn(field)\n next.#fields.push({\n type: 'config',\n name,\n value: option as ConfigOptionBase<ConfigType>,\n })\n return [name, option]\n }),\n ),\n )\n return next\n }\n\n #validateName(name: string, field: { short?: string }) {\n if (!/^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$/.test(name)) {\n throw new TypeError(\n `Invalid option name: ${name}, ` +\n `must be '-' delimited ASCII alphanumeric`,\n )\n }\n if (this.#configSet[name]) {\n throw new TypeError(`Cannot redefine option ${field}`)\n }\n if (this.#shorts[name]) {\n throw new TypeError(\n `Cannot redefine option ${name}, already ` +\n `in use for ${this.#shorts[name]}`,\n )\n }\n if (field.short) {\n if (!/^[a-zA-Z0-9]$/.test(field.short)) {\n throw new TypeError(\n `Invalid ${name} short option: ${field.short}, ` +\n 'must be 1 ASCII alphanumeric character',\n )\n }\n if (this.#shorts[field.short]) {\n throw new TypeError(\n `Invalid ${name} short option: ${field.short}, ` +\n `already in use for ${this.#shorts[field.short]}`,\n )\n }\n this.#shorts[field.short] = name\n this.#shorts[name] = name\n }\n }\n\n /**\n * Return the usage banner for the given configuration\n */\n usage(): string {\n if (this.#usage) return this.#usage\n\n let headingLevel = 1\n const ui = cliui({ width })\n const first = this.#fields[0]\n let start = first?.type === 'heading' ? 1 : 0\n if (first?.type === 'heading') {\n ui.div({\n padding: [0, 0, 0, 0],\n text: normalize(first.text),\n })\n }\n ui.div({ padding: [0, 0, 0, 0], text: 'Usage:' })\n if (this.#options.usage) {\n ui.div({\n text: this.#options.usage,\n padding: [0, 0, 0, 2],\n })\n } else {\n const cmd = basename(String(process.argv[1]))\n const shortFlags: string[] = []\n const shorts: string[][] = []\n const flags: string[] = []\n const opts: string[][] = []\n for (const [field, config] of Object.entries(this.#configSet)) {\n if (config.short) {\n if (config.type === 'boolean') shortFlags.push(config.short)\n else shorts.push([config.short, config.hint || field])\n } else {\n if (config.type === 'boolean') flags.push(field)\n else opts.push([field, config.hint || field])\n }\n }\n const sf = shortFlags.length ? ' -' + shortFlags.join('') : ''\n const so = shorts.map(([k, v]) => ` --${k}=<${v}>`).join('')\n const lf = flags.map(k => ` --${k}`).join('')\n const lo = opts.map(([k, v]) => ` --${k}=<${v}>`).join('')\n const usage = `${cmd}${sf}${so}${lf}${lo}`.trim()\n ui.div({\n text: usage,\n padding: [0, 0, 0, 2],\n })\n }\n\n ui.div({ padding: [0, 0, 0, 0], text: '' })\n const maybeDesc = this.#fields[start]\n if (maybeDesc && isDescription(maybeDesc)) {\n const print = normalize(maybeDesc.text, maybeDesc.pre)\n start++\n ui.div({ padding: [0, 0, 0, 0], text: print })\n ui.div({ padding: [0, 0, 0, 0], text: '' })\n }\n\n const { rows, maxWidth } = this.#usageRows(start)\n\n // every heading/description after the first gets indented by 2\n // extra spaces.\n for (const row of rows) {\n if (row.left) {\n // If the row is too long, don't wrap it\n // Bump the right-hand side down a line to make room\n const configIndent = indent(Math.max(headingLevel, 2))\n if (row.left.length > maxWidth - 3) {\n ui.div({ text: row.left, padding: [0, 0, 0, configIndent] })\n ui.div({ text: row.text, padding: [0, 0, 0, maxWidth] })\n } else {\n ui.div(\n {\n text: row.left,\n padding: [0, 1, 0, configIndent],\n width: maxWidth,\n },\n { padding: [0, 0, 0, 0], text: row.text },\n )\n }\n if (row.skipLine) {\n ui.div({ padding: [0, 0, 0, 0], text: '' })\n }\n } else {\n if (isHeading(row)) {\n const { level } = row\n headingLevel = level\n // only h1 and h2 have bottom padding\n // h3-h6 do not\n const b = level <= 2 ? 1 : 0\n ui.div({ ...row, padding: [0, 0, b, indent(level)] })\n } else {\n ui.div({ ...row, padding: [0, 0, 1, indent(headingLevel + 1)] })\n }\n }\n }\n\n return (this.#usage = ui.toString())\n }\n\n /**\n * Return the usage banner markdown for the given configuration\n */\n usageMarkdown(): string {\n if (this.#usageMarkdown) return this.#usageMarkdown\n\n const out: string[] = []\n\n let headingLevel = 1\n const first = this.#fields[0]\n let start = first?.type === 'heading' ? 1 : 0\n if (first?.type === 'heading') {\n out.push(`# ${normalizeOneLine(first.text)}`)\n }\n out.push('Usage:')\n if (this.#options.usage) {\n out.push(normalizeMarkdown(this.#options.usage, true))\n } else {\n const cmd = basename(String(process.argv[1]))\n const shortFlags: string[] = []\n const shorts: string[][] = []\n const flags: string[] = []\n const opts: string[][] = []\n for (const [field, config] of Object.entries(this.#configSet)) {\n if (config.short) {\n if (config.type === 'boolean') shortFlags.push(config.short)\n else shorts.push([config.short, config.hint || field])\n } else {\n if (config.type === 'boolean') flags.push(field)\n else opts.push([field, config.hint || field])\n }\n }\n const sf = shortFlags.length ? ' -' + shortFlags.join('') : ''\n const so = shorts.map(([k, v]) => ` --${k}=<${v}>`).join('')\n const lf = flags.map(k => ` --${k}`).join('')\n const lo = opts.map(([k, v]) => ` --${k}=<${v}>`).join('')\n const usage = `${cmd}${sf}${so}${lf}${lo}`.trim()\n out.push(normalizeMarkdown(usage, true))\n }\n\n const maybeDesc = this.#fields[start]\n if (maybeDesc && isDescription(maybeDesc)) {\n out.push(normalizeMarkdown(maybeDesc.text, maybeDesc.pre))\n start++\n }\n\n const { rows } = this.#usageRows(start)\n\n // heading level in markdown is number of # ahead of text\n for (const row of rows) {\n if (row.left) {\n out.push(\n '#'.repeat(headingLevel + 1) +\n ' ' +\n normalizeOneLine(row.left, true),\n )\n if (row.text) out.push(normalizeMarkdown(row.text))\n } else if (isHeading(row)) {\n const { level } = row\n headingLevel = level\n out.push(\n `${'#'.repeat(headingLevel)} ${normalizeOneLine(\n row.text,\n row.pre,\n )}`,\n )\n } else {\n out.push(normalizeMarkdown(row.text, !!(row as Description).pre))\n }\n }\n\n return (this.#usageMarkdown = out.join('\\n\\n') + '\\n')\n }\n\n #usageRows(start: number) {\n // turn each config type into a row, and figure out the width of the\n // left hand indentation for the option descriptions.\n let maxMax = Math.max(12, Math.min(26, Math.floor(width / 3)))\n let maxWidth = 8\n let prev: Row | TextRow | undefined = undefined\n const rows: (Row | TextRow)[] = []\n for (const field of this.#fields.slice(start)) {\n if (field.type !== 'config') {\n if (prev?.type === 'config') prev.skipLine = true\n prev = undefined\n field.text = normalize(field.text, !!field.pre)\n rows.push(field)\n continue\n }\n const { value } = field\n const desc = value.description || ''\n const mult = value.multiple ? 'Can be set multiple times' : ''\n const opts =\n value.validOptions?.length ?\n `Valid options:${value.validOptions.map(\n v => ` ${JSON.stringify(v)}`,\n )}`\n : ''\n const dmDelim = desc.includes('\\n') ? '\\n\\n' : '\\n'\n const extra = [opts, mult].join(dmDelim).trim()\n const text = (normalize(desc) + dmDelim + extra).trim()\n const hint =\n value.hint ||\n (value.type === 'number' ? 'n'\n : value.type === 'string' ? field.name\n : undefined)\n const short =\n !value.short ? ''\n : value.type === 'boolean' ? `-${value.short} `\n : `-${value.short}<${hint}> `\n const left =\n value.type === 'boolean' ?\n `${short}--${field.name}`\n : `${short}--${field.name}=<${hint}>`\n const row: Row = { text, left, type: 'config' }\n if (text.length > width - maxMax) {\n row.skipLine = true\n }\n if (prev && left.length > maxMax) prev.skipLine = true\n prev = row\n const len = left.length + 4\n if (len > maxWidth && len < maxMax) {\n maxWidth = len\n }\n\n rows.push(row)\n }\n\n return { rows, maxWidth }\n }\n\n /**\n * Return the configuration options as a plain object\n */\n toJSON() {\n return Object.fromEntries(\n Object.entries(this.#configSet).map(([field, def]) => [\n field,\n {\n type: def.type,\n ...(def.multiple ? { multiple: true } : {}),\n ...(def.delim ? { delim: def.delim } : {}),\n ...(def.short ? { short: def.short } : {}),\n ...(def.description ?\n { description: normalize(def.description) }\n : {}),\n ...(def.validate ? { validate: def.validate } : {}),\n ...(def.validOptions ? { validOptions: def.validOptions } : {}),\n ...(def.default !== undefined ? { default: def.default } : {}),\n },\n ]),\n )\n }\n\n /**\n * Custom printer for `util.inspect`\n */\n [inspect.custom](_: number, options: InspectOptions) {\n return `Jack ${inspect(this.toJSON(), options)}`\n }\n}\n\n// Unwrap and un-indent, so we can wrap description\n// strings however makes them look nice in the code.\nconst normalize = (s: string, pre: boolean = false): string =>\n pre ?\n // prepend a ZWSP to each line so cliui doesn't strip it.\n s\n .split('\\n')\n .map(l => `\\u200b${l}`)\n .join('\\n')\n : s\n // remove single line breaks, except for lists\n .replace(/([^\\n])\\n[ \\t]*([^\\n])/g, (_, $1, $2) =>\n !/^[-*]/.test($2) ? `${$1} ${$2}` : `${$1}\\n${$2}`,\n )\n // normalize mid-line whitespace\n .replace(/([^\\n])[ \\t]+([^\\n])/g, '$1 $2')\n // two line breaks are enough\n .replace(/\\n{3,}/g, '\\n\\n')\n // remove any spaces at the start of a line\n .replace(/\\n[ \\t]+/g, '\\n')\n .trim()\n\n// normalize for markdown printing, remove leading spaces on lines\nconst normalizeMarkdown = (s: string, pre: boolean = false): string => {\n const n = normalize(s, pre).replace(/\\\\/g, '\\\\\\\\')\n return pre ?\n `\\`\\`\\`\\n${n.replace(/\\u200b/g, '')}\\n\\`\\`\\``\n : n.replace(/\\n +/g, '\\n').trim()\n}\n\nconst normalizeOneLine = (s: string, pre: boolean = false) => {\n const n = normalize(s, pre)\n .replace(/[\\s\\u200b]+/g, ' ')\n .trim()\n return pre ? `\\`${n}\\`` : n\n}\n\n/**\n * Main entry point. Create and return a {@link Jack} object.\n */\nexport const jack = (options: JackOptions = {}) => new Jack(options)\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-args-cjs.cjs","sourceRoot":"","sources":["../../src/parse-args-cjs.cts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAE5B,MAAM,EAAE,GACN,OAAO,OAAO,KAAK,QAAQ;IAC3B,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ;IACjC,CAAC,CAAC,OAAO,CAAC,OAAO;IACjB,CAAC,CAAC,QAAQ,CAAA;AACd,MAAM,GAAG,GAAG,EAAE;KACX,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;KACjB,KAAK,CAAC,GAAG,CAAC;KACV,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAE5B,qBAAqB;AACrB,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,GAAG,GAAG,CAAA;AAClC,oBAAoB;AAEpB,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAA;AAC5B,qBAAqB;AACrB,IACE,CAAC,EAAE;IACH,KAAK,GAAG,EAAE;IACV,CAAC,KAAK,KAAK,EAAE,IAAI,KAAK,GAAG,EAAE,CAAC;IAC5B,CAAC,KAAK,KAAK,EAAE,IAAI,KAAK,GAAG,EAAE,CAAC,EAC5B;
|
|
1
|
+
{"version":3,"file":"parse-args-cjs.cjs","sourceRoot":"","sources":["../../src/parse-args-cjs.cts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAE5B,MAAM,EAAE,GACN,OAAO,OAAO,KAAK,QAAQ;IAC3B,CAAC,CAAC,OAAO;IACT,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ;IACjC,CAAC,CAAC,OAAO,CAAC,OAAO;IACjB,CAAC,CAAC,QAAQ,CAAA;AACd,MAAM,GAAG,GAAG,EAAE;KACX,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;KACjB,KAAK,CAAC,GAAG,CAAC;KACV,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAE5B,qBAAqB;AACrB,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,GAAG,GAAG,CAAA;AAClC,oBAAoB;AAEpB,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAA;AAC5B,qBAAqB;AACrB,IACE,CAAC,EAAE;IACH,KAAK,GAAG,EAAE;IACV,CAAC,KAAK,KAAK,EAAE,IAAI,KAAK,GAAG,EAAE,CAAC;IAC5B,CAAC,KAAK,KAAK,EAAE,IAAI,KAAK,GAAG,EAAE,CAAC,EAC5B,CAAC;IACD,oBAAoB;IACpB,EAAE,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC,SAAS,CAAA;AAC5C,CAAC;AAEY,QAAA,SAAS,GAAG,EAAE,CAAA","sourcesContent":["import * as util from 'util'\n\nconst pv =\n typeof process === 'object' &&\n !!process &&\n typeof process.version === 'string'\n ? process.version\n : 'v0.0.0'\nconst pvs = pv\n .replace(/^v/, '')\n .split('.')\n .map(s => parseInt(s, 10))\n\n/* c8 ignore start */\nconst [major = 0, minor = 0] = pvs\n/* c8 ignore stop */\n\nlet { parseArgs: pa } = util\n/* c8 ignore start */\nif (\n !pa ||\n major < 16 ||\n (major === 18 && minor < 11) ||\n (major === 16 && minor < 19)\n) {\n /* c8 ignore stop */\n pa = require('@pkgjs/parseargs').parseArgs\n}\n\nexport const parseArgs = pa\n"]}
|
package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { inspect, InspectOptions } from 'node:util';
|
|
|
9
9
|
* Defines the type of value that is valid, given a config definition's
|
|
10
10
|
* {@link ConfigType} and boolean multiple setting
|
|
11
11
|
*/
|
|
12
|
-
export type ValidValue<T extends ConfigType, M extends boolean> = [
|
|
12
|
+
export type ValidValue<T extends ConfigType = ConfigType, M extends boolean = boolean> = [
|
|
13
13
|
T,
|
|
14
14
|
M
|
|
15
15
|
] extends ['number', true] ? number[] : [T, M] extends ['string', true] ? string[] : [T, M] extends ['boolean', true] ? boolean[] : [T, M] extends ['number', false] ? number : [T, M] extends ['string', false] ? string : [T, M] extends ['boolean', false] ? boolean : [T, M] extends ['string', boolean] ? string | string[] : [T, M] extends ['boolean', boolean] ? boolean | boolean[] : [T, M] extends ['number', boolean] ? number | number[] : [T, M] extends [ConfigType, false] ? string | number | boolean : [T, M] extends [ConfigType, true] ? string[] | number[] | boolean[] : string | number | boolean | string[] | number[] | boolean[];
|
|
@@ -17,23 +17,27 @@ export type ValidValue<T extends ConfigType, M extends boolean> = [
|
|
|
17
17
|
* The meta information for a config option definition, when the
|
|
18
18
|
* type and multiple values can be inferred by the method being used
|
|
19
19
|
*/
|
|
20
|
-
export type ConfigOptionMeta<T extends ConfigType, M extends boolean> = {
|
|
21
|
-
default?: ValidValue<T, M> |
|
|
20
|
+
export type ConfigOptionMeta<T extends ConfigType, M extends boolean = boolean, O extends undefined | (T extends 'boolean' ? never : T extends 'string' ? readonly string[] : T extends 'number' ? readonly number[] : readonly number[] | readonly string[]) = undefined | (T extends 'boolean' ? never : T extends 'string' ? readonly string[] : T extends 'number' ? readonly number[] : readonly number[] | readonly string[])> = {
|
|
21
|
+
default?: undefined | (ValidValue<T, M> & (O extends number[] | string[] ? M extends false ? O[number] : O[number][] : unknown));
|
|
22
|
+
validOptions?: O;
|
|
22
23
|
description?: string;
|
|
23
|
-
validate?: ((v:
|
|
24
|
+
validate?: ((v: unknown) => v is ValidValue<T, M>) | ((v: unknown) => boolean);
|
|
24
25
|
short?: string | undefined;
|
|
25
26
|
type?: T;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
multiple?:
|
|
30
|
-
|
|
27
|
+
hint?: T extends 'boolean' ? never : string;
|
|
28
|
+
delim?: M extends true ? string : never;
|
|
29
|
+
} & (M extends false ? {
|
|
30
|
+
multiple?: false | undefined;
|
|
31
|
+
} : M extends true ? {
|
|
32
|
+
multiple: true;
|
|
33
|
+
} : {
|
|
34
|
+
multiple?: boolean;
|
|
31
35
|
});
|
|
32
36
|
/**
|
|
33
37
|
* A set of {@link ConfigOptionMeta} fields, referenced by their longOption
|
|
34
38
|
* string values.
|
|
35
39
|
*/
|
|
36
|
-
export type ConfigMetaSet<T extends ConfigType, M extends boolean> = {
|
|
40
|
+
export type ConfigMetaSet<T extends ConfigType, M extends boolean = boolean> = {
|
|
37
41
|
[longOption: string]: ConfigOptionMeta<T, M>;
|
|
38
42
|
};
|
|
39
43
|
/**
|
|
@@ -60,13 +64,14 @@ export type MultiType<M extends boolean> = M extends true ? {
|
|
|
60
64
|
/**
|
|
61
65
|
* A config field definition, in its full representation.
|
|
62
66
|
*/
|
|
63
|
-
export type ConfigOptionBase<T extends ConfigType, M extends boolean> = {
|
|
67
|
+
export type ConfigOptionBase<T extends ConfigType, M extends boolean = boolean> = {
|
|
64
68
|
type: T;
|
|
65
69
|
short?: string | undefined;
|
|
66
70
|
default?: ValidValue<T, M> | undefined;
|
|
67
71
|
description?: string;
|
|
68
72
|
hint?: T extends 'boolean' ? undefined : string | undefined;
|
|
69
|
-
validate?: (v:
|
|
73
|
+
validate?: (v: unknown) => v is ValidValue<T, M>;
|
|
74
|
+
validOptions?: T extends 'boolean' ? undefined : T extends 'string' ? readonly string[] : T extends 'number' ? readonly number[] : readonly number[] | readonly string[];
|
|
70
75
|
} & MultiType<M>;
|
|
71
76
|
export declare const isConfigType: (t: string) => t is ConfigType;
|
|
72
77
|
export declare const isConfigOption: <T extends ConfigType, M extends boolean>(o: any, type: T, multi: M) => o is ConfigOptionBase<T, M>;
|
|
@@ -75,13 +80,13 @@ export declare const isConfigOption: <T extends ConfigType, M extends boolean>(o
|
|
|
75
80
|
* string values.
|
|
76
81
|
*/
|
|
77
82
|
export type ConfigSet = {
|
|
78
|
-
[longOption: string]: ConfigOptionBase<ConfigType
|
|
83
|
+
[longOption: string]: ConfigOptionBase<ConfigType>;
|
|
79
84
|
};
|
|
80
85
|
/**
|
|
81
86
|
* The 'values' field returned by {@link Jack#parse}
|
|
82
87
|
*/
|
|
83
88
|
export type OptionsResults<T extends ConfigSet> = {
|
|
84
|
-
[k in keyof T]?: T[k] extends ConfigOptionBase<'string', false> ? string : T[k] extends ConfigOptionBase<'string', true> ? string[] : T[k] extends ConfigOptionBase<'number', false> ? number : T[k] extends ConfigOptionBase<'number', true> ? number[] : T[k] extends ConfigOptionBase<'boolean', false> ? boolean : T[k] extends ConfigOptionBase<'boolean', true> ? boolean[] : never;
|
|
89
|
+
[k in keyof T]?: T[k]['validOptions'] extends (readonly string[] | readonly number[]) ? T[k] extends ConfigOptionBase<'string' | 'number', false> ? T[k]['validOptions'][number] : T[k] extends ConfigOptionBase<'string' | 'number', true> ? T[k]['validOptions'][number][] : never : T[k] extends ConfigOptionBase<'string', false> ? string : T[k] extends ConfigOptionBase<'string', true> ? string[] : T[k] extends ConfigOptionBase<'number', false> ? number : T[k] extends ConfigOptionBase<'number', true> ? number[] : T[k] extends ConfigOptionBase<'boolean', false> ? boolean : T[k] extends ConfigOptionBase<'boolean', true> ? boolean[] : never;
|
|
85
90
|
};
|
|
86
91
|
/**
|
|
87
92
|
* The object retured by {@link Jack#parse}
|
|
@@ -140,7 +145,7 @@ export type TextRow = Heading | Description;
|
|
|
140
145
|
export type UsageField = TextRow | {
|
|
141
146
|
type: 'config';
|
|
142
147
|
name: string;
|
|
143
|
-
value: ConfigOptionBase<ConfigType
|
|
148
|
+
value: ConfigOptionBase<ConfigType>;
|
|
144
149
|
};
|
|
145
150
|
/**
|
|
146
151
|
* Options provided to the {@link Jack} constructor
|
|
@@ -215,7 +220,7 @@ export declare class Jack<C extends ConfigSet = {}> {
|
|
|
215
220
|
* Validate that any arbitrary object is a valid configuration `values`
|
|
216
221
|
* object. Useful when loading config files or other sources.
|
|
217
222
|
*/
|
|
218
|
-
validate(o:
|
|
223
|
+
validate(o: unknown): asserts o is Parsed<C>['values'];
|
|
219
224
|
/**
|
|
220
225
|
* Add a heading to the usage output banner
|
|
221
226
|
*/
|
|
@@ -235,7 +240,7 @@ export declare class Jack<C extends ConfigSet = {}> {
|
|
|
235
240
|
/**
|
|
236
241
|
* Add one or more multiple number fields.
|
|
237
242
|
*/
|
|
238
|
-
numList<F extends ConfigMetaSet<'number'
|
|
243
|
+
numList<F extends ConfigMetaSet<'number'>>(fields: F): Jack<C & ConfigSetFromMetaSet<'number', true, F>>;
|
|
239
244
|
/**
|
|
240
245
|
* Add one or more string option fields.
|
|
241
246
|
*/
|
|
@@ -243,7 +248,7 @@ export declare class Jack<C extends ConfigSet = {}> {
|
|
|
243
248
|
/**
|
|
244
249
|
* Add one or more multiple string option fields.
|
|
245
250
|
*/
|
|
246
|
-
optList<F extends ConfigMetaSet<'string'
|
|
251
|
+
optList<F extends ConfigMetaSet<'string'>>(fields: F): Jack<C & ConfigSetFromMetaSet<'string', true, F>>;
|
|
247
252
|
/**
|
|
248
253
|
* Add one or more flag fields.
|
|
249
254
|
*/
|
|
@@ -251,7 +256,7 @@ export declare class Jack<C extends ConfigSet = {}> {
|
|
|
251
256
|
/**
|
|
252
257
|
* Add one or more multiple flag fields.
|
|
253
258
|
*/
|
|
254
|
-
flagList<F extends ConfigMetaSet<'boolean'
|
|
259
|
+
flagList<F extends ConfigMetaSet<'boolean'>>(fields: F): Jack<C & ConfigSetFromMetaSet<'boolean', true, F>>;
|
|
255
260
|
/**
|
|
256
261
|
* Generic field definition method. Similar to flag/flagList/number/etc,
|
|
257
262
|
* but you must specify the `type` (and optionally `multiple` and `delim`)
|
|
@@ -272,7 +277,8 @@ export declare class Jack<C extends ConfigSet = {}> {
|
|
|
272
277
|
toJSON(): {
|
|
273
278
|
[k: string]: {
|
|
274
279
|
default?: string | number | boolean | string[] | number[] | boolean[] | undefined;
|
|
275
|
-
|
|
280
|
+
validOptions?: readonly number[] | readonly string[] | undefined;
|
|
281
|
+
validate?: ((v: unknown) => v is string | number | boolean | string[] | number[] | boolean[]) | undefined;
|
|
276
282
|
description?: string | undefined;
|
|
277
283
|
short?: string | undefined;
|
|
278
284
|
delim?: string | undefined;
|
package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAmB,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAmB,MAAM,WAAW,CAAA;AA2DpE;;;GAGG;AACH,MAAM,MAAM,UAAU,CACpB,CAAC,SAAS,UAAU,GAAG,UAAU,EACjC,CAAC,SAAS,OAAO,GAAG,OAAO,IAE3B;IAAC,C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