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.0.0-alpha.6 to 4.0.0-alpha.7

src/addBindingName.ts

200

_manifest/manifest.json
{
"Outputs": [
{
"Source": "/LICENSE",
"AzureArtifactsHash": "04202020204D4954204C6963656E73650D0A0D0A20202020436F7079726967687420",
"Sha256Hash": "9FA73CB72FB654D029C9214F0E3EEC32C301A0C23BE71B50FE3910E61553FA34"
"Source": "/README.md",
"AzureArtifactsHash": "042320417A7572652046756E6374696F6E73204E6F64652E6A73204672616D65776F",
"Sha256Hash": "4CC037EAA642FAF7C6D81D2991603233E40CCE01CDD2CB811CB7EC1F34CA86A7"
},
{
"Source": "/package.json",
"AzureArtifactsHash": "047B0D0A20202020226E616D65223A202240617A7572652F66756E6374696F6E7322",
"Sha256Hash": "C94DA54761E656792EBEA1C5D1B54109D4D1083E6591BA826D6D8F097330AF75"
},
{
"Source": "/dist/azure-functions.min.js",
"AzureArtifactsHash": "042828293D3E7B2275736520737472696374223B76617220653D7B3331333A66756E",
"Sha256Hash": "9775374F10C82E0E5982C367302DF0BFB752DC09ADB2883059AA0A1FC790EBAE"
},
{
"Source": "/dist/azure-functions.js.map",
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469",
"Sha256Hash": "E748D0F9FEF023042838AE2D28E94CAA212E29B3DDB461757C86C69802ADC283"
},
{
"Source": "/dist/azure-functions.js",
"AzureArtifactsHash": "042F2A2A2A2A2A2A2F20282829203D3E207B202F2F207765627061636B426F6F7473",
"Sha256Hash": "17415140D1E97B04E3389281BFEC3676A4E11A0D667FB88BA9EAD30A9D540CC3"
"Sha256Hash": "6228DA7786707233E0CE24BE74DFAC3107F25248B9045BDEA1CD62882894F494"
},
{
"Source": "/dist/azure-functions.min.js.map",
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469",
"Sha256Hash": "1CA54E027370FCC6A86690BF2BA17A5AE30FC805E8FC045180F44288EFD86053"
},
{
"Source": "/NOTICE.html",

@@ -19,25 +39,25 @@ "AzureArtifactsHash": "043C21444F43545950452068746D6C3E0D0A3C68746D6C206C616E673D22656E223E",

{
"Source": "/dist/azure-functions.js.map",
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469",
"Sha256Hash": "16413C17253C26910C8DD689152533C473E9E2A9E984E37DB9BA82E9A5B350F4"
"Source": "/LICENSE",
"AzureArtifactsHash": "04202020204D4954204C6963656E73650D0A0D0A20202020436F7079726967687420",
"Sha256Hash": "9FA73CB72FB654D029C9214F0E3EEC32C301A0C23BE71B50FE3910E61553FA34"
},
{
"Source": "/README.md",
"AzureArtifactsHash": "042320417A7572652046756E6374696F6E73204E6F64652E6A73204672616D65776F",
"Sha256Hash": "4CC037EAA642FAF7C6D81D2991603233E40CCE01CDD2CB811CB7EC1F34CA86A7"
"Source": "/src/index.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "F9F84F0980EDD69CC810B17E7D85ED7392739275179FFC4AC5279AFA232C955B"
},
{
"Source": "/package.json",
"AzureArtifactsHash": "047B0D0A20202020226E616D65223A202240617A7572652F66756E6374696F6E7322",
"Sha256Hash": "454593D7DBD2524E774C082F8FBDB454D21B5C15E9BC418AF0E5E98089B14EA8"
"Source": "/src/input.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "7652BAF4045F42490C4CA309F652D57ADAB49255FCB0DFDA0A615DEF6B4C1603"
},
{
"Source": "/dist/azure-functions.min.js",
"AzureArtifactsHash": "042828293D3E7B2275736520737472696374223B76617220653D7B3331333A66756E",
"Sha256Hash": "7D691328F2654B5A5F1946188C5B9F35A2EAFFD30159C51044AB1ABBC7219FEA"
"Source": "/src/addBindingName.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "50E98BBE2C2281D21938F3FBC9258CA35CB71E2DCB1A9200A6AB5AC4A5516401"
},
{
"Source": "/dist/azure-functions.min.js.map",
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469",
"Sha256Hash": "8146687D8B59F4486E2D871BCA481F4AB92551A1AE45AE8D580C5E126846406E"
"Source": "/src/converters/fromRpcNullable.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "AF31620202714BCC57EBDDC34A6A6637AB830175EAE2CAB1FA4D9AADAAD920A9"
},

@@ -50,20 +70,20 @@ {

{
"Source": "/src/http/HttpRequest.ts",
"Source": "/src/output.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "B25012CCACE73515AC797969322B905DD1633B71991E994BDD30C0E47467A232"
"Sha256Hash": "AB82D9BCF34FE007581B7022DDCB251EDDDE373420F784416460AEBA52673536"
},
{
"Source": "/types/eventHub.d.ts",
"Source": "/src/http/extractHttpUserFromHeaders.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "0CA276E09D1D89DAF94D087C590AF6F6B0D110142E367A63271A47A2C2C01661"
"Sha256Hash": "0701231F3D83A9050DE3A9E40D946FBD49D425049D0B58BF623770F25282252A"
},
{
"Source": "/src/converters/fromRpcContext.ts",
"Source": "/src/http/HttpRequest.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "6A96CA0D0F0D032F0306E662B6F0A5168495A6E4D975E2DCADA5643D92BA385C"
"Sha256Hash": "B25012CCACE73515AC797969322B905DD1633B71991E994BDD30C0E47467A232"
},
{
"Source": "/src/converters/toRpcTypedData.ts",
"Source": "/src/converters/toRpcHttp.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "7405A843C01B965492DAA22D1A7F9372E3CF0AABE4586C34C0E4F924C9E6DEDD"
"Sha256Hash": "5905595C2B16C068BAAB4DD181294DD16B70205D79BB93F8E7CF45525FD05B7B"
},

@@ -76,77 +96,92 @@ {

{
"Source": "/src/constants.ts",
"Source": "/src/utils/isTrigger.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "E4FAE4370E063AF3A44EABC9441E9B3AB9ECD4478F5997B33B5F82464C42D436"
"Sha256Hash": "4FEE9EFECDFD1152E5600954185523FAE4609865A492EEBF8368DB554210AE85"
},
{
"Source": "/src/converters/fromRpcTypedData.ts",
"Source": "/types/eventGrid.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "BE00908655FDB32260987041B22A6D9BBBED65AA1AD0F88D5DD56959189D090E"
"Sha256Hash": "1B83EE57145A0FA6C0287DF9CEA1F81ED8F189360EEBA73337E1E11ADE5FAB95"
},
{
"Source": "/src/http/HttpResponse.ts",
"Source": "/types/output.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "1CFCB19BB6C744473407B91F19E749CEA96BA2A506810C321472DF6A4BB1252E"
"Sha256Hash": "72A8997F18A7E0A51F7EDF9B37A99E018BF33C1D4A494BFF3513E93016665272"
},
{
"Source": "/src/errors.ts",
"Source": "/types/serviceBus.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "356F9B545A77ECE5D7659FB759C02FF38E88C888A49273A6A27B37A327620439"
"Sha256Hash": "BED40FDDD9B90A1F131963A0348C4D163190F1FFB118372A1587CD7F860C8B3B"
},
{
"Source": "/src/converters/toCamelCase.ts",
"Source": "/types/http.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "F2BA3BB81D4F2006BAFED62EB940919B4D005DCDD58F4C2AE2DCAA41D9599EE7"
"Sha256Hash": "F788BC99A0EA836403D46557622760C4F86ACEF7A1E78ACF029FBDDA924F001F"
},
{
"Source": "/src/utils/getRandomHexString.ts",
"Source": "/types/trigger.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "6A6BD203AB5D85E155A99F19A0792E564550ECAB6496C11D3C07D81608756481"
"Sha256Hash": "95B4C4BD18AEC923DC1499F4353897A4E806B4B4D3F2DF9A559D3A7DBD9FF3F9"
},
{
"Source": "/types/http.d.ts",
"Source": "/src/app.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "F788BC99A0EA836403D46557622760C4F86ACEF7A1E78ACF029FBDDA924F001F"
"Sha256Hash": "2959FE833BFCC316068A9E25C4521ADCB27FB526C1E326E3FD1FCF209D641CEF"
},
{
"Source": "/src/converters/fromRpcNullable.ts",
"Source": "/src/trigger.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "AF31620202714BCC57EBDDC34A6A6637AB830175EAE2CAB1FA4D9AADAAD920A9"
"Sha256Hash": "B8E63319C4957CA6BAD333CE24EF10BB86E8732BBABF4E0322C9A08BB1903F0D"
},
{
"Source": "/src/http/extractHttpUserFromHeaders.ts",
"Source": "/src/converters/toRpcHttpCookie.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "0701231F3D83A9050DE3A9E40D946FBD49D425049D0B58BF623770F25282252A"
"Sha256Hash": "B40FD0389AC5593665B7A5521D1440118CEB94E86D42E04D0AE8C08A26424944"
},
{
"Source": "/types/eventGrid.d.ts",
"Source": "/src/utils/nonNull.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "1B83EE57145A0FA6C0287DF9CEA1F81ED8F189360EEBA73337E1E11ADE5FAB95"
"Sha256Hash": "E00258536F71BA484215BDCA3C5D1A6901A0F79F5DF28F525A05BEE32880D634"
},
{
"Source": "/src/index.ts",
"Source": "/types/index.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "DF20B682774F014D886E8FC674F945CC063F2436B2CBBD5606CD2E003369B63F"
"Sha256Hash": "C92F7705C7004AB65128E4C56D06851D796B146A17AF7DB32F4AA97334678F3F"
},
{
"Source": "/src/converters/toRpcHttp.ts",
"Source": "/src/InvocationModel.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "5905595C2B16C068BAAB4DD181294DD16B70205D79BB93F8E7CF45525FD05B7B"
"Sha256Hash": "AA5ADB86E906D8B758104CEE971E8ED1CF77858BE9635D427E53DC2D8B66EFF5"
},
{
"Source": "/src/utils/isTrigger.ts",
"Source": "/src/converters/toCamelCase.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "4FEE9EFECDFD1152E5600954185523FAE4609865A492EEBF8368DB554210AE85"
"Sha256Hash": "F2BA3BB81D4F2006BAFED62EB940919B4D005DCDD58F4C2AE2DCAA41D9599EE7"
},
{
"Source": "/types/index.d.ts",
"Source": "/src/utils/getRandomHexString.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "2B1857C3DA9DAE47D069AA111F5B9C3D8C2DED0C70E2BB02939DDB5EF98594B9"
"Sha256Hash": "6A6BD203AB5D85E155A99F19A0792E564550ECAB6496C11D3C07D81608756481"
},
{
"Source": "/src/InvocationModel.ts",
"Source": "/types/generic.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "408D91022AE12A88A62B5E63FE7B6C03E84041B14B91A794C36A9705DF324040"
"Sha256Hash": "A42D7F0A95DE6FA9D2B67D44AC0770F93FB1AA876A14D6632C8661C75BB63AA1"
},
{
"Source": "/types/timer.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "0577072B619DEAA76937C0AFFF710502746EE0427D4994060FAA4A419C3126E3"
},
{
"Source": "/src/constants.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "D06A22FE19450BAFAC5225E850C98BD32E14975EB4595C1E3B9B33D60B5027D2"
},
{
"Source": "/src/converters/fromRpcBindings.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "AF5881F0426DDB62A5D8B361000214035D735A7A7CECD2F723E17B0EBBB64BD9"
},
{
"Source": "/src/converters/toRpcNullable.ts",

@@ -162,48 +197,63 @@ "AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",

{
"Source": "/types/serviceBus.d.ts",
"Source": "/types/input.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "BED40FDDD9B90A1F131963A0348C4D163190F1FFB118372A1587CD7F860C8B3B"
"Sha256Hash": "E627F2D8D4D59517851D9AED30F17064E34DB8D8B86248F77879FB94A3651CCE"
},
{
"Source": "/src/InvocationContext.ts",
"Source": "/src/errors.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "2BCDF514AF5638B71592CC3AEDD8610483067AD2CE3559116AEEBD6875D3A028"
"Sha256Hash": "356F9B545A77ECE5D7659FB759C02FF38E88C888A49273A6A27B37A327620439"
},
{
"Source": "/src/converters/toRpcHttpCookie.ts",
"Source": "/src/converters/fromRpcContext.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "B40FD0389AC5593665B7A5521D1440118CEB94E86D42E04D0AE8C08A26424944"
"Sha256Hash": "6A96CA0D0F0D032F0306E662B6F0A5168495A6E4D975E2DCADA5643D92BA385C"
},
{
"Source": "/src/utils/nonNull.ts",
"Source": "/src/converters/toRpcTypedData.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "E00258536F71BA484215BDCA3C5D1A6901A0F79F5DF28F525A05BEE32880D634"
"Sha256Hash": "7405A843C01B965492DAA22D1A7F9372E3CF0AABE4586C34C0E4F924C9E6DEDD"
},
{
"Source": "/types/app.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "3E6CFB85A65927C3C3B770ED529527C85C1C6662EC35A35FDB18B4C2DDB7EBD6"
},
{
"Source": "/types/InvocationContext.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "272C93C66D5BC77DE0275D34195C84DE66A261A57B63339968760A11BC687790"
"Sha256Hash": "2AF932B15F4C8271F77A63B08201027F38021DD6829E48B34B0ED29BEE69F73D"
},
{
"Source": "/types/storage.d.ts",
"Source": "/src/InvocationContext.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "817BA5CE14A7BBBAD25919A183182BD4304A3C0CC3CB5B4C11B0E0CBE1258C35"
"Sha256Hash": "24A1A7F3D5C8E54EB19EA638D6CD5C1DFE95D33ACD3A03042D5768D12FB113F9"
},
{
"Source": "/types/generic.d.ts",
"Source": "/src/converters/fromRpcTypedData.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "A42D7F0A95DE6FA9D2B67D44AC0770F93FB1AA876A14D6632C8661C75BB63AA1"
"Sha256Hash": "BE00908655FDB32260987041B22A6D9BBBED65AA1AD0F88D5DD56959189D090E"
},
{
"Source": "/types/timer.d.ts",
"Source": "/src/http/HttpResponse.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "0577072B619DEAA76937C0AFFF710502746EE0427D4994060FAA4A419C3126E3"
"Sha256Hash": "1CFCB19BB6C744473407B91F19E749CEA96BA2A506810C321472DF6A4BB1252E"
},
{
"Source": "/types/eventHub.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "0CA276E09D1D89DAF94D087C590AF6F6B0D110142E367A63271A47A2C2C01661"
},
{
"Source": "/types/storage.d.ts",
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E",
"Sha256Hash": "817BA5CE14A7BBBAD25919A183182BD4304A3C0CC3CB5B4C11B0E0CBE1258C35"
}
],
"CloudBuildId": "107931",
"CloudBuildId": "112509",
"Repo": "https://github.com/Azure/azure-functions-nodejs-library",
"Branch": "v4.x",
"CommitId": "efce47978528bb0cf702ec868716b4dca5e611e6",
"CommitId": "90c5c0396722b8c3df080836e5d12e70264c416e",
"Version": "0.0.1",
"Timestamp": 1671217379
"Timestamp": 1675115003
}
{
"files": [
{
"fileName": "./dist/azure-functions.min.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-E6976A710C7DFD68306D005AB2C52BF7280A8F4D",
"fileName": "./dist/azure-functions.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-599CE88905EEFE89CEF9BD2C7246977B16EEECD5",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "7d691328f2654b5a5f1946188c5b9f35a2eaffd30159c51044ab1abbc7219fea"
"checksumValue": "e748d0f9fef023042838ae2d28e94caa212e29b3ddb461757c86c69802adc283"
},
{
"algorithm": "SHA1",
"checksumValue": "e6976a710c7dfd68306d005ab2c52bf7280a8f4d"
"checksumValue": "599ce88905eefe89cef9bd2c7246977b16eeecd5"
}

@@ -23,12 +23,12 @@ ],

{
"fileName": "./dist/azure-functions.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-6914B687958B311B13CD5572CC6EF8EAFDDE086A",
"fileName": "./LICENSE",
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "16413c17253c26910c8dd689152533c473e9e2a9e984e37db9ba82e9a5b350f4"
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34"
},
{
"algorithm": "SHA1",
"checksumValue": "6914b687958b311b13cd5572cc6ef8eafdde086a"
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4"
}

@@ -43,12 +43,12 @@ ],

{
"fileName": "./LICENSE",
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"fileName": "./dist/azure-functions.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.js-24D52311288A159D25D24687C294A20726C1208F",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34"
"checksumValue": "6228da7786707233e0ce24be74dfac3107f25248b9045bdea1cd62882894f494"
},
{
"algorithm": "SHA1",
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4"
"checksumValue": "24d52311288a159d25d24687c294a20726c1208f"
}

@@ -64,11 +64,11 @@ ],

"fileName": "./dist/azure-functions.min.js.map",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-D4EF3E6B6611B98DC6867FAC7CFAD54820D4C8EF",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-79A4A2CB4A4C8632C9D578F9630A4261C3E1AA83",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "8146687d8b59f4486e2d871bca481f4ab92551a1ae45ae8d580c5e126846406e"
"checksumValue": "1ca54e027370fcc6a86690bf2ba17a5ae30fc805e8fc045180f44288efd86053"
},
{
"algorithm": "SHA1",
"checksumValue": "d4ef3e6b6611b98dc6867fac7cfad54820d4c8ef"
"checksumValue": "79a4a2cb4a4c8632c9d578f9630a4261c3e1aa83"
}

@@ -83,2 +83,116 @@ ],

{
"fileName": "./NOTICE.html",
"SPDXID": "SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "268bb778aa03caa778c9d47ba467e1e4681aa44e61a01f32191d66a2223d638a"
},
{
"algorithm": "SHA1",
"checksumValue": "43b9f500d4820a1d898a0f2041c02f6349f3158c"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./src/index.ts",
"SPDXID": "SPDXRef-File--src-index.ts-BA6272125204FDC4F3BBBE41723DFA7E3BD31629",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "f9f84f0980edd69cc810b17e7d85ed7392739275179ffc4ac5279afa232c955b"
},
{
"algorithm": "SHA1",
"checksumValue": "ba6272125204fdc4f3bbbe41723dfa7e3bd31629"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./src/addBindingName.ts",
"SPDXID": "SPDXRef-File--src-addBindingName.ts-A70032D1ACA9203BE8DF364E9BB7425A71858F5B",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "50e98bbe2c2281d21938f3fbc9258ca35cb71e2dcb1a9200a6ab5ac4a5516401"
},
{
"algorithm": "SHA1",
"checksumValue": "a70032d1aca9203be8df364e9bb7425a71858f5b"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./src/input.ts",
"SPDXID": "SPDXRef-File--src-input.ts-0D4FC0039556860E1C3493DBDEF93947EEBC3076",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "7652baf4045f42490c4ca309f652d57adab49255fcb0dfda0a615def6b4c1603"
},
{
"algorithm": "SHA1",
"checksumValue": "0d4fc0039556860e1c3493dbdef93947eebc3076"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./src/converters/fromRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "af31620202714bcc57ebddc34a6a6637ab830175eae2cab1fa4d9aadaad920a9"
},
{
"algorithm": "SHA1",
"checksumValue": "00da6094e8b2ed969c772ea01b47549beda4a2de"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./src/output.ts",
"SPDXID": "SPDXRef-File--src-output.ts-6110324A2B091318BA182EC462D2649E457A0A7C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "ab82d9bcf34fe007581b7022ddcb251eddde373420f784416460aeba52673536"
},
{
"algorithm": "SHA1",
"checksumValue": "6110324a2b091318ba182ec462d2649e457a0a7c"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./src/converters/fromRpcTriggerMetadata.ts",

@@ -103,12 +217,12 @@ "SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",

{
"fileName": "./src/http/HttpRequest.ts",
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7",
"fileName": "./src/http/extractHttpUserFromHeaders.ts",
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "b25012ccace73515ac797969322b905dd1633b71991e994bdd30c0e47467a232"
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a"
},
{
"algorithm": "SHA1",
"checksumValue": "6fa1fce96bea795dec201bbdd254641a1dc6b6d7"
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83"
}

@@ -123,12 +237,12 @@ ],

{
"fileName": "./types/eventHub.d.ts",
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-E7944B9EB6E7E540BA099D7D0FE9C768463949E7",
"fileName": "./src/converters/toRpcHttp.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "0ca276e09d1d89daf94d087c590af6f6b0d110142e367a63271a47a2c2c01661"
"checksumValue": "5905595c2b16c068baab4dd181294dd16b70205d79bb93f8e7cf45525fd05b7b"
},
{
"algorithm": "SHA1",
"checksumValue": "e7944b9eb6e7e540ba099d7d0fe9c768463949e7"
"checksumValue": "48743c55420a205720f0453086454e535ac456b5"
}

@@ -143,12 +257,12 @@ ],

