@microsoft/msgraph-sdk-organization 1.0.0-preview.13 → 1.0.0-preview.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/organization/count/index.d.ts +7 -6
  2. package/organization/count/index.d.ts.map +1 -1
  3. package/organization/count/index.js +7 -7
  4. package/organization/delta/index.d.ts +9 -8
  5. package/organization/delta/index.d.ts.map +1 -1
  6. package/organization/delta/index.js +9 -9
  7. package/organization/getAvailableExtensionProperties/index.d.ts +11 -10
  8. package/organization/getAvailableExtensionProperties/index.d.ts.map +1 -1
  9. package/organization/getAvailableExtensionProperties/index.js +11 -11
  10. package/organization/getByIds/index.d.ts +11 -10
  11. package/organization/getByIds/index.d.ts.map +1 -1
  12. package/organization/getByIds/index.js +11 -11
  13. package/organization/index.d.ts +15 -13
  14. package/organization/index.d.ts.map +1 -1
  15. package/organization/index.js +9 -15
  16. package/organization/item/branding/backgroundImage/index.d.ts +10 -8
  17. package/organization/item/branding/backgroundImage/index.d.ts.map +1 -1
  18. package/organization/item/branding/backgroundImage/index.js +9 -9
  19. package/organization/item/branding/bannerLogo/index.d.ts +10 -8
  20. package/organization/item/branding/bannerLogo/index.d.ts.map +1 -1
  21. package/organization/item/branding/bannerLogo/index.js +9 -9
  22. package/organization/item/branding/customCSS/index.d.ts +10 -8
  23. package/organization/item/branding/customCSS/index.d.ts.map +1 -1
  24. package/organization/item/branding/customCSS/index.js +9 -9
  25. package/organization/item/branding/favicon/index.d.ts +10 -8
  26. package/organization/item/branding/favicon/index.d.ts.map +1 -1
  27. package/organization/item/branding/favicon/index.js +9 -9
  28. package/organization/item/branding/headerLogo/index.d.ts +10 -8
  29. package/organization/item/branding/headerLogo/index.d.ts.map +1 -1
  30. package/organization/item/branding/headerLogo/index.js +9 -9
  31. package/organization/item/branding/index.d.ts +12 -9
  32. package/organization/item/branding/index.d.ts.map +1 -1
  33. package/organization/item/branding/index.js +11 -19
  34. package/organization/item/branding/localizations/count/index.d.ts +7 -6
  35. package/organization/item/branding/localizations/count/index.d.ts.map +1 -1
  36. package/organization/item/branding/localizations/count/index.js +7 -7
  37. package/organization/item/branding/localizations/index.d.ts +11 -9
  38. package/organization/item/branding/localizations/index.d.ts.map +1 -1
  39. package/organization/item/branding/localizations/index.js +9 -11
  40. package/organization/item/branding/localizations/item/backgroundImage/index.d.ts +10 -8
  41. package/organization/item/branding/localizations/item/backgroundImage/index.d.ts.map +1 -1
  42. package/organization/item/branding/localizations/item/backgroundImage/index.js +9 -9
  43. package/organization/item/branding/localizations/item/bannerLogo/index.d.ts +10 -8
  44. package/organization/item/branding/localizations/item/bannerLogo/index.d.ts.map +1 -1
  45. package/organization/item/branding/localizations/item/bannerLogo/index.js +9 -9
  46. package/organization/item/branding/localizations/item/customCSS/index.d.ts +10 -8
  47. package/organization/item/branding/localizations/item/customCSS/index.d.ts.map +1 -1
  48. package/organization/item/branding/localizations/item/customCSS/index.js +9 -9
  49. package/organization/item/branding/localizations/item/favicon/index.d.ts +10 -8
  50. package/organization/item/branding/localizations/item/favicon/index.d.ts.map +1 -1
  51. package/organization/item/branding/localizations/item/favicon/index.js +9 -9
  52. package/organization/item/branding/localizations/item/headerLogo/index.d.ts +10 -8
  53. package/organization/item/branding/localizations/item/headerLogo/index.d.ts.map +1 -1
  54. package/organization/item/branding/localizations/item/headerLogo/index.js +9 -9
  55. package/organization/item/branding/localizations/item/index.d.ts +12 -9
  56. package/organization/item/branding/localizations/item/index.d.ts.map +1 -1
  57. package/organization/item/branding/localizations/item/index.js +11 -18
  58. package/organization/item/branding/localizations/item/squareLogo/index.d.ts +10 -8
  59. package/organization/item/branding/localizations/item/squareLogo/index.d.ts.map +1 -1
  60. package/organization/item/branding/localizations/item/squareLogo/index.js +9 -9
  61. package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts +10 -8
  62. package/organization/item/branding/localizations/item/squareLogoDark/index.d.ts.map +1 -1
  63. package/organization/item/branding/localizations/item/squareLogoDark/index.js +9 -9
  64. package/organization/item/branding/squareLogo/index.d.ts +10 -8
  65. package/organization/item/branding/squareLogo/index.d.ts.map +1 -1
  66. package/organization/item/branding/squareLogo/index.js +9 -9
  67. package/organization/item/branding/squareLogoDark/index.d.ts +10 -8
  68. package/organization/item/branding/squareLogoDark/index.d.ts.map +1 -1
  69. package/organization/item/branding/squareLogoDark/index.js +9 -9
  70. package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts +7 -6
  71. package/organization/item/certificateBasedAuthConfiguration/count/index.d.ts.map +1 -1
  72. package/organization/item/certificateBasedAuthConfiguration/count/index.js +7 -7
  73. package/organization/item/certificateBasedAuthConfiguration/index.d.ts +11 -9
  74. package/organization/item/certificateBasedAuthConfiguration/index.d.ts.map +1 -1
  75. package/organization/item/certificateBasedAuthConfiguration/index.js +9 -11
  76. package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts +9 -7
  77. package/organization/item/certificateBasedAuthConfiguration/item/index.d.ts.map +1 -1
  78. package/organization/item/certificateBasedAuthConfiguration/item/index.js +9 -9
  79. package/organization/item/checkMemberGroups/index.d.ts +11 -10
  80. package/organization/item/checkMemberGroups/index.d.ts.map +1 -1
  81. package/organization/item/checkMemberGroups/index.js +11 -11
  82. package/organization/item/checkMemberObjects/index.d.ts +11 -10
  83. package/organization/item/checkMemberObjects/index.d.ts.map +1 -1
  84. package/organization/item/checkMemberObjects/index.js +11 -11
  85. package/organization/item/extensions/count/index.d.ts +7 -6
  86. package/organization/item/extensions/count/index.d.ts.map +1 -1
  87. package/organization/item/extensions/count/index.js +7 -7
  88. package/organization/item/extensions/index.d.ts +11 -9
  89. package/organization/item/extensions/index.d.ts.map +1 -1
  90. package/organization/item/extensions/index.js +9 -11
  91. package/organization/item/extensions/item/index.d.ts +12 -9
  92. package/organization/item/extensions/item/index.d.ts.map +1 -1
  93. package/organization/item/extensions/item/index.js +11 -11
  94. package/organization/item/getMemberGroups/index.d.ts +11 -10
  95. package/organization/item/getMemberGroups/index.d.ts.map +1 -1
  96. package/organization/item/getMemberGroups/index.js +11 -11
  97. package/organization/item/getMemberObjects/index.d.ts +11 -10
  98. package/organization/item/getMemberObjects/index.d.ts.map +1 -1
  99. package/organization/item/getMemberObjects/index.js +11 -11
  100. package/organization/item/index.d.ts +12 -9
  101. package/organization/item/index.d.ts.map +1 -1
  102. package/organization/item/index.js +11 -20
  103. package/organization/item/restore/index.d.ts +7 -6
  104. package/organization/item/restore/index.d.ts.map +1 -1
  105. package/organization/item/restore/index.js +7 -7
  106. package/organization/item/setMobileDeviceManagementAuthority/index.d.ts +9 -8
  107. package/organization/item/setMobileDeviceManagementAuthority/index.d.ts.map +1 -1
  108. package/organization/item/setMobileDeviceManagementAuthority/index.js +9 -9
  109. package/organization/validateProperties/index.d.ts +8 -7
  110. package/organization/validateProperties/index.d.ts.map +1 -1
  111. package/organization/validateProperties/index.js +9 -9
  112. package/organizationServiceClient.d.ts.map +1 -1
  113. package/organizationServiceClient.js +1 -2
  114. package/package.json +3 -3
  115. package/tsconfig.tsbuildinfo +1 -1
