Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/functions

Package Overview
Dependencies
Maintainers
7
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/functions - npm Package Compare versions

Comparing version 4.2.0 to 4.3.0

src/converters/toCoreFunctionMetadata.ts

2

_manifest/spdx_2.2/bsi.json

@@ -1,1 +0,1 @@

{"Source":"InternalBuild","Data":{"System.CollectionId":"d1c51fbc-4477-4a0f-b99f-fc9013009a58","System.DefinitionId":"145","System.TeamProjectId":"e6a70c92-4128-439f-8012-382fe78d6396","System.TeamProject":"Azure Functions","Build.BuildId":"160648","Build.BuildNumber":"20240130.7","Build.DefinitionName":"azure-functions-nodejs-library.build","Build.DefinitionRevision":"4","Build.Repository.Name":"Azure/azure-functions-nodejs-library","Build.Repository.Provider":"GitHub","Build.Repository.Id":"Azure/azure-functions-nodejs-library","Build.SourceBranch":"refs/heads/v4.x","Build.SourceBranchName":"v4.x","Build.SourceVersion":"b4f13893bfd0a5a77fd61eee8ca0d74e00df34c9"},"Feed":null}
{"Source":"InternalBuild","Data":{"System.CollectionId":"d1c51fbc-4477-4a0f-b99f-fc9013009a58","System.DefinitionId":"145","System.TeamProjectId":"e6a70c92-4128-439f-8012-382fe78d6396","System.TeamProject":"Azure Functions","Build.BuildId":"161899","Build.BuildNumber":"20240228.2","Build.DefinitionName":"azure-functions-nodejs-library.build","Build.DefinitionRevision":"5","Build.Repository.Name":"Azure/azure-functions-nodejs-library","Build.Repository.Provider":"GitHub","Build.Repository.Id":"Azure/azure-functions-nodejs-library","Build.SourceBranch":"refs/heads/v4.x","Build.SourceBranchName":"v4.x","Build.SourceVersion":"9413b47407de30b6a6b2d8de05f5bb14426cc9cf"},"Feed":null}
{
"files": [
{
"fileName": "./dist/azure-functions.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.js-56F54867EA23E71E7AD220ED9986252AAC6D2EFE",
"fileName": "./dist/azure-functions.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-BB7772E4D52041E319C1DA1A00D538216C824E80",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "ecdb7250d37c92ca67a1ef69e1986e6a580188760ac3d6c10343c8e2e5022833"
"checksumValue": "a58cab493c1b56f51c331d06fb59e8338df8912e0052dd602d209a40655e0c55"
},
{
"algorithm": "SHA1",
"checksumValue": "56f54867ea23e71e7ad220ed9986252aac6d2efe"
"checksumValue": "bb7772e4d52041e319c1da1a00d538216c824e80"
}

@@ -24,11 +24,11 @@ ],

"fileName": "./src/addBindingName.ts",
"SPDXID": "SPDXRef-File--src-addBindingName.ts-F6DD874B08639297670A48B38AB19B6E914FDF27",
"SPDXID": "SPDXRef-File--src-addBindingName.ts-B43357A82A6E8ACA008CF39D4CD8E66F50904C19",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "46ce709b2f3303fcf2ebb0d36dec89396e59b4f1fbff339a22fcb55e786521ad"
"checksumValue": "b6e09632519b8a203af936bbfa799d94162b8b4302637ce2582644bc30b3786d"
},
{
"algorithm": "SHA1",
"checksumValue": "f6dd874b08639297670a48b38ab19b6e914fdf27"
"checksumValue": "b43357a82a6e8aca008cf39d4cd8e66f50904c19"
}

@@ -62,12 +62,12 @@ ],

{
"fileName": "./src/converters/toRpcDuration.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcDuration.ts-714B9BFB912D81833E9DB1CF93681F56D4B8A544",
"fileName": "./README.md",
"SPDXID": "SPDXRef-File--README.md-B8A9F56B1E8159DB546D102D2ED74ED0C67A1EA8",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "7dedbf633fcf7195e5080c70e14d23b572b7ce215065d05f8de82c43af224fa2"
"checksumValue": "81ba85bb67026e2e31db21679599435ac2b277f73fbb49e13cf7b5a567883260"
},
{
"algorithm": "SHA1",
"checksumValue": "714b9bfb912d81833e9db1cf93681f56d4b8a544"
"checksumValue": "b8a9f56b1e8159db546d102d2ed74ed0c67a1ea8"
}

@@ -82,12 +82,12 @@ ],

{
"fileName": "./src/hooks/InvocationHookContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-InvocationHookContext.ts-00C0614266EB4475A1EC7F2B6277D03694A8CB93",
"fileName": "./src/converters/fromRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "62bd0be6f16b74defa4ba63f70e50551d3c726e4b3cb9a61c713f62f81a56daa"
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e"
},
{
"algorithm": "SHA1",
"checksumValue": "00c0614266eb4475a1ec7f2b6277d03694a8cb93"
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce"
}

@@ -102,12 +102,12 @@ ],

{
"fileName": "./src/utils/getRandomHexString.ts",
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"fileName": "./src/hooks/AppStartContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-AppStartContext.ts-C5E62974A2A131689590332CC698B01366AFDD4C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481"
"checksumValue": "4c9bd10ac98453a81c21fce2e4ff4667a54f613fa4880ea9b60982dee3a34895"
},
{
"algorithm": "SHA1",
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0"
"checksumValue": "c5e62974a2a131689590332cc698b01366afdd4c"
}

@@ -122,12 +122,12 @@ ],

{
"fileName": "./types/cosmosDB.v4.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.v4.d.ts-EE24FA064D924FC2BC9533925C8CD868BCF9A459",
"fileName": "./src/http/httpProxy.ts",
"SPDXID": "SPDXRef-File--src-http-httpProxy.ts-00072E3F7866B245E35E2441CCBEC9872E2CA06C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "98ae23f6f731b4802c966fb8a55a78215149f17afb922ab193af701b3677e164"
"checksumValue": "24fd84cf8aed8e671a1c9e8ad3bb9213043ffc95dc262ea2582c53f337a8a991"
},
{
"algorithm": "SHA1",
"checksumValue": "ee24fa064d924fc2bc9533925c8cd868bcf9a459"
"checksumValue": "00072e3f7866b245e35e2441ccbec9872e2ca06c"
}

@@ -142,12 +142,12 @@ ],

{
"fileName": "./types/output.d.ts",
"SPDXID": "SPDXRef-File--types-output.d.ts-394EF7B257D8C3E4B17E1300868930F4F16BA226",
"fileName": "./src/input.ts",
"SPDXID": "SPDXRef-File--src-input.ts-A8297994A3E2C1261C26661B99A717DA28925616",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "456078e7578479f08285912c4e5eaa05c704bf7f8a7cadcc73955ddda1ddbb1f"
"checksumValue": "496ad840b23c94a2434ead2edac69378cdb21916f24a86331c32ddff7f9639c8"
},
{
"algorithm": "SHA1",
"checksumValue": "394ef7b257d8c3e4b17e1300868930f4f16ba226"
"checksumValue": "a8297994a3e2c1261c26661b99a717da28925616"
}

@@ -162,12 +162,12 @@ ],

{
"fileName": "./package.json",
"SPDXID": "SPDXRef-File--package.json-35B744500626193626BA266DB486C4B786E38F84",
"fileName": "./src/utils/tryGetCoreApiLazy.ts",
"SPDXID": "SPDXRef-File--src-utils-tryGetCoreApiLazy.ts-716B9BD6877F9CAD2B2D6837045C6FF4B8A9A8E7",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e29bf002bb58dccb24c8362ee1cdf3283df17376f7945bfc47af33c79451894e"
"checksumValue": "e54c9e87b799535f374132b2c68f873cd766dfa7c65179e1a997627b814a86aa"
},
{
"algorithm": "SHA1",
"checksumValue": "35b744500626193626ba266db486c4b786e38f84"
"checksumValue": "716b9bd6877f9cad2b2d6837045c6ff4b8a9a8e7"
}

@@ -182,12 +182,12 @@ ],

{
"fileName": "./types/hooks/appHooks.d.ts",
"SPDXID": "SPDXRef-File--types-hooks-appHooks.d.ts-6F2B6A72728855178FC1B31201580EBA6E09E5AE",
"fileName": "./src/errors.ts",
"SPDXID": "SPDXRef-File--src-errors.ts-A6C832E494B18A98B143C0D552EA102FD54BA00E",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6b1e7097d7a2fffe4608e37e0df5462108e65895bdba08d1f12b7345d90f8a78"
"checksumValue": "e73dd07f738bc65ee5318042f52090e6ee46f4b526c939a9eb125fe2c1709f90"
},
{
"algorithm": "SHA1",
"checksumValue": "6f2b6a72728855178fc1b31201580eba6e09e5ae"
"checksumValue": "a6c832e494b18a98b143c0d552ea102fd54ba00e"
}

@@ -202,12 +202,12 @@ ],

{
"fileName": "./src/index.ts",
"SPDXID": "SPDXRef-File--src-index.ts-FE35A79145C256A358A959EC8273B89C534B11B2",
"fileName": "./src/converters/fromRpcContext.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6745df51b2ad1b4adcfd8e1251d0862b77b01ed6576cfaf73aa70e512fced34e"
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c"
},
{
"algorithm": "SHA1",
"checksumValue": "fe35a79145c256a358a959ec8273b89c534b11b2"
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4"
}

@@ -222,12 +222,12 @@ ],

{
"fileName": "./src/constants.ts",
"SPDXID": "SPDXRef-File--src-constants.ts-F29EBCFA3E505188D1113267708BF2D59EC736A3",
"fileName": "./types/eventHub.d.ts",
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "0a57e4cd99996baa7d60c2fed0ee923be507be56e48ad0f93cdb981d7e112843"
"checksumValue": "fa2b67591e672f2329f93f53ba53e34d88e274513684daf5eab0524e0ed046c2"
},
{
"algorithm": "SHA1",
"checksumValue": "f29ebcfa3e505188d1113267708bf2d59ec736a3"
"checksumValue": "5587a8363c9771e4ebf7cd0a5123d0f391d50bd6"
}

@@ -242,12 +242,12 @@ ],

{
"fileName": "./src/converters/fromRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-382864B2A446ACCC0BF93EB57CDC2812F274CB0F",
"fileName": "./src/trigger.ts",
"SPDXID": "SPDXRef-File--src-trigger.ts-86996ADFFEBF2312FFE489B54DA47E23428F86AC",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "863578a3ed5cb6d5282f3368b292a278f2b698aa731100b3113c0d1882d67cd9"
"checksumValue": "6558256e320810a58dd40db5b3cd78dd5b9ac05849f20f4ea580d3a7c0b716e4"
},
{
"algorithm": "SHA1",
"checksumValue": "382864b2a446accc0bf93eb57cdc2812f274cb0f"
"checksumValue": "86996adffebf2312ffe489b54da47e23428f86ac"
}

@@ -262,12 +262,12 @@ ],

{
"fileName": "./src/converters/fromRpcBindings.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C",
"fileName": "./src/converters/toRpcHttpCookie.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "af5881f0426ddb62a5d8b361000214035d735a7a7cecd2f723e17b0ebbb64bd9"
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944"
},
{
"algorithm": "SHA1",
"checksumValue": "33564771bf04ab3efb1fc5cddc7740cab4a66b9c"
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b"
}

@@ -282,12 +282,12 @@ ],

{
"fileName": "./src/converters/toRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"fileName": "./src/converters/toRpcDuration.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcDuration.ts-714B9BFB912D81833E9DB1CF93681F56D4B8A544",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd"
"checksumValue": "7dedbf633fcf7195e5080c70e14d23b572b7ce215065d05f8de82c43af224fa2"
},
{
"algorithm": "SHA1",
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac"
"checksumValue": "714b9bfb912d81833e9db1cf93681f56d4b8a544"
}

@@ -302,12 +302,12 @@ ],

{
"fileName": "./src/converters/toRpcHttpCookie.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"fileName": "./types/setup.d.ts",
"SPDXID": "SPDXRef-File--types-setup.d.ts-E9E46DEABC14F4F43668955FE394A1E141C68D32",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944"
"checksumValue": "1e21684fbedc3a37ae72b90a5876843ca696ffffb93c7d168a3192619f0b1005"
},
{
"algorithm": "SHA1",
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b"
"checksumValue": "e9e46deabc14f4f43668955fe394a1e141c68d32"
}

@@ -322,12 +322,12 @@ ],

{
"fileName": "./src/http/extractHttpUserFromHeaders.ts",
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"fileName": "./src/hooks/PreInvocationContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-PreInvocationContext.ts-8EC5F8C76EBA071687099BEF3F583B4BDB2BDC4C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a"
"checksumValue": "fad20321bd9a97e671d88f72ba3bd7a3a2641d7b044f2e96c8ee94ab024d34a3"
},
{
"algorithm": "SHA1",
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83"
"checksumValue": "8ec5f8c76eba071687099bef3f583b4bdb2bdc4c"
}

@@ -342,12 +342,12 @@ ],

{
"fileName": "./src/hooks/PreInvocationContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-PreInvocationContext.ts-8EC5F8C76EBA071687099BEF3F583B4BDB2BDC4C",
"fileName": "./src/hooks/InvocationHookContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-InvocationHookContext.ts-00C0614266EB4475A1EC7F2B6277D03694A8CB93",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "fad20321bd9a97e671d88f72ba3bd7a3a2641d7b044f2e96c8ee94ab024d34a3"
"checksumValue": "62bd0be6f16b74defa4ba63f70e50551d3c726e4b3cb9a61c713f62f81a56daa"
},
{
"algorithm": "SHA1",
"checksumValue": "8ec5f8c76eba071687099bef3f583b4bdb2bdc4c"
"checksumValue": "00c0614266eb4475a1ec7f2b6277d03694a8cb93"
}

@@ -362,12 +362,12 @@ ],

{
"fileName": "./src/utils/util.ts",
"SPDXID": "SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"fileName": "./src/utils/getRandomHexString.ts",
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-7148F54101DD733182C6BED6061BB73096FE0AA1",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6cf132c958c9b59c0f50372abd16961981a3010e0f8fa16801ea295830b802f0"
"checksumValue": "27a8fc80965e0485beedb124d5f2394bb43677bb5695c7c1686919180a775f25"
},
{
"algorithm": "SHA1",
"checksumValue": "b666c0d023de87615d101367aad897eafc692b3f"
"checksumValue": "7148f54101dd733182c6bed6061bb73096fe0aa1"
}

@@ -382,12 +382,12 @@ ],

{
"fileName": "./src/utils/nonNull.ts",
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"fileName": "./src/utils/Disposable.ts",
"SPDXID": "SPDXRef-File--src-utils-Disposable.ts-56791F481D6117AAE27218F4BBF165ED4698BAA9",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634"
"checksumValue": "2e9f4058d34b11f36080f04108ad891e373a7e67b405b8e3fc2abd386619e486"
},
{
"algorithm": "SHA1",
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe"
"checksumValue": "56791f481d6117aae27218f4bbf165ed4698baa9"
}

@@ -402,12 +402,12 @@ ],

{
"fileName": "./types/http.d.ts",
"SPDXID": "SPDXRef-File--types-http.d.ts-0979DC1F1A3443230BDE2A557A013533630F4EBD",
"fileName": "./types/cosmosDB.v3.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "4742bc701d7cfe7db71a1333fafa7eba7e9f33b0a08f82de0d769304ce97c6b9"
"checksumValue": "85a5c80025b47bd294a2eded78923e5d6f81b647192fc824b3013984ce1ae37e"
},
{
"algorithm": "SHA1",
"checksumValue": "0979dc1f1a3443230bde2a557a013533630f4ebd"
"checksumValue": "34407e7d69182c902da07bb03e20dab388f4a5bf"
}

@@ -422,12 +422,12 @@ ],

{
"fileName": "./types/eventHub.d.ts",
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6",
"fileName": "./types/hooks/HookContext.d.ts",
"SPDXID": "SPDXRef-File--types-hooks-HookContext.d.ts-4936EAD059A4A853B0093B28C63CB0D458217CD8",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "fa2b67591e672f2329f93f53ba53e34d88e274513684daf5eab0524e0ed046c2"
"checksumValue": "6a4af540066a2a2c6e64d299a14ef794416b088dde749342747af0de1aa7e5cf"
},
{
"algorithm": "SHA1",
"checksumValue": "5587a8363c9771e4ebf7cd0a5123d0f391d50bd6"
"checksumValue": "4936ead059a4a853b0093b28c63cb0d458217cd8"
}

@@ -442,12 +442,12 @@ ],

{
"fileName": "./types/sql.d.ts",
"SPDXID": "SPDXRef-File--types-sql.d.ts-901F330C01B62ED6366CF9E0D6B7DDEDC989860B",
"fileName": "./types/app.d.ts",
"SPDXID": "SPDXRef-File--types-app.d.ts-D5EF2CAD19445F8D014CBD47A0C03F9E9193CE91",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "7af151363595da76f239fd7947912723fadde65cd522cb11ef032caabac2e342"
"checksumValue": "436b1da1355843e7bc74044af5094d2eee1923f670c88b9926111a0579950234"
},
{
"algorithm": "SHA1",
"checksumValue": "901f330c01b62ed6366cf9e0d6b7ddedc989860b"
"checksumValue": "d5ef2cad19445f8d014cbd47a0c03f9e9193ce91"
}

@@ -462,2 +462,40 @@ ],

{
"fileName": "./types/index.d.ts",
"SPDXID": "SPDXRef-File--types-index.d.ts-361864E4E55C2DE8A6E6513ABA8B03F206AC6D66",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "53eac5e79756ca6f168007b70df798be149877ef6016469b69b8ec41b327dae3"
},
{
"algorithm": "SHA1",
"checksumValue": "361864e4e55c2de8a6e6513aba8b03f206ac6d66"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/InvocationContext.d.ts",
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-AF414932F257B471EFF915A575A17E4054596BA2",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "99aa68d40825b1b1ef6683a2766ffe7202ff703c98dc116726d122d77cb808cf"
},
{
"algorithm": "SHA1",
"checksumValue": "af414932f257b471eff915a575a17e4054596ba2"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/table.d.ts",

@@ -482,12 +520,12 @@ "SPDXID": "SPDXRef-File--types-table.d.ts-5621BC5130C0ACA78783A9B28FD1BE89E85FEC1E",

{
"fileName": "./types/hooks/invocationHooks.d.ts",
"SPDXID": "SPDXRef-File--types-hooks-invocationHooks.d.ts-2089D65AE538370E47EE5BFB40AFEBB248390B83",
"fileName": "./types/trigger.d.ts",
"SPDXID": "SPDXRef-File--types-trigger.d.ts-7DA3044DAAC9A1F6A48D5E85ECAFB9C51639C17B",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "975b3eec8526641be49bff7792e603c512b78014889e0f41063688d6900203a6"
"checksumValue": "015dd83ea0f2071dd7ae12947d4aa711743133f9646209e975e28ee19ab41799"
},
{
"algorithm": "SHA1",
"checksumValue": "2089d65ae538370e47ee5bfb40afebb248390b83"
"checksumValue": "7da3044daac9a1f6a48d5e85ecafb9c51639c17b"
}

@@ -502,12 +540,12 @@ ],