{
"fileName": "./src/converters/fromRpcContext.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"fileName": "./src/http/HttpRequest.ts",
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c"
"checksumValue": "b25012ccace73515ac797969322b905dd1633b71991e994bdd30c0e47467a232"
},
{
"algorithm": "SHA1",
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4"
"checksumValue": "6fa1fce96bea795dec201bbdd254641a1dc6b6d7"
}

@@ -163,12 +277,12 @@ ],

{
"fileName": "./src/converters/toRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"fileName": "./types/cosmosDB.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.d.ts-09DD628ABB7677F0BCA82B88DF546C9E3F5700EC",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd"
"checksumValue": "36ce6f564c13906d1bef62b8446b27ed6a62212d1749c240a87032b162634c5b"
},
{
"algorithm": "SHA1",
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac"
"checksumValue": "09dd628abb7677f0bca82b88df546c9e3f5700ec"
}

@@ -183,12 +297,12 @@ ],

{
"fileName": "./src/constants.ts",
"SPDXID": "SPDXRef-File--src-constants.ts-88F20D970EB137EF388237E990058BD5B5BD9E61",
"fileName": "./src/utils/isTrigger.ts",
"SPDXID": "SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e4fae4370e063af3a44eabc9441e9b3ab9ecd4478f5997b33b5f82464c42d436"
"checksumValue": "4fee9efecdfd1152e5600954185523fae4609865a492eebf8368db554210ae85"
},
{
"algorithm": "SHA1",
"checksumValue": "88f20d970eb137ef388237e990058bd5b5bd9e61"
"checksumValue": "8a198451e884c0d34d7bb551ad0343fa0bde8b71"
}

@@ -203,12 +317,12 @@ ],

{
"fileName": "./src/converters/fromRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"fileName": "./types/eventGrid.d.ts",
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e"
"checksumValue": "1b83ee57145a0fa6c0287df9cea1f81ed8f189360eeba73337e1e11ade5fab95"
},
{
"algorithm": "SHA1",
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce"
"checksumValue": "1feb3c0686cd21ba42fbfb833dfec6d438df4b5e"
}

@@ -223,12 +337,12 @@ ],

{
"fileName": "./src/http/HttpResponse.ts",
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602",
"fileName": "./types/output.d.ts",
"SPDXID": "SPDXRef-File--types-output.d.ts-262B6E1A5121F96DAB9AACF45B03EA1DA9CF05B3",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "1cfcb19bb6c744473407b91f19e749cea96ba2a506810c321472df6a4bb1252e"
"checksumValue": "72a8997f18a7e0a51f7edf9b37a99e018bf33c1d4a494bff3513e93016665272"
},
{
"algorithm": "SHA1",
"checksumValue": "d80aeb152659971ccc088b114efe661ad8c81602"
"checksumValue": "262b6e1a5121f96dab9aacf45b03ea1da9cf05b3"
}

@@ -243,12 +357,12 @@ ],

{
"fileName": "./NOTICE.html",
"SPDXID": "SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C",
"fileName": "./types/http.d.ts",
"SPDXID": "SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "268bb778aa03caa778c9d47ba467e1e4681aa44e61a01f32191d66a2223d638a"
"checksumValue": "f788bc99a0ea836403d46557622760c4f86acef7a1e78acf029fbdda924f001f"
},
{
"algorithm": "SHA1",
"checksumValue": "43b9f500d4820a1d898a0f2041c02f6349f3158c"
"checksumValue": "c3428fe199a21cdc0b37545c615fb667955fb2c6"
}

