@microsoft/msgraph-sdk-groups 1.0.0-preview.17 → 1.0.0-preview.18

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 (52) hide show
  1. package/groups/item/conversations/index.d.ts +3 -3
  2. package/groups/item/conversations/item/index.d.ts +1 -1
  3. package/groups/item/conversations/item/threads/item/posts/index.d.ts +4 -4
  4. package/groups/item/conversations/item/threads/item/reply/index.d.ts +3 -3
  5. package/groups/item/sites/item/lists/item/index.d.ts +4 -4
  6. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.d.ts.map +1 -1
  7. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.js +1 -0
  8. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/getPositionOfWebPart/index.d.ts +29 -0
  9. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/getPositionOfWebPart/index.d.ts.map +1 -0
  10. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/getPositionOfWebPart/index.js +28 -0
  11. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.d.ts +10 -1
  12. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.d.ts.map +1 -1
  13. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.js +10 -1
  14. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.d.ts.map +1 -1
  15. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.js +1 -0
  16. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/getPositionOfWebPart/index.d.ts +29 -0
  17. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/getPositionOfWebPart/index.d.ts.map +1 -0
  18. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/getPositionOfWebPart/index.js +28 -0
  19. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.d.ts +10 -1
  20. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.d.ts.map +1 -1
  21. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.js +10 -1
  22. package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.d.ts.map +1 -1
  23. package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.js +1 -0
  24. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/getPositionOfWebPart/index.d.ts +29 -0
  25. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/getPositionOfWebPart/index.d.ts.map +1 -0
  26. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/getPositionOfWebPart/index.js +28 -0
  27. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts +10 -1
  28. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts.map +1 -1
  29. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.js +10 -1
  30. package/groups/item/sites/item/sites/index.d.ts +0 -10
  31. package/groups/item/sites/item/sites/index.d.ts.map +1 -1
  32. package/groups/item/sites/item/sites/index.js +0 -8
  33. package/groups/item/team/archive/index.d.ts +2 -2
  34. package/groups/item/team/channels/item/members/item/index.d.ts +3 -3
  35. package/groups/item/team/channels/item/messages/index.d.ts +3 -3
  36. package/groups/item/team/channels/item/messages/item/replies/index.d.ts +3 -3
  37. package/groups/item/team/channels/item/tabs/item/index.d.ts +2 -2
  38. package/groups/item/team/primaryChannel/members/item/index.d.ts +3 -3
  39. package/groups/item/team/primaryChannel/messages/index.d.ts +3 -3
  40. package/groups/item/team/primaryChannel/messages/item/replies/index.d.ts +3 -3
  41. package/groups/item/team/primaryChannel/tabs/item/index.d.ts +2 -2
  42. package/groups/item/team/unarchive/index.d.ts +2 -2
  43. package/groups/item/threads/item/posts/index.d.ts +4 -4
  44. package/groups/item/threads/item/reply/index.d.ts +3 -3
  45. package/package.json +3 -3
  46. package/tsconfig.tsbuildinfo +1 -1
  47. package/groups/item/sites/item/sites/add/index.d.ts +0 -84
  48. package/groups/item/sites/item/sites/add/index.d.ts.map +0 -1
  49. package/groups/item/sites/item/sites/add/index.js +0 -86
  50. package/groups/item/sites/item/sites/remove/index.d.ts +0 -84
  51. package/groups/item/sites/item/sites/remove/index.d.ts.map +0 -1
  52. package/groups/item/sites/item/sites/remove/index.js +0 -86