{
"fileName": "./LICENSE",
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"fileName": "./dist/azure-functions.min.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-5B11A43CC08230AD6420B64B9E910AEBD0593155",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34"
"checksumValue": "0fbcb93ef4877aed71e9185508a388d1ca9bf4a78725881ef76e3c527430d52a"
},
{
"algorithm": "SHA1",
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4"
"checksumValue": "5b11a43cc08230ad6420b64b9e910aebd0593155"
}

@@ -522,12 +560,12 @@ ],

{
"fileName": "./src/app.ts",
"SPDXID": "SPDXRef-File--src-app.ts-B8D92A33BB102D5602BDE149CD2A55AD055289DD",
"fileName": "./src/InvocationContext.ts",
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-E4AD624AC7CA0B8AB41A895D24BDCB709BC52CA3",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "18542cf18115be8809f1de6a597b451f222ee78f72468a2f16828ab2add496c2"
"checksumValue": "3bbabaed7805e4e82b979a65c124354c4e754592ca60f79c5ef3c9e8489eb079"
},
{
"algorithm": "SHA1",
"checksumValue": "b8d92a33bb102d5602bde149cd2a55ad055289dd"
"checksumValue": "e4ad624ac7ca0b8ab41a895d24bdcb709bc52ca3"
}

@@ -542,12 +580,12 @@ ],

{
"fileName": "./src/trigger.ts",
"SPDXID": "SPDXRef-File--src-trigger.ts-86996ADFFEBF2312FFE489B54DA47E23428F86AC",
"fileName": "./src/converters/fromRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-382864B2A446ACCC0BF93EB57CDC2812F274CB0F",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6558256e320810a58dd40db5b3cd78dd5b9ac05849f20f4ea580d3a7c0b716e4"
"checksumValue": "863578a3ed5cb6d5282f3368b292a278f2b698aa731100b3113c0d1882d67cd9"
},
{
"algorithm": "SHA1",
"checksumValue": "86996adffebf2312ffe489b54da47e23428f86ac"
"checksumValue": "382864b2a446accc0bf93eb57cdc2812f274cb0f"
}

@@ -562,12 +600,12 @@ ],

{
"fileName": "./src/converters/toRpcHttp.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5",
"fileName": "./src/converters/toRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "5905595c2b16c068baab4dd181294dd16b70205d79bb93f8e7cf45525fd05b7b"
"checksumValue": "735319488354e832f621c664bcd80b0a13d3b4b2225b7b62ebd892a46fa8b6f5"
},
{
"algorithm": "SHA1",
"checksumValue": "48743c55420a205720f0453086454e535ac456b5"
"checksumValue": "093b06989ba6e60d23b752f6380e0b76b1a97b02"
}

@@ -582,12 +620,12 @@ ],

{
"fileName": "./src/hooks/PostInvocationContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-PostInvocationContext.ts-AF08B0BC4FED20E73C680B55F3542E581DC5D154",
"fileName": "./src/hooks/registerHook.ts",
"SPDXID": "SPDXRef-File--src-hooks-registerHook.ts-F9AA219DA0B0C777E693B18DEE273389F7CF51CA",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "dec849c600e041cccc554644b1f5f0a5fc58a8e3a4daff9e48ecac0e06b02e35"
"checksumValue": "46801ad32c5b6c6cc3f5b4340c344bc7833ccd0529d6dd2ad6ed029faa0e7941"
},
{
"algorithm": "SHA1",
"checksumValue": "af08b0bc4fed20e73c680b55f3542e581dc5d154"
"checksumValue": "f9aa219da0b0c777e693b18dee273389f7cf51ca"
}

@@ -621,12 +659,12 @@ ],

{
"fileName": "./types/eventGrid.d.ts",
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-6A15914EC7A9DEA9E7028CB3BE98BD81247B48CF",
"fileName": "./types/cosmosDB.v4.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.v4.d.ts-EE24FA064D924FC2BC9533925C8CD868BCF9A459",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "7284f5192c61cd8170629c89a3952cbc5e203b7172487225489e8a0ba9408c68"
"checksumValue": "98ae23f6f731b4802c966fb8a55a78215149f17afb922ab193af701b3677e164"
},
{
"algorithm": "SHA1",
"checksumValue": "6a15914ec7a9dea9e7028cb3be98bd81247b48cf"
"checksumValue": "ee24fa064d924fc2bc9533925c8cd868bcf9a459"
}

@@ -641,12 +679,12 @@ ],

{
"fileName": "./types/serviceBus.d.ts",
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736",
"fileName": "./dist/azure-functions.min.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-7CCB7B6CAF95055F64D7E122AF32E64D507C024D",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "c5c7cfdee1c31cbe397a25c9be329b093b4bb68579c0040582f8c49c417923a2"
"checksumValue": "0cc2c02a7cf288a673c3a24513a4a0a37e8eb98c8797ec9ea09dee2d14611b11"
},
{
"algorithm": "SHA1",
"checksumValue": "6f3b2d69930bd0117fb44875db3fe0e5b2e68736"
"checksumValue": "7ccb7b6caf95055f64d7e122af32e64d507c024d"
}

@@ -661,12 +699,12 @@ ],

{
"fileName": "./types/hooks/HookContext.d.ts",
"SPDXID": "SPDXRef-File--types-hooks-HookContext.d.ts-4936EAD059A4A853B0093B28C63CB0D458217CD8",
"fileName": "./types/output.d.ts",
"SPDXID": "SPDXRef-File--types-output.d.ts-394EF7B257D8C3E4B17E1300868930F4F16BA226",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6a4af540066a2a2c6e64d299a14ef794416b088dde749342747af0de1aa7e5cf"
"checksumValue": "456078e7578479f08285912c4e5eaa05c704bf7f8a7cadcc73955ddda1ddbb1f"
},
{
"algorithm": "SHA1",
"checksumValue": "4936ead059a4a853b0093b28c63cb0d458217cd8"
"checksumValue": "394ef7b257d8c3e4b17e1300868930f4f16ba226"
}

@@ -681,12 +719,12 @@ ],

{
"fileName": "./dist/azure-functions.min.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-D51BE53C494501EE4F70E1B61D1DC7C1AD002385",
"fileName": "./src/InvocationModel.ts",
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-A36D5CC0D66944108C7649A3053BC6E7F77DD08E",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "12f52b87d044ccbf0a7d5618784bf61d5261dc7bbaf9820a15a874b95d45a7af"
"checksumValue": "d0259584ec1ecfe726e561e93141cd899cbe1e170fd674e31f1c677d6be4f3c6"
},
{
"algorithm": "SHA1",
"checksumValue": "d51be53c494501ee4f70e1b61d1dc7c1ad002385"
"checksumValue": "a36d5cc0d66944108c7649a3053bc6e7f77dd08e"
}

@@ -701,12 +739,12 @@ ],

{
"fileName": "./src/InvocationModel.ts",
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-4EF064FB55F29E17D87295CEBEE36BBBB5034904",
"fileName": "./src/converters/fromRpcTriggerMetadata.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "189dc2b3abbf32d950ea3a7cfbbf4b1e20fd7a4982d5c04f33abbc57171d115d"
"checksumValue": "8dbd98ba1be3ecc1388d82fd151307f67cbc3f28568acf5b804572b423d11ba5"
},
{
"algorithm": "SHA1",
"checksumValue": "4ef064fb55f29e17d87295cebee36bbbb5034904"
"checksumValue": "500e9fe2895ca2a8d90965f7c12a8ce772578e91"
}

@@ -721,12 +759,12 @@ ],

{
"fileName": "./src/converters/toCamelCase.ts",
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-F932333E7B08B4E1D5B7FB35F6647EF26E5EEB46",
"fileName": "./src/converters/toRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "a309cf723d9dfdd5494727128a1ffc0cccc8a6623dc1040d669c0c3274f1e619"
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd"
},
{
"algorithm": "SHA1",
"checksumValue": "f932333e7b08b4e1d5b7fb35f6647ef26e5eeb46"
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac"
}

@@ -741,12 +779,12 @@ ],

{
"fileName": "./src/hooks/HookContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-HookContext.ts-46BBEBF323DB1509A1B1293C4EBC3718A2FE7454",
"fileName": "./src/http/extractHttpUserFromHeaders.ts",
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "953f50e89af323bf3067f2bc09054ebb93b246099f29f1a92e457f237494e151"
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a"
},
{
"algorithm": "SHA1",
"checksumValue": "46bbebf323db1509a1b1293c4ebc3718a2fe7454"
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83"
}

@@ -761,12 +799,12 @@ ],

{
"fileName": "./src/utils/Disposable.ts",
"SPDXID": "SPDXRef-File--src-utils-Disposable.ts-56791F481D6117AAE27218F4BBF165ED4698BAA9",
"fileName": "./src/utils/nonNull.ts",
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "2e9f4058d34b11f36080f04108ad891e373a7e67b405b8e3fc2abd386619e486"
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634"
},
{
"algorithm": "SHA1",
"checksumValue": "56791f481d6117aae27218f4bbf165ed4698baa9"
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe"
}

@@ -781,12 +819,12 @@ ],

{
"fileName": "./types/cosmosDB.v3.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF",
"fileName": "./types/eventGrid.d.ts",
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-6A15914EC7A9DEA9E7028CB3BE98BD81247B48CF",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "85a5c80025b47bd294a2eded78923e5d6f81b647192fc824b3013984ce1ae37e"
"checksumValue": "7284f5192c61cd8170629c89a3952cbc5e203b7172487225489e8a0ba9408c68"
},
{
"algorithm": "SHA1",
"checksumValue": "34407e7d69182c902da07bb03e20dab388f4a5bf"
"checksumValue": "6a15914ec7a9dea9e7028cb3be98bd81247b48cf"
}

@@ -801,12 +839,12 @@ ],

{
"fileName": "./types/InvocationContext.d.ts",
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-AF414932F257B471EFF915A575A17E4054596BA2",
"fileName": "./types/serviceBus.d.ts",
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "99aa68d40825b1b1ef6683a2766ffe7202ff703c98dc116726d122d77cb808cf"
"checksumValue": "c5c7cfdee1c31cbe397a25c9be329b093b4bb68579c0040582f8c49c417923a2"
},
{
"algorithm": "SHA1",
"checksumValue": "af414932f257b471eff915a575a17e4054596ba2"
"checksumValue": "6f3b2d69930bd0117fb44875db3fe0e5b2e68736"
}

@@ -821,2 +859,21 @@ ],

{
"fileName": "./types/hooks/appHooks.d.ts",
"SPDXID": "SPDXRef-File--types-hooks-appHooks.d.ts-6F2B6A72728855178FC1B31201580EBA6E09E5AE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6b1e7097d7a2fffe4608e37e0df5462108e65895bdba08d1f12b7345d90f8a78"
},
{
"algorithm": "SHA1",
"checksumValue": "6f2b6a72728855178fc1b31201580eba6e09e5ae"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/warmup.d.ts",

@@ -841,12 +898,12 @@ "SPDXID": "SPDXRef-File--types-warmup.d.ts-FBB4722E6A80D4C2699BA6B626EB619A41AEE777",

{
"fileName": "./dist/azure-functions.min.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-44041793AD7AE6AB9D0E8412DDA09E658744C67D",
"fileName": "./LICENSE",
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "ee67d9fc080d5ac1dc711559f1cd8c77132e11bf79e875f93d34649c4e66c974"
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34"
},
{
"algorithm": "SHA1",
"checksumValue": "44041793ad7ae6ab9d0e8412dda09e658744c67d"
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4"
}

@@ -861,12 +918,12 @@ ],

{
"fileName": "./src/InvocationContext.ts",
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978",
"fileName": "./src/app.ts",
"SPDXID": "SPDXRef-File--src-app.ts-EF2774FE03DC412AA820084DAF0CB1B41C795666",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "24a1a7f3d5c8e54eb19ea638d6cd5c1dfe95d33acd3a03042d5768d12fb113f9"
"checksumValue": "8384747b585ad959bc6935435ce50f9809dc98572390c8f590803378839cd092"
},
{
"algorithm": "SHA1",
"checksumValue": "7c805b59b2deaf611509f130f422e0d125a25978"
"checksumValue": "ef2774fe03dc412aa820084daf0cb1b41c795666"
}

@@ -881,12 +938,12 @@ ],

{
"fileName": "./src/converters/fromRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"fileName": "./src/ProgrammingModel.ts",
"SPDXID": "SPDXRef-File--src-ProgrammingModel.ts-BC56CC984DBDC180B5331F3B090D27B80E8E73BD",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e"
"checksumValue": "a59cf29a688f90cfb6f9dbf0155712e8a29f62ddd3c92a8045e76dd4fb1ef4bc"
},
{
"algorithm": "SHA1",
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce"
"checksumValue": "bc56cc984dbdc180b5331f3b090d27b80e8e73bd"
}

@@ -901,2 +958,21 @@ ],

{
"fileName": "./src/converters/toCamelCase.ts",
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-F932333E7B08B4E1D5B7FB35F6647EF26E5EEB46",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "a309cf723d9dfdd5494727128a1ffc0cccc8a6623dc1040d669c0c3274f1e619"
},
{
"algorithm": "SHA1",
"checksumValue": "f932333e7b08b4e1d5b7fb35f6647ef26e5eeb46"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./src/hooks/AppTerminateContext.ts",

@@ -921,12 +997,12 @@ "SPDXID": "SPDXRef-File--src-hooks-AppTerminateContext.ts-92A3C7D31EF79CEA6755836524DB99CCCC308AA5",

{
"fileName": "./src/http/HttpResponse.ts",
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-FA48A5C3AF989166E6CFF3EFC7F8D9D5A2939F71",
"fileName": "./src/http/HttpRequest.ts",
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-1AEB9314B8EB89ACA450AC57D93A1D87F9D2222B",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "629db0926888ae92a2a84ff669551ebebda8131e56e759e32acd9a8d09ac78d2"
"checksumValue": "cba01344bee89c4718652693d482038da19c757bf246569634d31b1cb75404fb"
},
{
"algorithm": "SHA1",
"checksumValue": "fa48a5c3af989166e6cff3efc7f8d9d5a2939f71"
"checksumValue": "1aeb9314b8eb89aca450ac57d93a1d87f9d2222b"
}

@@ -941,12 +1017,12 @@ ],

{
"fileName": "./types/cosmosDB.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.d.ts-3C7051CEE26908061B49AF03170EEA40EBED906D",
"fileName": "./src/utils/util.ts",
"SPDXID": "SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "10bdd83199df3432927f9d6919033d7c682d7196be0c6f0cce4a6f0dcf4d2866"
"checksumValue": "6cf132c958c9b59c0f50372abd16961981a3010e0f8fa16801ea295830b802f0"
},
{
"algorithm": "SHA1",
"checksumValue": "3c7051cee26908061b49af03170eea40ebed906d"
"checksumValue": "b666c0d023de87615d101367aad897eafc692b3f"
}

@@ -961,12 +1037,12 @@ ],

{
"fileName": "./types/input.d.ts",
"SPDXID": "SPDXRef-File--types-input.d.ts-F0F554347BFBA969F7ECAC9080C65FCDF01D17B8",
"fileName": "./types/generic.d.ts",
"SPDXID": "SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "24e590d6bda18897ddaa517bac98dedaac206b8ac5d657f694101d3c431875a1"
"checksumValue": "072aea18a565dd984acb373c67f833013ed551f4c57f338abb3dab48683a802b"
},
{
"algorithm": "SHA1",
"checksumValue": "f0f554347bfba969f7ecac9080c65fcdf01d17b8"
"checksumValue": "9b3211b2e6ba8f020fd782b15b5474435db61454"
}

@@ -981,12 +1057,12 @@ ],

{
"fileName": "./types/trigger.d.ts",
"SPDXID": "SPDXRef-File--types-trigger.d.ts-7DA3044DAAC9A1F6A48D5E85ECAFB9C51639C17B",
"fileName": "./types/sql.d.ts",
"SPDXID": "SPDXRef-File--types-sql.d.ts-901F330C01B62ED6366CF9E0D6B7DDEDC989860B",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "015dd83ea0f2071dd7ae12947d4aa711743133f9646209e975e28ee19ab41799"
"checksumValue": "7af151363595da76f239fd7947912723fadde65cd522cb11ef032caabac2e342"
},
{
"algorithm": "SHA1",
"checksumValue": "7da3044daac9a1f6a48d5e85ecafb9c51639c17b"
"checksumValue": "901f330c01b62ed6366cf9e0d6b7ddedc989860b"
}

@@ -1001,12 +1077,12 @@ ],

{
"fileName": "./README.md",
"SPDXID": "SPDXRef-File--README.md-B8A9F56B1E8159DB546D102D2ED74ED0C67A1EA8",
"fileName": "./types/hooks/invocationHooks.d.ts",
"SPDXID": "SPDXRef-File--types-hooks-invocationHooks.d.ts-2089D65AE538370E47EE5BFB40AFEBB248390B83",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "81ba85bb67026e2e31db21679599435ac2b277f73fbb49e13cf7b5a567883260"
"checksumValue": "975b3eec8526641be49bff7792e603c512b78014889e0f41063688d6900203a6"
},
{
"algorithm": "SHA1",
"checksumValue": "b8a9f56b1e8159db546d102d2ed74ed0c67a1ea8"
"checksumValue": "2089d65ae538370e47ee5bfb40afebb248390b83"
}

@@ -1021,12 +1097,12 @@ ],

{
"fileName": "./src/errors.ts",
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"fileName": "./dist/azure-functions.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.js-C24431C090EE08B8C103FDD9B7FCB83ABE0A1EE1",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439"
"checksumValue": "22c36972b3a10a33ad658b8e63634d039591f410a6308f9e9450d0b5a6fd1b1a"
},
{
"algorithm": "SHA1",
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1"
"checksumValue": "c24431c090ee08b8c103fdd9b7fcb83abe0a1ee1"
}

@@ -1041,12 +1117,12 @@ ],

