@azure-rest/purview-sharing 1.0.0-beta.3 → 1.0.0-beta.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 (37) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +73 -2
  3. package/dist/browser/isUnexpected.js +4 -5
  4. package/dist/browser/isUnexpected.js.map +1 -1
  5. package/dist/browser/paginateHelper.js +43 -73
  6. package/dist/browser/paginateHelper.js.map +1 -1
  7. package/dist/browser/pollingHelper.js +11 -8
  8. package/dist/browser/pollingHelper.js.map +1 -1
  9. package/dist/browser/purviewSharing.js +13 -11
  10. package/dist/browser/purviewSharing.js.map +1 -1
  11. package/dist/commonjs/isUnexpected.js +4 -5
  12. package/dist/commonjs/isUnexpected.js.map +1 -1
  13. package/dist/commonjs/paginateHelper.js +43 -73
  14. package/dist/commonjs/paginateHelper.js.map +1 -1
  15. package/dist/commonjs/pollingHelper.js +11 -8
  16. package/dist/commonjs/pollingHelper.js.map +1 -1
  17. package/dist/commonjs/purviewSharing.js +13 -11
  18. package/dist/commonjs/purviewSharing.js.map +1 -1
  19. package/dist/commonjs/tsdoc-metadata.json +11 -11
  20. package/dist/esm/isUnexpected.js +4 -5
  21. package/dist/esm/isUnexpected.js.map +1 -1
  22. package/dist/esm/paginateHelper.js +43 -73
  23. package/dist/esm/paginateHelper.js.map +1 -1
  24. package/dist/esm/pollingHelper.js +11 -8
  25. package/dist/esm/pollingHelper.js.map +1 -1
  26. package/dist/esm/purviewSharing.js +13 -11
  27. package/dist/esm/purviewSharing.js.map +1 -1
  28. package/dist/react-native/isUnexpected.js +4 -5
  29. package/dist/react-native/isUnexpected.js.map +1 -1
  30. package/dist/react-native/paginateHelper.js +43 -73
  31. package/dist/react-native/paginateHelper.js.map +1 -1
  32. package/dist/react-native/pollingHelper.js +11 -8
  33. package/dist/react-native/pollingHelper.js.map +1 -1
  34. package/dist/react-native/purviewSharing.js +13 -11
  35. package/dist/react-native/purviewSharing.js.map +1 -1
  36. package/package.json +41 -47
  37. package/review/purview-sharing-node.api.md +1338 -0