@@ -6,7 +6,8 @@ export interface CustomCSSRequestBuilder extends BaseRequestBuilder<CustomCSSReq
6
6
  /**
7
7
  * CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of ArrayBuffer
9
+ * @returns {Promise<ArrayBuffer>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-list-localizations?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
@@ -15,13 +16,14 @@ export interface CustomCSSRequestBuilder extends BaseRequestBuilder<CustomCSSReq
15
16
  * @param body Binary request body
16
17
  * @param contentType The request body content type.
17
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
- * @returns a Promise of ArrayBuffer
19
+ * @returns {Promise<ArrayBuffer>}
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
19
21
  */
20
22
  put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
21
23
  /**
22
24
  * CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
23
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
- * @returns a RequestInformation
26
+ * @returns {RequestInformation}
25
27
  */
26
28
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
27
29
  /**
@@ -29,16 +31,16 @@ export interface CustomCSSRequestBuilder extends BaseRequestBuilder<CustomCSSReq
29
31
  * @param body Binary request body
30
32
  * @param contentType The request body content type.
31
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
- * @returns a RequestInformation
34
+ * @returns {RequestInformation}
33
35
  */
34
36
  toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
35
37
  }
36
- /**
37
- * Metadata for all the requests in the request builder.
38
- */
39
- export declare const CustomCSSRequestBuilderRequestsMetadata: RequestsMetadata;
40
38
  /**
41
39
  * Uri template for the request builder.
42
40
  */
