@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.
Files changed (122) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/index.d.ts +11 -0
  4. package/index.d.ts.map +1 -0
  5. package/index.js +20 -0
  6. package/organization/count/index.d.ts +40 -0
  7. package/organization/count/index.d.ts.map +1 -0
  8. package/organization/count/index.js +35 -0
  9. package/organization/delta/index.d.ts +83 -0
  10. package/organization/delta/index.d.ts.map +1 -0
  11. package/organization/delta/index.js +67 -0
  12. package/organization/getAvailableExtensionProperties/index.d.ts +83 -0
  13. package/organization/getAvailableExtensionProperties/index.d.ts.map +1 -0
  14. package/organization/getAvailableExtensionProperties/index.js +86 -0
  15. package/organization/getByIds/index.d.ts +87 -0
  16. package/organization/getByIds/index.d.ts.map +1 -0
  17. package/organization/getByIds/index.js +88 -0
  18. package/organization/index.d.ts +116 -0
  19. package/organization/index.d.ts.map +1 -0
  20. package/organization/index.js +91 -0
  21. package/organization/item/branding/backgroundImage/index.d.ts +44 -0
  22. package/organization/item/branding/backgroundImage/index.d.ts.map +1 -0
  23. package/organization/item/branding/backgroundImage/index.js +37 -0
  24. package/organization/item/branding/bannerLogo/index.d.ts +44 -0
  25. package/organization/item/branding/bannerLogo/index.d.ts.map +1 -0
  26. package/organization/item/branding/bannerLogo/index.js +37 -0
  27. package/organization/item/branding/customCSS/index.d.ts +44 -0
  28. package/organization/item/branding/customCSS/index.d.ts.map +1 -0
  29. package/organization/item/branding/customCSS/index.js +37 -0
  30. package/organization/item/branding/favicon/index.d.ts +44 -0
  31. package/organization/item/branding/favicon/index.d.ts.map +1 -0
  32. package/organization/item/branding/favicon/index.js +37 -0
  33. package/organization/item/branding/headerLogo/index.d.ts +44 -0
  34. package/organization/item/branding/headerLogo/index.d.ts.map +1 -0
  35. package/organization/item/branding/headerLogo/index.js +37 -0
  36. package/organization/item/branding/index.d.ts +113 -0
  37. package/organization/item/branding/index.d.ts.map +1 -0
  38. package/organization/item/branding/index.js +102 -0
  39. package/organization/item/branding/localizations/count/index.d.ts +40 -0
  40. package/organization/item/branding/localizations/count/index.d.ts.map +1 -0
  41. package/organization/item/branding/localizations/count/index.js +35 -0
  42. package/organization/item/branding/localizations/index.d.ts +97 -0
  43. package/organization/item/branding/localizations/index.d.ts.map +1 -0
  44. package/organization/item/branding/localizations/index.js +71 -0
  45. package/organization/item/branding/localizations/item/backgroundImage/index.d.ts +44 -0
  46. package/organization/item/branding/localizations/item/backgroundImage/index.d.ts.map +1 -0
  47. package/organization/item/branding/localizations/item/backgroundImage/index.js +37 -0
  48. package/organization/item/branding/localizations/item/bannerLogo/index.d.ts +44 -0
  49. package/organization/item/branding/localizations/item/bannerLogo/index.d.ts.map +1 -0
  50. package/organization/item/branding/localizations/item/bannerLogo/index.js +37 -0
  51. package/organization/item/branding/localizations/item/customCSS/index.d.ts +44 -0
  52. package/organization/item/branding/localizations/item/customCSS/index.d.ts.map +1 -0
  53. package/organization/item/branding/localizations/item/customCSS/index.js +37 -0
  54. package/organization/item/branding/localizations/item/favicon/index.d.ts +44 -0
  55. package/organization/item/branding/localizations/item/favicon/index.d.ts.map +1 -0
  56. package/organization/item/branding/localizations/item/favicon/index.js +37 -0
  57. package/organization/item/branding/localizations/item/headerLogo/index.d.ts +44 -0
  58. package/organization/item/branding/localizations/item/headerLogo/index.d.ts.map +1 -0
  59. package/organization/item/branding/localizations/item/headerLogo/index.js +37 -0
  60. package/organization/item/branding/localizations/item/index.d.ts +108 -0
  61. package/organization/item/branding/localizations/item/index.d.ts.map +1 -0
  62. package/organization/item/branding/localizations/item/index.js +96 -0
  63. package/organization/item/branding/localizations/item/squareLogo/index.d.ts +44 -0
  64. package/organization/item/branding/localizations/item/squareLogo/index.d.ts.map +1 -0
  65. package/organization/item/branding/localizations/item/squareLogo/index.js +37 -0
  66. package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts +44 -0
  67. package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts.map +1 -0
  68. package/organization/item/branding/localizations/item/squareLogoDark/index.js +37 -0
  69. package/organization/item/branding/squareLogo/index.d.ts +44 -0
  70. package/organization/item/branding/squareLogo/index.d.ts.map +1 -0
  71. package/organization/item/branding/squareLogo/index.js +37 -0
  72. package/organization/item/branding/squareLogoDark/index.d.ts +44 -0
  73. package/organization/item/branding/squareLogoDark/index.d.ts.map +1 -0
  74. package/organization/item/branding/squareLogoDark/index.js +37 -0
  75. package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts +40 -0
  76. package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts.map +1 -0
  77. package/organization/item/certificateBasedAuthConfiguration/count/index.js +35 -0
  78. package/organization/item/certificateBasedAuthConfiguration/index.d.ts +97 -0
  79. package/organization/item/certificateBasedAuthConfiguration/index.d.ts.map +1 -0
  80. package/organization/item/certificateBasedAuthConfiguration/index.js +70 -0
  81. package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts +54 -0
  82. package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts.map +1 -0
  83. package/organization/item/certificateBasedAuthConfiguration/item/index.js +44 -0
  84. package/organization/item/checkMemberGroups/index.d.ts +83 -0
  85. package/organization/item/checkMemberGroups/index.d.ts.map +1 -0
  86. package/organization/item/checkMemberGroups/index.js +86 -0
  87. package/organization/item/checkMemberObjects/index.d.ts +82 -0
  88. package/organization/item/checkMemberObjects/index.d.ts.map +1 -0
  89. package/organization/item/checkMemberObjects/index.js +86 -0
  90. package/organization/item/extensions/count/index.d.ts +40 -0
  91. package/organization/item/extensions/count/index.d.ts.map +1 -0
  92. package/organization/item/extensions/count/index.js +35 -0
  93. package/organization/item/extensions/index.d.ts +95 -0
  94. package/organization/item/extensions/index.d.ts.map +1 -0
  95. package/organization/item/extensions/index.js +70 -0
  96. package/organization/item/extensions/item/index.d.ts +66 -0
  97. package/organization/item/extensions/item/index.d.ts.map +1 -0
  98. package/organization/item/extensions/item/index.js +56 -0
  99. package/organization/item/getMemberGroups/index.d.ts +83 -0
  100. package/organization/item/getMemberGroups/index.d.ts.map +1 -0
  101. package/organization/item/getMemberGroups/index.js +86 -0
  102. package/organization/item/getMemberObjects/index.d.ts +83 -0
  103. package/organization/item/getMemberObjects/index.d.ts.map +1 -0
  104. package/organization/item/getMemberObjects/index.js +86 -0
  105. package/organization/item/index.d.ts +117 -0
  106. package/organization/item/index.d.ts.map +1 -0
  107. package/organization/item/index.js +109 -0
  108. package/organization/item/restore/index.d.ts +29 -0
  109. package/organization/item/restore/index.d.ts.map +1 -0
  110. package/organization/item/restore/index.js +28 -0
  111. package/organization/item/setMobileDeviceManagementAuthority/index.d.ts +58 -0
  112. package/organization/item/setMobileDeviceManagementAuthority/index.d.ts.map +1 -0
  113. package/organization/item/setMobileDeviceManagementAuthority/index.js +56 -0
  114. package/organization/validateProperties/index.d.ts +72 -0
  115. package/organization/validateProperties/index.d.ts.map +1 -0
  116. package/organization/validateProperties/index.js +64 -0
  117. package/organizationServiceClient.d.ts +25 -0
  118. package/organizationServiceClient.d.ts.map +1 -0
  119. package/organizationServiceClient.js +49 -0
  120. package/package.json +48 -0
  121. package/tsconfig.json +15 -0
  122. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FaviconRequestBuilderUriTemplate = exports.FaviconRequestBuilderRequestsMetadata = 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.FaviconRequestBuilderRequestsMetadata = {
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.FaviconRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/favicon";
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 HeaderLogoRequestBuilder extends BaseRequestBuilder<HeaderLogoRequestBuilder> {
6
+ /**
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
+ * @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 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.
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 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
+ * @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 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.
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 HeaderLogoRequestBuilderRequestsMetadata: RequestsMetadata;
40
+ /**
41
+ * Uri template for the request builder.
42
+ */
43
+ export declare const HeaderLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/headerLogo";
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.HeaderLogoRequestBuilderUriTemplate = exports.HeaderLogoRequestBuilderRequestsMetadata = 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.HeaderLogoRequestBuilderRequestsMetadata = {
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.HeaderLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/headerLogo";
36
+ /* tslint:enable */
37
+ /* eslint-enable */
@@ -0,0 +1,113 @@
1
+ import { type OrganizationalBranding } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BackgroundImageRequestBuilder } from './backgroundImage/';
3
+ import { type BannerLogoRequestBuilder } from './bannerLogo/';
4
+ import { type CustomCSSRequestBuilder } from './customCSS/';
5
+ import { type FaviconRequestBuilder } from './favicon/';
6
+ import { type HeaderLogoRequestBuilder } from './headerLogo/';
7
+ import { type LocalizationsRequestBuilder } from './localizations/';
8
+ import { type SquareLogoRequestBuilder } from './squareLogo/';
9
+ import { type SquareLogoDarkRequestBuilder } from './squareLogoDark/';
10
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
11
+ /**
12
+ * Provides operations to manage the branding property of the microsoft.graph.organization entity.
13
+ */
14
+ export interface BrandingRequestBuilder extends BaseRequestBuilder<BrandingRequestBuilder> {
15
+ /**
16
+ * Provides operations to manage the media for the organization entity.
17
+ */
18
+ get backgroundImage(): BackgroundImageRequestBuilder;
19
+ /**
20
+ * Provides operations to manage the media for the organization entity.
21
+ */
22
+ get bannerLogo(): BannerLogoRequestBuilder;
23
+ /**
24
+ * Provides operations to manage the media for the organization entity.
25
+ */
26
+ get customCSS(): CustomCSSRequestBuilder;
27
+ /**
28
+ * Provides operations to manage the media for the organization entity.
29
+ */
30
+ get favicon(): FaviconRequestBuilder;
31
+ /**
32
+ * Provides operations to manage the media for the organization entity.
33
+ */
34
+ get headerLogo(): HeaderLogoRequestBuilder;
35
+ /**
36
+ * Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity.
37
+ */
38
+ get localizations(): LocalizationsRequestBuilder;
39
+ /**
40
+ * Provides operations to manage the media for the organization entity.
41
+ */
42
+ get squareLogo(): SquareLogoRequestBuilder;
43
+ /**
44
+ * Provides operations to manage the media for the organization entity.
45
+ */
46
+ get squareLogoDark(): SquareLogoDarkRequestBuilder;
47
+ /**
48
+ * Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object.
49
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
+ * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-delete?view=graph-rest-1.0|Find more info here}
51
+ */
52
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
53
+ /**
54
+ * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.
55
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
56
+ * @returns a Promise of OrganizationalBranding
57
+ * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0|Find more info here}
58
+ */
59
+ get(requestConfiguration?: RequestConfiguration<BrandingRequestBuilderGetQueryParameters> | undefined): Promise<OrganizationalBranding | undefined>;
60
+ /**
61
+ * Update the properties of the default branding object specified by the organizationalBranding resource.
62
+ * @param body The request body
63
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
64
+ * @returns a Promise of OrganizationalBranding
65
+ * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-update?view=graph-rest-1.0|Find more info here}
66
+ */
67
+ patch(body: OrganizationalBranding, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationalBranding | undefined>;
68
+ /**
69
+ * Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object.
70
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
71
+ * @returns a RequestInformation
72
+ */
73
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
74
+ /**
75
+ * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.
76
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
77
+ * @returns a RequestInformation
78
+ */
79
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BrandingRequestBuilderGetQueryParameters> | undefined): RequestInformation;
80
+ /**
81
+ * Update the properties of the default branding object specified by the organizationalBranding resource.
82
+ * @param body The request body
83
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
84
+ * @returns a RequestInformation
85
+ */
86
+ toPatchRequestInformation(body: OrganizationalBranding, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
87
+ }
88
+ /**
89
+ * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.
90
+ */
91
+ export interface BrandingRequestBuilderGetQueryParameters {
92
+ /**
93
+ * Expand related entities
94
+ */
95
+ expand?: string[];
96
+ /**
97
+ * Select properties to be returned
98
+ */
99
+ select?: string[];
100
+ }
101
+ /**
102
+ * Metadata for all the navigation properties in the request builder.
103
+ */
104
+ export declare const BrandingRequestBuilderNavigationMetadata: Record<Exclude<keyof BrandingRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
105
+ /**
106
+ * Metadata for all the requests in the request builder.
107
+ */
108
+ export declare const BrandingRequestBuilderRequestsMetadata: RequestsMetadata;
109
+ /**
110
+ * Uri template for the request builder.
111
+ */
112
+ export declare const BrandingRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding{?%24select,%24expand}";
113
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BrandingRequestBuilderUriTemplate = exports.BrandingRequestBuilderRequestsMetadata = exports.BrandingRequestBuilderNavigationMetadata = 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 backgroundImage_1 = require("./backgroundImage/");
10
+ const bannerLogo_1 = require("./bannerLogo/");
11
+ const customCSS_1 = require("./customCSS/");
12
+ const favicon_1 = require("./favicon/");
13
+ const headerLogo_1 = require("./headerLogo/");
14
+ const localizations_1 = require("./localizations/");
15
+ const squareLogo_1 = require("./squareLogo/");
16
+ const squareLogoDark_1 = require("./squareLogoDark/");
17
+ /**
18
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
19
+ */
20
+ const BrandingRequestBuilderGetQueryParametersMapper = {
21
+ "expand": "%24expand",
22
+ "select": "%24select",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.BrandingRequestBuilderNavigationMetadata = {
28
+ backgroundImage: {
29
+ uriTemplate: backgroundImage_1.BackgroundImageRequestBuilderUriTemplate,
30
+ requestsMetadata: backgroundImage_1.BackgroundImageRequestBuilderRequestsMetadata,
31
+ },
32
+ bannerLogo: {
33
+ uriTemplate: bannerLogo_1.BannerLogoRequestBuilderUriTemplate,
34
+ requestsMetadata: bannerLogo_1.BannerLogoRequestBuilderRequestsMetadata,
35
+ },
36
+ customCSS: {
37
+ uriTemplate: customCSS_1.CustomCSSRequestBuilderUriTemplate,
38
+ requestsMetadata: customCSS_1.CustomCSSRequestBuilderRequestsMetadata,
39
+ },
40
+ favicon: {
41
+ uriTemplate: favicon_1.FaviconRequestBuilderUriTemplate,
42
+ requestsMetadata: favicon_1.FaviconRequestBuilderRequestsMetadata,
43
+ },
44
+ headerLogo: {
45
+ uriTemplate: headerLogo_1.HeaderLogoRequestBuilderUriTemplate,
46
+ requestsMetadata: headerLogo_1.HeaderLogoRequestBuilderRequestsMetadata,
47
+ },
48
+ localizations: {
49
+ uriTemplate: localizations_1.LocalizationsRequestBuilderUriTemplate,
50
+ requestsMetadata: localizations_1.LocalizationsRequestBuilderRequestsMetadata,
51
+ navigationMetadata: localizations_1.LocalizationsRequestBuilderNavigationMetadata,
52
+ },
53
+ squareLogo: {
54
+ uriTemplate: squareLogo_1.SquareLogoRequestBuilderUriTemplate,
55
+ requestsMetadata: squareLogo_1.SquareLogoRequestBuilderRequestsMetadata,
56
+ },
57
+ squareLogoDark: {
58
+ uriTemplate: squareLogoDark_1.SquareLogoDarkRequestBuilderUriTemplate,
59
+ requestsMetadata: squareLogoDark_1.SquareLogoDarkRequestBuilderRequestsMetadata,
60
+ },
61
+ };
62
+ /**
63
+ * Metadata for all the requests in the request builder.
64
+ */
65
+ exports.BrandingRequestBuilderRequestsMetadata = {
66
+ delete: {
67
+ responseBodyContentType: "application/json",
68
+ errorMappings: {
69
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
70
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
71
+ },
72
+ adapterMethodName: "sendNoResponseContentAsync",
73
+ },
74
+ get: {
75
+ responseBodyContentType: "application/json",
76
+ errorMappings: {
77
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
78
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
79
+ },
80
+ adapterMethodName: "sendAsync",
81
+ responseBodyFactory: models_1.createOrganizationalBrandingFromDiscriminatorValue,
82
+ queryParametersMapper: BrandingRequestBuilderGetQueryParametersMapper,
83
+ },
84
+ patch: {
85
+ responseBodyContentType: "application/json",
86
+ errorMappings: {
87
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
88
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
89
+ },
90
+ adapterMethodName: "sendAsync",
91
+ responseBodyFactory: models_1.createOrganizationalBrandingFromDiscriminatorValue,
92
+ requestBodyContentType: "application/json",
93
+ requestBodySerializer: models_1.serializeOrganizationalBranding,
94
+ requestInformationContentSetMethod: "setContentFromParsable",
95
+ },
96
+ };
97
+ /**
98
+ * Uri template for the request builder.
99
+ */
100
+ exports.BrandingRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding{?%24select,%24expand}";
101
+ /* tslint:enable */
102
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/$count{?%24search,%24filter}";
40
+ //# 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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,oGAAoG,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = 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
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type OrganizationalBrandingLocalization, type OrganizationalBrandingLocalizationCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type OrganizationalBrandingLocalizationItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity.
7
+ */
8
+ export interface LocalizationsRequestBuilder extends BaseRequestBuilder<LocalizationsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity.
15
+ * @param organizationalBrandingLocalizationId The unique identifier of organizationalBrandingLocalization
16
+ * @returns a OrganizationalBrandingLocalizationItemRequestBuilder
17
+ */
18
+ byOrganizationalBrandingLocalizationId(organizationalBrandingLocalizationId: string): OrganizationalBrandingLocalizationItemRequestBuilder;
19
+ /**
20
+ * Retrieve all localization branding objects, including the default branding.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of OrganizationalBrandingLocalizationCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-list-localizations?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<LocalizationsRequestBuilderGetQueryParameters> | undefined): Promise<OrganizationalBrandingLocalizationCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of OrganizationalBrandingLocalization
31
+ * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-post-localizations?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: OrganizationalBrandingLocalization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationalBrandingLocalization | undefined>;
34
+ /**
35
+ * Retrieve all localization branding objects, including the default branding.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<LocalizationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: OrganizationalBrandingLocalization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Retrieve all localization branding objects, including the default branding.
50
+ */
51
+ export interface LocalizationsRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const LocalizationsRequestBuilderNavigationMetadata: Record<Exclude<keyof LocalizationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const LocalizationsRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const LocalizationsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiM,KAAK,kCAAkC,EAAE,KAAK,oDAAoD,EAAE,MAAM,gCAAgC,CAAC;AAEnV,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiN,KAAK,oDAAoD,EAAE,MAAM,SAAS,CAAC;AACnS,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,sCAAsC,CAAC,oCAAoC,EAAE,MAAM,GAAI,oDAAoD,CAAC;IAC7I;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oDAAoD,GAAG,SAAS,CAAC,CAAC;IACzL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kCAAkC,GAAG,SAAS,CAAC,CAAC;IAC3K;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACtJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7J;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;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,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAuBzD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,oJAAoJ,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LocalizationsRequestBuilderUriTemplate = exports.LocalizationsRequestBuilderRequestsMetadata = exports.LocalizationsRequestBuilderNavigationMetadata = 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 item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const LocalizationsRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.LocalizationsRequestBuilderNavigationMetadata = {
28
+ byOrganizationalBrandingLocalizationId: {
29
+ uriTemplate: item_1.OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.OrganizationalBrandingLocalizationItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.OrganizationalBrandingLocalizationItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["organizationalBrandingLocalization%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.LocalizationsRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createOrganizationalBrandingLocalizationCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: LocalizationsRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createOrganizationalBrandingLocalizationFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializeOrganizationalBrandingLocalization,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.LocalizationsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* 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-list-localizations?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/localizations/{organizationalBrandingLocalization%2Did}/backgroundImage";
44
+ //# sourceMappingURL=index.d.ts.map