@@ -0,0 +1,1338 @@
1
+ ## API Report File for "@azure-rest/purview-sharing"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { AbortSignalLike } from '@azure/abort-controller';
8
+ import type { CancelOnProgress } from '@azure/core-lro';
9
+ import type { Client } from '@azure-rest/core-client';
10
+ import type { ClientOptions } from '@azure-rest/core-client';
11
+ import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
+ import type { HttpResponse } from '@azure-rest/core-client';
13
+ import type { OperationState } from '@azure/core-lro';
14
+ import type { PathUncheckedResponse } from '@azure-rest/core-client';
15
+ import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
16
+ import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
17
+ import type { RequestParameters } from '@azure-rest/core-client';
18
+ import type { StreamableMethod } from '@azure-rest/core-client';
19
+ import type { TokenCredential } from '@azure/core-auth';
20
+
21
+ // @public
22
+ export interface AdlsGen2AccountSink extends SinkParent {
23
+ properties: AdlsGen2AccountSinkProperties;
24
+ // (undocumented)
25
+ storeKind: "AdlsGen2Account";
26
+ }
27
+
28
+ // @public
29
+ export interface AdlsGen2AccountSinkOutput extends SinkOutputParent {
30
+ properties: AdlsGen2AccountSinkPropertiesOutput;
31
+ // (undocumented)
32
+ storeKind: "AdlsGen2Account";
33
+ }
34
+
35
+ // @public
36
+ export interface AdlsGen2AccountSinkProperties {
37
+ containerName: string;
38
+ folder: string;
39
+ mountPath?: string;
40
+ }
41
+
42
+ // @public
43
+ export interface AdlsGen2AccountSinkPropertiesOutput {
44
+ containerName: string;
45
+ folder: string;
46
+ readonly location?: string;
47
+ mountPath?: string;
48
+ }
49
+
50
+ // @public
51
+ export interface AdlsGen2Artifact extends ArtifactParent {
52
+ properties: AdlsGen2ArtifactProperties;
53
+ // (undocumented)
54
+ storeKind: "AdlsGen2Account";
55
+ }
56
+
57
+ // @public
58
+ export interface AdlsGen2ArtifactOutput extends ArtifactOutputParent {
59
+ properties: AdlsGen2ArtifactPropertiesOutput;
60
+ // (undocumented)
61
+ storeKind: "AdlsGen2Account";
62
+ }
63
+
64
+ // @public
65
+ export interface AdlsGen2ArtifactProperties {
66
+ paths: Array<StorageAccountPath>;
67
+ }
68
+
69
+ // @public
70
+ export interface AdlsGen2ArtifactPropertiesOutput {
71
+ readonly location?: string;
72
+ paths: Array<StorageAccountPathOutput>;
73
+ }
74
+
75
+ // @public
76
+ export type Artifact = AdlsGen2Artifact | BlobStorageArtifact;
77
+
78
+ // @public
79
+ export type ArtifactOutput = AdlsGen2ArtifactOutput | BlobStorageArtifactOutput;
80
+
81
+ // @public
82
+ export interface ArtifactOutputParent {
83
+ // (undocumented)
84
+ storeKind: "Artifact" | "AdlsGen2Account" | "BlobAccount";
85
+ storeReference: StoreReferenceOutput;
86
+ }
87
+
88
+ // @public
89
+ export interface ArtifactParent {
90
+ // (undocumented)
91
+ storeKind: "Artifact" | "AdlsGen2Account" | "BlobAccount";
92
+ storeReference: StoreReference;
93
+ }
94
+
95
+ // @public
96
+ export interface BlobAccountSink extends SinkParent {
97
+ properties: BlobAccountSinkProperties;
98
+ // (undocumented)
99
+ storeKind: "BlobAccount";
100
+ }
101
+
102
+ // @public
103
+ export interface BlobAccountSinkOutput extends SinkOutputParent {
104
+ properties: BlobAccountSinkPropertiesOutput;
105
+ // (undocumented)
106
+ storeKind: "BlobAccount";
107
+ }
108
+
109
+ // @public
110
+ export interface BlobAccountSinkProperties {
111
+ containerName: string;
112
+ folder: string;
113
+ mountPath?: string;
114
+ }
115
+
116
+ // @public
117
+ export interface BlobAccountSinkPropertiesOutput {
118
+ containerName: string;
119
+ folder: string;
120
+ readonly location?: string;
121
+ mountPath?: string;
122
+ }
123
+
124
+ // @public
125
+ export interface BlobStorageArtifact extends ArtifactParent {
126
+ properties: BlobStorageArtifactProperties;
127
+ // (undocumented)
128
+ storeKind: "BlobAccount";
129
+ }
130
+
131
+ // @public
132
+ export interface BlobStorageArtifactOutput extends ArtifactOutputParent {
133
+ properties: BlobStorageArtifactPropertiesOutput;
134
+ // (undocumented)
135
+ storeKind: "BlobAccount";
136
+ }
137
+
138
+ // @public
139
+ export interface BlobStorageArtifactProperties {
140
+ paths: Array<StorageAccountPath>;
141
+ }
142
+
143
+ // @public
144
+ export interface BlobStorageArtifactPropertiesOutput {
145
+ readonly location?: string;
146
+ paths: Array<StorageAccountPathOutput>;
147
+ }
148
+
149
+ // @public
150
+ function createClient(endpoint: string, credentials: TokenCredential, { apiVersion, ...options }?: PurviewSharingClientOptions): PurviewSharingClient;
151
+ export default createClient;
152
+
153
+ // @public
154
+ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
155
+
156
+ // @public
157
+ export function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
158
+
159
+ // @public
160
+ export type GetPage<TPage> = (pageLink: string) => Promise<{
161
+ page: TPage;
162
+ nextPageLink?: string;
163
+ }>;
164
+
165
+ // @public
166
+ export interface InPlaceReceivedShare extends ReceivedShareParent {
167
+ properties: InPlaceReceivedShareProperties;
168
+ // (undocumented)
169
+ shareKind: "InPlace";
170
+ }
171
+
172
+ // @public
173
+ export interface InPlaceReceivedShareOutput extends ReceivedShareOutputParent {
174
+ properties: InPlaceReceivedSharePropertiesOutput;
175
+ // (undocumented)
176
+ shareKind: "InPlace";
177
+ }
178
+
179
+ // @public
180
+ export interface InPlaceReceivedShareProperties {
181
+ assetStoreKind?: "AdlsGen2Account" | "BlobAccount";
182
+ displayName?: string;
183
+ shareStatus?: "Detached" | "Attached";
184
+ sink?: Sink;
185
+ }
186
+
187
+ // @public
188
+ export interface InPlaceReceivedSharePropertiesOutput {
189
+ readonly assetLocation?: string;
190
+ assetStoreKind?: "AdlsGen2Account" | "BlobAccount";
191
+ readonly createdAt?: string;
192
+ displayName?: string;
193
+ readonly expirationDate?: string;
194
+ readonly receiverEmail?: string;
195
+ readonly receiverName?: string;
196
+ readonly receiverTenantName?: string;
197
+ readonly senderEmail?: string;
198
+ readonly senderName?: string;
199
+ readonly senderTenantName?: string;
200
+ readonly sentShareDescription?: string;
201
+ readonly sharedAt?: string;
202
+ shareStatus?: "Detached" | "Attached";
203
+ sink?: SinkOutput;
204
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
205
+ }
206
+
207
+ // @public
208
+ export interface InPlaceSentShare extends SentShareParent {
209
+ properties: InPlaceSentShareProperties;
210
+ // (undocumented)
211
+ shareKind: "InPlace";
212
+ }
213
+
214
+ // @public
215
+ export interface InPlaceSentShareOutput extends SentShareOutputParent {
216
+ properties: InPlaceSentSharePropertiesOutput;
217
+ // (undocumented)
218
+ shareKind: "InPlace";
219
+ }
220
+
221
+ // @public
222
+ export interface InPlaceSentShareProperties {
223
+ artifact: Artifact;
224
+ description?: string;
225
+ displayName: string;
226
+ }
227
+
228
+ // @public
229
+ export interface InPlaceSentSharePropertiesOutput {
230
+ artifact: ArtifactOutput;
231
+ readonly createdAt?: string;
232
+ readonly dependsOn?: Array<string>;
233
+ description?: string;
234
+ displayName: string;
235
+ readonly senderEmail?: string;
236
+ readonly senderName?: string;
237
+ readonly senderTenantName?: string;
238
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
239
+ }
240
+
241
+ // @public (undocumented)
242
+ export function isUnexpected(response: ReceivedSharesGetReceivedShare200Response | ReceivedSharesGetReceivedShareDefaultResponse): response is ReceivedSharesGetReceivedShareDefaultResponse;
243
+
244
+ // @public (undocumented)
245
+ export function isUnexpected(response: ReceivedSharesCreateOrReplace200Response | ReceivedSharesCreateOrReplace201Response | ReceivedSharesCreateOrReplaceDefaultResponse): response is ReceivedSharesCreateOrReplaceDefaultResponse;
246
+
247
+ // @public (undocumented)
248
+ export function isUnexpected(response: ReceivedSharesDeleteReceivedShare202Response | ReceivedSharesDeleteReceivedShareDefaultResponse): response is ReceivedSharesDeleteReceivedShareDefaultResponse;
249
+
250
+ // @public (undocumented)
251
+ export function isUnexpected(response: ReceivedSharesGetAllAttachedReceivedShares200Response | ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse): response is ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse;
252
+
253
+ // @public (undocumented)
254
+ export function isUnexpected(response: ReceivedSharesGetAllDetachedReceivedShares200Response | ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse): response is ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse;
255
+
256
+ // @public (undocumented)
257
+ export function isUnexpected(response: ReceivedSharesActivateTenantEmailRegistration200Response | ReceivedSharesActivateTenantEmailRegistrationDefaultResponse): response is ReceivedSharesActivateTenantEmailRegistrationDefaultResponse;
258
+
259
+ // @public (undocumented)
260
+ export function isUnexpected(response: ReceivedSharesRegisterTenantEmailRegistration200Response | ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse): response is ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse;
261
+
262
+ // @public (undocumented)
263
+ export function isUnexpected(response: SentSharesGetAllSentShares200Response | SentSharesGetAllSentSharesDefaultResponse): response is SentSharesGetAllSentSharesDefaultResponse;
264
+
265
+ // @public (undocumented)
266
+ export function isUnexpected(response: SentSharesGetSentShare200Response | SentSharesGetSentShareDefaultResponse): response is SentSharesGetSentShareDefaultResponse;
267
+
268
+ // @public (undocumented)
269
+ export function isUnexpected(response: SentSharesCreateOrReplace200Response | SentSharesCreateOrReplace201Response | SentSharesCreateOrReplaceDefaultResponse): response is SentSharesCreateOrReplaceDefaultResponse;
270
+
271
+ // @public (undocumented)
272
+ export function isUnexpected(response: SentSharesDeleteSentShare202Response | SentSharesDeleteSentShareDefaultResponse): response is SentSharesDeleteSentShareDefaultResponse;
273
+
274
+ // @public (undocumented)
275
+ export function isUnexpected(response: SentSharesGetAllSentShareInvitations200Response | SentSharesGetAllSentShareInvitationsDefaultResponse): response is SentSharesGetAllSentShareInvitationsDefaultResponse;
276
+
277
+ // @public (undocumented)
278
+ export function isUnexpected(response: SentSharesGetSentShareInvitation200Response | SentSharesGetSentShareInvitationDefaultResponse): response is SentSharesGetSentShareInvitationDefaultResponse;
279
+
280
+ // @public (undocumented)
281
+ export function isUnexpected(response: SentSharesCreateSentShareInvitation201Response | SentSharesCreateSentShareInvitationDefaultResponse): response is SentSharesCreateSentShareInvitationDefaultResponse;
282
+
283
+ // @public (undocumented)
284
+ export function isUnexpected(response: SentSharesDeleteSentShareInvitation202Response | SentSharesDeleteSentShareInvitationDefaultResponse): response is SentSharesDeleteSentShareInvitationDefaultResponse;
285
+
286
+ // @public (undocumented)
287
+ export function isUnexpected(response: SentSharesNotifyUserSentShareInvitation200Response | SentSharesNotifyUserSentShareInvitationDefaultResponse): response is SentSharesNotifyUserSentShareInvitationDefaultResponse;
288
+
289
+ // @public (undocumented)
290
+ export function isUnexpected(response: ShareResourcesGetAllShareResources200Response | ShareResourcesGetAllShareResourcesDefaultResponse): response is ShareResourcesGetAllShareResourcesDefaultResponse;
291
+
292
+ // @public
293
+ export interface OperationResponseOutput {
294
+ endTime?: string;
295
+ error?: PurviewShareErrorInfoOutput;
296
+ id?: string;
297
+ startTime?: string;
298
+ status: "Running" | "TransientFailure" | "Succeeded" | "Failed" | "NotStarted";
299
+ }
300
+
301
+ // @public
302
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
303
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
304
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
305
+ next(): Promise<IteratorResult<TElement>>;
306
+ }
307
+
308
+ // @public
309
+ export interface PageSettings {
310
+ continuationToken?: string;
311
+ }
312
+
313
+ // @public
314
+ export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
315
+
316
+ // @public
317
+ export type PaginateReturn<TResult> = TResult extends {
318
+ body: {
319
+ value?: infer TPage;
320
+ };
321
+ } ? GetArrayType<TPage> : Array<unknown>;
322
+
323
+ // @public
324
+ export interface PagingOptions<TResponse> {
325
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
326
+ }
327
+
328
+ // @public
329
+ export interface ProxyResource {
330
+ }
331
+
332
+ // @public
333
+ export interface ProxyResourceOutput {
334
+ readonly id?: string;
335
+ readonly type?: string;
336
+ }
337
+
338
+ // @public
339
+ export interface PurviewShareErrorInfoOutput {
340
+ code: string;
341
+ details?: Array<PurviewShareErrorInfoOutput>;
342
+ message: string;
343
+ target?: string;
344
+ }
345
+
346
+ // @public
347
+ export interface PurviewShareErrorOutput {
348
+ error: PurviewShareErrorInfoOutput;
349
+ }
350
+
351
+ // @public (undocumented)
352
+ export type PurviewSharingClient = Client & {
353
+ path: Routes;
354
+ };
355
+
356
+ // @public
357
+ export interface PurviewSharingClientOptions extends ClientOptions {
358
+ apiVersion?: string;
359
+ }
360
+
361
+ // @public
362
+ export type ReceivedShare = InPlaceReceivedShare;
363
+
364
+ // @public
365
+ export interface ReceivedShareListOutput {
366
+ nextLink?: string;
367
+ value: Array<ReceivedShareOutput>;
368
+ }
369
+
370
+ // @public
371
+ export type ReceivedShareOutput = InPlaceReceivedShareOutput;
372
+
373
+ // @public
374
+ export interface ReceivedShareOutputParent extends ProxyResourceOutput {
375
+ // (undocumented)
376
+ shareKind: "ReceivedShare" | "InPlace";
377
+ }
378
+
379
+ // @public
380
+ export interface ReceivedShareParent extends ProxyResource {
381
+ // (undocumented)
382
+ shareKind: "ReceivedShare" | "InPlace";
383
+ }
384
+
385
+ // @public (undocumented)
386
+ export interface ReceivedSharesActivateTenantEmailRegistration {
387
+ post(options: ReceivedSharesActivateTenantEmailRegistrationParameters): StreamableMethod<ReceivedSharesActivateTenantEmailRegistration200Response | ReceivedSharesActivateTenantEmailRegistrationDefaultResponse>;
388
+ }
389
+
390
+ // @public
391
+ export interface ReceivedSharesActivateTenantEmailRegistration200Response extends HttpResponse {
392
+ // (undocumented)
393
+ body: TenantEmailRegistrationOutput;
394
+ // (undocumented)
395
+ status: "200";
396
+ }
397
+
398
+ // @public (undocumented)
399
+ export interface ReceivedSharesActivateTenantEmailRegistrationBodyParam {
400
+ body: TenantEmailRegistration;
401
+ }
402
+
403
+ // @public (undocumented)
404
+ export interface ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders {
405
+ "x-ms-error-code"?: string;
406
+ }
407
+
408
+ // @public
409
+ export interface ReceivedSharesActivateTenantEmailRegistrationDefaultResponse extends HttpResponse {
410
+ // (undocumented)
411
+ body: PurviewShareErrorOutput;
412
+ // (undocumented)
413
+ headers: RawHttpHeaders & ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders;
414
+ // (undocumented)
415
+ status: string;
416
+ }
417
+
418
+ // @public (undocumented)
419
+ export interface ReceivedSharesActivateTenantEmailRegistrationHeaderParam {
420
+ // (undocumented)
421
+ headers?: RawHttpHeadersInput & ReceivedSharesActivateTenantEmailRegistrationHeaders;
422
+ }
423
+
424
+ // @public (undocumented)
425
+ export interface ReceivedSharesActivateTenantEmailRegistrationHeaders {
426
+ "repeatability-request-id"?: string;
427
+ }
428
+
429
+ // @public (undocumented)
430
+ export interface ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam {
431
+ contentType?: "application/json";
432
+ }
433
+
434
+ // @public (undocumented)
435
+ export type ReceivedSharesActivateTenantEmailRegistrationParameters = ReceivedSharesActivateTenantEmailRegistrationHeaderParam & ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam & ReceivedSharesActivateTenantEmailRegistrationBodyParam & RequestParameters;
436
+
437
+ // @public (undocumented)
438
+ export interface ReceivedSharesCreateOrReplace200Headers {
439
+ "operation-location"?: string;
440
+ }
441
+
442
+ // @public
443
+ export interface ReceivedSharesCreateOrReplace200Response extends HttpResponse {
444
+ // (undocumented)
445
+ body: ReceivedShareOutput;
446
+ // (undocumented)
447
+ headers: RawHttpHeaders & ReceivedSharesCreateOrReplace200Headers;
448
+ // (undocumented)
449
+ status: "200";
450
+ }
451
+
452
+ // @public (undocumented)
453
+ export interface ReceivedSharesCreateOrReplace201Headers {
454
+ "operation-location"?: string;
455
+ }
456
+
457
+ // @public
458
+ export interface ReceivedSharesCreateOrReplace201Response extends HttpResponse {
459
+ // (undocumented)
460
+ body: ReceivedShareOutput;
461
+ // (undocumented)
462
+ headers: RawHttpHeaders & ReceivedSharesCreateOrReplace201Headers;
463
+ // (undocumented)
464
+ status: "201";
465
+ }
466
+
467
+ // @public (undocumented)
468
+ export interface ReceivedSharesCreateOrReplaceBodyParam {
469
+ body: ReceivedShare;
470
+ }
471
+
472
+ // @public (undocumented)
473
+ export interface ReceivedSharesCreateOrReplaceDefaultHeaders {
474
+ "x-ms-error-code"?: string;
475
+ }
476
+
477
+ // @public
478
+ export interface ReceivedSharesCreateOrReplaceDefaultResponse extends HttpResponse {
479
+ // (undocumented)
480
+ body: PurviewShareErrorOutput;
481
+ // (undocumented)
482
+ headers: RawHttpHeaders & ReceivedSharesCreateOrReplaceDefaultHeaders;
483
+ // (undocumented)
484
+ status: string;
485
+ }
486
+
487
+ // @public (undocumented)
488
+ export interface ReceivedSharesCreateOrReplaceMediaTypesParam {
489
+ contentType?: "application/json";
490
+ }
491
+
492
+ // @public (undocumented)
493
+ export type ReceivedSharesCreateOrReplaceParameters = ReceivedSharesCreateOrReplaceMediaTypesParam & ReceivedSharesCreateOrReplaceBodyParam & RequestParameters;
494
+
495
+ // @public (undocumented)
496
+ export interface ReceivedSharesDeleteReceivedShare202Headers {
497
+ "operation-location"?: string;
498
+ }
499
+
500
+ // @public
501
+ export interface ReceivedSharesDeleteReceivedShare202Response extends HttpResponse {
502
+ // (undocumented)
503
+ body: OperationResponseOutput;
504
+ // (undocumented)
505
+ headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShare202Headers;
506
+ // (undocumented)
507
+ status: "202";
508
+ }
509
+
510
+ // @public (undocumented)
511
+ export interface ReceivedSharesDeleteReceivedShareDefaultHeaders {
512
+ "x-ms-error-code"?: string;
513
+ }
514
+
515
+ // @public
516
+ export interface ReceivedSharesDeleteReceivedShareDefaultResponse extends HttpResponse {
517
+ // (undocumented)
518
+ body: PurviewShareErrorOutput;
519
+ // (undocumented)
520
+ headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShareDefaultHeaders;
521
+ // (undocumented)
522
+ status: string;
523
+ }
524
+
525
+ // @public (undocumented)
526
+ export type ReceivedSharesDeleteReceivedShareParameters = RequestParameters;
527
+
528
+ // @public (undocumented)
529
+ export interface ReceivedSharesGetAllAttachedReceivedShares {
530
+ get(options: ReceivedSharesGetAllAttachedReceivedSharesParameters): StreamableMethod<ReceivedSharesGetAllAttachedReceivedShares200Response | ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse>;
531
+ }
532
+
533
+ // @public
534
+ export interface ReceivedSharesGetAllAttachedReceivedShares200Response extends HttpResponse {
535
+ // (undocumented)
536
+ body: ReceivedShareListOutput;
537
+ // (undocumented)
538
+ status: "200";
539
+ }
540
+
541
+ // @public (undocumented)
542
+ export interface ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders {
543
+ "x-ms-error-code"?: string;
544
+ }
545
+
546
+ // @public
547
+ export interface ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse extends HttpResponse {
548
+ // (undocumented)
549
+ body: PurviewShareErrorOutput;
550
+ // (undocumented)
551
+ headers: RawHttpHeaders & ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders;
552
+ // (undocumented)
553
+ status: string;
554
+ }
555
+
556
+ // @public (undocumented)
557
+ export type ReceivedSharesGetAllAttachedReceivedSharesParameters = ReceivedSharesGetAllAttachedReceivedSharesQueryParam & RequestParameters;
558
+
559
+ // @public (undocumented)
560
+ export interface ReceivedSharesGetAllAttachedReceivedSharesQueryParam {
561
+ // (undocumented)
562
+ queryParameters: ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties;
563
+ }
564
+
565
+ // @public (undocumented)
566
+ export interface ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties {
567
+ filter?: string;
568
+ orderby?: string;
569
+ referenceName: string;
570
+ }
571
+
572
+ // @public (undocumented)
573
+ export interface ReceivedSharesGetAllDetachedReceivedShares {
574
+ get(options?: ReceivedSharesGetAllDetachedReceivedSharesParameters): StreamableMethod<ReceivedSharesGetAllDetachedReceivedShares200Response | ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse>;
575
+ }
576
+
577
+ // @public
578
+ export interface ReceivedSharesGetAllDetachedReceivedShares200Response extends HttpResponse {
579
+ // (undocumented)
580
+ body: ReceivedShareListOutput;
581
+ // (undocumented)
582
+ status: "200";
583
+ }
584
+
585
+ // @public (undocumented)
586
+ export interface ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders {
587
+ "x-ms-error-code"?: string;
588
+ }
589
+
590
+ // @public
591
+ export interface ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse extends HttpResponse {
592
+ // (undocumented)
593
+ body: PurviewShareErrorOutput;
594
+ // (undocumented)
595
+ headers: RawHttpHeaders & ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders;
596
+ // (undocumented)
597
+ status: string;
598
+ }
599
+
600
+ // @public (undocumented)
601
+ export type ReceivedSharesGetAllDetachedReceivedSharesParameters = ReceivedSharesGetAllDetachedReceivedSharesQueryParam & RequestParameters;
602
+
603
+ // @public (undocumented)
604
+ export interface ReceivedSharesGetAllDetachedReceivedSharesQueryParam {
605
+ // (undocumented)
606
+ queryParameters?: ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties;
607
+ }
608
+
609
+ // @public (undocumented)
610
+ export interface ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties {
611
+ filter?: string;
612
+ orderby?: string;
613
+ }
614
+
615
+ // @public (undocumented)
616
+ export interface ReceivedSharesGetReceivedShare {
617
+ delete(options?: ReceivedSharesDeleteReceivedShareParameters): StreamableMethod<ReceivedSharesDeleteReceivedShare202Response | ReceivedSharesDeleteReceivedShareDefaultResponse>;
618
+ get(options?: ReceivedSharesGetReceivedShareParameters): StreamableMethod<ReceivedSharesGetReceivedShare200Response | ReceivedSharesGetReceivedShareDefaultResponse>;
619
+ put(options: ReceivedSharesCreateOrReplaceParameters): StreamableMethod<ReceivedSharesCreateOrReplace200Response | ReceivedSharesCreateOrReplace201Response | ReceivedSharesCreateOrReplaceDefaultResponse>;
620
+ }
621
+
622
+ // @public
623
+ export interface ReceivedSharesGetReceivedShare200Response extends HttpResponse {
624
+ // (undocumented)
625
+ body: ReceivedShareOutput;
626
+ // (undocumented)
627
+ status: "200";
628
+ }
629
+
630
+ // @public (undocumented)
631
+ export interface ReceivedSharesGetReceivedShareDefaultHeaders {
632
+ "x-ms-error-code"?: string;
633
+ }
634
+
635
+ // @public
636
+ export interface ReceivedSharesGetReceivedShareDefaultResponse extends HttpResponse {
637
+ // (undocumented)
638
+ body: PurviewShareErrorOutput;
639
+ // (undocumented)
640
+ headers: RawHttpHeaders & ReceivedSharesGetReceivedShareDefaultHeaders;
641
+ // (undocumented)
642
+ status: string;
643
+ }
644
+
645
+ // @public (undocumented)
646
+ export type ReceivedSharesGetReceivedShareParameters = RequestParameters;
647
+
648
+ // @public (undocumented)
649
+ export interface ReceivedSharesRegisterTenantEmailRegistration {
650
+ post(options?: ReceivedSharesRegisterTenantEmailRegistrationParameters): StreamableMethod<ReceivedSharesRegisterTenantEmailRegistration200Response | ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse>;
651
+ }
652
+
653
+ // @public
654
+ export interface ReceivedSharesRegisterTenantEmailRegistration200Response extends HttpResponse {
655
+ // (undocumented)
656
+ body: TenantEmailRegistrationOutput;
657
+ // (undocumented)
658
+ status: "200";
659
+ }
660
+
661
+ // @public (undocumented)
662
+ export interface ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders {
663
+ "x-ms-error-code"?: string;
664
+ }
665
+
666
+ // @public
667
+ export interface ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse extends HttpResponse {
668
+ // (undocumented)
669
+ body: PurviewShareErrorOutput;
670
+ // (undocumented)
671
+ headers: RawHttpHeaders & ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders;
672
+ // (undocumented)
673
+ status: string;
674
+ }
675
+
676
+ // @public (undocumented)
677
+ export interface ReceivedSharesRegisterTenantEmailRegistrationHeaderParam {
678
+ // (undocumented)
679
+ headers?: RawHttpHeadersInput & ReceivedSharesRegisterTenantEmailRegistrationHeaders;
680
+ }
681
+
682
+ // @public (undocumented)
683
+ export interface ReceivedSharesRegisterTenantEmailRegistrationHeaders {
684
+ "repeatability-request-id"?: string;
685
+ }
686
+
687
+ // @public (undocumented)
688
+ export type ReceivedSharesRegisterTenantEmailRegistrationParameters = ReceivedSharesRegisterTenantEmailRegistrationHeaderParam & RequestParameters;
689
+
690
+ // @public (undocumented)
691
+ export interface Routes {
692
+ (path: "/receivedShares/{receivedShareId}", receivedShareId: string): ReceivedSharesGetReceivedShare;
693
+ (path: "/receivedShares/attached"): ReceivedSharesGetAllAttachedReceivedShares;
694
+ (path: "/receivedShares/detached"): ReceivedSharesGetAllDetachedReceivedShares;
695
+ (path: "/emails:activate"): ReceivedSharesActivateTenantEmailRegistration;
696
+ (path: "/emails:register"): ReceivedSharesRegisterTenantEmailRegistration;
697
+ (path: "/sentShares"): SentSharesGetAllSentShares;
698
+ (path: "/sentShares/{sentShareId}", sentShareId: string): SentSharesGetSentShare;
699
+ (path: "/sentShares/{sentShareId}/sentShareInvitations", sentShareId: string): SentSharesGetAllSentShareInvitations;
700
+ (path: "/sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}", sentShareId: string, sentShareInvitationId: string): SentSharesGetSentShareInvitation;
701
+ (path: "/sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}:notify", sentShareId: string, sentShareInvitationId: string): SentSharesNotifyUserSentShareInvitation;
702
+ (path: "/shareResources"): ShareResourcesGetAllShareResources;
703
+ }
704
+
705
+ // @public
706
+ export type SentShare = InPlaceSentShare;
707
+
708
+ // @public
709
+ export type SentShareInvitation = ServiceInvitation | UserInvitation;
710
+
711
+ // @public
712
+ export interface SentShareInvitationListOutput {
713
+ nextLink?: string;
714
+ value: Array<SentShareInvitationOutput>;
715
+ }
716
+
717
+ // @public
718
+ export type SentShareInvitationOutput = ServiceInvitationOutput | UserInvitationOutput;
719
+
720
+ // @public
721
+ export interface SentShareInvitationOutputParent extends ProxyResourceOutput {
722
+ // (undocumented)
723
+ invitationKind: "SentShareInvitation" | "Service" | "User";
724
+ }
725
+
726
+ // @public
727
+ export interface SentShareInvitationParent extends ProxyResource {
728
+ // (undocumented)
729
+ invitationKind: "SentShareInvitation" | "Service" | "User";
730
+ }
731
+
732
+ // @public
733
+ export interface SentShareListOutput {
734
+ nextLink?: string;
735
+ value: Array<SentShareOutput>;
736
+ }
737
+
738
+ // @public
739
+ export type SentShareOutput = InPlaceSentShareOutput;
740
+
741
+ // @public
742
+ export interface SentShareOutputParent extends ProxyResourceOutput {
743
+ // (undocumented)
744
+ shareKind: "SentShare" | "InPlace";
745
+ }
746
+
747
+ // @public
748
+ export interface SentShareParent extends ProxyResource {
749
+ // (undocumented)
750
+ shareKind: "SentShare" | "InPlace";
751
+ }
752
+
753
+ // @public (undocumented)
754
+ export interface SentSharesCreateOrReplace200Headers {
755
+ "operation-location"?: string;
756
+ }
757
+
758
+ // @public
759
+ export interface SentSharesCreateOrReplace200Response extends HttpResponse {
760
+ // (undocumented)
761
+ body: SentShareOutput;
762
+ // (undocumented)
763
+ headers: RawHttpHeaders & SentSharesCreateOrReplace200Headers;
764
+ // (undocumented)
765
+ status: "200";
766
+ }
767
+
768
+ // @public (undocumented)
769
+ export interface SentSharesCreateOrReplace201Headers {
770
+ "operation-location"?: string;
771
+ }
772
+
773
+ // @public
774
+ export interface SentSharesCreateOrReplace201Response extends HttpResponse {
775
+ // (undocumented)
776
+ body: SentShareOutput;
777
+ // (undocumented)
778
+ headers: RawHttpHeaders & SentSharesCreateOrReplace201Headers;
779
+ // (undocumented)
780
+ status: "201";
781
+ }
782
+
783
+ // @public (undocumented)
784
+ export interface SentSharesCreateOrReplaceBodyParam {
785
+ body: SentShare;
786
+ }
787
+
788
+ // @public (undocumented)
789
+ export interface SentSharesCreateOrReplaceDefaultHeaders {
790
+ "x-ms-error-code"?: string;
791
+ }
792
+
793
+ // @public
794
+ export interface SentSharesCreateOrReplaceDefaultResponse extends HttpResponse {
795
+ // (undocumented)
796
+ body: PurviewShareErrorOutput;
797
+ // (undocumented)
798
+ headers: RawHttpHeaders & SentSharesCreateOrReplaceDefaultHeaders;
799
+ // (undocumented)
800
+ status: string;
801
+ }
802
+
803
+ // @public (undocumented)
804
+ export interface SentSharesCreateOrReplaceMediaTypesParam {
805
+ contentType?: "application/json";
806
+ }
807
+
808
+ // @public (undocumented)
809
+ export type SentSharesCreateOrReplaceParameters = SentSharesCreateOrReplaceMediaTypesParam & SentSharesCreateOrReplaceBodyParam & RequestParameters;
810
+
811
+ // @public
812
+ export interface SentSharesCreateSentShareInvitation201Response extends HttpResponse {
813
+ // (undocumented)
814
+ body: SentShareInvitationOutput;
815
+ // (undocumented)
816
+ status: "201";
817
+ }
818
+
819
+ // @public (undocumented)
820
+ export interface SentSharesCreateSentShareInvitationBodyParam {
821
+ body: SentShareInvitation;
822
+ }
823
+
824
+ // @public (undocumented)
825
+ export interface SentSharesCreateSentShareInvitationDefaultHeaders {
826
+ "x-ms-error-code"?: string;
827
+ }
828
+
829
+ // @public
830
+ export interface SentSharesCreateSentShareInvitationDefaultResponse extends HttpResponse {
831
+ // (undocumented)
832
+ body: PurviewShareErrorOutput;
833
+ // (undocumented)
834
+ headers: RawHttpHeaders & SentSharesCreateSentShareInvitationDefaultHeaders;
835
+ // (undocumented)
836
+ status: string;
837
+ }
838
+
839
+ // @public (undocumented)
840
+ export interface SentSharesCreateSentShareInvitationMediaTypesParam {
841
+ contentType?: "application/json";
842
+ }
843
+
844
+ // @public (undocumented)
845
+ export type SentSharesCreateSentShareInvitationParameters = SentSharesCreateSentShareInvitationMediaTypesParam & SentSharesCreateSentShareInvitationBodyParam & RequestParameters;
846
+
847
+ // @public (undocumented)
848
+ export interface SentSharesDeleteSentShare202Headers {
849
+ "operation-location"?: string;
850
+ }
851
+
852
+ // @public
853
+ export interface SentSharesDeleteSentShare202Response extends HttpResponse {
854
+ // (undocumented)
855
+ body: OperationResponseOutput;
856
+ // (undocumented)
857
+ headers: RawHttpHeaders & SentSharesDeleteSentShare202Headers;
858
+ // (undocumented)
859
+ status: "202";
860
+ }
861
+
862
+ // @public (undocumented)
863
+ export interface SentSharesDeleteSentShareDefaultHeaders {
864
+ "x-ms-error-code"?: string;
865
+ }
866
+
867
+ // @public
868
+ export interface SentSharesDeleteSentShareDefaultResponse extends HttpResponse {
869
+ // (undocumented)
870
+ body: PurviewShareErrorOutput;
871
+ // (undocumented)
872
+ headers: RawHttpHeaders & SentSharesDeleteSentShareDefaultHeaders;
873
+ // (undocumented)
874
+ status: string;
875
+ }
876
+
877
+ // @public (undocumented)
878
+ export interface SentSharesDeleteSentShareInvitation202Headers {
879
+ "operation-location"?: string;
880
+ }
881
+
882
+ // @public
883
+ export interface SentSharesDeleteSentShareInvitation202Response extends HttpResponse {
884
+ // (undocumented)
885
+ body: OperationResponseOutput;
886
+ // (undocumented)
887
+ headers: RawHttpHeaders & SentSharesDeleteSentShareInvitation202Headers;
888
+ // (undocumented)
889
+ status: "202";
890
+ }
891
+
892
+ // @public (undocumented)
893
+ export interface SentSharesDeleteSentShareInvitationDefaultHeaders {
894
+ "x-ms-error-code"?: string;
895
+ }
896
+
897
+ // @public
898
+ export interface SentSharesDeleteSentShareInvitationDefaultResponse extends HttpResponse {
899
+ // (undocumented)
900
+ body: PurviewShareErrorOutput;
901
+ // (undocumented)
902
+ headers: RawHttpHeaders & SentSharesDeleteSentShareInvitationDefaultHeaders;
903
+ // (undocumented)
904
+ status: string;
905
+ }
906
+
907
+ // @public (undocumented)
908
+ export type SentSharesDeleteSentShareInvitationParameters = RequestParameters;
909
+
910
+ // @public (undocumented)
911
+ export type SentSharesDeleteSentShareParameters = RequestParameters;
912
+
913
+ // @public (undocumented)
914
+ export interface SentSharesGetAllSentShareInvitations {
915
+ get(options?: SentSharesGetAllSentShareInvitationsParameters): StreamableMethod<SentSharesGetAllSentShareInvitations200Response | SentSharesGetAllSentShareInvitationsDefaultResponse>;
916
+ }
917
+
918
+ // @public
919
+ export interface SentSharesGetAllSentShareInvitations200Response extends HttpResponse {
920
+ // (undocumented)
921
+ body: SentShareInvitationListOutput;
922
+ // (undocumented)
923
+ status: "200";
924
+ }
925
+
926
+ // @public (undocumented)
927
+ export interface SentSharesGetAllSentShareInvitationsDefaultHeaders {
928
+ "x-ms-error-code"?: string;
929
+ }
930
+
931
+ // @public
932
+ export interface SentSharesGetAllSentShareInvitationsDefaultResponse extends HttpResponse {
933
+ // (undocumented)
934
+ body: PurviewShareErrorOutput;
935
+ // (undocumented)
936
+ headers: RawHttpHeaders & SentSharesGetAllSentShareInvitationsDefaultHeaders;
937
+ // (undocumented)
938
+ status: string;
939
+ }
940
+
941
+ // @public (undocumented)
942
+ export type SentSharesGetAllSentShareInvitationsParameters = SentSharesGetAllSentShareInvitationsQueryParam & RequestParameters;
943
+
944
+ // @public (undocumented)
945
+ export interface SentSharesGetAllSentShareInvitationsQueryParam {
946
+ // (undocumented)
947
+ queryParameters?: SentSharesGetAllSentShareInvitationsQueryParamProperties;
948
+ }
949
+
950
+ // @public (undocumented)
951
+ export interface SentSharesGetAllSentShareInvitationsQueryParamProperties {
952
+ filter?: string;
953
+ orderby?: string;
954
+ }
955
+
956
+ // @public (undocumented)
957
+ export interface SentSharesGetAllSentShares {
958
+ get(options: SentSharesGetAllSentSharesParameters): StreamableMethod<SentSharesGetAllSentShares200Response | SentSharesGetAllSentSharesDefaultResponse>;
959
+ }
960
+
961
+ // @public
962
+ export interface SentSharesGetAllSentShares200Response extends HttpResponse {
963
+ // (undocumented)
964
+ body: SentShareListOutput;
965
+ // (undocumented)
966
+ status: "200";
967
+ }
968
+
969
+ // @public (undocumented)
970
+ export interface SentSharesGetAllSentSharesDefaultHeaders {
971
+ "x-ms-error-code"?: string;
972
+ }
973
+
974
+ // @public
975
+ export interface SentSharesGetAllSentSharesDefaultResponse extends HttpResponse {
976
+ // (undocumented)
977
+ body: PurviewShareErrorOutput;
978
+ // (undocumented)
979
+ headers: RawHttpHeaders & SentSharesGetAllSentSharesDefaultHeaders;
980
+ // (undocumented)
981
+ status: string;
982
+ }
983
+
984
+ // @public (undocumented)
985
+ export type SentSharesGetAllSentSharesParameters = SentSharesGetAllSentSharesQueryParam & RequestParameters;
986
+
987
+ // @public (undocumented)
988
+ export interface SentSharesGetAllSentSharesQueryParam {
989
+ // (undocumented)
990
+ queryParameters: SentSharesGetAllSentSharesQueryParamProperties;
991
+ }
992
+
993
+ // @public (undocumented)
994
+ export interface SentSharesGetAllSentSharesQueryParamProperties {
995
+ filter?: string;
996
+ orderby?: string;
997
+ referenceName: string;
998
+ }
999
+
1000
+ // @public (undocumented)
1001
+ export interface SentSharesGetSentShare {
1002
+ delete(options?: SentSharesDeleteSentShareParameters): StreamableMethod<SentSharesDeleteSentShare202Response | SentSharesDeleteSentShareDefaultResponse>;
1003
+ get(options?: SentSharesGetSentShareParameters): StreamableMethod<SentSharesGetSentShare200Response | SentSharesGetSentShareDefaultResponse>;
1004
+ put(options: SentSharesCreateOrReplaceParameters): StreamableMethod<SentSharesCreateOrReplace200Response | SentSharesCreateOrReplace201Response | SentSharesCreateOrReplaceDefaultResponse>;
1005
+ }
1006
+
1007
+ // @public
1008
+ export interface SentSharesGetSentShare200Response extends HttpResponse {
1009
+ // (undocumented)
1010
+ body: SentShareOutput;
1011
+ // (undocumented)
1012
+ status: "200";
1013
+ }
1014
+
1015
+ // @public (undocumented)
1016
+ export interface SentSharesGetSentShareDefaultHeaders {
1017
+ "x-ms-error-code"?: string;
1018
+ }
1019
+
1020
+ // @public
1021
+ export interface SentSharesGetSentShareDefaultResponse extends HttpResponse {
1022
+ // (undocumented)
1023
+ body: PurviewShareErrorOutput;
1024
+ // (undocumented)
1025
+ headers: RawHttpHeaders & SentSharesGetSentShareDefaultHeaders;
1026
+ // (undocumented)
1027
+ status: string;
1028
+ }
1029
+
1030
+ // @public (undocumented)
1031
+ export interface SentSharesGetSentShareInvitation {
1032
+ delete(options?: SentSharesDeleteSentShareInvitationParameters): StreamableMethod<SentSharesDeleteSentShareInvitation202Response | SentSharesDeleteSentShareInvitationDefaultResponse>;
1033
+ get(options?: SentSharesGetSentShareInvitationParameters): StreamableMethod<SentSharesGetSentShareInvitation200Response | SentSharesGetSentShareInvitationDefaultResponse>;
1034
+ put(options: SentSharesCreateSentShareInvitationParameters): StreamableMethod<SentSharesCreateSentShareInvitation201Response | SentSharesCreateSentShareInvitationDefaultResponse>;
1035
+ }
1036
+
1037
+ // @public
1038
+ export interface SentSharesGetSentShareInvitation200Response extends HttpResponse {
1039
+ // (undocumented)
1040
+ body: SentShareInvitationOutput;
1041
+ // (undocumented)
1042
+ status: "200";
1043
+ }
1044
+
1045
+ // @public (undocumented)
1046
+ export interface SentSharesGetSentShareInvitationDefaultHeaders {
1047
+ "x-ms-error-code"?: string;
1048
+ }
1049
+
1050
+ // @public
1051
+ export interface SentSharesGetSentShareInvitationDefaultResponse extends HttpResponse {
1052
+ // (undocumented)
1053
+ body: PurviewShareErrorOutput;
1054
+ // (undocumented)
1055
+ headers: RawHttpHeaders & SentSharesGetSentShareInvitationDefaultHeaders;
1056
+ // (undocumented)
1057
+ status: string;
1058
+ }
1059
+
1060
+ // @public (undocumented)
1061
+ export type SentSharesGetSentShareInvitationParameters = RequestParameters;
1062
+
1063
+ // @public (undocumented)
1064
+ export type SentSharesGetSentShareParameters = RequestParameters;
1065
+
1066
+ // @public (undocumented)
1067
+ export interface SentSharesNotifyUserSentShareInvitation {
1068
+ post(options?: SentSharesNotifyUserSentShareInvitationParameters): StreamableMethod<SentSharesNotifyUserSentShareInvitation200Response | SentSharesNotifyUserSentShareInvitationDefaultResponse>;
1069
+ }
1070
+
1071
+ // @public
1072
+ export interface SentSharesNotifyUserSentShareInvitation200Response extends HttpResponse {
1073
+ // (undocumented)
1074
+ body: SentShareInvitationOutput;
1075
+ // (undocumented)
1076
+ status: "200";
1077
+ }
1078
+
1079
+ // @public (undocumented)
1080
+ export interface SentSharesNotifyUserSentShareInvitationDefaultHeaders {
1081
+ "x-ms-error-code"?: string;
1082
+ }
1083
+
1084
+ // @public
1085
+ export interface SentSharesNotifyUserSentShareInvitationDefaultResponse extends HttpResponse {
1086
+ // (undocumented)
1087
+ body: PurviewShareErrorOutput;
1088
+ // (undocumented)
1089
+ headers: RawHttpHeaders & SentSharesNotifyUserSentShareInvitationDefaultHeaders;
1090
+ // (undocumented)
1091
+ status: string;
1092
+ }
1093
+
1094
+ // @public (undocumented)
1095
+ export interface SentSharesNotifyUserSentShareInvitationHeaderParam {
1096
+ // (undocumented)
1097
+ headers?: RawHttpHeadersInput & SentSharesNotifyUserSentShareInvitationHeaders;
1098
+ }
1099
+
1100
+ // @public (undocumented)
1101
+ export interface SentSharesNotifyUserSentShareInvitationHeaders {
1102
+ "repeatability-request-id"?: string;
1103
+ }
1104
+
1105
+ // @public (undocumented)
1106
+ export type SentSharesNotifyUserSentShareInvitationParameters = SentSharesNotifyUserSentShareInvitationHeaderParam & RequestParameters;
1107
+
1108
+ // @public
1109
+ export interface ServiceInvitation extends SentShareInvitationParent {
1110
+ // (undocumented)
1111
+ invitationKind: "Service";
1112
+ properties: ServiceInvitationProperties;
1113
+ }
1114
+
1115
+ // @public
1116
+ export interface ServiceInvitationOutput extends SentShareInvitationOutputParent {
1117
+ // (undocumented)
1118
+ invitationKind: "Service";
1119
+ properties: ServiceInvitationPropertiesOutput;
1120
+ }
1121
+
1122
+ // @public
1123
+ export interface ServiceInvitationProperties {
1124
+ expirationDate?: Date | string;
1125
+ shareStatus?: "Detached" | "Attached";
1126
+ targetActiveDirectoryId: string;
1127
+ targetObjectId: string;
1128
+ }
1129
+
1130
+ // @public
1131
+ export interface ServiceInvitationPropertiesOutput {
1132
+ expirationDate?: string;
1133
+ readonly senderEmail?: string;
1134
+ readonly senderName?: string;
1135
+ readonly senderTenantName?: string;
1136
+ readonly sentAt?: string;
1137
+ shareStatus?: "Detached" | "Attached";
1138
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
1139
+ targetActiveDirectoryId: string;
1140
+ targetObjectId: string;
1141
+ }
1142
+
1143
+ // @public
1144
+ export interface ShareResource extends ProxyResource {
1145
+ receivedSharesCount?: number;
1146
+ sentSharesCount?: number;
1147
+ storeKind?: "AdlsGen2Account" | "BlobAccount";
1148
+ storeReference?: StoreReference;
1149
+ }
1150
+
1151
+ // @public
1152
+ export interface ShareResourceListOutput {
1153
+ nextLink?: string;
1154
+ value: Array<ShareResourceOutput>;
1155
+ }
1156
+
1157
+ // @public
1158
+ export interface ShareResourceOutput extends ProxyResourceOutput {
1159
+ receivedSharesCount?: number;
1160
+ sentSharesCount?: number;
1161
+ storeKind?: "AdlsGen2Account" | "BlobAccount";
1162
+ storeReference?: StoreReferenceOutput;
1163
+ }
1164
+
1165
+ // @public (undocumented)
1166
+ export interface ShareResourcesGetAllShareResources {
1167
+ get(options?: ShareResourcesGetAllShareResourcesParameters): StreamableMethod<ShareResourcesGetAllShareResources200Response | ShareResourcesGetAllShareResourcesDefaultResponse>;
1168
+ }
1169
+
1170
+ // @public
1171
+ export interface ShareResourcesGetAllShareResources200Response extends HttpResponse {
1172
+ // (undocumented)
1173
+ body: ShareResourceListOutput;
1174
+ // (undocumented)
1175
+ status: "200";
1176
+ }
1177
+
1178
+ // @public (undocumented)
1179
+ export interface ShareResourcesGetAllShareResourcesDefaultHeaders {
1180
+ "x-ms-error-code"?: string;
1181
+ }
1182
+
1183
+ // @public
1184
+ export interface ShareResourcesGetAllShareResourcesDefaultResponse extends HttpResponse {
1185
+ // (undocumented)
1186
+ body: PurviewShareErrorOutput;
1187
+ // (undocumented)
1188
+ headers: RawHttpHeaders & ShareResourcesGetAllShareResourcesDefaultHeaders;
1189
+ // (undocumented)
1190
+ status: string;
1191
+ }
1192
+
1193
+ // @public (undocumented)
1194
+ export type ShareResourcesGetAllShareResourcesParameters = ShareResourcesGetAllShareResourcesQueryParam & RequestParameters;
1195
+
1196
+ // @public (undocumented)
1197
+ export interface ShareResourcesGetAllShareResourcesQueryParam {
1198
+ // (undocumented)
1199
+ queryParameters?: ShareResourcesGetAllShareResourcesQueryParamProperties;
1200
+ }
1201
+
1202
+ // @public (undocumented)
1203
+ export interface ShareResourcesGetAllShareResourcesQueryParamProperties {
1204
+ filter?: string;
1205
+ orderby?: string;
1206
+ }
1207
+
1208
+ // @public
1209
+ export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
1210
+ getOperationState(): TState;
1211
+ getResult(): TResult | undefined;
1212
+ isDone(): boolean;
1213
+ // @deprecated
1214
+ isStopped(): boolean;
1215
+ onProgress(callback: (state: TState) => void): CancelOnProgress;
1216
+ poll(options?: {
1217
+ abortSignal?: AbortSignalLike;
1218
+ }): Promise<TState>;
1219
+ pollUntilDone(pollOptions?: {
1220
+ abortSignal?: AbortSignalLike;
1221
+ }): Promise<TResult>;
1222
+ serialize(): Promise<string>;
1223
+ // @deprecated
1224
+ stopPolling(): void;
1225
+ submitted(): Promise<void>;
1226
+ // @deprecated
1227
+ toString(): string;
1228
+ }
1229
+
1230
+ // @public
1231
+ export type Sink = AdlsGen2AccountSink | BlobAccountSink;
1232
+
1233
+ // @public
1234
+ export type SinkOutput = AdlsGen2AccountSinkOutput | BlobAccountSinkOutput;
1235
+
1236
+ // @public
1237
+ export interface SinkOutputParent {
1238
+ // (undocumented)
1239
+ storeKind: "Sink" | "AdlsGen2Account" | "BlobAccount";
1240
+ storeReference: StoreReferenceOutput;
1241
+ }
1242
+
1243
+ // @public
1244
+ export interface SinkParent {
1245
+ // (undocumented)
1246
+ storeKind: "Sink" | "AdlsGen2Account" | "BlobAccount";
1247
+ storeReference: StoreReference;
1248
+ }
1249
+
1250
+ // @public
1251
+ export interface StorageAccountPath {
1252
+ containerName: string;
1253
+ receiverPath?: string;
1254
+ senderPath?: string;
1255
+ }
1256
+
1257
+ // @public
1258
+ export interface StorageAccountPathOutput {
1259
+ containerName: string;
1260
+ receiverPath?: string;
1261
+ senderPath?: string;
1262
+ }
1263
+
1264
+ // @public
1265
+ export interface StoreReference {
1266
+ referenceName?: string;
1267
+ type?: "ArmResourceReference";
1268
+ }
1269
+
1270
+ // @public
1271
+ export interface StoreReferenceOutput {
1272
+ referenceName?: string;
1273
+ type?: "ArmResourceReference";
1274
+ }
1275
+
1276
+ // @public
1277
+ export interface TenantEmailRegistration extends ProxyResource {
1278
+ properties?: TenantEmailRegistrationProperties;
1279
+ }
1280
+
1281
+ // @public
1282
+ export interface TenantEmailRegistrationOutput extends ProxyResourceOutput {
1283
+ properties?: TenantEmailRegistrationPropertiesOutput;
1284
+ }
1285
+
1286
+ // @public
1287
+ export interface TenantEmailRegistrationProperties {
1288
+ activationCode: string;
1289
+ }
1290
+
1291
+ // @public
1292
+ export interface TenantEmailRegistrationPropertiesOutput {
1293
+ activationCode: string;
1294
+ readonly activationExpiration?: string;
1295
+ readonly email?: string;
1296
+ readonly registrationStatus?: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted";
1297
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
1298
+ readonly tenantId?: string;
1299
+ }
1300
+
1301
+ // @public
1302
+ export interface UserInvitation extends SentShareInvitationParent {
1303
+ // (undocumented)
1304
+ invitationKind: "User";
1305
+ properties: UserInvitationProperties;
1306
+ }
1307
+
1308
+ // @public
1309
+ export interface UserInvitationOutput extends SentShareInvitationOutputParent {
1310
+ // (undocumented)
1311
+ invitationKind: "User";
1312
+ properties: UserInvitationPropertiesOutput;
1313
+ }
1314
+
1315
+ // @public
1316
+ export interface UserInvitationProperties {
1317
+ expirationDate?: Date | string;
1318
+ notify?: boolean;
1319
+ shareStatus?: "Detached" | "Attached";
1320
+ targetEmail: string;
1321
+ }
1322
+
1323
+ // @public
1324
+ export interface UserInvitationPropertiesOutput {
1325
+ expirationDate?: string;
1326
+ notify?: boolean;
1327
+ readonly senderEmail?: string;
1328
+ readonly senderName?: string;
1329
+ readonly senderTenantName?: string;
1330
+ readonly sentAt?: string;
1331
+ shareStatus?: "Detached" | "Attached";
1332
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
1333
+ targetEmail: string;
1334
+ }
1335
+
1336
+ // (No @packageDocumentation comment for this package)
1337
+
1338
+ ```