@azure/eventgrid 5.2.1-alpha.20240312.1 → 5.3.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/dist/index.js +85 -2
- package/dist/index.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 +80 -0
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/index.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/package.json +4 -4
- package/types/eventgrid.d.ts +32 -0
package/dist/index.js
CHANGED
@@ -8058,6 +8058,86 @@ const AvsScriptExecutionEventData = {
|
|
8058
8058
|
}
|
8059
8059
|
}
|
8060
8060
|
};
|
8061
|
+
const ApiCenterApiDefinitionAddedEventData = {
|
8062
|
+
type: {
|
8063
|
+
name: "Composite",
|
8064
|
+
className: "ApiCenterApiDefinitionAddedEventData",
|
8065
|
+
modelProperties: {
|
8066
|
+
title: {
|
8067
|
+
serializedName: "title",
|
8068
|
+
required: true,
|
8069
|
+
type: {
|
8070
|
+
name: "String"
|
8071
|
+
}
|
8072
|
+
},
|
8073
|
+
description: {
|
8074
|
+
serializedName: "description",
|
8075
|
+
required: true,
|
8076
|
+
type: {
|
8077
|
+
name: "String"
|
8078
|
+
}
|
8079
|
+
},
|
8080
|
+
specification: {
|
8081
|
+
serializedName: "specification",
|
8082
|
+
type: {
|
8083
|
+
name: "Composite",
|
8084
|
+
className: "ApiCenterApiSpecification"
|
8085
|
+
}
|
8086
|
+
}
|
8087
|
+
}
|
8088
|
+
}
|
8089
|
+
};
|
8090
|
+
const ApiCenterApiSpecification = {
|
8091
|
+
type: {
|
8092
|
+
name: "Composite",
|
8093
|
+
className: "ApiCenterApiSpecification",
|
8094
|
+
modelProperties: {
|
8095
|
+
name: {
|
8096
|
+
serializedName: "name",
|
8097
|
+
required: true,
|
8098
|
+
type: {
|
8099
|
+
name: "String"
|
8100
|
+
}
|
8101
|
+
},
|
8102
|
+
version: {
|
8103
|
+
serializedName: "version",
|
8104
|
+
required: true,
|
8105
|
+
type: {
|
8106
|
+
name: "String"
|
8107
|
+
}
|
8108
|
+
}
|
8109
|
+
}
|
8110
|
+
}
|
8111
|
+
};
|
8112
|
+
const ApiCenterApiDefinitionUpdatedEventData = {
|
8113
|
+
type: {
|
8114
|
+
name: "Composite",
|
8115
|
+
className: "ApiCenterApiDefinitionUpdatedEventData",
|
8116
|
+
modelProperties: {
|
8117
|
+
title: {
|
8118
|
+
serializedName: "title",
|
8119
|
+
required: true,
|
8120
|
+
type: {
|
8121
|
+
name: "String"
|
8122
|
+
}
|
8123
|
+
},
|
8124
|
+
description: {
|
8125
|
+
serializedName: "description",
|
8126
|
+
required: true,
|
8127
|
+
type: {
|
8128
|
+
name: "String"
|
8129
|
+
}
|
8130
|
+
},
|
8131
|
+
specification: {
|
8132
|
+
serializedName: "specification",
|
8133
|
+
type: {
|
8134
|
+
name: "Composite",
|
8135
|
+
className: "ApiCenterApiSpecification"
|
8136
|
+
}
|
8137
|
+
}
|
8138
|
+
}
|
8139
|
+
}
|
8140
|
+
};
|
8061
8141
|
const EventGridMqttClientCreatedOrUpdatedEventData = {
|
8062
8142
|
type: {
|
8063
8143
|
name: "Composite",
|
@@ -9832,6 +9912,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
9832
9912
|
AcsSmsEventBase: AcsSmsEventBase,
|
9833
9913
|
AcsSmsReceivedEventData: AcsSmsReceivedEventData,
|
9834
9914
|
AcsUserDisconnectedEventData: AcsUserDisconnectedEventData,
|
9915
|
+
ApiCenterApiDefinitionAddedEventData: ApiCenterApiDefinitionAddedEventData,
|
9916
|
+
ApiCenterApiDefinitionUpdatedEventData: ApiCenterApiDefinitionUpdatedEventData,
|
9917
|
+
ApiCenterApiSpecification: ApiCenterApiSpecification,
|
9835
9918
|
ApiManagementApiCreatedEventData: ApiManagementApiCreatedEventData,
|
9836
9919
|
ApiManagementApiDeletedEventData: ApiManagementApiDeletedEventData,
|
9837
9920
|
ApiManagementApiReleaseCreatedEventData: ApiManagementApiReleaseCreatedEventData,
|
@@ -10073,7 +10156,7 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
|
|
10073
10156
|
const defaults = {
|
10074
10157
|
requestContentType: "application/json; charset=utf-8"
|
10075
10158
|
};
|
10076
|
-
const packageDetails = `azsdk-js-eventgrid/5.
|
10159
|
+
const packageDetails = `azsdk-js-eventgrid/5.3.0`;
|
10077
10160
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
10078
10161
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
10079
10162
|
: `${packageDetails}`;
|
@@ -10228,7 +10311,7 @@ function cloudEventDistributedTracingEnricherPolicy() {
|
|
10228
10311
|
const tracingClient = coreTracing.createTracingClient({
|
10229
10312
|
namespace: "Microsoft.Messaging.EventGrid",
|
10230
10313
|
packageName: "@azure/event-grid",
|
10231
|
-
packageVersion: "5.
|
10314
|
+
packageVersion: "5.3.0",
|
10232
10315
|
});
|
10233
10316
|
|
10234
10317
|
// Copyright (c) Microsoft Corporation.
|