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

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 (158) hide show
  1. package/groups/item/calendar/calendarView/item/attachments/index.d.ts +3 -3
  2. package/groups/item/calendar/calendarView/item/instances/item/attachments/index.d.ts +3 -3
  3. package/groups/item/calendar/events/item/attachments/index.d.ts +3 -3
  4. package/groups/item/calendar/events/item/instances/item/attachments/index.d.ts +3 -3
  5. package/groups/item/calendarView/item/attachments/index.d.ts +3 -3
  6. package/groups/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
  7. package/groups/item/conversations/index.d.ts +3 -3
  8. package/groups/item/conversations/item/index.d.ts +5 -5
  9. package/groups/item/events/item/attachments/index.d.ts +3 -3
  10. package/groups/item/events/item/instances/item/attachments/index.d.ts +3 -3
  11. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.d.ts +5 -0
  12. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.d.ts.map +1 -1
  13. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/index.js +4 -0
  14. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.d.ts +81 -0
  15. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.d.ts.map +1 -0
  16. package/groups/item/sites/item/getByPathWithPath/getByPathWithPath1/pages/index.js +54 -0
  17. package/groups/item/sites/item/getByPathWithPath/index.d.ts +5 -0
  18. package/groups/item/sites/item/getByPathWithPath/index.d.ts.map +1 -1
  19. package/groups/item/sites/item/getByPathWithPath/index.js +4 -0
  20. package/groups/item/sites/item/getByPathWithPath/pages/index.d.ts +81 -0
  21. package/groups/item/sites/item/getByPathWithPath/pages/index.d.ts.map +1 -0
  22. package/groups/item/sites/item/getByPathWithPath/pages/index.js +54 -0
  23. package/groups/item/sites/item/index.d.ts +5 -0
  24. package/groups/item/sites/item/index.d.ts.map +1 -1
  25. package/groups/item/sites/item/index.js +5 -0
  26. package/groups/item/sites/item/pages/count/index.d.ts +41 -0
  27. package/groups/item/sites/item/pages/count/index.d.ts.map +1 -0
  28. package/groups/item/sites/item/pages/count/index.js +35 -0
  29. package/groups/item/sites/item/pages/graphSitePage/count/index.d.ts +41 -0
  30. package/groups/item/sites/item/pages/graphSitePage/count/index.d.ts.map +1 -0
  31. package/groups/item/sites/item/pages/graphSitePage/count/index.js +35 -0
  32. package/groups/item/sites/item/pages/graphSitePage/index.d.ts +75 -0
  33. package/groups/item/sites/item/pages/graphSitePage/index.d.ts.map +1 -0
  34. package/groups/item/sites/item/pages/graphSitePage/index.js +51 -0
  35. package/groups/item/sites/item/pages/index.d.ts +102 -0
  36. package/groups/item/sites/item/pages/index.d.ts.map +1 -0
  37. package/groups/item/sites/item/pages/index.js +74 -0
  38. package/groups/item/sites/item/pages/item/createdByUser/index.d.ts +56 -0
  39. package/groups/item/sites/item/pages/item/createdByUser/index.d.ts.map +1 -0
  40. package/groups/item/sites/item/pages/item/createdByUser/index.js +50 -0
  41. package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.d.ts +57 -0
  42. package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.d.ts.map +1 -0
  43. package/groups/item/sites/item/pages/item/createdByUser/mailboxSettings/index.js +48 -0
  44. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
  45. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  46. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
  47. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.d.ts +75 -0
  48. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  49. package/groups/item/sites/item/pages/item/createdByUser/serviceProvisioningErrors/index.js +51 -0
  50. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.d.ts +41 -0
  51. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.d.ts.map +1 -0
  52. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/count/index.js +35 -0
  53. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.d.ts +97 -0
  54. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.d.ts.map +1 -0
  55. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/index.js +69 -0
  56. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.d.ts +41 -0
  57. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.d.ts.map +1 -0
  58. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/count/index.js +35 -0
  59. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.d.ts +97 -0
  60. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.d.ts.map +1 -0
  61. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/index.js +69 -0
  62. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.d.ts +78 -0
  63. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.d.ts.map +1 -0
  64. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/index.js +66 -0
  65. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.d.ts +41 -0
  66. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.d.ts.map +1 -0
  67. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/count/index.js +35 -0
  68. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.d.ts +97 -0
  69. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.d.ts.map +1 -0
  70. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/index.js +68 -0
  71. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.d.ts +69 -0
  72. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.d.ts.map +1 -0
  73. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/columns/item/webparts/item/index.js +56 -0
  74. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.d.ts +78 -0
  75. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.d.ts.map +1 -0
  76. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/horizontalSections/item/index.js +66 -0
  77. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.d.ts +83 -0
  78. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.d.ts.map +1 -0
  79. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/index.js +71 -0
  80. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.d.ts +78 -0
  81. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.d.ts.map +1 -0
  82. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/index.js +66 -0
  83. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.d.ts +41 -0
  84. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.d.ts.map +1 -0
  85. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/count/index.js +35 -0
  86. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.d.ts +97 -0
  87. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.d.ts.map +1 -0
  88. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/index.js +68 -0
  89. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.d.ts +69 -0
  90. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.d.ts.map +1 -0
  91. package/groups/item/sites/item/pages/item/graphSitePage/canvasLayout/verticalSection/webparts/item/index.js +56 -0
  92. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.d.ts +56 -0
  93. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.d.ts.map +1 -0
  94. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/index.js +50 -0
  95. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.d.ts +57 -0
  96. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.d.ts.map +1 -0
  97. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/mailboxSettings/index.js +48 -0
  98. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
  99. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  100. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
  101. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.d.ts +75 -0
  102. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  103. package/groups/item/sites/item/pages/item/graphSitePage/createdByUser/serviceProvisioningErrors/index.js +51 -0
  104. package/groups/item/sites/item/pages/item/graphSitePage/index.d.ts +66 -0
  105. package/groups/item/sites/item/pages/item/graphSitePage/index.d.ts.map +1 -0
  106. package/groups/item/sites/item/pages/item/graphSitePage/index.js +61 -0
  107. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.d.ts +56 -0
  108. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.d.ts.map +1 -0
  109. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/index.js +50 -0
  110. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.d.ts +57 -0
  111. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
  112. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/mailboxSettings/index.js +48 -0
  113. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
  114. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  115. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
  116. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +75 -0
  117. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  118. package/groups/item/sites/item/pages/item/graphSitePage/lastModifiedByUser/serviceProvisioningErrors/index.js +51 -0
  119. package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.d.ts +41 -0
  120. package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.d.ts.map +1 -0
  121. package/groups/item/sites/item/pages/item/graphSitePage/webParts/count/index.js +35 -0
  122. package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.d.ts +97 -0
  123. package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.d.ts.map +1 -0
  124. package/groups/item/sites/item/pages/item/graphSitePage/webParts/index.js +68 -0
  125. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts +69 -0
  126. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.d.ts.map +1 -0
  127. package/groups/item/sites/item/pages/item/graphSitePage/webParts/item/index.js +56 -0
  128. package/groups/item/sites/item/pages/item/index.d.ts +88 -0
  129. package/groups/item/sites/item/pages/item/index.d.ts.map +1 -0
  130. package/groups/item/sites/item/pages/item/index.js +76 -0
  131. package/groups/item/sites/item/pages/item/lastModifiedByUser/index.d.ts +56 -0
  132. package/groups/item/sites/item/pages/item/lastModifiedByUser/index.d.ts.map +1 -0
  133. package/groups/item/sites/item/pages/item/lastModifiedByUser/index.js +50 -0
  134. package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.d.ts +57 -0
  135. package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
  136. package/groups/item/sites/item/pages/item/lastModifiedByUser/mailboxSettings/index.js +48 -0
  137. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +41 -0
  138. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  139. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
  140. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +75 -0
  141. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  142. package/groups/item/sites/item/pages/item/lastModifiedByUser/serviceProvisioningErrors/index.js +51 -0
  143. package/groups/item/sites/item/sites/add/index.d.ts +84 -0
  144. package/groups/item/sites/item/sites/add/index.d.ts.map +1 -0
  145. package/groups/item/sites/item/sites/add/index.js +86 -0
  146. package/groups/item/sites/item/sites/index.d.ts +10 -0
  147. package/groups/item/sites/item/sites/index.d.ts.map +1 -1
  148. package/groups/item/sites/item/sites/index.js +8 -0
  149. package/groups/item/sites/item/sites/remove/index.d.ts +84 -0
  150. package/groups/item/sites/item/sites/remove/index.d.ts.map +1 -0
  151. package/groups/item/sites/item/sites/remove/index.js +86 -0
  152. package/groups/item/team/channels/item/members/index.d.ts +3 -3
  153. package/groups/item/team/channels/item/members/item/index.d.ts +3 -3
  154. package/groups/item/team/primaryChannel/members/index.d.ts +3 -3
  155. package/groups/item/team/primaryChannel/members/item/index.d.ts +3 -3
  156. package/groups/item/threads/item/index.d.ts +5 -5
  157. package/package.json +3 -3
  158. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,84 @@
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
@@ -0,0 +1 @@
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,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,o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1,86 @@
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,15 +1,25 @@
1
1
  import { type SiteCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AddRequestBuilder } from './add/';