{
"fileName": "./src/converters/fromRpcContext.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"fileName": "./src/index.ts",
"SPDXID": "SPDXRef-File--src-index.ts-FE35A79145C256A358A959EC8273B89C534B11B2",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c"
"checksumValue": "6745df51b2ad1b4adcfd8e1251d0862b77b01ed6576cfaf73aa70e512fced34e"
},
{
"algorithm": "SHA1",
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4"
"checksumValue": "fe35a79145c256a358a959ec8273b89c534b11b2"
}

@@ -1061,12 +1137,12 @@ ],

{
"fileName": "./src/converters/toRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02",
"fileName": "./src/converters/fromRpcBindings.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "735319488354e832f621c664bcd80b0a13d3b4b2225b7b62ebd892a46fa8b6f5"
"checksumValue": "af5881f0426ddb62a5d8b361000214035d735a7a7cecd2f723e17b0ebbb64bd9"
},
{
"algorithm": "SHA1",
"checksumValue": "093b06989ba6e60d23b752f6380e0b76b1a97b02"
"checksumValue": "33564771bf04ab3efb1fc5cddc7740cab4a66b9c"
}

@@ -1081,12 +1157,12 @@ ],

{
"fileName": "./src/hooks/registerHook.ts",
"SPDXID": "SPDXRef-File--src-hooks-registerHook.ts-F9AA219DA0B0C777E693B18DEE273389F7CF51CA",
"fileName": "./src/converters/toRpcHttp.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-3895B778E88DE59745CB55B506B58D3FD00F10BB",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "46801ad32c5b6c6cc3f5b4340c344bc7833ccd0529d6dd2ad6ed029faa0e7941"
"checksumValue": "9a87e91f38c08785232e72cc5e7ef5aba69fd840ac295786c9e84e689f4738e8"
},
{
"algorithm": "SHA1",
"checksumValue": "f9aa219da0b0c777e693b18dee273389f7cf51ca"
"checksumValue": "3895b778e88de59745cb55b506b58d3fd00f10bb"
}

@@ -1101,12 +1177,12 @@ ],

{
"fileName": "./src/utils/tryGetCoreApiLazy.ts",
"SPDXID": "SPDXRef-File--src-utils-tryGetCoreApiLazy.ts-716B9BD6877F9CAD2B2D6837045C6FF4B8A9A8E7",
"fileName": "./src/hooks/PostInvocationContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-PostInvocationContext.ts-AF08B0BC4FED20E73C680B55F3542E581DC5D154",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e54c9e87b799535f374132b2c68f873cd766dfa7c65179e1a997627b814a86aa"
"checksumValue": "dec849c600e041cccc554644b1f5f0a5fc58a8e3a4daff9e48ecac0e06b02e35"
},
{
"algorithm": "SHA1",
"checksumValue": "716b9bd6877f9cad2b2d6837045c6ff4b8a9a8e7"
"checksumValue": "af08b0bc4fed20e73c680b55f3542e581dc5d154"
}

@@ -1121,12 +1197,12 @@ ],

{
"fileName": "./types/generic.d.ts",
"SPDXID": "SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454",
"fileName": "./src/utils/fallbackLogHandler.ts",
"SPDXID": "SPDXRef-File--src-utils-fallbackLogHandler.ts-866D32AE2C63C57CB42EA141D183250D5881F2A6",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "072aea18a565dd984acb373c67f833013ed551f4c57f338abb3dab48683a802b"
"checksumValue": "46fa5c285c0310dc57d436cb38d2a501b2f469a77208d7004cf3e58135f87652"
},
{
"algorithm": "SHA1",
"checksumValue": "9b3211b2e6ba8f020fd782b15b5474435db61454"
"checksumValue": "866d32ae2c63c57cb42ea141d183250d5881f2a6"
}

@@ -1141,12 +1217,12 @@ ],

{
"fileName": "./types/storage.d.ts",
"SPDXID": "SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A",
"fileName": "./types/cosmosDB.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.d.ts-3C7051CEE26908061B49AF03170EEA40EBED906D",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "d54973e791cef9a0cc0fa6871f15b106060453cf850e0de8a87b9e1de2eb8042"
"checksumValue": "10bdd83199df3432927f9d6919033d7c682d7196be0c6f0cce4a6f0dcf4d2866"
},
{
"algorithm": "SHA1",
"checksumValue": "e62113411d87cd618132b22dce862361ad26c91a"
"checksumValue": "3c7051cee26908061b49af03170eea40ebed906d"
}

@@ -1161,12 +1237,12 @@ ],

{
"fileName": "./types/hooks/registerHook.d.ts",
"SPDXID": "SPDXRef-File--types-hooks-registerHook.d.ts-6AF293FA6071E1381EF1CB4C71CBFBCF22714FAD",
"fileName": "./types/input.d.ts",
"SPDXID": "SPDXRef-File--types-input.d.ts-F0F554347BFBA969F7ECAC9080C65FCDF01D17B8",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e217f2f3db965f51f76e454b18504d7c4c429c224f4986fed61aa7fec548798d"
"checksumValue": "24e590d6bda18897ddaa517bac98dedaac206b8ac5d657f694101d3c431875a1"
},
{
"algorithm": "SHA1",
"checksumValue": "6af293fa6071e1381ef1cb4c71cbfbcf22714fad"
"checksumValue": "f0f554347bfba969f7ecac9080c65fcdf01d17b8"
}

@@ -1181,12 +1257,12 @@ ],

{
"fileName": "./dist/azure-functions.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-42BC2C443F6930AD6C8C053ADB1213E99B8259F4",
"fileName": "./types/timer.d.ts",
"SPDXID": "SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "8127be48133c9dc8b6b0d28ede7e6ec68cf473a9835ad04e5456e7a3f43fddee"
"checksumValue": "b61d9ad48fbeac504c1d2630fc5e8b897ac84b21f57535baac9bde0692ed26a6"
},
{
"algorithm": "SHA1",
"checksumValue": "42bc2c443f6930ad6c8c053adb1213e99b8259f4"
"checksumValue": "2a8ffd11e1def0d2b8c14cfe7893adb6a0a19cb7"
}

@@ -1201,12 +1277,12 @@ ],

{
"fileName": "./src/input.ts",
"SPDXID": "SPDXRef-File--src-input.ts-A8297994A3E2C1261C26661B99A717DA28925616",
"fileName": "./package.json",
"SPDXID": "SPDXRef-File--package.json-311DFC2C26A9535EA4268D1D32D41BAC044EC04E",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "496ad840b23c94a2434ead2edac69378cdb21916f24a86331c32ddff7f9639c8"
"checksumValue": "c44b386218acfa942517ad744699d4a72b6b34189fb9bcd0c27924bd8cfa12fa"
},
{
"algorithm": "SHA1",
"checksumValue": "a8297994a3e2c1261c26661b99a717da28925616"
"checksumValue": "311dfc2c26a9535ea4268d1d32d41bac044ec04e"
}

@@ -1221,12 +1297,12 @@ ],

{
"fileName": "./src/converters/fromRpcTriggerMetadata.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"fileName": "./src/constants.ts",
"SPDXID": "SPDXRef-File--src-constants.ts-787F625695BF10821A1B885E1B7B9ED95E1BBD83",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "8dbd98ba1be3ecc1388d82fd151307f67cbc3f28568acf5b804572b423d11ba5"
"checksumValue": "76548c7b3de6ca4f6ba717d0fd03efb707356056b39618d0b91070a7c70031cc"
},
{
"algorithm": "SHA1",
"checksumValue": "500e9fe2895ca2a8d90965f7c12a8ce772578e91"
"checksumValue": "787f625695bf10821a1b885e1b7b9ed95e1bbd83"
}

@@ -1241,12 +1317,12 @@ ],

{
"fileName": "./src/hooks/AppStartContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-AppStartContext.ts-C5E62974A2A131689590332CC698B01366AFDD4C",
"fileName": "./src/setup.ts",
"SPDXID": "SPDXRef-File--src-setup.ts-E64D40B16F948C9FE25531F689B7779207768358",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "4c9bd10ac98453a81c21fce2e4ff4667a54f613fa4880ea9b60982dee3a34895"
"checksumValue": "d71d5700ed3096065aea8396c37ae899d2c6cd2e56a64a00b41d797e3eaf5159"
},
{
"algorithm": "SHA1",
"checksumValue": "c5e62974a2a131689590332cc698b01366afdd4c"
"checksumValue": "e64d40b16f948c9fe25531f689b7779207768358"
}

@@ -1261,12 +1337,12 @@ ],

{
"fileName": "./src/http/HttpRequest.ts",
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-84D374CAF3FA0ACCE49F2EDA628065B5D0311975",
"fileName": "./src/converters/toCoreFunctionMetadata.ts",
"SPDXID": "SPDXRef-File--src-converters-toCoreFunctionMetadata.ts-17058743CFC9269EC39214933DE28FE742A4977F",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "a001169f3ce60247af8451ea42b34441b282dd4b5801bf23eb3df559767540fe"
"checksumValue": "ecdce19479763f3953fcab751e1f8d3ad70edd84b80c2a8ab8c09ea23b6938a7"
},
{
"algorithm": "SHA1",
"checksumValue": "84d374caf3fa0acce49f2eda628065b5d0311975"
"checksumValue": "17058743cfc9269ec39214933de28fe742a4977f"
}

@@ -1281,12 +1357,12 @@ ],

{
"fileName": "./types/app.d.ts",
"SPDXID": "SPDXRef-File--types-app.d.ts-44A1D2F3999108C231EE311247AC2CE208B03DBC",
"fileName": "./src/hooks/HookContext.ts",
"SPDXID": "SPDXRef-File--src-hooks-HookContext.ts-46BBEBF323DB1509A1B1293C4EBC3718A2FE7454",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "477121efb790ae99504823b3178ee18be3b3bbfd79571764a90fc34555f9dc67"
"checksumValue": "953f50e89af323bf3067f2bc09054ebb93b246099f29f1a92e457f237494e151"
},
{
"algorithm": "SHA1",
"checksumValue": "44a1d2f3999108c231ee311247ac2ce208b03dbc"
"checksumValue": "46bbebf323db1509a1b1293c4ebc3718a2fe7454"
}

@@ -1301,12 +1377,12 @@ ],

{
"fileName": "./types/index.d.ts",
"SPDXID": "SPDXRef-File--types-index.d.ts-4B5683F57B7AC26B2C992BAA5417929C84002DDE",
"fileName": "./src/http/HttpResponse.ts",
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-FA48A5C3AF989166E6CFF3EFC7F8D9D5A2939F71",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "21947d94ecc7b0902cc40cec7debb708d32bc072ee652e7739d2998cfb98656f"
"checksumValue": "629db0926888ae92a2a84ff669551ebebda8131e56e759e32acd9a8d09ac78d2"
},
{
"algorithm": "SHA1",
"checksumValue": "4b5683f57b7ac26b2c992baa5417929c84002dde"
"checksumValue": "fa48a5c3af989166e6cff3efc7f8d9d5a2939f71"
}

@@ -1321,12 +1397,12 @@ ],

{
"fileName": "./types/timer.d.ts",
"SPDXID": "SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7",
"fileName": "./src/utils/workerSystemLog.ts",
"SPDXID": "SPDXRef-File--src-utils-workerSystemLog.ts-03651F469312FA977E3E8791DFEB5FDF028CA935",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "b61d9ad48fbeac504c1d2630fc5e8b897ac84b21f57535baac9bde0692ed26a6"
"checksumValue": "6813431d5716037d2541dd3f2f6fe227aa3f7384aa0257067c27c877389da4f6"
},
{
"algorithm": "SHA1",
"checksumValue": "2a8ffd11e1def0d2b8c14cfe7893adb6a0a19cb7"
"checksumValue": "03651f469312fa977e3e8791dfeb5fdf028ca935"
}

@@ -1339,2 +1415,59 @@ ],

"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/http.d.ts",
"SPDXID": "SPDXRef-File--types-http.d.ts-0979DC1F1A3443230BDE2A557A013533630F4EBD",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "4742bc701d7cfe7db71a1333fafa7eba7e9f33b0a08f82de0d769304ce97c6b9"
},
{
"algorithm": "SHA1",
"checksumValue": "0979dc1f1a3443230bde2a557a013533630f4ebd"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/storage.d.ts",
"SPDXID": "SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "d54973e791cef9a0cc0fa6871f15b106060453cf850e0de8a87b9e1de2eb8042"
},
{
"algorithm": "SHA1",
"checksumValue": "e62113411d87cd618132b22dce862361ad26c91a"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/hooks/registerHook.d.ts",
"SPDXID": "SPDXRef-File--types-hooks-registerHook.d.ts-6AF293FA6071E1381EF1CB4C71CBFBCF22714FAD",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e217f2f3db965f51f76e454b18504d7c4c429c224f4986fed61aa7fec548798d"
},
{
"algorithm": "SHA1",
"checksumValue": "6af293fa6071e1381ef1cb4c71cbfbcf22714fad"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
}

@@ -1344,4 +1477,4 @@ ],

{
"name": "long",
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"name": "Azure Pipelines Hosted Image win19",
"SPDXID": "SPDXRef-Package-CF52430A379AE1274A6751A714171963CB52B825609E0388B1BFD37D3EB601BA",
"downloadLocation": "NOASSERTION",

@@ -1352,3 +1485,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "4.0.0",
"versionInfo": "20240204.1.0",
"externalRefs": [

@@ -1358,10 +1491,10 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/long@4.0.0"
"referenceLocator": "https://github.com/actions/virtual-environments"
}
],
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)"
"supplier": "Organization: Microsoft/GitHub"
},
{
"name": "@fastify/busboy",
"SPDXID": "SPDXRef-Package-46D092BC8D23810BAC32BE7BB2F447C349F82613DB12E2D6F41C7E9C287E261C",
"name": "cookie",
"SPDXID": "SPDXRef-Package-1232C4966E7DE3F6C15AD87C7A726E3A9E86C7FADD4D1E4604E2EDA75262A621",
"downloadLocation": "NOASSERTION",

@@ -1372,3 +1505,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "2.0.0",
"versionInfo": "0.6.0",
"externalRefs": [

@@ -1378,10 +1511,10 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/@fastify/busboy@2.0.0"
"referenceLocator": "pkg:npm/cookie@0.6.0"
}
],
"supplier": "Organization: Brian White (mscdex@mscdex.net)"
"supplier": "Organization: Roman Shtylman (shtylman@gmail.com)"
},
{
"name": "Azure Pipelines Hosted Image win19",
"SPDXID": "SPDXRef-Package-661DEC8B31B49053BBA0B7D03D8DBCD0A1E3F25E571E5FC516A1DE58D1BBB0C9",
"name": "long",
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"downloadLocation": "NOASSERTION",

@@ -1392,3 +1525,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "20240122.1.0",
"versionInfo": "4.0.0",
"externalRefs": [

@@ -1398,10 +1531,28 @@ {

"referenceType": "purl",
"referenceLocator": "https://github.com/actions/virtual-environments"
"referenceLocator": "pkg:npm/long@4.0.0"
}
],
"supplier": "Organization: Microsoft/GitHub"
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)"
},
{
"name": "@fastify/busboy",
"SPDXID": "SPDXRef-Package-46D092BC8D23810BAC32BE7BB2F447C349F82613DB12E2D6F41C7E9C287E261C",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"licenseConcluded": "NOASSERTION",
"licenseDeclared": "NOASSERTION",
"copyrightText": "NOASSERTION",
"versionInfo": "2.0.0",
"externalRefs": [
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:npm/@fastify/busboy@2.0.0"
}
],
"supplier": "Organization: Brian White (mscdex@mscdex.net)"
},
{
"name": "undici",
"SPDXID": "SPDXRef-Package-B25CC9D8D283E3E012C1296DCA5C1B4AA1FC1DF05B15E119816B265BA61ECD1B",
"SPDXID": "SPDXRef-Package-B7306E5625A76A53176B3CAEFFA2E9E7FF65C156D817E1163F8533832F75221B",
"downloadLocation": "NOASSERTION",

@@ -1412,3 +1563,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "5.26.2",
"versionInfo": "5.28.3",
"externalRefs": [

@@ -1418,3 +1569,3 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/undici@5.26.2"
"referenceLocator": "pkg:npm/undici@5.28.3"
}

@@ -1429,3 +1580,3 @@ ],

"packageVerificationCode": {
"packageVerificationCodeValue": "b10771b10c9079c30f899c32adcc1d312a4210dd"
"packageVerificationCodeValue": "309195e72ee83354dcf992fbc38e3163aa0aa1e0"
},

@@ -1439,3 +1590,3 @@ "filesAnalyzed": true,

"copyrightText": "NOASSERTION",
"versionInfo": "160648",
"versionInfo": "161899",
"externalRefs": [

@@ -1445,3 +1596,3 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:swid/Microsoft/sbom.microsoft/Azure%20Functions%20Node.js%20Framework@160648?tag_id=eee219f6-e153-417a-b06d-f5bd92b2d64d"
"referenceLocator": "pkg:swid/Microsoft/sbom.microsoft/Azure%20Functions%20Node.js%20Framework@161899?tag_id=26a85091-b24e-4161-ab39-18cd5503d38d"
}

@@ -1451,69 +1602,76 @@ ],

