@azure/eventgrid 5.11.1-alpha.20250514.1 → 5.12.1-alpha.20250515.4

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 (85) hide show
  1. package/dist/browser/generated/generatedClient.js +1 -1
  2. package/dist/browser/generated/generatedClient.js.map +1 -1
  3. package/dist/browser/generated/generatedClientContext.js +1 -1
  4. package/dist/browser/generated/generatedClientContext.js.map +1 -1
  5. package/dist/browser/generated/models/index.d.ts +248 -39
  6. package/dist/browser/generated/models/index.d.ts.map +1 -1
  7. package/dist/browser/generated/models/index.js +22 -0
  8. package/dist/browser/generated/models/index.js.map +1 -1
  9. package/dist/browser/generated/models/mappers.d.ts +22 -0
  10. package/dist/browser/generated/models/mappers.d.ts.map +1 -1
  11. package/dist/browser/generated/models/mappers.js +496 -38
  12. package/dist/browser/generated/models/mappers.js.map +1 -1
  13. package/dist/browser/index.d.ts +1 -1
  14. package/dist/browser/index.d.ts.map +1 -1
  15. package/dist/browser/index.js +1 -1
  16. package/dist/browser/index.js.map +1 -1
  17. package/dist/browser/predicates.d.ts +23 -1
  18. package/dist/browser/predicates.d.ts.map +1 -1
  19. package/dist/browser/predicates.js.map +1 -1
  20. package/dist/browser/tracing.js +1 -1
  21. package/dist/browser/tracing.js.map +1 -1
  22. package/dist/commonjs/generated/generatedClient.js +1 -1
  23. package/dist/commonjs/generated/generatedClient.js.map +1 -1
  24. package/dist/commonjs/generated/generatedClientContext.js +1 -1
  25. package/dist/commonjs/generated/generatedClientContext.js.map +1 -1
  26. package/dist/commonjs/generated/models/index.d.ts +248 -39
  27. package/dist/commonjs/generated/models/index.d.ts.map +1 -1
  28. package/dist/commonjs/generated/models/index.js +23 -1
  29. package/dist/commonjs/generated/models/index.js.map +1 -1
  30. package/dist/commonjs/generated/models/mappers.d.ts +22 -0
  31. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -1
  32. package/dist/commonjs/generated/models/mappers.js +501 -42
  33. package/dist/commonjs/generated/models/mappers.js.map +1 -1
  34. package/dist/commonjs/index.d.ts +1 -1
  35. package/dist/commonjs/index.d.ts.map +1 -1
  36. package/dist/commonjs/index.js +2 -1
  37. package/dist/commonjs/index.js.map +1 -1
  38. package/dist/commonjs/predicates.d.ts +23 -1
  39. package/dist/commonjs/predicates.d.ts.map +1 -1
  40. package/dist/commonjs/predicates.js.map +1 -1
  41. package/dist/commonjs/tracing.js +1 -1
  42. package/dist/commonjs/tracing.js.map +1 -1
  43. package/dist/esm/generated/generatedClient.js +1 -1
  44. package/dist/esm/generated/generatedClient.js.map +1 -1
  45. package/dist/esm/generated/generatedClientContext.js +1 -1
  46. package/dist/esm/generated/generatedClientContext.js.map +1 -1
  47. package/dist/esm/generated/models/index.d.ts +248 -39
  48. package/dist/esm/generated/models/index.d.ts.map +1 -1
  49. package/dist/esm/generated/models/index.js +22 -0
  50. package/dist/esm/generated/models/index.js.map +1 -1
  51. package/dist/esm/generated/models/mappers.d.ts +22 -0
  52. package/dist/esm/generated/models/mappers.d.ts.map +1 -1
  53. package/dist/esm/generated/models/mappers.js +496 -38
  54. package/dist/esm/generated/models/mappers.js.map +1 -1
  55. package/dist/esm/index.d.ts +1 -1
  56. package/dist/esm/index.d.ts.map +1 -1
  57. package/dist/esm/index.js +1 -1
  58. package/dist/esm/index.js.map +1 -1
  59. package/dist/esm/predicates.d.ts +23 -1
  60. package/dist/esm/predicates.d.ts.map +1 -1
  61. package/dist/esm/predicates.js.map +1 -1
  62. package/dist/esm/tracing.js +1 -1
  63. package/dist/esm/tracing.js.map +1 -1
  64. package/dist/react-native/generated/generatedClient.js +1 -1
  65. package/dist/react-native/generated/generatedClient.js.map +1 -1
  66. package/dist/react-native/generated/generatedClientContext.js +1 -1
  67. package/dist/react-native/generated/generatedClientContext.js.map +1 -1
  68. package/dist/react-native/generated/models/index.d.ts +248 -39
  69. package/dist/react-native/generated/models/index.d.ts.map +1 -1
  70. package/dist/react-native/generated/models/index.js +22 -0
  71. package/dist/react-native/generated/models/index.js.map +1 -1
  72. package/dist/react-native/generated/models/mappers.d.ts +22 -0
  73. package/dist/react-native/generated/models/mappers.d.ts.map +1 -1
  74. package/dist/react-native/generated/models/mappers.js +496 -38
  75. package/dist/react-native/generated/models/mappers.js.map +1 -1
  76. package/dist/react-native/index.d.ts +1 -1
  77. package/dist/react-native/index.d.ts.map +1 -1
  78. package/dist/react-native/index.js +1 -1
  79. package/dist/react-native/index.js.map +1 -1
  80. package/dist/react-native/predicates.d.ts +23 -1
  81. package/dist/react-native/predicates.d.ts.map +1 -1
  82. package/dist/react-native/predicates.js.map +1 -1
  83. package/dist/react-native/tracing.js +1 -1
  84. package/dist/react-native/tracing.js.map +1 -1
  85. package/package.json +1 -1