43
41
  export declare const CustomCSSRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/customCSS";
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export declare const CustomCSSRequestBuilderRequestsMetadata: RequestsMetadata;
44
46
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA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SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,2HAA2H,CAAC;AAC3K;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAoBrD,CAAC"}
@@ -1,37 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomCSSRequestBuilderUriTemplate = exports.CustomCSSRequestBuilderRequestsMetadata = void 0;
3
+ exports.CustomCSSRequestBuilderRequestsMetadata = exports.CustomCSSRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CustomCSSRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/customCSS";
8
12
  /**
9
13
  * Metadata for all the requests in the request builder.
10
14
  */
11
15
  exports.CustomCSSRequestBuilderRequestsMetadata = {
12
16
  get: {
17
+ uriTemplate: exports.CustomCSSRequestBuilderUriTemplate,
13
18
  responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
14
19
  errorMappings: {
15
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
20
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
21
  },
18
22
  adapterMethodName: "sendPrimitiveAsync",
19
23
  responseBodyFactory: "ArrayBuffer",
20
24
  },
21
25
  put: {
26
+ uriTemplate: exports.CustomCSSRequestBuilderUriTemplate,
22
27
  responseBodyContentType: "application/json",
23
28
  errorMappings: {
24
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
29
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
26
30
  },
27
31
  adapterMethodName: "sendPrimitiveAsync",
28
32
  responseBodyFactory: "ArrayBuffer",
29
33
  requestInformationContentSetMethod: "setStreamContent",
30
34
  },
31
35
  };
32
- /**
33
- * Uri template for the request builder.
34
- */
35
- exports.CustomCSSRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/customCSS";
36
36
  /* tslint:enable */
37
37
  /* eslint-enable */
@@ -6,7 +6,8 @@ export interface FaviconRequestBuilder extends BaseRequestBuilder<FaviconRequest
6
6
  /**
7
7
  * A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of ArrayBuffer
9
+ * @returns {Promise<ArrayBuffer>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-list-localizations?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
@@ -15,13 +16,14 @@ export interface FaviconRequestBuilder extends BaseRequestBuilder<FaviconRequest
15
16
  * @param body Binary request body
16
17
  * @param contentType The request body content type.
17
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
- * @returns a Promise of ArrayBuffer
19
+ * @returns {Promise<ArrayBuffer>}
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
19
21
  */
20
22
  put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
21
23
  /**
22
24
  * A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
23
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
- * @returns a RequestInformation
26
+ * @returns {RequestInformation}
25
27
  */