"hasFiles": [
"SPDXRef-File--types-hooks-registerHook.d.ts-6AF293FA6071E1381EF1CB4C71CBFBCF22714FAD",
"SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A",
"SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454",
"SPDXRef-File--types-hooks-HookContext.d.ts-4936EAD059A4A853B0093B28C63CB0D458217CD8",
"SPDXRef-File--types-setup.d.ts-E9E46DEABC14F4F43668955FE394A1E141C68D32",
"SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6",
"SPDXRef-File--src-utils-tryGetCoreApiLazy.ts-716B9BD6877F9CAD2B2D6837045C6FF4B8A9A8E7",
"SPDXRef-File--src-hooks-registerHook.ts-F9AA219DA0B0C777E693B18DEE273389F7CF51CA",
"SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02",
"SPDXRef-File--src-http-httpProxy.ts-00072E3F7866B245E35E2441CCBEC9872E2CA06C",
"SPDXRef-File--src-hooks-AppStartContext.ts-C5E62974A2A131689590332CC698B01366AFDD4C",
"SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"SPDXRef-File--src-output.ts-C2359A1AB872C2A0D664123EDB42A72F8BD54D99",
"SPDXRef-File--src-addBindingName.ts-B43357A82A6E8ACA008CF39D4CD8E66F50904C19",
"SPDXRef-File--types-trigger.d.ts-7DA3044DAAC9A1F6A48D5E85ECAFB9C51639C17B",
"SPDXRef-File--types-InvocationContext.d.ts-AF414932F257B471EFF915A575A17E4054596BA2",
"SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF",
"SPDXRef-File--src-utils-getRandomHexString.ts-7148F54101DD733182C6BED6061BB73096FE0AA1",
"SPDXRef-File--src-hooks-PreInvocationContext.ts-8EC5F8C76EBA071687099BEF3F583B4BDB2BDC4C",
"SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"SPDXRef-File--README.md-B8A9F56B1E8159DB546D102D2ED74ED0C67A1EA8",
"SPDXRef-File--types-hooks-appHooks.d.ts-6F2B6A72728855178FC1B31201580EBA6E09E5AE",
"SPDXRef-File--src-input.ts-A8297994A3E2C1261C26661B99A717DA28925616",
"SPDXRef-File--dist-azure-functions.js.map-BB7772E4D52041E319C1DA1A00D538216C824E80",
"SPDXRef-File--types-warmup.d.ts-FBB4722E6A80D4C2699BA6B626EB619A41AEE777",
"SPDXRef-File--types-output.d.ts-394EF7B257D8C3E4B17E1300868930F4F16BA226",
"SPDXRef-File--types-cosmosDB.v4.d.ts-EE24FA064D924FC2BC9533925C8CD868BCF9A459",
"SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"SPDXRef-File--src-hooks-registerHook.ts-F9AA219DA0B0C777E693B18DEE273389F7CF51CA",
"SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02",
"SPDXRef-File--src-converters-fromRpcNullable.ts-382864B2A446ACCC0BF93EB57CDC2812F274CB0F",
"SPDXRef-File--src-InvocationContext.ts-E4AD624AC7CA0B8AB41A895D24BDCB709BC52CA3",
"SPDXRef-File--dist-azure-functions.min.js-5B11A43CC08230AD6420B64B9E910AEBD0593155",
"SPDXRef-File--types-hooks-registerHook.d.ts-6AF293FA6071E1381EF1CB4C71CBFBCF22714FAD",
"SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A",
"SPDXRef-File--types-http.d.ts-0979DC1F1A3443230BDE2A557A013533630F4EBD",
"SPDXRef-File--src-utils-workerSystemLog.ts-03651F469312FA977E3E8791DFEB5FDF028CA935",
"SPDXRef-File--src-http-HttpResponse.ts-FA48A5C3AF989166E6CFF3EFC7F8D9D5A2939F71",
"SPDXRef-File--src-hooks-HookContext.ts-46BBEBF323DB1509A1B1293C4EBC3718A2FE7454",
"SPDXRef-File--src-converters-toCoreFunctionMetadata.ts-17058743CFC9269EC39214933DE28FE742A4977F",
"SPDXRef-File--src-setup.ts-E64D40B16F948C9FE25531F689B7779207768358",
"SPDXRef-File--src-constants.ts-787F625695BF10821A1B885E1B7B9ED95E1BBD83",
"SPDXRef-File--package.json-311DFC2C26A9535EA4268D1D32D41BAC044EC04E",
"SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7",
"SPDXRef-File--types-input.d.ts-F0F554347BFBA969F7ECAC9080C65FCDF01D17B8",
"SPDXRef-File--types-cosmosDB.d.ts-3C7051CEE26908061B49AF03170EEA40EBED906D",
"SPDXRef-File--src-utils-fallbackLogHandler.ts-866D32AE2C63C57CB42EA141D183250D5881F2A6",
"SPDXRef-File--src-hooks-PostInvocationContext.ts-AF08B0BC4FED20E73C680B55F3542E581DC5D154",
"SPDXRef-File--src-converters-toRpcHttp.ts-3895B778E88DE59745CB55B506B58D3FD00F10BB",
"SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C",
"SPDXRef-File--src-index.ts-FE35A79145C256A358A959EC8273B89C534B11B2",
"SPDXRef-File--dist-azure-functions.js-C24431C090EE08B8C103FDD9B7FCB83ABE0A1EE1",
"SPDXRef-File--types-table.d.ts-5621BC5130C0ACA78783A9B28FD1BE89E85FEC1E",
"SPDXRef-File--types-index.d.ts-361864E4E55C2DE8A6E6513ABA8B03F206AC6D66",
"SPDXRef-File--types-app.d.ts-D5EF2CAD19445F8D014CBD47A0C03F9E9193CE91",
"SPDXRef-File--src-utils-Disposable.ts-56791F481D6117AAE27218F4BBF165ED4698BAA9",
"SPDXRef-File--src-hooks-InvocationHookContext.ts-00C0614266EB4475A1EC7F2B6277D03694A8CB93",
"SPDXRef-File--src-converters-toRpcDuration.ts-714B9BFB912D81833E9DB1CF93681F56D4B8A544",
"SPDXRef-File--src-output.ts-C2359A1AB872C2A0D664123EDB42A72F8BD54D99",
"SPDXRef-File--src-addBindingName.ts-F6DD874B08639297670A48B38AB19B6E914FDF27",
"SPDXRef-File--types-warmup.d.ts-FBB4722E6A80D4C2699BA6B626EB619A41AEE777",
"SPDXRef-File--types-InvocationContext.d.ts-AF414932F257B471EFF915A575A17E4054596BA2",
"SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF",
"SPDXRef-File--src-utils-Disposable.ts-56791F481D6117AAE27218F4BBF165ED4698BAA9",
"SPDXRef-File--src-hooks-HookContext.ts-46BBEBF323DB1509A1B1293C4EBC3718A2FE7454",
"SPDXRef-File--src-converters-toCamelCase.ts-F932333E7B08B4E1D5B7FB35F6647EF26E5EEB46",
"SPDXRef-File--src-InvocationModel.ts-4EF064FB55F29E17D87295CEBEE36BBBB5034904",
"SPDXRef-File--dist-azure-functions.min.js.map-D51BE53C494501EE4F70E1B61D1DC7C1AD002385",
"SPDXRef-File--src-trigger.ts-86996ADFFEBF2312FFE489B54DA47E23428F86AC",
"SPDXRef-File--src-errors.ts-A6C832E494B18A98B143C0D552EA102FD54BA00E",
"SPDXRef-File--README.md-B8A9F56B1E8159DB546D102D2ED74ED0C67A1EA8",
"SPDXRef-File--types-hooks-invocationHooks.d.ts-2089D65AE538370E47EE5BFB40AFEBB248390B83",
"SPDXRef-File--types-sql.d.ts-901F330C01B62ED6366CF9E0D6B7DDEDC989860B",
"SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6",
"SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454",
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"SPDXRef-File--src-http-HttpRequest.ts-1AEB9314B8EB89ACA450AC57D93A1D87F9D2222B",
"SPDXRef-File--src-hooks-AppTerminateContext.ts-92A3C7D31EF79CEA6755836524DB99CCCC308AA5",
"SPDXRef-File--src-converters-toCamelCase.ts-F932333E7B08B4E1D5B7FB35F6647EF26E5EEB46",
"SPDXRef-File--src-ProgrammingModel.ts-BC56CC984DBDC180B5331F3B090D27B80E8E73BD",
"SPDXRef-File--src-app.ts-EF2774FE03DC412AA820084DAF0CB1B41C795666",
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"SPDXRef-File--types-hooks-appHooks.d.ts-6F2B6A72728855178FC1B31201580EBA6E09E5AE",
"SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736",
"SPDXRef-File--types-eventGrid.d.ts-6A15914EC7A9DEA9E7028CB3BE98BD81247B48CF",
"SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"SPDXRef-File--src-hooks-PreInvocationContext.ts-8EC5F8C76EBA071687099BEF3F583B4BDB2BDC4C",
"SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C",
"SPDXRef-File--src-constants.ts-F29EBCFA3E505188D1113267708BF2D59EC736A3",
"SPDXRef-File--package.json-35B744500626193626BA266DB486C4B786E38F84",
"SPDXRef-File--types-table.d.ts-5621BC5130C0ACA78783A9B28FD1BE89E85FEC1E",
"SPDXRef-File--types-http.d.ts-0979DC1F1A3443230BDE2A557A013533630F4EBD",
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"SPDXRef-File--src-converters-fromRpcNullable.ts-382864B2A446ACCC0BF93EB57CDC2812F274CB0F",
"SPDXRef-File--src-index.ts-FE35A79145C256A358A959EC8273B89C534B11B2",
"SPDXRef-File--dist-azure-functions.js-56F54867EA23E71E7AD220ED9986252AAC6D2EFE",
"SPDXRef-File--types-hooks-HookContext.d.ts-4936EAD059A4A853B0093B28C63CB0D458217CD8",
"SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736",
"SPDXRef-File--types-eventGrid.d.ts-6A15914EC7A9DEA9E7028CB3BE98BD81247B48CF",
"SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"SPDXRef-File--src-hooks-PostInvocationContext.ts-AF08B0BC4FED20E73C680B55F3542E581DC5D154",
"SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5",
"SPDXRef-File--src-trigger.ts-86996ADFFEBF2312FFE489B54DA47E23428F86AC",
"SPDXRef-File--src-app.ts-B8D92A33BB102D5602BDE149CD2A55AD055289DD",
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"SPDXRef-File--types-trigger.d.ts-7DA3044DAAC9A1F6A48D5E85ECAFB9C51639C17B",
"SPDXRef-File--types-input.d.ts-F0F554347BFBA969F7ECAC9080C65FCDF01D17B8",
"SPDXRef-File--types-cosmosDB.d.ts-3C7051CEE26908061B49AF03170EEA40EBED906D",
"SPDXRef-File--src-http-HttpResponse.ts-FA48A5C3AF989166E6CFF3EFC7F8D9D5A2939F71",
"SPDXRef-File--src-hooks-AppTerminateContext.ts-92A3C7D31EF79CEA6755836524DB99CCCC308AA5",
"SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978",
"SPDXRef-File--dist-azure-functions.min.js-44041793AD7AE6AB9D0E8412DDA09E658744C67D",
"SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7",
"SPDXRef-File--types-index.d.ts-4B5683F57B7AC26B2C992BAA5417929C84002DDE",
"SPDXRef-File--types-app.d.ts-44A1D2F3999108C231EE311247AC2CE208B03DBC",
"SPDXRef-File--src-http-HttpRequest.ts-84D374CAF3FA0ACCE49F2EDA628065B5D0311975",
"SPDXRef-File--src-hooks-AppStartContext.ts-C5E62974A2A131689590332CC698B01366AFDD4C",
"SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"SPDXRef-File--src-input.ts-A8297994A3E2C1261C26661B99A717DA28925616",
"SPDXRef-File--dist-azure-functions.js.map-42BC2C443F6930AD6C8C053ADB1213E99B8259F4"
"SPDXRef-File--src-InvocationModel.ts-A36D5CC0D66944108C7649A3053BC6E7F77DD08E",
"SPDXRef-File--dist-azure-functions.min.js.map-7CCB7B6CAF95055F64D7E122AF32E64D507C024D"
]

@@ -1525,7 +1683,2 @@ }

{
"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-661DEC8B31B49053BBA0B7D03D8DBCD0A1E3F25E571E5FC516A1DE58D1BBB0C9",
"spdxElementId": "SPDXRef-RootPackage"
},
{
"relationshipType": "DESCRIBES",

@@ -1537,2 +1690,7 @@ "relatedSpdxElement": "SPDXRef-RootPackage",

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-B7306E5625A76A53176B3CAEFFA2E9E7FF65C156D817E1163F8533832F75221B",
"spdxElementId": "SPDXRef-RootPackage"
},
{
"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-46D092BC8D23810BAC32BE7BB2F447C349F82613DB12E2D6F41C7E9C287E261C",

@@ -1543,3 +1701,3 @@ "spdxElementId": "SPDXRef-RootPackage"

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"relatedSpdxElement": "SPDXRef-Package-1232C4966E7DE3F6C15AD87C7A726E3A9E86C7FADD4D1E4604E2EDA75262A621",
"spdxElementId": "SPDXRef-RootPackage"

@@ -1549,4 +1707,9 @@ },

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-B25CC9D8D283E3E012C1296DCA5C1B4AA1FC1DF05B15E119816B265BA61ECD1B",
"relatedSpdxElement": "SPDXRef-Package-CF52430A379AE1274A6751A714171963CB52B825609E0388B1BFD37D3EB601BA",
"spdxElementId": "SPDXRef-RootPackage"
},
{
"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"spdxElementId": "SPDXRef-RootPackage"
}

@@ -1557,6 +1720,6 @@ ],

