@azure-rest/purview-sharing 1.0.0-alpha.20241120.1 → 1.0.0-alpha.20241125.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser/clientDefinitions.d.ts +87 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +15 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +19 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/models.d.ts +201 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/outputModels.d.ts +336 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +43 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/dist/browser/parameters.d.ts +123 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/pollingHelper.d.ts +11 -0
- package/dist/browser/pollingHelper.d.ts.map +1 -0
- package/dist/browser/purviewSharing.d.ts +11 -0
- package/dist/browser/purviewSharing.d.ts.map +1 -0
- package/dist/browser/purviewSharing.js.map +1 -0
- package/dist/browser/responses.d.ts +304 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +87 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +18 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +19 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +89 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/models.d.ts +201 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +336 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +43 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +73 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +123 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/pollingHelper.d.ts +11 -0
- package/dist/commonjs/pollingHelper.d.ts.map +1 -0
- package/dist/commonjs/pollingHelper.js +53 -0
- package/dist/commonjs/pollingHelper.js.map +1 -0
- package/dist/commonjs/purviewSharing.d.ts +11 -0
- package/dist/commonjs/purviewSharing.d.ts.map +1 -0
- package/dist/commonjs/purviewSharing.js +30 -0
- package/dist/commonjs/purviewSharing.js.map +1 -0
- package/dist/commonjs/responses.d.ts +304 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/clientDefinitions.d.ts +87 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +15 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +19 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +86 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/models.d.ts +201 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +336 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +43 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +70 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +123 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/pollingHelper.d.ts +11 -0
- package/dist/esm/pollingHelper.d.ts.map +1 -0
- package/dist/esm/pollingHelper.js +50 -0
- package/dist/esm/pollingHelper.js.map +1 -0
- package/dist/esm/purviewSharing.d.ts +11 -0
- package/dist/esm/purviewSharing.d.ts.map +1 -0
- package/dist/esm/purviewSharing.js +27 -0
- package/dist/esm/purviewSharing.js.map +1 -0
- package/dist/esm/responses.d.ts +304 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +87 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +15 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +19 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +86 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/models.d.ts +201 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +336 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +43 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +70 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +123 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/pollingHelper.d.ts +11 -0
- package/dist/react-native/pollingHelper.d.ts.map +1 -0
- package/dist/react-native/pollingHelper.js +50 -0
- package/dist/react-native/pollingHelper.js.map +1 -0
- package/dist/react-native/purviewSharing.d.ts +11 -0
- package/dist/react-native/purviewSharing.d.ts.map +1 -0
- package/dist/react-native/purviewSharing.js +27 -0
- package/dist/react-native/purviewSharing.js.map +1 -0
- package/dist/react-native/responses.d.ts +304 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +69 -49
- package/dist/index.js +0 -245
- package/dist/index.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/index.js +0 -14
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/purviewSharing.js.map +0 -1
- package/dist-esm/src/responses.js.map +0 -1
- package/review/purview-sharing.api.md +0 -1299
- /package/{dist-esm/src → dist/browser}/clientDefinitions.js +0 -0
- /package/{dist-esm/src → dist/browser}/isUnexpected.js +0 -0
- /package/{dist-esm/src → dist/browser}/models.js +0 -0
- /package/{dist-esm/src → dist/browser}/models.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/outputModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/outputModels.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/paginateHelper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/parameters.js +0 -0
- /package/{dist-esm/src → dist/browser}/pollingHelper.js +0 -0
- /package/{dist-esm/src → dist/browser}/pollingHelper.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/purviewSharing.js +0 -0
- /package/{dist-esm/src → dist/browser}/responses.js +0 -0
- /package/{types → dist}/purview-sharing.d.ts +0 -0
|
@@ -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,4C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C3B;AAED,MAAM,WAAW,kDAAkD;IACjE,2BAA2B;IAC3B,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC;AAED,MAAM,MAAM,6CAA6C,GACvD,kDAAkD,GAChD,4CAA4C,GAC5C,iBAAiB,CAAC;AACtB,MAAM,MAAM,6CAA6C,GAAG,iBAAiB,CAAC;AAE9E,MAAM,WAAW,8CAA8C;IAC7D,qdAAqd;IACrd,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACrC;AAED,MAAM,WAAW,kDAAkD;IACjE,OAAO,CAAC,EAAE,mBAAmB,GAAG,8CAA8C,CAAC;CAChF;AAED,MAAM,MAAM,iDAAiD,GAC3D,kDAAkD,GAAG,iBAAiB,CAAC;AAEzE,MAAM,WAAW,sDAAsD;IACrE,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4CAA4C;IAC3D,eAAe,CAAC,EAAE,sDAAsD,CAAC;CAC1E;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,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getLongRunningPoller = getLongRunningPoller;
|
|
6
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
7
|
+
/**
|
|
8
|
+
* Helper function that builds a Poller object to help polling a long running operation.
|
|
9
|
+
* @param client - Client to use for sending the request to get additional pages.
|
|
10
|
+
* @param initialResponse - The initial response.
|
|
11
|
+
* @param options - Options to set a resume state or custom polling interval.
|
|
12
|
+
* @returns - A poller object to poll for operation state updates and eventually get the final response.
|
|
13
|
+
*/
|
|
14
|
+
async function getLongRunningPoller(client, initialResponse, options = {}) {
|
|
15
|
+
var _a;
|
|
16
|
+
const poller = {
|
|
17
|
+
requestMethod: initialResponse.request.method,
|
|
18
|
+
requestPath: initialResponse.request.url,
|
|
19
|
+
sendInitialRequest: async () => {
|
|
20
|
+
// In the case of Rest Clients we are building the LRO poller object from a response that's the reason
|
|
21
|
+
// we are not triggering the initial request here, just extracting the information from the
|
|
22
|
+
// response we were provided.
|
|
23
|
+
return getLroResponse(initialResponse);
|
|
24
|
+
},
|
|
25
|
+
sendPollRequest: async (path) => {
|
|
26
|
+
// This is the callback that is going to be called to poll the service
|
|
27
|
+
// to get the latest status. We use the client provided and the polling path
|
|
28
|
+
// which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location
|
|
29
|
+
// depending on the lro pattern that the service implements. If non is provided we default to the initial path.
|
|
30
|
+
const response = await client.pathUnchecked(path !== null && path !== void 0 ? path : initialResponse.request.url).get();
|
|
31
|
+
const lroResponse = getLroResponse(response);
|
|
32
|
+
lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url;
|
|
33
|
+
return lroResponse;
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
options.resolveOnUnsuccessful = (_a = options.resolveOnUnsuccessful) !== null && _a !== void 0 ? _a : true;
|
|
37
|
+
return (0, core_lro_1.createHttpPoller)(poller, options);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Converts a Rest Client response to a response that the LRO implementation understands
|
|
41
|
+
* @param response - a rest client http response
|
|
42
|
+
* @returns - An LRO response that the LRO implementation understands
|
|
43
|
+
*/
|
|
44
|
+
function getLroResponse(response) {
|
|
45
|
+
if (Number.isNaN(response.status)) {
|
|
46
|
+
throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`);
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
flatResponse: response,
|
|
50
|
+
rawResponse: Object.assign(Object.assign({}, response), { statusCode: Number.parseInt(response.status), body: response.body }),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=pollingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pollingHelper.js","sourceRoot":"","sources":["../../src/pollingHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAkBlC,oDA4BC;AApCD,8CAAmD;AACnD;;;;;;GAMG;AACI,KAAK,UAAU,oBAAoB,CACxC,MAAc,EACd,eAAwB,EACxB,UAAqE,EAAE;;IAEvE,MAAM,MAAM,GAAkC;QAC5C,aAAa,EAAE,eAAe,CAAC,OAAO,CAAC,MAAM;QAC7C,WAAW,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG;QACxC,kBAAkB,EAAE,KAAK,IAAI,EAAE;YAC7B,sGAAsG;YACtG,2FAA2F;YAC3F,6BAA6B;YAC7B,OAAO,cAAc,CAAC,eAAe,CAAC,CAAC;QACzC,CAAC;QACD,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;YAC9B,sEAAsE;YACtE,4EAA4E;YAC5E,0JAA0J;YAC1J,+GAA+G;YAC/G,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;YACvF,MAAM,WAAW,GAAG,cAAc,CAAC,QAAmB,CAAC,CAAC;YACxD,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,CAAC,GAAG,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC;YACnF,OAAO,WAAW,CAAC;QACrB,CAAC;KACF,CAAC;IAEF,OAAO,CAAC,qBAAqB,GAAG,MAAA,OAAO,CAAC,qBAAqB,mCAAI,IAAI,CAAC;IACtE,OAAO,IAAA,2BAAgB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC3C,CAAC;AAED;;;;GAIG;AACH,SAAS,cAAc,CAA+B,QAAiB;IACrE,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAClC,MAAM,IAAI,SAAS,CAAC,uDAAuD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IAChG,CAAC;IAED,OAAO;QACL,YAAY,EAAE,QAAQ;QACtB,WAAW,kCACN,QAAQ,KACX,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC5C,IAAI,EAAE,QAAQ,CAAC,IAAI,GACpB;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { Client, HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n CreateHttpPollerOptions,\n LongRunningOperation,\n LroResponse,\n OperationState,\n SimplePollerLike,\n} from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\n/**\n * Helper function that builds a Poller object to help polling a long running operation.\n * @param client - Client to use for sending the request to get additional pages.\n * @param initialResponse - The initial response.\n * @param options - Options to set a resume state or custom polling interval.\n * @returns - A poller object to poll for operation state updates and eventually get the final response.\n */\nexport async function getLongRunningPoller<TResult extends HttpResponse>(\n client: Client,\n initialResponse: TResult,\n options: CreateHttpPollerOptions<TResult, OperationState<TResult>> = {},\n): Promise<SimplePollerLike<OperationState<TResult>, TResult>> {\n const poller: LongRunningOperation<TResult> = {\n requestMethod: initialResponse.request.method,\n requestPath: initialResponse.request.url,\n sendInitialRequest: async () => {\n // In the case of Rest Clients we are building the LRO poller object from a response that's the reason\n // we are not triggering the initial request here, just extracting the information from the\n // response we were provided.\n return getLroResponse(initialResponse);\n },\n sendPollRequest: async (path) => {\n // This is the callback that is going to be called to poll the service\n // to get the latest status. We use the client provided and the polling path\n // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location\n // depending on the lro pattern that the service implements. If non is provided we default to the initial path.\n const response = await client.pathUnchecked(path ?? initialResponse.request.url).get();\n const lroResponse = getLroResponse(response as TResult);\n lroResponse.rawResponse.headers[\"x-ms-original-url\"] = initialResponse.request.url;\n return lroResponse;\n },\n };\n\n options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true;\n return createHttpPoller(poller, options);\n}\n\n/**\n * Converts a Rest Client response to a response that the LRO implementation understands\n * @param response - a rest client http response\n * @returns - An LRO response that the LRO implementation understands\n */\nfunction getLroResponse<TResult extends HttpResponse>(response: TResult): LroResponse<TResult> {\n if (Number.isNaN(response.status)) {\n throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`);\n }\n\n return {\n flatResponse: response,\n rawResponse: {\n ...response,\n statusCode: Number.parseInt(response.status),\n body: response.body,\n },\n };\n}\n"]}
|
|
@@ -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,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.default = createClient;
|
|
6
|
+
const core_client_1 = require("@azure-rest/core-client");
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of `PurviewSharingClient`
|
|
9
|
+
* @param endpoint type: string, The sharing endpoint of your purview account. Example: https://{accountName}.purview.azure.com/share
|
|
10
|
+
* @param credentials type: TokenCredential, uniquely identify client credential
|
|
11
|
+
* @param options type: ClientOptions, the parameter for all optional parameters
|
|
12
|
+
*/
|
|
13
|
+
function createClient(endpoint, credentials, options = {}) {
|
|
14
|
+
var _a, _b;
|
|
15
|
+
const baseUrl = (_a = options.baseUrl) !== null && _a !== void 0 ? _a : `${endpoint}`;
|
|
16
|
+
options.apiVersion = (_b = options.apiVersion) !== null && _b !== void 0 ? _b : "2023-05-30-preview";
|
|
17
|
+
options = Object.assign(Object.assign({}, options), { credentials: {
|
|
18
|
+
scopes: ["https://purview.azure.net/.default"],
|
|
19
|
+
} });
|
|
20
|
+
const userAgentInfo = `azsdk-js-purview-sharing-rest/1.0.0-beta.2`;
|
|
21
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
22
|
+
? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
|
|
23
|
+
: `${userAgentInfo}`;
|
|
24
|
+
options = Object.assign(Object.assign({}, options), { userAgentOptions: {
|
|
25
|
+
userAgentPrefix,
|
|
26
|
+
} });
|
|
27
|
+
const client = (0, core_client_1.getClient)(baseUrl, credentials, options);
|
|
28
|
+
return client;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=purviewSharing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purviewSharing.js","sourceRoot":"","sources":["../../src/purviewSharing.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAalC,+BA6BC;AAvCD,yDAAoD;AAIpD;;;;;GAKG;AACH,SAAwB,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,IAAA,uBAAS,EAAC,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"]}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
2
|
+
import type { HttpResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { ReceivedShareOutput, PurviewShareErrorOutput, OperationResponseOutput, ReceivedShareListOutput, TenantEmailRegistrationOutput, SentShareListOutput, SentShareOutput, SentShareInvitationListOutput, SentShareInvitationOutput, ShareResourceListOutput } from "./outputModels.js";
|
|
4
|
+
/** Get a received share */
|
|
5
|
+
export interface ReceivedSharesGetReceivedShare200Response extends HttpResponse {
|
|
6
|
+
status: "200";
|
|
7
|
+
body: ReceivedShareOutput;
|
|
8
|
+
}
|
|
9
|
+
export interface ReceivedSharesGetReceivedShareDefaultHeaders {
|
|
10
|
+
/** The error code */
|
|
11
|
+
"x-ms-error-code"?: string;
|
|
12
|
+
}
|
|
13
|
+
/** Get a received share */
|
|
14
|
+
export interface ReceivedSharesGetReceivedShareDefaultResponse extends HttpResponse {
|
|
15
|
+
status: string;
|
|
16
|
+
body: PurviewShareErrorOutput;
|
|
17
|
+
headers: RawHttpHeaders & ReceivedSharesGetReceivedShareDefaultHeaders;
|
|
18
|
+
}
|
|
19
|
+
export interface ReceivedSharesCreateOrReplace200Headers {
|
|
20
|
+
/** The URL to track the status of the long running operation. */
|
|
21
|
+
"operation-location"?: string;
|
|
22
|
+
}
|
|
23
|
+
/** Update changes to a received share */
|
|
24
|
+
export interface ReceivedSharesCreateOrReplace200Response extends HttpResponse {
|
|
25
|
+
status: "200";
|
|
26
|
+
body: ReceivedShareOutput;
|
|
27
|
+
headers: RawHttpHeaders & ReceivedSharesCreateOrReplace200Headers;
|
|
28
|
+
}
|
|
29
|
+
export interface ReceivedSharesCreateOrReplace201Headers {
|
|
30
|
+
/** The URL to track the status of the long running operation. */
|
|
31
|
+
"operation-location"?: string;
|
|
32
|
+
}
|
|
33
|
+
/** Update changes to a received share */
|
|
34
|
+
export interface ReceivedSharesCreateOrReplace201Response extends HttpResponse {
|
|
35
|
+
status: "201";
|
|
36
|
+
body: ReceivedShareOutput;
|
|
37
|
+
headers: RawHttpHeaders & ReceivedSharesCreateOrReplace201Headers;
|
|
38
|
+
}
|
|
39
|
+
export interface ReceivedSharesCreateOrReplaceDefaultHeaders {
|
|
40
|
+
/** The error code */
|
|
41
|
+
"x-ms-error-code"?: string;
|
|
42
|
+
}
|
|
43
|
+
/** Update changes to a received share */
|
|
44
|
+
export interface ReceivedSharesCreateOrReplaceDefaultResponse extends HttpResponse {
|
|
45
|
+
status: string;
|
|
46
|
+
body: PurviewShareErrorOutput;
|
|
47
|
+
headers: RawHttpHeaders & ReceivedSharesCreateOrReplaceDefaultHeaders;
|
|
48
|
+
}
|
|
49
|
+
export interface ReceivedSharesDeleteReceivedShare202Headers {
|
|
50
|
+
/** The URL to track the status of the long running operation. */
|
|
51
|
+
"operation-location"?: string;
|
|
52
|
+
}
|
|
53
|
+
/** Delete a received share */
|
|
54
|
+
export interface ReceivedSharesDeleteReceivedShare202Response extends HttpResponse {
|
|
55
|
+
status: "202";
|
|
56
|
+
body: OperationResponseOutput;
|
|
57
|
+
headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShare202Headers;
|
|
58
|
+
}
|
|
59
|
+
export interface ReceivedSharesDeleteReceivedShareDefaultHeaders {
|
|
60
|
+
/** The error code */
|
|
61
|
+
"x-ms-error-code"?: string;
|
|
62
|
+
}
|
|
63
|
+
/** Delete a received share */
|
|
64
|
+
export interface ReceivedSharesDeleteReceivedShareDefaultResponse extends HttpResponse {
|
|
65
|
+
status: string;
|
|
66
|
+
body: PurviewShareErrorOutput;
|
|
67
|
+
headers: RawHttpHeaders & ReceivedSharesDeleteReceivedShareDefaultHeaders;
|
|
68
|
+
}
|
|
69
|
+
/** List attached received shares */
|
|
70
|
+
export interface ReceivedSharesGetAllAttachedReceivedShares200Response extends HttpResponse {
|
|
71
|
+
status: "200";
|
|
72
|
+
body: ReceivedShareListOutput;
|
|
73
|
+
}
|
|
74
|
+
export interface ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders {
|
|
75
|
+
/** The error code */
|
|
76
|
+
"x-ms-error-code"?: string;
|
|
77
|
+
}
|
|
78
|
+
/** List attached received shares */
|
|
79
|
+
export interface ReceivedSharesGetAllAttachedReceivedSharesDefaultResponse extends HttpResponse {
|
|
80
|
+
status: string;
|
|
81
|
+
body: PurviewShareErrorOutput;
|
|
82
|
+
headers: RawHttpHeaders & ReceivedSharesGetAllAttachedReceivedSharesDefaultHeaders;
|
|
83
|
+
}
|
|
84
|
+
/** List detached received shares */
|
|
85
|
+
export interface ReceivedSharesGetAllDetachedReceivedShares200Response extends HttpResponse {
|
|
86
|
+
status: "200";
|
|
87
|
+
body: ReceivedShareListOutput;
|
|
88
|
+
}
|
|
89
|
+
export interface ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders {
|
|
90
|
+
/** The error code */
|
|
91
|
+
"x-ms-error-code"?: string;
|
|
92
|
+
}
|
|
93
|
+
/** List detached received shares */
|
|
94
|
+
export interface ReceivedSharesGetAllDetachedReceivedSharesDefaultResponse extends HttpResponse {
|
|
95
|
+
status: string;
|
|
96
|
+
body: PurviewShareErrorOutput;
|
|
97
|
+
headers: RawHttpHeaders & ReceivedSharesGetAllDetachedReceivedSharesDefaultHeaders;
|
|
98
|
+
}
|
|
99
|
+
/** Activates the email registration for current tenant */
|
|
100
|
+
export interface ReceivedSharesActivateTenantEmailRegistration200Response extends HttpResponse {
|
|
101
|
+
status: "200";
|
|
102
|
+
body: TenantEmailRegistrationOutput;
|
|
103
|
+
}
|
|
104
|
+
export interface ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders {
|
|
105
|
+
/** The error code */
|
|
106
|
+
"x-ms-error-code"?: string;
|
|
107
|
+
}
|
|
108
|
+
/** Activates the email registration for current tenant */
|
|
109
|
+
export interface ReceivedSharesActivateTenantEmailRegistrationDefaultResponse extends HttpResponse {
|
|
110
|
+
status: string;
|
|
111
|
+
body: PurviewShareErrorOutput;
|
|
112
|
+
headers: RawHttpHeaders & ReceivedSharesActivateTenantEmailRegistrationDefaultHeaders;
|
|
113
|
+
}
|
|
114
|
+
/** Register an email for the current tenant */
|
|
115
|
+
export interface ReceivedSharesRegisterTenantEmailRegistration200Response extends HttpResponse {
|
|
116
|
+
status: "200";
|
|
117
|
+
body: TenantEmailRegistrationOutput;
|
|
118
|
+
}
|
|
119
|
+
export interface ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders {
|
|
120
|
+
/** The error code */
|
|
121
|
+
"x-ms-error-code"?: string;
|
|
122
|
+
}
|
|
123
|
+
/** Register an email for the current tenant */
|
|
124
|
+
export interface ReceivedSharesRegisterTenantEmailRegistrationDefaultResponse extends HttpResponse {
|
|
125
|
+
status: string;
|
|
126
|
+
body: PurviewShareErrorOutput;
|
|
127
|
+
headers: RawHttpHeaders & ReceivedSharesRegisterTenantEmailRegistrationDefaultHeaders;
|
|
128
|
+
}
|
|
129
|
+
/** List sent shares */
|
|
130
|
+
export interface SentSharesGetAllSentShares200Response extends HttpResponse {
|
|
131
|
+
status: "200";
|
|
132
|
+
body: SentShareListOutput;
|
|
133
|
+
}
|
|
134
|
+
export interface SentSharesGetAllSentSharesDefaultHeaders {
|
|
135
|
+
/** The error code */
|
|
136
|
+
"x-ms-error-code"?: string;
|
|
137
|
+
}
|
|
138
|
+
/** List sent shares */
|
|
139
|
+
export interface SentSharesGetAllSentSharesDefaultResponse extends HttpResponse {
|
|
140
|
+
status: string;
|
|
141
|
+
body: PurviewShareErrorOutput;
|
|
142
|
+
headers: RawHttpHeaders & SentSharesGetAllSentSharesDefaultHeaders;
|
|
143
|
+
}
|
|
144
|
+
/** Get a sent share */
|
|
145
|
+
export interface SentSharesGetSentShare200Response extends HttpResponse {
|
|
146
|
+
status: "200";
|
|
147
|
+
body: SentShareOutput;
|
|
148
|
+
}
|
|
149
|
+
export interface SentSharesGetSentShareDefaultHeaders {
|
|
150
|
+
/** The error code */
|
|
151
|
+
"x-ms-error-code"?: string;
|
|
152
|
+
}
|
|
153
|
+
/** Get a sent share */
|
|
154
|
+
export interface SentSharesGetSentShareDefaultResponse extends HttpResponse {
|
|
155
|
+
status: string;
|
|
156
|
+
body: PurviewShareErrorOutput;
|
|
157
|
+
headers: RawHttpHeaders & SentSharesGetSentShareDefaultHeaders;
|
|
158
|
+
}
|
|
159
|
+
export interface SentSharesCreateOrReplace200Headers {
|
|
160
|
+
/** The URL to track the status of the long running operation. */
|
|
161
|
+
"operation-location"?: string;
|
|
162
|
+
}
|
|
163
|
+
/** Create or replace a sent share */
|
|
164
|
+
export interface SentSharesCreateOrReplace200Response extends HttpResponse {
|
|
165
|
+
status: "200";
|
|
166
|
+
body: SentShareOutput;
|
|
167
|
+
headers: RawHttpHeaders & SentSharesCreateOrReplace200Headers;
|
|
168
|
+
}
|
|
169
|
+
export interface SentSharesCreateOrReplace201Headers {
|
|
170
|
+
/** The URL to track the status of the long running operation. */
|
|
171
|
+
"operation-location"?: string;
|
|
172
|
+
}
|
|
173
|
+
/** Create or replace a sent share */
|
|
174
|
+
export interface SentSharesCreateOrReplace201Response extends HttpResponse {
|
|
175
|
+
status: "201";
|
|
176
|
+
body: SentShareOutput;
|
|
177
|
+
headers: RawHttpHeaders & SentSharesCreateOrReplace201Headers;
|
|
178
|
+
}
|
|
179
|
+
export interface SentSharesCreateOrReplaceDefaultHeaders {
|
|
180
|
+
/** The error code */
|
|
181
|
+
"x-ms-error-code"?: string;
|
|
182
|
+
}
|
|
183
|
+
/** Create or replace a sent share */
|
|
184
|
+
export interface SentSharesCreateOrReplaceDefaultResponse extends HttpResponse {
|
|
185
|
+
status: string;
|
|
186
|
+
body: PurviewShareErrorOutput;
|
|
187
|
+
headers: RawHttpHeaders & SentSharesCreateOrReplaceDefaultHeaders;
|
|
188
|
+
}
|
|
189
|
+
export interface SentSharesDeleteSentShare202Headers {
|
|
190
|
+
/** The URL to track the status of the long running operation. */
|
|
191
|
+
"operation-location"?: string;
|
|
192
|
+
}
|
|
193
|
+
/** Delete a sent share */
|
|
194
|
+
export interface SentSharesDeleteSentShare202Response extends HttpResponse {
|
|
195
|
+
status: "202";
|
|
196
|
+
body: OperationResponseOutput;
|
|
197
|
+
headers: RawHttpHeaders & SentSharesDeleteSentShare202Headers;
|
|
198
|
+
}
|
|
199
|
+
export interface SentSharesDeleteSentShareDefaultHeaders {
|
|
200
|
+
/** The error code */
|
|
201
|
+
"x-ms-error-code"?: string;
|
|
202
|
+
}
|
|
203
|
+
/** Delete a sent share */
|
|
204
|
+
export interface SentSharesDeleteSentShareDefaultResponse extends HttpResponse {
|
|
205
|
+
status: string;
|
|
206
|
+
body: PurviewShareErrorOutput;
|
|
207
|
+
headers: RawHttpHeaders & SentSharesDeleteSentShareDefaultHeaders;
|
|
208
|
+
}
|
|
209
|
+
/** List sent share recipients */
|
|
210
|
+
export interface SentSharesGetAllSentShareInvitations200Response extends HttpResponse {
|
|
211
|
+
status: "200";
|
|
212
|
+
body: SentShareInvitationListOutput;
|
|
213
|
+
}
|
|
214
|
+
export interface SentSharesGetAllSentShareInvitationsDefaultHeaders {
|
|
215
|
+
/** The error code */
|
|
216
|
+
"x-ms-error-code"?: string;
|
|
217
|
+
}
|
|
218
|
+
/** List sent share recipients */
|
|
219
|
+
export interface SentSharesGetAllSentShareInvitationsDefaultResponse extends HttpResponse {
|
|
220
|
+
status: string;
|
|
221
|
+
body: PurviewShareErrorOutput;
|
|
222
|
+
headers: RawHttpHeaders & SentSharesGetAllSentShareInvitationsDefaultHeaders;
|
|
223
|
+
}
|
|
224
|
+
/** Get recipient for a given sent share */
|
|
225
|
+
export interface SentSharesGetSentShareInvitation200Response extends HttpResponse {
|
|
226
|
+
status: "200";
|
|
227
|
+
body: SentShareInvitationOutput;
|
|
228
|
+
}
|
|
229
|
+
export interface SentSharesGetSentShareInvitationDefaultHeaders {
|
|
230
|
+
/** The error code */
|
|
231
|
+
"x-ms-error-code"?: string;
|
|
232
|
+
}
|
|
233
|
+
/** Get recipient for a given sent share */
|
|
234
|
+
export interface SentSharesGetSentShareInvitationDefaultResponse extends HttpResponse {
|
|
235
|
+
status: string;
|
|
236
|
+
body: PurviewShareErrorOutput;
|
|
237
|
+
headers: RawHttpHeaders & SentSharesGetSentShareInvitationDefaultHeaders;
|
|
238
|
+
}
|
|
239
|
+
/** Create a recipient for a given sent share */
|
|
240
|
+
export interface SentSharesCreateSentShareInvitation201Response extends HttpResponse {
|
|
241
|
+
status: "201";
|
|
242
|
+
body: SentShareInvitationOutput;
|
|
243
|
+
}
|
|
244
|
+
export interface SentSharesCreateSentShareInvitationDefaultHeaders {
|
|
245
|
+
/** The error code */
|
|
246
|
+
"x-ms-error-code"?: string;
|
|
247
|
+
}
|
|
248
|
+
/** Create a recipient for a given sent share */
|
|
249
|
+
export interface SentSharesCreateSentShareInvitationDefaultResponse extends HttpResponse {
|
|
250
|
+
status: string;
|
|
251
|
+
body: PurviewShareErrorOutput;
|
|
252
|
+
headers: RawHttpHeaders & SentSharesCreateSentShareInvitationDefaultHeaders;
|
|
253
|
+
}
|
|
254
|
+
export interface SentSharesDeleteSentShareInvitation202Headers {
|
|
255
|
+
/** The URL to track the status of the long running operation. */
|
|
256
|
+
"operation-location"?: string;
|
|
257
|
+
}
|
|
258
|
+
/** Delete a sent share invitation */
|
|
259
|
+
export interface SentSharesDeleteSentShareInvitation202Response extends HttpResponse {
|
|
260
|
+
status: "202";
|
|
261
|
+
body: OperationResponseOutput;
|
|
262
|
+
headers: RawHttpHeaders & SentSharesDeleteSentShareInvitation202Headers;
|
|
263
|
+
}
|
|
264
|
+
export interface SentSharesDeleteSentShareInvitationDefaultHeaders {
|
|
265
|
+
/** The error code */
|
|
266
|
+
"x-ms-error-code"?: string;
|
|
267
|
+
}
|
|
268
|
+
/** Delete a sent share invitation */
|
|
269
|
+
export interface SentSharesDeleteSentShareInvitationDefaultResponse extends HttpResponse {
|
|
270
|
+
status: string;
|
|
271
|
+
body: PurviewShareErrorOutput;
|
|
272
|
+
headers: RawHttpHeaders & SentSharesDeleteSentShareInvitationDefaultHeaders;
|
|
273
|
+
}
|
|
274
|
+
/** Notifies the user recipient of the sent share invitation, does not apply to service invitations. */
|
|
275
|
+
export interface SentSharesNotifyUserSentShareInvitation200Response extends HttpResponse {
|
|
276
|
+
status: "200";
|
|
277
|
+
body: SentShareInvitationOutput;
|
|
278
|
+
}
|
|
279
|
+
export interface SentSharesNotifyUserSentShareInvitationDefaultHeaders {
|
|
280
|
+
/** The error code */
|
|
281
|
+
"x-ms-error-code"?: string;
|
|
282
|
+
}
|
|
283
|
+
/** Notifies the user recipient of the sent share invitation, does not apply to service invitations. */
|
|
284
|
+
export interface SentSharesNotifyUserSentShareInvitationDefaultResponse extends HttpResponse {
|
|
285
|
+
status: string;
|
|
286
|
+
body: PurviewShareErrorOutput;
|
|
287
|
+
headers: RawHttpHeaders & SentSharesNotifyUserSentShareInvitationDefaultHeaders;
|
|
288
|
+
}
|
|
289
|
+
/** List share resources */
|
|
290
|
+
export interface ShareResourcesGetAllShareResources200Response extends HttpResponse {
|
|
291
|
+
status: "200";
|
|
292
|
+
body: ShareResourceListOutput;
|
|
293
|
+
}
|
|
294
|
+
export interface ShareResourcesGetAllShareResourcesDefaultHeaders {
|
|
295
|
+
/** The error code */
|
|
296
|
+
"x-ms-error-code"?: string;
|
|
297
|
+
}
|
|
298
|
+
/** List share resources */
|
|
299
|
+
export interface ShareResourcesGetAllShareResourcesDefaultResponse extends HttpResponse {
|
|
300
|
+
status: string;
|
|
301
|
+
body: PurviewShareErrorOutput;
|
|
302
|
+
headers: RawHttpHeaders & ShareResourcesGetAllShareResourcesDefaultHeaders;
|
|
303
|
+
}
|
|
304
|
+
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,6BAA6B,EAC7B,mBAAmB,EACnB,eAAe,EACf,6BAA6B,EAC7B,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAE3B,2BAA2B;AAC3B,MAAM,WAAW,yCAA0C,SAAQ,YAAY;IAC7E,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,MAAM,WAAW,4CAA4C;IAC3D,qBAAqB;IACr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