26
28
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
27
29
  /**
@@ -29,16 +31,16 @@ export interface FaviconRequestBuilder extends BaseRequestBuilder<FaviconRequest
29
31
  * @param body Binary request body
30
32
  * @param contentType The request body content type.
31
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
- * @returns a RequestInformation
34
+ * @returns {RequestInformation}
33
35
  */
34
36
  toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
35
37
  }
36
- /**
37
- * Metadata for all the requests in the request builder.
38
- */
39
- export declare const FaviconRequestBuilderRequestsMetadata: RequestsMetadata;
40
38
  /**
41
39
  * Uri template for the request builder.
42
40
  */
43
41
  export declare const FaviconRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/favicon";
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export declare const FaviconRequestBuilderRequestsMetadata: RequestsMetadata;
44
46
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","source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Q,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,yHAAyH,CAAC;AACvK;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAoBnD,CAAC"}
@@ -1,37 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FaviconRequestBuilderUriTemplate = exports.FaviconRequestBuilderRequestsMetadata = void 0;
3
+ exports.FaviconRequestBuilderRequestsMetadata = exports.FaviconRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.FaviconRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/favicon";
8
12
  /**
9
13
  * Metadata for all the requests in the request builder.
10
14
  */
11
15
  exports.FaviconRequestBuilderRequestsMetadata = {
12
16
  get: {
17
+ uriTemplate: exports.FaviconRequestBuilderUriTemplate,
13
18
  responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
14
19
  errorMappings: {
15
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
20
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
21
  },
18
22
  adapterMethodName: "sendPrimitiveAsync",
19
23
  responseBodyFactory: "ArrayBuffer",
20
24
  },
21
25
  put: {
26
+ uriTemplate: exports.FaviconRequestBuilderUriTemplate,
22
27
  responseBodyContentType: "application/json",
23
28
  errorMappings: {
24
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
29
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
26
30
  },
27
31
  adapterMethodName: "sendPrimitiveAsync",
28
32
  responseBodyFactory: "ArrayBuffer",
29
33
  requestInformationContentSetMethod: "setStreamContent",
30
34
  },
31
35
  };
32
- /**
33
- * Uri template for the request builder.
34
- */
35
- exports.FaviconRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/favicon";
36
36
  /* tslint:enable */
37
37
  /* eslint-enable */
@@ -6,7 +6,8 @@ export interface HeaderLogoRequestBuilder extends BaseRequestBuilder<HeaderLogoR
6
6
  /**
7
7
  * A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of ArrayBuffer
9
+ * @returns {Promise<ArrayBuffer>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-list-localizations?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
@@ -15,13 +16,14 @@ export interface HeaderLogoRequestBuilder extends BaseRequestBuilder<HeaderLogoR
15
16
  * @param body Binary request body
16
17
  * @param contentType The request body content type.
17
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
- * @returns a Promise of ArrayBuffer
19
+ * @returns {Promise<ArrayBuffer>}
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
19
21
  */
20
22
  put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
21
23
  /**
22
24
  * A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
23
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
- * @returns a RequestInformation
26
+ * @returns {RequestInformation}
25
27
  */
26
28
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
27
29
  /**
@@ -29,16 +31,16 @@ export interface HeaderLogoRequestBuilder extends BaseRequestBuilder<HeaderLogoR
29
31
  * @param body Binary request body
30
32
  * @param contentType The request body content type.
31
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
- * @returns a RequestInformation
34
+ * @returns {RequestInformation}
33
35
  */
34
36
  toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
35
37
  }
36
- /**
37
- * Metadata for all the requests in the request builder.
38
- */
39
- export declare const HeaderLogoRequestBuilderRequestsMetadata: RequestsMetadata;
40
38
  /**
41
39
  * Uri template for the request builder.
42
40
  */
43
41
  export declare const HeaderLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/headerLogo";
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export declare const HeaderLogoRequestBuilderRequestsMetadata: RequestsMetadata;
44
46
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;;;;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,4HAA4H,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,4HAA4H,CAAC;AAC7K;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAoBtD,CAAC"}
@@ -1,37 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HeaderLogoRequestBuilderUriTemplate = exports.HeaderLogoRequestBuilderRequestsMetadata = void 0;
3
+ exports.HeaderLogoRequestBuilderRequestsMetadata = exports.HeaderLogoRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.HeaderLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/headerLogo";
8
12
  /**
9
13
  * Metadata for all the requests in the request builder.
10
14
  */
