@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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6D,KAAK,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAE3H,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SA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AS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC1H;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACtJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrI;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,kGAAkG,CAAC;AAQtJ;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBA+BzD,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExtensionItemRequestBuilderUriTemplate = exports.ExtensionItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.ExtensionItemRequestBuilderRequestsMetadata = exports.ExtensionItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.ExtensionItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/extensions/{extension%2Did}{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,28 +22,28 @@ const ExtensionItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.ExtensionItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.ExtensionItemRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.ExtensionItemRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: models_1.createExtensionFromDiscriminatorValue,
36
40
  queryParametersMapper: ExtensionItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.ExtensionItemRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: models_1.createExtensionFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.ExtensionItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.ExtensionItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/extensions/{extension%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -3,23 +3,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a getMemberGroupsPostRequestBody
6
+ * @returns {GetMemberGroupsPostRequestBody}
7
7
  */
8
8
  export declare function createGetMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a getMemberGroupsPostResponse
12
+ * @returns {GetMemberGroupsPostResponse}
13
13
  */
14
14
  export declare function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
15
15
  /**
16
16
  * The deserialization information for the current model
17
- * @returns a Record<string, (node: ParseNode) => void>
17
+ * @returns {Record<string, (node: ParseNode) => void>}
18
18
  */
19
19
  export declare function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostRequestBody?: Partial<GetMemberGroupsPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
20
20
  /**
21
21
  * The deserialization information for the current model
22
- * @returns a Record<string, (node: ParseNode) => void>
22
+ * @returns {Record<string, (node: ParseNode) => void>}
23
23
  */
24
24
  export declare function deserializeIntoGetMemberGroupsPostResponse(getMemberGroupsPostResponse?: Partial<GetMemberGroupsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
25
25
  export interface GetMemberGroupsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -50,7 +50,8 @@ export interface GetMemberGroupsRequestBuilder extends BaseRequestBuilder<GetMem
50
50
  * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
51
51
  * @param body The request body
52
52
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
- * @returns a Promise of GetMemberGroupsPostResponse
53
+ * @returns {Promise<GetMemberGroupsPostResponse>}
54
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
54
55
  * @see {@link https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0|Find more info here}
55
56
  */
56
57
  post(body: GetMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetMemberGroupsPostResponse | undefined>;
@@ -58,7 +59,7 @@ export interface GetMemberGroupsRequestBuilder extends BaseRequestBuilder<GetMem
58
59
  * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
59
60
  * @param body The request body
60
61
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
- * @returns a RequestInformation
62
+ * @returns {RequestInformation}
62
63
  */
63
64
  toPostRequestInformation(body: GetMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
64
65
  }
@@ -72,12 +73,12 @@ export declare function serializeGetMemberGroupsPostRequestBody(writer: Serializ
72
73
  * @param writer Serialization writer to use to serialize this model
73
74
  */
74
75
  export declare function serializeGetMemberGroupsPostResponse(writer: SerializationWriter, getMemberGroupsPostResponse?: Partial<GetMemberGroupsPostResponse> | undefined): void;
75
- /**
76
- * Metadata for all the requests in the request builder.
77
- */
78
- export declare const GetMemberGroupsRequestBuilderRequestsMetadata: RequestsMetadata;
79
76
  /**
80
77
  * Uri template for the request builder.
81
78
  */
82
79
  export declare const GetMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/getMemberGroups";
80
+ /**
81
+ * Metadata for all the requests in the request builder.
82
+ */
83
+ export declare const GetMemberGroupsRequestBuilderRequestsMetadata: RequestsMetadata;
83
84
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAElM,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,0DAA0D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAElL;AACD;;;;GAIG;AACH,wBAAgB,uDAAuD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE/K;AACD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H,eAAO,MAAM,6CAA6C,EAAE,gBAa3D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetMemberGroupsRequestBuilderUriTemplate = exports.GetMemberGroupsRequestBuilderRequestsMetadata = exports.serializeGetMemberGroupsPostResponse = exports.serializeGetMemberGroupsPostRequestBody = exports.deserializeIntoGetMemberGroupsPostResponse = exports.deserializeIntoGetMemberGroupsPostRequestBody = exports.createGetMemberGroupsPostResponseFromDiscriminatorValue = exports.createGetMemberGroupsPostRequestBodyFromDiscriminatorValue = void 0;
3
+ exports.GetMemberGroupsRequestBuilderRequestsMetadata = exports.GetMemberGroupsRequestBuilderUriTemplate = exports.serializeGetMemberGroupsPostResponse = exports.serializeGetMemberGroupsPostRequestBody = exports.deserializeIntoGetMemberGroupsPostResponse = exports.deserializeIntoGetMemberGroupsPostRequestBody = exports.createGetMemberGroupsPostResponseFromDiscriminatorValue = exports.createGetMemberGroupsPostRequestBodyFromDiscriminatorValue = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a getMemberGroupsPostRequestBody
12
+ * @returns {GetMemberGroupsPostRequestBody}
13
13
  */
14
14
  function createGetMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode) {
15
15
  return deserializeIntoGetMemberGroupsPostRequestBody;
@@ -18,7 +18,7 @@ exports.createGetMemberGroupsPostRequestBodyFromDiscriminatorValue = createGetMe
18
18
  /**
19
19
  * Creates a new instance of the appropriate class based on discriminator value
20
20
  * @param parseNode The parse node to use to read the discriminator value and create the object
21
- * @returns a getMemberGroupsPostResponse
21
+ * @returns {GetMemberGroupsPostResponse}
22
22
  */
23
23
  function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNode) {
24
24
  return deserializeIntoGetMemberGroupsPostResponse;
@@ -26,7 +26,7 @@ function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNode) {
26
26
  exports.createGetMemberGroupsPostResponseFromDiscriminatorValue = createGetMemberGroupsPostResponseFromDiscriminatorValue;
27
27
  /**
28
28
  * The deserialization information for the current model
29
- * @returns a Record<string, (node: ParseNode) => void>
29
+ * @returns {Record<string, (node: ParseNode) => void>}
30
30
  */
31
31
  function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostRequestBody = {}) {
32
32
  return {
@@ -37,7 +37,7 @@ function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostReques
37
37
  exports.deserializeIntoGetMemberGroupsPostRequestBody = deserializeIntoGetMemberGroupsPostRequestBody;
38
38
  /**
39
39
  * The deserialization information for the current model
40
- * @returns a Record<string, (node: ParseNode) => void>
40
+ * @returns {Record<string, (node: ParseNode) => void>}
41
41
  */
42
42
  function deserializeIntoGetMemberGroupsPostResponse(getMemberGroupsPostResponse = {}) {
43
43
  return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getMemberGroupsPostResponse)), { "value": n => { getMemberGroupsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
@@ -61,15 +61,19 @@ function serializeGetMemberGroupsPostResponse(writer, getMemberGroupsPostRespons
61
61
  writer.writeCollectionOfPrimitiveValues("value", getMemberGroupsPostResponse.value);
62
62
  }
63
63
  exports.serializeGetMemberGroupsPostResponse = serializeGetMemberGroupsPostResponse;
64
+ /**
65
+ * Uri template for the request builder.
66
+ */
67
+ exports.GetMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/getMemberGroups";
64
68
  /**
65
69
  * Metadata for all the requests in the request builder.
66
70
  */
67
71
  exports.GetMemberGroupsRequestBuilderRequestsMetadata = {
68
72
  post: {
73
+ uriTemplate: exports.GetMemberGroupsRequestBuilderUriTemplate,
69
74
  responseBodyContentType: "application/json",
70
75
  errorMappings: {
71
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
72
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
76
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
73
77
  },
74
78
  adapterMethodName: "sendAsync",
75
79
  responseBodyFactory: createGetMemberGroupsPostResponseFromDiscriminatorValue,
@@ -78,9 +82,5 @@ exports.GetMemberGroupsRequestBuilderRequestsMetadata = {
78
82
  requestInformationContentSetMethod: "setContentFromParsable",
79
83
  },
80
84
  };
81
- /**
82
- * Uri template for the request builder.
83
- */
84
- exports.GetMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/getMemberGroups";
85
85
  /* tslint:enable */
86
86
  /* eslint-enable */
@@ -3,23 +3,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a getMemberObjectsPostRequestBody
6
+ * @returns {GetMemberObjectsPostRequestBody}
7
7
  */
8
8
  export declare function createGetMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a getMemberObjectsPostResponse
12
+ * @returns {GetMemberObjectsPostResponse}
13
13
  */
14
14
  export declare function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
15
15
  /**
16
16
  * The deserialization information for the current model
17
- * @returns a Record<string, (node: ParseNode) => void>
17
+ * @returns {Record<string, (node: ParseNode) => void>}
18
18
  */
19
19
  export declare function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequestBody?: Partial<GetMemberObjectsPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
20
20
  /**
21
21
  * The deserialization information for the current model
22
- * @returns a Record<string, (node: ParseNode) => void>
22
+ * @returns {Record<string, (node: ParseNode) => void>}
23
23
  */
24
24
  export declare function deserializeIntoGetMemberObjectsPostResponse(getMemberObjectsPostResponse?: Partial<GetMemberObjectsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
25
25
  export interface GetMemberObjectsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -50,7 +50,8 @@ export interface GetMemberObjectsRequestBuilder extends BaseRequestBuilder<GetMe
50
50
  * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
51
51
  * @param body The request body
52
52
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
- * @returns a Promise of GetMemberObjectsPostResponse
53
+ * @returns {Promise<GetMemberObjectsPostResponse>}
54
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
54
55
  * @see {@link https://learn.microsoft.com/graph/api/directoryobject-getmemberobjects?view=graph-rest-1.0|Find more info here}
55
56
  */
56
57
  post(body: GetMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetMemberObjectsPostResponse | undefined>;
@@ -58,7 +59,7 @@ export interface GetMemberObjectsRequestBuilder extends BaseRequestBuilder<GetMe
58
59
  * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
59
60
  * @param body The request body
60
61
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
- * @returns a RequestInformation
62
+ * @returns {RequestInformation}
62
63
  */
63
64
  toPostRequestInformation(body: GetMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
64
65
  }
@@ -72,12 +73,12 @@ export declare function serializeGetMemberObjectsPostRequestBody(writer: Seriali
72
73
  * @param writer Serialization writer to use to serialize this model
73
74
  */
74
75
  export declare function serializeGetMemberObjectsPostResponse(writer: SerializationWriter, getMemberObjectsPostResponse?: Partial<GetMemberObjectsPostResponse> | undefined): void;
75
- /**
76
- * Metadata for all the requests in the request builder.
77
- */
78
- export declare const GetMemberObjectsRequestBuilderRequestsMetadata: RequestsMetadata;
79
76
  /**
80
77
  * Uri template for the request builder.
81
78
  */
82
79
  export declare const GetMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/getMemberObjects";
80
+ /**
81
+ * Metadata for all the requests in the request builder.
82
+ */
83
+ export declare const GetMemberObjectsRequestBuilderRequestsMetadata: RequestsMetadata;
83
84
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAElM,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,2DAA2D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEnL;AACD;;;;GAIG;AACH,wBAAgB,wDAAwD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAA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H;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAa5D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetMemberObjectsRequestBuilderUriTemplate = exports.GetMemberObjectsRequestBuilderRequestsMetadata = exports.serializeGetMemberObjectsPostResponse = exports.serializeGetMemberObjectsPostRequestBody = exports.deserializeIntoGetMemberObjectsPostResponse = exports.deserializeIntoGetMemberObjectsPostRequestBody = exports.createGetMemberObjectsPostResponseFromDiscriminatorValue = exports.createGetMemberObjectsPostRequestBodyFromDiscriminatorValue = void 0;
3
+ exports.GetMemberObjectsRequestBuilderRequestsMetadata = exports.GetMemberObjectsRequestBuilderUriTemplate = exports.serializeGetMemberObjectsPostResponse = exports.serializeGetMemberObjectsPostRequestBody = exports.deserializeIntoGetMemberObjectsPostResponse = exports.deserializeIntoGetMemberObjectsPostRequestBody = exports.createGetMemberObjectsPostResponseFromDiscriminatorValue = exports.createGetMemberObjectsPostRequestBodyFromDiscriminatorValue = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a getMemberObjectsPostRequestBody
12
+ * @returns {GetMemberObjectsPostRequestBody}
13
13
  */
14
14
  function createGetMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode) {
15
15
  return deserializeIntoGetMemberObjectsPostRequestBody;
@@ -18,7 +18,7 @@ exports.createGetMemberObjectsPostRequestBodyFromDiscriminatorValue = createGetM
18
18
  /**
19
19
  * Creates a new instance of the appropriate class based on discriminator value
20
20
  * @param parseNode The parse node to use to read the discriminator value and create the object
21
- * @returns a getMemberObjectsPostResponse
21
+ * @returns {GetMemberObjectsPostResponse}
22
22
  */
23
23
  function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNode) {
24
24
  return deserializeIntoGetMemberObjectsPostResponse;
@@ -26,7 +26,7 @@ function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNode) {
26
26
  exports.createGetMemberObjectsPostResponseFromDiscriminatorValue = createGetMemberObjectsPostResponseFromDiscriminatorValue;
27
27
  /**
28
28
  * The deserialization information for the current model
29
- * @returns a Record<string, (node: ParseNode) => void>
29
+ * @returns {Record<string, (node: ParseNode) => void>}
30
30
  */
31
31
  function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequestBody = {}) {
32
32
  return {
@@ -37,7 +37,7 @@ function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequ
37
37
  exports.deserializeIntoGetMemberObjectsPostRequestBody = deserializeIntoGetMemberObjectsPostRequestBody;
38
38
  /**
39
39
  * The deserialization information for the current model
40
- * @returns a Record<string, (node: ParseNode) => void>
40
+ * @returns {Record<string, (node: ParseNode) => void>}
41
41
  */
42
42
  function deserializeIntoGetMemberObjectsPostResponse(getMemberObjectsPostResponse = {}) {
43
43
  return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getMemberObjectsPostResponse)), { "value": n => { getMemberObjectsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
@@ -61,15 +61,19 @@ function serializeGetMemberObjectsPostResponse(writer, getMemberObjectsPostRespo
61
61
  writer.writeCollectionOfPrimitiveValues("value", getMemberObjectsPostResponse.value);
62
62
  }
63
63
  exports.serializeGetMemberObjectsPostResponse = serializeGetMemberObjectsPostResponse;
64
+ /**
65
+ * Uri template for the request builder.
66
+ */
67
+ exports.GetMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/getMemberObjects";
64
68
  /**
65
69
  * Metadata for all the requests in the request builder.
66
70
  */
67
71
  exports.GetMemberObjectsRequestBuilderRequestsMetadata = {
68
72
  post: {
73
+ uriTemplate: exports.GetMemberObjectsRequestBuilderUriTemplate,
69
74
  responseBodyContentType: "application/json",
70
75
  errorMappings: {
71
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
72
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
76
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
73
77
  },
74
78
  adapterMethodName: "sendAsync",
75
79
  responseBodyFactory: createGetMemberObjectsPostResponseFromDiscriminatorValue,
@@ -78,9 +82,5 @@ exports.GetMemberObjectsRequestBuilderRequestsMetadata = {
78
82
  requestInformationContentSetMethod: "setContentFromParsable",
79
83
  },
80
84
  };
81
- /**
82
- * Uri template for the request builder.
83
- */
84
- exports.GetMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/getMemberObjects";
85
85
  /* tslint:enable */
86
86
  /* eslint-enable */
@@ -52,12 +52,14 @@ export interface OrganizationItemRequestBuilder extends BaseRequestBuilder<Organ
52
52
  /**
53
53
  * Delete entity from organization
54
54
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
55
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
55
56
  */
56
57
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
57
58
  /**
58
59
  * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance.
59
60
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
60
- * @returns a Promise of Organization
61
+ * @returns {Promise<Organization>}
62
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
61
63
  * @see {@link https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0|Find more info here}
62
64
  */
63
65
  get(requestConfiguration?: RequestConfiguration<OrganizationItemRequestBuilderGetQueryParameters> | undefined): Promise<Organization | undefined>;
@@ -65,27 +67,28 @@ export interface OrganizationItemRequestBuilder extends BaseRequestBuilder<Organ
65
67
  * Update the properties of a organization object.
66
68
  * @param body The request body
67
69
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
68
- * @returns a Promise of Organization
70
+ * @returns {Promise<Organization>}
71
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
69
72
  * @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0|Find more info here}
70
73
  */
71
74
  patch(body: Organization, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Organization | undefined>;
72
75
  /**
73
76
  * Delete entity from organization
74
77
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
75
- * @returns a RequestInformation
78
+ * @returns {RequestInformation}
76
79
  */
77
80
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
78
81
  /**
79
82
  * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance.
80
83
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
81
- * @returns a RequestInformation
84
+ * @returns {RequestInformation}
82
85
  */
83
86
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrganizationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
84
87
  /**
85
88
  * Update the properties of a organization object.
86
89
  * @param body The request body
87
90
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
88
- * @returns a RequestInformation
91
+ * @returns {RequestInformation}
89
92
  */
90
93
  toPatchRequestInformation(body: Organization, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
91
94
  }
@@ -102,6 +105,10 @@ export interface OrganizationItemRequestBuilderGetQueryParameters {
102
105
  */
103
106
  select?: string[];
104
107
  }
108
+ /**
109
+ * Uri template for the request builder.
110
+ */
111
+ export declare const OrganizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}{?%24expand,%24select}";
105
112
  /**
106
113
  * Metadata for all the navigation properties in the request builder.
107
114
  */
@@ -110,8 +117,4 @@ export declare const OrganizationItemRequestBuilderNavigationMetadata: Record<Ex
110
117
  * Metadata for all the requests in the request builder.
111
118
  */
112
119
  export declare const OrganizationItemRequestBuilderRequestsMetadata: RequestsMetadata;
113
- /**
114
- * Uri template for the request builder.
115
- */
116
- export declare const OrganizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}{?%24expand,%24select}";
117
120
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,OAAO,EAAkM,KAAK,+CAA+C,EAAE,MAAM,sCAAsC,CAAC;AAC5S,OAAO,EAA+F,KAAK,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACzK,OAAO,EAAiG,KAAK,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAC7K,OAAO,EAA6H,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzL,OAAO,EAA2F,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjK,OAAO,EAA6F,KAAK,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACrK,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjI,OAAO,EAAiI,KAAK,gDAAgD,EAAE,MAAM,uCAAuC,CAAC;AAC7O,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,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,iCAAiC,IAAI,+CAA+C,CAAC;IAC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AAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,gDAAgD;IAC7D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,sEAAsE,CAAC;AAQ7H;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA+B1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBA+B5D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrganizationItemRequestBuilderUriTemplate = exports.OrganizationItemRequestBuilderRequestsMetadata = exports.OrganizationItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.OrganizationItemRequestBuilderRequestsMetadata = exports.OrganizationItemRequestBuilderNavigationMetadata = exports.OrganizationItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -15,6 +15,10 @@ const getMemberGroups_1 = require("./getMemberGroups/");
15
15
  const getMemberObjects_1 = require("./getMemberObjects/");
16
16
  const restore_1 = require("./restore/");
17
17
  const setMobileDeviceManagementAuthority_1 = require("./setMobileDeviceManagementAuthority/");
18
+ /**
19
+ * Uri template for the request builder.
20
+ */
21
+ exports.OrganizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}{?%24expand,%24select}";
18
22
  /**
19
23
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
20
24
  */
@@ -27,42 +31,33 @@ const OrganizationItemRequestBuilderGetQueryParametersMapper = {
27
31
  */
28
32
  exports.OrganizationItemRequestBuilderNavigationMetadata = {
29
33
  branding: {
30
- uriTemplate: branding_1.BrandingRequestBuilderUriTemplate,
31
34
  requestsMetadata: branding_1.BrandingRequestBuilderRequestsMetadata,
32
35
  navigationMetadata: branding_1.BrandingRequestBuilderNavigationMetadata,
33
36
  },
34
37
  certificateBasedAuthConfiguration: {
35
- uriTemplate: certificateBasedAuthConfiguration_1.CertificateBasedAuthConfigurationRequestBuilderUriTemplate,
36
38
  requestsMetadata: certificateBasedAuthConfiguration_1.CertificateBasedAuthConfigurationRequestBuilderRequestsMetadata,
37
39
  navigationMetadata: certificateBasedAuthConfiguration_1.CertificateBasedAuthConfigurationRequestBuilderNavigationMetadata,
38
40
  },
39
41
  checkMemberGroups: {
40
- uriTemplate: checkMemberGroups_1.CheckMemberGroupsRequestBuilderUriTemplate,
41
42
  requestsMetadata: checkMemberGroups_1.CheckMemberGroupsRequestBuilderRequestsMetadata,
42
43
  },
43
44
  checkMemberObjects: {
44
- uriTemplate: checkMemberObjects_1.CheckMemberObjectsRequestBuilderUriTemplate,
45
45
  requestsMetadata: checkMemberObjects_1.CheckMemberObjectsRequestBuilderRequestsMetadata,
46
46
  },
47
47
  extensions: {
48
- uriTemplate: extensions_1.ExtensionsRequestBuilderUriTemplate,
49
48
  requestsMetadata: extensions_1.ExtensionsRequestBuilderRequestsMetadata,
50
49
  navigationMetadata: extensions_1.ExtensionsRequestBuilderNavigationMetadata,
51
50
  },
52
51
  getMemberGroups: {
53
- uriTemplate: getMemberGroups_1.GetMemberGroupsRequestBuilderUriTemplate,
54
52
  requestsMetadata: getMemberGroups_1.GetMemberGroupsRequestBuilderRequestsMetadata,
55
53
  },
56
54
  getMemberObjects: {
57
- uriTemplate: getMemberObjects_1.GetMemberObjectsRequestBuilderUriTemplate,
58
55
  requestsMetadata: getMemberObjects_1.GetMemberObjectsRequestBuilderRequestsMetadata,
59
56
  },
60
57
  restore: {
61
- uriTemplate: restore_1.RestoreRequestBuilderUriTemplate,
62
58
  requestsMetadata: restore_1.RestoreRequestBuilderRequestsMetadata,
63
59
  },
64
60
  setMobileDeviceManagementAuthority: {
65
- uriTemplate: setMobileDeviceManagementAuthority_1.SetMobileDeviceManagementAuthorityRequestBuilderUriTemplate,
66
61
  requestsMetadata: setMobileDeviceManagementAuthority_1.SetMobileDeviceManagementAuthorityRequestBuilderRequestsMetadata,
67
62
  },
68
63
  };
@@ -71,28 +66,28 @@ exports.OrganizationItemRequestBuilderNavigationMetadata = {
71
66
  */
72
67
  exports.OrganizationItemRequestBuilderRequestsMetadata = {
73
68
  delete: {
69
+ uriTemplate: exports.OrganizationItemRequestBuilderUriTemplate,
74
70
  responseBodyContentType: "application/json",
75
71
  errorMappings: {
76
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
77
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
72
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
78
73
  },
79
74
  adapterMethodName: "sendNoResponseContentAsync",
80
75
  },
81
76
  get: {
77
+ uriTemplate: exports.OrganizationItemRequestBuilderUriTemplate,
82
78
  responseBodyContentType: "application/json",
83
79
  errorMappings: {
84
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
85
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
80
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
86
81
  },
87
82
  adapterMethodName: "sendAsync",
88
83
  responseBodyFactory: models_1.createOrganizationFromDiscriminatorValue,
89
84
  queryParametersMapper: OrganizationItemRequestBuilderGetQueryParametersMapper,
90
85
  },
91
86
  patch: {
87
+ uriTemplate: exports.OrganizationItemRequestBuilderUriTemplate,
92
88
  responseBodyContentType: "application/json",
93
89
  errorMappings: {
94
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
95
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
90
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
96
91
  },
97
92
  adapterMethodName: "sendAsync",
98
93
  responseBodyFactory: models_1.createOrganizationFromDiscriminatorValue,
@@ -101,9 +96,5 @@ exports.OrganizationItemRequestBuilderRequestsMetadata = {
101
96
  requestInformationContentSetMethod: "setContentFromParsable",
102
97
  },
103
98
  };
104
- /**
105
- * Uri template for the request builder.
106
- */
107
- exports.OrganizationItemRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}{?%24expand,%24select}";
108
99
  /* tslint:enable */
109
100
  /* eslint-enable */
@@ -7,23 +7,24 @@ export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequest
7
7
  /**
8
8
  * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of DirectoryObject
10
+ * @returns {Promise<DirectoryObject>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here}
12
13
  */
13
14
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DirectoryObject | undefined>;
14
15
  /**
15
16
  * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
16
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
- * @returns a RequestInformation
18
+ * @returns {RequestInformation}
18
19
  */
19
20
  toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
20
21
  }
21
- /**
22
- * Metadata for all the requests in the request builder.
23
- */
24
- export declare const RestoreRequestBuilderRequestsMetadata: RequestsMetadata;
25
22
  /**
26
23
  * Uri template for the request builder.
27
24
  */
28
25
  export declare const RestoreRequestBuilderUriTemplate = "{+baseurl}/organization/{organization%2Did}/restore";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const RestoreRequestBuilderRequestsMetadata: RequestsMetadata;
29
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,wDAAwD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBA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