@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,1234 +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 { Client } from '@azure-rest/core-client';
8
- import { ClientOptions } from '@azure-rest/core-client';
9
- import { CreateHttpPollerOptions } from '@azure/core-lro';
10
- import { HttpResponse } from '@azure-rest/core-client';
11
- import { OperationState } from '@azure/core-lro';
12
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
13
- import { PathUncheckedResponse } from '@azure-rest/core-client';
14
- import { RawHttpHeaders } from '@azure/core-rest-pipeline';
15
- import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
16
- import { RequestParameters } from '@azure-rest/core-client';
17
- import { SimplePollerLike } from '@azure/core-lro';
18
- import { StreamableMethod } from '@azure-rest/core-client';
19
- import { 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
290
- export interface OperationResponseOutput {
291
- endTime?: string;
292
- error?: PurviewShareErrorInfoOutput;
293
- id?: string;
294
- startTime?: string;
295
- status: "Running" | "TransientFailure" | "Succeeded" | "Failed" | "NotStarted";
296
- }
297
-
298
- // @public
299
- export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
300
-
301
- // @public
302
- export type PaginateReturn<TResult> = TResult extends {
303
- body: {
304
- value?: infer TPage;
305
- };
306
- } ? GetArrayType<TPage> : Array<unknown>;
307
-
308
- // @public
309
- export interface PagingOptions<TResponse> {
310
- customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
311
- }
312
-
313
- // @public
314
- export interface ProxyResource {
315
- }
316
-
317
- // @public
318
- export interface ProxyResourceOutput {
319
- readonly id?: string;
320
- readonly type?: string;
321
- }
322
-
323
- // @public
324
- export interface PurviewShareErrorInfoOutput {
325
- code: string;
326
- details?: Array<PurviewShareErrorInfoOutput>;
327
- message: string;
328
- target?: string;
329
- }
330
-
331
- // @public
332
- export interface PurviewShareErrorOutput {
333
- error: PurviewShareErrorInfoOutput;
334
- }
335
-
336
- // @public (undocumented)
337
- export type PurviewSharingClient = Client & {
338
- path: Routes;
339
- };
340
-
341
- // @public
342
- export type ReceivedShare = InPlaceReceivedShare;
343
-
344
- // @public
345
- export interface ReceivedShareListOutput {
346
- nextLink?: string;
347
- value: Array<ReceivedShareOutput>;
348
- }
349
-
350
- // @public
351
- export type ReceivedShareOutput = InPlaceReceivedShareOutput;
352
-
353
- // @public
354
- export interface ReceivedShareOutputParent extends ProxyResourceOutput {
355
- // (undocumented)
356
- shareKind: "ReceivedShare" | "InPlace";
357
- }
358
-
359
- // @public
360
- export interface ReceivedShareParent extends ProxyResource {
361
- // (undocumented)
362
- shareKind: "ReceivedShare" | "InPlace";
363
- }
364
-
365
- // @public (undocumented)
366
- export interface ReceivedSharesActivateTenantEmailRegistration {
367
- post(options: ReceivedSharesActivateTenantEmailRegistrationParameters): StreamableMethod<ReceivedSharesActivateTenantEmailRegistration200Response | ReceivedSharesActivateTenantEmailRegistrationDefaultResponse>;
368
- }
369
-
370
- // @public
371
- export interface ReceivedSharesActivateTenantEmailRegistration200Response extends HttpResponse {
372
- // (undocumented)
373
- body: TenantEmailRegistrationOutput;
374
- // (undocumented)
375
- status: "200";
376
- }
377
-
378
- // @public (undocumented)
379
- export interface ReceivedSharesActivateTenantEmailRegistrationBodyParam {
380
- body: TenantEmailRegistration;
381
- }
382
-
383
- // @public (undocumented)
384
- export interface ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders {
385
- "x-ms-error-code"?: string;
386
- }
387
-
388
- // @public
389
- export interface ReceivedSharesActivateTenantEmailRegistrationDefaultResponse extends HttpResponse {
390
- // (undocumented)
391
- body: PurviewShareErrorOutput;
392
- // (undocumented)
393
- headers: RawHttpHeaders & ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders;
394
- // (undocumented)
395
- status: string;
396
- }
397
-
398
- // @public (undocumented)
399
- export interface ReceivedSharesActivateTenantEmailRegistrationHeaderParam {
400
- // (undocumented)
401
- headers?: RawHttpHeadersInput & ReceivedSharesActivateTenantEmailRegistrationHeaders;
402
- }
403
-
404
- // @public (undocumented)
405
- export interface ReceivedSharesActivateTenantEmailRegistrationHeaders {
406
- "repeatability-request-id"?: string;
407
- }
408
-
409
- // @public (undocumented)
410
- export interface ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam {
411
- contentType?: "application/json";
412
- }
413
-
414
- // @public (undocumented)
415
- export type ReceivedSharesActivateTenantEmailRegistrationParameters = ReceivedSharesActivateTenantEmailRegistrationHeaderParam & ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam & ReceivedSharesActivateTenantEmailRegistrationBodyParam & RequestParameters;
416
-
417
- // @public (undocumented)
418
- export interface ReceivedSharesCreateOrReplace200Headers {
419
- "operation-location"?: string;
420
- }
421
-
422
- // @public
423
- export interface ReceivedSharesCreateOrReplace200Response extends HttpResponse {
424
- // (undocumented)
425
- body: ReceivedShareOutput;
426
- // (undocumented)
427
- headers: RawHttpHeaders & ReceivedSharesCreateOrReplace200Headers;
428
- // (undocumented)
429
- status: "200";
430
- }
431
-
432
- // @public (undocumented)
433
- export interface ReceivedSharesCreateOrReplace201Headers {
434
- "operation-location"?: string;
435
- }
436
-
437
- // @public
438
- export interface ReceivedSharesCreateOrReplace201Response extends HttpResponse {
439
- // (undocumented)
440
- body: ReceivedShareOutput;
441
- // (undocumented)
442
- headers: RawHttpHeaders & ReceivedSharesCreateOrReplace201Headers;
443
- // (undocumented)
444
- status: "201";
445
- }
446
-
447
- // @public (undocumented)
448
- export interface ReceivedSharesCreateOrReplaceBodyParam {
449
- body: ReceivedShare;
450
- }
451
-
452
- // @public (undocumented)
453
- export interface ReceivedSharesCreateOrReplaceDefaultHeaders {
454
- "x-ms-error-code"?: string;
455
- }
456
-
457
- // @public
458
- export interface ReceivedSharesCreateOrReplaceDefaultResponse extends HttpResponse {
459
- // (undocumented)
460
- body: PurviewShareErrorOutput;
461
- // (undocumented)
462
- headers: RawHttpHeaders & ReceivedSharesCreateOrReplaceDefaultHeaders;
463
- // (undocumented)
464
- status: string;
465
- }
466
-
467
- // @public (undocumented)
468
- export interface ReceivedSharesCreateOrReplaceMediaTypesParam {
469
- contentType?: "application/json";
470
- }
471
-
472
- // @public (undocumented)
473
- export type ReceivedSharesCreateOrReplaceParameters = ReceivedSharesCreateOrReplaceMediaTypesParam & ReceivedSharesCreateOrReplaceBodyParam & RequestParameters;
474
-
475
- // @public (undocumented)
476
- export interface ReceivedSharesDeleteReceivedShare202Headers {
477
- "operation-location"?: string;
478
- }
479
-
480
- // @public
481
- export interface ReceivedSharesDeleteReceivedShare202Response extends HttpResponse {
482
- // (undocumented)
483
- body: OperationResponseOutput;
484
- // (undocumented)
485
- headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShare202Headers;
486
- // (undocumented)
487
- status: "202";
488
- }
489
-
490
- // @public (undocumented)
491
- export interface ReceivedSharesDeleteReceivedShareDefaultHeaders {
492
- "x-ms-error-code"?: string;
493
- }
494
-
495
- // @public
496
- export interface ReceivedSharesDeleteReceivedShareDefaultResponse extends HttpResponse {
497
- // (undocumented)
498
- body: PurviewShareErrorOutput;
499
- // (undocumented)
500
- headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShareDefaultHeaders;
501
- // (undocumented)
502
- status: string;
503
- }
504
-
505
- // @public (undocumented)
506
- export type ReceivedSharesDeleteReceivedShareParameters = RequestParameters;
507
-
508
- // @public (undocumented)
509
- export interface ReceivedSharesGetAllAttachedReceivedShares {
510
- get(options: ReceivedSharesGetAllAttachedReceivedSharesParameters): StreamableMethod<ReceivedSharesGetAllAttachedReceivedShares200Response | ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse>;
511
- }
512
-
513
- // @public
514
- export interface ReceivedSharesGetAllAttachedReceivedShares200Response extends HttpResponse {
515
- // (undocumented)
516
- body: ReceivedShareListOutput;
517
- // (undocumented)
518
- status: "200";
519
- }
520
-
521
- // @public (undocumented)
522
- export interface ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders {
523
- "x-ms-error-code"?: string;
524
- }
525
-
526
- // @public
527
- export interface ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse extends HttpResponse {
528
- // (undocumented)
529
- body: PurviewShareErrorOutput;
530
- // (undocumented)
531
- headers: RawHttpHeaders & ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders;
532
- // (undocumented)
533
- status: string;
534
- }
535
-
536
- // @public (undocumented)
537
- export type ReceivedSharesGetAllAttachedReceivedSharesParameters = ReceivedSharesGetAllAttachedReceivedSharesQueryParam & RequestParameters;
538
-
539
- // @public (undocumented)
540
- export interface ReceivedSharesGetAllAttachedReceivedSharesQueryParam {
541
- // (undocumented)
542
- queryParameters: ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties;
543
- }
544
-
545
- // @public (undocumented)
546
- export interface ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties {
547
- filter?: string;
548
- orderby?: string;
549
- referenceName: string;
550
- skipToken?: string;
551
- }
552
-
553
- // @public (undocumented)
554
- export interface ReceivedSharesGetAllDetachedReceivedShares {
555
- get(options?: ReceivedSharesGetAllDetachedReceivedSharesParameters): StreamableMethod<ReceivedSharesGetAllDetachedReceivedShares200Response | ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse>;
556
- }
557
-
558
- // @public
559
- export interface ReceivedSharesGetAllDetachedReceivedShares200Response extends HttpResponse {
560
- // (undocumented)
561
- body: ReceivedShareListOutput;
562
- // (undocumented)
563
- status: "200";
564
- }
565
-
566
- // @public (undocumented)
567
- export interface ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders {
568
- "x-ms-error-code"?: string;
569
- }
570
-
571
- // @public
572
- export interface ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse extends HttpResponse {
573
- // (undocumented)
574
- body: PurviewShareErrorOutput;
575
- // (undocumented)
576
- headers: RawHttpHeaders & ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders;
577
- // (undocumented)
578
- status: string;
579
- }
580
-
581
- // @public (undocumented)
582
- export type ReceivedSharesGetAllDetachedReceivedSharesParameters = ReceivedSharesGetAllDetachedReceivedSharesQueryParam & RequestParameters;
583
-
584
- // @public (undocumented)
585
- export interface ReceivedSharesGetAllDetachedReceivedSharesQueryParam {
586
- // (undocumented)
587
- queryParameters?: ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties;
588
- }
589
-
590
- // @public (undocumented)
591
- export interface ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties {
592
- filter?: string;
593
- orderby?: string;
594
- skipToken?: string;
595
- }
596
-
597
- // @public (undocumented)
598
- export interface ReceivedSharesGetReceivedShare {
599
- delete(options?: ReceivedSharesDeleteReceivedShareParameters): StreamableMethod<ReceivedSharesDeleteReceivedShare202Response | ReceivedSharesDeleteReceivedShareDefaultResponse>;
600
- get(options?: ReceivedSharesGetReceivedShareParameters): StreamableMethod<ReceivedSharesGetReceivedShare200Response | ReceivedSharesGetReceivedShareDefaultResponse>;
601
- put(options: ReceivedSharesCreateOrReplaceParameters): StreamableMethod<ReceivedSharesCreateOrReplace200Response | ReceivedSharesCreateOrReplace201Response | ReceivedSharesCreateOrReplaceDefaultResponse>;
602
- }
603
-
604
- // @public
605
- export interface ReceivedSharesGetReceivedShare200Response extends HttpResponse {
606
- // (undocumented)
607
- body: ReceivedShareOutput;
608
- // (undocumented)
609
- status: "200";
610
- }
611
-
612
- // @public (undocumented)
613
- export interface ReceivedSharesGetReceivedShareDefaultHeaders {
614
- "x-ms-error-code"?: string;
615
- }
616
-
617
- // @public
618
- export interface ReceivedSharesGetReceivedShareDefaultResponse extends HttpResponse {
619
- // (undocumented)
620
- body: PurviewShareErrorOutput;
621
- // (undocumented)
622
- headers: RawHttpHeaders & ReceivedSharesGetReceivedShareDefaultHeaders;
623
- // (undocumented)
624
- status: string;
625
- }
626
-
627
- // @public (undocumented)
628
- export type ReceivedSharesGetReceivedShareParameters = RequestParameters;
629
-
630
- // @public (undocumented)
631
- export interface ReceivedSharesRegisterTenantEmailRegistration {
632
- post(options?: ReceivedSharesRegisterTenantEmailRegistrationParameters): StreamableMethod<ReceivedSharesRegisterTenantEmailRegistration200Response | ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse>;
633
- }
634
-
635
- // @public
636
- export interface ReceivedSharesRegisterTenantEmailRegistration200Response extends HttpResponse {
637
- // (undocumented)
638
- body: TenantEmailRegistrationOutput;
639
- // (undocumented)
640
- status: "200";
641
- }
642
-
643
- // @public (undocumented)
644
- export interface ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders {
645
- "x-ms-error-code"?: string;
646
- }
647
-
648
- // @public
649
- export interface ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse extends HttpResponse {
650
- // (undocumented)
651
- body: PurviewShareErrorOutput;
652
- // (undocumented)
653
- headers: RawHttpHeaders & ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders;
654
- // (undocumented)
655
- status: string;
656
- }
657
-
658
- // @public (undocumented)
659
- export interface ReceivedSharesRegisterTenantEmailRegistrationHeaderParam {
660
- // (undocumented)
661
- headers?: RawHttpHeadersInput & ReceivedSharesRegisterTenantEmailRegistrationHeaders;
662
- }
663
-
664
- // @public (undocumented)
665
- export interface ReceivedSharesRegisterTenantEmailRegistrationHeaders {
666
- "repeatability-request-id"?: string;
667
- }
668
-
669
- // @public (undocumented)
670
- export type ReceivedSharesRegisterTenantEmailRegistrationParameters = ReceivedSharesRegisterTenantEmailRegistrationHeaderParam & RequestParameters;
671
-
672
- // @public (undocumented)
673
- export interface Routes {
674
- (path: "/receivedShares/{receivedShareId}", receivedShareId: string): ReceivedSharesGetReceivedShare;
675
- (path: "/receivedShares/attached"): ReceivedSharesGetAllAttachedReceivedShares;
676
- (path: "/receivedShares/detached"): ReceivedSharesGetAllDetachedReceivedShares;
677
- (path: "/emails:activate"): ReceivedSharesActivateTenantEmailRegistration;
678
- (path: "/emails:register"): ReceivedSharesRegisterTenantEmailRegistration;
679
- (path: "/sentShares"): SentSharesGetAllSentShares;
680
- (path: "/sentShares/{sentShareId}", sentShareId: string): SentSharesGetSentShare;
681
- (path: "/sentShares/{sentShareId}/sentShareInvitations", sentShareId: string): SentSharesGetAllSentShareInvitations;
682
- (path: "/sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}", sentShareId: string, sentShareInvitationId: string): SentSharesGetSentShareInvitation;
683
- (path: "/sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}:notify", sentShareId: string, sentShareInvitationId: string): SentSharesNotifyUserSentShareInvitation;
684
- }
685
-
686
- // @public
687
- export type SentShare = InPlaceSentShare;
688
-
689
- // @public
690
- export type SentShareInvitation = ServiceInvitation | UserInvitation;
691
-
692
- // @public
693
- export interface SentShareInvitationListOutput {
694
- nextLink?: string;
695
- value: Array<SentShareInvitationOutput>;
696
- }
697
-
698
- // @public
699
- export type SentShareInvitationOutput = ServiceInvitationOutput | UserInvitationOutput;
700
-
701
- // @public
702
- export interface SentShareInvitationOutputParent extends ProxyResourceOutput {
703
- // (undocumented)
704
- invitationKind: "SentShareInvitation" | "Service" | "User";
705
- }
706
-
707
- // @public
708
- export interface SentShareInvitationParent extends ProxyResource {
709
- // (undocumented)
710
- invitationKind: "SentShareInvitation" | "Service" | "User";
711
- }
712
-
713
- // @public
714
- export interface SentShareListOutput {
715
- nextLink?: string;
716
- value: Array<SentShareOutput>;
717
- }
718
-
719
- // @public
720
- export type SentShareOutput = InPlaceSentShareOutput;
721
-
722
- // @public
723
- export interface SentShareOutputParent extends ProxyResourceOutput {
724
- // (undocumented)
725
- shareKind: "SentShare" | "InPlace";
726
- }
727
-
728
- // @public
729
- export interface SentShareParent extends ProxyResource {
730
- // (undocumented)
731
- shareKind: "SentShare" | "InPlace";
732
- }
733
-
734
- // @public (undocumented)
735
- export interface SentSharesCreateOrReplace200Headers {
736
- "operation-location"?: string;
737
- }
738
-
739
- // @public
740
- export interface SentSharesCreateOrReplace200Response extends HttpResponse {
741
- // (undocumented)
742
- body: SentShareOutput;
743
- // (undocumented)
744
- headers: RawHttpHeaders & SentSharesCreateOrReplace200Headers;
745
- // (undocumented)
746
- status: "200";
747
- }
748
-
749
- // @public (undocumented)
750
- export interface SentSharesCreateOrReplace201Headers {
751
- "operation-location"?: string;
752
- }
753
-
754
- // @public
755
- export interface SentSharesCreateOrReplace201Response extends HttpResponse {
756
- // (undocumented)
757
- body: SentShareOutput;
758
- // (undocumented)
759
- headers: RawHttpHeaders & SentSharesCreateOrReplace201Headers;
760
- // (undocumented)
761
- status: "201";
762
- }
763
-
764
- // @public (undocumented)
765
- export interface SentSharesCreateOrReplaceBodyParam {
766
- body: SentShare;
767
- }
768
-
769
- // @public (undocumented)
770
- export interface SentSharesCreateOrReplaceDefaultHeaders {
771
- "x-ms-error-code"?: string;
772
- }
773
-
774
- // @public
775
- export interface SentSharesCreateOrReplaceDefaultResponse extends HttpResponse {
776
- // (undocumented)
777
- body: PurviewShareErrorOutput;
778
- // (undocumented)
779
- headers: RawHttpHeaders & SentSharesCreateOrReplaceDefaultHeaders;
780
- // (undocumented)
781
- status: string;
782
- }
783
-
784
- // @public (undocumented)
785
- export interface SentSharesCreateOrReplaceMediaTypesParam {
786
- contentType?: "application/json";
787
- }
788
-
789
- // @public (undocumented)
790
- export type SentSharesCreateOrReplaceParameters = SentSharesCreateOrReplaceMediaTypesParam & SentSharesCreateOrReplaceBodyParam & RequestParameters;
791
-
792
- // @public
793
- export interface SentSharesCreateSentShareInvitation201Response extends HttpResponse {
794
- // (undocumented)
795
- body: SentShareInvitationOutput;
796
- // (undocumented)
797
- status: "201";
798
- }
799
-
800
- // @public (undocumented)
801
- export interface SentSharesCreateSentShareInvitationBodyParam {
802
- body: SentShareInvitation;
803
- }
804
-
805
- // @public (undocumented)
806
- export interface SentSharesCreateSentShareInvitationDefaultHeaders {
807
- "x-ms-error-code"?: string;
808
- }
809
-
810
- // @public
811
- export interface SentSharesCreateSentShareInvitationDefaultResponse extends HttpResponse {
812
- // (undocumented)
813
- body: PurviewShareErrorOutput;
814
- // (undocumented)
815
- headers: RawHttpHeaders & SentSharesCreateSentShareInvitationDefaultHeaders;
816
- // (undocumented)
817
- status: string;
818
- }
819
-
820
- // @public (undocumented)
821
- export interface SentSharesCreateSentShareInvitationMediaTypesParam {
822
- contentType?: "application/json";
823
- }
824
-
825
- // @public (undocumented)
826
- export type SentSharesCreateSentShareInvitationParameters = SentSharesCreateSentShareInvitationMediaTypesParam & SentSharesCreateSentShareInvitationBodyParam & RequestParameters;
827
-
828
- // @public (undocumented)
829
- export interface SentSharesDeleteSentShare202Headers {
830
- "operation-location"?: string;
831
- }
832
-
833
- // @public
834
- export interface SentSharesDeleteSentShare202Response extends HttpResponse {
835
- // (undocumented)
836
- body: OperationResponseOutput;
837
- // (undocumented)
838
- headers: RawHttpHeaders & SentSharesDeleteSentShare202Headers;
839
- // (undocumented)
840
- status: "202";
841
- }
842
-
843
- // @public (undocumented)
844
- export interface SentSharesDeleteSentShareDefaultHeaders {
845
- "x-ms-error-code"?: string;
846
- }
847
-
848
- // @public
849
- export interface SentSharesDeleteSentShareDefaultResponse extends HttpResponse {
850
- // (undocumented)
851
- body: PurviewShareErrorOutput;
852
- // (undocumented)
853
- headers: RawHttpHeaders & SentSharesDeleteSentShareDefaultHeaders;
854
- // (undocumented)
855
- status: string;
856
- }
857
-
858
- // @public (undocumented)
859
- export interface SentSharesDeleteSentShareInvitation202Headers {
860
- "operation-location"?: string;
861
- }
862
-
863
- // @public
864
- export interface SentSharesDeleteSentShareInvitation202Response extends HttpResponse {
865
- // (undocumented)
866
- body: OperationResponseOutput;
867
- // (undocumented)
868
- headers: RawHttpHeaders & SentSharesDeleteSentShareInvitation202Headers;
869
- // (undocumented)
870
- status: "202";
871
- }
872
-
873
- // @public (undocumented)
874
- export interface SentSharesDeleteSentShareInvitationDefaultHeaders {
875
- "x-ms-error-code"?: string;
876
- }
877
-
878
- // @public
879
- export interface SentSharesDeleteSentShareInvitationDefaultResponse extends HttpResponse {
880
- // (undocumented)
881
- body: PurviewShareErrorOutput;
882
- // (undocumented)
883
- headers: RawHttpHeaders & SentSharesDeleteSentShareInvitationDefaultHeaders;
884
- // (undocumented)
885
- status: string;
886
- }
887
-
888
- // @public (undocumented)
889
- export type SentSharesDeleteSentShareInvitationParameters = RequestParameters;
890
-
891
- // @public (undocumented)
892
- export type SentSharesDeleteSentShareParameters = RequestParameters;
893
-
894
- // @public (undocumented)
895
- export interface SentSharesGetAllSentShareInvitations {
896
- get(options?: SentSharesGetAllSentShareInvitationsParameters): StreamableMethod<SentSharesGetAllSentShareInvitations200Response | SentSharesGetAllSentShareInvitationsDefaultResponse>;
897
- }
898
-
899
- // @public
900
- export interface SentSharesGetAllSentShareInvitations200Response extends HttpResponse {
901
- // (undocumented)
902
- body: SentShareInvitationListOutput;
903
- // (undocumented)
904
- status: "200";
905
- }
906
-
907
- // @public (undocumented)
908
- export interface SentSharesGetAllSentShareInvitationsDefaultHeaders {
909
- "x-ms-error-code"?: string;
910
- }
911
-
912
- // @public
913
- export interface SentSharesGetAllSentShareInvitationsDefaultResponse extends HttpResponse {
914
- // (undocumented)
915
- body: PurviewShareErrorOutput;
916
- // (undocumented)
917
- headers: RawHttpHeaders & SentSharesGetAllSentShareInvitationsDefaultHeaders;
918
- // (undocumented)
919
- status: string;
920
- }
921
-
922
- // @public (undocumented)
923
- export type SentSharesGetAllSentShareInvitationsParameters = SentSharesGetAllSentShareInvitationsQueryParam & RequestParameters;
924
-
925
- // @public (undocumented)
926
- export interface SentSharesGetAllSentShareInvitationsQueryParam {
927
- // (undocumented)
928
- queryParameters?: SentSharesGetAllSentShareInvitationsQueryParamProperties;
929
- }
930
-
931
- // @public (undocumented)
932
- export interface SentSharesGetAllSentShareInvitationsQueryParamProperties {
933
- filter?: string;
934
- orderby?: string;
935
- skipToken?: string;
936
- }
937
-
938
- // @public (undocumented)
939
- export interface SentSharesGetAllSentShares {
940
- get(options: SentSharesGetAllSentSharesParameters): StreamableMethod<SentSharesGetAllSentShares200Response | SentSharesGetAllSentSharesDefaultResponse>;
941
- }
942
-
943
- // @public
944
- export interface SentSharesGetAllSentShares200Response extends HttpResponse {
945
- // (undocumented)
946
- body: SentShareListOutput;
947
- // (undocumented)
948
- status: "200";
949
- }
950
-
951
- // @public (undocumented)
952
- export interface SentSharesGetAllSentSharesDefaultHeaders {
953
- "x-ms-error-code"?: string;
954
- }
955
-
956
- // @public
957
- export interface SentSharesGetAllSentSharesDefaultResponse extends HttpResponse {
958
- // (undocumented)
959
- body: PurviewShareErrorOutput;
960
- // (undocumented)
961
- headers: RawHttpHeaders & SentSharesGetAllSentSharesDefaultHeaders;
962
- // (undocumented)
963
- status: string;
964
- }
965
-
966
- // @public (undocumented)
967
- export type SentSharesGetAllSentSharesParameters = SentSharesGetAllSentSharesQueryParam & RequestParameters;
968
-
969
- // @public (undocumented)
970
- export interface SentSharesGetAllSentSharesQueryParam {
971
- // (undocumented)
972
- queryParameters: SentSharesGetAllSentSharesQueryParamProperties;
973
- }
974
-
975
- // @public (undocumented)
976
- export interface SentSharesGetAllSentSharesQueryParamProperties {
977
- filter?: string;
978
- orderby?: string;
979
- referenceName: string;
980
- skipToken?: 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 type Sink = AdlsGen2AccountSink | BlobAccountSink;
1128
-
1129
- // @public
1130
- export type SinkOutput = AdlsGen2AccountSinkOutput | BlobAccountSinkOutput;
1131
-
1132
- // @public
1133
- export interface SinkOutputParent {
1134
- // (undocumented)
1135
- storeKind: "Sink" | "AdlsGen2Account" | "BlobAccount";
1136
- storeReference: StoreReferenceOutput;
1137
- }
1138
-
1139
- // @public
1140
- export interface SinkParent {
1141
- // (undocumented)
1142
- storeKind: "Sink" | "AdlsGen2Account" | "BlobAccount";
1143
- storeReference: StoreReference;
1144
- }
1145
-
1146
- // @public
1147
- export interface StorageAccountPath {
1148
- containerName: string;
1149
- receiverPath?: string;
1150
- senderPath?: string;
1151
- }
1152
-
1153
- // @public
1154
- export interface StorageAccountPathOutput {
1155
- containerName: string;
1156
- receiverPath?: string;
1157
- senderPath?: string;
1158
- }
1159
-
1160
- // @public
1161
- export interface StoreReference {
1162
- referenceName?: string;
1163
- type?: "ArmResourceReference";
1164
- }
1165
-
1166
- // @public
1167
- export interface StoreReferenceOutput {
1168
- referenceName?: string;
1169
- type?: "ArmResourceReference";
1170
- }
1171
-
1172
- // @public
1173
- export interface TenantEmailRegistration extends ProxyResource {
1174
- properties?: TenantEmailRegistrationProperties;
1175
- }
1176
-
1177
- // @public
1178
- export interface TenantEmailRegistrationOutput extends ProxyResourceOutput {
1179
- properties?: TenantEmailRegistrationPropertiesOutput;
1180
- }
1181
-
1182
- // @public
1183
- export interface TenantEmailRegistrationProperties {
1184
- activationCode: string;
1185
- }
1186
-
1187
- // @public
1188
- export interface TenantEmailRegistrationPropertiesOutput {
1189
- activationCode: string;
1190
- readonly activationExpiration?: string;
1191
- readonly email?: string;
1192
- readonly registrationStatus?: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted";
1193
- readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
1194
- readonly tenantId?: string;
1195
- }
1196
-
1197
- // @public
1198
- export interface UserInvitation extends SentShareInvitationParent {
1199
- // (undocumented)
1200
- invitationKind: "User";
1201
- properties: UserInvitationProperties;
1202
- }
1203
-
1204
- // @public
1205
- export interface UserInvitationOutput extends SentShareInvitationOutputParent {
1206
- // (undocumented)
1207
- invitationKind: "User";
1208
- properties: UserInvitationPropertiesOutput;
1209
- }
1210
-
1211
- // @public
1212
- export interface UserInvitationProperties {
1213
- expirationDate?: Date | string;
1214
- notify?: boolean;
1215
- shareStatus?: "Detached" | "Attached";
1216
- targetEmail: string;
1217
- }
1218
-
1219
- // @public
1220
- export interface UserInvitationPropertiesOutput {
1221
- expirationDate?: string;
1222
- notify?: boolean;
1223
- readonly senderEmail?: string;
1224
- readonly senderName?: string;
1225
- readonly senderTenantName?: string;
1226
- readonly sentAt?: string;
1227
- shareStatus?: "Detached" | "Attached";
1228
- readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
1229
- targetEmail: string;
1230
- }
1231
-
1232
- // (No @packageDocumentation comment for this package)
1233
-
1234
- ```