2
3
  import { type CountRequestBuilder } from './count/';
3
4
  import { type SiteItemRequestBuilder } from './item/';
5
+ import { type RemoveRequestBuilder } from './remove/';
4
6
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
7
  /**
6
8
  * Provides operations to manage the sites property of the microsoft.graph.site entity.
7
9
  */
8
10
  export interface SitesRequestBuilder extends BaseRequestBuilder<SitesRequestBuilder> {
11
+ /**
12
+ * Provides operations to call the add method.
13
+ */
14
+ get add(): AddRequestBuilder;
9
15
  /**
10
16
  * Provides operations to count the resources in the collection.
11
17
  */
12
18
  get count(): CountRequestBuilder;
19
+ /**
20
+ * Provides operations to call the remove method.
21
+ */
22
+ get remove(): RemoveRequestBuilder;
13
23
  /**
14
24
  * Provides operations to manage the sites property of the microsoft.graph.site entity.
15
25
  * @param siteId1 The unique identifier of site
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsD,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEjI,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAC9F,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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAA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M,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,wIAAwI,CAAC;AAcpL;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAcpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -6,8 +6,10 @@ exports.SitesRequestBuilderRequestsMetadata = exports.SitesRequestBuilderNavigat
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
+ const add_1 = require("./add/");
9
10
  const count_1 = require("./count/");
10
11
  const item_1 = require("./item/");
12
+ const remove_1 = require("./remove/");
11
13
  /**
12
14
  * Uri template for the request builder.
13
15
  */
@@ -33,9 +35,15 @@ exports.SitesRequestBuilderNavigationMetadata = {
33
35
  requestsMetadata: item_1.SiteItemRequestBuilderRequestsMetadata,
34
36
  pathParametersMappings: ["site%2Did1"],
35
37
  },
38
+ add: {
39
+ requestsMetadata: add_1.AddRequestBuilderRequestsMetadata,
40
+ },
36
41
  count: {
37
42
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
38
43
  },
44
+ remove: {
45
+ requestsMetadata: remove_1.RemoveRequestBuilderRequestsMetadata,
46
+ },
39
47
  };