"SPDXID": "SPDXRef-DOCUMENT",
"name": "Azure Functions Node.js Framework 160648",
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:160648/MvISj5Hqqkqyp003_ZvEhw",
"name": "Azure Functions Node.js Framework 161899",
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:161899/2sCVFRknNkKmf0U7LkQLrA",
"creationInfo": {
"created": "2024-01-30T22:47:01Z",
"created": "2024-02-28T00:39:18Z",
"creators": [

@@ -1563,0 +1726,0 @@ "Organization: Microsoft",

@@ -1,2 +0,2 @@

(()=>{"use strict";var e={313:function(e,t){var n,r,o,i=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},s=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationContext=void 0,t.InvocationContext=class{constructor(e){var t,r,o,s;n.set(this,void 0),e=e||{};const l="unknown";this.invocationId=e.invocationId||l,this.functionName=e.functionName||l,this.extraInputs=new a,this.extraOutputs=new u,this.retryContext=e.retryContext,this.traceContext=e.traceContext,this.triggerMetadata=e.triggerMetadata,this.options={trigger:(null===(t=e.options)||void 0===t?void 0:t.trigger)||{name:l,type:l},return:null===(r=e.options)||void 0===r?void 0:r.return,extraInputs:(null===(o=e.options)||void 0===o?void 0:o.extraInputs)||[],extraOutputs:(null===(s=e.options)||void 0===s?void 0:s.extraOutputs)||[]},i(this,n,e.logHandler||c,"f")}log(...e){s(this,n,"f").call(this,"information",...e)}trace(...e){s(this,n,"f").call(this,"trace",...e)}debug(...e){s(this,n,"f").call(this,"debug",...e)}info(...e){s(this,n,"f").call(this,"information",...e)}warn(...e){s(this,n,"f").call(this,"warning",...e)}error(...e){s(this,n,"f").call(this,"error",...e)}},n=new WeakMap;class a{constructor(){r.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,r,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,r,"f")[n]=t}}r=new WeakMap;class u{constructor(){o.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,o,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,o,"f")[n]=t}}function c(e,...t){switch(e){case"trace":console.trace(...t);break;case"debug":console.debug(...t);break;case"information":console.info(...t);break;case"warning":console.warn(...t);break;case"critical":case"error":console.error(...t);break;default:console.log(...t)}}o=new WeakMap},62:function(e,t,n){var r,o,i,s,a,u,c,l,f,p,d=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},h=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},v=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationModel=void 0;const y=n(764),g=n(601),b=n(168),m=n(130),w=n(243),x=n(408),j=n(788),O=n(186),P=n(828),C=n(758),T=n(313),_=n(674),k=n(557);t.InvocationModel=class{constructor(e){r.add(this),o.set(this,!1),i.set(this,void 0),s.set(this,void 0),a.set(this,void 0),u.set(this,void 0),h(this,i,e,"f"),h(this,s,(0,k.nonNullProp)(e.metadata,"name"),"f"),h(this,a,(0,k.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,k.nonNullValue)(Object.values(v(this,a,"f")).find((e=>(0,_.isTrigger)(e.type))),"triggerBinding");h(this,u,(0,k.nonNullProp)(t,"type"),"f")}getArguments(){return d(this,void 0,void 0,(function*(){const e=v(this,i,"f").request,t=new T.InvocationContext({invocationId:(0,k.nonNullProp)(v(this,i,"f"),"invocationId"),functionName:v(this,s,"f"),logHandler:(e,...t)=>v(this,r,"m",p).call(this,e,...t),retryContext:(0,m.fromRpcRetryContext)(e.retryContext),traceContext:(0,m.fromRpcTraceContext)(e.traceContext),triggerMetadata:(0,w.fromRpcTriggerMetadata)(e.triggerMetadata,v(this,u,"f")),options:(0,b.fromRpcBindings)(v(this,a,"f"))}),n=[];if(e.inputData)for(const r of e.inputData){const e=(0,k.nonNullProp)(r,"name");let o=(0,x.fromRpcTypedData)(r.data);const i=v(this,a,"f")[e];if(!i)throw new C.AzFuncSystemError(`Failed to find binding "${e}" in bindings "${Object.keys(v(this,a,"f")).join(", ")}".`);const s=i.type;(0,_.isTimerTrigger)(s)&&(o=(0,j.toCamelCaseValue)(o)),(0,_.isTrigger)(s)?n.push(o):t.extraInputs.set(e,o)}return{context:t,inputs:n}}))}invokeFunction(e,t,n){return d(this,void 0,void 0,(function*(){try{return yield Promise.resolve(n(...t,e))}finally{h(this,o,!0,"f")}}))}getResponse(e,t){return d(this,void 0,void 0,(function*(){const n={invocationId:v(this,i,"f").invocationId,outputData:[]};let o=!1;for(const[i,s]of Object.entries(v(this,a,"f")))if("out"===s.direction)if(i===g.returnBindingKey)n.returnValue=yield v(this,r,"m",c).call(this,s,t),o=!0;else{const t=yield v(this,r,"m",c).call(this,s,e.extraOutputs.get(i));(0,k.isDefined)(t)&&n.outputData.push({name:i,data:t})}return o||(0,_.isHttpTrigger)(v(this,u,"f"))||(n.returnValue=(0,P.toRpcTypedData)(t)),n}))}},o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakMap,u=new WeakMap,r=new WeakSet,c=function(e,t){var n;return d(this,void 0,void 0,(function*(){return"http"===(null===(n=e.type)||void 0===n?void 0:n.toLowerCase())?(0,O.toRpcHttp)(t):(0,P.toRpcTypedData)(t)}))},l=function(e,t,...n){v(this,i,"f").log(e,t,(0,y.format)(...n))},f=function(e,...t){v(this,r,"m",l).call(this,e,"system",...t)},p=function(e,...t){if(v(this,o,"f")&&"postInvocationHooks"!==v(this,i,"f").state){let e="Warning: Unexpected call to 'log' on the context object after function execution has completed. Please check for asynchronous calls that are not awaited. ";e+=`Function name: ${v(this,s,"f")}. Invocation Id: ${v(this,i,"f").invocationId}.`,v(this,r,"m",f).call(this,"warning",e)}v(this,r,"m",l).call(this,e,"user",...t)}},109:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addBindingName=t.InvocationContext=t.HttpResponse=t.HttpRequest=void 0;var r=n(726);Object.defineProperty(t,"HttpRequest",{enumerable:!0,get:function(){return r.HttpRequest}});var o=n(681);Object.defineProperty(t,"HttpResponse",{enumerable:!0,get:function(){return o.HttpResponse}});var i=n(313);Object.defineProperty(t,"InvocationContext",{enumerable:!0,get:function(){return i.InvocationContext}});const s={};t.addBindingName=function(e,t){if(!e.name){let n=e.type;n.toLowerCase().endsWith(t.toLowerCase())||(n+=t);let r=s[n]||0;r+=1,s[n]=r,e.name=n+r.toString()}return e}},752:function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.warmup=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.storageBlob=t.timer=t.http=t.deleteRequest=t.patch=t.post=t.put=t.get=t.hook=void 0;const o=n(601),i=n(133),s=n(62),a=n(854),u=n(892),c=n(674),l=n(736);t.hook=n(689);class f{constructor(){this.name="@azure/functions",this.version=o.version}getInvocationModel(e){return new s.InvocationModel(e)}}let p=!1;function d(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}function h(e,t){const{handler:n,return:o,trigger:i,extraInputs:s,extraOutputs:a}=e,u=r(e,["handler","return","trigger","extraInputs","extraOutputs"]);return{trigger:null!=i?i:t(u),return:o,extraInputs:s,extraOutputs:a,handler:n}}function v(e,t){t.return||(t.return=a.http({})),y(e,h(t,u.http))}function y(e,t){p||function(){const e=(0,l.tryGetCoreApiLazy)();e?e.setProgrammingModel(new f):console.warn('WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'),p=!0}();const n={},r=t.trigger;if(n[r.name]=Object.assign(Object.assign({},r),{direction:"in",type:(0,c.isTrigger)(r.type)?r.type:r.type+"Trigger"}),t.extraInputs)for(const e of t.extraInputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"in"});if(t.return&&(n[o.returnBindingKey]=Object.assign(Object.assign({},t.return),{direction:"out"})),t.extraOutputs)for(const e of t.extraOutputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"out"});let s;t.retry&&(s=Object.assign(Object.assign({},t.retry),{retryStrategy:t.retry.strategy,delayInterval:(0,i.toRpcDuration)(t.retry.delayInterval,"retry.delayInterval"),maximumInterval:(0,i.toRpcDuration)(t.retry.maximumInterval,"retry.maximumInterval"),minimumInterval:(0,i.toRpcDuration)(t.retry.minimumInterval,"retry.minimumInterval")}));const a=(0,l.tryGetCoreApiLazy)();a?a.registerFunction({name:e,bindings:n,retryOptions:s},t.handler):console.warn(`WARNING: Skipping call to register function "${e}" because the "@azure/functions" package is in test mode.`)}t.get=function(e,t){v(e,d(t,"GET"))},t.put=function(e,t){v(e,d(t,"PUT"))},t.post=function(e,t){v(e,d(t,"POST"))},t.patch=function(e,t){v(e,d(t,"PATCH"))},t.deleteRequest=function(e,t){v(e,d(t,"DELETE"))},t.http=v,t.timer=function(e,t){y(e,h(t,u.timer))},t.storageBlob=function(e,t){y(e,h(t,u.storageBlob))},t.storageQueue=function(e,t){y(e,h(t,u.storageQueue))},t.serviceBusQueue=function(e,t){y(e,h(t,u.serviceBusQueue))},t.serviceBusTopic=function(e,t){y(e,h(t,u.serviceBusTopic))},t.eventHub=function(e,t){y(e,h(t,u.eventHub))},t.eventGrid=function(e,t){y(e,h(t,u.eventGrid))},t.cosmosDB=function(e,t){y(e,h(t,u.cosmosDB))},t.warmup=function(e,t){y(e,h(t,u.warmup))},t.generic=y},601:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.version=void 0,t.version="4.2.0",t.returnBindingKey="$return"},168:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcBindings=void 0;const r=n(601),o=n(674),i=n(557);function s(e,t){return Object.assign(Object.assign({},t),{type:(0,i.nonNullProp)(t,"type"),name:e})}t.fromRpcBindings=function(e){let t,n;const a=[],u=[];for(const[c,l]of Object.entries((0,i.nonNullValue)(e,"bindings")))(0,o.isTrigger)(l.type)?t=s(c,l):c===r.returnBindingKey?n=s(c,l):"in"===l.direction?a.push(s(c,l)):"out"===l.direction&&u.push(s(c,l));return{trigger:(0,i.nonNullValue)(t,"trigger"),return:n,extraInputs:a,extraOutputs:u}}},130:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTraceContext=t.fromRpcRetryContext=void 0;const r=n(557);t.fromRpcRetryContext=function(e){if(e){const t={retryCount:(0,r.nonNullProp)(e,"retryCount"),maxRetryCount:(0,r.nonNullProp)(e,"maxRetryCount")};return e.exception&&(t.exception=function(e){const t={};return(0,r.copyPropIfDefined)(e,t,"message"),(0,r.copyPropIfDefined)(e,t,"source"),(0,r.copyPropIfDefined)(e,t,"stackTrace"),t}(e.exception)),t}},t.fromRpcTraceContext=function(e){if(e){const t={};return(0,r.copyPropIfDefined)(e,t,"traceParent"),(0,r.copyPropIfDefined)(e,t,"traceState"),e.attributes&&(t.attributes=e.attributes),t}}},691:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromNullableMapping=void 0,t.fromNullableMapping=function(e,t){var n;let r={};if(e&&Object.keys(e).length>0)for(const t in e)r[t]=(null===(n=e[t])||void 0===n?void 0:n.value)||"";else t&&Object.keys(t).length>0&&(r=t);return r}},243:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTriggerMetadata=void 0;const r=n(674),o=n(408),i=n(788);t.fromRpcTriggerMetadata=function(e,t){if(e&&!(0,r.isHttpTrigger)(t)&&!(0,r.isTimerTrigger)(t)){const t={};for(const[n,r]of Object.entries(e))t[(0,i.toCamelCaseKey)(n)]=(0,i.toCamelCaseValue)((0,o.fromRpcTypedData)(r));return t}}},408:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTypedData=void 0;const r=n(726),o=n(557);function i(e){try{return JSON.parse(e)}catch(t){return e}}t.fromRpcTypedData=function(e){return e?(0,o.isDefined)(e.string)?i(e.string):(0,o.isDefined)(e.json)?JSON.parse(e.json):(0,o.isDefined)(e.bytes)?Buffer.from(e.bytes):(0,o.isDefined)(e.stream)?Buffer.from(e.stream):(0,o.isDefined)(e.http)?new r.HttpRequest(e.http):(0,o.isDefined)(e.int)?e.int:(0,o.isDefined)(e.double)?e.double:e.collectionBytes&&(0,o.isDefined)(e.collectionBytes.bytes)?e.collectionBytes.bytes.map((e=>Buffer.from(e))):e.collectionString&&(0,o.isDefined)(e.collectionString.string)?e.collectionString.string.map(i):e.collectionDouble&&(0,o.isDefined)(e.collectionDouble.double)?e.collectionDouble.double:e.collectionSint64&&(0,o.isDefined)(e.collectionSint64.sint64)?e.collectionSint64.sint64:void 0:void 0}},788:(e,t)=>{function n(e){return e.charAt(0).toLowerCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toCamelCaseKey=t.toCamelCaseValue=void 0,t.toCamelCaseValue=function e(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t))return t.map(e);{const r={};for(const[o,i]of Object.entries(t))r[n(o)]=e(i);return r}},t.toCamelCaseKey=n},133:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcDuration=void 0;const r=n(758),o=n(557);t.toRpcDuration=function(e,t){if((0,o.isDefined)(e)){try{let t;if("object"==typeof e){const n=(e.minutes||0)+60*(e.hours||0),r=(e.seconds||0)+60*n;t=(e.milliseconds||0)+1e3*r}else"number"==typeof e&&(t=e);if((0,o.isDefined)(t)&&t>=0)return{seconds:Math.round(t/1e3)}}catch(e){}throw new r.AzFuncSystemError(`A 'number' or 'Duration' object was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},186:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttp=void 0;const o=n(758),i=n(681),s=n(518),a=n(828);t.toRpcHttp=function(e){return r(this,void 0,void 0,(function*(){if(null==e)return e;if("object"!=typeof e)throw new o.AzFuncSystemError('The HTTP response must be an object with optional properties "body", "status", "headers", and "cookies".');const t=e instanceof i.HttpResponse?e:new i.HttpResponse(e),n={};n.statusCode=t.status.toString(),n.headers={};for(const[e,r]of t.headers.entries())n.headers[e]=r;n.cookies=[];for(const e of t.cookies)n.cookies.push((0,s.toRpcHttpCookie)(e));n.enableContentNegotiation=t.enableContentNegotiation;const r=yield t.arrayBuffer();return n.body=(0,a.toRpcTypedData)(r),{http:n}}))}},518:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttpCookie=void 0;const r=n(679);t.toRpcHttpCookie=function(e){let t="none";if(e&&e.sameSite){const n=e.sameSite.toLocaleLowerCase();"lax"===n?t="lax":"strict"===n?t="strict":"none"===n&&(t="explicitNone")}return{name:e&&(0,r.toRpcString)(e.name,"cookie.name"),value:e&&(0,r.toRpcString)(e.value,"cookie.value"),domain:(0,r.toNullableString)(e&&e.domain,"cookie.domain"),path:(0,r.toNullableString)(e&&e.path,"cookie.path"),expires:(0,r.toNullableTimestamp)(e&&e.expires,"cookie.expires"),secure:(0,r.toNullableBool)(e&&e.secure,"cookie.secure"),httpOnly:(0,r.toNullableBool)(e&&e.httpOnly,"cookie.httpOnly"),sameSite:t,maxAge:(0,r.toNullableDouble)(e&&e.maxAge,"cookie.maxAge")}}},679:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toNullableTimestamp=t.toNullableString=t.toRpcString=t.toNullableDouble=t.toNullableBool=void 0;const r=n(758),o=n(557);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'boolean' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableDouble=function(e,t){if("number"==typeof e)return{value:e};if("string"==typeof e&&!isNaN(Number(e)))return{value:parseFloat(e)};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'number' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toRpcString=function(e,t){if("string"==typeof e)return e;if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`);return""},t.toNullableString=function(e,t){if("string"==typeof e)return{value:e};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableTimestamp=function(e,t){if((0,o.isDefined)(e))try{const t="number"==typeof e?e:e.getTime();if(t&&t>=0)return{value:{seconds:Math.round(t/1e3)}}}catch(n){throw new r.AzFuncSystemError(`A 'number' or 'Date' input was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},828:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcTypedData=void 0,t.toRpcTypedData=function(e){return null==e?e:"string"==typeof e?{string:e}:Buffer.isBuffer(e)?{bytes:e}:ArrayBuffer.isView(e)?{bytes:new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}:e instanceof ArrayBuffer?{bytes:new Uint8Array(e)}:"number"==typeof e?Number.isInteger(e)?{int:e}:{double:e}:{json:JSON.stringify(e)}}},758:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.ensureErrorType=t.ReadOnlyError=t.AzFuncRangeError=t.AzFuncTypeError=t.AzFuncSystemError=void 0;class n extends Error{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncSystemError=n;class r extends TypeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncTypeError=r;class o extends RangeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncRangeError=o,t.ReadOnlyError=class extends r{constructor(e){super(`Cannot assign to read only property '${e}'`)}},t.ensureErrorType=function(e){if(e instanceof Error)return e;{let t;return t=null==e?"Unknown error":"string"==typeof e?e:"object"==typeof e?JSON.stringify(e):String(e),new Error(t)}},t.isError=function(e){return null!=e}},869:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppStartContext=void 0;const r=n(13);class o extends r.HookContext{}t.AppStartContext=o},229:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppTerminateContext=void 0;const r=n(13);class o extends r.HookContext{}t.AppTerminateContext=o},13:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HookContext=void 0;const s=n(758),a=n(557);t.HookContext=class{constructor(e){var t,n;r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(n=i(this,r,"f")).hookData)&&void 0!==t||(n.hookData={})}get hookData(){return(0,a.nonNullProp)(i(this,r,"f"),"hookData")}set hookData(e){throw new s.ReadOnlyError("hookData")}},r=new WeakMap},884:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationHookContext=void 0;const s=n(758),a=n(313),u=n(557),c=n(13);class l extends c.HookContext{constructor(e){var t,n,s,u;super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(s=i(this,r,"f")).inputs)&&void 0!==t||(s.inputs=[]),null!==(n=(u=i(this,r,"f")).invocationContext)&&void 0!==n||(u.invocationContext=new a.InvocationContext)}get invocationContext(){return(0,u.nonNullProp)(i(this,r,"f"),"invocationContext")}set invocationContext(e){throw new s.ReadOnlyError("invocationContext")}get inputs(){return(0,u.nonNullProp)(i(this,r,"f"),"inputs")}set inputs(e){i(this,r,"f").inputs=e}}t.InvocationHookContext=l,r=new WeakMap},390:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.PostInvocationContext=void 0;const s=n(884);class a extends s.InvocationHookContext{constructor(e){super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f")}get result(){return i(this,r,"f").result}set result(e){i(this,r,"f").result=e}get error(){return i(this,r,"f").error}set error(e){i(this,r,"f").error=e}}t.PostInvocationContext=a,r=new WeakMap},225:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.PreInvocationContext=void 0;const s=n(557),a=n(884);class u extends a.InvocationHookContext{constructor(e){var t,n;super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(n=i(this,r,"f")).functionCallback)&&void 0!==t||(n.functionCallback=()=>{})}get functionHandler(){return(0,s.nonNullProp)(i(this,r,"f"),"functionCallback")}set functionHandler(e){i(this,r,"f").functionCallback=e}}t.PreInvocationContext=u,r=new WeakMap},689:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.postInvocation=t.preInvocation=t.appTerminate=t.appStart=void 0;const r=n(657),o=n(736),i=n(869),s=n(229),a=n(390),u=n(225);function c(e,t){const n=(0,o.tryGetCoreApiLazy)();return n?n.registerHook(e,t):(console.warn(`WARNING: Skipping call to register ${e} hook because the "@azure/functions" package is in test mode.`),new r.Disposable((()=>{console.warn(`WARNING: Skipping call to dispose ${e} hook because the "@azure/functions" package is in test mode.`)})))}t.appStart=function(e){return c("appStart",(t=>e(new i.AppStartContext(t))))},t.appTerminate=function(e){return c("appTerminate",(t=>e(new s.AppTerminateContext(t))))},t.preInvocation=function(e){return c("preInvocation",(t=>e(new u.PreInvocationContext(t))))},t.postInvocation=function(e){return c("postInvocation",(t=>e(new a.PostInvocationContext(t))))}},726:function(e,t,n){var r,o,i,s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},u=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequest=void 0;const c=n(122),l=n(360),f=n(691),p=n(557),d=n(21);class h{constructor(e){var t,n,s;if(r.set(this,void 0),o.set(this,void 0),i.set(this,void 0),a(this,i,e,"f"),e.undiciRequest)a(this,o,e.undiciRequest,"f");else{const r=(0,p.nonNullProp)(e,"url");let i;(null===(t=e.body)||void 0===t?void 0:t.bytes)?i=Buffer.from(null===(n=e.body)||void 0===n?void 0:n.bytes):(null===(s=e.body)||void 0===s?void 0:s.string)&&(i=e.body.string),a(this,o,new c.Request(r,{body:i,method:(0,p.nonNullProp)(e,"method"),headers:(0,f.fromNullableMapping)(e.nullableHeaders,e.headers)}),"f")}this.query=new l.URLSearchParams((0,f.fromNullableMapping)(e.nullableQuery,e.query)),this.params=(0,f.fromNullableMapping)(e.nullableParams,e.params)}get url(){return u(this,o,"f").url}get method(){return u(this,o,"f").method}get headers(){return u(this,o,"f").headers}get user(){return void 0===u(this,r,"f")&&a(this,r,(0,d.extractHttpUserFromHeaders)(this.headers),"f"),u(this,r,"f")}get body(){return u(this,o,"f").body}get bodyUsed(){return u(this,o,"f").bodyUsed}arrayBuffer(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").arrayBuffer()}))}blob(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").blob()}))}formData(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").formData()}))}json(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").json()}))}text(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").text()}))}clone(){const e=structuredClone(u(this,i,"f"));return e.undiciRequest=u(this,o,"f").clone(),new h(e)}}t.HttpRequest=h,r=new WeakMap,o=new WeakMap,i=new WeakMap},681:function(e,t,n){var r,o,i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},s=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},a=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpResponse=void 0;const u=n(122),c=n(557);class l{constructor(e){var t;if(r.set(this,void 0),o.set(this,void 0),null!=e||(e={}),s(this,o,e,"f"),e.undiciResponse)s(this,r,e.undiciResponse,"f");else{const t={status:e.status,headers:e.headers};(0,c.isDefined)(e.jsonBody)?s(this,r,u.Response.json(e.jsonBody,t),"f"):s(this,r,new u.Response(e.body,t),"f")}this.cookies=null!==(t=e.cookies)&&void 0!==t?t:[],this.enableContentNegotiation=!!e.enableContentNegotiation}get status(){return a(this,r,"f").status}get headers(){return a(this,r,"f").headers}get body(){return a(this,r,"f").body}get bodyUsed(){return a(this,r,"f").bodyUsed}arrayBuffer(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").arrayBuffer()}))}blob(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").blob()}))}formData(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").formData()}))}json(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").json()}))}text(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").text()}))}clone(){const e=structuredClone(a(this,o,"f"));return e.undiciResponse=a(this,r,"f").clone(),new l(e)}}t.HttpResponse=l,r=new WeakMap,o=new WeakMap},21:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractHttpUserFromHeaders=void 0;const r=n(557);t.extractHttpUserFromHeaders=function(e){let t=null;const n=e.get("x-ms-client-principal");if(n){const o=JSON.parse(Buffer.from(n,"base64").toString("utf-8"));t=o.identityProvider?{type:"StaticWebApps",id:o.userId,username:o.userDetails,identityProvider:o.identityProvider,claimsPrincipalData:o}:{type:"AppService",id:(0,r.nonNullValue)(e.get("x-ms-client-principal-id"),"user-id"),username:(0,r.nonNullValue)(e.get("x-ms-client-principal-name"),"user-name"),identityProvider:(0,r.nonNullValue)(e.get("x-ms-client-principal-idp"),"user-idp"),claimsPrincipalData:o}}return t}},489:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.sql=t.cosmosDB=t.table=t.storageBlob=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Input")}t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blob"}))},t.table=function(e){return o(Object.assign(Object.assign({},e),{type:"table"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.sql=function(e){return o(Object.assign(Object.assign({},e),{type:"sql"}))},t.generic=function(e){return o(e)}},854:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.sql=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.table=t.storageBlob=t.http=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Output")}t.http=function(e){return o(Object.assign(Object.assign({},e),{type:"http"}))},t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blob"}))},t.table=function(e){return o(Object.assign(Object.assign({},e),{type:"table"}))},t.storageQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"queue"}))},t.serviceBusQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBus"}))},t.serviceBusTopic=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBus"}))},t.eventHub=function(e){return o(Object.assign(Object.assign({},e),{type:"eventHub"}))},t.eventGrid=function(e){return o(Object.assign(Object.assign({},e),{type:"eventGrid"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.sql=function(e){return o(Object.assign(Object.assign({},e),{type:"sql"}))},t.generic=function(e){return o(e)}},892:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.warmup=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.storageBlob=t.timer=t.http=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Trigger")}t.http=function(e){return o(Object.assign(Object.assign({},e),{authLevel:e.authLevel||"anonymous",methods:e.methods||["GET","POST"],type:"httpTrigger"}))},t.timer=function(e){return o(Object.assign(Object.assign({},e),{type:"timerTrigger"}))},t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blobTrigger"}))},t.storageQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"queueTrigger"}))},t.serviceBusQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},t.serviceBusTopic=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},t.eventHub=function(e){return o(Object.assign(Object.assign({},e),{type:"eventHubTrigger"}))},t.eventGrid=function(e){return o(Object.assign(Object.assign({},e),{type:"eventGridTrigger"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDBTrigger"}))},t.warmup=function(e){return o(Object.assign(Object.assign({},e),{type:"warmupTrigger"}))},t.generic=function(e){return o(e)}},657:function(e,t){var n,r=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},o=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;class i{constructor(e){n.set(this,void 0),r(this,n,e,"f")}static from(...e){let t=e;return new i((function(){if(t){for(const e of t)e&&"function"==typeof e.dispose&&e.dispose();t=void 0}}))}dispose(){"function"==typeof o(this,n,"f")&&(o(this,n,"f").call(this),r(this,n,void 0,"f"))}}t.Disposable=i,n=new WeakMap},674:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isTimerTrigger=t.isHttpTrigger=t.isTrigger=void 0,t.isTrigger=function(e){return!!e&&/trigger$/i.test(e)},t.isHttpTrigger=function(e){return"httptrigger"===(null==e?void 0:e.toLowerCase())},t.isTimerTrigger=function(e){return"timertrigger"===(null==e?void 0:e.toLowerCase())}},557:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=t.copyPropIfDefined=t.nonNullValue=t.nonNullProp=void 0;const r=n(758);function o(e,t){if(null==e)throw new r.AzFuncSystemError("Internal error: Expected value to be neither null nor undefined"+(t?`: ${t}`:""));return e}t.nonNullProp=function(e,t){return o(e[t],t)},t.nonNullValue=o,t.copyPropIfDefined=function(e,t,n){null!==e[n]&&void 0!==e[n]&&(t[n]=e[n])},t.isDefined=function(e){return null!=e}},736:(e,t,n)=>{let r;Object.defineProperty(t,"__esModule",{value:!0}),t.tryGetCoreApiLazy=void 0,t.tryGetCoreApiLazy=function(){if(void 0===r)try{r=n(605)}catch(e){r=null}return r}},605:e=>{e.exports=require("@azure/functions-core")},122:e=>{e.exports=require("undici")},360:e=>{e.exports=require("url")},764:e=>{e.exports=require("util")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.Disposable=e.trigger=e.output=e.InvocationContext=e.input=e.HttpResponse=e.HttpRequest=e.PreInvocationContext=e.PostInvocationContext=e.InvocationHookContext=e.HookContext=e.AppTerminateContext=e.AppStartContext=e.app=void 0,e.app=n(752);var t=n(869);Object.defineProperty(e,"AppStartContext",{enumerable:!0,get:function(){return t.AppStartContext}});var o=n(229);Object.defineProperty(e,"AppTerminateContext",{enumerable:!0,get:function(){return o.AppTerminateContext}});var i=n(13);Object.defineProperty(e,"HookContext",{enumerable:!0,get:function(){return i.HookContext}});var s=n(884);Object.defineProperty(e,"InvocationHookContext",{enumerable:!0,get:function(){return s.InvocationHookContext}});var a=n(390);Object.defineProperty(e,"PostInvocationContext",{enumerable:!0,get:function(){return a.PostInvocationContext}});var u=n(225);Object.defineProperty(e,"PreInvocationContext",{enumerable:!0,get:function(){return u.PreInvocationContext}});var c=n(726);Object.defineProperty(e,"HttpRequest",{enumerable:!0,get:function(){return c.HttpRequest}});var l=n(681);Object.defineProperty(e,"HttpResponse",{enumerable:!0,get:function(){return l.HttpResponse}}),e.input=n(489);var f=n(313);Object.defineProperty(e,"InvocationContext",{enumerable:!0,get:function(){return f.InvocationContext}}),e.output=n(854),e.trigger=n(892);var p=n(657);Object.defineProperty(e,"Disposable",{enumerable:!0,get:function(){return p.Disposable}})})(),module.exports=r})();
(()=>{"use strict";var e={313:function(e,t,n){var r,o,i,s=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},a=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationContext=void 0;const u=n(312);t.InvocationContext=class{constructor(e){var t,n,o,i;r.set(this,void 0),e=e||{};const a="unknown";this.invocationId=e.invocationId||a,this.functionName=e.functionName||a,this.extraInputs=new c,this.extraOutputs=new l,this.retryContext=e.retryContext,this.traceContext=e.traceContext,this.triggerMetadata=e.triggerMetadata,this.options={trigger:(null===(t=e.options)||void 0===t?void 0:t.trigger)||{name:a,type:a},return:null===(n=e.options)||void 0===n?void 0:n.return,extraInputs:(null===(o=e.options)||void 0===o?void 0:o.extraInputs)||[],extraOutputs:(null===(i=e.options)||void 0===i?void 0:i.extraOutputs)||[]},s(this,r,e.logHandler||u.fallbackLogHandler,"f")}log(...e){a(this,r,"f").call(this,"information",...e)}trace(...e){a(this,r,"f").call(this,"trace",...e)}debug(...e){a(this,r,"f").call(this,"debug",...e)}info(...e){a(this,r,"f").call(this,"information",...e)}warn(...e){a(this,r,"f").call(this,"warning",...e)}error(...e){a(this,r,"f").call(this,"error",...e)}},r=new WeakMap;class c{constructor(){o.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return a(this,o,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;a(this,o,"f")[n]=t}}o=new WeakMap;class l{constructor(){i.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return a(this,i,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;a(this,i,"f")[n]=t}}i=new WeakMap},62:function(e,t,n){var r,o,i,s,a,u,c,l,f,d,p=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},h=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},v=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationModel=void 0;const y=n(764),g=n(601),m=n(168),b=n(130),w=n(243),x=n(408),P=n(788),O=n(186),j=n(828),C=n(758),_=n(988),T=n(726),S=n(313),k=n(56),E=n(674),H=n(557);t.InvocationModel=class{constructor(e){r.add(this),o.set(this,!1),i.set(this,void 0),s.set(this,void 0),a.set(this,void 0),u.set(this,void 0),h(this,i,e,"f"),h(this,s,(0,H.nonNullProp)(e.metadata,"name"),"f"),h(this,a,(0,H.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,H.nonNullValue)(Object.values(v(this,a,"f")).find((e=>(0,E.isTrigger)(e.type))),"triggerBinding");h(this,u,(0,H.nonNullProp)(t,"type"),"f")}getArguments(){var e;return p(this,void 0,void 0,(function*(){const t=v(this,i,"f").request,n=new S.InvocationContext({invocationId:(0,H.nonNullProp)(v(this,i,"f"),"invocationId"),functionName:v(this,s,"f"),logHandler:(e,...t)=>v(this,r,"m",d).call(this,e,...t),retryContext:(0,b.fromRpcRetryContext)(t.retryContext),traceContext:(0,b.fromRpcTraceContext)(t.traceContext),triggerMetadata:(0,w.fromRpcTriggerMetadata)(t.triggerMetadata,v(this,u,"f")),options:(0,m.fromRpcBindings)(v(this,a,"f"))}),o=[];if(t.inputData)for(const r of t.inputData){const t=(0,H.nonNullProp)(r,"name"),s=v(this,a,"f")[t];if(!s)throw new C.AzFuncSystemError(`Failed to find binding "${t}" in bindings "${Object.keys(v(this,a,"f")).join(", ")}".`);const u=s.type;let c;if((0,E.isHttpTrigger)(u)&&(0,k.isHttpStreamEnabled)()){const t=yield(0,_.waitForProxyRequest)(v(this,i,"f").invocationId);c=new T.HttpRequest(Object.assign(Object.assign({},null===(e=r.data)||void 0===e?void 0:e.http),{proxyRequest:t}))}else c=(0,x.fromRpcTypedData)(r.data);(0,E.isTimerTrigger)(u)&&(c=(0,P.toCamelCaseValue)(c)),(0,E.isTrigger)(u)?o.push(c):n.extraInputs.set(t,c)}return{context:n,inputs:o}}))}invokeFunction(e,t,n){return p(this,void 0,void 0,(function*(){try{return yield Promise.resolve(n(...t,e))}finally{h(this,o,!0,"f")}}))}getResponse(e,t){return p(this,void 0,void 0,(function*(){const n={invocationId:v(this,i,"f").invocationId,outputData:[]};let o=!1;for(const[i,s]of Object.entries(v(this,a,"f")))if("out"===s.direction)if(i===g.returnBindingKey)n.returnValue=yield v(this,r,"m",c).call(this,e.invocationId,s,t),o=!0;else{const t=yield v(this,r,"m",c).call(this,e.invocationId,s,e.extraOutputs.get(i));(0,H.isDefined)(t)&&n.outputData.push({name:i,data:t})}return o||(0,E.isHttpTrigger)(v(this,u,"f"))||(n.returnValue=(0,j.toRpcTypedData)(t)),n}))}},o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakMap,u=new WeakMap,r=new WeakSet,c=function(e,t,n){var r;return p(this,void 0,void 0,(function*(){return"http"===(null===(r=t.type)||void 0===r?void 0:r.toLowerCase())?(0,O.toRpcHttp)(e,n):(0,j.toRpcTypedData)(n)}))},l=function(e,t,...n){v(this,i,"f").log(e,t,(0,y.format)(...n))},f=function(e,...t){v(this,r,"m",l).call(this,e,"system",...t)},d=function(e,...t){if(v(this,o,"f")&&"postInvocationHooks"!==v(this,i,"f").state){let e="Warning: Unexpected call to 'log' on the context object after function execution has completed. Please check for asynchronous calls that are not awaited. ";e+=`Function name: ${v(this,s,"f")}. Invocation Id: ${v(this,i,"f").invocationId}.`,v(this,r,"m",f).call(this,"warning",e)}v(this,r,"m",l).call(this,e,"user",...t)}},612:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ProgrammingModel=void 0;const o=n(601),i=n(988),s=n(62),a=n(56);t.ProgrammingModel=class{constructor(){this.name="@azure/functions",this.version=o.version}getInvocationModel(e){return new s.InvocationModel(e)}getCapabilities(e){return r(this,void 0,void 0,(function*(){if((0,a.lockSetup)(),(0,a.isHttpStreamEnabled)()){const t=yield(0,i.setupHttpProxy)();e.HttpUri=t}return e}))}}},109:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addBindingName=void 0;const r=n(809);t.addBindingName=function(e,t){if(!e.name){let n=e.type;n.toLowerCase().endsWith(t.toLowerCase())||(n+=t),e.name=n+(0,r.getStringHash)(JSON.stringify(e))}return e}},752:function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.warmup=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.storageBlob=t.timer=t.http=t.deleteRequest=t.patch=t.post=t.put=t.get=t.setup=t.hook=void 0;const o=n(876),i=n(854),s=n(612),a=n(892),u=n(736);t.hook=n(689);var c=n(56);Object.defineProperty(t,"setup",{enumerable:!0,get:function(){return c.setup}});let l=!1;function f(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}function d(e,t){const{handler:n,return:o,trigger:i,extraInputs:s,extraOutputs:a}=e,u=r(e,["handler","return","trigger","extraInputs","extraOutputs"]);return{trigger:null!=i?i:t(u),return:o,extraInputs:s,extraOutputs:a,handler:n}}function p(e,t){t.return||(t.return=i.http({})),h(e,d(t,a.http))}function h(e,t){l||function(){const e=(0,u.tryGetCoreApiLazy)();e?e.setProgrammingModel(new s.ProgrammingModel):console.warn('WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'),l=!0}();const n=(0,u.tryGetCoreApiLazy)();n?n.registerFunction((0,o.toCoreFunctionMetadata)(e,t),t.handler):console.warn(`WARNING: Skipping call to register function "${e}" because the "@azure/functions" package is in test mode.`)}t.get=function(e,t){p(e,f(t,"GET"))},t.put=function(e,t){p(e,f(t,"PUT"))},t.post=function(e,t){p(e,f(t,"POST"))},t.patch=function(e,t){p(e,f(t,"PATCH"))},t.deleteRequest=function(e,t){p(e,f(t,"DELETE"))},t.http=p,t.timer=function(e,t){h(e,d(t,a.timer))},t.storageBlob=function(e,t){h(e,d(t,a.storageBlob))},t.storageQueue=function(e,t){h(e,d(t,a.storageQueue))},t.serviceBusQueue=function(e,t){h(e,d(t,a.serviceBusQueue))},t.serviceBusTopic=function(e,t){h(e,d(t,a.serviceBusTopic))},t.eventHub=function(e,t){h(e,d(t,a.eventHub))},t.eventGrid=function(e,t){h(e,d(t,a.eventGrid))},t.cosmosDB=function(e,t){h(e,d(t,a.cosmosDB))},t.warmup=function(e,t){h(e,d(t,a.warmup))},t.generic=h},601:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.version=void 0,t.version="4.3.0",t.returnBindingKey="$return"},168:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcBindings=void 0;const r=n(601),o=n(674),i=n(557);function s(e,t){return Object.assign(Object.assign({},t),{type:(0,i.nonNullProp)(t,"type"),name:e})}t.fromRpcBindings=function(e){let t,n;const a=[],u=[];for(const[c,l]of Object.entries((0,i.nonNullValue)(e,"bindings")))(0,o.isTrigger)(l.type)?t=s(c,l):c===r.returnBindingKey?n=s(c,l):"in"===l.direction?a.push(s(c,l)):"out"===l.direction&&u.push(s(c,l));return{trigger:(0,i.nonNullValue)(t,"trigger"),return:n,extraInputs:a,extraOutputs:u}}},130:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTraceContext=t.fromRpcRetryContext=void 0;const r=n(557);t.fromRpcRetryContext=function(e){if(e){const t={retryCount:(0,r.nonNullProp)(e,"retryCount"),maxRetryCount:(0,r.nonNullProp)(e,"maxRetryCount")};return e.exception&&(t.exception=function(e){const t={};return(0,r.copyPropIfDefined)(e,t,"message"),(0,r.copyPropIfDefined)(e,t,"source"),(0,r.copyPropIfDefined)(e,t,"stackTrace"),t}(e.exception)),t}},t.fromRpcTraceContext=function(e){if(e){const t={};return(0,r.copyPropIfDefined)(e,t,"traceParent"),(0,r.copyPropIfDefined)(e,t,"traceState"),e.attributes&&(t.attributes=e.attributes),t}}},691:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromNullableMapping=void 0,t.fromNullableMapping=function(e,t){var n;let r={};if(e&&Object.keys(e).length>0)for(const t in e)r[t]=(null===(n=e[t])||void 0===n?void 0:n.value)||"";else t&&Object.keys(t).length>0&&(r=t);return r}},243:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTriggerMetadata=void 0;const r=n(674),o=n(408),i=n(788);t.fromRpcTriggerMetadata=function(e,t){if(e&&!(0,r.isHttpTrigger)(t)&&!(0,r.isTimerTrigger)(t)){const t={};for(const[n,r]of Object.entries(e))t[(0,i.toCamelCaseKey)(n)]=(0,i.toCamelCaseValue)((0,o.fromRpcTypedData)(r));return t}}},408:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTypedData=void 0;const r=n(726),o=n(557);function i(e){try{return JSON.parse(e)}catch(t){return e}}t.fromRpcTypedData=function(e){return e?(0,o.isDefined)(e.string)?i(e.string):(0,o.isDefined)(e.json)?JSON.parse(e.json):(0,o.isDefined)(e.bytes)?Buffer.from(e.bytes):(0,o.isDefined)(e.stream)?Buffer.from(e.stream):(0,o.isDefined)(e.http)?new r.HttpRequest(e.http):(0,o.isDefined)(e.int)?e.int:(0,o.isDefined)(e.double)?e.double:e.collectionBytes&&(0,o.isDefined)(e.collectionBytes.bytes)?e.collectionBytes.bytes.map((e=>Buffer.from(e))):e.collectionString&&(0,o.isDefined)(e.collectionString.string)?e.collectionString.string.map(i):e.collectionDouble&&(0,o.isDefined)(e.collectionDouble.double)?e.collectionDouble.double:e.collectionSint64&&(0,o.isDefined)(e.collectionSint64.sint64)?e.collectionSint64.sint64:void 0:void 0}},788:(e,t)=>{function n(e){return e.charAt(0).toLowerCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toCamelCaseKey=t.toCamelCaseValue=void 0,t.toCamelCaseValue=function e(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t))return t.map(e);{const r={};for(const[o,i]of Object.entries(t))r[n(o)]=e(i);return r}},t.toCamelCaseKey=n},876:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toCoreFunctionMetadata=void 0;const r=n(601),o=n(758),i=n(674),s=n(133);t.toCoreFunctionMetadata=function(e,t){const n={},a=[],u=t.trigger;if(n[u.name]=Object.assign(Object.assign({},u),{direction:"in",type:(0,i.isTrigger)(u.type)?u.type:u.type+"Trigger"}),a.push(u.name),t.extraInputs)for(const e of t.extraInputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"in"}),a.push(e.name);if(t.return&&(n[r.returnBindingKey]=Object.assign(Object.assign({},t.return),{direction:"out"}),a.push(r.returnBindingKey)),t.extraOutputs)for(const e of t.extraOutputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"out"}),a.push(e.name);if(a.filter(((e,t)=>a.indexOf(e)!==t)).length>0)throw new o.AzFuncSystemError(`Duplicate bindings found for function "${e}". Remove a duplicate binding or manually specify the "name" property to make it unique.`);let c;return t.retry&&(c=Object.assign(Object.assign({},t.retry),{retryStrategy:t.retry.strategy,delayInterval:(0,s.toRpcDuration)(t.retry.delayInterval,"retry.delayInterval"),maximumInterval:(0,s.toRpcDuration)(t.retry.maximumInterval,"retry.maximumInterval"),minimumInterval:(0,s.toRpcDuration)(t.retry.minimumInterval,"retry.minimumInterval")})),{name:e,bindings:n,retryOptions:c}}},133:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcDuration=void 0;const r=n(758),o=n(557);t.toRpcDuration=function(e,t){if((0,o.isDefined)(e)){try{let t;if("object"==typeof e){const n=(e.minutes||0)+60*(e.hours||0),r=(e.seconds||0)+60*n;t=(e.milliseconds||0)+1e3*r}else"number"==typeof e&&(t=e);if((0,o.isDefined)(t)&&t>=0)return{seconds:Math.round(t/1e3)}}catch(e){}throw new r.AzFuncSystemError(`A 'number' or 'Duration' object was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},186:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttp=void 0;const o=n(758),i=n(988),s=n(681),a=n(56),u=n(518),c=n(828);t.toRpcHttp=function(e,t){return r(this,void 0,void 0,(function*(){if(null==t)return t;if("object"!=typeof t)throw new o.AzFuncSystemError('The HTTP response must be an object with optional properties "body", "status", "headers", and "cookies".');const n=t instanceof s.HttpResponse?t:new s.HttpResponse(t);if((0,a.isHttpStreamEnabled)())return void(yield(0,i.sendProxyResponse)(e,n));const r={};r.statusCode=n.status.toString(),r.headers={};for(const[e,t]of n.headers.entries())r.headers[e]=t;r.cookies=[];for(const e of n.cookies)r.cookies.push((0,u.toRpcHttpCookie)(e));r.enableContentNegotiation=n.enableContentNegotiation;const l=yield n.arrayBuffer();return r.body=(0,c.toRpcTypedData)(l),{http:r}}))}},518:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttpCookie=void 0;const r=n(679);t.toRpcHttpCookie=function(e){let t="none";if(e&&e.sameSite){const n=e.sameSite.toLocaleLowerCase();"lax"===n?t="lax":"strict"===n?t="strict":"none"===n&&(t="explicitNone")}return{name:e&&(0,r.toRpcString)(e.name,"cookie.name"),value:e&&(0,r.toRpcString)(e.value,"cookie.value"),domain:(0,r.toNullableString)(e&&e.domain,"cookie.domain"),path:(0,r.toNullableString)(e&&e.path,"cookie.path"),expires:(0,r.toNullableTimestamp)(e&&e.expires,"cookie.expires"),secure:(0,r.toNullableBool)(e&&e.secure,"cookie.secure"),httpOnly:(0,r.toNullableBool)(e&&e.httpOnly,"cookie.httpOnly"),sameSite:t,maxAge:(0,r.toNullableDouble)(e&&e.maxAge,"cookie.maxAge")}}},679:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toNullableTimestamp=t.toNullableString=t.toRpcString=t.toNullableDouble=t.toNullableBool=void 0;const r=n(758),o=n(557);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'boolean' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableDouble=function(e,t){if("number"==typeof e)return{value:e};if("string"==typeof e&&!isNaN(Number(e)))return{value:parseFloat(e)};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'number' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toRpcString=function(e,t){if("string"==typeof e)return e;if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`);return""},t.toNullableString=function(e,t){if("string"==typeof e)return{value:e};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableTimestamp=function(e,t){if((0,o.isDefined)(e))try{const t="number"==typeof e?e:e.getTime();if(t&&t>=0)return{value:{seconds:Math.round(t/1e3)}}}catch(n){throw new r.AzFuncSystemError(`A 'number' or 'Date' input was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},828:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcTypedData=void 0,t.toRpcTypedData=function(e){return null==e?e:"string"==typeof e?{string:e}:Buffer.isBuffer(e)?{bytes:e}:ArrayBuffer.isView(e)?{bytes:new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}:e instanceof ArrayBuffer?{bytes:new Uint8Array(e)}:"number"==typeof e?Number.isInteger(e)?{int:e}:{double:e}:{json:JSON.stringify(e)}}},758:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.ensureErrorType=t.ReadOnlyError=t.AzFuncRangeError=t.AzFuncTypeError=t.AzFuncSystemError=void 0;class n extends Error{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncSystemError=n;class r extends TypeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncTypeError=r;class o extends RangeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncRangeError=o,t.ReadOnlyError=class extends r{constructor(e){super(`Cannot assign to read only property '${e}'`)}},t.ensureErrorType=function(e){var t;if(e instanceof Error){if(!(null===(t=Object.getOwnPropertyDescriptor(e,"message"))||void 0===t?void 0:t.writable)){let t=e.message;Object.defineProperty(e,"message",{get:()=>t,set(e){t=e}})}return e}{let t;return t=null==e?"Unknown error":"string"==typeof e?e:"object"==typeof e?JSON.stringify(e):String(e),new Error(t)}},t.isError=function(e){return null!=e}},869:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppStartContext=void 0;const r=n(13);class o extends r.HookContext{}t.AppStartContext=o},229:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppTerminateContext=void 0;const r=n(13);class o extends r.HookContext{}t.AppTerminateContext=o},13:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HookContext=void 0;const s=n(758),a=n(557);t.HookContext=class{constructor(e){var t,n;r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(n=i(this,r,"f")).hookData)&&void 0!==t||(n.hookData={})}get hookData(){return(0,a.nonNullProp)(i(this,r,"f"),"hookData")}set hookData(e){throw new s.ReadOnlyError("hookData")}},r=new WeakMap},884:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationHookContext=void 0;const s=n(758),a=n(313),u=n(557),c=n(13);class l extends c.HookContext{constructor(e){var t,n,s,u;super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(s=i(this,r,"f")).inputs)&&void 0!==t||(s.inputs=[]),null!==(n=(u=i(this,r,"f")).invocationContext)&&void 0!==n||(u.invocationContext=new a.InvocationContext)}get invocationContext(){return(0,u.nonNullProp)(i(this,r,"f"),"invocationContext")}set invocationContext(e){throw new s.ReadOnlyError("invocationContext")}get inputs(){return(0,u.nonNullProp)(i(this,r,"f"),"inputs")}set inputs(e){i(this,r,"f").inputs=e}}t.InvocationHookContext=l,r=new WeakMap},390:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.PostInvocationContext=void 0;const s=n(884);class a extends s.InvocationHookContext{constructor(e){super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f")}get result(){return i(this,r,"f").result}set result(e){i(this,r,"f").result=e}get error(){return i(this,r,"f").error}set error(e){i(this,r,"f").error=e}}t.PostInvocationContext=a,r=new WeakMap},225:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.PreInvocationContext=void 0;const s=n(557),a=n(884);class u extends a.InvocationHookContext{constructor(e){var t,n;super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(n=i(this,r,"f")).functionCallback)&&void 0!==t||(n.functionCallback=()=>{})}get functionHandler(){return(0,s.nonNullProp)(i(this,r,"f"),"functionCallback")}set functionHandler(e){i(this,r,"f").functionCallback=e}}t.PreInvocationContext=u,r=new WeakMap},689:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.postInvocation=t.preInvocation=t.appTerminate=t.appStart=void 0;const r=n(657),o=n(736),i=n(869),s=n(229),a=n(390),u=n(225);function c(e,t){const n=(0,o.tryGetCoreApiLazy)();return n?n.registerHook(e,t):(console.warn(`WARNING: Skipping call to register ${e} hook because the "@azure/functions" package is in test mode.`),new r.Disposable((()=>{console.warn(`WARNING: Skipping call to dispose ${e} hook because the "@azure/functions" package is in test mode.`)})))}t.appStart=function(e){return c("appStart",(t=>e(new i.AppStartContext(t))))},t.appTerminate=function(e){return c("appTerminate",(t=>e(new s.AppTerminateContext(t))))},t.preInvocation=function(e){return c("preInvocation",(t=>e(new u.PreInvocationContext(t))))},t.postInvocation=function(e){return c("postInvocation",(t=>e(new a.PostInvocationContext(t))))}},726:function(e,t,n){var r,o,i,s,a,u,c=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},l=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},f=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequest=void 0;const d=n(122),p=n(360),h=n(691),v=n(758),y=n(557),g=n(21);class m{constructor(e){var t,n;r.add(this),o.set(this,void 0),i.set(this,void 0),s.set(this,void 0),l(this,s,e,"f"),e.proxyRequest?(t=this,[{set value(e){l(t,i,e,"f")}}.value,this.query,this.params]=f(this,r,"m",u).call(this,e)):(n=this,[{set value(e){l(n,i,e,"f")}}.value,this.query,this.params]=f(this,r,"m",a).call(this,e))}get url(){return f(this,i,"f").url}get method(){return f(this,i,"f").method}get headers(){return f(this,i,"f").headers}get user(){return void 0===f(this,o,"f")&&l(this,o,(0,g.extractHttpUserFromHeaders)(this.headers),"f"),f(this,o,"f")}get body(){return f(this,i,"f").body}get bodyUsed(){return f(this,i,"f").bodyUsed}arrayBuffer(){return c(this,void 0,void 0,(function*(){return f(this,i,"f").arrayBuffer()}))}blob(){return c(this,void 0,void 0,(function*(){return f(this,i,"f").blob()}))}formData(){return c(this,void 0,void 0,(function*(){return f(this,i,"f").formData()}))}json(){return c(this,void 0,void 0,(function*(){return f(this,i,"f").json()}))}text(){return c(this,void 0,void 0,(function*(){return f(this,i,"f").text()}))}clone(){const e=structuredClone(f(this,s,"f"));return e.undiciRequest=f(this,i,"f").clone(),new m(e)}}t.HttpRequest=m,o=new WeakMap,i=new WeakMap,s=new WeakMap,r=new WeakSet,a=function(e){var t,n,r;let o=e.undiciRequest;if(!o){const i=(0,y.nonNullProp)(e,"url");let s;(null===(t=e.body)||void 0===t?void 0:t.bytes)?s=Buffer.from(null===(n=e.body)||void 0===n?void 0:n.bytes):(null===(r=e.body)||void 0===r?void 0:r.string)&&(s=e.body.string),o=new d.Request(i,{body:s,method:(0,y.nonNullProp)(e,"method"),headers:(0,h.fromNullableMapping)(e.nullableHeaders,e.headers)})}return[o,new p.URLSearchParams((0,h.fromNullableMapping)(e.nullableQuery,e.query)),(0,h.fromNullableMapping)(e.nullableParams,e.params)]},u=function(e){var t;const n=(0,y.nonNullProp)(e,"proxyRequest"),r="x-forwarded-host",o="x-forwarded-proto",i=n.headers[r],s=n.headers[o];if("string"!=typeof i||"string"!=typeof s)throw new v.AzFuncSystemError(`Expected headers "${r}" and "${o}" to be set.`);const a=`${s}://${i}${(0,y.nonNullProp)(n,"url")}`;let u=e.undiciRequest;if(!u){let e;const r=null===(t=n.method)||void 0===t?void 0:t.toLowerCase();"get"!==r&&"head"!==r&&(e=n),u=new d.Request(a,{body:e,duplex:"half",method:(0,y.nonNullProp)(n,"method"),headers:n.headers})}return[u,new URL(a).searchParams,(0,h.fromNullableMapping)(e.nullableParams,e.params)]}},681:function(e,t,n){var r,o,i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},s=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},a=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpResponse=void 0;const u=n(122),c=n(557);class l{constructor(e){var t;if(r.set(this,void 0),o.set(this,void 0),null!=e||(e={}),s(this,o,e,"f"),e.undiciResponse)s(this,r,e.undiciResponse,"f");else{const t={status:e.status,headers:e.headers};(0,c.isDefined)(e.jsonBody)?s(this,r,u.Response.json(e.jsonBody,t),"f"):s(this,r,new u.Response(e.body,t),"f")}this.cookies=null!==(t=e.cookies)&&void 0!==t?t:[],this.enableContentNegotiation=!!e.enableContentNegotiation}get status(){return a(this,r,"f").status}get headers(){return a(this,r,"f").headers}get body(){return a(this,r,"f").body}get bodyUsed(){return a(this,r,"f").bodyUsed}arrayBuffer(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").arrayBuffer()}))}blob(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").blob()}))}formData(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").formData()}))}json(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").json()}))}text(){return i(this,void 0,void 0,(function*(){return a(this,r,"f").text()}))}clone(){const e=structuredClone(a(this,o,"f"));return e.undiciResponse=a(this,r,"f").clone(),new l(e)}}t.HttpResponse=l,r=new WeakMap,o=new WeakMap},21:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractHttpUserFromHeaders=void 0;const r=n(557);t.extractHttpUserFromHeaders=function(e){let t=null;const n=e.get("x-ms-client-principal");if(n){const o=JSON.parse(Buffer.from(n,"base64").toString("utf-8"));t=o.identityProvider?{type:"StaticWebApps",id:o.userId,username:o.userDetails,identityProvider:o.identityProvider,claimsPrincipalData:o}:{type:"AppService",id:(0,r.nonNullValue)(e.get("x-ms-client-principal-id"),"user-id"),username:(0,r.nonNullValue)(e.get("x-ms-client-principal-name"),"user-name"),identityProvider:(0,r.nonNullValue)(e.get("x-ms-client-principal-idp"),"user-idp"),claimsPrincipalData:o}}return t}},988:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}};Object.defineProperty(t,"__esModule",{value:!0}),t.setupHttpProxy=t.sendProxyResponse=t.waitForProxyRequest=void 0;const i=n(344),s=n(702),a=n(615),u=n(758),c=n(557),l=n(267),f={},d={},p=new s.EventEmitter;t.waitForProxyRequest=function(e){return r(this,void 0,void 0,(function*(){return new Promise(((t,n)=>{const r=f[e];r?(t(r),delete f[e]):p.once(e,(()=>{const n=f[e];n&&(t(n),delete f[e])}))}))}))};const h="x-ms-invocation-id";t.sendProxyResponse=function(e,t){var n,s;return r(this,void 0,void 0,(function*(){const r=(0,c.nonNullProp)(d,e);delete d[e];for(const[e,n]of t.headers.entries())r.setHeader(e,n);if(r.setHeader(h,e),r.statusCode=t.status,t.cookies.length>0&&function(e,t){const n=e.cookies.map((e=>{let t;switch(e.sameSite){case"Lax":t="lax";break;case"None":t="none";break;case"Strict":t="strict";break;default:t=e.sameSite}return(0,i.serialize)(e.name,e.value,{domain:e.domain,path:e.path,expires:"number"==typeof e.expires?new Date(e.expires):e.expires,secure:e.secure,httpOnly:e.httpOnly,sameSite:t,maxAge:e.maxAge})}));t.setHeader("Set-Cookie",n)}(t,r),t.body)try{for(var a,u=o(t.body.values());!(a=yield u.next()).done;){const e=a.value;r.write(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(s=u.return)&&(yield s.call(u))}finally{if(n)throw n.error}}r.end()}))},t.setupHttpProxy=function(){return r(this,void 0,void 0,(function*(){return new Promise(((e,t)=>{const n=a.createServer();n.on("request",((e,t)=>{const n=e.headers[h];"string"==typeof n?(f[n]=e,d[n]=t,p.emit(n)):(0,l.workerSystemLog)("error",`Http proxy request missing header ${h}`)})),n.on("error",(e=>{e=(0,u.ensureErrorType)(e),(0,l.workerSystemLog)("error",`Http proxy error: ${e.stack||e.message}`)})),n.listen((()=>{const r=n.address();null!==r&&"object"==typeof r?e(`http://localhost:${r.port}/`):t(new u.AzFuncSystemError("Unexpected server address during http proxy setup"))})),n.on("close",(()=>{(0,l.workerSystemLog)("information","Http proxy closing")}))}))}))}},489:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.sql=t.cosmosDB=t.table=t.storageBlob=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Input")}t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blob"}))},t.table=function(e){return o(Object.assign(Object.assign({},e),{type:"table"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.sql=function(e){return o(Object.assign(Object.assign({},e),{type:"sql"}))},t.generic=function(e){return o(e)}},854:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.sql=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.table=t.storageBlob=t.http=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Output")}t.http=function(e){return o(Object.assign(Object.assign({},e),{type:"http"}))},t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blob"}))},t.table=function(e){return o(Object.assign(Object.assign({},e),{type:"table"}))},t.storageQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"queue"}))},t.serviceBusQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBus"}))},t.serviceBusTopic=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBus"}))},t.eventHub=function(e){return o(Object.assign(Object.assign({},e),{type:"eventHub"}))},t.eventGrid=function(e){return o(Object.assign(Object.assign({},e),{type:"eventGrid"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.sql=function(e){return o(Object.assign(Object.assign({},e),{type:"sql"}))},t.generic=function(e){return o(e)}},56:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isHttpStreamEnabled=t.setup=t.lockSetup=void 0;const r=n(758),o=n(736),i=n(267);let s={},a=!1;t.lockSetup=function(){a=!0},t.setup=function(e){if(a)throw new r.AzFuncSystemError("Setup options can't be changed after app startup has finished.");if(e.enableHttpStream){const e=(0,o.tryGetCoreApiLazy)();if(e&&!e.log)throw new r.AzFuncSystemError("HTTP streaming requires Azure Functions Host v4.28 or higher.")}s=e,(0,i.workerSystemLog)("information",`Setup options: ${JSON.stringify(s)}`)},t.isHttpStreamEnabled=function(){return!!s.enableHttpStream}},892:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.warmup=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.storageBlob=t.timer=t.http=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Trigger")}t.http=function(e){return o(Object.assign(Object.assign({},e),{authLevel:e.authLevel||"anonymous",methods:e.methods||["GET","POST"],type:"httpTrigger"}))},t.timer=function(e){return o(Object.assign(Object.assign({},e),{type:"timerTrigger"}))},t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blobTrigger"}))},t.storageQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"queueTrigger"}))},t.serviceBusQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},t.serviceBusTopic=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},t.eventHub=function(e){return o(Object.assign(Object.assign({},e),{type:"eventHubTrigger"}))},t.eventGrid=function(e){return o(Object.assign(Object.assign({},e),{type:"eventGridTrigger"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDBTrigger"}))},t.warmup=function(e){return o(Object.assign(Object.assign({},e),{type:"warmupTrigger"}))},t.generic=function(e){return o(e)}},657:function(e,t){var n,r=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},o=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;class i{constructor(e){n.set(this,void 0),r(this,n,e,"f")}static from(...e){let t=e;return new i((function(){if(t){for(const e of t)e&&"function"==typeof e.dispose&&e.dispose();t=void 0}}))}dispose(){"function"==typeof o(this,n,"f")&&(o(this,n,"f").call(this),r(this,n,void 0,"f"))}}t.Disposable=i,n=new WeakMap},312:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fallbackLogHandler=void 0,t.fallbackLogHandler=function(e,...t){switch(e){case"trace":console.trace(...t);break;case"debug":console.debug(...t);break;case"information":console.info(...t);break;case"warning":console.warn(...t);break;case"critical":case"error":console.error(...t);break;default:console.log(...t)}}},809:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getStringHash=t.getRandomHexString=void 0;const r=n(770);t.getRandomHexString=function(e=10){return r.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)},t.getStringHash=function(e,t=10){return r.createHash("sha256").update(e).digest("hex").slice(0,t)}},674:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isTimerTrigger=t.isHttpTrigger=t.isTrigger=void 0,t.isTrigger=function(e){return!!e&&/trigger$/i.test(e)},t.isHttpTrigger=function(e){return"httptrigger"===(null==e?void 0:e.toLowerCase())},t.isTimerTrigger=function(e){return"timertrigger"===(null==e?void 0:e.toLowerCase())}},557:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=t.copyPropIfDefined=t.nonNullValue=t.nonNullProp=void 0;const r=n(758);function o(e,t){if(null==e)throw new r.AzFuncSystemError("Internal error: Expected value to be neither null nor undefined"+(t?`: ${t}`:""));return e}t.nonNullProp=function(e,t){return o(e[t],t)},t.nonNullValue=o,t.copyPropIfDefined=function(e,t,n){null!==e[n]&&void 0!==e[n]&&(t[n]=e[n])},t.isDefined=function(e){return null!=e}},736:(e,t,n)=>{let r;Object.defineProperty(t,"__esModule",{value:!0}),t.tryGetCoreApiLazy=void 0,t.tryGetCoreApiLazy=function(){if(void 0===r)try{r=n(605)}catch(e){r=null}return r}},267:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.workerSystemLog=void 0;const r=n(764),o=n(312),i=n(736);t.workerSystemLog=function(e,...t){const n=(0,i.tryGetCoreApiLazy)();n&&n.log?n.log(e,"system",(0,r.format)(...t)):(0,o.fallbackLogHandler)(e,...t)}},605:e=>{e.exports=require("@azure/functions-core")},344:e=>{e.exports=require("cookie")},770:e=>{e.exports=require("crypto")},702:e=>{e.exports=require("events")},615:e=>{e.exports=require("http")},122:e=>{e.exports=require("undici")},360:e=>{e.exports=require("url")},764:e=>{e.exports=require("util")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.Disposable=e.trigger=e.output=e.InvocationContext=e.input=e.HttpResponse=e.HttpRequest=e.PreInvocationContext=e.PostInvocationContext=e.InvocationHookContext=e.HookContext=e.AppTerminateContext=e.AppStartContext=e.app=void 0,e.app=n(752);var t=n(869);Object.defineProperty(e,"AppStartContext",{enumerable:!0,get:function(){return t.AppStartContext}});var o=n(229);Object.defineProperty(e,"AppTerminateContext",{enumerable:!0,get:function(){return o.AppTerminateContext}});var i=n(13);Object.defineProperty(e,"HookContext",{enumerable:!0,get:function(){return i.HookContext}});var s=n(884);Object.defineProperty(e,"InvocationHookContext",{enumerable:!0,get:function(){return s.InvocationHookContext}});var a=n(390);Object.defineProperty(e,"PostInvocationContext",{enumerable:!0,get:function(){return a.PostInvocationContext}});var u=n(225);Object.defineProperty(e,"PreInvocationContext",{enumerable:!0,get:function(){return u.PreInvocationContext}});var c=n(726);Object.defineProperty(e,"HttpRequest",{enumerable:!0,get:function(){return c.HttpRequest}});var l=n(681);Object.defineProperty(e,"HttpResponse",{enumerable:!0,get:function(){return l.HttpResponse}}),e.input=n(489);var f=n(313);Object.defineProperty(e,"InvocationContext",{enumerable:!0,get:function(){return f.InvocationContext}}),e.output=n(854),e.trigger=n(892);var d=n(657);Object.defineProperty(e,"Disposable",{enumerable:!0,get:function(){return d.Disposable}})})(),module.exports=r})();
//# sourceMappingURL=azure-functions.min.js.map
{
"name": "@azure/functions",
"version": "4.2.0",
"version": "4.3.0",
"description": "Microsoft Azure Functions NodeJS Framework",

@@ -38,2 +38,3 @@ "keywords": [

"test": "ts-node ./test/index.ts",
"format": "prettier . --write",
"lint": "eslint . --fix",

@@ -45,2 +46,3 @@ "updateVersion": "ts-node ./scripts/updateVersion.ts",

"dependencies": {
"cookie": "^0.6.0",
"long": "^4.0.0",

@@ -52,2 +54,3 @@ "undici": "^5.13.0"

"@types/chai-as-promised": "^7.1.5",
"@types/cookie": "^0.6.0",
"@types/fs-extra": "^9.0.13",

@@ -54,0 +57,0 @@ "@types/long": "^4.0.2",

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
export { HttpRequest } from './http/HttpRequest';
export { HttpResponse } from './http/HttpResponse';
export { InvocationContext } from './InvocationContext';
import { getStringHash } from './utils/getRandomHexString';
const bindingCounts: Record<string, number> = {};
/**
* If the host spawns multiple workers, it expects the metadata (including binding name) to be the same across workers.
* That means we need to generate binding names in a deterministic fashion, so we'll do that using a count
* There's a tiny risk users register bindings in a non-deterministic order (i.e. async race conditions), but it's okay considering the following:
* 1. We will track the count individually for each binding type. This makes the names more readable and reduces the chances a race condition will matter
* 2. Users can manually specify the name themselves (aka if they're doing weird async stuff) and we will respect that
* That means we need to generate binding names in a deterministic fashion, so we'll do that using a string hash of the binding data
* A few considerations:
* 1. We will include the binding type in the name to make it more readable
* 2. Users can manually specify the name themselves and we will respect that
* 3. The only time the hash should cause a conflict is if a single function has duplicate bindings. Not sure why someone would do that, but we will throw an error at function registration time
* More info here: https://github.com/Azure/azure-functions-nodejs-worker/issues/638

@@ -26,8 +24,5 @@ */

}
let count = bindingCounts[bindingType] || 0;
count += 1;
bindingCounts[bindingType] = count;
binding.name = bindingType + count.toString();
binding.name = bindingType + getStringHash(JSON.stringify(binding));
}
return <T & { name: string }>binding;
}