@@ -263,12 +377,12 @@ ],

{
"fileName": "./src/errors.ts",
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"fileName": "./types/trigger.d.ts",
"SPDXID": "SPDXRef-File--types-trigger.d.ts-43069F15839675EACA29899C883872C3C3676994",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439"
"checksumValue": "95b4c4bd18aec923dc1499f4353897a4e806b4b4d3f2df9a559d3a7dbd9ff3f9"
},
{
"algorithm": "SHA1",
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1"
"checksumValue": "43069f15839675eaca29899c883872c3c3676994"
}

@@ -283,12 +397,12 @@ ],

{
"fileName": "./src/converters/toCamelCase.ts",
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C",
"fileName": "./src/app.ts",
"SPDXID": "SPDXRef-File--src-app.ts-9CE4230802143508B1F6B14D3669D23E2AF1ECE2",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "f2ba3bb81d4f2006bafed62eb940919b4d005dcdd58f4c2ae2dcaa41d9599ee7"
"checksumValue": "2959fe833bfcc316068a9e25c4521adcb27fb526c1e326e3fd1fcf209d641cef"
},
{
"algorithm": "SHA1",
"checksumValue": "0b685e59bcd78e2b677b5b08d8da6400bc478e5c"
"checksumValue": "9ce4230802143508b1f6b14d3669d23e2af1ece2"
}

@@ -303,12 +417,12 @@ ],

{
"fileName": "./src/utils/getRandomHexString.ts",
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"fileName": "./src/trigger.ts",
"SPDXID": "SPDXRef-File--src-trigger.ts-0ABBA44A31B826642441F5BE0041566F7D8AABF4",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481"
"checksumValue": "b8e63319c4957ca6bad333ce24ef10bb86e8732bbabf4e0322c9a08bb1903f0d"
},
{
"algorithm": "SHA1",
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0"
"checksumValue": "0abba44a31b826642441f5be0041566f7d8aabf4"
}

@@ -323,12 +437,12 @@ ],

{
"fileName": "./src/converters/fromRpcNullable.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE",
"fileName": "./src/converters/toRpcHttpCookie.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "af31620202714bcc57ebddc34a6a6637ab830175eae2cab1fa4d9aadaad920a9"
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944"
},
{
"algorithm": "SHA1",
"checksumValue": "00da6094e8b2ed969c772ea01b47549beda4a2de"
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b"
}

@@ -343,12 +457,12 @@ ],

{
"fileName": "./src/http/extractHttpUserFromHeaders.ts",
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"fileName": "./src/utils/nonNull.ts",
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a"
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634"
},
{
"algorithm": "SHA1",
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83"
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe"
}

@@ -363,12 +477,12 @@ ],

{
"fileName": "./types/eventGrid.d.ts",
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E",
"fileName": "./types/index.d.ts",
"SPDXID": "SPDXRef-File--types-index.d.ts-017A8A55E7617AEEBCF7EB11ED2F046D67A63216",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "1b83ee57145a0fa6c0287df9cea1f81ed8f189360eeba73337e1e11ade5fab95"
"checksumValue": "c92f7705c7004ab65128e4c56d06851d796b146a17af7db32f4aa97334678f3f"
},
{
"algorithm": "SHA1",
"checksumValue": "1feb3c0686cd21ba42fbfb833dfec6d438df4b5e"
"checksumValue": "017a8a55e7617aeebcf7eb11ed2f046d67a63216"
}

@@ -383,12 +497,12 @@ ],

{
"fileName": "./package.json",
"SPDXID": "SPDXRef-File--package.json-F9894C06C56424983888C53AEDD928438900757C",
"fileName": "./src/InvocationModel.ts",
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-8192BF28EC1CD7697336939D2E9DF34C9B848BCB",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "454593d7dbd2524e774c082f8fbdb454d21b5c15e9bc418af0e5e98089b14ea8"
"checksumValue": "aa5adb86e906d8b758104cee971e8ed1cf77858be9635d427e53dc2d8b66eff5"
},
{
"algorithm": "SHA1",
"checksumValue": "f9894c06c56424983888c53aedd928438900757c"
"checksumValue": "8192bf28ec1cd7697336939d2e9df34c9b848bcb"
}

@@ -403,12 +517,12 @@ ],

{
"fileName": "./src/index.ts",
"SPDXID": "SPDXRef-File--src-index.ts-A1986423022915B39E41B70C4CFC1ACD583ACE72",
"fileName": "./src/converters/toCamelCase.ts",
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "df20b682774f014d886e8fc674f945cc063f2436b2cbbd5606cd2e003369b63f"
"checksumValue": "f2ba3bb81d4f2006bafed62eb940919b4d005dcdd58f4c2ae2dcaa41d9599ee7"
},
{
"algorithm": "SHA1",
"checksumValue": "a1986423022915b39e41b70c4cfc1acd583ace72"
"checksumValue": "0b685e59bcd78e2b677b5b08d8da6400bc478e5c"
}

@@ -423,12 +537,12 @@ ],

{
"fileName": "./src/converters/toRpcHttp.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5",
"fileName": "./src/utils/getRandomHexString.ts",
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "5905595c2b16c068baab4dd181294dd16b70205d79bb93f8e7cf45525fd05b7b"
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481"
},
{
"algorithm": "SHA1",
"checksumValue": "48743c55420a205720f0453086454e535ac456b5"
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0"
}

@@ -443,12 +557,12 @@ ],

{
"fileName": "./src/utils/isTrigger.ts",
"SPDXID": "SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"fileName": "./types/generic.d.ts",
"SPDXID": "SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "4fee9efecdfd1152e5600954185523fae4609865a492eebf8368db554210ae85"
"checksumValue": "a42d7f0a95de6fa9d2b67d44ac0770f93fb1aa876a14d6632c8661c75bb63aa1"
},
{
"algorithm": "SHA1",
"checksumValue": "8a198451e884c0d34d7bb551ad0343fa0bde8b71"
"checksumValue": "e11420a4c0f7b067d59d07e31e5782fab51a106a"
}

@@ -463,12 +577,12 @@ ],

{
"fileName": "./types/index.d.ts",
"SPDXID": "SPDXRef-File--types-index.d.ts-117081651BB298B4802E5B925071E69B11F2D1BF",
"fileName": "./types/timer.d.ts",
"SPDXID": "SPDXRef-File--types-timer.d.ts-92CCE66ECA2B5DBE0E129040E2B0C61E14864814",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "2b1857c3da9dae47d069aa111f5b9c3d8c2ded0c70e2bb02939ddb5ef98594b9"
"checksumValue": "0577072b619deaa76937c0afff710502746ee0427d4994060faa4a419c3126e3"
},
{
"algorithm": "SHA1",
"checksumValue": "117081651bb298b4802e5b925071e69b11f2d1bf"
"checksumValue": "92cce66eca2b5dbe0e129040e2b0c61e14864814"
}

@@ -483,12 +597,12 @@ ],

{
"fileName": "./dist/azure-functions.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.js-81733D50D162FC47D202DAA938B9F8274B2CE434",
"fileName": "./package.json",
"SPDXID": "SPDXRef-File--package.json-E6C70AA41BE139F9099BC662AE7E7FCE1E717D07",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "17415140d1e97b04e3389281bfec3676a4e11a0d667fb88ba9ead30a9d540cc3"
"checksumValue": "c94da54761e656792ebea1c5d1b54109d4d1083e6591ba826d6d8f097330af75"
},
{
"algorithm": "SHA1",
"checksumValue": "81733d50d162fc47d202daa938b9f8274b2ce434"
"checksumValue": "e6c70aa41be139f9099bc662ae7e7fce1e717d07"
}

@@ -503,12 +617,12 @@ ],

{
"fileName": "./src/InvocationModel.ts",
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-EA3C5E2908D61CE833E8AA6C939DF52A3DBA2354",
"fileName": "./src/constants.ts",
"SPDXID": "SPDXRef-File--src-constants.ts-3F824E921CC2026E48D84178D3F2518170B1E588",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "408d91022ae12a88a62b5e63fe7b6c03e84041b14b91a794c36a9705df324040"
"checksumValue": "d06a22fe19450bafac5225e850c98bd32e14975eb4595c1e3b9b33d60b5027d2"
},
{
"algorithm": "SHA1",
"checksumValue": "ea3c5e2908d61ce833e8aa6c939df52a3dba2354"
"checksumValue": "3f824e921cc2026e48d84178d3f2518170b1e588"
}

@@ -523,2 +637,21 @@ ],

{
"fileName": "./src/converters/fromRpcBindings.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "af5881f0426ddb62a5d8b361000214035d735a7a7cecd2f723e17b0ebbb64bd9"
},
{
"algorithm": "SHA1",
"checksumValue": "33564771bf04ab3efb1fc5cddc7740cab4a66b9c"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./src/converters/toRpcNullable.ts",

@@ -562,12 +695,12 @@ "SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-C43037C7B43FF3D59D0D7922B54C891055463AB9",

{
"fileName": "./types/serviceBus.d.ts",
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-EBA83FD0AA92DEF614F975D5E3798122B49A1B18",
"fileName": "./types/input.d.ts",
"SPDXID": "SPDXRef-File--types-input.d.ts-AB64EFDB7E2D8ED1595C398A0C009398C1C8FBA3",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "bed40fddd9b90a1f131963a0348c4d163190f1ffb118372a1587cd7f860c8b3b"
"checksumValue": "e627f2d8d4d59517851d9aed30f17064e34db8d8b86248f77879fb94a3651cce"
},
{
"algorithm": "SHA1",
"checksumValue": "eba83fd0aa92def614f975d5e3798122b49a1b18"
"checksumValue": "ab64efdb7e2d8ed1595c398a0c009398c1c8fba3"
}

@@ -601,12 +734,12 @@ ],

{
"fileName": "./src/InvocationContext.ts",
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-3F9A37CAA9178E85954C8919355D5CD6C223185E",
"fileName": "./src/errors.ts",
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "2bcdf514af5638b71592cc3aedd8610483067ad2ce3559116aeebd6875d3a028"
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439"
},
{
"algorithm": "SHA1",
"checksumValue": "3f9a37caa9178e85954c8919355d5cd6c223185e"
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1"
}

@@ -621,12 +754,12 @@ ],

{
"fileName": "./src/converters/toRpcHttpCookie.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"fileName": "./src/converters/fromRpcContext.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944"
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c"
},
{
"algorithm": "SHA1",
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b"
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4"
}

@@ -641,12 +774,12 @@ ],

{
"fileName": "./src/utils/nonNull.ts",
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"fileName": "./src/converters/toRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634"
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd"
},
{
"algorithm": "SHA1",
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe"
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac"
}

@@ -661,12 +794,31 @@ ],

{
"fileName": "./types/app.d.ts",
"SPDXID": "SPDXRef-File--types-app.d.ts-937A06CC83A2BA793DB49A897AF03275E9B25739",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "3e6cfb85a65927c3c3b770ed529527c85c1c6662ec35a35fdb18b4c2ddb7ebd6"
},
{
"algorithm": "SHA1",
"checksumValue": "937a06cc83a2ba793db49a897af03275e9b25739"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/InvocationContext.d.ts",
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-C163444D34ED350C5E96B3D508ECC3799FE7BDA9",
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-68624AD09EACB59A1B8A4FBDD3568D2D027183AD",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "272c93c66d5bc77de0275d34195c84de66a261a57b63339968760a11bc687790"
"checksumValue": "2af932b15f4c8271f77a63b08201027f38021dd6829e48b34b0ed29bee69f73d"
},
{
"algorithm": "SHA1",
"checksumValue": "c163444d34ed350c5e96b3d508ecc3799fe7bda9"
"checksumValue": "68624ad09eacb59a1b8a4fbdd3568d2d027183ad"
}

@@ -681,12 +833,12 @@ ],

{
"fileName": "./types/cosmosDB.d.ts",
"SPDXID": "SPDXRef-File--types-cosmosDB.d.ts-09DD628ABB7677F0BCA82B88DF546C9E3F5700EC",
"fileName": "./dist/azure-functions.min.js",
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-4A740516E10781D3677BB9B0B19CCBB2BF6DFFA2",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "36ce6f564c13906d1bef62b8446b27ed6a62212d1749c240a87032b162634c5b"
"checksumValue": "9775374f10c82e0e5982c367302df0bfb752dc09adb2883059aa0a1fc790ebae"
},
{
"algorithm": "SHA1",
"checksumValue": "09dd628abb7677f0bca82b88df546c9e3f5700ec"
"checksumValue": "4a740516e10781d3677bb9b0b19ccbb2bf6dffa2"
}