@@ -1,84 +0,0 @@
1
- import { type BaseCollectionPaginationCountResponse, type Site } from '@microsoft/msgraph-sdk/models/';
2
- import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
- export interface AddPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
4
- /**
5
- * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6
- */
7
- additionalData?: Record<string, unknown>;
8
- /**
9
- * Stores model information.
10
- */
11
- backingStoreEnabled?: boolean;
12
- /**
13
- * The value property
14
- */
15
- value?: Site[];
16
- }
17
- export interface AddPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
18
- /**
19
- * The value property
20
- */
21
- value?: Site[];
22
- }
23
- /**
24
- * Provides operations to call the add method.
25
- */
26
- export interface AddRequestBuilder extends BaseRequestBuilder<AddRequestBuilder> {
27
- /**
28
- * Follow a user's site or multiple sites.
29
- * @param body The request body
30
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
- * @returns {Promise<AddPostResponse>}
32
- * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
- * @see {@link https://learn.microsoft.com/graph/api/site-follow?view=graph-rest-1.0|Find more info here}
34
- */
35
- post(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AddPostResponse | undefined>;
36
- /**
37
- * Follow a user's site or multiple sites.
38
- * @param body The request body
39
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
- * @returns {RequestInformation}
41
- */
42
- toPostRequestInformation(body: AddPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
43
- }
44
- /**
45
- * Creates a new instance of the appropriate class based on discriminator value
46
- * @param parseNode The parse node to use to read the discriminator value and create the object
47
- * @returns {AddPostRequestBody}
48
- */
49
- export declare function createAddPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
50
- /**
51
- * Creates a new instance of the appropriate class based on discriminator value
52
- * @param parseNode The parse node to use to read the discriminator value and create the object
53
- * @returns {AddPostResponse}
54
- */
55
- export declare function createAddPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
56
- /**
57
- * The deserialization information for the current model
58
- * @returns {Record<string, (node: ParseNode) => void>}
59
- */
60
- export declare function deserializeIntoAddPostRequestBody(addPostRequestBody?: Partial<AddPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
61
- /**
62
- * The deserialization information for the current model
63
- * @returns {Record<string, (node: ParseNode) => void>}
64
- */
65
- export declare function deserializeIntoAddPostResponse(addPostResponse?: Partial<AddPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
66
- /**
67
- * Serializes information the current object
68
- * @param writer Serialization writer to use to serialize this model
69
- */
70
- export declare function serializeAddPostRequestBody(writer: SerializationWriter, addPostRequestBody?: Partial<AddPostRequestBody> | undefined): void;
71
- /**
72
- * Serializes information the current object
73
- * @param writer Serialization writer to use to serialize this model
74
- */
75
- export declare function serializeAddPostResponse(writer: SerializationWriter, addPostResponse?: Partial<AddPostResponse> | undefined): void;
76
- /**
77
- * Uri template for the request builder.
78
- */
79
- export declare const AddRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/sites/add";
80
- /**
81
- * Metadata for all the requests in the request builder.
82
- */
83
- export declare const AddRequestBuilderRequestsMetadata: RequestsMetadata;
84
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyJ,KAAK,qCAAqC,EAAE,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE9P,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,MAAM,WAAW,kBAAmB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACnF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAClB;AACD,MAAM,WAAW,eAAgB,SAAQ,qCAAqC,EAAE,QAAQ;IACpF;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAClB;AACD;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACxI;;;;;OAKG;IACF,wBAAw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C,EAAE,gBAa/C,CAAC"}
@@ -1,86 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddRequestBuilderRequestsMetadata = exports.AddRequestBuilderUriTemplate = exports.serializeAddPostResponse = exports.serializeAddPostRequestBody = exports.deserializeIntoAddPostResponse = exports.deserializeIntoAddPostRequestBody = exports.createAddPostResponseFromDiscriminatorValue = exports.createAddPostRequestBodyFromDiscriminatorValue = void 0;
4
- /* tslint:disable */
5
- /* eslint-disable */
6
- // Generated by Microsoft Kiota
7
- const models_1 = require("@microsoft/msgraph-sdk/models/");
8
- const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
- /**
10
- * Creates a new instance of the appropriate class based on discriminator value
11
- * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns {AddPostRequestBody}
13
- */
14
- function createAddPostRequestBodyFromDiscriminatorValue(parseNode) {
15
- return deserializeIntoAddPostRequestBody;
16
- }
17
- exports.createAddPostRequestBodyFromDiscriminatorValue = createAddPostRequestBodyFromDiscriminatorValue;
18
- /**
19
- * Creates a new instance of the appropriate class based on discriminator value
20
- * @param parseNode The parse node to use to read the discriminator value and create the object
21
- * @returns {AddPostResponse}
22
- */
23
- function createAddPostResponseFromDiscriminatorValue(parseNode) {
24
- return deserializeIntoAddPostResponse;
25
- }
26
- exports.createAddPostResponseFromDiscriminatorValue = createAddPostResponseFromDiscriminatorValue;
27
- /**
28
- * The deserialization information for the current model
29
- * @returns {Record<string, (node: ParseNode) => void>}
30
- */
31
- function deserializeIntoAddPostRequestBody(addPostRequestBody = {}) {
32
- return {
33
- "backingStoreEnabled": n => { addPostRequestBody.backingStoreEnabled = true; },
34
- "value": n => { addPostRequestBody.value = n.getCollectionOfObjectValues(models_1.createSiteFromDiscriminatorValue); },
35
- };
36
- }
37
- exports.deserializeIntoAddPostRequestBody = deserializeIntoAddPostRequestBody;
38
- /**
39
- * The deserialization information for the current model
40
- * @returns {Record<string, (node: ParseNode) => void>}
41
- */
42
- function deserializeIntoAddPostResponse(addPostResponse = {}) {
43
- return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(addPostResponse)), { "value": n => { addPostResponse.value = n.getCollectionOfObjectValues(models_1.createSiteFromDiscriminatorValue); } });
44
- }
45
- exports.deserializeIntoAddPostResponse = deserializeIntoAddPostResponse;
46
- /**
47
- * Serializes information the current object
48
- * @param writer Serialization writer to use to serialize this model
49
- */
50
- function serializeAddPostRequestBody(writer, addPostRequestBody = {}) {
51
- writer.writeCollectionOfObjectValues("value", addPostRequestBody.value, models_1.serializeSite);
52
- writer.writeAdditionalData(addPostRequestBody.additionalData);
53
- }
54
- exports.serializeAddPostRequestBody = serializeAddPostRequestBody;
55
- /**
56
- * Serializes information the current object
57
- * @param writer Serialization writer to use to serialize this model
58
- */
59
- function serializeAddPostResponse(writer, addPostResponse = {}) {
60
- (0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, addPostResponse);
61
- writer.writeCollectionOfObjectValues("value", addPostResponse.value, models_1.serializeSite);
62
- }
63
- exports.serializeAddPostResponse = serializeAddPostResponse;
64
- /**
65
- * Uri template for the request builder.
66
- */
67
- exports.AddRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/sites/add";
68
- /**
69
- * Metadata for all the requests in the request builder.
70
- */
71
- exports.AddRequestBuilderRequestsMetadata = {
72
- post: {
73
- uriTemplate: exports.AddRequestBuilderUriTemplate,
74
- responseBodyContentType: "application/json",
75
- errorMappings: {
76
- XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
77
- },
78
- adapterMethodName: "send",
79
- responseBodyFactory: createAddPostResponseFromDiscriminatorValue,
80
- requestBodyContentType: "application/json",
81
- requestBodySerializer: serializeAddPostRequestBody,
82
- requestInformationContentSetMethod: "setContentFromParsable",
83
- },
84
- };
85
- /* tslint:enable */
86
- /* eslint-enable */
@@ -1,84 +0,0 @@
1
- import { type BaseCollectionPaginationCountResponse, type Site } from '@microsoft/msgraph-sdk/models/';
2
- import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
- /**
4
- * Creates a new instance of the appropriate class based on discriminator value
5
- * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns {RemovePostRequestBody}
7
- */
8
- export declare function createRemovePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
- /**
10
- * Creates a new instance of the appropriate class based on discriminator value
11
- * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns {RemovePostResponse}
13
- */
14
- export declare function createRemovePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
15
- /**
16
- * The deserialization information for the current model
17
- * @returns {Record<string, (node: ParseNode) => void>}
18
- */
19
- export declare function deserializeIntoRemovePostRequestBody(removePostRequestBody?: Partial<RemovePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
20
- /**
21
- * The deserialization information for the current model
22
- * @returns {Record<string, (node: ParseNode) => void>}
23
- */
24
- export declare function deserializeIntoRemovePostResponse(removePostResponse?: Partial<RemovePostResponse> | undefined): Record<string, (node: ParseNode) => void>;
25
- export interface RemovePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
26
- /**
27
- * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
28
- */
29
- additionalData?: Record<string, unknown>;
30
- /**
31
- * Stores model information.
32
- */
33
- backingStoreEnabled?: boolean;
34
- /**
35
- * The value property
36
- */
37
- value?: Site[];
38
- }
39
- export interface RemovePostResponse extends BaseCollectionPaginationCountResponse, Parsable {
40
- /**
41
- * The value property
42
- */
43
- value?: Site[];
44
- }
45
- /**
46
- * Provides operations to call the remove method.
47
- */
48
- export interface RemoveRequestBuilder extends BaseRequestBuilder<RemoveRequestBuilder> {
49
- /**
50
- * Unfollow a user's site or multiple sites.
51
- * @param body The request body
52
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
- * @returns {Promise<RemovePostResponse>}
54
- * @throws {ODataError} error when the service returns a 4XX or 5XX status code
55
- * @see {@link https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-1.0|Find more info here}
56
- */
57
- post(body: RemovePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RemovePostResponse | undefined>;
58
- /**
59
- * Unfollow a user's site or multiple sites.
60
- * @param body The request body
61
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
62
- * @returns {RequestInformation}
63
- */
64
- toPostRequestInformation(body: RemovePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
65
- }
66
- /**
67
- * Serializes information the current object
68
- * @param writer Serialization writer to use to serialize this model
69
- */
70
- export declare function serializeRemovePostRequestBody(writer: SerializationWriter, removePostRequestBody?: Partial<RemovePostRequestBody> | undefined): void;
71
- /**
72
- * Serializes information the current object
73
- * @param writer Serialization writer to use to serialize this model
74
- */
75
- export declare function serializeRemovePostResponse(writer: SerializationWriter, removePostResponse?: Partial<RemovePostResponse> | undefined): void;
76
- /**
77
- * Uri template for the request builder.
78
- */
79
- export declare const RemoveRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/sites/remove";
80
- /**
81
- * Metadata for all the requests in the request builder.
82
- */
83
- export declare const RemoveRequestBuilderRequestsMetadata: RequestsMetadata;
84
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyJ,KAAK,qCAAqC,EAAE,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE9P,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,E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AAE,CAAC;CAClB;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAc,GAAI,IAAI,CAGzJ;AACD;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,mBAAmB,EAAE,kBAAkB,GAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAc,GAAI,IAAI,CAGhJ;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,kEAAkE,CAAC;AAC/G;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAalD,CAAC"}
@@ -1,86 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RemoveRequestBuilderRequestsMetadata = exports.RemoveRequestBuilderUriTemplate = exports.serializeRemovePostResponse = exports.serializeRemovePostRequestBody = exports.deserializeIntoRemovePostResponse = exports.deserializeIntoRemovePostRequestBody = exports.createRemovePostResponseFromDiscriminatorValue = exports.createRemovePostRequestBodyFromDiscriminatorValue = void 0;
4
- /* tslint:disable */
5
- /* eslint-disable */
6
- // Generated by Microsoft Kiota
7
- const models_1 = require("@microsoft/msgraph-sdk/models/");
8
- const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
- /**
10
- * Creates a new instance of the appropriate class based on discriminator value
11
- * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns {RemovePostRequestBody}
13
- */
14
- function createRemovePostRequestBodyFromDiscriminatorValue(parseNode) {
15
- return deserializeIntoRemovePostRequestBody;
16
- }
17
- exports.createRemovePostRequestBodyFromDiscriminatorValue = createRemovePostRequestBodyFromDiscriminatorValue;
18
- /**
19
- * Creates a new instance of the appropriate class based on discriminator value
20
- * @param parseNode The parse node to use to read the discriminator value and create the object
21
- * @returns {RemovePostResponse}
22
- */
23
- function createRemovePostResponseFromDiscriminatorValue(parseNode) {
24
- return deserializeIntoRemovePostResponse;
25
- }
26
- exports.createRemovePostResponseFromDiscriminatorValue = createRemovePostResponseFromDiscriminatorValue;
27
- /**
28
- * The deserialization information for the current model
29
- * @returns {Record<string, (node: ParseNode) => void>}
30
- */
31
- function deserializeIntoRemovePostRequestBody(removePostRequestBody = {}) {
32
- return {
33
- "backingStoreEnabled": n => { removePostRequestBody.backingStoreEnabled = true; },
34
- "value": n => { removePostRequestBody.value = n.getCollectionOfObjectValues(models_1.createSiteFromDiscriminatorValue); },
35
- };
36
- }
37
- exports.deserializeIntoRemovePostRequestBody = deserializeIntoRemovePostRequestBody;
38
- /**
39
- * The deserialization information for the current model
40
- * @returns {Record<string, (node: ParseNode) => void>}
41
- */
42
- function deserializeIntoRemovePostResponse(removePostResponse = {}) {
43
- return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(removePostResponse)), { "value": n => { removePostResponse.value = n.getCollectionOfObjectValues(models_1.createSiteFromDiscriminatorValue); } });
44
- }
45
- exports.deserializeIntoRemovePostResponse = deserializeIntoRemovePostResponse;
46
- /**
47
- * Serializes information the current object
48
- * @param writer Serialization writer to use to serialize this model
49
- */
50
- function serializeRemovePostRequestBody(writer, removePostRequestBody = {}) {
51
- writer.writeCollectionOfObjectValues("value", removePostRequestBody.value, models_1.serializeSite);
52
- writer.writeAdditionalData(removePostRequestBody.additionalData);
53
- }
54
- exports.serializeRemovePostRequestBody = serializeRemovePostRequestBody;
55
- /**
56
- * Serializes information the current object
57
- * @param writer Serialization writer to use to serialize this model
58
- */
59
- function serializeRemovePostResponse(writer, removePostResponse = {}) {
60
- (0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, removePostResponse);
61
- writer.writeCollectionOfObjectValues("value", removePostResponse.value, models_1.serializeSite);
62
- }
63
- exports.serializeRemovePostResponse = serializeRemovePostResponse;
64
- /**
65
- * Uri template for the request builder.
66
- */
67
- exports.RemoveRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/sites/remove";
68
- /**
69
- * Metadata for all the requests in the request builder.
70
- */
71
- exports.RemoveRequestBuilderRequestsMetadata = {
72
- post: {
73
- uriTemplate: exports.RemoveRequestBuilderUriTemplate,
74
- responseBodyContentType: "application/json",
75
- errorMappings: {
76
- XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
77
- },
78
- adapterMethodName: "send",
79
- responseBodyFactory: createRemovePostResponseFromDiscriminatorValue,
80
- requestBodyContentType: "application/json",
81
- requestBodySerializer: serializeRemovePostRequestBody,
82
- requestInformationContentSetMethod: "setContentFromParsable",
83
- },
84
- };
85
- /* tslint:enable */
86
- /* eslint-enable */