@azure-rest/purview-sharing 1.0.0-beta.1 → 1.0.0-beta.3

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 (207) hide show
  1. package/LICENSE +4 -4
  2. package/README.md +2 -2
  3. package/dist/browser/clientDefinitions.d.ts +87 -0
  4. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  5. package/dist/browser/clientDefinitions.js +4 -0
  6. package/dist/browser/clientDefinitions.js.map +1 -0
  7. package/dist/browser/index.d.ts +12 -0
  8. package/dist/browser/index.d.ts.map +1 -0
  9. package/dist/browser/index.js +15 -0
  10. package/dist/browser/index.js.map +1 -0
  11. package/dist/browser/isUnexpected.d.ts +19 -0
  12. package/dist/browser/isUnexpected.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/isUnexpected.js +2 -1
  14. package/dist/browser/isUnexpected.js.map +1 -0
  15. package/dist/browser/logger.d.ts +2 -0
  16. package/dist/browser/logger.d.ts.map +1 -0
  17. package/dist/browser/logger.js +5 -0
  18. package/dist/browser/logger.js.map +1 -0
  19. package/dist/browser/models.d.ts +201 -0
  20. package/dist/browser/models.d.ts.map +1 -0
  21. package/dist/browser/models.js +4 -0
  22. package/dist/browser/models.js.map +1 -0
  23. package/dist/browser/outputModels.d.ts +352 -0
  24. package/dist/browser/outputModels.d.ts.map +1 -0
  25. package/dist/browser/outputModels.js +4 -0
  26. package/dist/browser/outputModels.js.map +1 -0
  27. package/dist/browser/package.json +3 -0
  28. package/dist/browser/paginateHelper.d.ts +68 -0
  29. package/dist/browser/paginateHelper.d.ts.map +1 -0
  30. package/dist/browser/paginateHelper.js +167 -0
  31. package/dist/browser/paginateHelper.js.map +1 -0
  32. package/dist/browser/parameters.d.ts +123 -0
  33. package/dist/browser/parameters.d.ts.map +1 -0
  34. package/dist/browser/parameters.js +4 -0
  35. package/dist/browser/parameters.js.map +1 -0
  36. package/dist/browser/pollingHelper.d.ts +76 -0
  37. package/dist/browser/pollingHelper.d.ts.map +1 -0
  38. package/dist/browser/pollingHelper.js +104 -0
  39. package/dist/browser/pollingHelper.js.map +1 -0
  40. package/dist/browser/purviewSharing.d.ts +16 -0
  41. package/dist/browser/purviewSharing.d.ts.map +1 -0
  42. package/dist/browser/purviewSharing.js +43 -0
  43. package/dist/browser/purviewSharing.js.map +1 -0
  44. package/dist/browser/responses.d.ts +304 -0
  45. package/dist/browser/responses.d.ts.map +1 -0
  46. package/dist/browser/responses.js +4 -0
  47. package/dist/browser/responses.js.map +1 -0
  48. package/dist/commonjs/clientDefinitions.d.ts +87 -0
  49. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  50. package/dist/commonjs/clientDefinitions.js +5 -0
  51. package/dist/commonjs/clientDefinitions.js.map +1 -0
  52. package/dist/commonjs/index.d.ts +12 -0
  53. package/dist/commonjs/index.d.ts.map +1 -0
  54. package/dist/commonjs/index.js +18 -0
  55. package/dist/commonjs/index.js.map +1 -0
  56. package/dist/commonjs/isUnexpected.d.ts +19 -0
  57. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  58. package/dist/commonjs/isUnexpected.js +89 -0
  59. package/dist/commonjs/isUnexpected.js.map +1 -0
  60. package/dist/commonjs/logger.d.ts +2 -0
  61. package/dist/commonjs/logger.d.ts.map +1 -0
  62. package/dist/commonjs/logger.js +8 -0
  63. package/dist/commonjs/logger.js.map +1 -0
  64. package/dist/commonjs/models.d.ts +201 -0
  65. package/dist/commonjs/models.d.ts.map +1 -0
  66. package/dist/commonjs/models.js +5 -0
  67. package/dist/commonjs/models.js.map +1 -0
  68. package/dist/commonjs/outputModels.d.ts +352 -0
  69. package/dist/commonjs/outputModels.d.ts.map +1 -0
  70. package/dist/commonjs/outputModels.js +5 -0
  71. package/dist/commonjs/outputModels.js.map +1 -0
  72. package/dist/commonjs/package.json +3 -0
  73. package/dist/commonjs/paginateHelper.d.ts +68 -0
  74. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  75. package/dist/commonjs/paginateHelper.js +170 -0
  76. package/dist/commonjs/paginateHelper.js.map +1 -0
  77. package/dist/commonjs/parameters.d.ts +123 -0
  78. package/dist/commonjs/parameters.d.ts.map +1 -0
  79. package/dist/commonjs/parameters.js +5 -0
  80. package/dist/commonjs/parameters.js.map +1 -0
  81. package/dist/commonjs/pollingHelper.d.ts +76 -0
  82. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  83. package/dist/commonjs/pollingHelper.js +107 -0
  84. package/dist/commonjs/pollingHelper.js.map +1 -0
  85. package/dist/commonjs/purviewSharing.d.ts +16 -0
  86. package/dist/commonjs/purviewSharing.d.ts.map +1 -0
  87. package/dist/commonjs/purviewSharing.js +46 -0
  88. package/dist/commonjs/purviewSharing.js.map +1 -0
  89. package/dist/commonjs/responses.d.ts +304 -0
  90. package/dist/commonjs/responses.d.ts.map +1 -0
  91. package/dist/commonjs/responses.js +5 -0
  92. package/dist/commonjs/responses.js.map +1 -0
  93. package/dist/commonjs/tsdoc-metadata.json +11 -0
  94. package/dist/esm/clientDefinitions.d.ts +87 -0
  95. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  96. package/dist/esm/clientDefinitions.js +4 -0
  97. package/dist/esm/clientDefinitions.js.map +1 -0
  98. package/dist/esm/index.d.ts +12 -0
  99. package/dist/esm/index.d.ts.map +1 -0
  100. package/dist/esm/index.js +15 -0
  101. package/dist/esm/index.js.map +1 -0
  102. package/dist/esm/isUnexpected.d.ts +19 -0
  103. package/dist/esm/isUnexpected.d.ts.map +1 -0
  104. package/dist/esm/isUnexpected.js +86 -0
  105. package/dist/esm/isUnexpected.js.map +1 -0
  106. package/dist/esm/logger.d.ts +2 -0
  107. package/dist/esm/logger.d.ts.map +1 -0
  108. package/dist/esm/logger.js +5 -0
  109. package/dist/esm/logger.js.map +1 -0
  110. package/dist/esm/models.d.ts +201 -0
  111. package/dist/esm/models.d.ts.map +1 -0
  112. package/dist/esm/models.js +4 -0
  113. package/dist/esm/models.js.map +1 -0
  114. package/dist/esm/outputModels.d.ts +352 -0
  115. package/dist/esm/outputModels.d.ts.map +1 -0
  116. package/dist/esm/outputModels.js +4 -0
  117. package/dist/esm/outputModels.js.map +1 -0
  118. package/dist/esm/package.json +3 -0
  119. package/dist/esm/paginateHelper.d.ts +68 -0
  120. package/dist/esm/paginateHelper.d.ts.map +1 -0
  121. package/dist/esm/paginateHelper.js +167 -0
  122. package/dist/esm/paginateHelper.js.map +1 -0
  123. package/dist/esm/parameters.d.ts +123 -0
  124. package/dist/esm/parameters.d.ts.map +1 -0
  125. package/dist/esm/parameters.js +4 -0
  126. package/dist/esm/parameters.js.map +1 -0
  127. package/dist/esm/pollingHelper.d.ts +76 -0
  128. package/dist/esm/pollingHelper.d.ts.map +1 -0
  129. package/dist/esm/pollingHelper.js +104 -0
  130. package/dist/esm/pollingHelper.js.map +1 -0
  131. package/dist/esm/purviewSharing.d.ts +16 -0
  132. package/dist/esm/purviewSharing.d.ts.map +1 -0
  133. package/dist/esm/purviewSharing.js +43 -0
  134. package/dist/esm/purviewSharing.js.map +1 -0
  135. package/dist/esm/responses.d.ts +304 -0
  136. package/dist/esm/responses.d.ts.map +1 -0
  137. package/dist/esm/responses.js +4 -0
  138. package/dist/esm/responses.js.map +1 -0
  139. package/dist/react-native/clientDefinitions.d.ts +87 -0
  140. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  141. package/dist/react-native/clientDefinitions.js +4 -0
  142. package/dist/react-native/clientDefinitions.js.map +1 -0
  143. package/dist/react-native/index.d.ts +12 -0
  144. package/dist/react-native/index.d.ts.map +1 -0
  145. package/dist/react-native/index.js +15 -0
  146. package/dist/react-native/index.js.map +1 -0
  147. package/dist/react-native/isUnexpected.d.ts +19 -0
  148. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  149. package/dist/react-native/isUnexpected.js +86 -0
  150. package/dist/react-native/isUnexpected.js.map +1 -0
  151. package/dist/react-native/logger.d.ts +2 -0
  152. package/dist/react-native/logger.d.ts.map +1 -0
  153. package/dist/react-native/logger.js +5 -0
  154. package/dist/react-native/logger.js.map +1 -0
  155. package/dist/react-native/models.d.ts +201 -0
  156. package/dist/react-native/models.d.ts.map +1 -0
  157. package/dist/react-native/models.js +4 -0
  158. package/dist/react-native/models.js.map +1 -0
  159. package/dist/react-native/outputModels.d.ts +352 -0
  160. package/dist/react-native/outputModels.d.ts.map +1 -0
  161. package/dist/react-native/outputModels.js +4 -0
  162. package/dist/react-native/outputModels.js.map +1 -0
  163. package/dist/react-native/package.json +3 -0
  164. package/dist/react-native/paginateHelper.d.ts +68 -0
  165. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  166. package/dist/react-native/paginateHelper.js +167 -0
  167. package/dist/react-native/paginateHelper.js.map +1 -0
  168. package/dist/react-native/parameters.d.ts +123 -0
  169. package/dist/react-native/parameters.d.ts.map +1 -0
  170. package/dist/react-native/parameters.js +4 -0
  171. package/dist/react-native/parameters.js.map +1 -0
  172. package/dist/react-native/pollingHelper.d.ts +76 -0
  173. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  174. package/dist/react-native/pollingHelper.js +104 -0
  175. package/dist/react-native/pollingHelper.js.map +1 -0
  176. package/dist/react-native/purviewSharing.d.ts +16 -0
  177. package/dist/react-native/purviewSharing.d.ts.map +1 -0
  178. package/dist/react-native/purviewSharing.js +43 -0
  179. package/dist/react-native/purviewSharing.js.map +1 -0
  180. package/dist/react-native/responses.d.ts +304 -0
  181. package/dist/react-native/responses.d.ts.map +1 -0
  182. package/dist/react-native/responses.js +4 -0
  183. package/dist/react-native/responses.js.map +1 -0
  184. package/package.json +83 -69
  185. package/dist/index.js +0 -240
  186. package/dist/index.js.map +0 -1
  187. package/dist-esm/src/clientDefinitions.js +0 -4
  188. package/dist-esm/src/clientDefinitions.js.map +0 -1
  189. package/dist-esm/src/index.js +0 -14
  190. package/dist-esm/src/index.js.map +0 -1
  191. package/dist-esm/src/isUnexpected.js.map +0 -1
  192. package/dist-esm/src/models.js +0 -4
  193. package/dist-esm/src/models.js.map +0 -1
  194. package/dist-esm/src/outputModels.js +0 -4
  195. package/dist-esm/src/outputModels.js.map +0 -1
  196. package/dist-esm/src/paginateHelper.js +0 -70
  197. package/dist-esm/src/paginateHelper.js.map +0 -1
  198. package/dist-esm/src/parameters.js +0 -4
  199. package/dist-esm/src/parameters.js.map +0 -1
  200. package/dist-esm/src/pollingHelper.js +0 -50
  201. package/dist-esm/src/pollingHelper.js.map +0 -1
  202. package/dist-esm/src/purviewSharing.js +0 -27
  203. package/dist-esm/src/purviewSharing.js.map +0 -1
  204. package/dist-esm/src/responses.js +0 -4
  205. package/dist-esm/src/responses.js.map +0 -1
  206. package/review/purview-sharing.api.md +0 -1234
  207. package/types/purview-sharing.d.ts +0 -1270
