@azure-rest/purview-sharing 1.0.0-alpha.20241119.1 → 1.0.0-alpha.20241122.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/clientDefinitions.d.ts +87 -0
  3. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  4. package/dist/browser/clientDefinitions.js.map +1 -0
  5. package/dist/browser/index.d.ts +12 -0
  6. package/dist/browser/index.d.ts.map +1 -0
  7. package/dist/browser/index.js +15 -0
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/isUnexpected.d.ts +19 -0
  10. package/dist/browser/isUnexpected.d.ts.map +1 -0
  11. package/dist/browser/isUnexpected.js.map +1 -0
  12. package/dist/browser/models.d.ts +201 -0
  13. package/dist/browser/models.d.ts.map +1 -0
  14. package/dist/browser/outputModels.d.ts +336 -0
  15. package/dist/browser/outputModels.d.ts.map +1 -0
  16. package/dist/browser/package.json +3 -0
  17. package/dist/browser/paginateHelper.d.ts +43 -0
  18. package/dist/browser/paginateHelper.d.ts.map +1 -0
  19. package/dist/browser/parameters.d.ts +123 -0
  20. package/dist/browser/parameters.d.ts.map +1 -0
  21. package/dist/browser/parameters.js.map +1 -0
  22. package/dist/browser/pollingHelper.d.ts +11 -0
  23. package/dist/browser/pollingHelper.d.ts.map +1 -0
  24. package/dist/browser/purviewSharing.d.ts +11 -0
  25. package/dist/browser/purviewSharing.d.ts.map +1 -0
  26. package/dist/browser/purviewSharing.js.map +1 -0
  27. package/dist/browser/responses.d.ts +304 -0
  28. package/dist/browser/responses.d.ts.map +1 -0
  29. package/dist/browser/responses.js.map +1 -0
  30. package/dist/commonjs/clientDefinitions.d.ts +87 -0
  31. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  32. package/dist/commonjs/clientDefinitions.js +5 -0
  33. package/dist/commonjs/clientDefinitions.js.map +1 -0
  34. package/dist/commonjs/index.d.ts +12 -0
  35. package/dist/commonjs/index.d.ts.map +1 -0
  36. package/dist/commonjs/index.js +18 -0
  37. package/dist/commonjs/index.js.map +1 -0
  38. package/dist/commonjs/isUnexpected.d.ts +19 -0
  39. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  40. package/dist/commonjs/isUnexpected.js +89 -0
  41. package/dist/commonjs/isUnexpected.js.map +1 -0
  42. package/dist/commonjs/models.d.ts +201 -0
  43. package/dist/commonjs/models.d.ts.map +1 -0
  44. package/dist/commonjs/models.js +5 -0
  45. package/dist/commonjs/models.js.map +1 -0
  46. package/dist/commonjs/outputModels.d.ts +336 -0
  47. package/dist/commonjs/outputModels.d.ts.map +1 -0
  48. package/dist/commonjs/outputModels.js +5 -0
  49. package/dist/commonjs/outputModels.js.map +1 -0
  50. package/dist/commonjs/package.json +3 -0
  51. package/dist/commonjs/paginateHelper.d.ts +43 -0
  52. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  53. package/dist/commonjs/paginateHelper.js +73 -0
  54. package/dist/commonjs/paginateHelper.js.map +1 -0
  55. package/dist/commonjs/parameters.d.ts +123 -0
  56. package/dist/commonjs/parameters.d.ts.map +1 -0
  57. package/dist/commonjs/parameters.js +5 -0
  58. package/dist/commonjs/parameters.js.map +1 -0
  59. package/dist/commonjs/pollingHelper.d.ts +11 -0
  60. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  61. package/dist/commonjs/pollingHelper.js +53 -0
  62. package/dist/commonjs/pollingHelper.js.map +1 -0
  63. package/dist/commonjs/purviewSharing.d.ts +11 -0
  64. package/dist/commonjs/purviewSharing.d.ts.map +1 -0
  65. package/dist/commonjs/purviewSharing.js +30 -0
  66. package/dist/commonjs/purviewSharing.js.map +1 -0
  67. package/dist/commonjs/responses.d.ts +304 -0
  68. package/dist/commonjs/responses.d.ts.map +1 -0
  69. package/dist/commonjs/responses.js +5 -0
  70. package/dist/commonjs/responses.js.map +1 -0
  71. package/dist/commonjs/tsdoc-metadata.json +11 -0
  72. package/dist/esm/clientDefinitions.d.ts +87 -0
  73. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  74. package/dist/esm/clientDefinitions.js +4 -0
  75. package/dist/esm/clientDefinitions.js.map +1 -0
  76. package/dist/esm/index.d.ts +12 -0
  77. package/dist/esm/index.d.ts.map +1 -0
  78. package/dist/esm/index.js +15 -0
  79. package/dist/esm/index.js.map +1 -0
  80. package/dist/esm/isUnexpected.d.ts +19 -0
  81. package/dist/esm/isUnexpected.d.ts.map +1 -0
  82. package/dist/esm/isUnexpected.js +86 -0
  83. package/dist/esm/isUnexpected.js.map +1 -0
  84. package/dist/esm/models.d.ts +201 -0
  85. package/dist/esm/models.d.ts.map +1 -0
  86. package/dist/esm/models.js +4 -0
  87. package/dist/esm/models.js.map +1 -0
  88. package/dist/esm/outputModels.d.ts +336 -0
  89. package/dist/esm/outputModels.d.ts.map +1 -0
  90. package/dist/esm/outputModels.js +4 -0
  91. package/dist/esm/outputModels.js.map +1 -0
  92. package/dist/esm/package.json +3 -0
  93. package/dist/esm/paginateHelper.d.ts +43 -0
  94. package/dist/esm/paginateHelper.d.ts.map +1 -0
  95. package/dist/esm/paginateHelper.js +70 -0
  96. package/dist/esm/paginateHelper.js.map +1 -0
  97. package/dist/esm/parameters.d.ts +123 -0
  98. package/dist/esm/parameters.d.ts.map +1 -0
  99. package/dist/esm/parameters.js +4 -0
  100. package/dist/esm/parameters.js.map +1 -0
  101. package/dist/esm/pollingHelper.d.ts +11 -0
  102. package/dist/esm/pollingHelper.d.ts.map +1 -0
  103. package/dist/esm/pollingHelper.js +50 -0
  104. package/dist/esm/pollingHelper.js.map +1 -0
  105. package/dist/esm/purviewSharing.d.ts +11 -0
  106. package/dist/esm/purviewSharing.d.ts.map +1 -0
  107. package/dist/esm/purviewSharing.js +27 -0
  108. package/dist/esm/purviewSharing.js.map +1 -0
  109. package/dist/esm/responses.d.ts +304 -0
  110. package/dist/esm/responses.d.ts.map +1 -0
  111. package/dist/esm/responses.js +4 -0
  112. package/dist/esm/responses.js.map +1 -0
  113. package/dist/react-native/clientDefinitions.d.ts +87 -0
  114. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  115. package/dist/react-native/clientDefinitions.js +4 -0
  116. package/dist/react-native/clientDefinitions.js.map +1 -0
  117. package/dist/react-native/index.d.ts +12 -0
  118. package/dist/react-native/index.d.ts.map +1 -0
  119. package/dist/react-native/index.js +15 -0
  120. package/dist/react-native/index.js.map +1 -0
  121. package/dist/react-native/isUnexpected.d.ts +19 -0
  122. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  123. package/dist/react-native/isUnexpected.js +86 -0
  124. package/dist/react-native/isUnexpected.js.map +1 -0
  125. package/dist/react-native/models.d.ts +201 -0
  126. package/dist/react-native/models.d.ts.map +1 -0
  127. package/dist/react-native/models.js +4 -0
  128. package/dist/react-native/models.js.map +1 -0
  129. package/dist/react-native/outputModels.d.ts +336 -0
  130. package/dist/react-native/outputModels.d.ts.map +1 -0
  131. package/dist/react-native/outputModels.js +4 -0
  132. package/dist/react-native/outputModels.js.map +1 -0
  133. package/dist/react-native/package.json +3 -0
  134. package/dist/react-native/paginateHelper.d.ts +43 -0
  135. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  136. package/dist/react-native/paginateHelper.js +70 -0
  137. package/dist/react-native/paginateHelper.js.map +1 -0
  138. package/dist/react-native/parameters.d.ts +123 -0
  139. package/dist/react-native/parameters.d.ts.map +1 -0
  140. package/dist/react-native/parameters.js +4 -0
  141. package/dist/react-native/parameters.js.map +1 -0
  142. package/dist/react-native/pollingHelper.d.ts +11 -0
  143. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  144. package/dist/react-native/pollingHelper.js +50 -0
  145. package/dist/react-native/pollingHelper.js.map +1 -0
  146. package/dist/react-native/purviewSharing.d.ts +11 -0
  147. package/dist/react-native/purviewSharing.d.ts.map +1 -0
  148. package/dist/react-native/purviewSharing.js +27 -0
  149. package/dist/react-native/purviewSharing.js.map +1 -0
  150. package/dist/react-native/responses.d.ts +304 -0
  151. package/dist/react-native/responses.d.ts.map +1 -0
  152. package/dist/react-native/responses.js +4 -0
  153. package/dist/react-native/responses.js.map +1 -0
  154. package/package.json +69 -49
  155. package/dist/index.js +0 -245
  156. package/dist/index.js.map +0 -1
  157. package/dist-esm/src/clientDefinitions.js.map +0 -1
  158. package/dist-esm/src/index.js +0 -14
  159. package/dist-esm/src/index.js.map +0 -1
  160. package/dist-esm/src/isUnexpected.js.map +0 -1
  161. package/dist-esm/src/parameters.js.map +0 -1
  162. package/dist-esm/src/purviewSharing.js.map +0 -1
  163. package/dist-esm/src/responses.js.map +0 -1
  164. package/review/purview-sharing.api.md +0 -1299
  165. /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
  166. /package/{dist-esm/src → dist/browser}/isUnexpected.js +0 -0
  167. /package/{dist-esm/src → dist/browser}/models.js +0 -0
  168. /package/{dist-esm/src → dist/browser}/models.js.map +0 -0
  169. /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
  170. /package/{dist-esm/src → dist/browser}/outputModels.js.map +0 -0
  171. /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
  172. /package/{dist-esm/src → dist/browser}/paginateHelper.js.map +0 -0
  173. /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
  174. /package/{dist-esm/src → dist/browser}/pollingHelper.js +0 -0
  175. /package/{dist-esm/src → dist/browser}/pollingHelper.js.map +0 -0
  176. /package/{dist-esm/src → dist/browser}/purviewSharing.js +0 -0
  177. /package/{dist-esm/src → dist/browser}/responses.js +0 -0
  178. /package/{types → dist}/purview-sharing.d.ts +0 -0