40
48
  /**
41
49
  * Metadata for all the requests in the request builder.
@@ -0,0 +1,84 @@
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
@@ -0,0 +1 @@
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,k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B,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"}
@@ -0,0 +1,86 @@
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 */
@@ -30,12 +30,12 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
30
30
  */
31
31
  get(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMemberCollectionResponse | undefined>;
32
32
  /**
33
- * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
33
+ * Add a conversationMember to a channel.
34
34
  * @param body The request body
35
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
36
  * @returns {Promise<ConversationMember>}
37
37
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
38
- * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here}
38
+ * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here}
39
39
  */
40
40
  post(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
41
41
  /**
@@ -45,7 +45,7 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
45
45
  */
46
46
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
47
47
  /**
48
- * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
48
+ * Add a conversationMember to a channel.
49
49
  * @param body The request body
50
50
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
51
  * @returns {RequestInformation}
@@ -20,12 +20,12 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
20
20
  */
21
21
  get(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMember | undefined>;
22
22
  /**
23
- * Update the role of a conversationMember in a team or channel.
23
+ * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
24
24
  * @param body The request body
25
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
26
  * @returns {Promise<ConversationMember>}
27
27
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
28
- * @see {@link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0|Find more info here}
28
+ * @see {@link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0|Find more info here}
29
29
  */
30
30
  patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
31
31
  /**
@@ -41,7 +41,7 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
41
41
  */
42
42
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
43
  /**
44
- * Update the role of a conversationMember in a team or channel.
44
+ * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
45
45
  * @param body The request body
46
46
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
47
  * @returns {RequestInformation}
@@ -30,12 +30,12 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
30
30
  */
31
31
  get(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMemberCollectionResponse | undefined>;
32
32
  /**
33
- * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
33
+ * Add a conversationMember to a channel.
34
34
  * @param body The request body
35
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
36
  * @returns {Promise<ConversationMember>}
37
37
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
38
- * @see {@link https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0|Find more info here}
38
+ * @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here}
39
39
  */
40
40
  post(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
41
41
  /**
@@ -45,7 +45,7 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
45
45
  */
46
46
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
47
47
  /**
48
- * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
48
+ * Add a conversationMember to a channel.
49
49
  * @param body The request body
50
50
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
51
  * @returns {RequestInformation}
@@ -20,12 +20,12 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
20
20
  */
21
21
  get(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMember | undefined>;
22
22
  /**
23
- * Update the role of a conversationMember in a team or channel.
23
+ * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
24
24
  * @param body The request body
25
25
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
26
  * @returns {Promise<ConversationMember>}
27
27
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
28
- * @see {@link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0|Find more info here}
28
+ * @see {@link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0|Find more info here}
29
29
  */
30
30
  patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
31
31
  /**
@@ -41,7 +41,7 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
41
41
  */
42
42
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
43
  /**
44
- * Update the role of a conversationMember in a team or channel.
44
+ * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
45
45
  * @param body The request body
46
46
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
47
  * @returns {RequestInformation}
@@ -18,15 +18,15 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
18
18
  * Delete conversationThread.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
- * @see {@link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0|Find more info here}
21
+ * @see {@link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0|Find more info here}
22
22
  */
23
23
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
24
24
  /**
25
- * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
25
+ * Get a thread object.
26
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
27
  * @returns {Promise<ConversationThread>}
28
28
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
- * @see {@link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0|Find more info here}
29
+ * @see {@link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0|Find more info here}
30
30
  */
31
31
  get(requestConfiguration?: RequestConfiguration<ConversationThreadItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationThread | undefined>;
32
32
  /**
@@ -45,7 +45,7 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
45
45
  */
46
46
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
47
  /**
48
- * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
48
+ * Get a thread object.
49
49
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
50
  * @returns {RequestInformation}
51
51
  */
@@ -59,7 +59,7 @@ export interface ConversationThreadItemRequestBuilder extends BaseRequestBuilder
59
59
  toPatchRequestInformation(body: ConversationThread, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
60
60
  }
61
61
  /**
62
- * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
62
+ * Get a thread object.
63
63
  */
64
64
  export interface ConversationThreadItemRequestBuilderGetQueryParameters {
65
65
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-groups",
3
- "version": "1.0.0-preview.16",
3
+ "version": "1.0.0-preview.17",
4
4
  "description": "Groups fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,12 +37,12 @@
37
37
  "@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
38
38
  "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
39
39
  "@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
40
- "@microsoft/msgraph-sdk": "^1.0.0-preview.16",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.17",
41
41
  "guid-typescript": "^1.0.9",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.3.3"
46
46
  },
47
- "gitHead": "7d5a0cf29cc99c7e7f8b58504df4c47070cefa79"
47
+ "gitHead": "cf9344aac51247cf524bc8163ff07531d51c9b6c"
48
48
  }