@@ -701,12 +853,12 @@ ],

{
"fileName": "./types/storage.d.ts",
"SPDXID": "SPDXRef-File--types-storage.d.ts-E2FE5F2684D1677542DFC3EFD7656158C0D20BDF",
"fileName": "./src/InvocationContext.ts",
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "817ba5ce14a7bbbad25919a183182bd4304a3c0cc3cb5b4c11b0e0cbe1258c35"
"checksumValue": "24a1a7f3d5c8e54eb19ea638d6cd5c1dfe95d33acd3a03042d5768d12fb113f9"
},
{
"algorithm": "SHA1",
"checksumValue": "e2fe5f2684d1677542dfc3efd7656158c0d20bdf"
"checksumValue": "7c805b59b2deaf611509f130f422e0d125a25978"
}

@@ -721,12 +873,12 @@ ],

{
"fileName": "./types/generic.d.ts",
"SPDXID": "SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A",
"fileName": "./src/converters/fromRpcTypedData.ts",
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "a42d7f0a95de6fa9d2b67d44ac0770f93fb1aa876a14d6632c8661c75bb63aa1"
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e"
},
{
"algorithm": "SHA1",
"checksumValue": "e11420a4c0f7b067d59d07e31e5782fab51a106a"
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce"
}

@@ -741,12 +893,12 @@ ],

{
"fileName": "./types/timer.d.ts",
"SPDXID": "SPDXRef-File--types-timer.d.ts-92CCE66ECA2B5DBE0E129040E2B0C61E14864814",
"fileName": "./src/http/HttpResponse.ts",
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "0577072b619deaa76937c0afff710502746ee0427d4994060faa4a419c3126e3"
"checksumValue": "1cfcb19bb6c744473407b91f19e749cea96ba2a506810c321472df6a4bb1252e"
},
{
"algorithm": "SHA1",
"checksumValue": "92cce66eca2b5dbe0e129040e2b0c61e14864814"
"checksumValue": "d80aeb152659971ccc088b114efe661ad8c81602"
}

@@ -761,12 +913,12 @@ ],

{
"fileName": "./types/http.d.ts",
"SPDXID": "SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6",
"fileName": "./types/eventHub.d.ts",
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-E7944B9EB6E7E540BA099D7D0FE9C768463949E7",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "f788bc99a0ea836403d46557622760c4f86acef7a1e78acf029fbdda924f001f"
"checksumValue": "0ca276e09d1d89daf94d087c590af6f6b0d110142e367a63271a47a2c2c01661"
},
{
"algorithm": "SHA1",
"checksumValue": "c3428fe199a21cdc0b37545c615fb667955fb2c6"
"checksumValue": "e7944b9eb6e7e540ba099d7d0fe9c768463949e7"
}

@@ -779,2 +931,40 @@ ],

"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/storage.d.ts",
"SPDXID": "SPDXRef-File--types-storage.d.ts-E2FE5F2684D1677542DFC3EFD7656158C0D20BDF",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "817ba5ce14a7bbbad25919a183182bd4304a3c0cc3cb5b4c11b0e0cbe1258c35"
},
{
"algorithm": "SHA1",
"checksumValue": "e2fe5f2684d1677542dfc3efd7656158c0d20bdf"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
},
{
"fileName": "./types/serviceBus.d.ts",
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-EBA83FD0AA92DEF614F975D5E3798122B49A1B18",
"checksums": [
{
"algorithm": "SHA256",
"checksumValue": "bed40fddd9b90a1f131963a0348c4d163190f1ffb118372a1587cd7f860c8b3b"
},
{
"algorithm": "SHA1",
"checksumValue": "eba83fd0aa92def614f975d5e3798122b49a1b18"
}
],
"licenseConcluded": "NOASSERTION",
"licenseInfoInFiles": [
"NOASSERTION"
],
"copyrightText": "NOASSERTION"
}

@@ -784,4 +974,4 @@ ],

{
"name": "long",
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"name": "busboy",
"SPDXID": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82",
"downloadLocation": "NOASSERTION",

@@ -795,3 +985,3 @@ "filesAnalyzed": false,

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

@@ -801,10 +991,10 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/long@4.0.0"
"referenceLocator": "pkg:npm/busboy@1.6.0"
}
],
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)"
"supplier": "Organization: Brian White (mscdex@mscdex.net)"
},
{
"name": "Azure Pipelines Hosted Image win19",
"SPDXID": "SPDXRef-Package-FA173E80B1B8C7F4D9285EBD2A3E5CE1F8D56C8B8EED63467FEA7EE00390C0A4",
"name": "undici",
"SPDXID": "SPDXRef-Package-2F706D8C7C4698A97D39D6400309FC8E4472D3402B990DC46763A00D08C3E831",
"downloadLocation": "NOASSERTION",

@@ -818,3 +1008,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "20221204.2",
"versionInfo": "5.13.0",
"externalRefs": [

@@ -824,10 +1014,10 @@ {

"referenceType": "purl",
"referenceLocator": "https://github.com/actions/virtual-environments"
"referenceLocator": "pkg:npm/undici@5.13.0"
}
],
"supplier": "Microsoft/GitHub"
"supplier": "Organization: Matteo Collina (hello@matteocollina.com)"
},
{
"name": "undici",
"SPDXID": "SPDXRef-Package-2F706D8C7C4698A97D39D6400309FC8E4472D3402B990DC46763A00D08C3E831",
"name": "streamsearch",
"SPDXID": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0",
"downloadLocation": "NOASSERTION",

@@ -841,3 +1031,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "5.13.0",
"versionInfo": "1.1.0",
"externalRefs": [

@@ -847,10 +1037,10 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/undici@5.13.0"
"referenceLocator": "pkg:npm/streamsearch@1.1.0"
}
],
"supplier": "Organization: Matteo Collina (hello@matteocollina.com)"
"supplier": "Organization: Brian White (mscdex@mscdex.net)"
},
{
"name": "streamsearch",
"SPDXID": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0",
"name": "long",
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"downloadLocation": "NOASSERTION",

@@ -864,3 +1054,3 @@ "filesAnalyzed": false,

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

@@ -870,10 +1060,10 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/streamsearch@1.1.0"
"referenceLocator": "pkg:npm/long@4.0.0"
}
],
"supplier": "Organization: Brian White (mscdex@mscdex.net)"
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)"
},
{
"name": "busboy",
"SPDXID": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82",
"name": "Azure Pipelines Hosted Image win19",
"SPDXID": "SPDXRef-Package-33B8836C2C5C47B5B14E1C967B4036463DE45955EE248FD9990A7FDB60C4AA51",
"downloadLocation": "NOASSERTION",

@@ -887,3 +1077,3 @@ "filesAnalyzed": false,

"copyrightText": "NOASSERTION",
"versionInfo": "1.6.0",
"versionInfo": "20230117.1",
"externalRefs": [

@@ -893,6 +1083,6 @@ {

"referenceType": "purl",
"referenceLocator": "pkg:npm/busboy@1.6.0"
"referenceLocator": "https://github.com/actions/virtual-environments"
}
],
"supplier": "Organization: Brian White (mscdex@mscdex.net)"
"supplier": "Microsoft/GitHub"
},

@@ -904,3 +1094,3 @@ {

"packageVerificationCode": {
"packageVerificationCodeValue": "49438fe02b83a64d53eaf8a316b6d2af08cfc92e"
"packageVerificationCodeValue": "5568943b086e179d9f397f53329ff3af123e5199"
},

@@ -914,44 +1104,54 @@ "filesAnalyzed": true,

"copyrightText": "NOASSERTION",
"versionInfo": "107931",
"versionInfo": "112509",
"supplier": "Organization: Microsoft",
"hasFiles": [
"SPDXRef-File--types-serviceBus.d.ts-EBA83FD0AA92DEF614F975D5E3798122B49A1B18",
"SPDXRef-File--types-storage.d.ts-E2FE5F2684D1677542DFC3EFD7656158C0D20BDF",
"SPDXRef-File--types-eventHub.d.ts-E7944B9EB6E7E540BA099D7D0FE9C768463949E7",
"SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602",
"SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978",
"SPDXRef-File--dist-azure-functions.min.js-4A740516E10781D3677BB9B0B19CCBB2BF6DFFA2",
"SPDXRef-File--types-input.d.ts-AB64EFDB7E2D8ED1595C398A0C009398C1C8FBA3",
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F",
"SPDXRef-File--src-converters-toRpcNullable.ts-C43037C7B43FF3D59D0D7922B54C891055463AB9",
"SPDXRef-File--src-InvocationModel.ts-EA3C5E2908D61CE833E8AA6C939DF52A3DBA2354",
"SPDXRef-File--dist-azure-functions.js-81733D50D162FC47D202DAA938B9F8274B2CE434",
"SPDXRef-File--types-InvocationContext.d.ts-C163444D34ED350C5E96B3D508ECC3799FE7BDA9",
"SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C",
"SPDXRef-File--src-constants.ts-3F824E921CC2026E48D84178D3F2518170B1E588",
"SPDXRef-File--package.json-E6C70AA41BE139F9099BC662AE7E7FCE1E717D07",
"SPDXRef-File--types-InvocationContext.d.ts-68624AD09EACB59A1B8A4FBDD3568D2D027183AD",
"SPDXRef-File--types-app.d.ts-937A06CC83A2BA793DB49A897AF03275E9B25739",
"SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"SPDXRef-File--README.md-D34440381A32C785BBD39207574329B7051984CE",
"SPDXRef-File--types-index.d.ts-017A8A55E7617AEEBCF7EB11ED2F046D67A63216",
"SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE",
"SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B",
"SPDXRef-File--src-InvocationContext.ts-3F9A37CAA9178E85954C8919355D5CD6C223185E",
"SPDXRef-File--README.md-D34440381A32C785BBD39207574329B7051984CE",
"SPDXRef-File--types-index.d.ts-117081651BB298B4802E5B925071E69B11F2D1BF",
"SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5",
"SPDXRef-File--src-index.ts-A1986423022915B39E41B70C4CFC1ACD583ACE72",
"SPDXRef-File--package.json-F9894C06C56424983888C53AEDD928438900757C",
"SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6",
"SPDXRef-File--src-trigger.ts-0ABBA44A31B826642441F5BE0041566F7D8AABF4",
"SPDXRef-File--src-app.ts-9CE4230802143508B1F6B14D3669D23E2AF1ECE2",
"SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C",
"SPDXRef-File--types-timer.d.ts-92CCE66ECA2B5DBE0E129040E2B0C61E14864814",
"SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A",
"SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0",
"SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C",
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1",
"SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C",
"SPDXRef-File--types-eventHub.d.ts-E7944B9EB6E7E540BA099D7D0FE9C768463949E7",
"SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7",
"SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"SPDXRef-File--dist-azure-functions.min.js.map-D4EF3E6B6611B98DC6867FAC7CFAD54820D4C8EF",
"SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A",
"SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602",
"SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE",
"SPDXRef-File--src-constants.ts-88F20D970EB137EF388237E990058BD5B5BD9E61",
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"SPDXRef-File--types-storage.d.ts-E2FE5F2684D1677542DFC3EFD7656158C0D20BDF",
"SPDXRef-File--src-InvocationModel.ts-8192BF28EC1CD7697336939D2E9DF34C9B848BCB",
"SPDXRef-File--dist-azure-functions.min.js.map-79A4A2CB4A4C8632C9D578F9630A4261C3E1AA83",
"SPDXRef-File--types-output.d.ts-262B6E1A5121F96DAB9AACF45B03EA1DA9CF05B3",
"SPDXRef-File--types-cosmosDB.d.ts-09DD628ABB7677F0BCA82B88DF546C9E3F5700EC",
"SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC",
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4",
"SPDXRef-File--dist-azure-functions.js.map-6914B687958B311B13CD5572CC6EF8EAFDDE086A",
"SPDXRef-File--types-timer.d.ts-92CCE66ECA2B5DBE0E129040E2B0C61E14864814",
"SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E",
"SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83",
"SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE",
"SPDXRef-File--dist-azure-functions.min.js-E6976A710C7DFD68306D005AB2C52BF7280A8F4D"
"SPDXRef-File--src-index.ts-BA6272125204FDC4F3BBBE41723DFA7E3BD31629",
"SPDXRef-File--dist-azure-functions.js-24D52311288A159D25D24687C294A20726C1208F",
"SPDXRef-File--types-trigger.d.ts-43069F15839675EACA29899C883872C3C3676994",
"SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6",
"SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71",
"SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5",
"SPDXRef-File--src-output.ts-6110324A2B091318BA182EC462D2649E457A0A7C",
"SPDXRef-File--src-addBindingName.ts-A70032D1ACA9203BE8DF364E9BB7425A71858F5B",
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4",
"SPDXRef-File--types-serviceBus.d.ts-EBA83FD0AA92DEF614F975D5E3798122B49A1B18",
"SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E",
"SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7",
"SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91",
"SPDXRef-File--src-input.ts-0D4FC0039556860E1C3493DBDEF93947EEBC3076",
"SPDXRef-File--dist-azure-functions.js.map-599CE88905EEFE89CEF9BD2C7246977B16EEECD5"
]

@@ -964,3 +1164,3 @@ }

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82",
"relatedSpdxElement": "SPDXRef-Package-33B8836C2C5C47B5B14E1C967B4036463DE45955EE248FD9990A7FDB60C4AA51",
"spdxElementId": "SPDXRef-RootPackage"

@@ -975,3 +1175,3 @@ },

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0",
"relatedSpdxElement": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68",
"spdxElementId": "SPDXRef-RootPackage"

@@ -981,3 +1181,3 @@ },

"relationshipType": "DEPENDS_ON",
"relatedSpdxElement": "SPDXRef-Package-FA173E80B1B8C7F4D9285EBD2A3E5CE1F8D56C8B8EED63467FEA7EE00390C0A4",
"relatedSpdxElement": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0",
"spdxElementId": "SPDXRef-RootPackage"

@@ -992,3 +1192,3 @@ },

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

@@ -1000,6 +1200,6 @@ }

"SPDXID": "SPDXRef-DOCUMENT",
"name": "Azure Functions Node.js Framework 107931",
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:107931/vI_0HMDiM0Oud8FtTlH92g",
"name": "Azure Functions Node.js Framework 112509",
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:112509/meWarhGA7ECjnsjUOBCD0w",
"creationInfo": {
"created": "2022-12-16T19:02:59Z",
"created": "2023-01-30T21:43:23Z",
"creators": [

@@ -1006,0 +1206,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){n.set(this,void 0),this.invocationId=e.invocationId,this.functionName=e.functionName,this.extraInputs=new a,this.extraOutputs=new u,this.retryContext=e.retryContext,this.traceContext=e.traceContext,this.triggerMetadata=e.triggerMetadata,i(this,n,e.logHandler,"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}}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},g=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),v=n(601),b=n(130),m=n(243),w=n(408),j=n(788),O=n(186),x=n(828),T=n(313),P=n(674),C=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,C.nonNullProp)(e.metadata,"name"),"f"),h(this,a,(0,C.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,C.nonNullValue)(Object.values(g(this,a,"f")).find((e=>(0,P.isTrigger)(e.type))),"triggerBinding");h(this,u,(0,C.nonNullProp)(t,"type"),"f")}getArguments(){return d(this,void 0,void 0,(function*(){const e=g(this,i,"f").request,t=new T.InvocationContext({invocationId:(0,C.nonNullProp)(g(this,i,"f"),"invocationId"),functionName:g(this,s,"f"),logHandler:(e,...t)=>g(this,r,"m",p).call(this,e,...t),retryContext:(0,b.fromRpcRetryContext)(e.retryContext),traceContext:(0,b.fromRpcTraceContext)(e.traceContext),triggerMetadata:(0,m.fromRpcTriggerMetadata)(e.triggerMetadata,g(this,u,"f"))}),n=[];if(e.inputData)for(const r of e.inputData){const e=(0,C.nonNullProp)(r,"name");let o=(0,w.fromRpcTypedData)(r.data);const i=g(this,a,"f")[e].type;(0,P.isTimerTrigger)(i)&&(o=(0,j.toCamelCaseValue)(o)),(0,P.isTrigger)(i)?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[0],e))}finally{h(this,o,!0,"f")}}))}getResponse(e,t){return d(this,void 0,void 0,(function*(){const n={invocationId:g(this,i,"f").invocationId,outputData:[]};for(const[o,i]of Object.entries(g(this,a,"f")))"out"===i.direction&&(o===v.returnBindingKey?n.returnValue=yield g(this,r,"m",c).call(this,i,t):n.outputData.push({name:o,data:yield g(this,r,"m",c).call(this,i,e.extraOutputs.get(o))}));return n.returnValue||0!=n.outputData.length||(0,P.isHttpTrigger)(g(this,u,"f"))||(n.returnValue=(0,x.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,x.toRpcTypedData)(t)}))},l=function(e,t,...n){g(this,i,"f").log(e,t,(0,y.format)(...n))},f=function(e,...t){g(this,r,"m",l).call(this,e,"system",...t)},p=function(e,...t){if(g(this,o,"f")&&"postInvocationHooks"!==g(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: ${g(this,s,"f")}. Invocation Id: ${g(this,i,"f").invocationId}.`,g(this,r,"m",f).call(this,"warning",e)}g(this,r,"m",l).call(this,e,"user",...t)}},601:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.version=void 0,t.version="4.0.0-alpha.6",t.returnBindingKey="$return"},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){let n={};if(e&&Object.keys(e).length>0)for(const t in e)n[t]=e[t].value||"";else t&&Object.keys(t).length>0&&(n=t);return n}},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},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);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if(null!=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(null!=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(null!=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(null!=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(null!=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}},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);t.HttpRequest=class{constructor(e){var t,n,s;r.set(this,void 0),o.set(this,void 0),i.set(this,void 0);const d=(0,p.nonNullProp)(e,"url");(null===(t=e.body)||void 0===t?void 0:t.bytes)?a(this,i,Buffer.from(null===(n=e.body)||void 0===n?void 0:n.bytes),"f"):(null===(s=e.body)||void 0===s?void 0:s.string)&&a(this,i,e.body.string,"f"),a(this,o,new c.Request(d,{body:u(this,i,"f"),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()}))}},r=new WeakMap,o=new WeakMap,i=new WeakMap},681:function(e,t,n){var r,o=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())}))},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.HttpResponse=void 0;const a=n(122),u=n(557);t.HttpResponse=class{constructor(e){r.set(this,void 0);const t={status:null==e?void 0:e.status,headers:null==e?void 0:e.headers};(0,u.isDefined)(null==e?void 0:e.jsonBody)?i(this,r,a.Response.json(null==e?void 0:e.jsonBody,t),"f"):i(this,r,new a.Response(null==e?void 0:e.body,t),"f"),this.cookies=(null==e?void 0:e.cookies)||[],this.enableContentNegotiation=!!(null==e?void 0:e.enableContentNegotiation)}get status(){return s(this,r,"f").status}get headers(){return s(this,r,"f").headers}get body(){return s(this,r,"f").body}get bodyUsed(){return s(this,r,"f").bodyUsed}arrayBuffer(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").arrayBuffer()}))}blob(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").blob()}))}formData(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").formData()}))}json(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").json()}))}text(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").text()}))}},r=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}},607:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.output=t.input=t.trigger=t.app=t.InvocationContext=t.HttpResponse=t.HttpRequest=void 0;const r=n(601),o=n(62),i=n(674);var s=n(726);Object.defineProperty(t,"HttpRequest",{enumerable:!0,get:function(){return s.HttpRequest}});var a=n(681);Object.defineProperty(t,"HttpResponse",{enumerable:!0,get:function(){return a.HttpResponse}});var u=n(313);let c;function l(){if(void 0===c)try{c=n(605)}catch(e){c=null}return c}Object.defineProperty(t,"InvocationContext",{enumerable:!0,get:function(){return u.InvocationContext}});class f{constructor(){this.name="@azure/functions",this.version=r.version}getInvocationModel(e){return new o.InvocationModel(e)}}let p=!1;function d(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}var h,g,y;function v(e){return j(e,"Input")}function b(e){return j(e,"Trigger")}function m(e){return j(e,"Output")}!function(e){function t(e,t){t.return||(t.return=g.http({})),n(e,Object.assign({trigger:h.http({authLevel:t.authLevel,methods:t.methods,route:t.route})},t))}function n(e,t){p||function(){const e=l();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={},o=t.trigger;if(n[o.name]=Object.assign(Object.assign({},o),{direction:"in",type:(0,i.isTrigger)(o.type)?o.type:o.type+"Trigger"}),t.extraInputs)for(const e of t.extraInputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"in"});if(t.return&&(t.return.name=r.returnBindingKey,n[t.return.name]=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"});const s=l();s?s.registerFunction({name:e,bindings:n},t.handler):console.warn(`WARNING: Skipping call to register function "${e}" because the "@azure/functions" package is in test mode.`)}e.get=function(e,n){t(e,d(n,"GET"))},e.put=function(e,n){t(e,d(n,"PUT"))},e.post=function(e,n){t(e,d(n,"POST"))},e.patch=function(e,n){t(e,d(n,"PATCH"))},e.deleteRequest=function(e,n){t(e,d(n,"DELETE"))},e.http=t,e.timer=function(e,t){n(e,Object.assign({trigger:h.timer({schedule:t.schedule,runOnStartup:t.runOnStartup,useMonitor:t.useMonitor})},t))},e.storageBlob=function(e,t){n(e,Object.assign({trigger:h.storageBlob({connection:t.connection,path:t.path})},t))},e.storageQueue=function(e,t){n(e,Object.assign({trigger:h.storageQueue({connection:t.connection,queueName:t.queueName})},t))},e.serviceBusQueue=function(e,t){n(e,Object.assign({trigger:h.serviceBusQueue({connection:t.connection,queueName:t.queueName,isSessionsEnabled:t.isSessionsEnabled})},t))},e.serviceBusTopic=function(e,t){n(e,Object.assign({trigger:h.serviceBusTopic({connection:t.connection,topicName:t.topicName,subscriptionName:t.subscriptionName,isSessionsEnabled:t.isSessionsEnabled})},t))},e.eventHub=function(e,t){n(e,Object.assign({trigger:h.eventHub({connection:t.connection,eventHubName:t.eventHubName,cardinality:t.cardinality,consumerGroup:t.consumerGroup})},t))},e.eventGrid=function(e,t){n(e,Object.assign({trigger:h.eventGrid({})},t))},e.cosmosDB=function(e,t){n(e,Object.assign({trigger:h.cosmosDB({collectionName:t.collectionName,connectionStringSetting:t.connectionStringSetting,createLeaseCollectionIfNotExists:t.createLeaseCollectionIfNotExists,databaseName:t.databaseName,id:t.id,leaseCollectionName:t.leaseCollectionName,leaseCollectionPrefix:t.leaseCollectionPrefix,leaseCollectionThroughput:t.leaseCollectionThroughput,leaseConnectionStringSetting:t.leaseConnectionStringSetting,leaseDatabaseName:t.leaseDatabaseName,partitionKey:t.partitionKey,sqlQuery:t.sqlQuery})},t))},e.generic=n}(t.app||(t.app={})),function(e){e.http=function(e){return b(Object.assign(Object.assign({},e),{authLevel:e.authLevel||"anonymous",methods:e.methods||["GET","POST"],type:"httpTrigger"}))},e.timer=function(e){return b(Object.assign(Object.assign({},e),{type:"timerTrigger"}))},e.storageBlob=function(e){return b(Object.assign(Object.assign({},e),{type:"blobTrigger"}))},e.storageQueue=function(e){return b(Object.assign(Object.assign({},e),{type:"queueTrigger"}))},e.serviceBusQueue=function(e){return b(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},e.serviceBusTopic=function(e){return b(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},e.eventHub=function(e){return b(Object.assign(Object.assign({},e),{type:"eventHubTrigger"}))},e.eventGrid=function(e){return b(Object.assign(Object.assign({},e),{type:"eventGridTrigger"}))},e.cosmosDB=function(e){return b(Object.assign(Object.assign({},e),{type:"cosmosDBTrigger"}))},e.generic=function(e){return b(e)}}(h=t.trigger||(t.trigger={})),(y=t.input||(t.input={})).storageBlob=function(e){return v(Object.assign(Object.assign({},e),{type:"blob"}))},y.cosmosDB=function(e){return v(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},y.generic=function(e){return v(e)},function(e){e.http=function(e){return m(Object.assign(Object.assign({},e),{type:"http"}))},e.storageBlob=function(e){return m(Object.assign(Object.assign({},e),{type:"blob"}))},e.storageQueue=function(e){return m(Object.assign(Object.assign({},e),{type:"queue"}))},e.serviceBusQueue=function(e){return m(Object.assign(Object.assign({},e),{type:"serviceBus"}))},e.serviceBusTopic=function(e){return m(Object.assign(Object.assign({},e),{type:"serviceBus"}))},e.eventHub=function(e){return m(Object.assign(Object.assign({},e),{type:"eventHub"}))},e.eventGrid=function(e){return m(Object.assign(Object.assign({},e),{type:"eventGrid"}))},e.cosmosDB=function(e){return m(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},e.generic=function(e){return m(e)}}(g=t.output||(t.output={}));const w={};function j(e,t){if(!e.name){let n=e.type;n.toLowerCase().endsWith(t.toLowerCase())||(n+=t);let r=w[n]||0;r+=1,w[n]=r,e.name=n+r.toString()}return e}},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}},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={},n=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}(607);module.exports=n})();
(()=>{"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,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())}))},g=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},h=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 v=n(764),y=n(601),b=n(168),m=n(130),w=n(243),j=n(408),O=n(788),x=n(186),P=n(828),T=n(313),N=n(674),C=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),g(this,i,e,"f"),g(this,s,(0,C.nonNullProp)(e.metadata,"name"),"f"),g(this,a,(0,C.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,C.nonNullValue)(Object.values(h(this,a,"f")).find((e=>(0,N.isTrigger)(e.type))),"triggerBinding");g(this,u,(0,C.nonNullProp)(t,"type"),"f")}getArguments(){return p(this,void 0,void 0,(function*(){const e=h(this,i,"f").request,t=new T.InvocationContext({invocationId:(0,C.nonNullProp)(h(this,i,"f"),"invocationId"),functionName:h(this,s,"f"),logHandler:(e,...t)=>h(this,r,"m",d).call(this,e,...t),retryContext:(0,m.fromRpcRetryContext)(e.retryContext),traceContext:(0,m.fromRpcTraceContext)(e.traceContext),triggerMetadata:(0,w.fromRpcTriggerMetadata)(e.triggerMetadata,h(this,u,"f")),options:(0,b.fromRpcBindings)(h(this,a,"f"))}),n=[];if(e.inputData)for(const r of e.inputData){const e=(0,C.nonNullProp)(r,"name");let o=(0,j.fromRpcTypedData)(r.data);const i=h(this,a,"f")[e].type;(0,N.isTimerTrigger)(i)&&(o=(0,O.toCamelCaseValue)(o)),(0,N.isTrigger)(i)?n.push(o):t.extraInputs.set(e,o)}return{context:t,inputs:n}}))}invokeFunction(e,t,n){return p(this,void 0,void 0,(function*(){try{return yield Promise.resolve(n(t[0],e))}finally{g(this,o,!0,"f")}}))}getResponse(e,t){return p(this,void 0,void 0,(function*(){const n={invocationId:h(this,i,"f").invocationId,outputData:[]};for(const[o,i]of Object.entries(h(this,a,"f")))"out"===i.direction&&(o===y.returnBindingKey?n.returnValue=yield h(this,r,"m",c).call(this,i,t):n.outputData.push({name:o,data:yield h(this,r,"m",c).call(this,i,e.extraOutputs.get(o))}));return n.returnValue||0!=n.outputData.length||(0,N.isHttpTrigger)(h(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 p(this,void 0,void 0,(function*(){return"http"===(null===(n=e.type)||void 0===n?void 0:n.toLowerCase())?(0,x.toRpcHttp)(t):(0,P.toRpcTypedData)(t)}))},l=function(e,t,...n){h(this,i,"f").log(e,t,(0,v.format)(...n))},f=function(e,...t){h(this,r,"m",l).call(this,e,"system",...t)},d=function(e,...t){if(h(this,o,"f")&&"postInvocationHooks"!==h(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: ${h(this,s,"f")}. Invocation Id: ${h(this,i,"f").invocationId}.`,h(this,r,"m",f).call(this,"warning",e)}h(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:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=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=void 0;const r=n(601),o=n(62),i=n(854),s=n(892),a=n(674);let u;function c(){if(void 0===u)try{u=n(605)}catch(e){u=null}return u}class l{constructor(){this.name="@azure/functions",this.version=r.version}getInvocationModel(e){return new o.InvocationModel(e)}}let f=!1;function d(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}function p(e,t){t.return||(t.return=i.http({})),g(e,Object.assign({trigger:s.http({authLevel:t.authLevel,methods:t.methods,route:t.route})},t))}function g(e,t){f||function(){const e=c();e?e.setProgrammingModel(new l):console.warn('WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'),f=!0}();const n={},o=t.trigger;if(n[o.name]=Object.assign(Object.assign({},o),{direction:"in",type:(0,a.isTrigger)(o.type)?o.type:o.type+"Trigger"}),t.extraInputs)for(const e of t.extraInputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"in"});if(t.return&&(t.return.name=r.returnBindingKey,n[t.return.name]=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"});const i=c();i?i.registerFunction({name:e,bindings:n},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,d(t,"GET"))},t.put=function(e,t){p(e,d(t,"PUT"))},t.post=function(e,t){p(e,d(t,"POST"))},t.patch=function(e,t){p(e,d(t,"PATCH"))},t.deleteRequest=function(e,t){p(e,d(t,"DELETE"))},t.http=p,t.timer=function(e,t){g(e,Object.assign({trigger:s.timer({schedule:t.schedule,runOnStartup:t.runOnStartup,useMonitor:t.useMonitor})},t))},t.storageBlob=function(e,t){g(e,Object.assign({trigger:s.storageBlob({connection:t.connection,path:t.path})},t))},t.storageQueue=function(e,t){g(e,Object.assign({trigger:s.storageQueue({connection:t.connection,queueName:t.queueName})},t))},t.serviceBusQueue=function(e,t){g(e,Object.assign({trigger:s.serviceBusQueue({connection:t.connection,queueName:t.queueName,isSessionsEnabled:t.isSessionsEnabled})},t))},t.serviceBusTopic=function(e,t){g(e,Object.assign({trigger:s.serviceBusTopic({connection:t.connection,topicName:t.topicName,subscriptionName:t.subscriptionName,isSessionsEnabled:t.isSessionsEnabled})},t))},t.eventHub=function(e,t){g(e,Object.assign({trigger:s.eventHub({connection:t.connection,eventHubName:t.eventHubName,cardinality:t.cardinality,consumerGroup:t.consumerGroup})},t))},t.eventGrid=function(e,t){g(e,Object.assign({trigger:s.eventGrid({})},t))},t.cosmosDB=function(e,t){g(e,Object.assign({trigger:s.cosmosDB({collectionName:t.collectionName,connectionStringSetting:t.connectionStringSetting,createLeaseCollectionIfNotExists:t.createLeaseCollectionIfNotExists,databaseName:t.databaseName,id:t.id,leaseCollectionName:t.leaseCollectionName,leaseCollectionPrefix:t.leaseCollectionPrefix,leaseCollectionThroughput:t.leaseCollectionThroughput,leaseConnectionStringSetting:t.leaseConnectionStringSetting,leaseDatabaseName:t.leaseDatabaseName,partitionKey:t.partitionKey,sqlQuery:t.sqlQuery})},t))},t.generic=g},601:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.version=void 0,t.version="4.0.0-alpha.7",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){let n={};if(e&&Object.keys(e).length>0)for(const t in e)n[t]=e[t].value||"";else t&&Object.keys(t).length>0&&(n=t);return n}},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},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);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if(null!=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(null!=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(null!=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(null!=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(null!=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}},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),d=n(557),p=n(21);t.HttpRequest=class{constructor(e){var t,n,s;r.set(this,void 0),o.set(this,void 0),i.set(this,void 0);const p=(0,d.nonNullProp)(e,"url");(null===(t=e.body)||void 0===t?void 0:t.bytes)?a(this,i,Buffer.from(null===(n=e.body)||void 0===n?void 0:n.bytes),"f"):(null===(s=e.body)||void 0===s?void 0:s.string)&&a(this,i,e.body.string,"f"),a(this,o,new c.Request(p,{body:u(this,i,"f"),method:(0,d.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,p.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()}))}},r=new WeakMap,o=new WeakMap,i=new WeakMap},681:function(e,t,n){var r,o=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())}))},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.HttpResponse=void 0;const a=n(122),u=n(557);t.HttpResponse=class{constructor(e){r.set(this,void 0);const t={status:null==e?void 0:e.status,headers:null==e?void 0:e.headers};(0,u.isDefined)(null==e?void 0:e.jsonBody)?i(this,r,a.Response.json(null==e?void 0:e.jsonBody,t),"f"):i(this,r,new a.Response(null==e?void 0:e.body,t),"f"),this.cookies=(null==e?void 0:e.cookies)||[],this.enableContentNegotiation=!!(null==e?void 0:e.enableContentNegotiation)}get status(){return s(this,r,"f").status}get headers(){return s(this,r,"f").headers}get body(){return s(this,r,"f").body}get bodyUsed(){return s(this,r,"f").bodyUsed}arrayBuffer(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").arrayBuffer()}))}blob(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").blob()}))}formData(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").formData()}))}json(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").json()}))}text(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").text()}))}},r=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.cosmosDB=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.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.generic=function(e){return o(e)}},854:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=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.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.generic=function(e){return o(e)}},892:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=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.generic=function(e){return o(e)}},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}},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.trigger=e.output=e.InvocationContext=e.input=e.HttpResponse=e.HttpRequest=e.app=void 0,e.app=n(752);var t=n(726);Object.defineProperty(e,"HttpRequest",{enumerable:!0,get:function(){return t.HttpRequest}});var o=n(681);Object.defineProperty(e,"HttpResponse",{enumerable:!0,get:function(){return o.HttpResponse}}),e.input=n(489);var i=n(313);Object.defineProperty(e,"InvocationContext",{enumerable:!0,get:function(){return i.InvocationContext}}),e.output=n(854),e.trigger=n(892)})(),module.exports=r})();
//# sourceMappingURL=azure-functions.min.js.map
{
"name": "@azure/functions",
"version": "4.0.0-alpha.6",
"version": "4.0.0-alpha.7",
"description": "Microsoft Azure Functions NodeJS Framework",

@@ -5,0 +5,0 @@ "keywords": [

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
export const version = '4.0.0-alpha.6';
export const version = '4.0.0-alpha.7';
export const returnBindingKey = '$return';
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
import {
CosmosDBFunctionOptions,
CosmosDBInput,
CosmosDBInputOptions,
CosmosDBOutput,
CosmosDBOutputOptions,
CosmosDBTrigger,
CosmosDBTriggerOptions,
EventGridFunctionOptions,
EventGridOutput,
EventGridOutputOptions,
EventGridTrigger,
EventGridTriggerOptions,
EventHubFunctionOptions,
EventHubOutput,
EventHubOutputOptions,
EventHubTrigger,
EventHubTriggerOptions,
FunctionInput,
FunctionOptions,
FunctionOutput,
FunctionTrigger,
GenericInputOptions,
GenericOutputOptions,
GenericTriggerOptions,
HttpFunctionOptions,
HttpHandler,
HttpMethod,
HttpMethodFunctionOptions,
HttpOutput,
HttpOutputOptions,
HttpTrigger,
HttpTriggerOptions,
ServiceBusQueueFunctionOptions,
ServiceBusQueueOutput,
ServiceBusQueueOutputOptions,
ServiceBusQueueTrigger,
ServiceBusQueueTriggerOptions,
ServiceBusTopicFunctionOptions,
ServiceBusTopicOutput,
ServiceBusTopicOutputOptions,
ServiceBusTopicTrigger,
ServiceBusTopicTriggerOptions,
StorageBlobFunctionOptions,
StorageBlobInput,
StorageBlobInputOptions,
StorageBlobOutput,
StorageBlobOutputOptions,
StorageBlobTrigger,
StorageBlobTriggerOptions,
StorageQueueFunctionOptions,
StorageQueueOutput,
StorageQueueOutputOptions,
StorageQueueTrigger,
StorageQueueTriggerOptions,
TimerFunctionOptions,
TimerTrigger,
TimerTriggerOptions,
} from '@azure/functions';
import * as coreTypes from '@azure/functions-core';
import { CoreInvocationContext, FunctionCallback } from '@azure/functions-core';
import { returnBindingKey, version } from './constants';
import { InvocationModel } from './InvocationModel';
import { isTrigger } from './utils/isTrigger';
export * as app from './app';
export { HttpRequest } from './http/HttpRequest';
export { HttpResponse } from './http/HttpResponse';
export * as input from './input';
export { InvocationContext } from './InvocationContext';
let coreApi: typeof coreTypes | undefined | null;
function tryGetCoreApiLazy(): typeof coreTypes | null {
if (coreApi === undefined) {
try {
// eslint-disable-next-line @typescript-eslint/no-var-requires
coreApi = <typeof coreTypes>require('@azure/functions-core');
} catch {
coreApi = null;
}
}
return coreApi;
}
class ProgrammingModel implements coreTypes.ProgrammingModel {
name = '@azure/functions';
version = version;
getInvocationModel(coreCtx: CoreInvocationContext): InvocationModel {
return new InvocationModel(coreCtx);
}
}
let hasSetup = false;
function setup() {
const coreApi = tryGetCoreApiLazy();
if (!coreApi) {
console.warn(
'WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'
);
} else {
coreApi.setProgrammingModel(new ProgrammingModel());
}
hasSetup = true;
}
function convertToHttpOptions(
optionsOrHandler: HttpFunctionOptions | HttpHandler,
method: HttpMethod
): HttpFunctionOptions {
const options: HttpFunctionOptions =
typeof optionsOrHandler === 'function' ? { handler: optionsOrHandler } : optionsOrHandler;
options.methods = [method];
return options;
}
export namespace app {
export function get(name: string, optionsOrHandler: HttpMethodFunctionOptions | HttpHandler): void {
http(name, convertToHttpOptions(optionsOrHandler, 'GET'));
}
export function put(name: string, optionsOrHandler: HttpMethodFunctionOptions | HttpHandler): void {
http(name, convertToHttpOptions(optionsOrHandler, 'PUT'));
}
export function post(name: string, optionsOrHandler: HttpMethodFunctionOptions | HttpHandler): void {
http(name, convertToHttpOptions(optionsOrHandler, 'POST'));
}
export function patch(name: string, optionsOrHandler: HttpMethodFunctionOptions | HttpHandler): void {
http(name, convertToHttpOptions(optionsOrHandler, 'PATCH'));
}
export function deleteRequest(name: string, optionsOrHandler: HttpMethodFunctionOptions | HttpHandler): void {
http(name, convertToHttpOptions(optionsOrHandler, 'DELETE'));
}
export function http(name: string, options: HttpFunctionOptions): void {
options.return ||= output.http({});
generic(name, {
trigger: trigger.http({
authLevel: options.authLevel,
methods: options.methods,
route: options.route,
}),
...options,
});
}
export function timer(name: string, options: TimerFunctionOptions): void {
generic(name, {
trigger: trigger.timer({
schedule: options.schedule,
runOnStartup: options.runOnStartup,
useMonitor: options.useMonitor,
}),
...options,
});
}
export function storageBlob(name: string, options: StorageBlobFunctionOptions): void {
generic(name, {
trigger: trigger.storageBlob({
connection: options.connection,
path: options.path,
}),
...options,
});
}
export function storageQueue(name: string, options: StorageQueueFunctionOptions): void {
generic(name, {
trigger: trigger.storageQueue({
connection: options.connection,
queueName: options.queueName,
}),
...options,
});
}
export function serviceBusQueue(name: string, options: ServiceBusQueueFunctionOptions): void {
generic(name, {
trigger: trigger.serviceBusQueue({
connection: options.connection,
queueName: options.queueName,
isSessionsEnabled: options.isSessionsEnabled,
}),
...options,
});
}
export function serviceBusTopic(name: string, options: ServiceBusTopicFunctionOptions): void {
generic(name, {
trigger: trigger.serviceBusTopic({
connection: options.connection,
topicName: options.topicName,
subscriptionName: options.subscriptionName,
isSessionsEnabled: options.isSessionsEnabled,
}),
...options,
});
}
export function eventHub(name: string, options: EventHubFunctionOptions): void {
generic(name, {
trigger: trigger.eventHub({
connection: options.connection,
eventHubName: options.eventHubName,
cardinality: options.cardinality,
consumerGroup: options.consumerGroup,
}),
...options,
});
}
export function eventGrid(name: string, options: EventGridFunctionOptions): void {
generic(name, {
trigger: trigger.eventGrid({}),
...options,
});
}
export function cosmosDB(name: string, options: CosmosDBFunctionOptions): void {
generic(name, {
trigger: trigger.cosmosDB({
collectionName: options.collectionName,
connectionStringSetting: options.connectionStringSetting,
createLeaseCollectionIfNotExists: options.createLeaseCollectionIfNotExists,
databaseName: options.databaseName,
id: options.id,
leaseCollectionName: options.leaseCollectionName,
leaseCollectionPrefix: options.leaseCollectionPrefix,
leaseCollectionThroughput: options.leaseCollectionThroughput,
leaseConnectionStringSetting: options.leaseConnectionStringSetting,
leaseDatabaseName: options.leaseDatabaseName,
partitionKey: options.partitionKey,
sqlQuery: options.sqlQuery,
}),
...options,
});
}
export function generic(name: string, options: FunctionOptions): void {
if (!hasSetup) {
setup();
}
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) {
options.return.name = returnBindingKey;
bindings[options.return.name] = {
...options.return,
direction: 'out',
};
}
if (options.extraOutputs) {
for (const output of options.extraOutputs) {
bindings[output.name] = {
...output,
direction: 'out',
};
}
}
const coreApi = tryGetCoreApiLazy();
if (!coreApi) {
console.warn(
`WARNING: Skipping call to register function "${name}" because the "@azure/functions" package is in test mode.`
);
} else {
coreApi.registerFunction({ name, bindings }, <FunctionCallback>options.handler);
}
}
}
export namespace trigger {
export function http(options: HttpTriggerOptions): HttpTrigger {
return addTriggerBindingName({
...options,
authLevel: options.authLevel || 'anonymous',
methods: options.methods || ['GET', 'POST'],
type: 'httpTrigger',
});
}
export function timer(options: TimerTriggerOptions): TimerTrigger {
return addTriggerBindingName({
...options,
type: 'timerTrigger',
});
}
export function storageBlob(options: StorageBlobTriggerOptions): StorageBlobTrigger {
return addTriggerBindingName({
...options,
type: 'blobTrigger',
});
}
export function storageQueue(options: StorageQueueTriggerOptions): StorageQueueTrigger {
return addTriggerBindingName({
...options,
type: 'queueTrigger',
});
}
export function serviceBusQueue(options: ServiceBusQueueTriggerOptions): ServiceBusQueueTrigger {
return addTriggerBindingName({
...options,
type: 'serviceBusTrigger',
});
}
export function serviceBusTopic(options: ServiceBusTopicTriggerOptions): ServiceBusTopicTrigger {
return addTriggerBindingName({
...options,
type: 'serviceBusTrigger',
});
}
export function eventHub(options: EventHubTriggerOptions): EventHubTrigger {
return addTriggerBindingName({
...options,
type: 'eventHubTrigger',
});
}
export function eventGrid(options: EventGridTriggerOptions): EventGridTrigger {
return addTriggerBindingName({
...options,
type: 'eventGridTrigger',
});
}
export function cosmosDB(options: CosmosDBTriggerOptions): CosmosDBTrigger {
return addTriggerBindingName({
...options,
type: 'cosmosDBTrigger',
});
}
export function generic(options: GenericTriggerOptions): FunctionTrigger {
return addTriggerBindingName(options);
}
}
export namespace input {
export function storageBlob(options: StorageBlobInputOptions): StorageBlobInput {
return addInputBindingName({
...options,
type: 'blob',
});
}
export function cosmosDB(options: CosmosDBInputOptions): CosmosDBInput {
return addInputBindingName({
...options,
type: 'cosmosDB',
});
}
export function generic(options: GenericInputOptions): FunctionInput {
return addInputBindingName(options);
}
}
export namespace output {
export function http(options: HttpOutputOptions): HttpOutput {
return addOutputBindingName({
...options,
type: 'http',
});
}
export function storageBlob(options: StorageBlobOutputOptions): StorageBlobOutput {
return addOutputBindingName({
...options,
type: 'blob',
});
}
export function storageQueue(options: StorageQueueOutputOptions): StorageQueueOutput {
return addOutputBindingName({
...options,
type: 'queue',
});
}
export function serviceBusQueue(options: ServiceBusQueueOutputOptions): ServiceBusQueueOutput {
return addOutputBindingName({
...options,
type: 'serviceBus',
});
}
export function serviceBusTopic(options: ServiceBusTopicOutputOptions): ServiceBusTopicOutput {
return addOutputBindingName({
...options,
type: 'serviceBus',
});
}
export function eventHub(options: EventHubOutputOptions): EventHubOutput {
return addOutputBindingName({
...options,
type: 'eventHub',
});
}
export function eventGrid(options: EventGridOutputOptions): EventGridOutput {
return addOutputBindingName({
...options,
type: 'eventGrid',
});
}
export function cosmosDB(options: CosmosDBOutputOptions): CosmosDBOutput {
return addOutputBindingName({
...options,
type: 'cosmosDB',
});
}
export function generic(options: GenericOutputOptions): FunctionOutput {
return addOutputBindingName(options);
}
}
function addInputBindingName<T extends { type: string; name?: string }>(binding: T): T & { name: string } {
return addBindingName(binding, 'Input');
}
function addTriggerBindingName<T extends { type: string; name?: string }>(binding: T): T & { name: string } {
return addBindingName(binding, 'Trigger');
}
function addOutputBindingName<T extends { type: string; name?: string }>(binding: T): T & { name: string } {
return addBindingName(binding, 'Output');
}
const bindingCounts: Record<string, number> = {};
/**
* If the host spawns multiple workers, it expects the metadata (including binding name) to be the same accross 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
* More info here: https://github.com/Azure/azure-functions-nodejs-worker/issues/638
*/
function addBindingName<T extends { type: string; name?: string }>(binding: T, suffix: string): T & { name: string } {
if (!binding.name) {
let bindingType = binding.type;
if (!bindingType.toLowerCase().endsWith(suffix.toLowerCase())) {
bindingType += suffix;
}
let count = bindingCounts[bindingType] || 0;
count += 1;
bindingCounts[bindingType] = count;
binding.name = bindingType + count.toString();
}
return <T & { name: string }>binding;
}
export * as output from './output';
export * as trigger from './trigger';

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

import * as types from '@azure/functions';
import { InvocationContextInit, LogHandler, RetryContext, TraceContext, TriggerMetadata } from '@azure/functions';
import {
EffectiveFunctionOptions,
InvocationContextInit,
LogHandler,
RetryContext,
TraceContext,
TriggerMetadata,
} from '@azure/functions';

@@ -16,7 +23,10 @@ export class InvocationContext implements types.InvocationContext {

triggerMetadata?: TriggerMetadata;
options: EffectiveFunctionOptions;
#userLogHandler: LogHandler;
constructor(init: InvocationContextInit) {
this.invocationId = init.invocationId;
this.functionName = init.functionName;
constructor(init?: InvocationContextInit) {
init = init || {};
const fallbackString = 'unknown';
this.invocationId = init.invocationId || fallbackString;
this.functionName = init.functionName || fallbackString;
this.extraInputs = new InvocationContextExtraInputs();

@@ -27,3 +37,12 @@ this.extraOutputs = new InvocationContextExtraOutputs();

this.triggerMetadata = init.triggerMetadata;
this.#userLogHandler = init.logHandler;
this.options = {
trigger: init.options?.trigger || {
name: fallbackString,
type: fallbackString,
},
return: init.options?.return,
extraInputs: init.options?.extraInputs || [],
extraOutputs: init.options?.extraOutputs || [],
};
this.#userLogHandler = init.logHandler || fallbackLogHandler;
}

@@ -79,1 +98,24 @@

}
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);
}
}

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