@@ -1,1270 +0,0 @@
1
- import { Client } from '@azure-rest/core-client';
2
- import { ClientOptions } from '@azure-rest/core-client';
3
- import { CreateHttpPollerOptions } from '@azure/core-lro';
4
- import { HttpResponse } from '@azure-rest/core-client';
5
- import { OperationState } from '@azure/core-lro';
6
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
7
- import { PathUncheckedResponse } from '@azure-rest/core-client';
8
- import { RawHttpHeaders } from '@azure/core-rest-pipeline';
9
- import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
10
- import { RequestParameters } from '@azure-rest/core-client';
11
- import { SimplePollerLike } from '@azure/core-lro';
12
- import { StreamableMethod } from '@azure-rest/core-client';
13
- import { TokenCredential } from '@azure/core-auth';
14
-
15
- /** AdlsGen2 Sink */
16
- export declare interface AdlsGen2AccountSink extends SinkParent {
17
- /** Properties for AdlsGen2 storage account */
18
- properties: AdlsGen2AccountSinkProperties;
19
- storeKind: "AdlsGen2Account";
20
- }
21
-
22
- /** AdlsGen2 Sink */
23
- export declare interface AdlsGen2AccountSinkOutput extends SinkOutputParent {
24
- /** Properties for AdlsGen2 storage account */
25
- properties: AdlsGen2AccountSinkPropertiesOutput;
26
- storeKind: "AdlsGen2Account";
27
- }
28
-
29
- /** Properties for AdlsGen2 storage account */
30
- export declare interface AdlsGen2AccountSinkProperties {
31
- /** Adls Gen 2 Container Name */
32
- containerName: string;
33
- /** Adls Gen 2 Folder */
34
- folder: string;
35
- /** Adls Gen 2 Mount Path */
36
- mountPath?: string;
37
- }
38
-
39
- /** Properties for AdlsGen2 storage account */
40
- export declare interface AdlsGen2AccountSinkPropertiesOutput {
41
- /** Adls Gen 2 Container Name */
42
- containerName: string;
43
- /** Adls Gen 2 Folder */
44
- folder: string;
45
- /** Adls Gen 2 Location */
46
- readonly location?: string;
47
- /** Adls Gen 2 Mount Path */
48
- mountPath?: string;
49
- }
50
-
51
- /** An Adls Gen2 storage account artifact. */
52
- export declare interface AdlsGen2Artifact extends ArtifactParent {
53
- /** Properties for Adls Gen2 storage account. */
54
- properties: AdlsGen2ArtifactProperties;
55
- storeKind: "AdlsGen2Account";
56
- }
57
-
58
- /** An Adls Gen2 storage account artifact. */
59
- export declare interface AdlsGen2ArtifactOutput extends ArtifactOutputParent {
60
- /** Properties for Adls Gen2 storage account. */
61
- properties: AdlsGen2ArtifactPropertiesOutput;
62
- storeKind: "AdlsGen2Account";
63
- }
64
-
65
- /** Properties for Adls Gen2 storage account. */
66
- export declare interface AdlsGen2ArtifactProperties {
67
- /** A list of Adls Gen2 storage account paths. */
68
- paths: Array<StorageAccountPath>;
69
- }
70
-
71
- /** Properties for Adls Gen2 storage account. */
72
- export declare interface AdlsGen2ArtifactPropertiesOutput {
73
- /** Location of the storage account. */
74
- readonly location?: string;
75
- /** A list of Adls Gen2 storage account paths. */
76
- paths: Array<StorageAccountPathOutput>;
77
- }
78
-
79
- /** A class for sent share artifact. */
80
- export declare type Artifact = AdlsGen2Artifact | BlobStorageArtifact;
81
-
82
- /** A class for sent share artifact. */
83
- export declare type ArtifactOutput = AdlsGen2ArtifactOutput | BlobStorageArtifactOutput;
84
-
85
- /** A class for sent share artifact. */
86
- export declare interface ArtifactOutputParent {
87
- /** A Store Reference for an artifact or sink. */
88
- storeReference: StoreReferenceOutput;
89
- storeKind: "Artifact" | "AdlsGen2Account" | "BlobAccount";
90
- }
91
-
92
- /** A class for sent share artifact. */
93
- export declare interface ArtifactParent {
94
- /** A Store Reference for an artifact or sink. */
95
- storeReference: StoreReference;
96
- storeKind: "Artifact" | "AdlsGen2Account" | "BlobAccount";
97
- }
98
-
99
- /** Blob Sink */
100
- export declare interface BlobAccountSink extends SinkParent {
101
- /** Properties for blob storage account */
102
- properties: BlobAccountSinkProperties;
103
- storeKind: "BlobAccount";
104
- }
105
-
106
- /** Blob Sink */
107
- export declare interface BlobAccountSinkOutput extends SinkOutputParent {
108
- /** Properties for blob storage account */
109
- properties: BlobAccountSinkPropertiesOutput;
110
- storeKind: "BlobAccount";
111
- }
112
-
113
- /** Properties for blob storage account */
114
- export declare interface BlobAccountSinkProperties {
115
- /** Blob Container Name */
116
- containerName: string;
117
- /** Blob Folder */
118
- folder: string;
119
- /** Blob Mount Path */
120
- mountPath?: string;
121
- }
122
-
123
- /** Properties for blob storage account */
124
- export declare interface BlobAccountSinkPropertiesOutput {
125
- /** Blob Container Name */
126
- containerName: string;
127
- /** Blob Folder */
128
- folder: string;
129
- /** Blob Location */
130
- readonly location?: string;
131
- /** Blob Mount Path */
132
- mountPath?: string;
133
- }
134
-
135
- /** Blob storage account artifact. */
136
- export declare interface BlobStorageArtifact extends ArtifactParent {
137
- /** Properties for blob storage account. */
138
- properties: BlobStorageArtifactProperties;
139
- storeKind: "BlobAccount";
140
- }
141
-
142
- /** Blob storage account artifact. */
143
- export declare interface BlobStorageArtifactOutput extends ArtifactOutputParent {
144
- /** Properties for blob storage account. */
145
- properties: BlobStorageArtifactPropertiesOutput;
146
- storeKind: "BlobAccount";
147
- }
148
-
149
- /** Properties for blob storage account. */
150
- export declare interface BlobStorageArtifactProperties {
151
- /** A list of blob storage account paths. */
152
- paths: Array<StorageAccountPath>;
153
- }
154
-
155
- /** Properties for blob storage account. */
156
- export declare interface BlobStorageArtifactPropertiesOutput {
157
- /** Location of the storage account. */
158
- readonly location?: string;
159
- /** A list of blob storage account paths. */
160
- paths: Array<StorageAccountPathOutput>;
161
- }
162
-
163
- /**
164
- * Initialize a new instance of `PurviewSharingClient`
165
- * @param endpoint type: string, The sharing endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share
166
- * @param credentials type: TokenCredential, uniquely identify client credential
167
- * @param options type: ClientOptions, the parameter for all optional parameters
168
- */
169
- declare function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): PurviewSharingClient;
170
- export default createClient;
171
-
172
- /**
173
- * Helper type to extract the type of an array
174
- */
175
- export declare type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
176
-
177
- /**
178
- * Helper function that builds a Poller object to help polling a long running operation.
179
- * @param client - Client to use for sending the request to get additional pages.
180
- * @param initialResponse - The initial response.
181
- * @param options - Options to set a resume state or custom polling interval.
182
- * @returns - A poller object to poll for operation state updates and eventually get the final response.
183
- */
184
- export declare function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
185
-
186
- /**
187
- * The type of a custom function that defines how to get a page and a link to the next one if any.
188
- */
189
- export declare type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
190
- page: TPage;
191
- nextPageLink?: string;
192
- }>;
193
-
194
- /** An InPlace received share kind. */
195
- export declare interface InPlaceReceivedShare extends ReceivedShareParent {
196
- /** Properties of in place received share. */
197
- properties: InPlaceReceivedShareProperties;
198
- shareKind: "InPlace";
199
- }
200
-
201
- /** An InPlace received share kind. */
202
- export declare interface InPlaceReceivedShareOutput extends ReceivedShareOutputParent {
203
- /** Properties of in place received share. */
204
- properties: InPlaceReceivedSharePropertiesOutput;
205
- shareKind: "InPlace";
206
- }
207
-
208
- /** Properties of in place received share. */
209
- export declare interface InPlaceReceivedShareProperties {
210
- /** The types of asset. */
211
- assetStoreKind?: "AdlsGen2Account" | "BlobAccount";
212
- /** Received Share Name */
213
- displayName?: string;
214
- /** Share status. */
215
- shareStatus?: "Detached" | "Attached";
216
- /** Holds details on the destination of the mapped artifact */
217
- sink?: Sink;
218
- }
219
-
220
- /** Properties of in place received share. */
221
- export declare interface InPlaceReceivedSharePropertiesOutput {
222
- /** Location of the shared Asset. */
223
- readonly assetLocation?: string;
224
- /** The types of asset. */
225
- assetStoreKind?: "AdlsGen2Account" | "BlobAccount";
226
- /** Time at which the received share was created. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
227
- readonly createdAt?: string;
228
- /** Received Share Name */
229
- displayName?: string;
230
- /** The expiration date of the received share. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
231
- readonly expirationDate?: string;
232
- /** Email of the user/receiver who received the sent share invitation */
233
- readonly receiverEmail?: string;
234
- /** Name of the user/receiver who received the sent share invitation */
235
- readonly receiverName?: string;
236
- /** Tenant name of the user/receiver who received the sent share invitation */
237
- readonly receiverTenantName?: string;
238
- /** Email of the sender who created the sent share invitation */
239
- readonly senderEmail?: string;
240
- /** Name of the sender who created the sent share invitation */
241
- readonly senderName?: string;
242
- /** Tenant name of the sender who created the sent share invitation */
243
- readonly senderTenantName?: string;
244
- /** Share description. */
245
- readonly sentShareDescription?: string;
246
- /** Time at which the sent share was shared. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
247
- readonly sharedAt?: string;
248
- /** Share status. */
249
- shareStatus?: "Detached" | "Attached";
250
- /** Holds details on the destination of the mapped artifact */
251
- sink?: SinkOutput;
252
- /** State of the resource */
253
- readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
254
- }
255
-
256
- /** An InPlace share kind. */
257
- export declare interface InPlaceSentShare extends SentShareParent {
258
- /** Properties for InPlace sent share. */
259
- properties: InPlaceSentShareProperties;
260
- shareKind: "InPlace";
261
- }
262
-
263
- /** An InPlace share kind. */
264
- export declare interface InPlaceSentShareOutput extends SentShareOutputParent {
265
- /** Properties for InPlace sent share. */
266
- properties: InPlaceSentSharePropertiesOutput;
267
- shareKind: "InPlace";
268
- }
269
-
270
- /** Properties for InPlace sent share. */
271
- export declare interface InPlaceSentShareProperties {
272
- /** A class for sent share artifact. */
273
- artifact: Artifact;
274
- /** Sent share description. */
275
- description?: string;
276
- /** The name of the sent share */
277
- displayName: string;
278
- }
279
-
280
- /** Properties for InPlace sent share. */
281
- export declare interface InPlaceSentSharePropertiesOutput {
282
- /** A class for sent share artifact. */
283
- artifact: ArtifactOutput;
284
- /** Time at which the sent share was created. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
285
- readonly createdAt?: string;
286
- /** List of shares on which the sent share depends. */
287
- readonly dependsOn?: Array<string>;
288
- /** Sent share description. */
289
- description?: string;
290
- /** The name of the sent share */
291
- displayName: string;
292
- /** Email of the sender who created the sent share. */
293
- readonly senderEmail?: string;
294
- /** Name of the sender who created the sent share. */
295
- readonly senderName?: string;
296
- /** Tenant name of the sender who created the sent share. */
297
- readonly senderTenantName?: string;
298
- /** State of the resource */
299
- readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
300
- }
301
-
302
- export declare function isUnexpected(response: ReceivedSharesGetReceivedShare200Response | ReceivedSharesGetReceivedShareDefaultResponse): response is ReceivedSharesGetReceivedShareDefaultResponse;
303
-
304
- export declare function isUnexpected(response: ReceivedSharesCreateOrReplace200Response | ReceivedSharesCreateOrReplace201Response | ReceivedSharesCreateOrReplaceDefaultResponse): response is ReceivedSharesCreateOrReplaceDefaultResponse;
305
-
306
- export declare function isUnexpected(response: ReceivedSharesDeleteReceivedShare202Response | ReceivedSharesDeleteReceivedShareDefaultResponse): response is ReceivedSharesDeleteReceivedShareDefaultResponse;
307
-
308
- export declare function isUnexpected(response: ReceivedSharesGetAllAttachedReceivedShares200Response | ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse): response is ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse;
309
-
310
- export declare function isUnexpected(response: ReceivedSharesGetAllDetachedReceivedShares200Response | ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse): response is ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse;
311
-
312
- export declare function isUnexpected(response: ReceivedSharesActivateTenantEmailRegistration200Response | ReceivedSharesActivateTenantEmailRegistrationDefaultResponse): response is ReceivedSharesActivateTenantEmailRegistrationDefaultResponse;
313
-
314
- export declare function isUnexpected(response: ReceivedSharesRegisterTenantEmailRegistration200Response | ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse): response is ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse;
315
-
316
- export declare function isUnexpected(response: SentSharesGetAllSentShares200Response | SentSharesGetAllSentSharesDefaultResponse): response is SentSharesGetAllSentSharesDefaultResponse;
317
-
318
- export declare function isUnexpected(response: SentSharesGetSentShare200Response | SentSharesGetSentShareDefaultResponse): response is SentSharesGetSentShareDefaultResponse;
319
-
320
- export declare function isUnexpected(response: SentSharesCreateOrReplace200Response | SentSharesCreateOrReplace201Response | SentSharesCreateOrReplaceDefaultResponse): response is SentSharesCreateOrReplaceDefaultResponse;
321
-
322
- export declare function isUnexpected(response: SentSharesDeleteSentShare202Response | SentSharesDeleteSentShareDefaultResponse): response is SentSharesDeleteSentShareDefaultResponse;
323
-
324
- export declare function isUnexpected(response: SentSharesGetAllSentShareInvitations200Response | SentSharesGetAllSentShareInvitationsDefaultResponse): response is SentSharesGetAllSentShareInvitationsDefaultResponse;
325
-
326
- export declare function isUnexpected(response: SentSharesGetSentShareInvitation200Response | SentSharesGetSentShareInvitationDefaultResponse): response is SentSharesGetSentShareInvitationDefaultResponse;
327
-
328
- export declare function isUnexpected(response: SentSharesCreateSentShareInvitation201Response | SentSharesCreateSentShareInvitationDefaultResponse): response is SentSharesCreateSentShareInvitationDefaultResponse;
329
-
330
- export declare function isUnexpected(response: SentSharesDeleteSentShareInvitation202Response | SentSharesDeleteSentShareInvitationDefaultResponse): response is SentSharesDeleteSentShareInvitationDefaultResponse;
331
-
332
- export declare function isUnexpected(response: SentSharesNotifyUserSentShareInvitation200Response | SentSharesNotifyUserSentShareInvitationDefaultResponse): response is SentSharesNotifyUserSentShareInvitationDefaultResponse;
333
-
334
- /** Response for long running operation. */
335
- export declare interface OperationResponseOutput {
336
- /** End time of the long running operation. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
337
- endTime?: string;
338
- /** The purview share error body model. */
339
- error?: PurviewShareErrorInfoOutput;
340
- /** Job id of the long running operation */
341
- id?: string;
342
- /** Start time of the long running operation. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
343
- startTime?: string;
344
- /** States for long running operations. */
345
- status: "Running" | "TransientFailure" | "Succeeded" | "Failed" | "NotStarted";
346
- }
347
-
348
- /**
349
- * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
350
- * @param client - Client to use for sending the next page requests
351
- * @param initialResponse - Initial response containing the nextLink and current page of elements
352
- * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
353
- * @returns - PagedAsyncIterableIterator to iterate the elements
354
- */
355
- export declare function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
356
-
357
- /**
358
- * Helper type to infer the Type of the paged elements from the response type
359
- * This type is generated based on the swagger information for x-ms-pageable
360
- * specifically on the itemName property which indicates the property of the response
361
- * where the page items are found. The default value is `value`.
362
- * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter
363
- */
364
- export declare type PaginateReturn<TResult> = TResult extends {
365
- body: {
366
- value?: infer TPage;
367
- };
368
- } ? GetArrayType<TPage> : Array<unknown>;
369
-
370
- /**
371
- * Options for the paging helper
372
- */
373
- export declare interface PagingOptions<TResponse> {
374
- /**
375
- * Custom function to extract pagination details for crating the PagedAsyncIterableIterator
376
- */
377
- customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
378
- }
379
-
380
- /** Base data transfer object implementation for proxy resources. */
381
- export declare interface ProxyResource {
382
- }
383
-
384
- /** Base data transfer object implementation for proxy resources. */
385
- export declare interface ProxyResourceOutput {
386
- /** The unique id of the resource. */
387
- readonly id?: string;
388
- /** Type of the resource. */
389
- readonly type?: string;
390
- }
391
-
392
- /** The purview share error body model. */
393
- export declare interface PurviewShareErrorInfoOutput {
394
- /** Code of the error */
395
- code: string;
396
- /** Nested details of the error model */
397
- details?: Array<PurviewShareErrorInfoOutput>;
398
- /** Message of the error */
399
- message: string;
400
- /** Target of the error */
401
- target?: string;
402
- }
403
-
404
- /** The purview share error model. */
405
- export declare interface PurviewShareErrorOutput {
406
- /** The purview share error body model. */
407
- error: PurviewShareErrorInfoOutput;
408
- }
409
-
410
- export declare type PurviewSharingClient = Client & {
411
- path: Routes;
412
- };
413
-
414
- /** A received share data transfer object. */
415
- export declare type ReceivedShare = InPlaceReceivedShare;
416
-
417
- /** List of received shares. */
418
- export declare interface ReceivedShareListOutput {
419
- /** The Url of next result page. */
420
- nextLink?: string;
421
- /** Collection of items of type DataTransferObjects. */
422
- value: Array<ReceivedShareOutput>;
423
- }
424
-
425
- /** A received share data transfer object. */
426
- export declare type ReceivedShareOutput = InPlaceReceivedShareOutput;
427
-
428
- /** A received share data transfer object. */
429
- export declare interface ReceivedShareOutputParent extends ProxyResourceOutput {
430
- shareKind: "ReceivedShare" | "InPlace";
431
- }
432
-
433
- /** A received share data transfer object. */
434
- export declare interface ReceivedShareParent extends ProxyResource {
435
- shareKind: "ReceivedShare" | "InPlace";
436
- }
437
-
438
- export declare interface ReceivedSharesActivateTenantEmailRegistration {
439
- /** Activates the email registration for current tenant */
440
- post(options: ReceivedSharesActivateTenantEmailRegistrationParameters): StreamableMethod<ReceivedSharesActivateTenantEmailRegistration200Response | ReceivedSharesActivateTenantEmailRegistrationDefaultResponse>;
441
- }
442
-
443
- /** Activates the email registration for current tenant */
444
- export declare interface ReceivedSharesActivateTenantEmailRegistration200Response extends HttpResponse {
445
- status: "200";
446
- body: TenantEmailRegistrationOutput;
447
- }
448
-
449
- export declare interface ReceivedSharesActivateTenantEmailRegistrationBodyParam {
450
- /** The tenant email registration payload */
451
- body: TenantEmailRegistration;
452
- }
453
-
454
- export declare interface ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders {
455
- /** The error code */
456
- "x-ms-error-code"?: string;
457
- }
458
-
459
- /** Activates the email registration for current tenant */
460
- export declare interface ReceivedSharesActivateTenantEmailRegistrationDefaultResponse extends HttpResponse {
461
- status: string;
462
- body: PurviewShareErrorOutput;
463
- headers: RawHttpHeaders & ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders;
464
- }
465
-
466
- export declare interface ReceivedSharesActivateTenantEmailRegistrationHeaderParam {
467
- headers?: RawHttpHeadersInput & ReceivedSharesActivateTenantEmailRegistrationHeaders;
468
- }
469
-
470
- export declare interface ReceivedSharesActivateTenantEmailRegistrationHeaders {
471
- /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs. */
472
- "repeatability-request-id"?: string;
473
- }
474
-
475
- export declare interface ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam {
476
- /** Request content type */
477
- contentType?: "application/json";
478
- }
479
-
480
- export declare type ReceivedSharesActivateTenantEmailRegistrationParameters = ReceivedSharesActivateTenantEmailRegistrationHeaderParam & ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam & ReceivedSharesActivateTenantEmailRegistrationBodyParam & RequestParameters;
481
-
482
- export declare interface ReceivedSharesCreateOrReplace200Headers {
483
- /** The URL to track the status of the long running operation. */
484
- "operation-location"?: string;
485
- }
486
-
487
- /** Update changes to a received share */
488
- export declare interface ReceivedSharesCreateOrReplace200Response extends HttpResponse {
489
- status: "200";
490
- body: ReceivedShareOutput;
491
- headers: RawHttpHeaders & ReceivedSharesCreateOrReplace200Headers;
492
- }
493
-
494
- export declare interface ReceivedSharesCreateOrReplace201Headers {
495
- /** The URL to track the status of the long running operation. */
496
- "operation-location"?: string;
497
- }
498
-
499
- /** Update changes to a received share */
500
- export declare interface ReceivedSharesCreateOrReplace201Response extends HttpResponse {
501
- status: "201";
502
- body: ReceivedShareOutput;
503
- headers: RawHttpHeaders & ReceivedSharesCreateOrReplace201Headers;
504
- }
505
-
506
- export declare interface ReceivedSharesCreateOrReplaceBodyParam {
507
- /** The received share to create or replace */
508
- body: ReceivedShare;
509
- }
510
-
511
- export declare interface ReceivedSharesCreateOrReplaceDefaultHeaders {
512
- /** The error code */
513
- "x-ms-error-code"?: string;
514
- }
515
-
516
- /** Update changes to a received share */
517
- export declare interface ReceivedSharesCreateOrReplaceDefaultResponse extends HttpResponse {
518
- status: string;
519
- body: PurviewShareErrorOutput;
520
- headers: RawHttpHeaders & ReceivedSharesCreateOrReplaceDefaultHeaders;
521
- }
522
-
523
- export declare interface ReceivedSharesCreateOrReplaceMediaTypesParam {
524
- /** Request content type */
525
- contentType?: "application/json";
526
- }
527
-
528
- export declare type ReceivedSharesCreateOrReplaceParameters = ReceivedSharesCreateOrReplaceMediaTypesParam & ReceivedSharesCreateOrReplaceBodyParam & RequestParameters;
529
-
530
- export declare interface ReceivedSharesDeleteReceivedShare202Headers {
531
- /** The URL to track the status of the long running operation. */
532
- "operation-location"?: string;
533
- }
534
-
535
- /** Delete a received share */
536
- export declare interface ReceivedSharesDeleteReceivedShare202Response extends HttpResponse {
537
- status: "202";
538
- body: OperationResponseOutput;
539
- headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShare202Headers;
540
- }
541
-
542
- export declare interface ReceivedSharesDeleteReceivedShareDefaultHeaders {
543
- /** The error code */
544
- "x-ms-error-code"?: string;
545
- }
546
-
547
- /** Delete a received share */
548
- export declare interface ReceivedSharesDeleteReceivedShareDefaultResponse extends HttpResponse {
549
- status: string;
550
- body: PurviewShareErrorOutput;
551
- headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShareDefaultHeaders;
552
- }
553
-
554
- export declare type ReceivedSharesDeleteReceivedShareParameters = RequestParameters;
555
-
556
- export declare interface ReceivedSharesGetAllAttachedReceivedShares {
557
- /** List attached received shares */
558
- get(options: ReceivedSharesGetAllAttachedReceivedSharesParameters): StreamableMethod<ReceivedSharesGetAllAttachedReceivedShares200Response | ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse>;
559
- }
560
-
561
- /** List attached received shares */
562
- export declare interface ReceivedSharesGetAllAttachedReceivedShares200Response extends HttpResponse {
563
- status: "200";
564
- body: ReceivedShareListOutput;
565
- }
566
-
567
- export declare interface ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders {
568
- /** The error code */
569
- "x-ms-error-code"?: string;
570
- }
571
-
572
- /** List attached received shares */
573
- export declare interface ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse extends HttpResponse {
574
- status: string;
575
- body: PurviewShareErrorOutput;
576
- headers: RawHttpHeaders & ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders;
577
- }
578
-
579
- export declare type ReceivedSharesGetAllAttachedReceivedSharesParameters = ReceivedSharesGetAllAttachedReceivedSharesQueryParam & RequestParameters;
580
-
581
- export declare interface ReceivedSharesGetAllAttachedReceivedSharesQueryParam {
582
- queryParameters: ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties;
583
- }
584
-
585
- export declare interface ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties {
586
- /** A name that references a data store. */
587
- referenceName: string;
588
- /** The continuation token to list the next page */
589
- skipToken?: string;
590
- /** Filters the results using OData syntax */
591
- filter?: string;
592
- /** Sorts the results using OData syntax */
593
- orderby?: string;
594
- }
595
-
596
- export declare interface ReceivedSharesGetAllDetachedReceivedShares {
597
- /** List detached received shares */
598
- get(options?: ReceivedSharesGetAllDetachedReceivedSharesParameters): StreamableMethod<ReceivedSharesGetAllDetachedReceivedShares200Response | ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse>;
599
- }
600
-
601
- /** List detached received shares */
602
- export declare interface ReceivedSharesGetAllDetachedReceivedShares200Response extends HttpResponse {
603
- status: "200";
604
- body: ReceivedShareListOutput;
605
- }
606
-
607
- export declare interface ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders {
608
- /** The error code */
609
- "x-ms-error-code"?: string;
610
- }
611
-
612
- /** List detached received shares */
613
- export declare interface ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse extends HttpResponse {
614
- status: string;
615
- body: PurviewShareErrorOutput;
616
- headers: RawHttpHeaders & ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders;
617
- }
618
-
619
- export declare type ReceivedSharesGetAllDetachedReceivedSharesParameters = ReceivedSharesGetAllDetachedReceivedSharesQueryParam & RequestParameters;
620
-
621
- export declare interface ReceivedSharesGetAllDetachedReceivedSharesQueryParam {
622
- queryParameters?: ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties;
623
- }
624
-
625
- export declare interface ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties {
626
- /** The continuation token to list the next page */
627
- skipToken?: string;
628
- /** Filters the results using OData syntax */
629
- filter?: string;
630
- /** Sorts the results using OData syntax */
631
- orderby?: string;
632
- }
633
-
634
- export declare interface ReceivedSharesGetReceivedShare {
635
- /** Get a received share */
636
- get(options?: ReceivedSharesGetReceivedShareParameters): StreamableMethod<ReceivedSharesGetReceivedShare200Response | ReceivedSharesGetReceivedShareDefaultResponse>;
637
- /** Update changes to a received share */
638
- put(options: ReceivedSharesCreateOrReplaceParameters): StreamableMethod<ReceivedSharesCreateOrReplace200Response | ReceivedSharesCreateOrReplace201Response | ReceivedSharesCreateOrReplaceDefaultResponse>;
639
- /** Delete a received share */
640
- delete(options?: ReceivedSharesDeleteReceivedShareParameters): StreamableMethod<ReceivedSharesDeleteReceivedShare202Response | ReceivedSharesDeleteReceivedShareDefaultResponse>;
641
- }
642
-
643
- /** Get a received share */
644
- export declare interface ReceivedSharesGetReceivedShare200Response extends HttpResponse {
645
- status: "200";
646
- body: ReceivedShareOutput;
647
- }
648
-
649
- export declare interface ReceivedSharesGetReceivedShareDefaultHeaders {
650
- /** The error code */
651
- "x-ms-error-code"?: string;
652
- }
653
-
654
- /** Get a received share */
655
- export declare interface ReceivedSharesGetReceivedShareDefaultResponse extends HttpResponse {
656
- status: string;
657
- body: PurviewShareErrorOutput;
658
- headers: RawHttpHeaders & ReceivedSharesGetReceivedShareDefaultHeaders;
659
- }
660
-
661
- export declare type ReceivedSharesGetReceivedShareParameters = RequestParameters;
662
-
663
- export declare interface ReceivedSharesRegisterTenantEmailRegistration {
664
- /** Register an email for the current tenant */
665
- post(options?: ReceivedSharesRegisterTenantEmailRegistrationParameters): StreamableMethod<ReceivedSharesRegisterTenantEmailRegistration200Response | ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse>;
666
- }
667
-
668
- /** Register an email for the current tenant */
669
- export declare interface ReceivedSharesRegisterTenantEmailRegistration200Response extends HttpResponse {
670
- status: "200";
671
- body: TenantEmailRegistrationOutput;
672
- }
673
-
674
- export declare interface ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders {
675
- /** The error code */
676
- "x-ms-error-code"?: string;
677
- }
678
-
679
- /** Register an email for the current tenant */
680
- export declare interface ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse extends HttpResponse {
681
- status: string;
682
- body: PurviewShareErrorOutput;
683
- headers: RawHttpHeaders & ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders;
684
- }
685
-
686
- export declare interface ReceivedSharesRegisterTenantEmailRegistrationHeaderParam {
687
- headers?: RawHttpHeadersInput & ReceivedSharesRegisterTenantEmailRegistrationHeaders;
688
- }
689
-
690
- export declare interface ReceivedSharesRegisterTenantEmailRegistrationHeaders {
691
- /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs. */
692
- "repeatability-request-id"?: string;
693
- }
694
-
695
- export declare type ReceivedSharesRegisterTenantEmailRegistrationParameters = ReceivedSharesRegisterTenantEmailRegistrationHeaderParam & RequestParameters;
696
-
697
- export declare interface Routes {
698
- /** Resource for '/receivedShares/\{receivedShareId\}' has methods for the following verbs: get, put, delete */
699
- (path: "/receivedShares/{receivedShareId}", receivedShareId: string): ReceivedSharesGetReceivedShare;
700
- /** Resource for '/receivedShares/attached' has methods for the following verbs: get */
701
- (path: "/receivedShares/attached"): ReceivedSharesGetAllAttachedReceivedShares;
702
- /** Resource for '/receivedShares/detached' has methods for the following verbs: get */
703
- (path: "/receivedShares/detached"): ReceivedSharesGetAllDetachedReceivedShares;
704
- /** Resource for '/emails:activate' has methods for the following verbs: post */
705
- (path: "/emails:activate"): ReceivedSharesActivateTenantEmailRegistration;
706
- /** Resource for '/emails:register' has methods for the following verbs: post */
707
- (path: "/emails:register"): ReceivedSharesRegisterTenantEmailRegistration;
708
- /** Resource for '/sentShares' has methods for the following verbs: get */
709
- (path: "/sentShares"): SentSharesGetAllSentShares;
710
- /** Resource for '/sentShares/\{sentShareId\}' has methods for the following verbs: get, put, delete */
711
- (path: "/sentShares/{sentShareId}", sentShareId: string): SentSharesGetSentShare;
712
- /** Resource for '/sentShares/\{sentShareId\}/sentShareInvitations' has methods for the following verbs: get */
713
- (path: "/sentShares/{sentShareId}/sentShareInvitations", sentShareId: string): SentSharesGetAllSentShareInvitations;
714
- /** Resource for '/sentShares/\{sentShareId\}/sentShareInvitations/\{sentShareInvitationId\}' has methods for the following verbs: get, put, delete */
715
- (path: "/sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}", sentShareId: string, sentShareInvitationId: string): SentSharesGetSentShareInvitation;
716
- /** Resource for '/sentShares/\{sentShareId\}/sentShareInvitations/\{sentShareInvitationId\}:notify' has methods for the following verbs: post */
717
- (path: "/sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}:notify", sentShareId: string, sentShareInvitationId: string): SentSharesNotifyUserSentShareInvitation;
718
- }
719
-
720
- /** A sent share data transfer object. */
721
- export declare type SentShare = InPlaceSentShare;
722
-
723
- /** A sent share invitation data transfer object. */
724
- export declare type SentShareInvitation = ServiceInvitation | UserInvitation;
725
-
726
- /** List of the sent share invitations */
727
- export declare interface SentShareInvitationListOutput {
728
- /** The Url of next result page. */
729
- nextLink?: string;
730
- /** Collection of items of type DataTransferObjects. */
731
- value: Array<SentShareInvitationOutput>;
732
- }
733
-
734
- /** A sent share invitation data transfer object. */
735
- export declare type SentShareInvitationOutput = ServiceInvitationOutput | UserInvitationOutput;
736
-
737
- /** A sent share invitation data transfer object. */
738
- export declare interface SentShareInvitationOutputParent extends ProxyResourceOutput {
739
- invitationKind: "SentShareInvitation" | "Service" | "User";
740
- }
741
-
742
- /** A sent share invitation data transfer object. */
743
- export declare interface SentShareInvitationParent extends ProxyResource {
744
- invitationKind: "SentShareInvitation" | "Service" | "User";
745
- }
746
-
747
- /** List of sent shares. */
748
- export declare interface SentShareListOutput {
749
- /** The Url of next result page. */
750
- nextLink?: string;
751
- /** Collection of items of type DataTransferObjects. */
752
- value: Array<SentShareOutput>;
753
- }
754
-
755
- /** A sent share data transfer object. */
756
- export declare type SentShareOutput = InPlaceSentShareOutput;
757
-
758
- /** A sent share data transfer object. */
759
- export declare interface SentShareOutputParent extends ProxyResourceOutput {
760
- shareKind: "SentShare" | "InPlace";
761
- }
762
-
763
- /** A sent share data transfer object. */
764
- export declare interface SentShareParent extends ProxyResource {
765
- shareKind: "SentShare" | "InPlace";
766
- }
767
-
768
- export declare interface SentSharesCreateOrReplace200Headers {
769
- /** The URL to track the status of the long running operation. */
770
- "operation-location"?: string;
771
- }
772
-
773
- /** Create or replace a sent share */
774
- export declare interface SentSharesCreateOrReplace200Response extends HttpResponse {
775
- status: "200";
776
- body: SentShareOutput;
777
- headers: RawHttpHeaders & SentSharesCreateOrReplace200Headers;
778
- }
779
-
780
- export declare interface SentSharesCreateOrReplace201Headers {
781
- /** The URL to track the status of the long running operation. */
782
- "operation-location"?: string;
783
- }
784
-
785
- /** Create or replace a sent share */
786
- export declare interface SentSharesCreateOrReplace201Response extends HttpResponse {
787
- status: "201";
788
- body: SentShareOutput;
789
- headers: RawHttpHeaders & SentSharesCreateOrReplace201Headers;
790
- }
791
-
792
- export declare interface SentSharesCreateOrReplaceBodyParam {
793
- /** The sent share to create or replace. */
794
- body: SentShare;
795
- }
796
-
797
- export declare interface SentSharesCreateOrReplaceDefaultHeaders {
798
- /** The error code */
799
- "x-ms-error-code"?: string;
800
- }
801
-
802
- /** Create or replace a sent share */
803
- export declare interface SentSharesCreateOrReplaceDefaultResponse extends HttpResponse {
804
- status: string;
805
- body: PurviewShareErrorOutput;
806
- headers: RawHttpHeaders & SentSharesCreateOrReplaceDefaultHeaders;
807
- }
808
-
809
- export declare interface SentSharesCreateOrReplaceMediaTypesParam {
810
- /** Request content type */
811
- contentType?: "application/json";
812
- }
813
-
814
- export declare type SentSharesCreateOrReplaceParameters = SentSharesCreateOrReplaceMediaTypesParam & SentSharesCreateOrReplaceBodyParam & RequestParameters;
815
-
816
- /** Create a recipient for a given sent share */
817
- export declare interface SentSharesCreateSentShareInvitation201Response extends HttpResponse {
818
- status: "201";
819
- body: SentShareInvitationOutput;
820
- }
821
-
822
- export declare interface SentSharesCreateSentShareInvitationBodyParam {
823
- /** The sent share invitation to create. */
824
- body: SentShareInvitation;
825
- }
826
-
827
- export declare interface SentSharesCreateSentShareInvitationDefaultHeaders {
828
- /** The error code */
829
- "x-ms-error-code"?: string;
830
- }
831
-
832
- /** Create a recipient for a given sent share */
833
- export declare interface SentSharesCreateSentShareInvitationDefaultResponse extends HttpResponse {
834
- status: string;
835
- body: PurviewShareErrorOutput;
836
- headers: RawHttpHeaders & SentSharesCreateSentShareInvitationDefaultHeaders;
837
- }
838
-
839
- export declare interface SentSharesCreateSentShareInvitationMediaTypesParam {
840
- /** Request content type */
841
- contentType?: "application/json";
842
- }
843
-
844
- export declare type SentSharesCreateSentShareInvitationParameters = SentSharesCreateSentShareInvitationMediaTypesParam & SentSharesCreateSentShareInvitationBodyParam & RequestParameters;
845
-
846
- export declare interface SentSharesDeleteSentShare202Headers {
847
- /** The URL to track the status of the long running operation. */
848
- "operation-location"?: string;
849
- }
850
-
851
- /** Delete a sent share */
852
- export declare interface SentSharesDeleteSentShare202Response extends HttpResponse {
853
- status: "202";
854
- body: OperationResponseOutput;
855
- headers: RawHttpHeaders & SentSharesDeleteSentShare202Headers;
856
- }
857
-
858
- export declare interface SentSharesDeleteSentShareDefaultHeaders {
859
- /** The error code */
860
- "x-ms-error-code"?: string;
861
- }
862
-
863
- /** Delete a sent share */
864
- export declare interface SentSharesDeleteSentShareDefaultResponse extends HttpResponse {
865
- status: string;
866
- body: PurviewShareErrorOutput;
867
- headers: RawHttpHeaders & SentSharesDeleteSentShareDefaultHeaders;
868
- }
869
-
870
- export declare interface SentSharesDeleteSentShareInvitation202Headers {
871
- /** The URL to track the status of the long running operation. */
872
- "operation-location"?: string;
873
- }
874
-
875
- /** Delete a sent share invitation */
876
- export declare interface SentSharesDeleteSentShareInvitation202Response extends HttpResponse {
877
- status: "202";
878
- body: OperationResponseOutput;
879
- headers: RawHttpHeaders & SentSharesDeleteSentShareInvitation202Headers;
880
- }
881
-
882
- export declare interface SentSharesDeleteSentShareInvitationDefaultHeaders {
883
- /** The error code */
884
- "x-ms-error-code"?: string;
885
- }
886
-
887
- /** Delete a sent share invitation */
888
- export declare interface SentSharesDeleteSentShareInvitationDefaultResponse extends HttpResponse {
889
- status: string;
890
- body: PurviewShareErrorOutput;
891
- headers: RawHttpHeaders & SentSharesDeleteSentShareInvitationDefaultHeaders;
892
- }
893
-
894
- export declare type SentSharesDeleteSentShareInvitationParameters = RequestParameters;
895
-
896
- export declare type SentSharesDeleteSentShareParameters = RequestParameters;
897
-
898
- export declare interface SentSharesGetAllSentShareInvitations {
899
- /** List sent share recipients */
900
- get(options?: SentSharesGetAllSentShareInvitationsParameters): StreamableMethod<SentSharesGetAllSentShareInvitations200Response | SentSharesGetAllSentShareInvitationsDefaultResponse>;
901
- }
902
-
903
- /** List sent share recipients */
904
- export declare interface SentSharesGetAllSentShareInvitations200Response extends HttpResponse {
905
- status: "200";
906
- body: SentShareInvitationListOutput;
907
- }
908
-
909
- export declare interface SentSharesGetAllSentShareInvitationsDefaultHeaders {
910
- /** The error code */
911
- "x-ms-error-code"?: string;
912
- }
913
-
914
- /** List sent share recipients */
915
- export declare interface SentSharesGetAllSentShareInvitationsDefaultResponse extends HttpResponse {
916
- status: string;
917
- body: PurviewShareErrorOutput;
918
- headers: RawHttpHeaders & SentSharesGetAllSentShareInvitationsDefaultHeaders;
919
- }
920
-
921
- export declare type SentSharesGetAllSentShareInvitationsParameters = SentSharesGetAllSentShareInvitationsQueryParam & RequestParameters;
922
-
923
- export declare interface SentSharesGetAllSentShareInvitationsQueryParam {
924
- queryParameters?: SentSharesGetAllSentShareInvitationsQueryParamProperties;
925
- }
926
-
927
- export declare interface SentSharesGetAllSentShareInvitationsQueryParamProperties {
928
- /** The continuation token to list the next page */
929
- skipToken?: string;
930
- /** Filters the results using OData syntax */
931
- filter?: string;
932
- /** Sorts the results using OData syntax */
933
- orderby?: string;
934
- }
935
-
936
- export declare interface SentSharesGetAllSentShares {
937
- /** List sent shares */
938
- get(options: SentSharesGetAllSentSharesParameters): StreamableMethod<SentSharesGetAllSentShares200Response | SentSharesGetAllSentSharesDefaultResponse>;
939
- }
940
-
941
- /** List sent shares */
942
- export declare interface SentSharesGetAllSentShares200Response extends HttpResponse {
943
- status: "200";
944
- body: SentShareListOutput;
945
- }
946
-
947
- export declare interface SentSharesGetAllSentSharesDefaultHeaders {
948
- /** The error code */
949
- "x-ms-error-code"?: string;
950
- }
951
-
952
- /** List sent shares */
953
- export declare interface SentSharesGetAllSentSharesDefaultResponse extends HttpResponse {
954
- status: string;
955
- body: PurviewShareErrorOutput;
956
- headers: RawHttpHeaders & SentSharesGetAllSentSharesDefaultHeaders;
957
- }
958
-
959
- export declare type SentSharesGetAllSentSharesParameters = SentSharesGetAllSentSharesQueryParam & RequestParameters;
960
-
961
- export declare interface SentSharesGetAllSentSharesQueryParam {
962
- queryParameters: SentSharesGetAllSentSharesQueryParamProperties;
963
- }
964
-
965
- export declare interface SentSharesGetAllSentSharesQueryParamProperties {
966
- /** A name that references a data store. */
967
- referenceName: string;
968
- /** The continuation token to list the next page */
969
- skipToken?: string;
970
- /** Filters the results using OData syntax */
971
- filter?: string;
972
- /** Sorts the results using OData syntax */
973
- orderby?: string;
974
- }
975
-
976
- export declare interface SentSharesGetSentShare {
977
- /** Get a sent share */
978
- get(options?: SentSharesGetSentShareParameters): StreamableMethod<SentSharesGetSentShare200Response | SentSharesGetSentShareDefaultResponse>;
979
- /** Create or replace a sent share */
980
- put(options: SentSharesCreateOrReplaceParameters): StreamableMethod<SentSharesCreateOrReplace200Response | SentSharesCreateOrReplace201Response | SentSharesCreateOrReplaceDefaultResponse>;
981
- /** Delete a sent share */
982
- delete(options?: SentSharesDeleteSentShareParameters): StreamableMethod<SentSharesDeleteSentShare202Response | SentSharesDeleteSentShareDefaultResponse>;
983
- }
984
-
985
- /** Get a sent share */
986
- export declare interface SentSharesGetSentShare200Response extends HttpResponse {
987
- status: "200";
988
- body: SentShareOutput;
989
- }
990
-
991
- export declare interface SentSharesGetSentShareDefaultHeaders {
992
- /** The error code */
993
- "x-ms-error-code"?: string;
994
- }
995
-
996
- /** Get a sent share */
997
- export declare interface SentSharesGetSentShareDefaultResponse extends HttpResponse {
998
- status: string;
999
- body: PurviewShareErrorOutput;
1000
- headers: RawHttpHeaders & SentSharesGetSentShareDefaultHeaders;
1001
- }
1002
-
1003
- export declare interface SentSharesGetSentShareInvitation {
1004
- /** Get recipient for a given sent share */
1005
- get(options?: SentSharesGetSentShareInvitationParameters): StreamableMethod<SentSharesGetSentShareInvitation200Response | SentSharesGetSentShareInvitationDefaultResponse>;
1006
- /** Create a recipient for a given sent share */
1007
- put(options: SentSharesCreateSentShareInvitationParameters): StreamableMethod<SentSharesCreateSentShareInvitation201Response | SentSharesCreateSentShareInvitationDefaultResponse>;
1008
- /** Delete a sent share invitation */
1009
- delete(options?: SentSharesDeleteSentShareInvitationParameters): StreamableMethod<SentSharesDeleteSentShareInvitation202Response | SentSharesDeleteSentShareInvitationDefaultResponse>;
1010
- }
1011
-
1012
- /** Get recipient for a given sent share */
1013
- export declare interface SentSharesGetSentShareInvitation200Response extends HttpResponse {
1014
- status: "200";
1015
- body: SentShareInvitationOutput;
1016
- }
1017
-
1018
- export declare interface SentSharesGetSentShareInvitationDefaultHeaders {
1019
- /** The error code */
1020
- "x-ms-error-code"?: string;
1021
- }
1022
-
1023
- /** Get recipient for a given sent share */
1024
- export declare interface SentSharesGetSentShareInvitationDefaultResponse extends HttpResponse {
1025
- status: string;
1026
- body: PurviewShareErrorOutput;
1027
- headers: RawHttpHeaders & SentSharesGetSentShareInvitationDefaultHeaders;
1028
- }
1029
-
1030
- export declare type SentSharesGetSentShareInvitationParameters = RequestParameters;
1031
-
1032
- export declare type SentSharesGetSentShareParameters = RequestParameters;
1033
-
1034
- export declare interface SentSharesNotifyUserSentShareInvitation {
1035
- /** Notifies the user recipient of the sent share invitation, does not apply to service invitations. */
1036
- post(options?: SentSharesNotifyUserSentShareInvitationParameters): StreamableMethod<SentSharesNotifyUserSentShareInvitation200Response | SentSharesNotifyUserSentShareInvitationDefaultResponse>;
1037
- }
1038
-
1039
- /** Notifies the user recipient of the sent share invitation, does not apply to service invitations. */
1040
- export declare interface SentSharesNotifyUserSentShareInvitation200Response extends HttpResponse {
1041
- status: "200";
1042
- body: SentShareInvitationOutput;
1043
- }
1044
-
1045
- export declare interface SentSharesNotifyUserSentShareInvitationDefaultHeaders {
1046
- /** The error code */
1047
- "x-ms-error-code"?: string;
1048
- }
1049
-
1050
- /** Notifies the user recipient of the sent share invitation, does not apply to service invitations. */
1051
- export declare interface SentSharesNotifyUserSentShareInvitationDefaultResponse extends HttpResponse {
1052
- status: string;
1053
- body: PurviewShareErrorOutput;
1054
- headers: RawHttpHeaders & SentSharesNotifyUserSentShareInvitationDefaultHeaders;
1055
- }
1056
-
1057
- export declare interface SentSharesNotifyUserSentShareInvitationHeaderParam {
1058
- headers?: RawHttpHeadersInput & SentSharesNotifyUserSentShareInvitationHeaders;
1059
- }
1060
-
1061
- export declare interface SentSharesNotifyUserSentShareInvitationHeaders {
1062
- /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs. */
1063
- "repeatability-request-id"?: string;
1064
- }
1065
-
1066
- export declare type SentSharesNotifyUserSentShareInvitationParameters = SentSharesNotifyUserSentShareInvitationHeaderParam & RequestParameters;
1067
-
1068
- /** An service invitation kind. */
1069
- export declare interface ServiceInvitation extends SentShareInvitationParent {
1070
- /** Properties of the service invitation type. */
1071
- properties: ServiceInvitationProperties;
1072
- invitationKind: "Service";
1073
- }
1074
-
1075
- /** An service invitation kind. */
1076
- export declare interface ServiceInvitationOutput extends SentShareInvitationOutputParent {
1077
- /** Properties of the service invitation type. */
1078
- properties: ServiceInvitationPropertiesOutput;
1079
- invitationKind: "Service";
1080
- }
1081
-
1082
- /** Properties of the service invitation type. */
1083
- export declare interface ServiceInvitationProperties {
1084
- /** The time at which the invitation will expire. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
1085
- expirationDate?: Date | string;
1086
- /** Share status. */
1087
- shareStatus?: "Detached" | "Attached";
1088
- /**
1089
- * The target azure active directory id the invitation is sent to.
1090
- *
1091
- * Value may contain a UUID
1092
- */
1093
- targetActiveDirectoryId: string;
1094
- /**
1095
- * The target object id in the azure active directory the invitation is sent to.
1096
- *
1097
- * Value may contain a UUID
1098
- */
1099
- targetObjectId: string;
1100
- }
1101
-
1102
- /** Properties of the service invitation type. */
1103
- export declare interface ServiceInvitationPropertiesOutput {
1104
- /** The time at which the invitation will expire. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
1105
- expirationDate?: string;
1106
- /** Email address of the sender. */
1107
- readonly senderEmail?: string;
1108
- /** Name of the sender */
1109
- readonly senderName?: string;
1110
- /** Tenant name of the sender */
1111
- readonly senderTenantName?: string;
1112
- /** Gets the time at which the invitation was sent. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
1113
- readonly sentAt?: string;
1114
- /** Share status. */
1115
- shareStatus?: "Detached" | "Attached";
1116
- /** State of the resource */
1117
- readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
1118
- /**
1119
- * The target azure active directory id the invitation is sent to.
1120
- *
1121
- * Value may contain a UUID
1122
- */
1123
- targetActiveDirectoryId: string;
1124
- /**
1125
- * The target object id in the azure active directory the invitation is sent to.
1126
- *
1127
- * Value may contain a UUID
1128
- */
1129
- targetObjectId: string;
1130
- }
1131
-
1132
- /** Holds details on the destination of the mapped artifact */
1133
- export declare type Sink = AdlsGen2AccountSink | BlobAccountSink;
1134
-
1135
- /** Holds details on the destination of the mapped artifact */
1136
- export declare type SinkOutput = AdlsGen2AccountSinkOutput | BlobAccountSinkOutput;
1137
-
1138
- /** Holds details on the destination of the mapped artifact */
1139
- export declare interface SinkOutputParent {
1140
- /** A Store Reference for an artifact or sink. */
1141
- storeReference: StoreReferenceOutput;
1142
- storeKind: "Sink" | "AdlsGen2Account" | "BlobAccount";
1143
- }
1144
-
1145
- /** Holds details on the destination of the mapped artifact */
1146
- export declare interface SinkParent {
1147
- /** A Store Reference for an artifact or sink. */
1148
- storeReference: StoreReference;
1149
- storeKind: "Sink" | "AdlsGen2Account" | "BlobAccount";
1150
- }
1151
-
1152
- /** Defines a single StorageAccountPath path */
1153
- export declare interface StorageAccountPath {
1154
- /** Gets or sets the container name */
1155
- containerName: string;
1156
- /** Gets or sets the path on the receiver side where the artifact is to be mapped */
1157
- receiverPath?: string;
1158
- /** Gets or sets the path to file/folder within the container to be shared */
1159
- senderPath?: string;
1160
- }
1161
-
1162
- /** Defines a single StorageAccountPath path */
1163
- export declare interface StorageAccountPathOutput {
1164
- /** Gets or sets the container name */
1165
- containerName: string;
1166
- /** Gets or sets the path on the receiver side where the artifact is to be mapped */
1167
- receiverPath?: string;
1168
- /** Gets or sets the path to file/folder within the container to be shared */
1169
- senderPath?: string;
1170
- }
1171
-
1172
- /** A Store Reference for an artifact or sink. */
1173
- export declare interface StoreReference {
1174
- /** Reference name for resource associated with the sink or artifact. */
1175
- referenceName?: string;
1176
- /** Defines the type of resource being shared */
1177
- type?: "ArmResourceReference";
1178
- }
1179
-
1180
- /** A Store Reference for an artifact or sink. */
1181
- export declare interface StoreReferenceOutput {
1182
- /** Reference name for resource associated with the sink or artifact. */
1183
- referenceName?: string;
1184
- /** Defines the type of resource being shared */
1185
- type?: "ArmResourceReference";
1186
- }
1187
-
1188
- /** A tenant email registration data transfer object. */
1189
- export declare interface TenantEmailRegistration extends ProxyResource {
1190
- /** Tenant email registration property bag. */
1191
- properties?: TenantEmailRegistrationProperties;
1192
- }
1193
-
1194
- /** A tenant email registration data transfer object. */
1195
- export declare interface TenantEmailRegistrationOutput extends ProxyResourceOutput {
1196
- /** Tenant email registration property bag. */
1197
- properties?: TenantEmailRegistrationPropertiesOutput;
1198
- }
1199
-
1200
- /** Tenant email registration property bag. */
1201
- export declare interface TenantEmailRegistrationProperties {
1202
- /** Activation code for the registration. */
1203
- activationCode: string;
1204
- }
1205
-
1206
- /** Tenant email registration property bag. */
1207
- export declare interface TenantEmailRegistrationPropertiesOutput {
1208
- /** Activation code for the registration. */
1209
- activationCode: string;
1210
- /** Date of the activation expiration. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
1211
- readonly activationExpiration?: string;
1212
- /** The email to register. */
1213
- readonly email?: string;
1214
- /** Defines the supported types for registration. */
1215
- readonly registrationStatus?: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted";
1216
- /** State of the resource */
1217
- readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
1218
- /** The tenant id to register. */
1219
- readonly tenantId?: string;
1220
- }
1221
-
1222
- /** A user invitation kind. */
1223
- export declare interface UserInvitation extends SentShareInvitationParent {
1224
- /** Properties of the user invitation type. */
1225
- properties: UserInvitationProperties;
1226
- invitationKind: "User";
1227
- }
1228
-
1229
- /** A user invitation kind. */
1230
- export declare interface UserInvitationOutput extends SentShareInvitationOutputParent {
1231
- /** Properties of the user invitation type. */
1232
- properties: UserInvitationPropertiesOutput;
1233
- invitationKind: "User";
1234
- }
1235
-
1236
- /** Properties of the user invitation type. */
1237
- export declare interface UserInvitationProperties {
1238
- /** The time at which the invitation will expire. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
1239
- expirationDate?: Date | string;
1240
- /** Whether or not the recipient was notified via email. */
1241
- notify?: boolean;
1242
- /** Share status. */
1243
- shareStatus?: "Detached" | "Attached";
1244
- /** The receiver email for the invitation is being sent. */
1245
- targetEmail: string;
1246
- }
1247
-
1248
- /** Properties of the user invitation type. */
1249
- export declare interface UserInvitationPropertiesOutput {
1250
- /** The time at which the invitation will expire. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
1251
- expirationDate?: string;
1252
- /** Whether or not the recipient was notified via email. */
1253
- notify?: boolean;
1254
- /** Email address of the sender. */
1255
- readonly senderEmail?: string;
1256
- /** Name of the sender */
1257
- readonly senderName?: string;
1258
- /** Tenant name of the sender */
1259
- readonly senderTenantName?: string;
1260
- /** Gets the time at which the invitation was sent. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
1261
- readonly sentAt?: string;
1262
- /** Share status. */
1263
- shareStatus?: "Detached" | "Attached";
1264
- /** State of the resource */
1265
- readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
1266
- /** The receiver email for the invitation is being sent. */
1267
- targetEmail: string;
1268
- }
1269
-
1270
- export { }