11
15
  exports.HeaderLogoRequestBuilderRequestsMetadata = {
12
16
  get: {
17
+ uriTemplate: exports.HeaderLogoRequestBuilderUriTemplate,
13
18
  responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
14
19
  errorMappings: {
15
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
20
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
21
  },
18
22
  adapterMethodName: "sendPrimitiveAsync",
19
23
  responseBodyFactory: "ArrayBuffer",
20
24
  },
21
25
  put: {
26
+ uriTemplate: exports.HeaderLogoRequestBuilderUriTemplate,
22
27
  responseBodyContentType: "application/json",
23
28
  errorMappings: {
24
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
29
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
26
30
  },
27
31
  adapterMethodName: "sendPrimitiveAsync",
28
32
  responseBodyFactory: "ArrayBuffer",
29
33
  requestInformationContentSetMethod: "setStreamContent",
30
34
  },
31
35
  };
32
- /**
33
- * Uri template for the request builder.
34
- */
35
- exports.HeaderLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/headerLogo";
36
36
  /* tslint:enable */
37
37
  /* eslint-enable */
@@ -42,13 +42,15 @@ export interface OrganizationalBrandingLocalizationItemRequestBuilder extends Ba
42
42
  /**
43
43
  * Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object.
44
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
45
46
  * @see {@link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-delete?view=graph-rest-1.0|Find more info here}
46
47
  */
47
48
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
48
49
  /**
49
50
  * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
50
51
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
- * @returns a Promise of OrganizationalBrandingLocalization
52
+ * @returns {Promise<OrganizationalBrandingLocalization>}
53
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
52
54
  * @see {@link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0|Find more info here}
53
55
  */
54
56
  get(requestConfiguration?: RequestConfiguration<OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters> | undefined): Promise<OrganizationalBrandingLocalization | undefined>;
@@ -56,27 +58,28 @@ export interface OrganizationalBrandingLocalizationItemRequestBuilder extends Ba
56
58
  * Update the properties of an organizationalBrandingLocalization object for a specific localization.
57
59
  * @param body The request body
58
60
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
59
- * @returns a Promise of OrganizationalBrandingLocalization
61
+ * @returns {Promise<OrganizationalBrandingLocalization>}
62
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
60
63
  * @see {@link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-update?view=graph-rest-1.0|Find more info here}
61
64
  */
62
65
  patch(body: OrganizationalBrandingLocalization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationalBrandingLocalization | undefined>;
63
66
  /**
64
67
  * Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object.
65
68
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
- * @returns a RequestInformation
69
+ * @returns {RequestInformation}
67
70
  */
68
71
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
69
72
  /**
70
73
  * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
71
74
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
72
- * @returns a RequestInformation
75
+ * @returns {RequestInformation}
73
76
  */
74
77
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
75
78
  /**
76
79
  * Update the properties of an organizationalBrandingLocalization object for a specific localization.
77
80
  * @param body The request body
78
81
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
79
- * @returns a RequestInformation
82
+ * @returns {RequestInformation}
80
83
  */
81
84
  toPatchRequestInformation(body: OrganizationalBrandingLocalization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
82
85
  }
@@ -93,6 +96,10 @@ export interface OrganizationalBrandingLocalizationItemRequestBuilderGetQueryPar
93
96
  */
94
97
  select?: string[];
95
98
  }
99
+ /**
100
+ * Uri template for the request builder.
101
+ */
102
+ export declare const OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}{?%24expand,%24select}";
96
103
  /**
97
104
  * Metadata for all the navigation properties in the request builder.
98
105
  */
@@ -101,8 +108,4 @@ export declare const OrganizationalBrandingLocalizationItemRequestBuilderNavigat
101
108
  * Metadata for all the requests in the request builder.
102
109
  */
103
110
  export declare const OrganizationalBrandingLocalizationItemRequestBuilderRequestsMetadata: RequestsMetadata;
