@azure-rest/purview-sharing 1.0.0-alpha.20241120.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
@@ -1 +0,0 @@
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\";\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"]}
@@ -1 +0,0 @@
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\";\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"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n ReceivedShareOutput,\n PurviewShareErrorOutput,\n OperationResponseOutput,\n ReceivedShareListOutput,\n TenantEmailRegistrationOutput,\n SentShareListOutput,\n SentShareOutput,\n SentShareInvitationListOutput,\n SentShareInvitationOutput,\n ShareResourceListOutput,\n} from \"./outputModels\";\n\n/** Get a received share */\nexport interface ReceivedSharesGetReceivedShare200Response extends HttpResponse {\n status: \"200\";\n body: ReceivedShareOutput;\n}\n\nexport interface ReceivedSharesGetReceivedShareDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Get a received share */\nexport interface ReceivedSharesGetReceivedShareDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & ReceivedSharesGetReceivedShareDefaultHeaders;\n}\n\nexport interface ReceivedSharesCreateOrReplace200Headers {\n /** The URL to track the status of the long running operation. */\n \"operation-location\"?: string;\n}\n\n/** Update changes to a received share */\nexport interface ReceivedSharesCreateOrReplace200Response extends HttpResponse {\n status: \"200\";\n body: ReceivedShareOutput;\n headers: RawHttpHeaders & ReceivedSharesCreateOrReplace200Headers;\n}\n\nexport interface ReceivedSharesCreateOrReplace201Headers {\n /** The URL to track the status of the long running operation. */\n \"operation-location\"?: string;\n}\n\n/** Update changes to a received share */\nexport interface ReceivedSharesCreateOrReplace201Response extends HttpResponse {\n status: \"201\";\n body: ReceivedShareOutput;\n headers: RawHttpHeaders & ReceivedSharesCreateOrReplace201Headers;\n}\n\nexport interface ReceivedSharesCreateOrReplaceDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Update changes to a received share */\nexport interface ReceivedSharesCreateOrReplaceDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & ReceivedSharesCreateOrReplaceDefaultHeaders;\n}\n\nexport interface ReceivedSharesDeleteReceivedShare202Headers {\n /** The URL to track the status of the long running operation. */\n \"operation-location\"?: string;\n}\n\n/** Delete a received share */\nexport interface ReceivedSharesDeleteReceivedShare202Response extends HttpResponse {\n status: \"202\";\n body: OperationResponseOutput;\n headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShare202Headers;\n}\n\nexport interface ReceivedSharesDeleteReceivedShareDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Delete a received share */\nexport interface ReceivedSharesDeleteReceivedShareDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShareDefaultHeaders;\n}\n\n/** List attached received shares */\nexport interface ReceivedSharesGetAllAttachedReceivedShares200Response extends HttpResponse {\n status: \"200\";\n body: ReceivedShareListOutput;\n}\n\nexport interface ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** List attached received shares */\nexport interface ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders;\n}\n\n/** List detached received shares */\nexport interface ReceivedSharesGetAllDetachedReceivedShares200Response extends HttpResponse {\n status: \"200\";\n body: ReceivedShareListOutput;\n}\n\nexport interface ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** List detached received shares */\nexport interface ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders;\n}\n\n/** Activates the email registration for current tenant */\nexport interface ReceivedSharesActivateTenantEmailRegistration200Response extends HttpResponse {\n status: \"200\";\n body: TenantEmailRegistrationOutput;\n}\n\nexport interface ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Activates the email registration for current tenant */\nexport interface ReceivedSharesActivateTenantEmailRegistrationDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders;\n}\n\n/** Register an email for the current tenant */\nexport interface ReceivedSharesRegisterTenantEmailRegistration200Response extends HttpResponse {\n status: \"200\";\n body: TenantEmailRegistrationOutput;\n}\n\nexport interface ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Register an email for the current tenant */\nexport interface ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders;\n}\n\n/** List sent shares */\nexport interface SentSharesGetAllSentShares200Response extends HttpResponse {\n status: \"200\";\n body: SentShareListOutput;\n}\n\nexport interface SentSharesGetAllSentSharesDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** List sent shares */\nexport interface SentSharesGetAllSentSharesDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesGetAllSentSharesDefaultHeaders;\n}\n\n/** Get a sent share */\nexport interface SentSharesGetSentShare200Response extends HttpResponse {\n status: \"200\";\n body: SentShareOutput;\n}\n\nexport interface SentSharesGetSentShareDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Get a sent share */\nexport interface SentSharesGetSentShareDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesGetSentShareDefaultHeaders;\n}\n\nexport interface SentSharesCreateOrReplace200Headers {\n /** The URL to track the status of the long running operation. */\n \"operation-location\"?: string;\n}\n\n/** Create or replace a sent share */\nexport interface SentSharesCreateOrReplace200Response extends HttpResponse {\n status: \"200\";\n body: SentShareOutput;\n headers: RawHttpHeaders & SentSharesCreateOrReplace200Headers;\n}\n\nexport interface SentSharesCreateOrReplace201Headers {\n /** The URL to track the status of the long running operation. */\n \"operation-location\"?: string;\n}\n\n/** Create or replace a sent share */\nexport interface SentSharesCreateOrReplace201Response extends HttpResponse {\n status: \"201\";\n body: SentShareOutput;\n headers: RawHttpHeaders & SentSharesCreateOrReplace201Headers;\n}\n\nexport interface SentSharesCreateOrReplaceDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Create or replace a sent share */\nexport interface SentSharesCreateOrReplaceDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesCreateOrReplaceDefaultHeaders;\n}\n\nexport interface SentSharesDeleteSentShare202Headers {\n /** The URL to track the status of the long running operation. */\n \"operation-location\"?: string;\n}\n\n/** Delete a sent share */\nexport interface SentSharesDeleteSentShare202Response extends HttpResponse {\n status: \"202\";\n body: OperationResponseOutput;\n headers: RawHttpHeaders & SentSharesDeleteSentShare202Headers;\n}\n\nexport interface SentSharesDeleteSentShareDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Delete a sent share */\nexport interface SentSharesDeleteSentShareDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesDeleteSentShareDefaultHeaders;\n}\n\n/** List sent share recipients */\nexport interface SentSharesGetAllSentShareInvitations200Response extends HttpResponse {\n status: \"200\";\n body: SentShareInvitationListOutput;\n}\n\nexport interface SentSharesGetAllSentShareInvitationsDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** List sent share recipients */\nexport interface SentSharesGetAllSentShareInvitationsDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesGetAllSentShareInvitationsDefaultHeaders;\n}\n\n/** Get recipient for a given sent share */\nexport interface SentSharesGetSentShareInvitation200Response extends HttpResponse {\n status: \"200\";\n body: SentShareInvitationOutput;\n}\n\nexport interface SentSharesGetSentShareInvitationDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Get recipient for a given sent share */\nexport interface SentSharesGetSentShareInvitationDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesGetSentShareInvitationDefaultHeaders;\n}\n\n/** Create a recipient for a given sent share */\nexport interface SentSharesCreateSentShareInvitation201Response extends HttpResponse {\n status: \"201\";\n body: SentShareInvitationOutput;\n}\n\nexport interface SentSharesCreateSentShareInvitationDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Create a recipient for a given sent share */\nexport interface SentSharesCreateSentShareInvitationDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesCreateSentShareInvitationDefaultHeaders;\n}\n\nexport interface SentSharesDeleteSentShareInvitation202Headers {\n /** The URL to track the status of the long running operation. */\n \"operation-location\"?: string;\n}\n\n/** Delete a sent share invitation */\nexport interface SentSharesDeleteSentShareInvitation202Response extends HttpResponse {\n status: \"202\";\n body: OperationResponseOutput;\n headers: RawHttpHeaders & SentSharesDeleteSentShareInvitation202Headers;\n}\n\nexport interface SentSharesDeleteSentShareInvitationDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Delete a sent share invitation */\nexport interface SentSharesDeleteSentShareInvitationDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesDeleteSentShareInvitationDefaultHeaders;\n}\n\n/** Notifies the user recipient of the sent share invitation, does not apply to service invitations. */\nexport interface SentSharesNotifyUserSentShareInvitation200Response extends HttpResponse {\n status: \"200\";\n body: SentShareInvitationOutput;\n}\n\nexport interface SentSharesNotifyUserSentShareInvitationDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** Notifies the user recipient of the sent share invitation, does not apply to service invitations. */\nexport interface SentSharesNotifyUserSentShareInvitationDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & SentSharesNotifyUserSentShareInvitationDefaultHeaders;\n}\n\n/** List share resources */\nexport interface ShareResourcesGetAllShareResources200Response extends HttpResponse {\n status: \"200\";\n body: ShareResourceListOutput;\n}\n\nexport interface ShareResourcesGetAllShareResourcesDefaultHeaders {\n /** The error code */\n \"x-ms-error-code\"?: string;\n}\n\n/** List share resources */\nexport interface ShareResourcesGetAllShareResourcesDefaultResponse extends HttpResponse {\n status: string;\n body: PurviewShareErrorOutput;\n headers: RawHttpHeaders & ShareResourcesGetAllShareResourcesDefaultHeaders;\n}\n"]}