@azure/eventgrid 5.10.0 → 5.11.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.
Files changed (116) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +52 -51
  3. package/dist/browser/eventGridClient.d.ts +4 -4
  4. package/dist/browser/eventGridClient.js +4 -4
  5. package/dist/browser/eventGridClient.js.map +1 -1
  6. package/dist/browser/generated/generatedClient.d.ts +9 -6
  7. package/dist/browser/generated/generatedClient.d.ts.map +1 -1
  8. package/dist/browser/generated/generatedClient.js +48 -6
  9. package/dist/browser/generated/generatedClient.js.map +1 -1
  10. package/dist/browser/generated/index.d.ts +0 -1
  11. package/dist/browser/generated/index.d.ts.map +1 -1
  12. package/dist/browser/generated/index.js +0 -1
  13. package/dist/browser/generated/index.js.map +1 -1
  14. package/dist/browser/generated/models/index.d.ts +324 -215
  15. package/dist/browser/generated/models/index.d.ts.map +1 -1
  16. package/dist/browser/generated/models/index.js +626 -1
  17. package/dist/browser/generated/models/index.js.map +1 -1
  18. package/dist/browser/generated/models/mappers.d.ts +1 -0
  19. package/dist/browser/generated/models/mappers.d.ts.map +1 -1
  20. package/dist/browser/generated/models/mappers.js +3088 -3021
  21. package/dist/browser/generated/models/mappers.js.map +1 -1
  22. package/dist/browser/generated/models/parameters.d.ts.map +1 -1
  23. package/dist/browser/generated/models/parameters.js +31 -30
  24. package/dist/browser/generated/models/parameters.js.map +1 -1
  25. package/dist/browser/index.d.ts +1 -1
  26. package/dist/browser/index.d.ts.map +1 -1
  27. package/dist/browser/index.js +1 -0
  28. package/dist/browser/index.js.map +1 -1
  29. package/dist/browser/tracing.js +1 -1
  30. package/dist/browser/tracing.js.map +1 -1
  31. package/dist/commonjs/eventGridClient.d.ts +4 -4
  32. package/dist/commonjs/eventGridClient.js +4 -4
  33. package/dist/commonjs/eventGridClient.js.map +1 -1
  34. package/dist/commonjs/generated/generatedClient.d.ts +9 -6
  35. package/dist/commonjs/generated/generatedClient.d.ts.map +1 -1
  36. package/dist/commonjs/generated/generatedClient.js +48 -6
  37. package/dist/commonjs/generated/generatedClient.js.map +1 -1
  38. package/dist/commonjs/generated/index.d.ts +0 -1
  39. package/dist/commonjs/generated/index.d.ts.map +1 -1
  40. package/dist/commonjs/generated/index.js +1 -3
  41. package/dist/commonjs/generated/index.js.map +1 -1
  42. package/dist/commonjs/generated/models/index.d.ts +324 -215
  43. package/dist/commonjs/generated/models/index.d.ts.map +1 -1
  44. package/dist/commonjs/generated/models/index.js +627 -0
  45. package/dist/commonjs/generated/models/index.js.map +1 -1
  46. package/dist/commonjs/generated/models/mappers.d.ts +1 -0
  47. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -1
  48. package/dist/commonjs/generated/models/mappers.js +3092 -3025
  49. package/dist/commonjs/generated/models/mappers.js.map +1 -1
  50. package/dist/commonjs/generated/models/parameters.d.ts.map +1 -1
  51. package/dist/commonjs/generated/models/parameters.js +31 -30
  52. package/dist/commonjs/generated/models/parameters.js.map +1 -1
  53. package/dist/commonjs/index.d.ts +1 -1
  54. package/dist/commonjs/index.d.ts.map +1 -1
  55. package/dist/commonjs/index.js +27 -1
  56. package/dist/commonjs/index.js.map +1 -1
  57. package/dist/commonjs/tracing.js +1 -1
  58. package/dist/commonjs/tracing.js.map +1 -1
  59. package/dist/commonjs/tsdoc-metadata.json +1 -1
  60. package/dist/esm/eventGridClient.d.ts +4 -4
  61. package/dist/esm/eventGridClient.js +4 -4
  62. package/dist/esm/eventGridClient.js.map +1 -1
  63. package/dist/esm/generated/generatedClient.d.ts +9 -6
  64. package/dist/esm/generated/generatedClient.d.ts.map +1 -1
  65. package/dist/esm/generated/generatedClient.js +48 -6
  66. package/dist/esm/generated/generatedClient.js.map +1 -1
  67. package/dist/esm/generated/index.d.ts +0 -1
  68. package/dist/esm/generated/index.d.ts.map +1 -1
  69. package/dist/esm/generated/index.js +0 -1
  70. package/dist/esm/generated/index.js.map +1 -1
  71. package/dist/esm/generated/models/index.d.ts +324 -215
  72. package/dist/esm/generated/models/index.d.ts.map +1 -1
  73. package/dist/esm/generated/models/index.js +626 -1
  74. package/dist/esm/generated/models/index.js.map +1 -1
  75. package/dist/esm/generated/models/mappers.d.ts +1 -0
  76. package/dist/esm/generated/models/mappers.d.ts.map +1 -1
  77. package/dist/esm/generated/models/mappers.js +3088 -3021
  78. package/dist/esm/generated/models/mappers.js.map +1 -1
  79. package/dist/esm/generated/models/parameters.d.ts.map +1 -1
  80. package/dist/esm/generated/models/parameters.js +31 -30
  81. package/dist/esm/generated/models/parameters.js.map +1 -1
  82. package/dist/esm/index.d.ts +1 -1
  83. package/dist/esm/index.d.ts.map +1 -1
  84. package/dist/esm/index.js +1 -0
  85. package/dist/esm/index.js.map +1 -1
  86. package/dist/esm/tracing.js +1 -1
  87. package/dist/esm/tracing.js.map +1 -1
  88. package/dist/react-native/eventGridClient.d.ts +4 -4
  89. package/dist/react-native/eventGridClient.js +4 -4
  90. package/dist/react-native/eventGridClient.js.map +1 -1
  91. package/dist/react-native/generated/generatedClient.d.ts +9 -6
  92. package/dist/react-native/generated/generatedClient.d.ts.map +1 -1
  93. package/dist/react-native/generated/generatedClient.js +48 -6
  94. package/dist/react-native/generated/generatedClient.js.map +1 -1
  95. package/dist/react-native/generated/index.d.ts +0 -1
  96. package/dist/react-native/generated/index.d.ts.map +1 -1
  97. package/dist/react-native/generated/index.js +0 -1
  98. package/dist/react-native/generated/index.js.map +1 -1
  99. package/dist/react-native/generated/models/index.d.ts +324 -215
  100. package/dist/react-native/generated/models/index.d.ts.map +1 -1
  101. package/dist/react-native/generated/models/index.js +626 -1
  102. package/dist/react-native/generated/models/index.js.map +1 -1
  103. package/dist/react-native/generated/models/mappers.d.ts +1 -0
  104. package/dist/react-native/generated/models/mappers.d.ts.map +1 -1
  105. package/dist/react-native/generated/models/mappers.js +3088 -3021
  106. package/dist/react-native/generated/models/mappers.js.map +1 -1
  107. package/dist/react-native/generated/models/parameters.d.ts.map +1 -1
  108. package/dist/react-native/generated/models/parameters.js +31 -30
  109. package/dist/react-native/generated/models/parameters.js.map +1 -1
  110. package/dist/react-native/index.d.ts +1 -1
  111. package/dist/react-native/index.d.ts.map +1 -1
  112. package/dist/react-native/index.js +1 -0
  113. package/dist/react-native/index.js.map +1 -1
  114. package/dist/react-native/tracing.js +1 -1
  115. package/dist/react-native/tracing.js.map +1 -1
  116. package/package.json +12 -10