104
- /**
105
- * Uri template for the request builder.
106
- */
107
- export declare const OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}{?%24expand,%24select}";
108
111
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+G,KAAK,kCAAkC,EAAE,MAAM,gCAAgC,CAAC;AAEtM,OAAO,EAA2F,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjK,OAAO,EAAiF,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC7I,OAAO,EAA+E,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACzI,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjI,OAAO,EAAiF,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC7I,OAAO,EAAiF,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC7I,OAAO,EAAyF,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAC7J,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,oDAAqD,SAAQ,kBAAkB,CAAC,oDAAoD,CAAC;IAClJ;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,cAAc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ItemRequestBuilderUriTemplate = exports.OrganizationalBrandingLocalizationItemRequestBuilderRequestsMetadata = exports.OrganizationalBrandingLocalizationItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.OrganizationalBrandingLocalizationItemRequestBuilderRequestsMetadata = exports.OrganizationalBrandingLocalizationItemRequestBuilderNavigationMetadata = exports.OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -13,6 +13,10 @@ const favicon_1 = require("./favicon/");
13
13
  const headerLogo_1 = require("./headerLogo/");
14
14
  const squareLogo_1 = require("./squareLogo/");
15
15
  const squareLogoDark_1 = require("./squareLogoDark/");
16
+ /**
17
+ * Uri template for the request builder.
18
+ */
19
+ exports.OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}{?%24expand,%24select}";
16
20
  /**
17
21
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
18
22
  */
@@ -25,31 +29,24 @@ const OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParametersMapp
25
29
  */
26
30
  exports.OrganizationalBrandingLocalizationItemRequestBuilderNavigationMetadata = {
27
31
  backgroundImage: {
28
- uriTemplate: backgroundImage_1.BackgroundImageRequestBuilderUriTemplate,
29
32
  requestsMetadata: backgroundImage_1.BackgroundImageRequestBuilderRequestsMetadata,
30
33
  },
31
34
  bannerLogo: {
32
- uriTemplate: bannerLogo_1.BannerLogoRequestBuilderUriTemplate,
33
35
  requestsMetadata: bannerLogo_1.BannerLogoRequestBuilderRequestsMetadata,
34
36
  },
35
37
  customCSS: {
36
- uriTemplate: customCSS_1.CustomCSSRequestBuilderUriTemplate,
37
38
  requestsMetadata: customCSS_1.CustomCSSRequestBuilderRequestsMetadata,
38
39
  },
39
40
  favicon: {
40
- uriTemplate: favicon_1.FaviconRequestBuilderUriTemplate,
41
41
  requestsMetadata: favicon_1.FaviconRequestBuilderRequestsMetadata,
42
42
  },
43
43
  headerLogo: {
44
- uriTemplate: headerLogo_1.HeaderLogoRequestBuilderUriTemplate,
45
44
  requestsMetadata: headerLogo_1.HeaderLogoRequestBuilderRequestsMetadata,
46
45
  },
47
46
  squareLogo: {
48
- uriTemplate: squareLogo_1.SquareLogoRequestBuilderUriTemplate,
49
47
  requestsMetadata: squareLogo_1.SquareLogoRequestBuilderRequestsMetadata,
50
48
  },
51
49
  squareLogoDark: {
52
- uriTemplate: squareLogoDark_1.SquareLogoDarkRequestBuilderUriTemplate,
53
50
  requestsMetadata: squareLogoDark_1.SquareLogoDarkRequestBuilderRequestsMetadata,
54
51
  },
55
52
  };
@@ -58,28 +55,28 @@ exports.OrganizationalBrandingLocalizationItemRequestBuilderNavigationMetadata =
58
55
  */
59
56
  exports.OrganizationalBrandingLocalizationItemRequestBuilderRequestsMetadata = {
60
57
  delete: {
58
+ uriTemplate: exports.OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate,
61
59
  responseBodyContentType: "application/json",
62
60
  errorMappings: {
63
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
64
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
61
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
65
62
  },
66
63
  adapterMethodName: "sendNoResponseContentAsync",
67
64
  },
68
65
  get: {
66
+ uriTemplate: exports.OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate,
69
67
  responseBodyContentType: "application/json",
70
68
  errorMappings: {
71
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
72
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
69
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
73
70
  },
74
71
  adapterMethodName: "sendAsync",
75
72
  responseBodyFactory: models_1.createOrganizationalBrandingLocalizationFromDiscriminatorValue,
76
73
  queryParametersMapper: OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParametersMapper,
77
74
  },
78
75
  patch: {
76
+ uriTemplate: exports.OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate,
79
77
  responseBodyContentType: "application/json",
80
78
  errorMappings: {
81
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
82
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
79
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
83
80
  },
84
81
  adapterMethodName: "sendAsync",
85
82
  responseBodyFactory: models_1.createOrganizationalBrandingLocalizationFromDiscriminatorValue,
@@ -88,9 +85,5 @@ exports.OrganizationalBrandingLocalizationItemRequestBuilderRequestsMetadata = {
88
85
  requestInformationContentSetMethod: "setContentFromParsable",
89
86
  },
90
87
  };
91
- /**
92
- * Uri template for the request builder.
93
- */
94
- exports.OrganizationalBrandingLocalizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}{?%24expand,%24select}";
95
88
  /* tslint:enable */