@@ -8,4 +8,2 @@ // Copyright (c) .NET Foundation. All rights reserved.

EventHubFunctionOptions,
ExponentialBackoffRetryOptions,
FixedDelayRetryOptions,
FunctionOptions,

@@ -25,24 +23,14 @@ FunctionTrigger,

} from '@azure/functions';
import * as coreTypes from '@azure/functions-core';
import { CoreInvocationContext, FunctionCallback } from '@azure/functions-core';
import { returnBindingKey, version } from './constants';
import { toRpcDuration } from './converters/toRpcDuration';
import { InvocationModel } from './InvocationModel';
import { FunctionCallback } from '@azure/functions-core';
import { toCoreFunctionMetadata } from './converters/toCoreFunctionMetadata';
import * as output from './output';
import { ProgrammingModel } from './ProgrammingModel';
import * as trigger from './trigger';
import { isTrigger } from './utils/isTrigger';
import { tryGetCoreApiLazy } from './utils/tryGetCoreApiLazy';
export * as hook from './hooks/registerHook';
export { setup } from './setup';
class ProgrammingModel implements coreTypes.ProgrammingModel {
name = '@azure/functions';
version = version;
getInvocationModel(coreCtx: CoreInvocationContext): InvocationModel {
return new InvocationModel(coreCtx);
}
}
let hasSetup = false;
function setup() {
let hasSetModel = false;
function setProgrammingModel() {
const coreApi = tryGetCoreApiLazy();

@@ -56,3 +44,3 @@ if (!coreApi) {

}
hasSetup = true;
hasSetModel = true;
}

@@ -147,57 +135,6 @@

export function generic(name: string, options: GenericFunctionOptions): void {
if (!hasSetup) {
setup();
if (!hasSetModel) {
setProgrammingModel();
}
const bindings: Record<string, coreTypes.RpcBindingInfo> = {};
const trigger = options.trigger;
bindings[trigger.name] = {
...trigger,
direction: 'in',
type: isTrigger(trigger.type) ? trigger.type : trigger.type + 'Trigger',
};
if (options.extraInputs) {
for (const input of options.extraInputs) {
bindings[input.name] = {
...input,
direction: 'in',
};
}
}
if (options.return) {
bindings[returnBindingKey] = {
...options.return,
direction: 'out',
};
}
if (options.extraOutputs) {
for (const output of options.extraOutputs) {
bindings[output.name] = {
...output,
direction: 'out',
};
}
}
let retryOptions: coreTypes.RpcRetryOptions | undefined;
if (options.retry) {
retryOptions = {
...options.retry,
retryStrategy: options.retry.strategy,
delayInterval: toRpcDuration((<FixedDelayRetryOptions>options.retry).delayInterval, 'retry.delayInterval'),
maximumInterval: toRpcDuration(
(<ExponentialBackoffRetryOptions>options.retry).maximumInterval,
'retry.maximumInterval'
),
minimumInterval: toRpcDuration(
(<ExponentialBackoffRetryOptions>options.retry).minimumInterval,
'retry.minimumInterval'
),
};
}
const coreApi = tryGetCoreApiLazy();

@@ -209,4 +146,4 @@ if (!coreApi) {

} else {
coreApi.registerFunction({ name, bindings, retryOptions }, <FunctionCallback>options.handler);
coreApi.registerFunction(toCoreFunctionMetadata(name, options), <FunctionCallback>options.handler);
}
}
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
export const version = '4.2.0';
export const version = '4.3.0';
export const returnBindingKey = '$return';

@@ -6,7 +6,9 @@ // Copyright (c) .NET Foundation. All rights reserved.

import { AzFuncSystemError } from '../errors';
import { sendProxyResponse } from '../http/httpProxy';
import { HttpResponse } from '../http/HttpResponse';
import { isHttpStreamEnabled } from '../setup';
import { toRpcHttpCookie } from './toRpcHttpCookie';
import { toRpcTypedData } from './toRpcTypedData';
export async function toRpcHttp(data: unknown): Promise<RpcTypedData | null | undefined> {
export async function toRpcHttp(invocationId: string, data: unknown): Promise<RpcTypedData | null | undefined> {
if (data === null || data === undefined) {

@@ -21,2 +23,8 @@ return data;

const response = data instanceof HttpResponse ? data : new HttpResponse(data);
if (isHttpStreamEnabled()) {
// send http data over http proxy instead of rpc
await sendProxyResponse(invocationId, response);
return;
}
const rpcResponse: RpcHttpData = {};

@@ -23,0 +31,0 @@ rpcResponse.statusCode = response.status.toString();

@@ -32,2 +32,16 @@ // Copyright (c) .NET Foundation. All rights reserved.

if (err instanceof Error) {
const writable = Object.getOwnPropertyDescriptor(err, 'message')?.writable;
if (!writable) {
// The motivation for this branch can be found in the below issue:
// https://github.com/Azure/azure-functions-nodejs-library/issues/205
let readableMessage = err.message;
Object.defineProperty(err, 'message', {
get() {
return readableMessage;
},
set(val: string) {
readableMessage = val;
},
});
}
return err;

@@ -34,0 +48,0 @@ } else {

@@ -8,2 +8,4 @@ // Copyright (c) .NET Foundation. All rights reserved.

import { Blob } from 'buffer';
import { IncomingMessage } from 'http';
import * as stream from 'stream';
import { ReadableStream } from 'stream/web';

@@ -13,2 +15,3 @@ import { FormData, Headers, Request as uRequest } from 'undici';

import { fromNullableMapping } from '../converters/fromRpcNullable';
import { AzFuncSystemError } from '../errors';
import { nonNullProp } from '../utils/nonNull';

@@ -19,4 +22,7 @@ import { extractHttpUserFromHeaders } from './extractHttpUserFromHeaders';

undiciRequest?: uRequest;
proxyRequest?: IncomingMessage;
}
type RequestInitResult = [uRequest, URLSearchParams, HttpRequestParams];
export class HttpRequest implements types.HttpRequest {

@@ -33,5 +39,12 @@ readonly query: URLSearchParams;

if (init.undiciRequest) {
this.#uReq = init.undiciRequest;
if (init.proxyRequest) {
[this.#uReq, this.query, this.params] = this.#initStreamRequest(init);
} else {
[this.#uReq, this.query, this.params] = this.#initInMemoryRequest(init);
}
}
#initInMemoryRequest(init: InternalHttpRequestInit): RequestInitResult {
let uReq = init.undiciRequest;
if (!uReq) {
const url = nonNullProp(init, 'url');

@@ -46,3 +59,3 @@

this.#uReq = new uRequest(url, {
uReq = new uRequest(url, {
body,

@@ -54,6 +67,42 @@ method: nonNullProp(init, 'method'),

this.query = new URLSearchParams(fromNullableMapping(init.nullableQuery, init.query));
this.params = fromNullableMapping(init.nullableParams, init.params);
const query = new URLSearchParams(fromNullableMapping(init.nullableQuery, init.query));
const params = fromNullableMapping(init.nullableParams, init.params);
return [uReq, query, params];
}
#initStreamRequest(init: InternalHttpRequestInit): RequestInitResult {
const proxyReq = nonNullProp(init, 'proxyRequest');
const hostHeaderName = 'x-forwarded-host';
const protoHeaderName = 'x-forwarded-proto';
const host = proxyReq.headers[hostHeaderName];
const proto = proxyReq.headers[protoHeaderName];
if (typeof host !== 'string' || typeof proto !== 'string') {
throw new AzFuncSystemError(`Expected headers "${hostHeaderName}" and "${protoHeaderName}" to be set.`);
}
const url = `${proto}://${host}${nonNullProp(proxyReq, 'url')}`;
let uReq = init.undiciRequest;
if (!uReq) {
let body: stream.Readable | undefined;
const lowerMethod = proxyReq.method?.toLowerCase();
if (lowerMethod !== 'get' && lowerMethod !== 'head') {
body = proxyReq;
}
uReq = new uRequest(url, {
body: body,
duplex: 'half',
method: nonNullProp(proxyReq, 'method'),
headers: <Record<string, string | ReadonlyArray<string>>>proxyReq.headers,
});
}
const query = new URL(url).searchParams;
const params = fromNullableMapping(init.nullableParams, init.params);
return [uReq, query, params];
}
get url(): string {

@@ -60,0 +109,0 @@ return this.#uReq.url;

@@ -13,2 +13,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

} from '@azure/functions';
import { fallbackLogHandler } from './utils/fallbackLogHandler';

@@ -96,24 +97,1 @@ export class InvocationContext implements types.InvocationContext {

}
function fallbackLogHandler(level: types.LogLevel, ...args: unknown[]): void {
switch (level) {
case 'trace':
console.trace(...args);
break;
case 'debug':
console.debug(...args);
break;
case 'information':
console.info(...args);
break;
case 'warning':
console.warn(...args);
break;
case 'critical':
case 'error':
console.error(...args);
break;
default:
console.log(...args);
}
}

@@ -24,3 +24,6 @@ // Copyright (c) .NET Foundation. All rights reserved.

import { AzFuncSystemError } from './errors';
import { waitForProxyRequest } from './http/httpProxy';
import { HttpRequest } from './http/HttpRequest';
import { InvocationContext } from './InvocationContext';
import { isHttpStreamEnabled } from './setup';
import { isHttpTrigger, isTimerTrigger, isTrigger } from './utils/isTrigger';

@@ -65,3 +68,2 @@ import { isDefined, nonNullProp, nonNullValue } from './utils/nonNull';

const bindingName = nonNullProp(binding, 'name');
let input: unknown = fromRpcTypedData(binding.data);

@@ -77,2 +79,11 @@ const rpcBinding = this.#bindings[bindingName];

const bindingType = rpcBinding.type;
let input: unknown;
if (isHttpTrigger(bindingType) && isHttpStreamEnabled()) {
const proxyRequest = await waitForProxyRequest(this.#coreCtx.invocationId);
input = new HttpRequest({ ...binding.data?.http, proxyRequest });
} else {
input = fromRpcTypedData(binding.data);
}
if (isTimerTrigger(bindingType)) {

@@ -113,6 +124,10 @@ input = toCamelCaseValue(input);

if (name === returnBindingKey) {
response.returnValue = await this.#convertOutput(binding, result);
response.returnValue = await this.#convertOutput(context.invocationId, binding, result);
usedReturnValue = true;
} else {
const outputValue = await this.#convertOutput(binding, context.extraOutputs.get(name));
const outputValue = await this.#convertOutput(
context.invocationId,
binding,
context.extraOutputs.get(name)
);
if (isDefined(outputValue)) {

@@ -136,5 +151,9 @@ response.outputData.push({ name, data: outputValue });

async #convertOutput(binding: RpcBindingInfo, value: unknown): Promise<RpcTypedData | null | undefined> {
async #convertOutput(
invocationId: string,
binding: RpcBindingInfo,
value: unknown
): Promise<RpcTypedData | null | undefined> {
if (binding.type?.toLowerCase() === 'http') {
return toRpcHttp(value);
return toRpcHttp(invocationId, value);
} else {

@@ -141,0 +160,0 @@ return toRpcTypedData(value);

@@ -10,1 +10,5 @@ // Copyright (c) .NET Foundation. All rights reserved.

}
export function getStringHash(data: string, length = 10): string {
return crypto.createHash('sha256').update(data).digest('hex').slice(0, length);
}

@@ -10,2 +10,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

import { ServiceBusQueueFunctionOptions, ServiceBusTopicFunctionOptions } from './serviceBus';
import { SetupOptions } from './setup';
import { StorageBlobFunctionOptions, StorageQueueFunctionOptions } from './storage';

@@ -16,2 +17,8 @@ import { TimerFunctionOptions } from './timer';

/**
* Optional method to configure the behavior of your app.
* This can only be done during app startup, before invocations occur
*/
export declare function setup(options: SetupOptions): void;
/**
* Registers an http function in your app that will be triggered by making a request to the function url

@@ -18,0 +25,0 @@ * @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`

@@ -21,2 +21,3 @@ // Copyright (c) .NET Foundation. All rights reserved.

export * from './serviceBus';
export * from './setup';
export * from './sql';

@@ -23,0 +24,0 @@ export * from './storage';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc