@azure/eventgrid 4.7.1-alpha.20220223.5 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -6
- package/dist/index.js +15 -4
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/generatedClient.js +1 -1
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +1 -1
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +4 -2
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +9 -0
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/package.json +6 -6
- package/types/eventgrid.d.ts +2 -2
@@ -81,6 +81,15 @@ export const events1 = {
|
|
81
81
|
}
|
82
82
|
}
|
83
83
|
};
|
84
|
+
export const aegChannelName = {
|
85
|
+
parameterPath: ["options", "aegChannelName"],
|
86
|
+
mapper: {
|
87
|
+
serializedName: "aeg-channel-name",
|
88
|
+
type: {
|
89
|
+
name: "String"
|
90
|
+
}
|
91
|
+
}
|
92
|
+
};
|
84
93
|
export const events2 = {
|
85
94
|
parameterPath: "events",
|
86
95
|
mapper: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aA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,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,KAAK;iBACZ;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const events: OperationParameter = {\n parameterPath: \"events\",\n mapper: {\n serializedName: \"events\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EventGridEvent\"\n }\n }\n }\n }\n};\n\nexport const topicHostname: OperationURLParameter = {\n parameterPath: \"topicHostname\",\n mapper: {\n serializedName: \"topicHostname\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2018-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/cloudevents-batch+json; charset=utf-8\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const events1: OperationParameter = {\n parameterPath: \"events\",\n mapper: {\n serializedName: \"events\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudEvent\"\n }\n }\n }\n }\n};\n\nexport const events2: OperationParameter = {\n parameterPath: \"events\",\n mapper: {\n serializedName: \"events\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"any\"\n }\n }\n }\n }\n};\n"]}
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,gBAAgB;iBAC5B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA0B;IAClD,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE;QACN,cAAc,EAAE,eAAe;QAC/B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,mDAAmD;QACjE,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,YAAY;iBACxB;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAuB;IAChD,aAAa,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAC5C,MAAM,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,KAAK;iBACZ;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const events: OperationParameter = {\n parameterPath: \"events\",\n mapper: {\n serializedName: \"events\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EventGridEvent\"\n }\n }\n }\n }\n};\n\nexport const topicHostname: OperationURLParameter = {\n parameterPath: \"topicHostname\",\n mapper: {\n serializedName: \"topicHostname\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2018-01-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType1: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/cloudevents-batch+json; charset=utf-8\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const events1: OperationParameter = {\n parameterPath: \"events\",\n mapper: {\n serializedName: \"events\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudEvent\"\n }\n }\n }\n }\n};\n\nexport const aegChannelName: OperationParameter = {\n parameterPath: [\"options\", \"aegChannelName\"],\n mapper: {\n serializedName: \"aeg-channel-name\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const events2: OperationParameter = {\n parameterPath: \"events\",\n mapper: {\n serializedName: \"events\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"any\"\n }\n }\n }\n }\n};\n"]}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"sdk-type": "client",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "An isomorphic client library for the Azure Event Grid service.",
|
6
|
-
"version": "4.
|
6
|
+
"version": "4.8.0",
|
7
7
|
"keywords": [
|
8
8
|
"node",
|
9
9
|
"azure",
|
@@ -88,7 +88,7 @@
|
|
88
88
|
"autoPublish": false,
|
89
89
|
"dependencies": {
|
90
90
|
"@azure/core-auth": "^1.3.0",
|
91
|
-
"@azure/core-client": "
|
91
|
+
"@azure/core-client": "^1.5.0",
|
92
92
|
"@azure/core-rest-pipeline": "^1.1.0",
|
93
93
|
"@azure/core-tracing": "1.0.0-preview.13",
|
94
94
|
"@azure/logger": "^1.0.0",
|
@@ -96,11 +96,11 @@
|
|
96
96
|
"uuid": "^8.3.0"
|
97
97
|
},
|
98
98
|
"devDependencies": {
|
99
|
-
"@azure/dev-tool": "
|
100
|
-
"@azure/eslint-plugin-azure-sdk": "
|
99
|
+
"@azure/dev-tool": "^1.0.0",
|
100
|
+
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
101
101
|
"@azure/service-bus": "^7.0.0",
|
102
|
-
"@azure/test-utils": "
|
103
|
-
"@azure-tools/test-recorder": "
|
102
|
+
"@azure/test-utils": "^1.0.0",
|
103
|
+
"@azure-tools/test-recorder": "^2.0.0",
|
104
104
|
"@microsoft/api-extractor": "^7.18.11",
|
105
105
|
"@types/chai": "^4.1.6",
|
106
106
|
"@types/chai-as-promised": "^7.1.0",
|
package/types/eventgrid.d.ts
CHANGED
@@ -1372,10 +1372,10 @@ export declare interface MediaJobError {
|
|
1372
1372
|
}
|
1373
1373
|
|
1374
1374
|
/** Defines values for MediaJobErrorCategory. */
|
1375
|
-
export declare type MediaJobErrorCategory = "Service" | "Download" | "Upload" | "Configuration" | "Content";
|
1375
|
+
export declare type MediaJobErrorCategory = "Service" | "Download" | "Upload" | "Configuration" | "Content" | "Account";
|
1376
1376
|
|
1377
1377
|
/** Defines values for MediaJobErrorCode. */
|
1378
|
-
export declare type MediaJobErrorCode = "ServiceError" | "ServiceTransientError" | "DownloadNotAccessible" | "DownloadTransientError" | "UploadNotAccessible" | "UploadTransientError" | "ConfigurationUnsupported" | "ContentMalformed" | "ContentUnsupported";
|
1378
|
+
export declare type MediaJobErrorCode = "ServiceError" | "ServiceTransientError" | "DownloadNotAccessible" | "DownloadTransientError" | "UploadNotAccessible" | "UploadTransientError" | "ConfigurationUnsupported" | "ContentMalformed" | "ContentUnsupported" | "IdentityUnsupported";
|
1379
1379
|
|
1380
1380
|
/** Details of JobOutput errors. */
|
1381
1381
|
export declare interface MediaJobErrorDetail {
|