@@ -2147,6 +2147,58 @@ export interface AcsRouterWorkerUpdatedEventData {
2147
2147
  /** Router Worker Properties Updated */
2148
2148
  updatedWorkerProperties: AcsRouterUpdatedWorkerProperty[];
2149
2149
  }
2150
+ /** Schema of calling event participant user */
2151
+ export interface AcsCallParticipant {
2152
+ /** The communication identifier of the call ended by */
2153
+ communicationIdentifier: CommunicationIdentifierModel;
2154
+ /** The role of participant user. */
2155
+ role: AcsCallParticipantKind;
2156
+ }
2157
+ /** Schema of common properties of all calling events */
2158
+ export interface AcsCallingEvent {
2159
+ /** The call participant who initiated the call. */
2160
+ startedBy: AcsCallParticipant;
2161
+ /** The callId of the server */
2162
+ serverCallId: string;
2163
+ /** The group metadata */
2164
+ group?: AcsCallGroup;
2165
+ /** The group metadata */
2166
+ room?: AcsCallRoom;
2167
+ /** Is two-party in calling event. */
2168
+ isTwoParty?: boolean;
2169
+ /** The correlation ID of the calling event */
2170
+ correlationId: string;
2171
+ /** Is the calling event a room call. */
2172
+ isRoomsCall?: boolean;
2173
+ }
2174
+ /** Schema of calling event group properties */
2175
+ export interface AcsCallGroup {
2176
+ /** Group Id. Format is Guid as string. */
2177
+ id: string;
2178
+ }
2179
+ /** Schema of calling event room properties */
2180
+ export interface AcsCallRoom {
2181
+ /** Room Id. Format is Guid as string. */
2182
+ id: string;
2183
+ }
2184
+ /** Schema of calling event endedby properties */
2185
+ export interface AcsCallEndedBy {
2186
+ /** The communication identifier of the call ended by */
2187
+ communicationIdentifier: CommunicationIdentifierModel;
2188
+ /** The type of the call ended by. */
2189
+ kind: AcsCallEndedByKind;
2190
+ /** The name of the call ended by. */
2191
+ name: string;
2192
+ }
2193
+ /** Schema of calling event reason properties */
2194
+ export interface AcsCallEndReason {
2195
+ /** Reason code for ending the call. */
2196
+ code: number;
2197
+ /** Reason subcode for ending the call. */
2198
+ subCode: number;
2199
+ /** Reason for ending the call. */
2200
+ phrase: string;
2201
+ }
2150
2202
  /** Schema of common properties of all chat events */