@@ -0,0 +1,336 @@
1
+ /** A received share data transfer object. */
2
+ export interface ReceivedShareOutputParent extends ProxyResourceOutput {
3
+ shareKind: "ReceivedShare" | "InPlace";
4
+ }
5
+ /** Base data transfer object implementation for proxy resources. */
6
+ export interface ProxyResourceOutput {
7
+ /** The unique id of the resource. */
8
+ readonly id?: string;
9
+ /** Type of the resource. */
10
+ readonly type?: string;
11
+ }
12
+ /** The purview share error model. */
13
+ export interface PurviewShareErrorOutput {
14
+ /** The purview share error body model. */
15
+ error: PurviewShareErrorInfoOutput;
16
+ }
17
+ /** The purview share error body model. */
18
+ export interface PurviewShareErrorInfoOutput {
19
+ /** Code of the error */
20
+ code: string;
21
+ /** Nested details of the error model */
22
+ details?: Array<PurviewShareErrorInfoOutput>;
23
+ /** Message of the error */
24
+ message: string;
25
+ /** Target of the error */
26
+ target?: string;
27
+ }
28
+ /** Response for long running operation. */
29
+ export interface OperationResponseOutput {
30
+ /** 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) */
31
+ endTime?: string;
32
+ /** The purview share error body model. */
33
+ error?: PurviewShareErrorInfoOutput;
34
+ /** Job id of the long running operation */
35
+ id?: string;
36
+ /** 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) */
37
+ startTime?: string;
38
+ /** States for long running operations. */
39
+ status: "Running" | "TransientFailure" | "Succeeded" | "Failed" | "NotStarted";
40
+ }
41
+ /** List of received shares. */
42
+ export interface ReceivedShareListOutput {
43
+ /** The Url of next result page. */
44
+ nextLink?: string;
45
+ /** Collection of items of type ReceivedShare */
46
+ value: Array<ReceivedShareOutput>;
47
+ }
48
+ /** List of sent shares. */
49
+ export interface SentShareListOutput {
50
+ /** The Url of next result page. */
51
+ nextLink?: string;
52
+ /** Collection of items of type SentShare */
53
+ value: Array<SentShareOutput>;
54
+ }
55
+ /** A sent share data transfer object. */
56
+ export interface SentShareOutputParent extends ProxyResourceOutput {
57
+ shareKind: "SentShare" | "InPlace";
58
+ }
59
+ /** List of the sent share invitations */
60
+ export interface SentShareInvitationListOutput {
61
+ /** The Url of next result page. */
62
+ nextLink?: string;
63
+ /** Collection of items of type SentShareInvitation */
64
+ value: Array<SentShareInvitationOutput>;
65
+ }
66
+ /** A sent share invitation data transfer object. */
67
+ export interface SentShareInvitationOutputParent extends ProxyResourceOutput {
68
+ invitationKind: "SentShareInvitation" | "Service" | "User";
69
+ }
70
+ /** A page of ShareResource results. */
71
+ export interface ShareResourceListOutput {
72
+ /** The Url of next result page. */
73
+ nextLink?: string;
74
+ /** Collection of items of type ShareResource */
75
+ value: Array<ShareResourceOutput>;
76
+ }
77
+ /** A share resource. */
78
+ export interface ShareResourceOutput extends ProxyResourceOutput {
79
+ /** A count of Received Shares associated with the Microsoft.Azure.Purview.Share.ApiService.V3.DataTransferObjects.ShareResource. */
80
+ receivedSharesCount?: number;
81
+ /** A count of Sent Shares associated with the Microsoft.Azure.Purview.Share.ApiService.V3.DataTransferObjects.ShareResource. */
82
+ sentSharesCount?: number;
83
+ /** The types of asset. */
84
+ storeKind?: "AdlsGen2Account" | "BlobAccount";
85
+ /** A Store Reference for an artifact or sink. */
86
+ storeReference?: StoreReferenceOutput;
87
+ }
88
+ /** A Store Reference for an artifact or sink. */
89
+ export interface StoreReferenceOutput {
90
+ /** Reference name for resource associated with the sink or artifact. */
91
+ referenceName?: string;
92
+ /** Defines the type of resource being shared */
93
+ type?: "ArmResourceReference";
94
+ }
95
+ /** A tenant email registration data transfer object. */
96
+ export interface TenantEmailRegistrationOutput extends ProxyResourceOutput {
97
+ /** Tenant email registration property bag. */
98
+ properties?: TenantEmailRegistrationPropertiesOutput;
99
+ }
100
+ /** Tenant email registration property bag. */
101
+ export interface TenantEmailRegistrationPropertiesOutput {
102
+ /** Activation code for the registration. */
103
+ activationCode: string;
104
+ /** Date of the activation expiration. Represented in the standard date-time format as defined by [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) */
105
+ readonly activationExpiration?: string;
106
+ /** The email to register. */
107
+ readonly email?: string;
108
+ /** Defines the supported types for registration. */
109
+ readonly registrationStatus?: "ActivationPending" | "Activated" | "ActivationAttemptsExhausted";
110
+ /** State of the resource */
111
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
112
+ /** The tenant id to register. */
113
+ readonly tenantId?: string;
114
+ }
115
+ /** AdlsGen2 Sink */
116
+ export interface AdlsGen2AccountSinkOutput extends SinkOutputParent {
117
+ /** Properties for AdlsGen2 storage account */
118
+ properties: AdlsGen2AccountSinkPropertiesOutput;
119
+ storeKind: "AdlsGen2Account";
120
+ }
121
+ /** Properties for AdlsGen2 storage account */
122
+ export interface AdlsGen2AccountSinkPropertiesOutput {
123
+ /** Adls Gen 2 Container Name */
124
+ containerName: string;
125
+ /** Adls Gen 2 Folder */
126
+ folder: string;
127
+ /** Adls Gen 2 Location */
128
+ readonly location?: string;
129
+ /** Adls Gen 2 Mount Path */
130
+ mountPath?: string;
131
+ }
132
+ /** Holds details on the destination of the mapped artifact */
133
+ export interface SinkOutputParent {
134
+ /** A Store Reference for an artifact or sink. */
135
+ storeReference: StoreReferenceOutput;
136
+ storeKind: "Sink" | "AdlsGen2Account" | "BlobAccount";
137
+ }
138
+ /** An Adls Gen2 storage account artifact. */
139
+ export interface AdlsGen2ArtifactOutput extends ArtifactOutputParent {
140
+ /** Properties for Adls Gen2 storage account. */
141
+ properties: AdlsGen2ArtifactPropertiesOutput;
142
+ storeKind: "AdlsGen2Account";
143
+ }
144
+ /** Properties for Adls Gen2 storage account. */
145
+ export interface AdlsGen2ArtifactPropertiesOutput {
146
+ /** Location of the storage account. */
147
+ readonly location?: string;
148
+ /** A list of Adls Gen2 storage account paths. */
149
+ paths: Array<StorageAccountPathOutput>;
150
+ }
151
+ /** Defines a single StorageAccountPath path */
152
+ export interface StorageAccountPathOutput {
153
+ /** Gets or sets the container name */
154
+ containerName: string;
155
+ /** Gets or sets the path on the receiver side where the artifact is to be mapped */
156
+ receiverPath?: string;
157
+ /** Gets or sets the path to file/folder within the container to be shared */
158
+ senderPath?: string;
159
+ }
160
+ /** A class for sent share artifact. */
161
+ export interface ArtifactOutputParent {
162
+ /** A Store Reference for an artifact or sink. */
163
+ storeReference: StoreReferenceOutput;
164
+ storeKind: "Artifact" | "AdlsGen2Account" | "BlobAccount";
165
+ }
166
+ /** Blob Sink */
167
+ export interface BlobAccountSinkOutput extends SinkOutputParent {
168
+ /** Properties for blob storage account */
169
+ properties: BlobAccountSinkPropertiesOutput;
170
+ storeKind: "BlobAccount";
171
+ }
172
+ /** Properties for blob storage account */
173
+ export interface BlobAccountSinkPropertiesOutput {
174
+ /** Blob Container Name */
175
+ containerName: string;
176
+ /** Blob Folder */
177
+ folder: string;
178
+ /** Blob Location */
179
+ readonly location?: string;
180
+ /** Blob Mount Path */
181
+ mountPath?: string;
182
+ }
183
+ /** Blob storage account artifact. */
184
+ export interface BlobStorageArtifactOutput extends ArtifactOutputParent {
185
+ /** Properties for blob storage account. */
186
+ properties: BlobStorageArtifactPropertiesOutput;
187
+ storeKind: "BlobAccount";
188
+ }
189
+ /** Properties for blob storage account. */
190
+ export interface BlobStorageArtifactPropertiesOutput {
191
+ /** Location of the storage account. */
192
+ readonly location?: string;
193
+ /** A list of blob storage account paths. */
194
+ paths: Array<StorageAccountPathOutput>;
195
+ }
196
+ /** An InPlace received share kind. */
197
+ export interface InPlaceReceivedShareOutput extends ReceivedShareOutputParent {
198
+ /** Properties of in place received share. */
199
+ properties: InPlaceReceivedSharePropertiesOutput;
200
+ shareKind: "InPlace";
201
+ }
202
+ /** Properties of in place received share. */
203
+ export interface InPlaceReceivedSharePropertiesOutput {
204
+ /** Location of the shared Asset. */
205
+ readonly assetLocation?: string;
206
+ /** The types of asset. */
207
+ assetStoreKind?: "AdlsGen2Account" | "BlobAccount";
208
+ /** 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) */
209
+ readonly createdAt?: string;
210
+ /** Received Share Name */
211
+ displayName?: string;
212
+ /** 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) */
213
+ readonly expirationDate?: string;
214
+ /** Email of the user/receiver who received the sent share invitation */
215
+ readonly receiverEmail?: string;
216
+ /** Name of the user/receiver who received the sent share invitation */
217
+ readonly receiverName?: string;
218
+ /** Tenant name of the user/receiver who received the sent share invitation */
219
+ readonly receiverTenantName?: string;
220
+ /** Email of the sender who created the sent share invitation */
221
+ readonly senderEmail?: string;
222
+ /** Name of the sender who created the sent share invitation */
223
+ readonly senderName?: string;
224
+ /** Tenant name of the sender who created the sent share invitation */
225
+ readonly senderTenantName?: string;
226
+ /** Share description. */
227
+ readonly sentShareDescription?: string;
228
+ /** 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) */
229
+ readonly sharedAt?: string;
230
+ /** Share status. */
231
+ shareStatus?: "Detached" | "Attached";
232
+ /** Holds details on the destination of the mapped artifact */
233
+ sink?: SinkOutput;
234
+ /** State of the resource */
235
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
236
+ }
237
+ /** An InPlace share kind. */
238
+ export interface InPlaceSentShareOutput extends SentShareOutputParent {
239
+ /** Properties for InPlace sent share. */
240
+ properties: InPlaceSentSharePropertiesOutput;
241
+ shareKind: "InPlace";
242
+ }
243
+ /** Properties for InPlace sent share. */
244
+ export interface InPlaceSentSharePropertiesOutput {
245
+ /** A class for sent share artifact. */
246
+ artifact: ArtifactOutput;
247
+ /** 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) */
248
+ readonly createdAt?: string;
249
+ /** List of shares on which the sent share depends. */
250
+ readonly dependsOn?: Array<string>;
251
+ /** Sent share description. */
252
+ description?: string;
253
+ /** The name of the sent share */
254
+ displayName: string;
255
+ /** Email of the sender who created the sent share. */
256
+ readonly senderEmail?: string;
257
+ /** Name of the sender who created the sent share. */
258
+ readonly senderName?: string;
259
+ /** Tenant name of the sender who created the sent share. */
260
+ readonly senderTenantName?: string;
261
+ /** State of the resource */
262
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
263
+ }
264
+ /** An service invitation kind. */
265
+ export interface ServiceInvitationOutput extends SentShareInvitationOutputParent {
266
+ /** Properties of the service invitation type. */
267
+ properties: ServiceInvitationPropertiesOutput;
268
+ invitationKind: "Service";
269
+ }
270
+ /** Properties of the service invitation type. */
271
+ export interface ServiceInvitationPropertiesOutput {
272
+ /** 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) */
273
+ expirationDate?: string;
274
+ /** Email address of the sender. */
275
+ readonly senderEmail?: string;
276
+ /** Name of the sender */
277
+ readonly senderName?: string;
278
+ /** Tenant name of the sender */
279
+ readonly senderTenantName?: string;
280
+ /** 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) */
281
+ readonly sentAt?: string;
282
+ /** Share status. */
283
+ shareStatus?: "Detached" | "Attached";
284
+ /** State of the resource */
285
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
286
+ /**
287
+ * The target azure active directory id the invitation is sent to.
288
+ *
289
+ * Value may contain a UUID
290
+ */
291
+ targetActiveDirectoryId: string;
292
+ /**
293
+ * The target object id in the azure active directory the invitation is sent to.
294
+ *
295
+ * Value may contain a UUID
296
+ */
297
+ targetObjectId: string;
298
+ }
299
+ /** A user invitation kind. */
300
+ export interface UserInvitationOutput extends SentShareInvitationOutputParent {
301
+ /** Properties of the user invitation type. */
302
+ properties: UserInvitationPropertiesOutput;
303
+ invitationKind: "User";
304
+ }
305
+ /** Properties of the user invitation type. */
306
+ export interface UserInvitationPropertiesOutput {
307
+ /** 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) */
308
+ expirationDate?: string;
309
+ /** Whether or not the recipient was notified via email. */
310
+ notify?: boolean;
311
+ /** Email address of the sender. */
312
+ readonly senderEmail?: string;
313
+ /** Name of the sender */
314
+ readonly senderName?: string;
315
+ /** Tenant name of the sender */
316
+ readonly senderTenantName?: string;
317
+ /** 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) */
318
+ readonly sentAt?: string;
319
+ /** Share status. */
320
+ shareStatus?: "Detached" | "Attached";
321
+ /** State of the resource */
322
+ readonly state?: "Unknown" | "Succeeded" | "Creating" | "Deleting" | "Moving" | "Failed";
323
+ /** The receiver email for the invitation is being sent. */
324
+ targetEmail: string;
325
+ }
326
+ /** A received share data transfer object. */
327
+ export type ReceivedShareOutput = InPlaceReceivedShareOutput;
328
+ /** A sent share data transfer object. */
329
+ export type SentShareOutput = InPlaceSentShareOutput;
330
+ /** A sent share invitation data transfer object. */
331
+ export type SentShareInvitationOutput = ServiceInvitationOutput | UserInvitationOutput;
332
+ /** Holds details on the destination of the mapped artifact */
333
+ export type SinkOutput = AdlsGen2AccountSinkOutput | BlobAccountSinkOutput;
334
+ /** A class for sent share artifact. */
335
+ export type ArtifactOutput = AdlsGen2ArtifactOutput | BlobStorageArtifactOutput;
336
+ //# sourceMappingURL=outputModels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../src/outputModels.ts"],"names":[],"mappings":"AAGA,6CAA6C;AAC7C,MAAM,WAAW,yBAA0B,SAAQ,mBAAmB;IACpE,SAAS,EAAE,eAAe,GAAG,SAAS,CAAC;CACxC;AAED,oEAAoE;AACpE,MAAM,WAAW,mBAAmB;IAClC,qCAAqC;IACrC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qCAAqC;AACrC,MAAM,WAAW,uBAAuB;IACtC,0CAA0C;IAC1C,KAAK,EAAE,2BAA2B,CAAC;CACpC;AAED,0CAA0C;AAC1C,MAAM,WAAW,2BAA2B;IAC1C,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,OAAO,CAAC,EAAE,KAAK,CAAC,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;IAC7C,kKAAkK;IAClK,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mCAAmC;IACnC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,yBAAyB;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,gCAAgC;IAChC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,oKAAoK;IACpK,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,oBAAoB;IACpB,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACtC,4BAA4B;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACzF,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,6CAA6C;AAC7C,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AAC7D,yCAAyC;AACzC,MAAM,MAAM,eAAe,GAAG,sBAAsB,CAAC;AACrD,oDAAoD;AACpD,MAAM,MAAM,yBAAyB,GAAG,uBAAuB,GAAG,oBAAoB,CAAC;AACvF,8DAA8D;AAC9D,MAAM,MAAM,UAAU,GAAG,yBAAyB,GAAG,qBAAqB,CAAC;AAC3E,uCAAuC;AACvC,MAAM,MAAM,cAAc,GAAG,sBAAsB,GAAG,yBAAyB,CAAC"}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,43 @@
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Client, PathUncheckedResponse } from "@azure-rest/core-client";
3
+ /**
4
+ * Helper type to extract the type of an array
5
+ */
6
+ export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
7
+ /**
8
+ * The type of a custom function that defines how to get a page and a link to the next one if any.
9
+ */
10
+ export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
11
+ page: TPage;
12
+ nextPageLink?: string;
13
+ }>;
14
+ /**
15
+ * Options for the paging helper
16
+ */
17
+ export interface PagingOptions<TResponse> {
18
+ /**
19
+ * Custom function to extract pagination details for crating the PagedAsyncIterableIterator
20
+ */
21
+ customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
22
+ }
23
+ /**
24
+ * Helper type to infer the Type of the paged elements from the response type
25
+ * This type is generated based on the swagger information for x-ms-pageable
26
+ * specifically on the itemName property which indicates the property of the response
27
+ * where the page items are found. The default value is `value`.
28
+ * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter
29
+ */
30
+ export type PaginateReturn<TResult> = TResult extends {
31
+ body: {
32
+ value?: infer TPage;
33
+ };
34
+ } ? GetArrayType<TPage> : Array<unknown>;
35
+ /**
36
+ * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
37
+ * @param client - Client to use for sending the next page requests
38
+ * @param initialResponse - Initial response containing the nextLink and current page of elements
39
+ * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
40
+ * @returns - PagedAsyncIterableIterator to iterate the elements
41
+ */
42
+ export declare function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
43
+ //# sourceMappingURL=paginateHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paginateHelper.d.ts","sourceRoot":"","sources":["../../src/paginateHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAe,MAAM,oBAAoB,CAAC;AAElF,OAAO,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAG7E;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,CAAC,MAAM,KAAK,CAAC,GAAG,KAAK,GAAG,KAAK,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,KAAK,IAAI,CAC3B,QAAQ,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,KACjB,OAAO,CAAC;IACX,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,WAAW,aAAa,CAAC,SAAS;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;CACtD;AAED;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,CAAC,OAAO,IAAI,OAAO,SAAS;IACpD,IAAI,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,KAAK,CAAA;KAAE,CAAC;CAC/B,GACG,YAAY,CAAC,KAAK,CAAC,GACnB,KAAK,CAAC,OAAO,CAAC,CAAC;AAEnB;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,SAAS,SAAS,qBAAqB,EAC9D,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,SAAS,EAC1B,OAAO,GAAE,aAAa,CAAC,SAAS,CAAM,GACrC,0BAA0B,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CA0BvD"}
@@ -0,0 +1,123 @@
1
+ import type { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
2
+ import type { RequestParameters } from "@azure-rest/core-client";
3
+ import type { ReceivedShare, TenantEmailRegistration, SentShare, SentShareInvitation } from "./models.js";
4
+ export type ReceivedSharesGetReceivedShareParameters = RequestParameters;
5
+ export interface ReceivedSharesCreateOrReplaceBodyParam {
6
+ /** The received share to create or replace */
7
+ body: ReceivedShare;
8
+ }
9
+ export interface ReceivedSharesCreateOrReplaceMediaTypesParam {
10
+ /** Request content type */
11
+ contentType?: "application/json";
12
+ }
13
+ export type ReceivedSharesCreateOrReplaceParameters = ReceivedSharesCreateOrReplaceMediaTypesParam & ReceivedSharesCreateOrReplaceBodyParam & RequestParameters;
14
+ export type ReceivedSharesDeleteReceivedShareParameters = RequestParameters;
15
+ export interface ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties {
16
+ /** A name that references a data store. */
17
+ referenceName: string;
18
+ /** Filters the results using OData syntax */
19
+ filter?: string;
20
+ /** Sorts the results using OData syntax */
21
+ orderby?: string;
22
+ }
23
+ export interface ReceivedSharesGetAllAttachedReceivedSharesQueryParam {
24
+ queryParameters: ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties;
25
+ }
26
+ export type ReceivedSharesGetAllAttachedReceivedSharesParameters = ReceivedSharesGetAllAttachedReceivedSharesQueryParam & RequestParameters;
27
+ export interface ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties {
28
+ /** Filters the results using OData syntax */
29
+ filter?: string;
30
+ /** Sorts the results using OData syntax */
31
+ orderby?: string;
32
+ }
33
+ export interface ReceivedSharesGetAllDetachedReceivedSharesQueryParam {
34
+ queryParameters?: ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties;
35
+ }
36
+ export type ReceivedSharesGetAllDetachedReceivedSharesParameters = ReceivedSharesGetAllDetachedReceivedSharesQueryParam & RequestParameters;
37
+ export interface ReceivedSharesActivateTenantEmailRegistrationHeaders {
38
+ /** 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. */
39
+ "repeatability-request-id"?: string;
40
+ }
41
+ export interface ReceivedSharesActivateTenantEmailRegistrationBodyParam {
42
+ /** The tenant email registration payload */
43
+ body: TenantEmailRegistration;
44
+ }
45
+ export interface ReceivedSharesActivateTenantEmailRegistrationHeaderParam {
46
+ headers?: RawHttpHeadersInput & ReceivedSharesActivateTenantEmailRegistrationHeaders;
47
+ }
48
+ export interface ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam {
49
+ /** Request content type */
50
+ contentType?: "application/json";
51
+ }
52
+ export type ReceivedSharesActivateTenantEmailRegistrationParameters = ReceivedSharesActivateTenantEmailRegistrationHeaderParam & ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam & ReceivedSharesActivateTenantEmailRegistrationBodyParam & RequestParameters;
53
+ export interface ReceivedSharesRegisterTenantEmailRegistrationHeaders {
54
+ /** 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. */
55
+ "repeatability-request-id"?: string;
56
+ }
57
+ export interface ReceivedSharesRegisterTenantEmailRegistrationHeaderParam {
58
+ headers?: RawHttpHeadersInput & ReceivedSharesRegisterTenantEmailRegistrationHeaders;
59
+ }
60
+ export type ReceivedSharesRegisterTenantEmailRegistrationParameters = ReceivedSharesRegisterTenantEmailRegistrationHeaderParam & RequestParameters;
61
+ export interface SentSharesGetAllSentSharesQueryParamProperties {
62
+ /** A name that references a data store. */
63
+ referenceName: string;
64
+ /** Filters the results using OData syntax */
65
+ filter?: string;
66
+ /** Sorts the results using OData syntax */
67
+ orderby?: string;
68
+ }
69
+ export interface SentSharesGetAllSentSharesQueryParam {
70
+ queryParameters: SentSharesGetAllSentSharesQueryParamProperties;
71
+ }
72
+ export type SentSharesGetAllSentSharesParameters = SentSharesGetAllSentSharesQueryParam & RequestParameters;
73
+ export type SentSharesGetSentShareParameters = RequestParameters;
74
+ export interface SentSharesCreateOrReplaceBodyParam {
75
+ /** The sent share to create or replace. */
76
+ body: SentShare;
77
+ }
78
+ export interface SentSharesCreateOrReplaceMediaTypesParam {
79
+ /** Request content type */
80
+ contentType?: "application/json";
81
+ }
82
+ export type SentSharesCreateOrReplaceParameters = SentSharesCreateOrReplaceMediaTypesParam & SentSharesCreateOrReplaceBodyParam & RequestParameters;
83
+ export type SentSharesDeleteSentShareParameters = RequestParameters;
84
+ export interface SentSharesGetAllSentShareInvitationsQueryParamProperties {
85
+ /** Filters the results using OData syntax */
86
+ filter?: string;
87
+ /** Sorts the results using OData syntax */
88
+ orderby?: string;
89
+ }
90
+ export interface SentSharesGetAllSentShareInvitationsQueryParam {
91
+ queryParameters?: SentSharesGetAllSentShareInvitationsQueryParamProperties;
92
+ }
93
+ export type SentSharesGetAllSentShareInvitationsParameters = SentSharesGetAllSentShareInvitationsQueryParam & RequestParameters;
94
+ export type SentSharesGetSentShareInvitationParameters = RequestParameters;
95
+ export interface SentSharesCreateSentShareInvitationBodyParam {
96
+ /** The sent share invitation to create. */
97
+ body: SentShareInvitation;
98
+ }
99
+ export interface SentSharesCreateSentShareInvitationMediaTypesParam {
100
+ /** Request content type */
101
+ contentType?: "application/json";
102
+ }
103
+ export type SentSharesCreateSentShareInvitationParameters = SentSharesCreateSentShareInvitationMediaTypesParam & SentSharesCreateSentShareInvitationBodyParam & RequestParameters;
104
+ export type SentSharesDeleteSentShareInvitationParameters = RequestParameters;
105
+ export interface SentSharesNotifyUserSentShareInvitationHeaders {
106
+ /** 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. */
107
+ "repeatability-request-id"?: string;
108
+ }
109
+ export interface SentSharesNotifyUserSentShareInvitationHeaderParam {
110
+ headers?: RawHttpHeadersInput & SentSharesNotifyUserSentShareInvitationHeaders;
111
+ }
112
+ export type SentSharesNotifyUserSentShareInvitationParameters = SentSharesNotifyUserSentShareInvitationHeaderParam & RequestParameters;
113
+ export interface ShareResourcesGetAllShareResourcesQueryParamProperties {
114
+ /** Filters the results using OData syntax */
115
+ filter?: string;
116
+ /** Sorts the results using OData syntax */
117
+ orderby?: string;
118
+ }
119
+ export interface ShareResourcesGetAllShareResourcesQueryParam {
120
+ queryParameters?: ShareResourcesGetAllShareResourcesQueryParamProperties;
121
+ }
122
+ export type ShareResourcesGetAllShareResourcesParameters = ShareResourcesGetAllShareResourcesQueryParam & RequestParameters;
123
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EACV,aAAa,EACb,uBAAuB,EACvB,SAAS,EACT,mBAAmB,EACpB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,wCAAwC,GAAG,iBAAiB,CAAC;AAEzE,MAAM,WAAW,sCAAsC;IACrD,8CAA8C;IAC9C,IAAI,EAAE,aAAa,CAAC;CACrB;AAED,MAAM,WAAW,4CAA4C;IAC3D,2BAA2B;IAC3B,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC;AAED,MAAM,MAAM,uCAAuC,GAAG,4CAA4C,GAChG,sCAAsC,GACtC,iBAAiB,CAAC;AACpB,MAAM,MAAM,2CAA2C,GAAG,iBAAiB,CAAC;AAE5E,MAAM,WAAW,8DAA8D;IAC7E,2CAA2C;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oDAAoD;IACnE,eAAe,EAAE,8DAA8D,CAAC;CACjF;AAED,MAAM,MAAM,oDAAoD,GAC9D,oDAAoD,GAAG,iBAAiB,CAAC;AAE3E,MAAM,WAAW,8DAA8D;IAC7E,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,o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;AAED,MAAM,MAAM,4CAA4C,GACtD,4CAA4C,GAAG,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeadersInput } from \"@azure/core-rest-pipeline\";\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {\n ReceivedShare,\n TenantEmailRegistration,\n SentShare,\n SentShareInvitation,\n} from \"./models.js\";\n\nexport type ReceivedSharesGetReceivedShareParameters = RequestParameters;\n\nexport interface ReceivedSharesCreateOrReplaceBodyParam {\n /** The received share to create or replace */\n body: ReceivedShare;\n}\n\nexport interface ReceivedSharesCreateOrReplaceMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type ReceivedSharesCreateOrReplaceParameters = ReceivedSharesCreateOrReplaceMediaTypesParam &\n ReceivedSharesCreateOrReplaceBodyParam &\n RequestParameters;\nexport type ReceivedSharesDeleteReceivedShareParameters = RequestParameters;\n\nexport interface ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties {\n /** A name that references a data store. */\n referenceName: string;\n /** Filters the results using OData syntax */\n filter?: string;\n /** Sorts the results using OData syntax */\n orderby?: string;\n}\n\nexport interface ReceivedSharesGetAllAttachedReceivedSharesQueryParam {\n queryParameters: ReceivedSharesGetAllAttachedReceivedSharesQueryParamProperties;\n}\n\nexport type ReceivedSharesGetAllAttachedReceivedSharesParameters =\n ReceivedSharesGetAllAttachedReceivedSharesQueryParam & RequestParameters;\n\nexport interface ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties {\n /** Filters the results using OData syntax */\n filter?: string;\n /** Sorts the results using OData syntax */\n orderby?: string;\n}\n\nexport interface ReceivedSharesGetAllDetachedReceivedSharesQueryParam {\n queryParameters?: ReceivedSharesGetAllDetachedReceivedSharesQueryParamProperties;\n}\n\nexport type ReceivedSharesGetAllDetachedReceivedSharesParameters =\n ReceivedSharesGetAllDetachedReceivedSharesQueryParam & RequestParameters;\n\nexport interface ReceivedSharesActivateTenantEmailRegistrationHeaders {\n /** 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. */\n \"repeatability-request-id\"?: string;\n}\n\nexport interface ReceivedSharesActivateTenantEmailRegistrationBodyParam {\n /** The tenant email registration payload */\n body: TenantEmailRegistration;\n}\n\nexport interface ReceivedSharesActivateTenantEmailRegistrationHeaderParam {\n headers?: RawHttpHeadersInput & ReceivedSharesActivateTenantEmailRegistrationHeaders;\n}\n\nexport interface ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type ReceivedSharesActivateTenantEmailRegistrationParameters =\n ReceivedSharesActivateTenantEmailRegistrationHeaderParam &\n ReceivedSharesActivateTenantEmailRegistrationMediaTypesParam &\n ReceivedSharesActivateTenantEmailRegistrationBodyParam &\n RequestParameters;\n\nexport interface ReceivedSharesRegisterTenantEmailRegistrationHeaders {\n /** 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. */\n \"repeatability-request-id\"?: string;\n}\n\nexport interface ReceivedSharesRegisterTenantEmailRegistrationHeaderParam {\n headers?: RawHttpHeadersInput & ReceivedSharesRegisterTenantEmailRegistrationHeaders;\n}\n\nexport type ReceivedSharesRegisterTenantEmailRegistrationParameters =\n ReceivedSharesRegisterTenantEmailRegistrationHeaderParam & RequestParameters;\n\nexport interface SentSharesGetAllSentSharesQueryParamProperties {\n /** A name that references a data store. */\n referenceName: string;\n /** Filters the results using OData syntax */\n filter?: string;\n /** Sorts the results using OData syntax */\n orderby?: string;\n}\n\nexport interface SentSharesGetAllSentSharesQueryParam {\n queryParameters: SentSharesGetAllSentSharesQueryParamProperties;\n}\n\nexport type SentSharesGetAllSentSharesParameters = SentSharesGetAllSentSharesQueryParam &\n RequestParameters;\nexport type SentSharesGetSentShareParameters = RequestParameters;\n\nexport interface SentSharesCreateOrReplaceBodyParam {\n /** The sent share to create or replace. */\n body: SentShare;\n}\n\nexport interface SentSharesCreateOrReplaceMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type SentSharesCreateOrReplaceParameters = SentSharesCreateOrReplaceMediaTypesParam &\n SentSharesCreateOrReplaceBodyParam &\n RequestParameters;\nexport type SentSharesDeleteSentShareParameters = RequestParameters;\n\nexport interface SentSharesGetAllSentShareInvitationsQueryParamProperties {\n /** Filters the results using OData syntax */\n filter?: string;\n /** Sorts the results using OData syntax */\n orderby?: string;\n}\n\nexport interface SentSharesGetAllSentShareInvitationsQueryParam {\n queryParameters?: SentSharesGetAllSentShareInvitationsQueryParamProperties;\n}\n\nexport type SentSharesGetAllSentShareInvitationsParameters =\n SentSharesGetAllSentShareInvitationsQueryParam & RequestParameters;\nexport type SentSharesGetSentShareInvitationParameters = RequestParameters;\n\nexport interface SentSharesCreateSentShareInvitationBodyParam {\n /** The sent share invitation to create. */\n body: SentShareInvitation;\n}\n\nexport interface SentSharesCreateSentShareInvitationMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type SentSharesCreateSentShareInvitationParameters =\n SentSharesCreateSentShareInvitationMediaTypesParam &\n SentSharesCreateSentShareInvitationBodyParam &\n RequestParameters;\nexport type SentSharesDeleteSentShareInvitationParameters = RequestParameters;\n\nexport interface SentSharesNotifyUserSentShareInvitationHeaders {\n /** 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. */\n \"repeatability-request-id\"?: string;\n}\n\nexport interface SentSharesNotifyUserSentShareInvitationHeaderParam {\n headers?: RawHttpHeadersInput & SentSharesNotifyUserSentShareInvitationHeaders;\n}\n\nexport type SentSharesNotifyUserSentShareInvitationParameters =\n SentSharesNotifyUserSentShareInvitationHeaderParam & RequestParameters;\n\nexport interface ShareResourcesGetAllShareResourcesQueryParamProperties {\n /** Filters the results using OData syntax */\n filter?: string;\n /** Sorts the results using OData syntax */\n orderby?: string;\n}\n\nexport interface ShareResourcesGetAllShareResourcesQueryParam {\n queryParameters?: ShareResourcesGetAllShareResourcesQueryParamProperties;\n}\n\nexport type ShareResourcesGetAllShareResourcesParameters =\n ShareResourcesGetAllShareResourcesQueryParam & RequestParameters;\n"]}
@@ -0,0 +1,11 @@
1
+ import type { Client, HttpResponse } from "@azure-rest/core-client";
2
+ import type { CreateHttpPollerOptions, OperationState, SimplePollerLike } from "@azure/core-lro";
3
+ /**
4
+ * Helper function that builds a Poller object to help polling a long running operation.
5
+ * @param client - Client to use for sending the request to get additional pages.
6
+ * @param initialResponse - The initial response.
7
+ * @param options - Options to set a resume state or custom polling interval.
8
+ * @returns - A poller object to poll for operation state updates and eventually get the final response.
9
+ */
10
+ export declare function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
11
+ //# sourceMappingURL=pollingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pollingHelper.d.ts","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EACV,uBAAuB,EAGvB,cAAc,EACd,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CAAC,OAAO,SAAS,YAAY,EACrE,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,OAAO,EACxB,OAAO,GAAE,uBAAuB,CAAC,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC,CAAM,GACtE,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,CAwB7D"}
@@ -0,0 +1,11 @@
1
+ import type { ClientOptions } from "@azure-rest/core-client";
2
+ import type { TokenCredential } from "@azure/core-auth";
3
+ import type { PurviewSharingClient } from "./clientDefinitions.js";
4
+ /**
5
+ * Initialize a new instance of `PurviewSharingClient`
6
+ * @param endpoint type: string, The sharing endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share
7
+ * @param credentials type: TokenCredential, uniquely identify client credential
8
+ * @param options type: ClientOptions, the parameter for all optional parameters
9
+ */
10
+ export default function createClient(endpoint: string, credentials: TokenCredential, options?: ClientOptions): PurviewSharingClient;
11
+ //# sourceMappingURL=purviewSharing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"purviewSharing.d.ts","sourceRoot":"","sources":["../../src/purviewSharing.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,eAAe,EAC5B,OAAO,GAAE,aAAkB,GAC1B,oBAAoB,CAyBtB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"purviewSharing.js","sourceRoot":"","sources":["../../src/purviewSharing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,QAAgB,EAChB,WAA4B,EAC5B,UAAyB,EAAE;;IAE3B,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,GAAG,QAAQ,EAAE,CAAC;IACjD,OAAO,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,oBAAoB,CAAC;IAChE,OAAO,mCACF,OAAO,KACV,WAAW,EAAE;YACX,MAAM,EAAE,CAAC,oCAAoC,CAAC;SAC/C,GACF,CAAC;IAEF,MAAM,aAAa,GAAG,4CAA4C,CAAC;IACnE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,GACF,CAAC;IAEF,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAyB,CAAC;IAEhF,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { PurviewSharingClient } from \"./clientDefinitions.js\";\n\n/**\n * Initialize a new instance of `PurviewSharingClient`\n * @param endpoint type: string, The sharing endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share\n * @param credentials type: TokenCredential, uniquely identify client credential\n * @param options type: ClientOptions, the parameter for all optional parameters\n */\nexport default function createClient(\n endpoint: string,\n credentials: TokenCredential,\n options: ClientOptions = {},\n): PurviewSharingClient {\n const baseUrl = options.baseUrl ?? `${endpoint}`;\n options.apiVersion = options.apiVersion ?? \"2023-05-30-preview\";\n options = {\n ...options,\n credentials: {\n scopes: [\"https://purview.azure.net/.default\"],\n },\n };\n\n const userAgentInfo = `azsdk-js-purview-sharing-rest/1.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n };\n\n const client = getClient(baseUrl, credentials, options) as PurviewSharingClient;\n\n return client;\n}\n"]}