@azure-rest/purview-sharing 1.0.0-alpha.20241120.1 → 1.0.0-alpha.20241125.1

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