@azure/eventgrid 4.5.1-alpha.20211209.2 → 4.6.0-alpha.20220110.2
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 +23 -4
- package/dist/index.js +206 -63
- package/dist/index.js.map +1 -1
- package/dist-esm/src/cloudEventDistrubtedTracingEnricherPolicy.js +1 -1
- package/dist-esm/src/cloudEventDistrubtedTracingEnricherPolicy.js.map +1 -1
- package/dist-esm/src/consumer.js +2 -2
- package/dist-esm/src/consumer.js.map +1 -1
- package/dist-esm/src/cryptoHelpers.browser.js +1 -1
- package/dist-esm/src/cryptoHelpers.browser.js.map +1 -1
- package/dist-esm/src/cryptoHelpers.js +1 -3
- package/dist-esm/src/cryptoHelpers.js.map +1 -1
- package/dist-esm/src/eventGridAuthenticationPolicy.js +1 -1
- package/dist-esm/src/eventGridAuthenticationPolicy.js.map +1 -1
- package/dist-esm/src/eventGridClient.js +6 -4
- package/dist-esm/src/eventGridClient.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 +189 -43
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/index.js +2 -2
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models.js +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/predicates.js.map +1 -1
- package/dist-esm/src/tracing.js +1 -1
- package/dist-esm/src/tracing.js.map +1 -1
- package/dist-esm/src/util.js +3 -9
- package/dist-esm/src/util.js.map +1 -1
- package/package.json +6 -8
- package/types/eventgrid.d.ts +123 -28
@@ -965,16 +965,17 @@ export const ResourceWriteSuccessEventData = {
|
|
965
965
|
},
|
966
966
|
authorization: {
|
967
967
|
serializedName: "authorization",
|
968
|
-
required: true,
|
969
968
|
type: {
|
970
|
-
name: "
|
969
|
+
name: "Composite",
|
970
|
+
className: "ResourceAuthorization"
|
971
971
|
}
|
972
972
|
},
|
973
973
|
claims: {
|
974
974
|
serializedName: "claims",
|
975
975
|
required: true,
|
976
976
|
type: {
|
977
|
-
name: "
|
977
|
+
name: "Dictionary",
|
978
|
+
value: { type: { name: "String" } }
|
978
979
|
}
|
979
980
|
},
|
980
981
|
correlationId: {
|
@@ -986,6 +987,72 @@ export const ResourceWriteSuccessEventData = {
|
|
986
987
|
},
|
987
988
|
httpRequest: {
|
988
989
|
serializedName: "httpRequest",
|
990
|
+
type: {
|
991
|
+
name: "Composite",
|
992
|
+
className: "ResourceHttpRequest"
|
993
|
+
}
|
994
|
+
}
|
995
|
+
}
|
996
|
+
}
|
997
|
+
};
|
998
|
+
export const ResourceAuthorization = {
|
999
|
+
type: {
|
1000
|
+
name: "Composite",
|
1001
|
+
className: "ResourceAuthorization",
|
1002
|
+
modelProperties: {
|
1003
|
+
scope: {
|
1004
|
+
serializedName: "scope",
|
1005
|
+
required: true,
|
1006
|
+
type: {
|
1007
|
+
name: "String"
|
1008
|
+
}
|
1009
|
+
},
|
1010
|
+
action: {
|
1011
|
+
serializedName: "action",
|
1012
|
+
required: true,
|
1013
|
+
type: {
|
1014
|
+
name: "String"
|
1015
|
+
}
|
1016
|
+
},
|
1017
|
+
evidence: {
|
1018
|
+
serializedName: "evidence",
|
1019
|
+
required: true,
|
1020
|
+
type: {
|
1021
|
+
name: "Dictionary",
|
1022
|
+
value: { type: { name: "String" } }
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
};
|
1028
|
+
export const ResourceHttpRequest = {
|
1029
|
+
type: {
|
1030
|
+
name: "Composite",
|
1031
|
+
className: "ResourceHttpRequest",
|
1032
|
+
modelProperties: {
|
1033
|
+
clientRequestId: {
|
1034
|
+
serializedName: "clientRequestId",
|
1035
|
+
required: true,
|
1036
|
+
type: {
|
1037
|
+
name: "String"
|
1038
|
+
}
|
1039
|
+
},
|
1040
|
+
clientIpAddress: {
|
1041
|
+
serializedName: "clientIpAddress",
|
1042
|
+
required: true,
|
1043
|
+
type: {
|
1044
|
+
name: "String"
|
1045
|
+
}
|
1046
|
+
},
|
1047
|
+
method: {
|
1048
|
+
serializedName: "method",
|
1049
|
+
required: true,
|
1050
|
+
type: {
|
1051
|
+
name: "String"
|
1052
|
+
}
|
1053
|
+
},
|
1054
|
+
url: {
|
1055
|
+
serializedName: "url",
|
989
1056
|
required: true,
|
990
1057
|
type: {
|
991
1058
|
name: "String"
|
@@ -1050,16 +1117,17 @@ export const ResourceWriteFailureEventData = {
|
|
1050
1117
|
},
|
1051
1118
|
authorization: {
|
1052
1119
|
serializedName: "authorization",
|
1053
|
-
required: true,
|
1054
1120
|
type: {
|
1055
|
-
name: "
|
1121
|
+
name: "Composite",
|
1122
|
+
className: "ResourceAuthorization"
|
1056
1123
|
}
|
1057
1124
|
},
|
1058
1125
|
claims: {
|
1059
1126
|
serializedName: "claims",
|
1060
1127
|
required: true,
|
1061
1128
|
type: {
|
1062
|
-
name: "
|
1129
|
+
name: "Dictionary",
|
1130
|
+
value: { type: { name: "String" } }
|
1063
1131
|
}
|
1064
1132
|
},
|
1065
1133
|
correlationId: {
|
@@ -1071,9 +1139,9 @@ export const ResourceWriteFailureEventData = {
|
|
1071
1139
|
},
|
1072
1140
|
httpRequest: {
|
1073
1141
|
serializedName: "httpRequest",
|
1074
|
-
required: true,
|
1075
1142
|
type: {
|
1076
|
-
name: "
|
1143
|
+
name: "Composite",
|
1144
|
+
className: "ResourceHttpRequest"
|
1077
1145
|
}
|
1078
1146
|
}
|
1079
1147
|
}
|
@@ -1135,16 +1203,17 @@ export const ResourceWriteCancelEventData = {
|
|
1135
1203
|
},
|
1136
1204
|
authorization: {
|
1137
1205
|
serializedName: "authorization",
|
1138
|
-
required: true,
|
1139
1206
|
type: {
|
1140
|
-
name: "
|
1207
|
+
name: "Composite",
|
1208
|
+
className: "ResourceAuthorization"
|
1141
1209
|
}
|
1142
1210
|
},
|
1143
1211
|
claims: {
|
1144
1212
|
serializedName: "claims",
|
1145
1213
|
required: true,
|
1146
1214
|
type: {
|
1147
|
-
name: "
|
1215
|
+
name: "Dictionary",
|
1216
|
+
value: { type: { name: "String" } }
|
1148
1217
|
}
|
1149
1218
|
},
|
1150
1219
|
correlationId: {
|
@@ -1156,9 +1225,9 @@ export const ResourceWriteCancelEventData = {
|
|
1156
1225
|
},
|
1157
1226
|
httpRequest: {
|
1158
1227
|
serializedName: "httpRequest",
|
1159
|
-
required: true,
|
1160
1228
|
type: {
|
1161
|
-
name: "
|
1229
|
+
name: "Composite",
|
1230
|
+
className: "ResourceHttpRequest"
|
1162
1231
|
}
|
1163
1232
|
}
|
1164
1233
|
}
|
@@ -1220,16 +1289,17 @@ export const ResourceDeleteSuccessEventData = {
|
|
1220
1289
|
},
|
1221
1290
|
authorization: {
|
1222
1291
|
serializedName: "authorization",
|
1223
|
-
required: true,
|
1224
1292
|
type: {
|
1225
|
-
name: "
|
1293
|
+
name: "Composite",
|
1294
|
+
className: "ResourceAuthorization"
|
1226
1295
|
}
|
1227
1296
|
},
|
1228
1297
|
claims: {
|
1229
1298
|
serializedName: "claims",
|
1230
1299
|
required: true,
|
1231
1300
|
type: {
|
1232
|
-
name: "
|
1301
|
+
name: "Dictionary",
|
1302
|
+
value: { type: { name: "String" } }
|
1233
1303
|
}
|
1234
1304
|
},
|
1235
1305
|
correlationId: {
|
@@ -1241,9 +1311,9 @@ export const ResourceDeleteSuccessEventData = {
|
|
1241
1311
|
},
|
1242
1312
|
httpRequest: {
|
1243
1313
|
serializedName: "httpRequest",
|
1244
|
-
required: true,
|
1245
1314
|
type: {
|
1246
|
-
name: "
|
1315
|
+
name: "Composite",
|
1316
|
+
className: "ResourceHttpRequest"
|
1247
1317
|
}
|
1248
1318
|
}
|
1249
1319
|
}
|
@@ -1305,16 +1375,17 @@ export const ResourceDeleteFailureEventData = {
|
|
1305
1375
|
},
|
1306
1376
|
authorization: {
|
1307
1377
|
serializedName: "authorization",
|
1308
|
-
required: true,
|
1309
1378
|
type: {
|
1310
|
-
name: "
|
1379
|
+
name: "Composite",
|
1380
|
+
className: "ResourceAuthorization"
|
1311
1381
|
}
|
1312
1382
|
},
|
1313
1383
|
claims: {
|
1314
1384
|
serializedName: "claims",
|
1315
1385
|
required: true,
|
1316
1386
|
type: {
|
1317
|
-
name: "
|
1387
|
+
name: "Dictionary",
|
1388
|
+
value: { type: { name: "String" } }
|
1318
1389
|
}
|
1319
1390
|
},
|
1320
1391
|
correlationId: {
|
@@ -1326,9 +1397,9 @@ export const ResourceDeleteFailureEventData = {
|
|
1326
1397
|
},
|
1327
1398
|
httpRequest: {
|
1328
1399
|
serializedName: "httpRequest",
|
1329
|
-
required: true,
|
1330
1400
|
type: {
|
1331
|
-
name: "
|
1401
|
+
name: "Composite",
|
1402
|
+
className: "ResourceHttpRequest"
|
1332
1403
|
}
|
1333
1404
|
}
|
1334
1405
|
}
|
@@ -1390,16 +1461,17 @@ export const ResourceDeleteCancelEventData = {
|
|
1390
1461
|
},
|
1391
1462
|
authorization: {
|
1392
1463
|
serializedName: "authorization",
|
1393
|
-
required: true,
|
1394
1464
|
type: {
|
1395
|
-
name: "
|
1465
|
+
name: "Composite",
|
1466
|
+
className: "ResourceAuthorization"
|
1396
1467
|
}
|
1397
1468
|
},
|
1398
1469
|
claims: {
|
1399
1470
|
serializedName: "claims",
|
1400
1471
|
required: true,
|
1401
1472
|
type: {
|
1402
|
-
name: "
|
1473
|
+
name: "Dictionary",
|
1474
|
+
value: { type: { name: "String" } }
|
1403
1475
|
}
|
1404
1476
|
},
|
1405
1477
|
correlationId: {
|
@@ -1411,9 +1483,9 @@ export const ResourceDeleteCancelEventData = {
|
|
1411
1483
|
},
|
1412
1484
|
httpRequest: {
|
1413
1485
|
serializedName: "httpRequest",
|
1414
|
-
required: true,
|
1415
1486
|
type: {
|
1416
|
-
name: "
|
1487
|
+
name: "Composite",
|
1488
|
+
className: "ResourceHttpRequest"
|
1417
1489
|
}
|
1418
1490
|
}
|
1419
1491
|
}
|
@@ -1475,16 +1547,17 @@ export const ResourceActionSuccessEventData = {
|
|
1475
1547
|
},
|
1476
1548
|
authorization: {
|
1477
1549
|
serializedName: "authorization",
|
1478
|
-
required: true,
|
1479
1550
|
type: {
|
1480
|
-
name: "
|
1551
|
+
name: "Composite",
|
1552
|
+
className: "ResourceAuthorization"
|
1481
1553
|
}
|
1482
1554
|
},
|
1483
1555
|
claims: {
|
1484
1556
|
serializedName: "claims",
|
1485
1557
|
required: true,
|
1486
1558
|
type: {
|
1487
|
-
name: "
|
1559
|
+
name: "Dictionary",
|
1560
|
+
value: { type: { name: "String" } }
|
1488
1561
|
}
|
1489
1562
|
},
|
1490
1563
|
correlationId: {
|
@@ -1496,9 +1569,9 @@ export const ResourceActionSuccessEventData = {
|
|
1496
1569
|
},
|
1497
1570
|
httpRequest: {
|
1498
1571
|
serializedName: "httpRequest",
|
1499
|
-
required: true,
|
1500
1572
|
type: {
|
1501
|
-
name: "
|
1573
|
+
name: "Composite",
|
1574
|
+
className: "ResourceHttpRequest"
|
1502
1575
|
}
|
1503
1576
|
}
|
1504
1577
|
}
|
@@ -1560,16 +1633,17 @@ export const ResourceActionFailureEventData = {
|
|
1560
1633
|
},
|
1561
1634
|
authorization: {
|
1562
1635
|
serializedName: "authorization",
|
1563
|
-
required: true,
|
1564
1636
|
type: {
|
1565
|
-
name: "
|
1637
|
+
name: "Composite",
|
1638
|
+
className: "ResourceAuthorization"
|
1566
1639
|
}
|
1567
1640
|
},
|
1568
1641
|
claims: {
|
1569
1642
|
serializedName: "claims",
|
1570
1643
|
required: true,
|
1571
1644
|
type: {
|
1572
|
-
name: "
|
1645
|
+
name: "Dictionary",
|
1646
|
+
value: { type: { name: "String" } }
|
1573
1647
|
}
|
1574
1648
|
},
|
1575
1649
|
correlationId: {
|
@@ -1581,9 +1655,9 @@ export const ResourceActionFailureEventData = {
|
|
1581
1655
|
},
|
1582
1656
|
httpRequest: {
|
1583
1657
|
serializedName: "httpRequest",
|
1584
|
-
required: true,
|
1585
1658
|
type: {
|
1586
|
-
name: "
|
1659
|
+
name: "Composite",
|
1660
|
+
className: "ResourceHttpRequest"
|
1587
1661
|
}
|
1588
1662
|
}
|
1589
1663
|
}
|
@@ -1645,16 +1719,17 @@ export const ResourceActionCancelEventData = {
|
|
1645
1719
|
},
|
1646
1720
|
authorization: {
|
1647
1721
|
serializedName: "authorization",
|
1648
|
-
required: true,
|
1649
1722
|
type: {
|
1650
|
-
name: "
|
1723
|
+
name: "Composite",
|
1724
|
+
className: "ResourceAuthorization"
|
1651
1725
|
}
|
1652
1726
|
},
|
1653
1727
|
claims: {
|
1654
1728
|
serializedName: "claims",
|
1655
1729
|
required: true,
|
1656
1730
|
type: {
|
1657
|
-
name: "
|
1731
|
+
name: "Dictionary",
|
1732
|
+
value: { type: { name: "String" } }
|
1658
1733
|
}
|
1659
1734
|
},
|
1660
1735
|
correlationId: {
|
@@ -1666,9 +1741,9 @@ export const ResourceActionCancelEventData = {
|
|
1666
1741
|
},
|
1667
1742
|
httpRequest: {
|
1668
1743
|
serializedName: "httpRequest",
|
1669
|
-
required: true,
|
1670
1744
|
type: {
|
1671
|
-
name: "
|
1745
|
+
name: "Composite",
|
1746
|
+
className: "ResourceHttpRequest"
|
1672
1747
|
}
|
1673
1748
|
}
|
1674
1749
|
}
|
@@ -2030,6 +2105,13 @@ export const ContainerRegistryEventData = {
|
|
2030
2105
|
name: "String"
|
2031
2106
|
}
|
2032
2107
|
},
|
2108
|
+
location: {
|
2109
|
+
serializedName: "location",
|
2110
|
+
required: true,
|
2111
|
+
type: {
|
2112
|
+
name: "String"
|
2113
|
+
}
|
2114
|
+
},
|
2033
2115
|
target: {
|
2034
2116
|
serializedName: "target",
|
2035
2117
|
type: {
|
@@ -2057,6 +2139,13 @@ export const ContainerRegistryEventData = {
|
|
2057
2139
|
name: "Composite",
|
2058
2140
|
className: "ContainerRegistryEventSource"
|
2059
2141
|
}
|
2142
|
+
},
|
2143
|
+
connectedRegistry: {
|
2144
|
+
serializedName: "connectedRegistry",
|
2145
|
+
type: {
|
2146
|
+
name: "Composite",
|
2147
|
+
className: "ContainerRegistryEventConnectedRegistry"
|
2148
|
+
}
|
2060
2149
|
}
|
2061
2150
|
}
|
2062
2151
|
}
|
@@ -2198,6 +2287,21 @@ export const ContainerRegistryEventSource = {
|
|
2198
2287
|
}
|
2199
2288
|
}
|
2200
2289
|
};
|
2290
|
+
export const ContainerRegistryEventConnectedRegistry = {
|
2291
|
+
type: {
|
2292
|
+
name: "Composite",
|
2293
|
+
className: "ContainerRegistryEventConnectedRegistry",
|
2294
|
+
modelProperties: {
|
2295
|
+
name: {
|
2296
|
+
serializedName: "name",
|
2297
|
+
required: true,
|
2298
|
+
type: {
|
2299
|
+
name: "String"
|
2300
|
+
}
|
2301
|
+
}
|
2302
|
+
}
|
2303
|
+
}
|
2304
|
+
};
|
2201
2305
|
export const ContainerRegistryArtifactEventData = {
|
2202
2306
|
type: {
|
2203
2307
|
name: "Composite",
|
@@ -2224,12 +2328,26 @@ export const ContainerRegistryArtifactEventData = {
|
|
2224
2328
|
name: "String"
|
2225
2329
|
}
|
2226
2330
|
},
|
2331
|
+
location: {
|
2332
|
+
serializedName: "location",
|
2333
|
+
required: true,
|
2334
|
+
type: {
|
2335
|
+
name: "String"
|
2336
|
+
}
|
2337
|
+
},
|
2227
2338
|
target: {
|
2228
2339
|
serializedName: "target",
|
2229
2340
|
type: {
|
2230
2341
|
name: "Composite",
|
2231
2342
|
className: "ContainerRegistryArtifactEventTarget"
|
2232
2343
|
}
|
2344
|
+
},
|
2345
|
+
connectedRegistry: {
|
2346
|
+
serializedName: "connectedRegistry",
|
2347
|
+
type: {
|
2348
|
+
name: "Composite",
|
2349
|
+
className: "ContainerRegistryEventConnectedRegistry"
|
2350
|
+
}
|
2233
2351
|
}
|
2234
2352
|
}
|
2235
2353
|
}
|
@@ -5649,6 +5767,27 @@ export const AcsRecordingFileStatusUpdatedEventData = {
|
|
5649
5767
|
name: "Number"
|
5650
5768
|
}
|
5651
5769
|
},
|
5770
|
+
recordingContentType: {
|
5771
|
+
serializedName: "recordingContentType",
|
5772
|
+
required: true,
|
5773
|
+
type: {
|
5774
|
+
name: "String"
|
5775
|
+
}
|
5776
|
+
},
|
5777
|
+
recordingChannelType: {
|
5778
|
+
serializedName: "recordingChannelType",
|
5779
|
+
required: true,
|
5780
|
+
type: {
|
5781
|
+
name: "String"
|
5782
|
+
}
|
5783
|
+
},
|
5784
|
+
recordingFormatType: {
|
5785
|
+
serializedName: "recordingFormatType",
|
5786
|
+
required: true,
|
5787
|
+
type: {
|
5788
|
+
name: "String"
|
5789
|
+
}
|
5790
|
+
},
|
5652
5791
|
sessionEndReason: {
|
5653
5792
|
serializedName: "sessionEndReason",
|
5654
5793
|
required: true,
|
@@ -5719,6 +5858,13 @@ export const AcsRecordingChunkInfo = {
|
|
5719
5858
|
type: {
|
5720
5859
|
name: "String"
|
5721
5860
|
}
|
5861
|
+
},
|
5862
|
+
deleteLocation: {
|
5863
|
+
serializedName: "deleteLocation",
|
5864
|
+
required: true,
|
5865
|
+
type: {
|
5866
|
+
name: "String"
|
5867
|
+
}
|
5722
5868
|
}
|
5723
5869
|
}
|
5724
5870
|
}
|