@microsoft/msgraph-sdk-organization 1.0.0-preview.10
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/LICENSE +21 -0
- package/README.md +11 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/organization/count/index.d.ts +40 -0
- package/organization/count/index.d.ts.map +1 -0
- package/organization/count/index.js +35 -0
- package/organization/delta/index.d.ts +83 -0
- package/organization/delta/index.d.ts.map +1 -0
- package/organization/delta/index.js +67 -0
- package/organization/getAvailableExtensionProperties/index.d.ts +83 -0
- package/organization/getAvailableExtensionProperties/index.d.ts.map +1 -0
- package/organization/getAvailableExtensionProperties/index.js +86 -0
- package/organization/getByIds/index.d.ts +87 -0
- package/organization/getByIds/index.d.ts.map +1 -0
- package/organization/getByIds/index.js +88 -0
- package/organization/index.d.ts +116 -0
- package/organization/index.d.ts.map +1 -0
- package/organization/index.js +91 -0
- package/organization/item/branding/backgroundImage/index.d.ts +44 -0
- package/organization/item/branding/backgroundImage/index.d.ts.map +1 -0
- package/organization/item/branding/backgroundImage/index.js +37 -0
- package/organization/item/branding/bannerLogo/index.d.ts +44 -0
- package/organization/item/branding/bannerLogo/index.d.ts.map +1 -0
- package/organization/item/branding/bannerLogo/index.js +37 -0
- package/organization/item/branding/customCSS/index.d.ts +44 -0
- package/organization/item/branding/customCSS/index.d.ts.map +1 -0
- package/organization/item/branding/customCSS/index.js +37 -0
- package/organization/item/branding/favicon/index.d.ts +44 -0
- package/organization/item/branding/favicon/index.d.ts.map +1 -0
- package/organization/item/branding/favicon/index.js +37 -0
- package/organization/item/branding/headerLogo/index.d.ts +44 -0
- package/organization/item/branding/headerLogo/index.d.ts.map +1 -0
- package/organization/item/branding/headerLogo/index.js +37 -0
- package/organization/item/branding/index.d.ts +113 -0
- package/organization/item/branding/index.d.ts.map +1 -0
- package/organization/item/branding/index.js +102 -0
- package/organization/item/branding/localizations/count/index.d.ts +40 -0
- package/organization/item/branding/localizations/count/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/count/index.js +35 -0
- package/organization/item/branding/localizations/index.d.ts +97 -0
- package/organization/item/branding/localizations/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/index.js +71 -0
- package/organization/item/branding/localizations/item/backgroundImage/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/backgroundImage/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/backgroundImage/index.js +37 -0
- package/organization/item/branding/localizations/item/bannerLogo/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/bannerLogo/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/bannerLogo/index.js +37 -0
- package/organization/item/branding/localizations/item/customCSS/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/customCSS/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/customCSS/index.js +37 -0
- package/organization/item/branding/localizations/item/favicon/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/favicon/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/favicon/index.js +37 -0
- package/organization/item/branding/localizations/item/headerLogo/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/headerLogo/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/headerLogo/index.js +37 -0
- package/organization/item/branding/localizations/item/index.d.ts +108 -0
- package/organization/item/branding/localizations/item/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/index.js +96 -0
- package/organization/item/branding/localizations/item/squareLogo/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/squareLogo/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/squareLogo/index.js +37 -0
- package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts +44 -0
- package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts.map +1 -0
- package/organization/item/branding/localizations/item/squareLogoDark/index.js +37 -0
- package/organization/item/branding/squareLogo/index.d.ts +44 -0
- package/organization/item/branding/squareLogo/index.d.ts.map +1 -0
- package/organization/item/branding/squareLogo/index.js +37 -0
- package/organization/item/branding/squareLogoDark/index.d.ts +44 -0
- package/organization/item/branding/squareLogoDark/index.d.ts.map +1 -0
- package/organization/item/branding/squareLogoDark/index.js +37 -0
- package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts +40 -0
- package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts.map +1 -0
- package/organization/item/certificateBasedAuthConfiguration/count/index.js +35 -0
- package/organization/item/certificateBasedAuthConfiguration/index.d.ts +97 -0
- package/organization/item/certificateBasedAuthConfiguration/index.d.ts.map +1 -0
- package/organization/item/certificateBasedAuthConfiguration/index.js +70 -0
- package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts +54 -0
- package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts.map +1 -0
- package/organization/item/certificateBasedAuthConfiguration/item/index.js +44 -0
- package/organization/item/checkMemberGroups/index.d.ts +83 -0
- package/organization/item/checkMemberGroups/index.d.ts.map +1 -0
- package/organization/item/checkMemberGroups/index.js +86 -0
- package/organization/item/checkMemberObjects/index.d.ts +82 -0
- package/organization/item/checkMemberObjects/index.d.ts.map +1 -0
- package/organization/item/checkMemberObjects/index.js +86 -0
- package/organization/item/extensions/count/index.d.ts +40 -0
- package/organization/item/extensions/count/index.d.ts.map +1 -0
- package/organization/item/extensions/count/index.js +35 -0
- package/organization/item/extensions/index.d.ts +95 -0
- package/organization/item/extensions/index.d.ts.map +1 -0
- package/organization/item/extensions/index.js +70 -0
- package/organization/item/extensions/item/index.d.ts +66 -0
- package/organization/item/extensions/item/index.d.ts.map +1 -0
- package/organization/item/extensions/item/index.js +56 -0
- package/organization/item/getMemberGroups/index.d.ts +83 -0
- package/organization/item/getMemberGroups/index.d.ts.map +1 -0
- package/organization/item/getMemberGroups/index.js +86 -0
- package/organization/item/getMemberObjects/index.d.ts +83 -0
- package/organization/item/getMemberObjects/index.d.ts.map +1 -0
- package/organization/item/getMemberObjects/index.js +86 -0
- package/organization/item/index.d.ts +117 -0
- package/organization/item/index.d.ts.map +1 -0
- package/organization/item/index.js +109 -0
- package/organization/item/restore/index.d.ts +29 -0
- package/organization/item/restore/index.d.ts.map +1 -0
- package/organization/item/restore/index.js +28 -0
- package/organization/item/setMobileDeviceManagementAuthority/index.d.ts +58 -0
- package/organization/item/setMobileDeviceManagementAuthority/index.d.ts.map +1 -0
- package/organization/item/setMobileDeviceManagementAuthority/index.js +56 -0
- package/organization/validateProperties/index.d.ts +72 -0
- package/organization/validateProperties/index.d.ts.map +1 -0
- package/organization/validateProperties/index.js +64 -0
- package/organizationServiceClient.d.ts +25 -0
- package/organizationServiceClient.d.ts.map +1 -0
- package/organizationServiceClient.js +49 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetByIdsRequestBuilderUriTemplate = exports.GetByIdsRequestBuilderRequestsMetadata = exports.serializeGetByIdsPostResponse = exports.serializeGetByIdsPostRequestBody = exports.deserializeIntoGetByIdsPostResponse = exports.deserializeIntoGetByIdsPostRequestBody = exports.createGetByIdsPostResponseFromDiscriminatorValue = exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns a getByIdsPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createGetByIdsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoGetByIdsPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = createGetByIdsPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns a getByIdsPostResponse
|
|
22
|
+
*/
|
|
23
|
+
function createGetByIdsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoGetByIdsPostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createGetByIdsPostResponseFromDiscriminatorValue = createGetByIdsPostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoGetByIdsPostRequestBody(getByIdsPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { getByIdsPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"ids": n => { getByIdsPostRequestBody.ids = n.getCollectionOfPrimitiveValues(); },
|
|
35
|
+
"types": n => { getByIdsPostRequestBody.types = n.getCollectionOfPrimitiveValues(); },
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.deserializeIntoGetByIdsPostRequestBody = deserializeIntoGetByIdsPostRequestBody;
|
|
39
|
+
/**
|
|
40
|
+
* The deserialization information for the current model
|
|
41
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
42
|
+
*/
|
|
43
|
+
function deserializeIntoGetByIdsPostResponse(getByIdsPostResponse = {}) {
|
|
44
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getByIdsPostResponse)), { "value": n => { getByIdsPostResponse.value = n.getCollectionOfObjectValues(models_1.createDirectoryObjectFromDiscriminatorValue); } });
|
|
45
|
+
}
|
|
46
|
+
exports.deserializeIntoGetByIdsPostResponse = deserializeIntoGetByIdsPostResponse;
|
|
47
|
+
/**
|
|
48
|
+
* Serializes information the current object
|
|
49
|
+
* @param writer Serialization writer to use to serialize this model
|
|
50
|
+
*/
|
|
51
|
+
function serializeGetByIdsPostRequestBody(writer, getByIdsPostRequestBody = {}) {
|
|
52
|
+
writer.writeCollectionOfPrimitiveValues("ids", getByIdsPostRequestBody.ids);
|
|
53
|
+
writer.writeCollectionOfPrimitiveValues("types", getByIdsPostRequestBody.types);
|
|
54
|
+
writer.writeAdditionalData(getByIdsPostRequestBody.additionalData);
|
|
55
|
+
}
|
|
56
|
+
exports.serializeGetByIdsPostRequestBody = serializeGetByIdsPostRequestBody;
|
|
57
|
+
/**
|
|
58
|
+
* Serializes information the current object
|
|
59
|
+
* @param writer Serialization writer to use to serialize this model
|
|
60
|
+
*/
|
|
61
|
+
function serializeGetByIdsPostResponse(writer, getByIdsPostResponse = {}) {
|
|
62
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getByIdsPostResponse);
|
|
63
|
+
writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, models_1.serializeDirectoryObject);
|
|
64
|
+
}
|
|
65
|
+
exports.serializeGetByIdsPostResponse = serializeGetByIdsPostResponse;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.GetByIdsRequestBuilderRequestsMetadata = {
|
|
70
|
+
post: {
|
|
71
|
+
responseBodyContentType: "application/json",
|
|
72
|
+
errorMappings: {
|
|
73
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
74
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
75
|
+
},
|
|
76
|
+
adapterMethodName: "sendAsync",
|
|
77
|
+
responseBodyFactory: createGetByIdsPostResponseFromDiscriminatorValue,
|
|
78
|
+
requestBodyContentType: "application/json",
|
|
79
|
+
requestBodySerializer: serializeGetByIdsPostRequestBody,
|
|
80
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Uri template for the request builder.
|
|
85
|
+
*/
|
|
86
|
+
exports.GetByIdsRequestBuilderUriTemplate = "{+baseurl}/organization/getByIds";
|
|
87
|
+
/* tslint:enable */
|
|
88
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { type Organization, type OrganizationCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type DeltaRequestBuilder } from './delta/';
|
|
4
|
+
import { type GetAvailableExtensionPropertiesRequestBuilder } from './getAvailableExtensionProperties/';
|
|
5
|
+
import { type GetByIdsRequestBuilder } from './getByIds/';
|
|
6
|
+
import { type OrganizationItemRequestBuilder } from './item/';
|
|
7
|
+
import { type ValidatePropertiesRequestBuilder } from './validateProperties/';
|
|
8
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the collection of organization entities.
|
|
11
|
+
*/
|
|
12
|
+
export interface OrganizationRequestBuilder extends BaseRequestBuilder<OrganizationRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to count the resources in the collection.
|
|
15
|
+
*/
|
|
16
|
+
get count(): CountRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Provides operations to call the delta method.
|
|
19
|
+
*/
|
|
20
|
+
get delta(): DeltaRequestBuilder;
|
|
21
|
+
/**
|
|
22
|
+
* Provides operations to call the getAvailableExtensionProperties method.
|
|
23
|
+
*/
|
|
24
|
+
get getAvailableExtensionProperties(): GetAvailableExtensionPropertiesRequestBuilder;
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the getByIds method.
|
|
27
|
+
*/
|
|
28
|
+
get getByIds(): GetByIdsRequestBuilder;
|
|
29
|
+
/**
|
|
30
|
+
* Provides operations to call the validateProperties method.
|
|
31
|
+
*/
|
|
32
|
+
get validateProperties(): ValidatePropertiesRequestBuilder;
|
|
33
|
+
/**
|
|
34
|
+
* Provides operations to manage the collection of organization entities.
|
|
35
|
+
* @param organizationId The unique identifier of organization
|
|
36
|
+
* @returns a OrganizationItemRequestBuilder
|
|
37
|
+
*/
|
|
38
|
+
byOrganizationId(organizationId: string): OrganizationItemRequestBuilder;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve a list of organization objects. There's only one organization object in the collection.
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a Promise of OrganizationCollectionResponse
|
|
43
|
+
* @see {@link https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0|Find more info here}
|
|
44
|
+
*/
|
|
45
|
+
get(requestConfiguration?: RequestConfiguration<OrganizationRequestBuilderGetQueryParameters> | undefined): Promise<OrganizationCollectionResponse | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Add new entity to organization
|
|
48
|
+
* @param body The request body
|
|
49
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
50
|
+
* @returns a Promise of Organization
|
|
51
|
+
*/
|
|
52
|
+
post(body: Organization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Organization | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Retrieve a list of organization objects. There's only one organization object in the collection.
|
|
55
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
|
+
* @returns a RequestInformation
|
|
57
|
+
*/
|
|
58
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrganizationRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
59
|
+
/**
|
|
60
|
+
* Add new entity to organization
|
|
61
|
+
* @param body The request body
|
|
62
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
63
|
+
* @returns a RequestInformation
|
|
64
|
+
*/
|
|
65
|
+
toPostRequestInformation(body: Organization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Retrieve a list of organization objects. There's only one organization object in the collection.
|
|
69
|
+
*/
|
|
70
|
+
export interface OrganizationRequestBuilderGetQueryParameters {
|
|
71
|
+
/**
|
|
72
|
+
* Include count of items
|
|
73
|
+
*/
|
|
74
|
+
count?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Expand related entities
|
|
77
|
+
*/
|
|
78
|
+
expand?: string[];
|
|
79
|
+
/**
|
|
80
|
+
* Filter items by property values
|
|
81
|
+
*/
|
|
82
|
+
filter?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Order items by property values
|
|
85
|
+
*/
|
|
86
|
+
orderby?: string[];
|
|
87
|
+
/**
|
|
88
|
+
* Search items by search phrases
|
|
89
|
+
*/
|
|
90
|
+
search?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Select properties to be returned
|
|
93
|
+
*/
|
|
94
|
+
select?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* Skip the first n items
|
|
97
|
+
*/
|
|
98
|
+
skip?: number;
|
|
99
|
+
/**
|
|
100
|
+
* Show only the first n items
|
|
101
|
+
*/
|
|
102
|
+
top?: number;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Metadata for all the navigation properties in the request builder.
|
|
106
|
+
*/
|
|
107
|
+
export declare const OrganizationRequestBuilderNavigationMetadata: Record<Exclude<keyof OrganizationRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
108
|
+
/**
|
|
109
|
+
* Metadata for all the requests in the request builder.
|
|
110
|
+
*/
|
|
111
|
+
export declare const OrganizationRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
112
|
+
/**
|
|
113
|
+
* Uri template for the request builder.
|
|
114
|
+
*/
|
|
115
|
+
export declare const OrganizationRequestBuilderUriTemplate = "{+baseurl}/organization{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
116
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+H,KAAK,YAAY,EAAE,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAErO,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA2H,KAAK,6CAA6C,EAAE,MAAM,oCAAoC,CAAC;AACjO,OAAO,EAA6E,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrI,OAAO,EAA+I,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAC3M,OAAO,EAAE,KAAK,gCAAgC,EAAiG,MAAM,uBAAuB,CAAC;AAC7K,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,+BAA+B,IAAI,6CAA6C,CAAC;IACrF;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;;;OAIG;IACF,gBAAgB,CAAC,cAAc,EAAE,MAAM,GAAI,8BAA8B,CAAC;IAC3E;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAClK;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC/H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA2BlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,yGAAyG,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganizationRequestBuilderUriTemplate = exports.OrganizationRequestBuilderRequestsMetadata = exports.OrganizationRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const delta_1 = require("./delta/");
|
|
11
|
+
const getAvailableExtensionProperties_1 = require("./getAvailableExtensionProperties/");
|
|
12
|
+
const getByIds_1 = require("./getByIds/");
|
|
13
|
+
const item_1 = require("./item/");
|
|
14
|
+
const validateProperties_1 = require("./validateProperties/");
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const OrganizationRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"count": "%24count",
|
|
20
|
+
"expand": "%24expand",
|
|
21
|
+
"filter": "%24filter",
|
|
22
|
+
"orderby": "%24orderby",
|
|
23
|
+
"search": "%24search",
|
|
24
|
+
"select": "%24select",
|
|
25
|
+
"skip": "%24skip",
|
|
26
|
+
"top": "%24top",
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the navigation properties in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
exports.OrganizationRequestBuilderNavigationMetadata = {
|
|
32
|
+
byOrganizationId: {
|
|
33
|
+
uriTemplate: item_1.OrganizationItemRequestBuilderUriTemplate,
|
|
34
|
+
requestsMetadata: item_1.OrganizationItemRequestBuilderRequestsMetadata,
|
|
35
|
+
navigationMetadata: item_1.OrganizationItemRequestBuilderNavigationMetadata,
|
|
36
|
+
pathParametersMappings: ["organization%2Did"],
|
|
37
|
+
},
|
|
38
|
+
count: {
|
|
39
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
40
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
41
|
+
},
|
|
42
|
+
delta: {
|
|
43
|
+
uriTemplate: delta_1.DeltaRequestBuilderUriTemplate,
|
|
44
|
+
requestsMetadata: delta_1.DeltaRequestBuilderRequestsMetadata,
|
|
45
|
+
},
|
|
46
|
+
getAvailableExtensionProperties: {
|
|
47
|
+
uriTemplate: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderUriTemplate,
|
|
48
|
+
requestsMetadata: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata,
|
|
49
|
+
},
|
|
50
|
+
getByIds: {
|
|
51
|
+
uriTemplate: getByIds_1.GetByIdsRequestBuilderUriTemplate,
|
|
52
|
+
requestsMetadata: getByIds_1.GetByIdsRequestBuilderRequestsMetadata,
|
|
53
|
+
},
|
|
54
|
+
validateProperties: {
|
|
55
|
+
uriTemplate: validateProperties_1.ValidatePropertiesRequestBuilderUriTemplate,
|
|
56
|
+
requestsMetadata: validateProperties_1.ValidatePropertiesRequestBuilderRequestsMetadata,
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Metadata for all the requests in the request builder.
|
|
61
|
+
*/
|
|
62
|
+
exports.OrganizationRequestBuilderRequestsMetadata = {
|
|
63
|
+
get: {
|
|
64
|
+
responseBodyContentType: "application/json",
|
|
65
|
+
errorMappings: {
|
|
66
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
67
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
68
|
+
},
|
|
69
|
+
adapterMethodName: "sendAsync",
|
|
70
|
+
responseBodyFactory: models_1.createOrganizationCollectionResponseFromDiscriminatorValue,
|
|
71
|
+
queryParametersMapper: OrganizationRequestBuilderGetQueryParametersMapper,
|
|
72
|
+
},
|
|
73
|
+
post: {
|
|
74
|
+
responseBodyContentType: "application/json",
|
|
75
|
+
errorMappings: {
|
|
76
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
77
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
78
|
+
},
|
|
79
|
+
adapterMethodName: "sendAsync",
|
|
80
|
+
responseBodyFactory: models_1.createOrganizationFromDiscriminatorValue,
|
|
81
|
+
requestBodyContentType: "application/json",
|
|
82
|
+
requestBodySerializer: models_1.serializeOrganization,
|
|
83
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Uri template for the request builder.
|
|
88
|
+
*/
|
|
89
|
+
exports.OrganizationRequestBuilderUriTemplate = "{+baseurl}/organization{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
90
|
+
/* tslint:enable */
|
|
91
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to manage the media for the organization entity.
|
|
4
|
+
*/
|
|
5
|
+
export interface BackgroundImageRequestBuilder extends BaseRequestBuilder<BackgroundImageRequestBuilder> {
|
|
6
|
+
/**
|
|
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
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of ArrayBuffer
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* 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.
|
|
15
|
+
* @param body Binary request body
|
|
16
|
+
* @param contentType The request body content type.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns a Promise of ArrayBuffer
|
|
19
|
+
*/
|
|
20
|
+
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* 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
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns a RequestInformation
|
|
25
|
+
*/
|
|
26
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
|
+
/**
|
|
28
|
+
* 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.
|
|
29
|
+
* @param body Binary request body
|
|
30
|
+
* @param contentType The request body content type.
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns a RequestInformation
|
|
33
|
+
*/
|
|
34
|
+
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Metadata for all the requests in the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const BackgroundImageRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
|
+
/**
|
|
41
|
+
* Uri template for the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export declare const BackgroundImageRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/backgroundImage";
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;OAMG;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,6CAA6C,EAAE,gBAoB3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,yEAAyE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BackgroundImageRequestBuilderUriTemplate = exports.BackgroundImageRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Metadata for all the requests in the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.BackgroundImageRequestBuilderRequestsMetadata = {
|
|
12
|
+
get: {
|
|
13
|
+
responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
|
|
14
|
+
errorMappings: {
|
|
15
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
16
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
},
|
|
18
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
19
|
+
responseBodyFactory: "ArrayBuffer",
|
|
20
|
+
},
|
|
21
|
+
put: {
|
|
22
|
+
responseBodyContentType: "application/json",
|
|
23
|
+
errorMappings: {
|
|
24
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
28
|
+
responseBodyFactory: "ArrayBuffer",
|
|
29
|
+
requestInformationContentSetMethod: "setStreamContent",
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Uri template for the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.BackgroundImageRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/backgroundImage";
|
|
36
|
+
/* tslint:enable */
|
|
37
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to manage the media for the organization entity.
|
|
4
|
+
*/
|
|
5
|
+
export interface BannerLogoRequestBuilder extends BaseRequestBuilder<BannerLogoRequestBuilder> {
|
|
6
|
+
/**
|
|
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
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of ArrayBuffer
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* 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.
|
|
15
|
+
* @param body Binary request body
|
|
16
|
+
* @param contentType The request body content type.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns a Promise of ArrayBuffer
|
|
19
|
+
*/
|
|
20
|
+
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* 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
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns a RequestInformation
|
|
25
|
+
*/
|
|
26
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
|
+
/**
|
|
28
|
+
* 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.
|
|
29
|
+
* @param body Binary request body
|
|
30
|
+
* @param contentType The request body content type.
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns a RequestInformation
|
|
33
|
+
*/
|
|
34
|
+
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Metadata for all the requests in the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const BannerLogoRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
|
+
/**
|
|
41
|
+
* Uri template for the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export declare const BannerLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/bannerLogo";
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;OAMG;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,EAAE,gBAoBtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,oEAAoE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BannerLogoRequestBuilderUriTemplate = exports.BannerLogoRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Metadata for all the requests in the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.BannerLogoRequestBuilderRequestsMetadata = {
|
|
12
|
+
get: {
|
|
13
|
+
responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
|
|
14
|
+
errorMappings: {
|
|
15
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
16
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
},
|
|
18
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
19
|
+
responseBodyFactory: "ArrayBuffer",
|
|
20
|
+
},
|
|
21
|
+
put: {
|
|
22
|
+
responseBodyContentType: "application/json",
|
|
23
|
+
errorMappings: {
|
|
24
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
28
|
+
responseBodyFactory: "ArrayBuffer",
|
|
29
|
+
requestInformationContentSetMethod: "setStreamContent",
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Uri template for the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.BannerLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/bannerLogo";
|
|
36
|
+
/* tslint:enable */
|
|
37
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to manage the media for the organization entity.
|
|
4
|
+
*/
|
|
5
|
+
export interface CustomCSSRequestBuilder extends BaseRequestBuilder<CustomCSSRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of ArrayBuffer
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
|
|
15
|
+
* @param body Binary request body
|
|
16
|
+
* @param contentType The request body content type.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns a Promise of ArrayBuffer
|
|
19
|
+
*/
|
|
20
|
+
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns a RequestInformation
|
|
25
|
+
*/
|
|
26
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
|
+
/**
|
|
28
|
+
* CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
|
|
29
|
+
* @param body Binary request body
|
|
30
|
+
* @param contentType The request body content type.
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns a RequestInformation
|
|
33
|
+
*/
|
|
34
|
+
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Metadata for all the requests in the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CustomCSSRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
|
+
/**
|
|
41
|
+
* Uri template for the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export declare const CustomCSSRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/customCSS";
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;OAMG;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,uCAAuC,EAAE,gBAoBrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomCSSRequestBuilderUriTemplate = exports.CustomCSSRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Metadata for all the requests in the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.CustomCSSRequestBuilderRequestsMetadata = {
|
|
12
|
+
get: {
|
|
13
|
+
responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
|
|
14
|
+
errorMappings: {
|
|
15
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
16
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
},
|
|
18
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
19
|
+
responseBodyFactory: "ArrayBuffer",
|
|
20
|
+
},
|
|
21
|
+
put: {
|
|
22
|
+
responseBodyContentType: "application/json",
|
|
23
|
+
errorMappings: {
|
|
24
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
28
|
+
responseBodyFactory: "ArrayBuffer",
|
|
29
|
+
requestInformationContentSetMethod: "setStreamContent",
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Uri template for the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.CustomCSSRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/customCSS";
|
|
36
|
+
/* tslint:enable */
|
|
37
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to manage the media for the organization entity.
|
|
4
|
+
*/
|
|
5
|
+
export interface FaviconRequestBuilder extends BaseRequestBuilder<FaviconRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of ArrayBuffer
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
|
|
15
|
+
* @param body Binary request body
|
|
16
|
+
* @param contentType The request body content type.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns a Promise of ArrayBuffer
|
|
19
|
+
*/
|
|
20
|
+
put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
21
|
+
/**
|
|
22
|
+
* A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @returns a RequestInformation
|
|
25
|
+
*/
|
|
26
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
27
|
+
/**
|
|
28
|
+
* A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
|
|
29
|
+
* @param body Binary request body
|
|
30
|
+
* @param contentType The request body content type.
|
|
31
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
+
* @returns a RequestInformation
|
|
33
|
+
*/
|
|
34
|
+
toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Metadata for all the requests in the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const FaviconRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
40
|
+
/**
|
|
41
|
+
* Uri template for the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export declare const FaviconRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/favicon";
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;OAMG;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,qCAAqC,EAAE,gBAoBnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,iEAAiE,CAAC"}
|