import { returnBindingKey } from './constants';
import { fromRpcBindings } from './converters/fromRpcBindings';
import { fromRpcRetryContext, fromRpcTraceContext } from './converters/fromRpcContext';

@@ -57,2 +58,3 @@ import { fromRpcTriggerMetadata } from './converters/fromRpcTriggerMetadata';

triggerMetadata: fromRpcTriggerMetadata(req.triggerMetadata, this.#triggerType),
options: fromRpcBindings(this.#bindings),
});

@@ -59,0 +61,0 @@

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License.
import {
CosmosDBFunctionOptions,
CosmosDBInput,
CosmosDBInputOptions,
CosmosDBOutput,
CosmosDBOutputOptions,
CosmosDBTrigger,
CosmosDBTriggerOptions,
} from './cosmosDB';
import {
EventGridFunctionOptions,
EventGridOutput,
EventGridOutputOptions,
EventGridTrigger,
EventGridTriggerOptions,
} from './eventGrid';
import {
EventHubFunctionOptions,
EventHubOutput,
EventHubOutputOptions,
EventHubTrigger,
EventHubTriggerOptions,
} from './eventHub';
import { GenericInputOptions, GenericOutputOptions, GenericTriggerOptions } from './generic';
import {
HttpFunctionOptions,
HttpHandler,
HttpMethodFunctionOptions,
HttpOutput,
HttpOutputOptions,
HttpTrigger,
HttpTriggerOptions,
} from './http';
import { InvocationContext } from './InvocationContext';
import {
ServiceBusQueueFunctionOptions,
ServiceBusQueueOutput,
ServiceBusQueueOutputOptions,
ServiceBusQueueTrigger,
ServiceBusQueueTriggerOptions,
ServiceBusTopicFunctionOptions,
ServiceBusTopicOutput,
ServiceBusTopicOutputOptions,
ServiceBusTopicTrigger,
ServiceBusTopicTriggerOptions,
} from './serviceBus';
import {
StorageBlobFunctionOptions,
StorageBlobInput,
StorageBlobInputOptions,
StorageBlobOutput,
StorageBlobOutputOptions,
StorageBlobTrigger,
StorageBlobTriggerOptions,
StorageQueueFunctionOptions,
StorageQueueOutput,
StorageQueueOutputOptions,
StorageQueueTrigger,
StorageQueueTriggerOptions,
} from './storage';
import { TimerFunctionOptions, TimerTrigger, TimerTriggerOptions } from './timer';
export * as app from './app';
export * from './cosmosDB';