@@ -9,7 +9,7 @@ export interface EventGridEvent {
9
9
  /** A resource path relative to the topic path. */
10
10
  subject: string;
11
11
  /** Event data specific to the event type. */
12
- data: any;
12
+ data: Record<string, unknown>;
13
13
  /** The type of the event that occurred. */
14
14
  eventType: string;
15
15
  /** The time (in UTC) the event was generated. */
@@ -31,7 +31,7 @@ export interface CloudEvent {
31
31
  /** Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event. */
32
32
  source: string;
33
33
  /** Event data specific to the event type. */
34
- data?: any;
34
+ data?: Record<string, unknown>;
35
35
  /** Event data specific to the event type, encoded as a base64 string. */
36
36
  dataBase64?: Uint8Array;
37
37
  /** Type of event related to the originating occurrence. */
@@ -74,7 +74,7 @@ export interface StorageBlobCreatedEventData {
74
74
  /** The identity of the requester that triggered this event. */
75
75
  identity?: string;
76
76
  /** For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. */
77
- storageDiagnostics?: any;
77
+ storageDiagnostics?: Record<string, unknown>;
78
78
  }
79
79
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobDeleted event. */
80
80
  export interface StorageBlobDeletedEventData {
@@ -95,7 +95,7 @@ export interface StorageBlobDeletedEventData {
95
95
  /** The identity of the requester that triggered this event. */
96
96
  identity: string;
97
97
  /** For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. */
98
- storageDiagnostics: any;
98
+ storageDiagnostics: Record<string, unknown>;
99
99
  }
100
100
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.DirectoryCreated event. */
101
101
  export interface StorageDirectoryCreatedEventData {
@@ -114,7 +114,7 @@ export interface StorageDirectoryCreatedEventData {
114
114
  /** The identity of the requester that triggered this event. */
115
115
  identity: string;
116
116
  /** For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. */
117
- storageDiagnostics: any;
117
+ storageDiagnostics: Record<string, unknown>;
118
118
  }
119
119
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.DirectoryDeleted event. */
120
120
  export interface StorageDirectoryDeletedEventData {
@@ -133,7 +133,7 @@ export interface StorageDirectoryDeletedEventData {
133
133
  /** The identity of the requester that triggered this event. */
134
134
  identity: string;
135
135
  /** For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. */
136
- storageDiagnostics: any;
136
+ storageDiagnostics: Record<string, unknown>;
137
137
  }
138
138
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobRenamed event. */
139
139
  export interface StorageBlobRenamedEventData {
@@ -152,7 +152,7 @@ export interface StorageBlobRenamedEventData {
152
152
  /** The identity of the requester that triggered this event. */
153
153
  identity: string;
154
154
  /** For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. */
155
- storageDiagnostics: any;
155
+ storageDiagnostics: Record<string, unknown>;
156
156
  }
157
157
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.DirectoryRenamed event. */
158
158
  export interface StorageDirectoryRenamedEventData {
@@ -171,7 +171,7 @@ export interface StorageDirectoryRenamedEventData {
171
171
  /** The identity of the requester that triggered this event. */
172
172
  identity: string;
173
173
  /** For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. */
174
- storageDiagnostics: any;
174
+ storageDiagnostics: Record<string, unknown>;
175
175
  }
176
176
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.LifecyclePolicyCompleted event. */
177
177
  export interface StorageLifecyclePolicyCompletedEventData {
@@ -227,7 +227,7 @@ export interface StorageBlobTierChangedEventData {
227
227
  /** The identity of the requester that triggered this event. */
228
228
  identity?: string;
229
229
  /** For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. */
230
- storageDiagnostics?: any;
230
+ storageDiagnostics?: Record<string, unknown>;
231
231
  }
232
232
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.AsyncOperationInitiated event. */
233
233
  export interface StorageAsyncOperationInitiatedEventData {
@@ -250,7 +250,7 @@ export interface StorageAsyncOperationInitiatedEventData {
250
250
  /** The identity of the requester that triggered this event. */
251
251
  identity: string;
252
252
  /** For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. */
253
- storageDiagnostics: any;
253
+ storageDiagnostics: Record<string, unknown>;
254
254
  }
255
255
  /** Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobInventoryPolicyCompleted event. */
256
256
  export interface StorageBlobInventoryPolicyCompletedEventData {
@@ -736,7 +736,7 @@ export interface DeviceConnectionStateEventInfo {
736
736
  /** Schema of the Data property of an EventGridEvent for a device telemetry event (DeviceTelemetry). */
737
737
  export interface DeviceTelemetryEvent {
738
738
  /** The content of the message from the device. */
739
- body: any;
739
+ body: Record<string, unknown>;
740
740
  /** Application properties are user-defined strings that can be added to the message. These fields are optional. */
741
741
  properties: {
742
742
  [propertyName: string]: string;
@@ -1615,9 +1615,9 @@ export interface MachineLearningServicesModelRegisteredEventData {
1615
1615
  /** The version of the model that was registered. */
1616
1616
  modelVersion: string;
1617
1617
  /** The tags of the model that was registered. */
1618
- modelTags: any;
1618
+ modelTags: Record<string, unknown>;
1619
1619
  /** The properties of the model that was registered. */
1620
- modelProperties: any;
1620
+ modelProperties: Record<string, unknown>;
1621
1621
  }
1622
1622
  /** Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.ModelDeployed event. */
1623
1623
  export interface MachineLearningServicesModelDeployedEventData {
@@ -1628,9 +1628,9 @@ export interface MachineLearningServicesModelDeployedEventData {
1628
1628
  /** A common separated list of model IDs. The IDs of the models deployed in the service. */
1629
1629
  modelIds: string;
1630
1630
  /** The tags of the deployed service. */
1631
- serviceTags: any;
1631
+ serviceTags: Record<string, unknown>;
1632
1632
  /** The properties of the deployed service. */
1633
- serviceProperties: any;
1633
+ serviceProperties: Record<string, unknown>;
1634
1634
  }
1635
1635
  /** Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.RunCompleted event. */
1636
1636
  export interface MachineLearningServicesRunCompletedEventData {
@@ -1643,9 +1643,9 @@ export interface MachineLearningServicesRunCompletedEventData {
1643
1643
  /** The Run Type of the completed Run. */
1644
1644
  runType: string;
1645
1645
  /** The tags of the completed Run. */
1646
- runTags: any;
1646
+ runTags: Record<string, unknown>;
1647
1647
  /** The properties of the completed Run. */
1648
- runProperties: any;
1648
+ runProperties: Record<string, unknown>;
1649
1649
  }
1650
1650
  /** Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.DatasetDriftDetected event. */
1651
1651
  export interface MachineLearningServicesDatasetDriftDetectedEventData {
@@ -1677,9 +1677,9 @@ export interface MachineLearningServicesRunStatusChangedEventData {
1677
1677
  /** The Run Type of the Machine Learning Run. */
1678
1678
  runType: string;
1679
1679
  /** The tags of the Machine Learning Run. */
1680
- runTags: any;
1680
+ runTags: Record<string, unknown>;
1681
1681
  /** The properties of the Machine Learning Run. */
1682
- runProperties: any;
1682
+ runProperties: Record<string, unknown>;
1683
1683
  /** The status of the Machine Learning Run. */
1684
1684
  runStatus: string;
1685
1685
  }
@@ -2085,7 +2085,7 @@ export interface AcsRouterWorkerSelector {
2085
2085
  /** Router Job Worker Selector Label Operator */
2086
2086
  labelOperator: AcsRouterLabelOperator;
2087
2087
  /** Router Job Worker Selector Value */
2088
- labelValue: any;
2088
+ labelValue: Record<string, unknown>;
2089
2089
  /** Router Job Worker Selector Time to Live in Seconds */
2090
2090
  ttlSeconds: number;
2091
2091
  /** Router Job Worker Selector State */
@@ -2277,9 +2277,18 @@ export interface AcsMessageMediaContent {
2277
2277
  /** The media identifier */
2278
2278
  mediaId: string;
2279
2279
  /** The filename of the underlying media file as specified when uploaded */
2280
- fileName: string;
2280
+ fileName?: string;
2281
2281
  /** The caption for the media object, if supported and provided */
2282
- caption: string;
2282
+ caption?: string;
2283
+ /** Set to true if the sticker is animated; false otherwise. */
2284
+ animated?: boolean;
2285
+ }
2286
+ /** Message Reaction Content */
2287
+ export interface AcsMessageReactionContent {
2288
+ /** WhatsApp message ID of message you want to apply the emoji to. */
2289
+ messageId: string;
2290
+ /** Unicode escape sequence of the emoji. */
2291
+ emoji?: string;
2283
2292
  }
2284
2293
  /** Message Context */
2285
2294
  export interface AcsMessageContext {
@@ -2327,9 +2336,9 @@ export interface AcsMessageEventData {
2327
2336
  /** The message recipient */
2328
2337
  to: string;
2329
2338
  /** The time message was received */
2330
- receivedTimestamp: string;
2339
+ receivedTimestamp?: string;
2331
2340
  /** The channel event error */
2332
- error: AcsMessageChannelEventError;
2341
+ error?: AcsMessageChannelEventError;
2333
2342
  }
2334
2343
  /** Message Channel Event Error */
2335
2344
  export interface AcsMessageChannelEventError {
@@ -2718,7 +2727,7 @@ export interface ApiCenterApiDefinitionUpdatedEventData {
2718
2727
  specification: ApiCenterApiSpecification;
2719
2728
  }
2720
2729
  /** Event data for Microsoft.EventGrid.MQTTClientCreatedOrUpdated event. */
2721
- export type EventGridMqttClientCreatedOrUpdatedEventData = EventGridMqttClientEventData & {
2730
+ export interface EventGridMqttClientCreatedOrUpdatedEventData extends EventGridMqttClientEventData {
2722
2731
  /** Configured state of the client. The value could be Enabled or Disabled */
2723
2732
  state: EventGridMqttClientState;
2724
2733
  /** Time the client resource is created based on the provider's UTC time. */
@@ -2729,95 +2738,119 @@ export type EventGridMqttClientCreatedOrUpdatedEventData = EventGridMqttClientEv
2729
2738
  attributes: {
2730
2739
  [propertyName: string]: string;
2731
2740
  };
2732
- };
2741
+ }
2733
2742
  /** Event data for Microsoft.EventGrid.MQTTClientDeleted event. */
2734
- export type EventGridMqttClientDeletedEventData = EventGridMqttClientEventData & {};
2743
+ export interface EventGridMqttClientDeletedEventData extends EventGridMqttClientEventData {
2744
+ }
2735
2745
  /** Event data for Microsoft.EventGrid.MQTTClientSessionConnected event. */
2736
- export type EventGridMqttClientSessionConnectedEventData = EventGridMqttClientEventData & {
2746
+ export interface EventGridMqttClientSessionConnectedEventData extends EventGridMqttClientEventData {
2737
2747
  /** Unique identifier for the MQTT client's session. This case-sensitive string can be up to 128 characters long, and supports UTF-8 characters. */
2738
2748
  clientSessionName: string;
2739
2749
  /** A number that helps indicate order of MQTT client session connected or disconnected events. Latest event will have a sequence number that is higher than the previous event. */
2740
2750
  sequenceNumber: number;
2741
- };
2751
+ }
2742
2752
  /** Event data for Microsoft.EventGrid.MQTTClientSessionDisconnected event. */
2743
- export type EventGridMqttClientSessionDisconnectedEventData = EventGridMqttClientEventData & {
2753
+ export interface EventGridMqttClientSessionDisconnectedEventData extends EventGridMqttClientEventData {
2744
2754
  /** Unique identifier for the MQTT client's session. This case-sensitive string can be up to 128 characters long, and supports UTF-8 characters. */
2745
2755
  clientSessionName: string;
2746
2756
  /** A number that helps indicate order of MQTT client session connected or disconnected events. Latest event will have a sequence number that is higher than the previous event. */
2747
2757
  sequenceNumber: number;
2748
2758
  /** Reason for the disconnection of the MQTT client's session. The value could be one of the values in the disconnection reasons table. */
2749
2759
  disconnectionReason: EventGridMqttClientDisconnectionReason;
2750
- };
2760
+ }
2751
2761
  /** Event data for Microsoft.Devices.DeviceCreated event. */
2752
- export type IotHubDeviceCreatedEventData = DeviceLifeCycleEvent & {};
2762
+ export interface IotHubDeviceCreatedEventData extends DeviceLifeCycleEvent {
2763
+ }
2753
2764
  /** Event data for Microsoft.Devices.DeviceDeleted event. */
2754
- export type IotHubDeviceDeletedEventData = DeviceLifeCycleEvent & {};
2765
+ export interface IotHubDeviceDeletedEventData extends DeviceLifeCycleEvent {
2766
+ }
2755
2767
  /** Event data for Microsoft.Devices.DeviceConnected event. */
2756
- export type IotHubDeviceConnectedEventData = DeviceConnectionStateEvent & {};
2768
+ export interface IotHubDeviceConnectedEventData extends DeviceConnectionStateEvent {
2769
+ }
2757
2770
  /** Event data for Microsoft.Devices.DeviceDisconnected event. */
2758
- export type IotHubDeviceDisconnectedEventData = DeviceConnectionStateEvent & {};
2771
+ export interface IotHubDeviceDisconnectedEventData extends DeviceConnectionStateEvent {
2772
+ }
2759
2773
  /** Event data for Microsoft.Devices.DeviceTelemetry event. */
2760
- export type IotHubDeviceTelemetryEventData = DeviceTelemetryEvent & {};
2774
+ export interface IotHubDeviceTelemetryEventData extends DeviceTelemetryEvent {
2775
+ }
2761
2776
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImagePushed event. */
2762
- export type ContainerRegistryImagePushedEventData = ContainerRegistryEventData & {};
2777
+ export interface ContainerRegistryImagePushedEventData extends ContainerRegistryEventData {
2778
+ }
2763
2779
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImageDeleted event. */
2764
- export type ContainerRegistryImageDeletedEventData = ContainerRegistryEventData & {};
2780
+ export interface ContainerRegistryImageDeletedEventData extends ContainerRegistryEventData {
2781
+ }
2765
2782
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartPushed event. */
2766
- export type ContainerRegistryChartPushedEventData = ContainerRegistryArtifactEventData & {};
2783
+ export interface ContainerRegistryChartPushedEventData extends ContainerRegistryArtifactEventData {
2784
+ }
2767
2785
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartDeleted event. */
2768
- export type ContainerRegistryChartDeletedEventData = ContainerRegistryArtifactEventData & {};
2786
+ export interface ContainerRegistryChartDeletedEventData extends ContainerRegistryArtifactEventData {
2787
+ }
2769
2788
  /** Job scheduled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobScheduled event. */
2770
- export type MediaJobScheduledEventData = MediaJobStateChangeEventData & {};
2789
+ export interface MediaJobScheduledEventData extends MediaJobStateChangeEventData {
2790
+ }
2771
2791
  /** Job processing event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobProcessing event. */
2772
- export type MediaJobProcessingEventData = MediaJobStateChangeEventData & {};
2792
+ export interface MediaJobProcessingEventData extends MediaJobStateChangeEventData {
2793
+ }
2773
2794
  /** Job canceling event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobCanceling event. */
2774
- export type MediaJobCancelingEventData = MediaJobStateChangeEventData & {};
2795
+ export interface MediaJobCancelingEventData extends MediaJobStateChangeEventData {
2796
+ }
2775
2797
  /** Job finished event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobFinished event. */
2776
- export type MediaJobFinishedEventData = MediaJobStateChangeEventData & {
2798
+ export interface MediaJobFinishedEventData extends MediaJobStateChangeEventData {
2777
2799
  /** Gets the Job outputs. */
2778
2800
  outputs: MediaJobOutputUnion[];
2779
- };
2801
+ }
2780
2802
  /** Job canceled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobCanceled event. */
2781
- export type MediaJobCanceledEventData = MediaJobStateChangeEventData & {
2803
+ export interface MediaJobCanceledEventData extends MediaJobStateChangeEventData {
2782
2804
  /** Gets the Job outputs. */
2783
2805
  outputs: MediaJobOutputUnion[];
2784
- };
2806
+ }
2785
2807
  /** Job error state event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobErrored event. */
2786
- export type MediaJobErroredEventData = MediaJobStateChangeEventData & {
2808
+ export interface MediaJobErroredEventData extends MediaJobStateChangeEventData {
2787
2809
  /** Gets the Job outputs. */
2788
2810
  outputs: MediaJobOutputUnion[];
2789
- };
2811
+ }
2790
2812
  /** The event data for a Job output asset. */
2791
- export type MediaJobOutputAsset = MediaJobOutput & {
2813
+ export interface MediaJobOutputAsset extends MediaJobOutput {
2792
2814
  /** Polymorphic discriminator, which specifies the different types this object can be */
2793
2815
  odataType: "#Microsoft.Media.JobOutputAsset";
2794
2816
  /** Gets the Job output asset name. */
2795
2817
  assetName: string;
2796
- };
2818
+ }
2797
2819
  /** Job output canceled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputCanceled event. */
2798
- export type MediaJobOutputCanceledEventData = MediaJobOutputStateChangeEventData & {};
2820
+ export interface MediaJobOutputCanceledEventData extends MediaJobOutputStateChangeEventData {
2821
+ }
2799
2822
  /** Job output canceling event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputCanceling event. */
2800
- export type MediaJobOutputCancelingEventData = MediaJobOutputStateChangeEventData & {};
2823
+ export interface MediaJobOutputCancelingEventData extends MediaJobOutputStateChangeEventData {
2824
+ }
2801
2825
  /** Job output error event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputErrored event. */
2802
- export type MediaJobOutputErroredEventData = MediaJobOutputStateChangeEventData & {};
2826
+ export interface MediaJobOutputErroredEventData extends MediaJobOutputStateChangeEventData {
2827
+ }
2803
2828
  /** Job output finished event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputFinished event. */
2804
- export type MediaJobOutputFinishedEventData = MediaJobOutputStateChangeEventData & {};
2829
+ export interface MediaJobOutputFinishedEventData extends MediaJobOutputStateChangeEventData {
2830
+ }
2805
2831
  /** Job output processing event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputProcessing event. */
2806
- export type MediaJobOutputProcessingEventData = MediaJobOutputStateChangeEventData & {};
2832
+ export interface MediaJobOutputProcessingEventData extends MediaJobOutputStateChangeEventData {
2833
+ }
2807
2834
  /** Job output scheduled event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.JobOutputScheduled event. */
2808
- export type MediaJobOutputScheduledEventData = MediaJobOutputStateChangeEventData & {};
2835
+ export interface MediaJobOutputScheduledEventData extends MediaJobOutputStateChangeEventData {
2836
+ }
2809
2837
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceEntered event. */
2810
- export type MapsGeofenceEnteredEventData = MapsGeofenceEvent & {};
2838
+ export interface MapsGeofenceEnteredEventData extends MapsGeofenceEvent {
2839
+ }
2811
2840
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceExited event. */
2812
- export type MapsGeofenceExitedEventData = MapsGeofenceEvent & {};
2841
+ export interface MapsGeofenceExitedEventData extends MapsGeofenceEvent {
2842
+ }
2813
2843
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceResult event. */
2814
- export type MapsGeofenceResultEventData = MapsGeofenceEvent & {};
2844
+ export interface MapsGeofenceResultEventData extends MapsGeofenceEvent {
2845
+ }
2815
2846
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.SnapshotCreated event. */
2816
- export type AppConfigurationSnapshotCreatedEventData = AppConfigurationSnapshotEventData & {};
2847
+ export interface AppConfigurationSnapshotCreatedEventData extends AppConfigurationSnapshotEventData {
2848
+ }
2817
2849
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.SnapshotModified event. */
2818
- export type AppConfigurationSnapshotModifiedEventData = AppConfigurationSnapshotEventData & {};
2850
+ export interface AppConfigurationSnapshotModifiedEventData extends AppConfigurationSnapshotEventData {
2851
+ }
2819
2852
  /** Schema of common properties of all Router Job events */
2820
- export type AcsRouterJobEventData = AcsRouterEventData & {
2853
+ export interface AcsRouterJobEventData extends AcsRouterEventData {
2821
2854
  /** Router Job events Queue Id */
2822
2855
  queueId: string;
2823
2856
  /** Router Job events Labels */
@@ -2828,14 +2861,14 @@ export type AcsRouterJobEventData = AcsRouterEventData & {
2828
2861
  tags: {
2829
2862
  [propertyName: string]: string;
2830
2863
  };
2831
- };
2864
+ }
2832
2865
  /** Schema of common properties of all Router Worker events */
2833
- export type AcsRouterWorkerEventData = AcsRouterEventData & {
2866
+ export interface AcsRouterWorkerEventData extends AcsRouterEventData {
2834
2867
  /** Router Worker events Worker Id */
2835
2868
  workerId: string;
2836
- };
2869
+ }
2837
2870
  /** Schema of common properties of all chat message events */
2838
- export type AcsChatMessageEventBase = AcsChatEventBase & {
2871
+ export interface AcsChatMessageEventBase extends AcsChatEventBase {
2839
2872
  /** The chat message id */
2840
2873
  messageId: string;
2841
2874
  /** The communication identifier of the sender */
@@ -2848,16 +2881,16 @@ export type AcsChatMessageEventBase = AcsChatEventBase & {
2848
2881
  type: string;
2849
2882
  /** The version of the message */
2850
2883
  version: number;
2851
- };
2884
+ }
2852
2885
  /** Schema of common properties of all chat thread events */
2853
- export type AcsChatThreadEventBase = AcsChatEventBase & {
2886
+ export interface AcsChatThreadEventBase extends AcsChatEventBase {
2854
2887
  /** The original creation time of the thread */
2855
2888
  createTime: string;
2856
2889
  /** The version of the thread */
2857
2890
  version: number;
2858
- };
2891
+ }
2859
2892
  /** Schema of common properties of all thread-level chat message events */
2860
- export type AcsChatMessageEventInThreadBase = AcsChatEventInThreadBase & {
2893
+ export interface AcsChatMessageEventInThreadBase extends AcsChatEventInThreadBase {
2861
2894
  /** The chat message id */
2862
2895
  messageId: string;
2863
2896
  /** The communication identifier of the sender */
@@ -2870,16 +2903,16 @@ export type AcsChatMessageEventInThreadBase = AcsChatEventInThreadBase & {
2870
2903
  type: string;
2871
2904
  /** The version of the message */
2872
2905
  version: number;
2873
- };
2906
+ }
2874
2907
  /** Schema of common properties of all chat thread events */
2875
- export type AcsChatThreadEventInThreadBase = AcsChatEventInThreadBase & {
2908
+ export interface AcsChatThreadEventInThreadBase extends AcsChatEventInThreadBase {
2876
2909
  /** The original creation time of the thread */
2877
2910
  createTime: string;
2878
2911
  /** The version of the thread */
2879
2912
  version: number;
2880
- };
2913
+ }
2881
2914
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantAdded event. */
2882
- export type AcsChatParticipantAddedToThreadEventData = AcsChatEventInThreadBase & {
2915
+ export interface AcsChatParticipantAddedToThreadEventData extends AcsChatEventInThreadBase {
2883
2916
  /** The time at which the user was added to the thread */
2884
2917
  time: string;
2885
2918
  /** The communication identifier of the user who added the user */
@@ -2888,9 +2921,9 @@ export type AcsChatParticipantAddedToThreadEventData = AcsChatEventInThreadBase
2888
2921
  participantAdded: AcsChatThreadParticipant;
2889
2922
  /** The version of the thread */
2890
2923
  version: number;
2891
- };
2924
+ }
2892
2925
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantRemoved event. */
2893
- export type AcsChatParticipantRemovedFromThreadEventData = AcsChatEventInThreadBase & {
2926
+ export interface AcsChatParticipantRemovedFromThreadEventData extends AcsChatEventInThreadBase {
2894
2927
  /** The time at which the user was removed to the thread */
2895
2928
  time: string;
2896
2929
  /** The communication identifier of the user who removed the user */
@@ -2899,9 +2932,9 @@ export type AcsChatParticipantRemovedFromThreadEventData = AcsChatEventInThreadB
2899
2932
  participantRemoved: AcsChatThreadParticipant;
2900
2933
  /** The version of the thread */
2901
2934
  version: number;
2902
- };
2935
+ }
2903
2936
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event. */
2904
- export type AcsSmsDeliveryReportReceivedEventData = AcsSmsEventBase & {
2937
+ export interface AcsSmsDeliveryReportReceivedEventData extends AcsSmsEventBase {
2905
2938
  /** Status of Delivery */
2906
2939
  deliveryStatus: string;
2907
2940
  /** Details about Delivery Status */
@@ -2912,114 +2945,138 @@ export type AcsSmsDeliveryReportReceivedEventData = AcsSmsEventBase & {
2912
2945
  receivedTimestamp: string;
2913
2946
  /** Customer Content */
2914
2947
  tag: string;
2915
- };
2948
+ }
2916
2949
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSReceived event. */
2917
- export type AcsSmsReceivedEventData = AcsSmsEventBase & {
2950
+ export interface AcsSmsReceivedEventData extends AcsSmsEventBase {
2918
2951
  /** The SMS content */
2919
2952
  message?: string;
2920
2953
  /** The time at which the SMS was received */
2921
2954
  receivedTimestamp?: string;
2922
2955
  /** Number of segments in the message */
2923
2956
  segmentCount: number;
2924
- };
2957
+ }
2925
2958
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.AdvancedMessageReceived event. */
2926
- export type AcsMessageReceivedEventData = AcsMessageEventData & {
2959
+ export interface AcsMessageReceivedEventData extends AcsMessageEventData {
2927
2960
  /** The received message content */
2928
- content: string;
2961
+ content?: string;
2962
+ /** Message ID. Format is Guid as string. */
2963
+ messageId?: string;
2929
2964
  /** The received message channel Kind */
2930
- channelKind: AcsMessageChannelKind;
2965
+ channelKind?: AcsMessageChannelKind;
2966
+ /** WhatsApp Message Type */
2967
+ messageType: string;
2931
2968
  /** The received message media content */
2932
- mediaContent: AcsMessageMediaContent;
2969
+ mediaContent?: AcsMessageMediaContent;
2970
+ /** The received message reaction content */
2971
+ reaction?: AcsMessageReactionContent;
2933
2972
  /** The received message context */
2934
- context: AcsMessageContext;
2973
+ context?: AcsMessageContext;
2935
2974
  /** The received message button content */
2936
- button: AcsMessageButtonContent;
2975
+ button?: AcsMessageButtonContent;
2937
2976
  /** The received message interactive content */
2938
- interactiveContent: AcsMessageInteractiveContent;
2939
- };
2977
+ interactiveContent?: AcsMessageInteractiveContent;
2978
+ }
2940
2979
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated event. */
2941
- export type AcsMessageDeliveryStatusUpdatedEventData = AcsMessageEventData & {
2980
+ export interface AcsMessageDeliveryStatusUpdatedEventData extends AcsMessageEventData {
2942
2981
  /** The message id */
2943
2982
  messageId: string;
2944
2983
  /** The updated message status */
2945
2984
  status: AcsMessageDeliveryStatus;
2946
2985
  /** The updated message channel type */
2947
2986
  channelKind: AcsMessageChannelKind;
2948
- };
2987
+ }
2949
2988
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnded event */
2950
- export type ContainerServiceClusterSupportEndedEventData = ContainerServiceClusterSupportEventData & {};
2989
+ export interface ContainerServiceClusterSupportEndedEventData extends ContainerServiceClusterSupportEventData {
2990
+ }
2951
2991
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnding event */
2952
- export type ContainerServiceClusterSupportEndingEventData = ContainerServiceClusterSupportEventData & {};
2992
+ export interface ContainerServiceClusterSupportEndingEventData extends ContainerServiceClusterSupportEventData {
2993
+ }
2953
2994
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingStarted event */
2954
- export type ContainerServiceNodePoolRollingStartedEventData = ContainerServiceNodePoolRollingEventData & {};
2995
+ export interface ContainerServiceNodePoolRollingStartedEventData extends ContainerServiceNodePoolRollingEventData {
2996
+ }
2955
2997
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingSucceeded event */
2956
- export type ContainerServiceNodePoolRollingSucceededEventData = ContainerServiceNodePoolRollingEventData & {};
2998
+ export interface ContainerServiceNodePoolRollingSucceededEventData extends ContainerServiceNodePoolRollingEventData {
2999
+ }
2957
3000
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingFailed event */
2958
- export type ContainerServiceNodePoolRollingFailedEventData = ContainerServiceNodePoolRollingEventData & {};
3001
+ export interface ContainerServiceNodePoolRollingFailedEventData extends ContainerServiceNodePoolRollingEventData {
3002
+ }
2959
3003
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged event. */
2960
- export type ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData = ResourceNotificationsResourceUpdatedEventData & {};
3004
+ export interface ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData extends ResourceNotificationsResourceUpdatedEventData {
3005
+ }
2961
3006
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated event. */
2962
- export type ResourceNotificationsHealthResourcesAnnotatedEventData = ResourceNotificationsResourceUpdatedEventData & {};
3007
+ export interface ResourceNotificationsHealthResourcesAnnotatedEventData extends ResourceNotificationsResourceUpdatedEventData {
3008
+ }
2963
3009
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.Resources.CreatedOrUpdated event. */
2964
- export type ResourceNotificationsResourceManagementCreatedOrUpdatedEventData = ResourceNotificationsResourceUpdatedEventData & {};
3010
+ export interface ResourceNotificationsResourceManagementCreatedOrUpdatedEventData extends ResourceNotificationsResourceUpdatedEventData {
3011
+ }
2965
3012
  /** Schema of the Data property of an event grid event for a Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted preview event. */
2966
- export type ResourceNotificationsContainerServiceEventResourcesScheduledEventData = ResourceNotificationsResourceUpdatedEventData & {};
3013
+ export interface ResourceNotificationsContainerServiceEventResourcesScheduledEventData extends ResourceNotificationsResourceUpdatedEventData {
3014
+ }
2967
3015
  /** Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.Resources.Deleted event. */
2968
- export type ResourceNotificationsResourceManagementDeletedEventData = ResourceNotificationsResourceDeletedEventData & {};
3016
+ export interface ResourceNotificationsResourceManagementDeletedEventData extends ResourceNotificationsResourceDeletedEventData {
3017
+ }
2969
3018
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudUpdating event. */
2970
- export type AvsPrivateCloudUpdatingEventData = AvsPrivateCloudEventData & {};
3019
+ export interface AvsPrivateCloudUpdatingEventData extends AvsPrivateCloudEventData {
3020
+ }
2971
3021
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudUpdated event. */
2972
- export type AvsPrivateCloudUpdatedEventData = AvsPrivateCloudEventData & {};
3022
+ export interface AvsPrivateCloudUpdatedEventData extends AvsPrivateCloudEventData {
3023
+ }
2973
3024
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudFailed event. */
2974
- export type AvsPrivateCloudFailedEventData = AvsPrivateCloudEventData & {
3025
+ export interface AvsPrivateCloudFailedEventData extends AvsPrivateCloudEventData {
2975
3026
  /** Failure reason of an event. */
2976
3027
  failureMessage: string;
2977
- };
3028
+ }
2978
3029
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterCreated event. */
2979
- export type AvsClusterCreatedEventData = AvsClusterEventData & {};
3030
+ export interface AvsClusterCreatedEventData extends AvsClusterEventData {
3031
+ }
2980
3032
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterDeleted event. */
2981
- export type AvsClusterDeletedEventData = AvsClusterEventData & {};
3033
+ export interface AvsClusterDeletedEventData extends AvsClusterEventData {
3034
+ }
2982
3035
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterUpdating event. */
2983
- export type AvsClusterUpdatingEventData = AvsClusterEventData & {};
3036
+ export interface AvsClusterUpdatingEventData extends AvsClusterEventData {
3037
+ }
2984
3038
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterUpdated event. */
2985
- export type AvsClusterUpdatedEventData = AvsClusterEventData & {};
3039
+ export interface AvsClusterUpdatedEventData extends AvsClusterEventData {
3040
+ }
2986
3041
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterFailed event. */
2987
- export type AvsClusterFailedEventData = AvsClusterEventData & {
3042
+ export interface AvsClusterFailedEventData extends AvsClusterEventData {
2988
3043
  /** Failure reason of an event. */
2989
3044
  failureMessage: string;
2990
- };
3045
+ }
2991
3046
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionStarted event. */
2992
- export type AvsScriptExecutionStartedEventData = AvsScriptExecutionEventData & {};
3047
+ export interface AvsScriptExecutionStartedEventData extends AvsScriptExecutionEventData {
3048
+ }
2993
3049
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionFinished event. */
2994
- export type AvsScriptExecutionFinishedEventData = AvsScriptExecutionEventData & {
3050
+ export interface AvsScriptExecutionFinishedEventData extends AvsScriptExecutionEventData {
2995
3051
  /** Named outputs of completed execution, if any. */
2996
3052
  namedOutputs: {
2997
3053
  [propertyName: string]: string;
2998
3054
  };
2999
- };
3055
+ }
3000
3056
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionCancelled event. */
3001
- export type AvsScriptExecutionCancelledEventData = AvsScriptExecutionEventData & {};
3057
+ export interface AvsScriptExecutionCancelledEventData extends AvsScriptExecutionEventData {
3058
+ }
3002
3059
  /** Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionFailed event. */
3003
- export type AvsScriptExecutionFailedEventData = AvsScriptExecutionEventData & {
3060
+ export interface AvsScriptExecutionFailedEventData extends AvsScriptExecutionEventData {
3004
3061
  /** Failure reason of an event. */
3005
3062
  failureMessage: string;
3006
- };
3063
+ }
3007
3064
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobCancelled event */
3008
- export type AcsRouterJobCancelledEventData = AcsRouterJobEventData & {
3065
+ export interface AcsRouterJobCancelledEventData extends AcsRouterJobEventData {
3009
3066
  /** Router Job Note */
3010
3067
  note: string;
3011
3068
  /** Router Job Disposition Code */
3012
3069
  dispositionCode: string;
3013
- };
3070
+ }
3014
3071
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClassificationFailed event */
3015
- export type AcsRouterJobClassificationFailedEventData = AcsRouterJobEventData & {
3072
+ export interface AcsRouterJobClassificationFailedEventData extends AcsRouterJobEventData {
3016
3073
  /** Router Job Classification Policy Id */
3017
3074
  classificationPolicyId: string;
3018
3075
  /** Router Job Classification Failed Errors */
3019
3076
  errors: AcsRouterCommunicationError[];
3020
- };
3077
+ }
3021
3078
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClassified event */
3022
- export type AcsRouterJobClassifiedEventData = AcsRouterJobEventData & {
3079
+ export interface AcsRouterJobClassifiedEventData extends AcsRouterJobEventData {
3023
3080
  /** Router Job Queue Info */
3024
3081
  queueDetails: AcsRouterQueueDetails;
3025
3082
  /** Router Job Classification Policy Id */
@@ -3028,43 +3085,44 @@ export type AcsRouterJobClassifiedEventData = AcsRouterJobEventData & {
3028
3085
  priority: number;
3029
3086
  /** Router Job Attached Worker Selector */
3030
3087
  attachedWorkerSelectors: AcsRouterWorkerSelector[];
3031
- };
3088
+ }
3032
3089
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClosed event */
3033
- export type AcsRouterJobClosedEventData = AcsRouterJobEventData & {
3090
+ export interface AcsRouterJobClosedEventData extends AcsRouterJobEventData {
3034
3091
  /** Router Job Closed Assignment Id */
3035
3092
  assignmentId: string;
3036
3093
  /** Router Job Closed Worker Id */
3037
3094
  workerId: string;
3038
3095
  /** Router Job Closed Disposition Code */
3039
3096
  dispositionCode: string;
3040
- };
3097
+ }
3041
3098
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobCompleted event */
3042
- export type AcsRouterJobCompletedEventData = AcsRouterJobEventData & {
3099
+ export interface AcsRouterJobCompletedEventData extends AcsRouterJobEventData {
3043
3100
  /** Router Job Completed Assignment Id */
3044
3101
  assignmentId: string;
3045
3102
  /** Router Job Completed Worker Id */
3046
3103
  workerId: string;
3047
- };
3104
+ }
3048
3105
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobDeleted event */
3049
- export type AcsRouterJobDeletedEventData = AcsRouterJobEventData & {};
3106
+ export interface AcsRouterJobDeletedEventData extends AcsRouterJobEventData {
3107
+ }
3050
3108
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobExceptionTriggered event */
3051
- export type AcsRouterJobExceptionTriggeredEventData = AcsRouterJobEventData & {
3109
+ export interface AcsRouterJobExceptionTriggeredEventData extends AcsRouterJobEventData {
3052
3110
  /** Router Job Exception Triggered Rule Key */
3053
3111
  ruleKey: string;
3054
3112
  /** Router Job Exception Triggered Rule Id */
3055
3113
  exceptionRuleId: string;
3056
- };
3114
+ }
3057
3115
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobQueued event */
3058
- export type AcsRouterJobQueuedEventData = AcsRouterJobEventData & {
3116
+ export interface AcsRouterJobQueuedEventData extends AcsRouterJobEventData {
3059
3117
  /** Router Job Priority */
3060
3118
  priority: number;
3061
3119
  /** Router Job Queued Attached Worker Selector */
3062
3120
  attachedWorkerSelectors: AcsRouterWorkerSelector[];
3063
3121
  /** Router Job Queued Requested Worker Selector */
3064
3122
  requestedWorkerSelectors: AcsRouterWorkerSelector[];
3065
- };
3123
+ }
3066
3124
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobReceived event */
3067
- export type AcsRouterJobReceivedEventData = AcsRouterJobEventData & {
3125
+ export interface AcsRouterJobReceivedEventData extends AcsRouterJobEventData {
3068
3126
  /** Router Job Received Job Status */
3069
3127
  jobStatus?: AcsRouterJobStatus;
3070
3128
  /** Router Job Classification Policy Id */
@@ -3077,9 +3135,9 @@ export type AcsRouterJobReceivedEventData = AcsRouterJobEventData & {
3077
3135
  scheduledOn?: string;
3078
3136
  /** Unavailable For Matching for Router Job Received */
3079
3137
  unavailableForMatching: boolean;
3080
- };
3138
+ }
3081
3139
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobSchedulingFailed event */
3082
- export type AcsRouterJobSchedulingFailedEventData = AcsRouterJobEventData & {
3140
+ export interface AcsRouterJobSchedulingFailedEventData extends AcsRouterJobEventData {
3083
3141
  /** Router Job Priority */
3084
3142
  priority: number;
3085
3143
  /** Router Job Scheduling Failed Attached Worker Selector Expired */
@@ -3090,16 +3148,16 @@ export type AcsRouterJobSchedulingFailedEventData = AcsRouterJobEventData & {
3090
3148
  scheduledOn: string;
3091
3149
  /** Router Job Scheduling Failed Reason */
3092
3150
  failureReason: string;
3093
- };
3151
+ }
3094
3152
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobUnassigned event */
3095
- export type AcsRouterJobUnassignedEventData = AcsRouterJobEventData & {
3153
+ export interface AcsRouterJobUnassignedEventData extends AcsRouterJobEventData {
3096
3154
  /** Router Job Unassigned Assignment Id */
3097
3155
  assignmentId: string;
3098
3156
  /** Router Job Unassigned Worker Id */
3099
3157
  workerId: string;
3100
- };
3158
+ }
3101
3159
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWaitingForActivation event */
3102
- export type AcsRouterJobWaitingForActivationEventData = AcsRouterJobEventData & {
3160
+ export interface AcsRouterJobWaitingForActivationEventData extends AcsRouterJobEventData {
3103
3161
  /** Router Job Waiting For Activation Priority */
3104
3162
  priority?: number;
3105
3163
  /** Router Job Waiting For Activation Worker Selector Expired */
@@ -3110,18 +3168,19 @@ export type AcsRouterJobWaitingForActivationEventData = AcsRouterJobEventData &
3110
3168
  scheduledOn?: string;
3111
3169
  /** Router Job Waiting For Activation Unavailable For Matching */
3112
3170
  unavailableForMatching: boolean;
3113
- };
3171
+ }
3114
3172
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWorkerSelectorsExpired event */
3115
- export type AcsRouterJobWorkerSelectorsExpiredEventData = AcsRouterJobEventData & {
3173
+ export interface AcsRouterJobWorkerSelectorsExpiredEventData extends AcsRouterJobEventData {
3116
3174
  /** Router Job Worker Selectors Expired Requested Worker Selectors */
3117
3175
  expiredRequestedWorkerSelectors: AcsRouterWorkerSelector[];
3118
3176
  /** Router Job Worker Selectors Expired Attached Worker Selectors */
3119
3177
  expiredAttachedWorkerSelectors: AcsRouterWorkerSelector[];
3120
- };
3178
+ }
3121
3179
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerDeleted event */
3122
- export type AcsRouterWorkerDeletedEventData = AcsRouterWorkerEventData & {};
3180
+ export interface AcsRouterWorkerDeletedEventData extends AcsRouterWorkerEventData {
3181
+ }
3123
3182
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferAccepted event */
3124
- export type AcsRouterWorkerOfferAcceptedEventData = AcsRouterWorkerEventData & {
3183
+ export interface AcsRouterWorkerOfferAcceptedEventData extends AcsRouterWorkerEventData {
3125
3184
  /** Router Worker Offer Accepted Queue Id */
3126
3185
  queueId: string;
3127
3186
  /** Router Worker Offer Accepted Offer Id */
@@ -3146,23 +3205,23 @@ export type AcsRouterWorkerOfferAcceptedEventData = AcsRouterWorkerEventData & {
3146
3205
  jobTags: {
3147
3206
  [propertyName: string]: string;
3148
3207
  };
3149
- };
3208
+ }
3150
3209
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferDeclined event */
3151
- export type AcsRouterWorkerOfferDeclinedEventData = AcsRouterWorkerEventData & {
3210
+ export interface AcsRouterWorkerOfferDeclinedEventData extends AcsRouterWorkerEventData {
3152
3211
  /** Router Worker Offer Declined Queue Id */
3153
3212
  queueId: string;
3154
3213
  /** Router Worker Offer Declined Offer Id */
3155
3214
  offerId: string;
3156
- };
3215
+ }
3157
3216
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferExpired event */
3158
- export type AcsRouterWorkerOfferExpiredEventData = AcsRouterWorkerEventData & {
3217
+ export interface AcsRouterWorkerOfferExpiredEventData extends AcsRouterWorkerEventData {
3159
3218
  /** Router Worker Offer Expired Queue Id */
3160
3219
  queueId: string;
3161
3220
  /** Router Worker Offer Expired Offer Id */
3162
3221
  offerId: string;
3163
- };
3222
+ }
3164
3223
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferIssued event */
3165
- export type AcsRouterWorkerOfferIssuedEventData = AcsRouterWorkerEventData & {
3224
+ export interface AcsRouterWorkerOfferIssuedEventData extends AcsRouterWorkerEventData {
3166
3225
  /** Router Worker Offer Issued Queue Id */
3167
3226
  queueId: string;
3168
3227
  /** Router Worker Offer Issued Offer Id */
@@ -3189,25 +3248,25 @@ export type AcsRouterWorkerOfferIssuedEventData = AcsRouterWorkerEventData & {
3189
3248
  jobTags: {
3190
3249
  [propertyName: string]: string;
3191
3250
  };
3192
- };
3251
+ }
3193
3252
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferRevoked event */
3194
- export type AcsRouterWorkerOfferRevokedEventData = AcsRouterWorkerEventData & {
3253
+ export interface AcsRouterWorkerOfferRevokedEventData extends AcsRouterWorkerEventData {
3195
3254
  /** Router Worker Offer Revoked Queue Id */
3196
3255
  queueId: string;
3197
3256
  /** Router Worker Offer Revoked Offer Id */
3198
3257
  offerId: string;
3199
- };
3258
+ }
3200
3259
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event. */
3201
- export type AcsChatMessageReceivedEventData = AcsChatMessageEventBase & {
3260
+ export interface AcsChatMessageReceivedEventData extends AcsChatMessageEventBase {
3202
3261
  /** The body of the chat message */
3203
3262
  messageBody: string;
3204
3263
  /** The chat message metadata */
3205
3264
  metadata: {
3206
3265
  [propertyName: string]: string;
3207
3266
  };
3208
- };
3267
+ }
3209
3268
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageEdited event. */
3210
- export type AcsChatMessageEditedEventData = AcsChatMessageEventBase & {
3269
+ export interface AcsChatMessageEditedEventData extends AcsChatMessageEventBase {
3211
3270
  /** The body of the chat message */
3212
3271
  messageBody: string;
3213
3272
  /** The chat message metadata */
@@ -3216,19 +3275,19 @@ export type AcsChatMessageEditedEventData = AcsChatMessageEventBase & {
3216
3275
  };
3217
3276
  /** The time at which the message was edited */
3218
3277
  editTime: string;
3219
- };
3278
+ }
3220
3279
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageDeleted event. */
3221
- export type AcsChatMessageDeletedEventData = AcsChatMessageEventBase & {
3280
+ export interface AcsChatMessageDeletedEventData extends AcsChatMessageEventBase {
3222
3281
  /** The time at which the message was deleted */
3223
3282
  deleteTime: string;
3224
- };
3283
+ }
3225
3284
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadCreatedWithUser event. */
3226
- export type AcsChatThreadCreatedWithUserEventData = AcsChatThreadEventBase & {
3285
+ export interface AcsChatThreadCreatedWithUserEventData extends AcsChatThreadEventBase {
3227
3286
  /** The communication identifier of the user who created the thread */
3228
3287
  createdByCommunicationIdentifier: CommunicationIdentifierModel;
3229
3288
  /** The thread properties */
3230
3289
  properties: {
3231
- [propertyName: string]: any;
3290
+ [propertyName: string]: Record<string, unknown>;
3232
3291
  };
3233
3292
  /** The thread metadata */
3234
3293
  metadata: {
@@ -3236,16 +3295,16 @@ export type AcsChatThreadCreatedWithUserEventData = AcsChatThreadEventBase & {
3236
3295
  };
3237
3296
  /** The list of properties of participants who are part of the thread */
3238
3297
  participants: AcsChatThreadParticipant[];
3239
- };
3298
+ }
3240
3299
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadWithUserDeleted event. */
3241
- export type AcsChatThreadWithUserDeletedEventData = AcsChatThreadEventBase & {
3300
+ export interface AcsChatThreadWithUserDeletedEventData extends AcsChatThreadEventBase {
3242
3301
  /** The communication identifier of the user who deleted the thread */
3243
3302
  deletedByCommunicationIdentifier: CommunicationIdentifierModel;
3244
3303
  /** The deletion time of the thread */
3245
3304
  deleteTime: string;
3246
- };
3305
+ }
3247
3306
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event. */
3248
- export type AcsChatThreadPropertiesUpdatedPerUserEventData = AcsChatThreadEventBase & {
3307
+ export interface AcsChatThreadPropertiesUpdatedPerUserEventData extends AcsChatThreadEventBase {
3249
3308
  /** The communication identifier of the user who updated the thread properties */
3250
3309
  editedByCommunicationIdentifier: CommunicationIdentifierModel;
3251
3310
  /** The time at which the properties of the thread were updated */
@@ -3256,38 +3315,38 @@ export type AcsChatThreadPropertiesUpdatedPerUserEventData = AcsChatThreadEventB
3256
3315
  };
3257
3316
  /** The updated thread properties */
3258
3317
  properties: {
3259
- [propertyName: string]: any;
3318
+ [propertyName: string]: Record<string, unknown>;
3260
3319
  };
3261
- };
3320
+ }
3262
3321
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantAddedToThreadWithUser event. */
3263
- export type AcsChatParticipantAddedToThreadWithUserEventData = AcsChatThreadEventBase & {
3322
+ export interface AcsChatParticipantAddedToThreadWithUserEventData extends AcsChatThreadEventBase {
3264
3323
  /** The time at which the user was added to the thread */
3265
3324
  time: string;
3266
3325
  /** The communication identifier of the user who added the user */
3267
3326
  addedByCommunicationIdentifier: CommunicationIdentifierModel;
3268
3327
  /** The details of the user who was added */
3269
3328
  participantAdded: AcsChatThreadParticipant;
3270
- };
3329
+ }
3271
3330
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser event. */
3272
- export type AcsChatParticipantRemovedFromThreadWithUserEventData = AcsChatThreadEventBase & {
3331
+ export interface AcsChatParticipantRemovedFromThreadWithUserEventData extends AcsChatThreadEventBase {
3273
3332
  /** The time at which the user was removed to the thread */
3274
3333
  time: string;
3275
3334
  /** The communication identifier of the user who removed the user */
3276
3335
  removedByCommunicationIdentifier: CommunicationIdentifierModel;
3277
3336
  /** The details of the user who was removed */
3278
3337
  participantRemoved: AcsChatThreadParticipant;
3279
- };
3338
+ }
3280
3339
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceivedInThread event. */
3281
- export type AcsChatMessageReceivedInThreadEventData = AcsChatMessageEventInThreadBase & {
3340
+ export interface AcsChatMessageReceivedInThreadEventData extends AcsChatMessageEventInThreadBase {
3282
3341
  /** The body of the chat message */
3283
3342
  messageBody: string;
3284
3343
  /** The chat message metadata */
3285
3344
  metadata: {
3286
3345
  [propertyName: string]: string;
3287
3346
  };
3288
- };
3347
+ }
3289
3348
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageEditedInThread event. */
3290
- export type AcsChatMessageEditedInThreadEventData = AcsChatMessageEventInThreadBase & {
3349
+ export interface AcsChatMessageEditedInThreadEventData extends AcsChatMessageEventInThreadBase {
3291
3350
  /** The body of the chat message */
3292
3351
  messageBody: string;
3293
3352
  /** The chat message metadata */
@@ -3296,19 +3355,19 @@ export type AcsChatMessageEditedInThreadEventData = AcsChatMessageEventInThreadB
3296
3355
  };
3297
3356
  /** The time at which the message was edited */
3298
3357
  editTime: string;
3299
- };
3358
+ }
3300
3359
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageDeletedInThread event. */
3301
- export type AcsChatMessageDeletedInThreadEventData = AcsChatMessageEventInThreadBase & {
3360
+ export interface AcsChatMessageDeletedInThreadEventData extends AcsChatMessageEventInThreadBase {
3302
3361
  /** The time at which the message was deleted */
3303
3362
  deleteTime: string;
3304
- };
3363
+ }
3305
3364
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadCreated event. */
3306
- export type AcsChatThreadCreatedEventData = AcsChatThreadEventInThreadBase & {
3365
+ export interface AcsChatThreadCreatedEventData extends AcsChatThreadEventInThreadBase {
3307
3366
  /** The communication identifier of the user who created the thread */
3308
3367
  createdByCommunicationIdentifier: CommunicationIdentifierModel;
3309
3368
  /** The thread properties */
3310
3369
  properties: {
3311
- [propertyName: string]: any;
3370
+ [propertyName: string]: Record<string, unknown>;
3312
3371
  };
3313
3372
  /** The chat thread created metadata */
3314
3373
  metadata: {
@@ -3316,31 +3375,31 @@ export type AcsChatThreadCreatedEventData = AcsChatThreadEventInThreadBase & {
3316
3375
  };
3317
3376
  /** The list of properties of participants who are part of the thread */
3318
3377
  participants: AcsChatThreadParticipant[];
3319
- };
3378
+ }
3320
3379
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadDeleted event. */
3321
- export type AcsChatThreadDeletedEventData = AcsChatThreadEventInThreadBase & {
3380
+ export interface AcsChatThreadDeletedEventData extends AcsChatThreadEventInThreadBase {
3322
3381
  /** The communication identifier of the user who deleted the thread */
3323
3382
  deletedByCommunicationIdentifier: CommunicationIdentifierModel;
3324
3383
  /** The deletion time of the thread */
3325
3384
  deleteTime: string;
3326
- };
3385
+ }
3327
3386
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdated event. */
3328
- export type AcsChatThreadPropertiesUpdatedEventData = AcsChatThreadEventInThreadBase & {
3387
+ export interface AcsChatThreadPropertiesUpdatedEventData extends AcsChatThreadEventInThreadBase {
3329
3388
  /** The communication identifier of the user who updated the thread properties */
3330
3389
  editedByCommunicationIdentifier: CommunicationIdentifierModel;
3331
3390
  /** The time at which the properties of the thread were updated */
3332
3391
  editTime: string;
3333
3392
  /** The updated thread properties */
3334
3393
  properties: {
3335
- [propertyName: string]: any;
3394
+ [propertyName: string]: Record<string, unknown>;
3336
3395
  };
3337
3396
  /** The thread metadata */
3338
3397
  metadata: {
3339
3398
  [propertyName: string]: string;
3340
3399
  };
3341
- };
3400
+ }
3342
3401
  /** Known values of {@link StorageBlobAccessTier} that the service accepts. */
3343
- export declare const enum KnownStorageBlobAccessTier {
3402
+ export declare enum KnownStorageBlobAccessTier {
3344
3403
  /** The blob is in access tier Hot */
3345
3404
  Hot = "Hot",
3346
3405
  /** The blob is in access tier Cool */
@@ -3365,9 +3424,12 @@ export declare const enum KnownStorageBlobAccessTier {
3365
3424
  */
3366
3425
  export type StorageBlobAccessTier = string;
3367
3426
  /** Known values of {@link StorageLifecycleCompletionStatus} that the service accepts. */
3368
- export declare const enum KnownStorageLifecycleCompletionStatus {
3427
+ export declare enum KnownStorageLifecycleCompletionStatus {
3428
+ /** Completed */
3369
3429
  Completed = "Completed",
3430
+ /** CompletedWithError */
3370
3431
  CompletedWithError = "CompletedWithError",
3432
+ /** Incomplete */
3371
3433
  Incomplete = "Incomplete"
3372
3434
  }
3373
3435
  /**
@@ -3381,8 +3443,10 @@ export declare const enum KnownStorageLifecycleCompletionStatus {
3381
3443
  */
3382
3444
  export type StorageLifecycleCompletionStatus = string;
3383
3445
  /** Known values of {@link StorageTaskCompletedStatus} that the service accepts. */
3384
- export declare const enum KnownStorageTaskCompletedStatus {
3446
+ export declare enum KnownStorageTaskCompletedStatus {
3447
+ /** Succeeded */
3385
3448
  Succeeded = "Succeeded",
3449
+ /** Failed */
3386
3450
  Failed = "Failed"
3387
3451
  }
3388
3452
  /**
@@ -3395,8 +3459,10 @@ export declare const enum KnownStorageTaskCompletedStatus {
3395
3459
  */
3396
3460
  export type StorageTaskCompletedStatus = string;
3397
3461
  /** Known values of {@link StorageTaskAssignmentCompletedStatus} that the service accepts. */
3398
- export declare const enum KnownStorageTaskAssignmentCompletedStatus {
3462
+ export declare enum KnownStorageTaskAssignmentCompletedStatus {
3463
+ /** Succeeded */
3399
3464
  Succeeded = "Succeeded",
3465
+ /** Failed */
3400
3466
  Failed = "Failed"
3401
3467
  }
3402
3468
  /**
@@ -3409,8 +3475,10 @@ export declare const enum KnownStorageTaskAssignmentCompletedStatus {
3409
3475
  */
3410
3476
  export type StorageTaskAssignmentCompletedStatus = string;
3411
3477
  /** Known values of {@link EventGridMqttClientState} that the service accepts. */
3412
- export declare const enum KnownEventGridMqttClientState {
3478
+ export declare enum KnownEventGridMqttClientState {
3479
+ /** Enabled */
3413
3480
  Enabled = "Enabled",
3481
+ /** Disabled */
3414
3482
  Disabled = "Disabled"
3415
3483
  }
3416
3484
  /**
@@ -3423,7 +3491,7 @@ export declare const enum KnownEventGridMqttClientState {
3423
3491
  */
3424
3492
  export type EventGridMqttClientState = string;
3425
3493
  /** Known values of {@link EventGridMqttClientDisconnectionReason} that the service accepts. */
3426
- export declare const enum KnownEventGridMqttClientDisconnectionReason {
3494
+ export declare enum KnownEventGridMqttClientDisconnectionReason {
3427
3495
  /** The client got disconnected for any authentication reasons (for example, certificate expired, client got disabled, or client configuration changed). */
3428
3496
  ClientAuthenticationError = "ClientAuthenticationError",
3429
3497
  /** The client got disconnected for any authorization reasons (for example, because of a change in the configuration of topic spaces, permission bindings, or client groups). */
@@ -3466,7 +3534,7 @@ export declare const enum KnownEventGridMqttClientDisconnectionReason {
3466
3534
  */
3467
3535
  export type EventGridMqttClientDisconnectionReason = string;
3468
3536
  /** Known values of {@link DataBoxStageName} that the service accepts. */
3469
- export declare const enum KnownDataBoxStageName {
3537
+ export declare enum KnownDataBoxStageName {
3470
3538
  /** Copy has started */
3471
3539
  CopyStarted = "CopyStarted",
3472
3540
  /** Copy has completed */
@@ -3485,7 +3553,7 @@ export declare const enum KnownDataBoxStageName {
3485
3553
  */
3486
3554
  export type DataBoxStageName = string;
3487
3555
  /** Known values of {@link AppAction} that the service accepts. */
3488
- export declare const enum KnownAppAction {
3556
+ export declare enum KnownAppAction {
3489
3557
  /** Web app was restarted. */
3490
3558
  Restarted = "Restarted",
3491
3559
  /** Web app was stopped. */
@@ -3513,7 +3581,7 @@ export declare const enum KnownAppAction {
3513
3581
  */
3514
3582
  export type AppAction = string;
3515
3583
  /** Known values of {@link StampKind} that the service accepts. */
3516
- export declare const enum KnownStampKind {
3584
+ export declare enum KnownStampKind {
3517
3585
  /** App Service Plan is running on a public stamp. */
3518
3586
  Public = "Public",
3519
3587
  /** App Service Plan is running on an App Service Environment V1. */
@@ -3532,7 +3600,7 @@ export declare const enum KnownStampKind {
3532
3600
  */
3533
3601
  export type StampKind = string;
3534
3602
  /** Known values of {@link AppServicePlanAction} that the service accepts. */
3535
- export declare const enum KnownAppServicePlanAction {
3603
+ export declare enum KnownAppServicePlanAction {
3536
3604
  /** App Service plan is being updated. */
3537
3605
  Updated = "Updated"
3538
3606
  }
@@ -3545,7 +3613,7 @@ export declare const enum KnownAppServicePlanAction {
3545
3613
  */
3546
3614
  export type AppServicePlanAction = string;
3547
3615
  /** Known values of {@link AsyncStatus} that the service accepts. */
3548
- export declare const enum KnownAsyncStatus {
3616
+ export declare enum KnownAsyncStatus {
3549
3617
  /** Async operation has started. */
3550
3618
  Started = "Started",
3551
3619
  /** Async operation has completed. */
@@ -3564,11 +3632,16 @@ export declare const enum KnownAsyncStatus {
3564
3632
  */
3565
3633
  export type AsyncStatus = string;
3566
3634
  /** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */
3567
- export declare const enum KnownCommunicationIdentifierModelKind {
3635
+ export declare enum KnownCommunicationIdentifierModelKind {
3636
+ /** Unknown */
3568
3637
  Unknown = "unknown",
3638
+ /** CommunicationUser */
3569
3639
  CommunicationUser = "communicationUser",
3640
+ /** PhoneNumber */
3570
3641
  PhoneNumber = "phoneNumber",
3642
+ /** MicrosoftTeamsUser */
3571
3643
  MicrosoftTeamsUser = "microsoftTeamsUser",
3644
+ /** MicrosoftTeamsApp */
3572
3645
  MicrosoftTeamsApp = "microsoftTeamsApp"
3573
3646
  }
3574
3647
  /**
@@ -3584,9 +3657,12 @@ export declare const enum KnownCommunicationIdentifierModelKind {
3584
3657
  */
3585
3658
  export type CommunicationIdentifierModelKind = string;
3586
3659
  /** Known values of {@link CommunicationCloudEnvironmentModel} that the service accepts. */
3587
- export declare const enum KnownCommunicationCloudEnvironmentModel {
3660
+ export declare enum KnownCommunicationCloudEnvironmentModel {
3661
+ /** Public */
3588
3662
  Public = "public",
3663
+ /** Dod */
3589
3664
  Dod = "dod",
3665
+ /** Gcch */
3590
3666
  Gcch = "gcch"
3591
3667
  }
3592
3668
  /**
@@ -3600,7 +3676,7 @@ export declare const enum KnownCommunicationCloudEnvironmentModel {
3600
3676
  */
3601
3677
  export type CommunicationCloudEnvironmentModel = string;
3602
3678
  /** Known values of {@link AcsRouterLabelOperator} that the service accepts. */
3603
- export declare const enum KnownAcsRouterLabelOperator {
3679
+ export declare enum KnownAcsRouterLabelOperator {
3604
3680
  /** = */
3605
3681
  Equal = "Equal",
3606
3682
  /** != */
@@ -3628,7 +3704,7 @@ export declare const enum KnownAcsRouterLabelOperator {
3628
3704
  */
3629
3705
  export type AcsRouterLabelOperator = string;
3630
3706
  /** Known values of {@link AcsRouterWorkerSelectorState} that the service accepts. */
3631
- export declare const enum KnownAcsRouterWorkerSelectorState {
3707
+ export declare enum KnownAcsRouterWorkerSelectorState {
3632
3708
  /** Router Job Worker Selector is Active */
3633
3709
  Active = "active",
3634
3710
  /** Router Job Worker Selector has Expire */
@@ -3644,18 +3720,30 @@ export declare const enum KnownAcsRouterWorkerSelectorState {
3644
3720
  */
3645
3721
  export type AcsRouterWorkerSelectorState = string;
3646
3722
  /** Known values of {@link AcsRouterJobStatus} that the service accepts. */
3647
- export declare const enum KnownAcsRouterJobStatus {
3723
+ export declare enum KnownAcsRouterJobStatus {
3724
+ /** PendingClassification */
3648
3725
  PendingClassification = "PendingClassification",
3726
+ /** Queued */
3649
3727
  Queued = "Queued",
3728
+ /** Assigned */
3650
3729
  Assigned = "Assigned",
3730
+ /** Completed */
3651
3731
  Completed = "Completed",
3732
+ /** Closed */
3652
3733
  Closed = "Closed",
3734
+ /** Cancelled */
3653
3735
  Cancelled = "Cancelled",
3736
+ /** ClassificationFailed */
3654
3737
  ClassificationFailed = "ClassificationFailed",
3738
+ /** Created */
3655
3739
  Created = "Created",
3740
+ /** PendingSchedule */
3656
3741
  PendingSchedule = "PendingSchedule",
3742
+ /** Scheduled */
3657
3743
  Scheduled = "Scheduled",
3744
+ /** ScheduleFailed */
3658
3745
  ScheduleFailed = "ScheduleFailed",
3746
+ /** WaitingForActivation */
3659
3747
  WaitingForActivation = "WaitingForActivation"
3660
3748
  }
3661
3749
  /**
@@ -3678,12 +3766,18 @@ export declare const enum KnownAcsRouterJobStatus {
3678
3766
  */
3679
3767
  export type AcsRouterJobStatus = string;
3680
3768
  /** Known values of {@link AcsRouterUpdatedWorkerProperty} that the service accepts. */
3681
- export declare const enum KnownAcsRouterUpdatedWorkerProperty {
3769
+ export declare enum KnownAcsRouterUpdatedWorkerProperty {
3770
+ /** AvailableForOffers */
3682
3771
  AvailableForOffers = "AvailableForOffers",
3772
+ /** TotalCapacity */
3683
3773
  TotalCapacity = "TotalCapacity",
3774
+ /** QueueAssignments */
3684
3775
  QueueAssignments = "QueueAssignments",
3776
+ /** Labels */
3685
3777
  Labels = "Labels",
3778
+ /** Tags */
3686
3779
  Tags = "Tags",
3780
+ /** ChannelConfigurations */
3687
3781
  ChannelConfigurations = "ChannelConfigurations"
3688
3782
  }
3689
3783
  /**
@@ -3700,8 +3794,10 @@ export declare const enum KnownAcsRouterUpdatedWorkerProperty {
3700
3794
  */
3701
3795
  export type AcsRouterUpdatedWorkerProperty = string;
3702
3796
  /** Known values of {@link RecordingContentType} that the service accepts. */
3703
- export declare const enum KnownRecordingContentType {
3797
+ export declare enum KnownRecordingContentType {
3798
+ /** AudioVideo */
3704
3799
  AudioVideo = "AudioVideo",
3800
+ /** Audio */
3705
3801
  Audio = "Audio"
3706
3802
  }
3707
3803
  /**
@@ -3714,8 +3810,10 @@ export declare const enum KnownRecordingContentType {
3714
3810
  */
3715
3811
  export type RecordingContentType = string;
3716
3812
  /** Known values of {@link RecordingChannelType} that the service accepts. */
3717
- export declare const enum KnownRecordingChannelType {
3813
+ export declare enum KnownRecordingChannelType {
3814
+ /** Mixed */
3718
3815
  Mixed = "Mixed",
3816
+ /** Unmixed */
3719
3817
  Unmixed = "Unmixed"
3720
3818
  }
3721
3819
  /**
@@ -3728,9 +3826,12 @@ export declare const enum KnownRecordingChannelType {
3728
3826
  */
3729
3827
  export type RecordingChannelType = string;
3730
3828
  /** Known values of {@link RecordingFormatType} that the service accepts. */
3731
- export declare const enum KnownRecordingFormatType {
3829
+ export declare enum KnownRecordingFormatType {
3830
+ /** Wav */
3732
3831
  Wav = "Wav",
3832
+ /** Mp3 */
3733
3833
  Mp3 = "Mp3",
3834
+ /** Mp4 */
3734
3835
  Mp4 = "Mp4"
3735
3836
  }
3736
3837
  /**
@@ -3744,7 +3845,7 @@ export declare const enum KnownRecordingFormatType {
3744
3845
  */
3745
3846
  export type RecordingFormatType = string;
3746
3847
  /** Known values of {@link AcsEmailDeliveryReportStatus} that the service accepts. */
3747
- export declare const enum KnownAcsEmailDeliveryReportStatus {
3848
+ export declare enum KnownAcsEmailDeliveryReportStatus {
3748
3849
  /** Hard bounce detected while sending the email */
3749
3850
  Bounced = "Bounced",
3750
3851
  /** The email was delivered */
@@ -3772,8 +3873,10 @@ export declare const enum KnownAcsEmailDeliveryReportStatus {
3772
3873
  */
3773
3874
  export type AcsEmailDeliveryReportStatus = string;
3774
3875
  /** Known values of {@link AcsUserEngagement} that the service accepts. */
3775
- export declare const enum KnownAcsUserEngagement {
3876
+ export declare enum KnownAcsUserEngagement {
3877
+ /** View */
3776
3878
  View = "view",
3879
+ /** Click */
3777
3880
  Click = "click"
3778
3881
  }
3779
3882
  /**
@@ -3786,7 +3889,7 @@ export declare const enum KnownAcsUserEngagement {
3786
3889
  */
3787
3890
  export type AcsUserEngagement = string;
3788
3891
  /** Known values of {@link AcsMessageChannelKind} that the service accepts. */
3789
- export declare const enum KnownAcsMessageChannelKind {
3892
+ export declare enum KnownAcsMessageChannelKind {
3790
3893
  /** Updated message channel type is Whatsapp */
3791
3894
  Whatsapp = "whatsapp"
3792
3895
  }
@@ -3799,7 +3902,7 @@ export declare const enum KnownAcsMessageChannelKind {
3799
3902
  */
3800
3903
  export type AcsMessageChannelKind = string;
3801
3904
  /** Known values of {@link AcsInteractiveReplyKind} that the service accepts. */
3802
- export declare const enum KnownAcsInteractiveReplyKind {
3905
+ export declare enum KnownAcsInteractiveReplyKind {
3803
3906
  /** Messaged interactive reply type is ButtonReply */
3804
3907
  ButtonReply = "buttonReply",
3805
3908
  /** Messaged interactive reply type is ListReply */
@@ -3818,12 +3921,18 @@ export declare const enum KnownAcsInteractiveReplyKind {
3818
3921
  */
3819
3922
  export type AcsInteractiveReplyKind = string;
3820
3923
  /** Known values of {@link AcsMessageDeliveryStatus} that the service accepts. */
3821
- export declare const enum KnownAcsMessageDeliveryStatus {
3924
+ export declare enum KnownAcsMessageDeliveryStatus {
3925
+ /** Read */
3822
3926
  Read = "read",
3927
+ /** Delivered */
3823
3928
  Delivered = "delivered",
3929
+ /** Failed */
3824
3930
  Failed = "failed",
3931
+ /** Sent */
3825
3932
  Sent = "sent",
3933
+ /** Warning */
3826
3934
  Warning = "warning",
3935
+ /** Unknown */
3827
3936
  Unknown = "unknown"
3828
3937
  }
3829
3938
  /**
@@ -3840,7 +3949,7 @@ export declare const enum KnownAcsMessageDeliveryStatus {
3840
3949
  */
3841
3950
  export type AcsMessageDeliveryStatus = string;
3842
3951
  /** Known values of {@link HealthcareFhirResourceType} that the service accepts. */
3843
- export declare const enum KnownHealthcareFhirResourceType {
3952
+ export declare enum KnownHealthcareFhirResourceType {
3844
3953
  /** The FHIR resource type defined in STU3 and R4. */
3845
3954
  Account = "Account",
3846
3955
  /** The FHIR resource type defined in STU3 and R4. */
@@ -4341,15 +4450,15 @@ export type MediaJobErrorCategory = "Service" | "Download" | "Upload" | "Configu
4341
4450
  /** Defines values for MediaJobRetry. */
4342
4451
  export type MediaJobRetry = "DoNotRetry" | "MayRetry";
4343
4452
  /** Optional parameters. */
4344
- export interface GeneratedClientPublishEventGridEventsOptionalParams extends coreClient.OperationOptions {
4453
+ export interface PublishEventGridEventsOptionalParams extends coreClient.OperationOptions {
4345
4454
  }
4346
4455
  /** Optional parameters. */
4347
- export interface GeneratedClientPublishCloudEventEventsOptionalParams extends coreClient.OperationOptions {
4456
+ export interface PublishCloudEventEventsOptionalParams extends coreClient.OperationOptions {
4348
4457
  /** Required only when publishing to partner namespaces with partner topic routing mode ChannelNameHeader. */
4349
4458
  aegChannelName?: string;
4350
4459
  }
4351
4460
  /** Optional parameters. */
4352
- export interface GeneratedClientPublishCustomEventEventsOptionalParams extends coreClient.OperationOptions {
4461
+ export interface PublishCustomEventEventsOptionalParams extends coreClient.OperationOptions {
4353
4462
  }
4354
4463
  /** Optional parameters. */
4355
4464
  export interface GeneratedClientOptionalParams extends coreClient.ServiceClientOptions {