96
89
  /* eslint-enable */
@@ -6,7 +6,8 @@ export interface SquareLogoRequestBuilder extends BaseRequestBuilder<SquareLogoR
6
6
  /**
7
7
  * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of ArrayBuffer
9
+ * @returns {Promise<ArrayBuffer>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  * @see {@link https://learn.microsoft.com/graph/api/organizationalbranding-list-localizations?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
@@ -15,13 +16,14 @@ export interface SquareLogoRequestBuilder extends BaseRequestBuilder<SquareLogoR
15
16
  * @param body Binary request body
16
17
  * @param contentType The request body content type.
17
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
- * @returns a Promise of ArrayBuffer
19
+ * @returns {Promise<ArrayBuffer>}
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
19
21
  */
20
22
  put(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
21
23
  /**
22
24
  * A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.
23
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
- * @returns a RequestInformation
26
+ * @returns {RequestInformation}
25
27
  */
26
28
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
27
29
  /**
@@ -29,16 +31,16 @@ export interface SquareLogoRequestBuilder extends BaseRequestBuilder<SquareLogoR
29
31
  * @param body Binary request body
30
32
  * @param contentType The request body content type.
31
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
- * @returns a RequestInformation
34
+ * @returns {RequestInformation}
33
35
  */
34
36
  toPutRequestInformation(body: ArrayBuffer | undefined, contentType: string | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
35
37
  }
36
- /**
37
- * Metadata for all the requests in the request builder.
38
- */
39
- export declare const SquareLogoRequestBuilderRequestsMetadata: RequestsMetadata;
40
38
  /**
41
39
  * Uri template for the request builder.
42
40
  */
43
41
  export declare const SquareLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/squareLogo";
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export declare const SquareLogoRequestBuilderRequestsMetadata: RequestsMetadata;
44
46
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.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yB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;;OAMG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClL;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,4HAA4H,CAAC;AAC7K;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAoBtD,CAAC"}
@@ -1,37 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SquareLogoRequestBuilderUriTemplate = exports.SquareLogoRequestBuilderRequestsMetadata = void 0;
3
+ exports.SquareLogoRequestBuilderRequestsMetadata = exports.SquareLogoRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.SquareLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/squareLogo";
8
12
  /**
9
13
  * Metadata for all the requests in the request builder.
10
14
  */
11
15
  exports.SquareLogoRequestBuilderRequestsMetadata = {
12
16
  get: {
17
+ uriTemplate: exports.SquareLogoRequestBuilderUriTemplate,
13
18
  responseBodyContentType: "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json",
14
19
  errorMappings: {
15
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
20
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
21
  },
18
22
  adapterMethodName: "sendPrimitiveAsync",
19
23
  responseBodyFactory: "ArrayBuffer",
20
24
  },
21
25
  put: {
26
+ uriTemplate: exports.SquareLogoRequestBuilderUriTemplate,
22
27
  responseBodyContentType: "application/json",
23
28
  errorMappings: {
24
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
29
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
26
30
  },
27
31
  adapterMethodName: "sendPrimitiveAsync",
28
32
  responseBodyFactory: "ArrayBuffer",
29
33
  requestInformationContentSetMethod: "setStreamContent",
30
34
  },
31
35
  };
32
- /**
33
- * Uri template for the request builder.
34
- */
35
- exports.SquareLogoRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/branding/localizations/{organizationalBrandingLocalization%2Did}/squareLogo";
36
36
  /* tslint:enable */
37
37
  /* eslint-enable */