@microsoft/msgraph-sdk-organization 1.0.0-preview.13 → 1.0.0-preview.15
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/organization/count/index.d.ts +7 -6
- package/organization/count/index.d.ts.map +1 -1
- package/organization/count/index.js +7 -7
- package/organization/delta/index.d.ts +9 -8
- package/organization/delta/index.d.ts.map +1 -1
- package/organization/delta/index.js +9 -9
- package/organization/getAvailableExtensionProperties/index.d.ts +11 -10
- package/organization/getAvailableExtensionProperties/index.d.ts.map +1 -1
- package/organization/getAvailableExtensionProperties/index.js +11 -11
- package/organization/getByIds/index.d.ts +11 -10
- package/organization/getByIds/index.d.ts.map +1 -1
- package/organization/getByIds/index.js +11 -11
- package/organization/index.d.ts +15 -13
- package/organization/index.d.ts.map +1 -1
- package/organization/index.js +9 -15
- package/organization/item/branding/backgroundImage/index.d.ts +10 -8
- package/organization/item/branding/backgroundImage/index.d.ts.map +1 -1
- package/organization/item/branding/backgroundImage/index.js +9 -9
- package/organization/item/branding/bannerLogo/index.d.ts +10 -8
- package/organization/item/branding/bannerLogo/index.d.ts.map +1 -1
- package/organization/item/branding/bannerLogo/index.js +9 -9
- package/organization/item/branding/customCSS/index.d.ts +10 -8
- package/organization/item/branding/customCSS/index.d.ts.map +1 -1
- package/organization/item/branding/customCSS/index.js +9 -9
- package/organization/item/branding/favicon/index.d.ts +10 -8
- package/organization/item/branding/favicon/index.d.ts.map +1 -1
- package/organization/item/branding/favicon/index.js +9 -9
- package/organization/item/branding/headerLogo/index.d.ts +10 -8
- package/organization/item/branding/headerLogo/index.d.ts.map +1 -1
- package/organization/item/branding/headerLogo/index.js +9 -9
- package/organization/item/branding/index.d.ts +12 -9
- package/organization/item/branding/index.d.ts.map +1 -1
- package/organization/item/branding/index.js +11 -19
- package/organization/item/branding/localizations/count/index.d.ts +7 -6
- package/organization/item/branding/localizations/count/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/count/index.js +7 -7
- package/organization/item/branding/localizations/index.d.ts +11 -9
- package/organization/item/branding/localizations/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/index.js +9 -11
- package/organization/item/branding/localizations/item/backgroundImage/index.d.ts +10 -8
- package/organization/item/branding/localizations/item/backgroundImage/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/item/backgroundImage/index.js +9 -9
- package/organization/item/branding/localizations/item/bannerLogo/index.d.ts +10 -8
- package/organization/item/branding/localizations/item/bannerLogo/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/item/bannerLogo/index.js +9 -9
- package/organization/item/branding/localizations/item/customCSS/index.d.ts +10 -8
- package/organization/item/branding/localizations/item/customCSS/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/item/customCSS/index.js +9 -9
- package/organization/item/branding/localizations/item/favicon/index.d.ts +10 -8
- package/organization/item/branding/localizations/item/favicon/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/item/favicon/index.js +9 -9
- package/organization/item/branding/localizations/item/headerLogo/index.d.ts +10 -8
- package/organization/item/branding/localizations/item/headerLogo/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/item/headerLogo/index.js +9 -9
- package/organization/item/branding/localizations/item/index.d.ts +12 -9
- package/organization/item/branding/localizations/item/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/item/index.js +11 -18
- package/organization/item/branding/localizations/item/squareLogo/index.d.ts +10 -8
- package/organization/item/branding/localizations/item/squareLogo/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/item/squareLogo/index.js +9 -9
- package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts +10 -8
- package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts.map +1 -1
- package/organization/item/branding/localizations/item/squareLogoDark/index.js +9 -9
- package/organization/item/branding/squareLogo/index.d.ts +10 -8
- package/organization/item/branding/squareLogo/index.d.ts.map +1 -1
- package/organization/item/branding/squareLogo/index.js +9 -9
- package/organization/item/branding/squareLogoDark/index.d.ts +10 -8
- package/organization/item/branding/squareLogoDark/index.d.ts.map +1 -1
- package/organization/item/branding/squareLogoDark/index.js +9 -9
- package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts +7 -6
- package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts.map +1 -1
- package/organization/item/certificateBasedAuthConfiguration/count/index.js +7 -7
- package/organization/item/certificateBasedAuthConfiguration/index.d.ts +11 -9
- package/organization/item/certificateBasedAuthConfiguration/index.d.ts.map +1 -1
- package/organization/item/certificateBasedAuthConfiguration/index.js +9 -11
- package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts +9 -7
- package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts.map +1 -1
- package/organization/item/certificateBasedAuthConfiguration/item/index.js +9 -9
- package/organization/item/checkMemberGroups/index.d.ts +11 -10
- package/organization/item/checkMemberGroups/index.d.ts.map +1 -1
- package/organization/item/checkMemberGroups/index.js +11 -11
- package/organization/item/checkMemberObjects/index.d.ts +11 -10
- package/organization/item/checkMemberObjects/index.d.ts.map +1 -1
- package/organization/item/checkMemberObjects/index.js +11 -11
- package/organization/item/extensions/count/index.d.ts +7 -6
- package/organization/item/extensions/count/index.d.ts.map +1 -1
- package/organization/item/extensions/count/index.js +7 -7
- package/organization/item/extensions/index.d.ts +11 -9
- package/organization/item/extensions/index.d.ts.map +1 -1
- package/organization/item/extensions/index.js +9 -11
- package/organization/item/extensions/item/index.d.ts +12 -9
- package/organization/item/extensions/item/index.d.ts.map +1 -1
- package/organization/item/extensions/item/index.js +11 -11
- package/organization/item/getMemberGroups/index.d.ts +11 -10
- package/organization/item/getMemberGroups/index.d.ts.map +1 -1
- package/organization/item/getMemberGroups/index.js +11 -11
- package/organization/item/getMemberObjects/index.d.ts +11 -10
- package/organization/item/getMemberObjects/index.d.ts.map +1 -1
- package/organization/item/getMemberObjects/index.js +11 -11
- package/organization/item/index.d.ts +12 -9
- package/organization/item/index.d.ts.map +1 -1
- package/organization/item/index.js +11 -20
- package/organization/item/restore/index.d.ts +7 -6
- package/organization/item/restore/index.d.ts.map +1 -1
- package/organization/item/restore/index.js +7 -7
- package/organization/item/setMobileDeviceManagementAuthority/index.d.ts +9 -8
- package/organization/item/setMobileDeviceManagementAuthority/index.d.ts.map +1 -1
- package/organization/item/setMobileDeviceManagementAuthority/index.js +9 -9
- package/organization/validateProperties/index.d.ts +8 -7
- package/organization/validateProperties/index.d.ts.map +1 -1
- package/organization/validateProperties/index.js +9 -9
- package/organizationServiceClient.d.ts.map +1 -1
- package/organizationServiceClient.js +1 -2
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
package/organization/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.OrganizationRequestBuilderRequestsMetadata = exports.OrganizationRequestBuilderNavigationMetadata = exports.OrganizationRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -12,6 +12,10 @@ const getAvailableExtensionProperties_1 = require("./getAvailableExtensionProper
|
|
|
12
12
|
const getByIds_1 = require("./getByIds/");
|
|
13
13
|
const item_1 = require("./item/");
|
|
14
14
|
const validateProperties_1 = require("./validateProperties/");
|
|
15
|
+
/**
|
|
16
|
+
* Uri template for the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.OrganizationRequestBuilderUriTemplate = "{+baseurl}/organization{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
15
19
|
/**
|
|
16
20
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
21
|
*/
|
|
@@ -30,29 +34,23 @@ const OrganizationRequestBuilderGetQueryParametersMapper = {
|
|
|
30
34
|
*/
|
|
31
35
|
exports.OrganizationRequestBuilderNavigationMetadata = {
|
|
32
36
|
byOrganizationId: {
|
|
33
|
-
uriTemplate: item_1.OrganizationItemRequestBuilderUriTemplate,
|
|
34
37
|
requestsMetadata: item_1.OrganizationItemRequestBuilderRequestsMetadata,
|
|
35
38
|
navigationMetadata: item_1.OrganizationItemRequestBuilderNavigationMetadata,
|
|
36
39
|
pathParametersMappings: ["organization%2Did"],
|
|
37
40
|
},
|
|
38
41
|
count: {
|
|
39
|
-
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
40
42
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
41
43
|
},
|
|
42
44
|
delta: {
|
|
43
|
-
uriTemplate: delta_1.DeltaRequestBuilderUriTemplate,
|
|
44
45
|
requestsMetadata: delta_1.DeltaRequestBuilderRequestsMetadata,
|
|
45
46
|
},
|
|
46
47
|
getAvailableExtensionProperties: {
|
|
47
|
-
uriTemplate: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderUriTemplate,
|
|
48
48
|
requestsMetadata: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata,
|
|
49
49
|
},
|
|
50
50
|
getByIds: {
|
|
51
|
-
uriTemplate: getByIds_1.GetByIdsRequestBuilderUriTemplate,
|
|
52
51
|
requestsMetadata: getByIds_1.GetByIdsRequestBuilderRequestsMetadata,
|
|
53
52
|
},
|
|
54
53
|
validateProperties: {
|
|
55
|
-
uriTemplate: validateProperties_1.ValidatePropertiesRequestBuilderUriTemplate,
|
|
56
54
|
requestsMetadata: validateProperties_1.ValidatePropertiesRequestBuilderRequestsMetadata,
|
|
57
55
|
},
|
|
58
56
|
};
|
|
@@ -61,20 +59,20 @@ exports.OrganizationRequestBuilderNavigationMetadata = {
|
|
|
61
59
|
*/
|
|
62
60
|
exports.OrganizationRequestBuilderRequestsMetadata = {
|
|
63
61
|
get: {
|
|
62
|
+
uriTemplate: exports.OrganizationRequestBuilderUriTemplate,
|
|
64
63
|
responseBodyContentType: "application/json",
|
|
65
64
|
errorMappings: {
|
|
66
|
-
|
|
67
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
65
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
68
66
|
},
|
|
69
67
|
adapterMethodName: "sendAsync",
|
|
70
68
|
responseBodyFactory: models_1.createOrganizationCollectionResponseFromDiscriminatorValue,
|
|
71
69
|
queryParametersMapper: OrganizationRequestBuilderGetQueryParametersMapper,
|
|
72
70
|
},
|
|
73
71
|
post: {
|
|
72
|
+
uriTemplate: exports.OrganizationRequestBuilderUriTemplate,
|
|
74
73
|
responseBodyContentType: "application/json",
|
|
75
74
|
errorMappings: {
|
|
76
|
-
|
|
77
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
75
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
78
76
|
},
|
|
79
77
|
adapterMethodName: "sendAsync",
|
|
80
78
|
responseBodyFactory: models_1.createOrganizationFromDiscriminatorValue,
|
|
@@ -83,9 +81,5 @@ exports.OrganizationRequestBuilderRequestsMetadata = {
|
|
|
83
81
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
84
82
|
},
|
|
85
83
|
};
|
|
86
|
-
/**
|
|
87
|
-
* Uri template for the request builder.
|
|
88
|
-
*/
|
|
89
|
-
exports.OrganizationRequestBuilderUriTemplate = "{+baseurl}/organization{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
90
84
|
/* tslint:enable */
|
|
91
85
|
/* eslint-enable */
|
|
@@ -6,7 +6,8 @@ export interface BackgroundImageRequestBuilder extends BaseRequestBuilder<Backgr
|
|
|
6
6
|
/**
|
|
7
7
|
* Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<ArrayBuffer>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
@@ -15,13 +16,14 @@ export interface BackgroundImageRequestBuilder extends BaseRequestBuilder<Backgr
|
|
|
15
16
|
* @param body Binary request body
|
|
16
17
|
* @param contentType The request body content type.
|
|
17
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
-
* @returns
|
|
19
|
+
* @returns {Promise<ArrayBuffer>}
|
|
20
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
21
|
*/
|
|
20
22
|
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
23
|
/**
|
|
22
24
|
* Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster.
|
|
23
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
26
|
+
* @returns {RequestInformation}
|
|
25
27
|
*/
|
|
26
28
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
29
|
/**
|
|
@@ -29,16 +31,16 @@ export interface BackgroundImageRequestBuilder extends BaseRequestBuilder<Backgr
|
|
|
29
31
|
* @param body Binary request body
|
|
30
32
|
* @param contentType The request body content type.
|
|
31
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
-
* @returns
|
|
34
|
+
* @returns {RequestInformation}
|
|
33
35
|
*/
|
|
34
36
|
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
37
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Metadata for all the requests in the request builder.
|
|
38
|
-
*/
|
|
39
|
-
export declare const BackgroundImageRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
38
|
/**
|
|
41
39
|
* Uri template for the request builder.
|
|
42
40
|
*/
|
|
43
41
|
export declare const BackgroundImageRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/backgroundImage";
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export declare const BackgroundImageRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
44
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,yEAAyE,CAAC;AAC/H;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAoB3D,CAAC"}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BackgroundImageRequestBuilderRequestsMetadata = exports.BackgroundImageRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.BackgroundImageRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/backgroundImage";
|
|
8
12
|
/**
|
|
9
13
|
* Metadata for all the requests in the request builder.
|
|
10
14
|
*/
|
|
11
15
|
exports.BackgroundImageRequestBuilderRequestsMetadata = {
|
|
12
16
|
get: {
|
|
17
|
+
uriTemplate: exports.BackgroundImageRequestBuilderUriTemplate,
|
|
13
18
|
responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
|
|
14
19
|
errorMappings: {
|
|
15
|
-
|
|
16
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
20
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
21
|
},
|
|
18
22
|
adapterMethodName: "sendPrimitiveAsync",
|
|
19
23
|
responseBodyFactory: "ArrayBuffer",
|
|
20
24
|
},
|
|
21
25
|
put: {
|
|
26
|
+
uriTemplate: exports.BackgroundImageRequestBuilderUriTemplate,
|
|
22
27
|
responseBodyContentType: "application/json",
|
|
23
28
|
errorMappings: {
|
|
24
|
-
|
|
25
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
29
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
30
|
},
|
|
27
31
|
adapterMethodName: "sendPrimitiveAsync",
|
|
28
32
|
responseBodyFactory: "ArrayBuffer",
|
|
29
33
|
requestInformationContentSetMethod: "setStreamContent",
|
|
30
34
|
},
|
|
31
35
|
};
|
|
32
|
-
/**
|
|
33
|
-
* Uri template for the request builder.
|
|
34
|
-
*/
|
|
35
|
-
exports.BackgroundImageRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/backgroundImage";
|
|
36
36
|
/* tslint:enable */
|
|
37
37
|
/* eslint-enable */
|
|
@@ -6,7 +6,8 @@ export interface BannerLogoRequestBuilder extends BaseRequestBuilder<BannerLogoR
|
|
|
6
6
|
/**
|
|
7
7
|
* A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<ArrayBuffer>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
@@ -15,13 +16,14 @@ export interface BannerLogoRequestBuilder extends BaseRequestBuilder<BannerLogoR
|
|
|
15
16
|
* @param body Binary request body
|
|
16
17
|
* @param contentType The request body content type.
|
|
17
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
-
* @returns
|
|
19
|
+
* @returns {Promise<ArrayBuffer>}
|
|
20
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
21
|
*/
|
|
20
22
|
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
23
|
/**
|
|
22
24
|
* A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
|
|
23
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
26
|
+
* @returns {RequestInformation}
|
|
25
27
|
*/
|
|
26
28
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
29
|
/**
|
|
@@ -29,16 +31,16 @@ export interface BannerLogoRequestBuilder extends BaseRequestBuilder<BannerLogoR
|
|
|
29
31
|
* @param body Binary request body
|
|
30
32
|
* @param contentType The request body content type.
|
|
31
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
-
* @returns
|
|
34
|
+
* @returns {RequestInformation}
|
|
33
35
|
*/
|
|
34
36
|
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
37
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Metadata for all the requests in the request builder.
|
|
38
|
-
*/
|
|
39
|
-
export declare const BannerLogoRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
38
|
/**
|
|
41
39
|
* Uri template for the request builder.
|
|
42
40
|
*/
|
|
43
41
|
export declare const BannerLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/bannerLogo";
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export declare const BannerLogoRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
44
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,oEAAoE,CAAC;AACrH;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAoBtD,CAAC"}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BannerLogoRequestBuilderRequestsMetadata = exports.BannerLogoRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.BannerLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/bannerLogo";
|
|
8
12
|
/**
|
|
9
13
|
* Metadata for all the requests in the request builder.
|
|
10
14
|
*/
|
|
11
15
|
exports.BannerLogoRequestBuilderRequestsMetadata = {
|
|
12
16
|
get: {
|
|
17
|
+
uriTemplate: exports.BannerLogoRequestBuilderUriTemplate,
|
|
13
18
|
responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
|
|
14
19
|
errorMappings: {
|
|
15
|
-
|
|
16
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
20
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
21
|
},
|
|
18
22
|
adapterMethodName: "sendPrimitiveAsync",
|
|
19
23
|
responseBodyFactory: "ArrayBuffer",
|
|
20
24
|
},
|
|
21
25
|
put: {
|
|
26
|
+
uriTemplate: exports.BannerLogoRequestBuilderUriTemplate,
|
|
22
27
|
responseBodyContentType: "application/json",
|
|
23
28
|
errorMappings: {
|
|
24
|
-
|
|
25
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
29
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
30
|
},
|
|
27
31
|
adapterMethodName: "sendPrimitiveAsync",
|
|
28
32
|
responseBodyFactory: "ArrayBuffer",
|
|
29
33
|
requestInformationContentSetMethod: "setStreamContent",
|
|
30
34
|
},
|
|
31
35
|
};
|
|
32
|
-
/**
|
|
33
|
-
* Uri template for the request builder.
|
|
34
|
-
*/
|
|
35
|
-
exports.BannerLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/bannerLogo";
|
|
36
36
|
/* tslint:enable */
|
|
37
37
|
/* eslint-enable */
|
|
@@ -6,7 +6,8 @@ export interface CustomCSSRequestBuilder extends BaseRequestBuilder<CustomCSSReq
|
|
|
6
6
|
/**
|
|
7
7
|
* CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<ArrayBuffer>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
@@ -15,13 +16,14 @@ export interface CustomCSSRequestBuilder extends BaseRequestBuilder<CustomCSSReq
|
|
|
15
16
|
* @param body Binary request body
|
|
16
17
|
* @param contentType The request body content type.
|
|
17
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
-
* @returns
|
|
19
|
+
* @returns {Promise<ArrayBuffer>}
|
|
20
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
21
|
*/
|
|
20
22
|
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
23
|
/**
|
|
22
24
|
* CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
|
|
23
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
26
|
+
* @returns {RequestInformation}
|
|
25
27
|
*/
|
|
26
28
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
29
|
/**
|
|
@@ -29,16 +31,16 @@ export interface CustomCSSRequestBuilder extends BaseRequestBuilder<CustomCSSReq
|
|
|
29
31
|
* @param body Binary request body
|
|
30
32
|
* @param contentType The request body content type.
|
|
31
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
-
* @returns
|
|
34
|
+
* @returns {RequestInformation}
|
|
33
35
|
*/
|
|
34
36
|
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
37
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Metadata for all the requests in the request builder.
|
|
38
|
-
*/
|
|
39
|
-
export declare const CustomCSSRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
38
|
/**
|
|
41
39
|
* Uri template for the request builder.
|
|
42
40
|
*/
|
|
43
41
|
export declare const CustomCSSRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/customCSS";
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export declare const CustomCSSRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
44
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,mEAAmE,CAAC;AACnH;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAoBrD,CAAC"}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CustomCSSRequestBuilderRequestsMetadata = exports.CustomCSSRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.CustomCSSRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/customCSS";
|
|
8
12
|
/**
|
|
9
13
|
* Metadata for all the requests in the request builder.
|
|
10
14
|
*/
|
|
11
15
|
exports.CustomCSSRequestBuilderRequestsMetadata = {
|
|
12
16
|
get: {
|
|
17
|
+
uriTemplate: exports.CustomCSSRequestBuilderUriTemplate,
|
|
13
18
|
responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
|
|
14
19
|
errorMappings: {
|
|
15
|
-
|
|
16
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
20
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
21
|
},
|
|
18
22
|
adapterMethodName: "sendPrimitiveAsync",
|
|
19
23
|
responseBodyFactory: "ArrayBuffer",
|
|
20
24
|
},
|
|
21
25
|
put: {
|
|
26
|
+
uriTemplate: exports.CustomCSSRequestBuilderUriTemplate,
|
|
22
27
|
responseBodyContentType: "application/json",
|
|
23
28
|
errorMappings: {
|
|
24
|
-
|
|
25
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
29
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
30
|
},
|
|
27
31
|
adapterMethodName: "sendPrimitiveAsync",
|
|
28
32
|
responseBodyFactory: "ArrayBuffer",
|
|
29
33
|
requestInformationContentSetMethod: "setStreamContent",
|
|
30
34
|
},
|
|
31
35
|
};
|
|
32
|
-
/**
|
|
33
|
-
* Uri template for the request builder.
|
|
34
|
-
*/
|
|
35
|
-
exports.CustomCSSRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/customCSS";
|
|
36
36
|
/* tslint:enable */
|
|
37
37
|
/* eslint-enable */
|
|
@@ -6,7 +6,8 @@ export interface FaviconRequestBuilder extends BaseRequestBuilder<FaviconRequest
|
|
|
6
6
|
/**
|
|
7
7
|
* A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<ArrayBuffer>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
@@ -15,13 +16,14 @@ export interface FaviconRequestBuilder extends BaseRequestBuilder<FaviconRequest
|
|
|
15
16
|
* @param body Binary request body
|
|
16
17
|
* @param contentType The request body content type.
|
|
17
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
-
* @returns
|
|
19
|
+
* @returns {Promise<ArrayBuffer>}
|
|
20
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
21
|
*/
|
|
20
22
|
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
23
|
/**
|
|
22
24
|
* A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
|
|
23
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
26
|
+
* @returns {RequestInformation}
|
|
25
27
|
*/
|
|
26
28
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
29
|
/**
|
|
@@ -29,16 +31,16 @@ export interface FaviconRequestBuilder extends BaseRequestBuilder<FaviconRequest
|
|
|
29
31
|
* @param body Binary request body
|
|
30
32
|
* @param contentType The request body content type.
|
|
31
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
-
* @returns
|
|
34
|
+
* @returns {RequestInformation}
|
|
33
35
|
*/
|
|
34
36
|
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
37
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Metadata for all the requests in the request builder.
|
|
38
|
-
*/
|
|
39
|
-
export declare const FaviconRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
38
|
/**
|
|
41
39
|
* Uri template for the request builder.
|
|
42
40
|
*/
|
|
43
41
|
export declare const FaviconRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/favicon";
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export declare const FaviconRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
44
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,iEAAiE,CAAC;AAC/G;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAoBnD,CAAC"}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.FaviconRequestBuilderRequestsMetadata = exports.FaviconRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.FaviconRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/favicon";
|
|
8
12
|
/**
|
|
9
13
|
* Metadata for all the requests in the request builder.
|
|
10
14
|
*/
|
|
11
15
|
exports.FaviconRequestBuilderRequestsMetadata = {
|
|
12
16
|
get: {
|
|
17
|
+
uriTemplate: exports.FaviconRequestBuilderUriTemplate,
|
|
13
18
|
responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
|
|
14
19
|
errorMappings: {
|
|
15
|
-
|
|
16
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
20
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
21
|
},
|
|
18
22
|
adapterMethodName: "sendPrimitiveAsync",
|
|
19
23
|
responseBodyFactory: "ArrayBuffer",
|
|
20
24
|
},
|
|
21
25
|
put: {
|
|
26
|
+
uriTemplate: exports.FaviconRequestBuilderUriTemplate,
|
|
22
27
|
responseBodyContentType: "application/json",
|
|
23
28
|
errorMappings: {
|
|
24
|
-
|
|
25
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
29
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
30
|
},
|
|
27
31
|
adapterMethodName: "sendPrimitiveAsync",
|
|
28
32
|
responseBodyFactory: "ArrayBuffer",
|
|
29
33
|
requestInformationContentSetMethod: "setStreamContent",
|
|
30
34
|
},
|
|
31
35
|
};
|
|
32
|
-
/**
|
|
33
|
-
* Uri template for the request builder.
|
|
34
|
-
*/
|
|
35
|
-
exports.FaviconRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/favicon";
|
|
36
36
|
/* tslint:enable */
|
|
37
37
|
/* eslint-enable */
|
|
@@ -6,7 +6,8 @@ export interface HeaderLogoRequestBuilder extends BaseRequestBuilder<HeaderLogoR
|
|
|
6
6
|
/**
|
|
7
7
|
* A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<ArrayBuffer>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
12
|
*/
|
|
12
13
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
@@ -15,13 +16,14 @@ export interface HeaderLogoRequestBuilder extends BaseRequestBuilder<HeaderLogoR
|
|
|
15
16
|
* @param body Binary request body
|
|
16
17
|
* @param contentType The request body content type.
|
|
17
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
-
* @returns
|
|
19
|
+
* @returns {Promise<ArrayBuffer>}
|
|
20
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
19
21
|
*/
|
|
20
22
|
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
23
|
/**
|
|
22
24
|
* A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
|
|
23
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
26
|
+
* @returns {RequestInformation}
|
|
25
27
|
*/
|
|
26
28
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
29
|
/**
|
|
@@ -29,16 +31,16 @@ export interface HeaderLogoRequestBuilder extends BaseRequestBuilder<HeaderLogoR
|
|
|
29
31
|
* @param body Binary request body
|
|
30
32
|
* @param contentType The request body content type.
|
|
31
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
-
* @returns
|
|
34
|
+
* @returns {RequestInformation}
|
|
33
35
|
*/
|
|
34
36
|
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
37
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Metadata for all the requests in the request builder.
|
|
38
|
-
*/
|
|
39
|
-
export declare const HeaderLogoRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
38
|
/**
|
|
41
39
|
* Uri template for the request builder.
|
|
42
40
|
*/
|
|
43
41
|
export declare const HeaderLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/headerLogo";
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export declare const HeaderLogoRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
44
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,oEAAoE,CAAC;AACrH;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAoBtD,CAAC"}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.HeaderLogoRequestBuilderRequestsMetadata = exports.HeaderLogoRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.HeaderLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/headerLogo";
|
|
8
12
|
/**
|
|
9
13
|
* Metadata for all the requests in the request builder.
|
|
10
14
|
*/
|
|
11
15
|
exports.HeaderLogoRequestBuilderRequestsMetadata = {
|
|
12
16
|
get: {
|
|
17
|
+
uriTemplate: exports.HeaderLogoRequestBuilderUriTemplate,
|
|
13
18
|
responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
|
|
14
19
|
errorMappings: {
|
|
15
|
-
|
|
16
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
20
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
21
|
},
|
|
18
22
|
adapterMethodName: "sendPrimitiveAsync",
|
|
19
23
|
responseBodyFactory: "ArrayBuffer",
|
|
20
24
|
},
|
|
21
25
|
put: {
|
|
26
|
+
uriTemplate: exports.HeaderLogoRequestBuilderUriTemplate,
|
|
22
27
|
responseBodyContentType: "application/json",
|
|
23
28
|
errorMappings: {
|
|
24
|
-
|
|
25
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
29
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
30
|
},
|
|
27
31
|
adapterMethodName: "sendPrimitiveAsync",
|
|
28
32
|
responseBodyFactory: "ArrayBuffer",
|
|
29
33
|
requestInformationContentSetMethod: "setStreamContent",
|
|
30
34
|
},
|
|
31
35
|
};
|
|
32
|
-
/**
|
|
33
|
-
* Uri template for the request builder.
|
|
34
|
-
*/
|
|
35
|
-
exports.HeaderLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/headerLogo";
|
|
36
36
|
/* tslint:enable */
|
|
37
37
|
/* eslint-enable */
|