@@ -8,7 +8,6 @@ import { AmqpMessage } from '@azure/core-amqp';
88import { DataTransformer } from ' @azure/core-amqp' ;
99import { delay } from ' @azure/core-amqp' ;
1010import { Delivery } from ' rhea-promise' ;
11- import { HttpOperationResponse } from ' @azure/core-http' ;
1211import Long from ' long' ;
1312import { MessagingError } from ' @azure/core-amqp' ;
1413import { OperationOptions } from ' @azure/core-auth' ;
@@ -18,18 +17,6 @@ import { TokenType } from '@azure/core-amqp';
1817import { WebSocketImpl } from ' rhea-promise' ;
1918import { WebSocketOptions } from ' @azure/core-amqp' ;
2019
21- // @public
22- export type AuthorizationRule = {
23- claimType: string ;
24- claimValue: string ;
25- rights: {
26- accessRights? : string [];
27- };
28- keyName: string ;
29- primaryKey? : string ;
30- secondaryKey? : string ;
31- };
32-
3320// @public
3421export interface CorrelationFilter {
3522 contentType? : string ;
@@ -55,9 +42,6 @@ export { delay }
5542
5643export { Delivery }
5744
58- // @public
59- export type EntityStatus = " Active" | " Creating" | " Deleting" | " ReceiveDisabled" | " SendDisabled" | " Disabled" | " Renaming" | " Restoring" | " Unknown" ;
60-
6145// @public
6246export interface GetMessageIteratorOptions extends OperationOptions , WaitTimeOptions {
6347}
@@ -68,17 +52,6 @@ export interface GetSessionReceiverOptions extends OperationOptions {
6852 sessionId? : string ;
6953}
7054
71- export { HttpOperationResponse }
72-
73- // @public
74- export type MessageCountDetails = {
75- activeMessageCount: number ;
76- deadLetterMessageCount: number ;
77- scheduledMessageCount: number ;
78- transferMessageCount: number ;
79- transferDeadLetterMessageCount: number ;
80- };
81-
8255// @public
8356export interface MessageHandlerOptions {
8457 autoComplete? : boolean ;
@@ -94,57 +67,6 @@ export interface MessageHandlers<ReceivedMessageT> {
9467
9568export { MessagingError }
9669
97- // @public
98- export interface QueueDetails {
99- accessedOn? : string ;
100- authorizationRules? : AuthorizationRule [];
101- autoDeleteOnIdle: string ;
102- createdOn? : string ;
103- deadLetteringOnMessageExpiration: boolean ;
104- defaultMessageTtl: string ;
105- duplicateDetectionHistoryTimeWindow: string ;
106- enableBatchedOperations: boolean ;
107- enableExpress? : boolean ;
108- enablePartitioning: boolean ;
109- entityAvailabilityStatus? : string ;
110- forwardDeadLetteredMessagesTo? : string ;
111- forwardTo? : string ;
112- isAnonymousAccessible? : boolean ;
113- lockDuration: string ;
114- maxDeliveryCount: number ;
115- maxSizeInMegabytes: number ;
116- messageCount? : number ;
117- messageCountDetails? : MessageCountDetails ;
118- queueName: string ;
119- requiresDuplicateDetection: boolean ;
120- requiresSession: boolean ;
121- sizeInBytes? : number ;
122- status? : EntityStatus ;
123- supportOrdering? : boolean ;
124- updatedOn? : string ;
125- userMetadata? : string ;
126- }
127-
128- // @public
129- export interface QueueOptions {
130- authorizationRules? : AuthorizationRule [];
131- autoDeleteOnIdle? : string ;
132- deadLetteringOnMessageExpiration? : boolean ;
133- defaultMessageTtl? : string ;
134- duplicateDetectionHistoryTimeWindow? : string ;
135- enableBatchedOperations? : boolean ;
136- enablePartitioning? : boolean ;
137- forwardDeadLetteredMessagesTo? : string ;
138- forwardTo? : string ;
139- lockDuration? : string ;
140- maxDeliveryCount? : number ;
141- maxSizeInMegabytes? : number ;
142- requiresDuplicateDetection? : boolean ;
143- requiresSession? : boolean ;
144- status? : EntityStatus ;
145- userMetadata? : string ;
146- }
147-
14870// @public
14971export interface ReceiveBatchOptions extends OperationOptions , WaitTimeOptions {
15072}
@@ -209,22 +131,6 @@ export interface RuleDescription {
209131 name: string ;
210132}
211133
212- // @public
213- export interface RuleDetails {
214- action? : SqlAction ;
215- createdOn: string ;
216- filter? : SqlFilter | CorrelationFilter ;
217- ruleName: string ;
218- subscriptionName: string ;
219- topicName: string ;
220- }
221-
222- // @public
223- export interface RuleOptions {
224- action? : SqlAction ;
225- filter? : SqlFilter | CorrelationFilter ;
226- }
227-
228134// @public
229135export interface Sender {
230136 cancelScheduledMessage(sequenceNumber : Long ): Promise <void >;
@@ -304,72 +210,10 @@ export interface SessionReceiverOptions {
304210 sessionId: string | undefined ;
305211}
306212
307- // @public
308- export type SqlAction = SqlFilter ;
309-
310- // @public
311- export interface SqlFilter {
312- compatibilityLevel? : number ;
313- requiresPreprocessing? : boolean ;
314- sqlExpression? : string ;
315- sqlParameters? : SqlParameter [];
316- }
317-
318- // @public
319- export type SqlParameter = {
320- key: string ;
321- value: string | number ;
322- type: string ;
323- };
324-
325213// @public
326214export interface SubscribeOptions extends OperationOptions , MessageHandlerOptions {
327215}
328216
329- // @public
330- export interface SubscriptionDetails {
331- accessedOn? : string ;
332- autoDeleteOnIdle: string ;
333- createdOn: string ;
334- deadLetteringOnFilterEvaluationExceptions: boolean ;
335- deadLetteringOnMessageExpiration: boolean ;
336- defaultMessageTtl? : string ;
337- defaultRuleDescription? : any ;
338- enableBatchedOperations: boolean ;
339- enablePartitioning? : boolean ;
340- entityAvailabilityStatus: string ;
341- forwardDeadLetteredMessagesTo? : string ;
342- forwardTo? : string ;
343- lockDuration: string ;
344- maxDeliveryCount: number ;
345- maxSizeInMegabytes? : number ;
346- messageCount: number ;
347- messageCountDetails? : MessageCountDetails ;
348- requiresSession: boolean ;
349- sizeInBytes? : number ;
350- status? : EntityStatus ;
351- subscriptionName: string ;
352- topicName: string ;
353- updatedOn: string ;
354- userMetadata? : string ;
355- }
356-
357- // @public
358- export interface SubscriptionOptions {
359- autoDeleteOnIdle? : string ;
360- deadLetteringOnFilterEvaluationExceptions? : boolean ;
361- deadLetteringOnMessageExpiration? : boolean ;
362- defaultMessageTtl? : string ;
363- enableBatchedOperations? : boolean ;
364- forwardDeadLetteredMessagesTo? : string ;
365- forwardTo? : string ;
366- lockDuration? : string ;
367- maxDeliveryCount? : number ;
368- requiresSession? : boolean ;
369- status? : EntityStatus ;
370- userMetadata? : string ;
371- }
372-
373217// @public
374218export interface SubscriptionRuleManagement {
375219 addRule(ruleName : string , filter : boolean | string | CorrelationFilter , sqlRuleActionExpression ? : string ): Promise <void >;
@@ -382,51 +226,6 @@ export { TokenCredential }
382226
383227export { TokenType }
384228
385- // @public
386- export interface TopicDetails {
387- accessedOn? : string ;
388- authorizationRules? : AuthorizationRule [];
389- autoDeleteOnIdle? : string ;
390- createdOn? : string ;
391- defaultMessageTtl: string ;
392- duplicateDetectionHistoryTimeWindow: string ;
393- enableBatchedOperations: boolean ;
394- enableExpress? : boolean ;
395- enablePartitioning: boolean ;
396- enableSubscriptionPartitioning? : boolean ;
397- entityAvailabilityStatus? : string ;
398- filteringMessagesBeforePublishing? : boolean ;
399- isAnonymousAccessible? : boolean ;
400- isExpress? : boolean ;
401- maxDeliveryCount? : number ;
402- maxSizeInMegabytes: number ;
403- messageCount? : number ;
404- messageCountDetails? : MessageCountDetails ;
405- requiresDuplicateDetection: boolean ;
406- sizeInBytes? : number ;
407- status? : EntityStatus ;
408- subscriptionCount? : number ;
409- supportOrdering: boolean ;
410- topicName: string ;
411- updatedOn? : string ;
412- userMetadata? : string ;
413- }
414-
415- // @public
416- export interface TopicOptions {
417- authorizationRules? : AuthorizationRule [];
418- autoDeleteOnIdle? : string ;
419- defaultMessageTtl? : string ;
420- duplicateDetectionHistoryTimeWindow? : string ;
421- enableBatchedOperations? : boolean ;
422- enablePartitioning? : boolean ;
423- maxSizeInMegabytes? : number ;
424- requiresDuplicateDetection? : boolean ;
425- status? : EntityStatus ;
426- supportOrdering? : boolean ;
427- userMetadata? : string ;
428- }
429-
430229// @public
431230export interface WaitTimeOptions {
432231 maxWaitTimeSeconds: number ;
0 commit comments