2151
2203
  export interface AcsChatEventBase {
2152
2204
  /** The communication identifier of the target user */
@@ -2166,11 +2218,11 @@ export interface AcsChatEventInThreadBase {
2166
2218
  /** Schema of the chat thread participant */
2167
2219
  export interface AcsChatThreadParticipant {
2168
2220
  /** The name of the user */
2169
- displayName: string;
2221
+ displayName?: string;
2170
2222
  /** The communication identifier of the user */
2171
2223
  participantCommunicationIdentifier: CommunicationIdentifierModel;
2172
2224
  /** The metadata of the user */
2173
- metadata: {
2225
+ metadata?: {
2174
2226
  [propertyName: string]: string;
2175
2227
  };
2176
2228
  }
@@ -2197,17 +2249,17 @@ export interface AcsRecordingFileStatusUpdatedEventData {
2197
2249
  /** The details of recording storage information */
2198
2250
  recordingStorageInfo: AcsRecordingStorageInfo;
2199
2251
  /** The time at which the recording started */
2200
- recordingStartTime: string;
2252
+ recordingStartTime?: string;
2201
2253
  /** The recording duration in milliseconds */
2202
- recordingDurationMs: number;
2254
+ recordingDurationMs?: number;
2203
2255
  /** The recording content type- AudioVideo, or Audio */
2204
- recordingContentType: RecordingContentType;
2256
+ recordingContentType?: RecordingContentType;
2205
2257
  /** The recording channel type - Mixed, Unmixed */
2206
- recordingChannelType: RecordingChannelType;
2258
+ recordingChannelType?: RecordingChannelType;
2207
2259
  /** The recording format type - Mp4, Mp3, Wav */
2208
- recordingFormatType: RecordingFormatType;
2260
+ recordingFormatType?: RecordingFormatType;
2209
2261
  /** The reason for ending recording session */
2210
- sessionEndReason: string;
2262
+ sessionEndReason?: string;
2211
2263
  }
2212
2264
  /** Schema for all properties of Recording Storage Information. */
2213
2265
  export interface AcsRecordingStorageInfo {
@@ -2238,13 +2290,13 @@ export interface AcsEmailDeliveryReportReceivedEventData {
2238
2290
  /** The Internet Message Id of the email been sent */
2239
2291
  internetMessageId: string;
2240
2292
  /** The Id of the email been sent */
2241
- messageId: string;
2293
+ messageId?: string;
2242
2294
  /** The status of the email. Any value other than Delivered is considered failed. */
2243
- status: AcsEmailDeliveryReportStatus;
2295
+ status?: AcsEmailDeliveryReportStatus;
2244
2296
  /** Detailed information about the status if any */
2245
2297
  deliveryStatusDetails: AcsEmailDeliveryReportStatusDetails;
2246
2298
  /** The time at which the email delivery report received timestamp */
2247
- deliveryAttemptTimestamp: string;
2299
+ deliveryAttemptTimestamp?: string;
2248
2300
  }
2249
2301
  /** Detailed information about the status if any */
2250
2302
  export interface AcsEmailDeliveryReportStatusDetails {
@@ -2549,6 +2601,58 @@ export interface ApiManagementGatewayApiRemovedEventData {
2549
2601
  /** The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/apis/<ResourceName>` */
2550
2602
  resourceUri: string;
2551
2603
  }
2604
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.CircuitBreaker.Opened event. */
2605
+ export interface ApiManagementCircuitBreakerOpenedEventData {
2606
+ /** Name of the backend for which the circuit has opened. */
2607
+ backendName: string;
2608
+ /** Information related to the circuit breaker configured on the backend. */
2609
+ circuitBreaker: ApiManagementCircuitBreaker;
2610
+ }
2611
+ /** Information related to the circuit breaker configured on the backend. */
2612
+ export interface ApiManagementCircuitBreaker {
2613
+ /** Overview of all configured rules and respective details. */
2614
+ rules: {
2615
+ [propertyName: string]: Record<string, unknown>;
2616
+ };
2617
+ }
2618
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.CircuitBreaker.Closed event. */
2619
+ export interface ApiManagementCircuitBreakerClosedEventData {
2620
+ /** Name of the backend for which the circuit has closed. */
2621
+ backendName: string;
2622
+ /** Information related to the circuit breaker configured on the backend. */
2623
+ circuitBreaker: ApiManagementCircuitBreaker;
2624
+ }
2625
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayTokenNearExpiry event. */
2626
+ export interface ApiManagementGatewayTokenNearExpiryEventData {
2627
+ /** Information related to a given self-hosted gateway deployment. */
2628
+ gateway: ApiManagementGateway;
2629
+ /** Information related to a gateway token that is near expiry for a self-hosted gateway deployment. */
2630
+ token: ApiManagementGatewayTokenNearExpiry;
2631
+ }
2632
+ /** Information related to a given self-hosted gateway deployment. */
2633
+ export interface ApiManagementGateway {
2634
+ /** Id of Gateway that is used to deploy the gateway to get the configuration for. This is the ARM resource ID referenced in the Azure API Management instance. */
2635
+ gatewayId: string;
2636
+ /** Unique instance ID of the deployed gateway */
2637
+ instanceId: string;
2638
+ }
2639
+ /** Information related to a gateway token that is near expiry for a self-hosted gateway deployment. */
2640
+ export interface ApiManagementGatewayTokenNearExpiry {
2641
+ /** Timestamp when the gateway token will expire. */
2642
+ expiresOn: string;
2643
+ }
2644
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayTokenExpired event. */
2645
+ export interface ApiManagementGatewayTokenExpiredEventData {
2646
+ /** Information related to a given self-hosted gateway deployment. */
2647
+ gateway: ApiManagementGateway;
2648
+ /** Information related to a an expired gateway token for a self-hosted gateway deployment. */
2649
+ token: ApiManagementExpiredGatewayToken;
2650
+ }
2651
+ /** Information related to a an expired gateway token for a self-hosted gateway deployment. */
2652
+ export interface ApiManagementExpiredGatewayToken {
2653
+ /** Timestamp when the gateway token has expired. */
2654
+ expiresOn: string;
2655
+ }
2552
2656
  /** Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event. */
2553
2657
  export interface HealthcareFhirResourceCreatedEventData {
2554
2658
  /** Type of HL7 FHIR resource. */
@@ -2726,6 +2830,23 @@ export interface ApiCenterApiDefinitionUpdatedEventData {
2726
2830
  /** API specification details. */
2727
2831
  specification: ApiCenterApiSpecification;
2728
2832
  }
2833
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Edge.SolutionVersionPublished event. */
2834
+ export interface EdgeSolutionVersionPublishedEventData {
2835
+ /** A GUID to uniquely track External Solution Validation */
2836
+ externalValidationId: string;
2837
+ /** ARM ID of the Target resource */
2838
+ targetId: string;
2839
+ /** ARM ID of the Solution Template resource */
2840
+ solutionTemplateId: string;
2841
+ /** ARM ID of the Solution Template Version resource */
2842
+ solutionTemplateVersionId: string;
2843
+ /** ARM ID of the Solution Version resource */
2844
+ solutionVersionId: string;
2845
+ /** API Version supported for the resources */
2846
+ apiVersion: string;
2847
+ /** Direct URL to callback for updating validation status */
2848
+ callbackUrl: string;
2849
+ }
2729
2850
  /** Event data for Microsoft.EventGrid.MQTTClientCreatedOrUpdated event. */
2730
2851
  export interface EventGridMqttClientCreatedOrUpdatedEventData extends EventGridMqttClientEventData {
2731
2852
  /** Configured state of the client. The value could be Enabled or Disabled */
@@ -2852,7 +2973,7 @@ export interface AppConfigurationSnapshotModifiedEventData extends AppConfigurat
2852
2973
  /** Schema of common properties of all Router Job events */
2853
2974
  export interface AcsRouterJobEventData extends AcsRouterEventData {
2854
2975
  /** Router Job events Queue Id */
2855
- queueId: string;
2976
+ queueId?: string;
2856
2977
  /** Router Job events Labels */
2857
2978
  labels: {
2858
2979
  [propertyName: string]: string;
@@ -2867,6 +2988,29 @@ export interface AcsRouterWorkerEventData extends AcsRouterEventData {
2867
2988
  /** Router Worker events Worker Id */
2868
2989
  workerId: string;
2869
2990
  }
2991
+ /** Schema of common properties of participant events */
2992
+ export interface AcsCallParticipantEventData extends AcsCallingEvent {
2993
+ /** The user of the call participant. */
2994
+ user: AcsCallParticipant;
2995
+ /** The display name of the participant. */
2996
+ displayName: string;
2997
+ /** The Id of the participant. */
2998
+ participantId: string;
2999
+ /** The user agent of the participant. */
3000
+ userAgent: string;
3001
+ }
3002
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallStarted event. */
3003
+ export interface AcsCallStartedEventData extends AcsCallingEvent {
3004
+ }
3005
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallEnded event. */
3006
+ export interface AcsCallEndedEventData extends AcsCallingEvent {
3007
+ /** The communication identifier of the user who was disconnected */
3008
+ endedBy: AcsCallEndedBy;
3009
+ /** The reason for ending the call. */
3010
+ reason: AcsCallEndReason;
3011
+ /** Duration of the call in seconds. */
3012
+ callDurationInSeconds: number;
3013
+ }
2870
3014
  /** Schema of common properties of all chat message events */
2871
3015
  export interface AcsChatMessageEventBase extends AcsChatEventBase {
2872
3016
  /** The chat message id */
@@ -2874,13 +3018,13 @@ export interface AcsChatMessageEventBase extends AcsChatEventBase {
2874
3018
  /** The communication identifier of the sender */
2875
3019
  senderCommunicationIdentifier: CommunicationIdentifierModel;
2876
3020
  /** The display name of the sender */
2877
- senderDisplayName: string;
3021
+ senderDisplayName?: string;
2878
3022
  /** The original compose time of the message */
2879
- composeTime: string;
3023
+ composeTime?: string;
2880
3024
  /** The type of the message */
2881
3025
  type: string;
2882
3026
  /** The version of the message */
2883
- version: number;
3027
+ version?: number;
2884
3028
  }
2885
3029
  /** Schema of common properties of all chat thread events */
2886
3030
  export interface AcsChatThreadEventBase extends AcsChatEventBase {
@@ -2896,13 +3040,13 @@ export interface AcsChatMessageEventInThreadBase extends AcsChatEventInThreadBas
2896
3040
  /** The communication identifier of the sender */
2897
3041
  senderCommunicationIdentifier: CommunicationIdentifierModel;
2898
3042
  /** The display name of the sender */
2899
- senderDisplayName: string;
3043
+ senderDisplayName?: string;
2900
3044
  /** The original compose time of the message */
2901
- composeTime: string;
3045
+ composeTime?: string;
2902
3046
  /** The type of the message */
2903
3047
  type: string;
2904
3048
  /** The version of the message */
2905
- version: number;
3049
+ version?: number;
2906
3050
  }
2907
3051
  /** Schema of common properties of all chat thread events */
2908
3052
  export interface AcsChatThreadEventInThreadBase extends AcsChatEventInThreadBase {
@@ -2914,24 +3058,24 @@ export interface AcsChatThreadEventInThreadBase extends AcsChatEventInThreadBase
2914
3058
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantAdded event. */
2915
3059
  export interface AcsChatParticipantAddedToThreadEventData extends AcsChatEventInThreadBase {
2916
3060
  /** The time at which the user was added to the thread */
2917
- time: string;
3061
+ time?: string;
2918
3062
  /** The communication identifier of the user who added the user */
2919
3063
  addedByCommunicationIdentifier: CommunicationIdentifierModel;
2920
3064
  /** The details of the user who was added */
2921
3065
  participantAdded: AcsChatThreadParticipant;
2922
3066
  /** The version of the thread */
2923
- version: number;
3067
+ version?: number;
2924
3068
  }
2925
3069
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantRemoved event. */
2926
3070
  export interface AcsChatParticipantRemovedFromThreadEventData extends AcsChatEventInThreadBase {
2927
3071
  /** The time at which the user was removed to the thread */
2928
- time: string;
3072
+ time?: string;
2929
3073
  /** The communication identifier of the user who removed the user */
2930
3074
  removedByCommunicationIdentifier: CommunicationIdentifierModel;
2931
3075
  /** The details of the user who was removed */
2932
3076
  participantRemoved: AcsChatThreadParticipant;
2933
3077
  /** The version of the thread */
2934
- version: number;
3078
+ version?: number;
2935
3079
  }
2936
3080
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event. */
2937
3081
  export interface AcsSmsDeliveryReportReceivedEventData extends AcsSmsEventBase {
@@ -2942,14 +3086,14 @@ export interface AcsSmsDeliveryReportReceivedEventData extends AcsSmsEventBase {
2942
3086
  /** List of details of delivery attempts made */
2943
3087
  deliveryAttempts: AcsSmsDeliveryAttempt[];
2944
3088
  /** The time at which the SMS delivery report was received */
2945
- receivedTimestamp: string;
3089
+ receivedTimestamp?: string;
2946
3090
  /** Customer Content */
2947
- tag: string;
3091
+ tag?: string;
2948
3092
  }
2949
3093
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSReceived event. */
2950
3094
  export interface AcsSmsReceivedEventData extends AcsSmsEventBase {
2951
3095
  /** The SMS content */
2952
- message?: string;
3096
+ message: string;
2953
3097
  /** The time at which the SMS was received */
2954
3098
  receivedTimestamp?: string;
2955
3099
  /** Number of segments in the message */
@@ -3256,6 +3400,12 @@ export interface AcsRouterWorkerOfferRevokedEventData extends AcsRouterWorkerEve
3256
3400
  /** Router Worker Offer Revoked Offer Id */
3257
3401
  offerId: string;
3258
3402
  }
3403
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallParticipantAdded event. */
3404
+ export interface AcsCallParticipantAddedEventData extends AcsCallParticipantEventData {
3405
+ }
3406
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.CallParticipantRemoved event. */
3407
+ export interface AcsCallParticipantRemovedEventData extends AcsCallParticipantEventData {
3408
+ }
3259
3409
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event. */
3260
3410
  export interface AcsChatMessageReceivedEventData extends AcsChatMessageEventBase {
3261
3411
  /** The body of the chat message */
@@ -3270,11 +3420,11 @@ export interface AcsChatMessageEditedEventData extends AcsChatMessageEventBase {
3270
3420
  /** The body of the chat message */
3271
3421
  messageBody: string;
3272
3422
  /** The chat message metadata */
3273
- metadata: {
3423
+ metadata?: {
3274
3424
  [propertyName: string]: string;
3275
3425
  };
3276
3426
  /** The time at which the message was edited */
3277
- editTime: string;
3427
+ editTime?: string;
3278
3428
  }
3279
3429
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageDeleted event. */
3280
3430
  export interface AcsChatMessageDeletedEventData extends AcsChatMessageEventBase {
@@ -3290,7 +3440,7 @@ export interface AcsChatThreadCreatedWithUserEventData extends AcsChatThreadEven
3290
3440
  [propertyName: string]: Record<string, unknown>;
3291
3441
  };
3292
3442
  /** The thread metadata */
3293
- metadata: {
3443
+ metadata?: {
3294
3444
  [propertyName: string]: string;
3295
3445
  };
3296
3446
  /** The list of properties of participants who are part of the thread */
@@ -3301,16 +3451,16 @@ export interface AcsChatThreadWithUserDeletedEventData extends AcsChatThreadEven
3301
3451
  /** The communication identifier of the user who deleted the thread */
3302
3452
  deletedByCommunicationIdentifier: CommunicationIdentifierModel;
3303
3453
  /** The deletion time of the thread */
3304
- deleteTime: string;
3454
+ deleteTime?: string;
3305
3455
  }
3306
3456
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event. */
3307
3457
  export interface AcsChatThreadPropertiesUpdatedPerUserEventData extends AcsChatThreadEventBase {
3308
3458
  /** The communication identifier of the user who updated the thread properties */
3309
3459
  editedByCommunicationIdentifier: CommunicationIdentifierModel;
3310
3460
  /** The time at which the properties of the thread were updated */
3311
- editTime: string;
3461
+ editTime?: string;
3312
3462
  /** The thread metadata */
3313
- metadata: {
3463
+ metadata?: {
3314
3464
  [propertyName: string]: string;
3315
3465
  };
3316
3466
  /** The updated thread properties */
@@ -3321,7 +3471,7 @@ export interface AcsChatThreadPropertiesUpdatedPerUserEventData extends AcsChatT
3321
3471
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantAddedToThreadWithUser event. */
3322
3472
  export interface AcsChatParticipantAddedToThreadWithUserEventData extends AcsChatThreadEventBase {
3323
3473
  /** The time at which the user was added to the thread */
3324
- time: string;
3474
+ time?: string;
3325
3475
  /** The communication identifier of the user who added the user */
3326
3476
  addedByCommunicationIdentifier: CommunicationIdentifierModel;
3327
3477
  /** The details of the user who was added */
@@ -3330,18 +3480,36 @@ export interface AcsChatParticipantAddedToThreadWithUserEventData extends AcsCha
3330
3480
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser event. */
3331
3481
  export interface AcsChatParticipantRemovedFromThreadWithUserEventData extends AcsChatThreadEventBase {
3332
3482
  /** The time at which the user was removed to the thread */
3333
- time: string;
3483
+ time?: string;
3334
3484
  /** The communication identifier of the user who removed the user */
3335
3485
  removedByCommunicationIdentifier: CommunicationIdentifierModel;
3336
3486
  /** The details of the user who was removed */
3337
3487
  participantRemoved: AcsChatThreadParticipant;
3338
3488
  }
3489
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatAzureBotCommandReceivedInThread event. */
3490
+ export interface AcsChatAzureBotCommandReceivedInThreadEventData extends AcsChatMessageEventInThreadBase {
3491
+ /** The body of the chat message */
3492
+ messageBody: string;
3493
+ /** The chat message metadata */
3494
+ metadata?: {
3495
+ [propertyName: string]: string;
3496
+ };
3497
+ }
3498
+ /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatTypingIndicatorReceivedInThread event. */
3499
+ export interface AcsChatTypingIndicatorReceivedInThreadEventData extends AcsChatMessageEventInThreadBase {
3500
+ /** The body of the chat message */
3501
+ messageBody: string;
3502
+ /** The chat message metadata */
3503
+ metadata?: {
3504
+ [propertyName: string]: string;
3505
+ };
3506
+ }
3339
3507
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceivedInThread event. */
3340
3508
  export interface AcsChatMessageReceivedInThreadEventData extends AcsChatMessageEventInThreadBase {
3341
3509
  /** The body of the chat message */
3342
3510
  messageBody: string;
3343
3511
  /** The chat message metadata */
3344
- metadata: {
3512
+ metadata?: {
3345
3513
  [propertyName: string]: string;
3346
3514
  };
3347
3515
  }
@@ -3350,11 +3518,11 @@ export interface AcsChatMessageEditedInThreadEventData extends AcsChatMessageEve
3350
3518
  /** The body of the chat message */
3351
3519
  messageBody: string;
3352
3520
  /** The chat message metadata */
3353
- metadata: {
3521
+ metadata?: {
3354
3522
  [propertyName: string]: string;
3355
3523
  };
3356
3524
  /** The time at which the message was edited */
3357
- editTime: string;
3525
+ editTime?: string;
3358
3526
  }
3359
3527
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageDeletedInThread event. */
3360
3528
  export interface AcsChatMessageDeletedInThreadEventData extends AcsChatMessageEventInThreadBase {
@@ -3370,7 +3538,7 @@ export interface AcsChatThreadCreatedEventData extends AcsChatThreadEventInThrea
3370
3538
  [propertyName: string]: Record<string, unknown>;
3371
3539
  };
3372
3540
  /** The chat thread created metadata */
3373
- metadata: {
3541
+ metadata?: {
3374
3542
  [propertyName: string]: string;
3375
3543
  };
3376
3544
  /** The list of properties of participants who are part of the thread */
@@ -3381,14 +3549,14 @@ export interface AcsChatThreadDeletedEventData extends AcsChatThreadEventInThrea
3381
3549
  /** The communication identifier of the user who deleted the thread */
3382
3550
  deletedByCommunicationIdentifier: CommunicationIdentifierModel;
3383
3551
  /** The deletion time of the thread */
3384
- deleteTime: string;
3552
+ deleteTime?: string;
3385
3553
  }
3386
3554
  /** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdated event. */
3387
3555
  export interface AcsChatThreadPropertiesUpdatedEventData extends AcsChatThreadEventInThreadBase {
3388
3556
  /** The communication identifier of the user who updated the thread properties */
3389
3557
  editedByCommunicationIdentifier: CommunicationIdentifierModel;
3390
3558
  /** The time at which the properties of the thread were updated */
3391
- editTime: string;
3559
+ editTime?: string;
3392
3560
  /** The updated thread properties */
3393
3561
  properties: {
3394
3562
  [propertyName: string]: Record<string, unknown>;
@@ -3793,6 +3961,47 @@ export declare enum KnownAcsRouterUpdatedWorkerProperty {
3793
3961
  * **ChannelConfigurations**
3794
3962
  */
3795
3963
  export type AcsRouterUpdatedWorkerProperty = string;
3964
+ /** Known values of {@link AcsCallParticipantKind} that the service accepts. */
3965
+ export declare enum KnownAcsCallParticipantKind {
3966
+ /** Call participant role is an attendee. */
3967
+ Attendee = "Attendee",
3968
+ /** Call participant role is presenter. */
3969
+ Presenter = "Presenter",
3970
+ /** Call participant role is consumer. */
3971
+ Consumer = "Consumer",
3972
+ /** Call participant role is collaborator. */
3973
+ Collaborator = "Collaborator",
3974
+ /** Call participant role is organizer. */
3975
+ Organizer = "Organizer"
3976
+ }
3977
+ /**
3978
+ * Defines values for AcsCallParticipantKind. \
3979
+ * {@link KnownAcsCallParticipantKind} can be used interchangeably with AcsCallParticipantKind,
3980
+ * this enum contains the known values that the service supports.
3981
+ * ### Known values supported by the service
3982
+ * **Attendee**: Call participant role is an attendee. \
3983
+ * **Presenter**: Call participant role is presenter. \
3984
+ * **Consumer**: Call participant role is consumer. \
3985
+ * **Collaborator**: Call participant role is collaborator. \
3986
+ * **Organizer**: Call participant role is organizer.
3987
+ */
3988
+ export type AcsCallParticipantKind = string;
3989
+ /** Known values of {@link AcsCallEndedByKind} that the service accepts. */
3990
+ export declare enum KnownAcsCallEndedByKind {
3991
+ /** Call end initiator is a participant */
3992
+ Participant = "Participant",
3993
+ /** Call end initiator is the local participant */
3994
+ MicrosoftInternal = "MicrosoftInternal"
3995
+ }
3996
+ /**
3997
+ * Defines values for AcsCallEndedByKind. \
3998
+ * {@link KnownAcsCallEndedByKind} can be used interchangeably with AcsCallEndedByKind,
3999
+ * this enum contains the known values that the service supports.
4000
+ * ### Known values supported by the service
4001
+ * **Participant**: Call end initiator is a participant \
4002
+ * **MicrosoftInternal**: Call end initiator is the local participant
4003
+ */
4004
+ export type AcsCallEndedByKind = string;
3796
4005
  /** Known values of {@link RecordingContentType} that the service accepts. */
3797
4006
  export declare enum KnownRecordingContentType {
3798
4007
  /** AudioVideo */