@@ -71,286 +12,11 @@ export * from './eventGrid';

export * from './http';
export * as input from './input';
export * from './InvocationContext';
export * as output from './output';
export * from './serviceBus';
export * from './storage';
export * from './timer';
export * as trigger from './trigger';
/**
* The root namespace for performing operations on your Azure Function App
*/
export namespace app {
/**
* Registers an http function in your app that will be triggered by making a request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function http(name: string, options: HttpFunctionOptions): void;
/**
* Registers an http function in your app that will be triggered by making a 'GET' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param handler The handler for this function
*/
export function get(name: string, handler: HttpHandler): void;
/**
* Registers an http function in your app that will be triggered by making a 'GET' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function get(name: string, options: HttpMethodFunctionOptions): void;
/**
* Registers an http function in your app that will be triggered by making a 'PUT' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param handler The handler for this function
*/
export function put(name: string, handler: HttpHandler): void;
/**
* Registers an http function in your app that will be triggered by making a 'PUT' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function put(name: string, options: HttpMethodFunctionOptions): void;
/**
* Registers an http function in your app that will be triggered by making a 'POST' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param handler The handler for this function
*/
export function post(name: string, handler: HttpHandler): void;
/**
* Registers an http function in your app that will be triggered by making a 'POST' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function post(name: string, options: HttpMethodFunctionOptions): void;
/**
* Registers an http function in your app that will be triggered by making a 'PATCH' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param handler The handler for this function
*/
export function patch(name: string, handler: HttpHandler): void;
/**
* Registers an http function in your app that will be triggered by making a 'PATCH' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function patch(name: string, options: HttpMethodFunctionOptions): void;
/**
* Registers an http function in your app that will be triggered by making a 'DELETE' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param handler The handler for this function
*/
export function deleteRequest(name: string, handler: HttpHandler): void;
/**
* Registers an http function in your app that will be triggered by making a 'DELETE' request to the function url
* @param name The name of the function. This will be the route unless a route is explicitly configured in the `HttpTriggerOptions`
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function deleteRequest(name: string, options: HttpMethodFunctionOptions): void;
/**
* Registers a timer function in your app that will be triggered on a schedule
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function timer(name: string, options: TimerFunctionOptions): void;
/**
* Registers a function in your app that will be triggered whenever an item is added to a storage blob path
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function storageBlob(name: string, options: StorageBlobFunctionOptions): void;
/**
* Registers a function in your app that will be triggered whenever an item is added to a storage queue
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function storageQueue(name: string, options: StorageQueueFunctionOptions): void;
/**
* Registers a function in your app that will be triggered whenever a message is added to a service bus queue
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function serviceBusQueue(name: string, options: ServiceBusQueueFunctionOptions): void;
/**
* Registers a function in your app that will be triggered whenever a message is added to a service bus topic
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function serviceBusTopic(name: string, options: ServiceBusTopicFunctionOptions): void;
/**
* Registers a function in your app that will be triggered whenever a message is added to an event hub
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function eventHub(name: string, options: EventHubFunctionOptions): void;
/**
* Registers a function in your app that will be triggered whenever an event is sent by an event grid source
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function eventGrid(name: string, options: EventGridFunctionOptions): void;
/**
* Registers a Cosmos DB function in your app that will be triggered whenever inserts and updates occur (not deletions)
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function cosmosDB(name: string, options: CosmosDBFunctionOptions): void;
/**
* Registers a generic function in your app that will be triggered based on the type specified in `options.trigger.type`
* Use this method if your desired trigger type does not already have its own method
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes
* @param options Configuration options describing the inputs, outputs, and handler for this function
*/
export function generic(name: string, options: FunctionOptions): void;
}
/**
* The root namespace used to help create trigger configuration (the primary input)
* You can create trigger config without this namespace, but it provides features like autocomplete, better build errors, and it will set the `name` property for you
*/
export namespace trigger {
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-http-webhook-trigger?&pivots=programming-language-javascript)
*/
export function http(options: HttpTriggerOptions): HttpTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-timer?pivots=programming-language-javascript)
*/
export function timer(options: TimerTriggerOptions): TimerTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-blob-trigger?pivots=programming-language-javascript)
*/
export function storageBlob(options: StorageBlobTriggerOptions): StorageBlobTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-queue-trigger?pivots=programming-language-javascript)
*/
export function storageQueue(options: StorageQueueTriggerOptions): StorageQueueTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus-trigger?pivots=programming-language-javascript)
*/
export function serviceBusQueue(options: ServiceBusQueueTriggerOptions): ServiceBusQueueTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus-trigger?pivots=programming-language-javascript)
*/
export function serviceBusTopic(options: ServiceBusTopicTriggerOptions): ServiceBusTopicTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-event-hubs-trigger?pivots=programming-language-javascript)
*/
export function eventHub(options: EventHubTriggerOptions): EventHubTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-event-grid-trigger?pivots=programming-language-javascript)
*/
export function eventGrid(options: EventGridTriggerOptions): EventGridTrigger;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-cosmosdb-v2-trigger?pivots=programming-language-javascript)
*/
export function cosmosDB(options: CosmosDBTriggerOptions): CosmosDBTrigger;
/**
* A generic option that can be used for any trigger type
* Use this method if your desired trigger type does not already have its own method
*/
export function generic(options: GenericTriggerOptions): FunctionTrigger;
}
/**
* The root namespace used to help create secondary input configuration ("trigger" is the primary input)
* You can create input config without this namespace, but it provides features like autocomplete, better build errors, and it will set the `name` property for you
* NOTE: Not all triggers can be used as secondary inputs
*/
export namespace input {
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-blob-input?pivots=programming-language-javascript)
*/
export function storageBlob(options: StorageBlobInputOptions): StorageBlobInput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-cosmosdb-v2-input?pivots=programming-language-javascript)
*/
export function cosmosDB(options: CosmosDBInputOptions): CosmosDBInput;
/**
* A generic option that can be used for any input type
* Use this method if your desired input type does not already have its own method
*/
export function generic(options: GenericInputOptions): FunctionInput;
}
/**
* The root namespace used to help create output configuration
* You can create output config without this namespace, but it provides features like autocomplete, better build errors, and it will set the `name` property for you
*/
export namespace output {
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-http-webhook-output?&pivots=programming-language-javascript)
*/
export function http(options: HttpOutputOptions): HttpOutput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-blob-output?pivots=programming-language-javascript)
*/
export function storageBlob(options: StorageBlobOutputOptions): StorageBlobOutput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-storage-queue-output?pivots=programming-language-javascript)
*/
export function storageQueue(options: StorageQueueOutputOptions): StorageQueueOutput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus-output?pivots=programming-language-javascript)
*/
export function serviceBusQueue(options: ServiceBusQueueOutputOptions): ServiceBusQueueOutput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-service-bus-output?pivots=programming-language-javascript)
*/
export function serviceBusTopic(options: ServiceBusTopicOutputOptions): ServiceBusTopicOutput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-event-hubs-output?pivots=programming-language-javascript)
*/
export function eventHub(options: EventHubOutputOptions): EventHubOutput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-event-grid-output?pivots=programming-language-javascript)
*/
export function eventGrid(options: EventGridOutputOptions): EventGridOutput;
/**
* [Link to docs and examples](https://docs.microsoft.com/azure/azure-functions/functions-bindings-cosmosdb-v2-output?pivots=programming-language-javascript)
*/
export function cosmosDB(options: CosmosDBOutputOptions): CosmosDBOutput;
/**
* A generic option that can be used for any output type
* Use this method if your desired output type does not already have its own method
*/
export function generic(options: GenericOutputOptions): FunctionOutput;
}
/**
* Void if no `return` output is registered

@@ -357,0 +23,0 @@ * Otherwise, the registered `return` output

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

import { HttpOutput, HttpResponse } from './http';
import { FunctionInput, FunctionOutput } from './index';
import { FunctionInput, FunctionOutput, FunctionTrigger } from './index';
import { ServiceBusQueueOutput, ServiceBusTopicOutput } from './serviceBus';

@@ -20,3 +20,3 @@ import { StorageBlobInput, StorageBlobOutput, StorageQueueOutput } from './storage';

*/
constructor(init: InvocationContextInit);
constructor(init?: InvocationContextInit);

@@ -95,2 +95,8 @@ /**

triggerMetadata?: TriggerMetadata;
/**
* The options used when registering the function
* NOTE: This value may differ slightly from the original because it has been validated and defaults may have been explicitly added
*/
options: EffectiveFunctionOptions;
}

@@ -253,2 +259,32 @@

/**
* The options used when registering the function, as passed to a specific invocation
* NOTE: This value may differ slightly from the original because it has been validated and defaults may have been explicitly added
*/
export interface EffectiveFunctionOptions {
/**
* Configuration for the primary input to the function, aka the reason it will be triggered
* This is the only input that is passed as an argument to the function handler during invocation
*/
trigger: FunctionTrigger;
/**
* Configuration for the optional primary output of the function
* This is the main output that you should set as the return value of the function handler during invocation
*/
return?: FunctionOutput;
/**
* Configuration for an optional set of secondary inputs
* During invocation, get these values with `context.extraInputs.get()`
*/
extraInputs: FunctionInput[];
/**
* Configuration for an optional set of secondary outputs
* During invocation, set these values with `context.extraOutputs.set()`
*/
extraOutputs: FunctionOutput[];
}
/**
* For testing purposes only. This will always be constructed for you when run in the context of the Azure Functions runtime

@@ -258,9 +294,15 @@ */

/**
* A unique guid for this invocation
* Defaults to 'unknown' if not specified
*/
invocationId: string;
invocationId?: string;
functionName: string;
/**
* Defaults to 'unknown' if not specified
*/
functionName?: string;
logHandler: LogHandler;
/**
* Defaults to Node.js console if not specified
*/
logHandler?: LogHandler;

@@ -272,2 +314,7 @@ traceContext?: TraceContext;

triggerMetadata?: TriggerMetadata;
/**
* Defaults to a trigger with 'unknown' type and name if not specified
*/
options?: Partial<EffectiveFunctionOptions>;
}

@@ -274,0 +321,0 @@

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