@microsoft/msgraph-sdk-teams 1.0.0-preview.25 → 1.0.0-preview.26

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 (36) hide show
  1. package/package.json +3 -5
  2. package/teams/item/channels/getAllRetainedMessages/index.d.ts +88 -0
  3. package/teams/item/channels/getAllRetainedMessages/index.d.ts.map +1 -0
  4. package/teams/item/channels/getAllRetainedMessages/index.js +65 -0
  5. package/teams/item/channels/getAllRetainedMessages/index.js.map +1 -0
  6. package/teams/item/channels/index.d.ts +5 -0
  7. package/teams/item/channels/index.d.ts.map +1 -1
  8. package/teams/item/channels/index.js +5 -0
  9. package/teams/item/channels/index.js.map +1 -1
  10. package/teams/item/channels/item/archive/index.d.ts +60 -0
  11. package/teams/item/channels/item/archive/index.d.ts.map +1 -0
  12. package/teams/item/channels/item/archive/index.js +54 -0
  13. package/teams/item/channels/item/archive/index.js.map +1 -0
  14. package/teams/item/channels/item/index.d.ts +10 -0
  15. package/teams/item/channels/item/index.d.ts.map +1 -1
  16. package/teams/item/channels/item/index.js +10 -0
  17. package/teams/item/channels/item/index.js.map +1 -1
  18. package/teams/item/channels/item/members/item/index.d.ts +3 -3
  19. package/teams/item/channels/item/messages/index.d.ts +3 -3
  20. package/teams/item/channels/item/unarchive/index.d.ts +28 -0
  21. package/teams/item/channels/item/unarchive/index.d.ts.map +1 -0
  22. package/teams/item/channels/item/unarchive/index.js +25 -0
  23. package/teams/item/channels/item/unarchive/index.js.map +1 -0
  24. package/teams/item/primaryChannel/archive/index.d.ts +60 -0
  25. package/teams/item/primaryChannel/archive/index.d.ts.map +1 -0
  26. package/teams/item/primaryChannel/archive/index.js +54 -0
  27. package/teams/item/primaryChannel/archive/index.js.map +1 -0
  28. package/teams/item/primaryChannel/index.d.ts +10 -0
  29. package/teams/item/primaryChannel/index.d.ts.map +1 -1
  30. package/teams/item/primaryChannel/index.js +10 -0
  31. package/teams/item/primaryChannel/index.js.map +1 -1
  32. package/teams/item/primaryChannel/unarchive/index.d.ts +28 -0
  33. package/teams/item/primaryChannel/unarchive/index.d.ts.map +1 -0
  34. package/teams/item/primaryChannel/unarchive/index.js +25 -0
  35. package/teams/item/primaryChannel/unarchive/index.js.map +1 -0
  36. package/tsconfig.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-teams",
3
- "version": "1.0.0-preview.25",
3
+ "version": "1.0.0-preview.26",
4
4
  "description": "Teams fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -22,8 +22,6 @@
22
22
  },
23
23
  "scripts": {
24
24
  "build": "tsc -p tsconfig.json",
25
- "lint": "eslint . --ext .ts",
26
- "lint:fix": "eslint . --ext .ts --fix",
27
25
  "clean": "rimraf -g **/*.d.ts && rimraf -g **/*.d.ts.map && rimraf -g **/*.js.map && rimraf -g **/*.js && rimraf tsconfig.tsbuildinfo"
28
26
  },
29
27
  "bugs": {
@@ -37,7 +35,7 @@
37
35
  "@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
38
36
  "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
39
37
  "@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
40
- "@microsoft/msgraph-sdk": "^1.0.0-preview.25",
38
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.26",
41
39
  "guid-typescript": "^1.0.9",
42
40
  "tslib": "^2.6.2"
43
41
  },
@@ -45,5 +43,5 @@
45
43
  "typescript": "^5.3.3"
46
44
  },
47
45
  "type": "module",
48
- "gitHead": "1c6e1385a530ad9af14155a4b332bf28b670d147"
46
+ "gitHead": "bbcb3d88da56db7337c2050cd5ada9d8dfa0ab79"
49
47
  }
@@ -0,0 +1,88 @@
1
+ import { type BaseCollectionPaginationCountResponse, type ChatMessage } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { 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 {GetAllRetainedMessagesGetResponse}
7
+ */
8
+ export declare function createGetAllRetainedMessagesGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
+ */
13
+ export declare function deserializeIntoGetAllRetainedMessagesGetResponse(getAllRetainedMessagesGetResponse?: Partial<GetAllRetainedMessagesGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
14
+ export interface GetAllRetainedMessagesGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
15
+ /**
16
+ * The value property
17
+ */
18
+ value?: ChatMessage[];
19
+ }
20
+ /**
21
+ * Provides operations to call the getAllRetainedMessages method.
22
+ */
23
+ export interface GetAllRetainedMessagesRequestBuilder extends BaseRequestBuilder<GetAllRetainedMessagesRequestBuilder> {
24
+ /**
25
+ * Invoke function getAllRetainedMessages
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns {Promise<GetAllRetainedMessagesGetResponse>}
28
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
+ */
30
+ get(requestConfiguration?: RequestConfiguration<GetAllRetainedMessagesRequestBuilderGetQueryParameters> | undefined): Promise<GetAllRetainedMessagesGetResponse | undefined>;
31
+ /**
32
+ * Invoke function getAllRetainedMessages
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns {RequestInformation}
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GetAllRetainedMessagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
+ }
38
+ /**
39
+ * Invoke function getAllRetainedMessages
40
+ */
41
+ export interface GetAllRetainedMessagesRequestBuilderGetQueryParameters {
42
+ /**
43
+ * Include count of items
44
+ */
45
+ count?: boolean;
46
+ /**
47
+ * Expand related entities
48
+ */
49
+ expand?: string[];
50
+ /**
51
+ * Filter items by property values
52
+ */
53
+ filter?: string;
54
+ /**
55
+ * Order items by property values
56
+ */
57
+ orderby?: string[];
58
+ /**
59
+ * Search items by search phrases
60
+ */
61
+ search?: string;
62
+ /**
63
+ * Select properties to be returned
64
+ */
65
+ select?: string[];
66
+ /**
67
+ * Skip the first n items
68
+ */
69
+ skip?: number;
70
+ /**
71
+ * Show only the first n items
72
+ */
73
+ top?: number;
74
+ }
75
+ /**
76
+ * Serializes information the current object
77
+ * @param writer Serialization writer to use to serialize this model
78
+ */
79
+ export declare function serializeGetAllRetainedMessagesGetResponse(writer: SerializationWriter, getAllRetainedMessagesGetResponse?: Partial<GetAllRetainedMessagesGetResponse> | undefined): void;
80
+ /**
81
+ * Uri template for the request builder.
82
+ */
83
+ export declare const GetAllRetainedMessagesRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
84
+ /**
85
+ * Metadata for all the requests in the request builder.
86
+ */
87
+ export declare const GetAllRetainedMessagesRequestBuilderRequestsMetadata: RequestsMetadata;
88
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuK,KAAK,qCAAqC,EAAE,KAAK,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAI3R,OAAO,EAAE,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;AAElO;;;;GAIG;AACH,wBAAgB,6DAA6D,CAAC,SAAS,EAAE,SAAS,GA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wBAAgB,0CAA0C,CAAC,MAAM,EAAE,mBAAmB,EAAE,iCAAiC,GAAE,OAAO,CAAC,iCAAiC,CAAC,GAAG,SAAc,GAAI,IAAI,CAG7L;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,gJAAgJ,CAAC;AAc7M;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBAWlE,CAAC"}
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createChatMessageFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, serializeChatMessage } from '@microsoft/msgraph-sdk/models/index.js';
6
+ // @ts-ignore
7
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
+ /**
9
+ * Creates a new instance of the appropriate class based on discriminator value
10
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11
+ * @returns {GetAllRetainedMessagesGetResponse}
12
+ */
13
+ export function createGetAllRetainedMessagesGetResponseFromDiscriminatorValue(parseNode) {
14
+ return deserializeIntoGetAllRetainedMessagesGetResponse;
15
+ }
16
+ /**
17
+ * The deserialization information for the current model
18
+ * @returns {Record<string, (node: ParseNode) => void>}
19
+ */
20
+ export function deserializeIntoGetAllRetainedMessagesGetResponse(getAllRetainedMessagesGetResponse = {}) {
21
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(getAllRetainedMessagesGetResponse)), { "value": n => { getAllRetainedMessagesGetResponse.value = n.getCollectionOfObjectValues(createChatMessageFromDiscriminatorValue); } });
22
+ }
23
+ /**
24
+ * Serializes information the current object
25
+ * @param writer Serialization writer to use to serialize this model
26
+ */
27
+ export function serializeGetAllRetainedMessagesGetResponse(writer, getAllRetainedMessagesGetResponse = {}) {
28
+ serializeBaseCollectionPaginationCountResponse(writer, getAllRetainedMessagesGetResponse);
29
+ writer.writeCollectionOfObjectValues("value", getAllRetainedMessagesGetResponse.value, serializeChatMessage);
30
+ }
31
+ /**
32
+ * Uri template for the request builder.
33
+ */
34
+ export const GetAllRetainedMessagesRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
35
+ /**
36
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
37
+ */
38
+ const GetAllRetainedMessagesRequestBuilderGetQueryParametersMapper = {
39
+ "count": "%24count",
40
+ "expand": "%24expand",
41
+ "filter": "%24filter",
42
+ "orderby": "%24orderby",
43
+ "search": "%24search",
44
+ "select": "%24select",
45
+ "skip": "%24skip",
46
+ "top": "%24top",
47
+ };
48
+ /**
49
+ * Metadata for all the requests in the request builder.
50
+ */
51
+ export const GetAllRetainedMessagesRequestBuilderRequestsMetadata = {
52
+ get: {
53
+ uriTemplate: GetAllRetainedMessagesRequestBuilderUriTemplate,
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ XXX: createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "send",
59
+ responseBodyFactory: createGetAllRetainedMessagesGetResponseFromDiscriminatorValue,
60
+ queryParametersMapper: GetAllRetainedMessagesRequestBuilderGetQueryParametersMapper,
61
+ },
62
+ };
63
+ /* tslint:enable */
64
+ /* eslint-enable */
65
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAE,oDAAoD,EAAE,8CAA8C,EAAE,oBAAoB,EAAgE,MAAM,wCAAwC,CAAC;AAC3R,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,MAAM,UAAU,6DAA6D,CAAC,SAAgC;IAC1G,OAAO,gDAAgD,CAAC;AAC5D,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,gDAAgD,CAAC,oCAA4F,EAAE;IAC3J,uCACO,oDAAoD,CAAC,iCAAiC,CAAC,KAC1F,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,iCAAiC,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAc,uCAAuC,CAAC,CAAC,CAAC,CAAC,IACnJ;AACL,CAAC;AA8DD;;;GAGG;AACH,MAAM,UAAU,0CAA0C,CAAC,MAA2B,EAAE,oCAA4F,EAAE;IAClL,8CAA8C,CAAC,MAAM,EAAE,iCAAiC,CAAC,CAAA;IACzF,MAAM,CAAC,6BAA6B,CAAc,OAAO,EAAE,iCAAiC,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC;AAC9H,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,6IAA6I,CAAC;AAC7M;;GAEG;AACH,MAAM,4DAA4D,GAA2B;IACzF,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAqB;IAClF,GAAG,EAAE;QACD,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6DAA6D;QACnF,qBAAqB,EAAE,4DAA4D;KACtF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,6 +1,7 @@
1
1
  import { type Channel, type ChannelCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
2
2
  import { type CountRequestBuilder } from './count/index.js';
3
3
  import { type GetAllMessagesRequestBuilder } from './getAllMessages/index.js';
4
+ import { type GetAllRetainedMessagesRequestBuilder } from './getAllRetainedMessages/index.js';
4
5
  import { type ChannelItemRequestBuilder } from './item/index.js';
5
6
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
6
7
  /**
@@ -15,6 +16,10 @@ export interface ChannelsRequestBuilder extends BaseRequestBuilder<ChannelsReque
15
16
  * Provides operations to call the getAllMessages method.
16
17
  */
17
18
  get getAllMessages(): GetAllMessagesRequestBuilder;
19
+ /**
20
+ * Provides operations to call the getAllRetainedMessages method.
21
+ */
22
+ get getAllRetainedMessages(): GetAllRetainedMessagesRequestBuilder;
18
23
  /**
19
24
  * Provides operations to manage the channels property of the microsoft.graph.team entity.
20
25
  * @param channelId The unique identifier of channel
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgH,KAAK,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAIpN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAEzJ,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,cAAc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AAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,uHAAuH,CAAC;AActK;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAe1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
@@ -10,6 +10,8 @@ import { CountRequestBuilderRequestsMetadata } from './count/index.js';
10
10
  // @ts-ignore
11
11
  import { GetAllMessagesRequestBuilderRequestsMetadata } from './getAllMessages/index.js';
12
12
  // @ts-ignore
13
+ import { GetAllRetainedMessagesRequestBuilderRequestsMetadata } from './getAllRetainedMessages/index.js';
14
+ // @ts-ignore
13
15
  import { ChannelItemRequestBuilderNavigationMetadata, ChannelItemRequestBuilderRequestsMetadata } from './item/index.js';
14
16
  /**
15
17
  * Uri template for the request builder.
@@ -43,6 +45,9 @@ export const ChannelsRequestBuilderNavigationMetadata = {
43
45
  getAllMessages: {
44
46
  requestsMetadata: GetAllMessagesRequestBuilderRequestsMetadata,
45
47
  },
48
+ getAllRetainedMessages: {
49
+ requestsMetadata: GetAllRetainedMessagesRequestBuilderRequestsMetadata,
50
+ },
46
51
  };
47
52
  /**
48
53
  * Metadata for all the requests in the request builder.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,qDAAqD,EAAE,mCAAmC,EAAE,gBAAgB,EAAgD,MAAM,wCAAwC,CAAC;AACpN,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAqC,MAAM,2BAA2B,CAAC;AAC5H,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,yCAAyC,EAAkC,MAAM,iBAAiB,CAAC;AA0FzJ;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,oHAAoH,CAAC;AACtK;;GAEG;AACH,MAAM,8CAA8C,GAA2B;IAC3E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAA0G;IAC3J,WAAW,EAAE;QACT,gB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kB;QAC1C,qBAAqB,EAAE,gBAAgB;QACvC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,60 @@
1
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
2
+ export interface ArchivePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
3
+ /**
4
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
5
+ */
6
+ additionalData?: Record<string, unknown>;
7
+ /**
8
+ * Stores model information.
9
+ */
10
+ backingStoreEnabled?: boolean;
11
+ /**
12
+ * The shouldSetSpoSiteReadOnlyForMembers property
13
+ */
14
+ shouldSetSpoSiteReadOnlyForMembers?: boolean;
15
+ }
16
+ /**
17
+ * Provides operations to call the archive method.
18
+ */
19
+ export interface ArchiveRequestBuilder extends BaseRequestBuilder<ArchiveRequestBuilder> {
20
+ /**
21
+ * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
25
+ * @see {@link https://learn.microsoft.com/graph/api/channel-archive?view=graph-rest-1.0|Find more info here}
26
+ */
27
+ post(body: ArchivePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
28
+ /**
29
+ * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel or add and remove members from it. If you archive a team, its channels are also archived. Archiving is an asynchronous operation; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the channel: unarchive method. A channel can’t be archived or unarchived if its team is archived.
30
+ * @param body The request body
31
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
+ * @returns {RequestInformation}
33
+ */
34
+ toPostRequestInformation(body: ArchivePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
35
+ }
36
+ /**
37
+ * Creates a new instance of the appropriate class based on discriminator value
38
+ * @param parseNode The parse node to use to read the discriminator value and create the object
39
+ * @returns {ArchivePostRequestBody}
40
+ */
41
+ export declare function createArchivePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
42
+ /**
43
+ * The deserialization information for the current model
44
+ * @returns {Record<string, (node: ParseNode) => void>}
45
+ */
46
+ export declare function deserializeIntoArchivePostRequestBody(archivePostRequestBody?: Partial<ArchivePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
47
+ /**
48
+ * Serializes information the current object
49
+ * @param writer Serialization writer to use to serialize this model
50
+ */
51
+ export declare function serializeArchivePostRequestBody(writer: SerializationWriter, archivePostRequestBody?: Partial<ArchivePostRequestBody> | undefined): void;
52
+ /**
53
+ * Uri template for the request builder.
54
+ */
55
+ export declare const ArchiveRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/archive";
56
+ /**
57
+ * Metadata for all the requests in the request builder.
58
+ */
59
+ export declare const ArchiveRequestBuilderRequestsMetadata: RequestsMetadata;
60
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EA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E,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAc,GAAI,IAAI,CAG5J;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,iEAAiE,CAAC;AAC/G;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAYnD,CAAC"}
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Creates a new instance of the appropriate class based on discriminator value
8
+ * @param parseNode The parse node to use to read the discriminator value and create the object
9
+ * @returns {ArchivePostRequestBody}
10
+ */
11
+ export function createArchivePostRequestBodyFromDiscriminatorValue(parseNode) {
12
+ return deserializeIntoArchivePostRequestBody;
13
+ }
14
+ /**
15
+ * The deserialization information for the current model
16
+ * @returns {Record<string, (node: ParseNode) => void>}
17
+ */
18
+ export function deserializeIntoArchivePostRequestBody(archivePostRequestBody = {}) {
19
+ return {
20
+ "backingStoreEnabled": n => { archivePostRequestBody.backingStoreEnabled = true; },
21
+ "shouldSetSpoSiteReadOnlyForMembers": n => { archivePostRequestBody.shouldSetSpoSiteReadOnlyForMembers = n.getBooleanValue(); },
22
+ };
23
+ }
24
+ /**
25
+ * Serializes information the current object
26
+ * @param writer Serialization writer to use to serialize this model
27
+ */
28
+ export function serializeArchivePostRequestBody(writer, archivePostRequestBody = {}) {
29
+ writer.writeBooleanValue("shouldSetSpoSiteReadOnlyForMembers", archivePostRequestBody.shouldSetSpoSiteReadOnlyForMembers);
30
+ writer.writeAdditionalData(archivePostRequestBody.additionalData);
31
+ }
32
+ /**
33
+ * Uri template for the request builder.
34
+ */
35
+ export const ArchiveRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/archive";
36
+ /**
37
+ * Metadata for all the requests in the request builder.
38
+ */
39
+ export const ArchiveRequestBuilderRequestsMetadata = {
40
+ post: {
41
+ uriTemplate: ArchiveRequestBuilderUriTemplate,
42
+ responseBodyContentType: "application/json",
43
+ errorMappings: {
44
+ XXX: createODataErrorFromDiscriminatorValue,
45
+ },
46
+ adapterMethodName: "sendNoResponseContent",
47
+ requestBodyContentType: "application/json",
48
+ requestBodySerializer: serializeArchivePostRequestBody,
49
+ requestInformationContentSetMethod: "setContentFromParsable",
50
+ },
51
+ };
52
+ /* tslint:enable */
53
+ /* eslint-enable */
54
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAsC7H;;;;GAIG;AACH,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,qCAAqC,CAAC,yBAAsE,EAAE;IAC1H,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QAClF,oCAAoC,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,kCAAkC,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KAClI,CAAA;AACL,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,+BAA+B,CAAC,MAA2B,EAAE,yBAAsE,EAAE;IACjJ,MAAM,CAAC,iBAAiB,CAAC,oCAAoC,EAAE,sBAAsB,CAAC,kCAAkC,CAAC,CAAC;IAC1H,MAAM,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,cAAc,CAAC,CAAC;AACtE,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,8DAA8D,CAAC;AAC/G;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,4 +1,5 @@
1
1
  import { type Channel } from '@microsoft/msgraph-sdk/models/index.js';
2
+ import { type ArchiveRequestBuilder } from './archive/index.js';
2
3
  import { type CompleteMigrationRequestBuilder } from './completeMigration/index.js';
3
4
  import { type DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder } from './doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.js';
4
5
  import { type FilesFolderRequestBuilder } from './filesFolder/index.js';
@@ -8,11 +9,16 @@ import { type ProvisionEmailRequestBuilder } from './provisionEmail/index.js';
8
9
  import { type RemoveEmailRequestBuilder } from './removeEmail/index.js';
9
10
  import { type SharedWithTeamsRequestBuilder } from './sharedWithTeams/index.js';
10
11
  import { type TabsRequestBuilder } from './tabs/index.js';
12
+ import { type UnarchiveRequestBuilder } from './unarchive/index.js';
11
13
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
12
14
  /**
13
15
  * Provides operations to manage the channels property of the microsoft.graph.team entity.
14
16
  */
15
17
  export interface ChannelItemRequestBuilder extends BaseRequestBuilder<ChannelItemRequestBuilder> {
18
+ /**
19
+ * Provides operations to call the archive method.
20
+ */
21
+ get archive(): ArchiveRequestBuilder;
16
22
  /**
17
23
  * Provides operations to call the completeMigration method.
18
24
  */
@@ -49,6 +55,10 @@ export interface ChannelItemRequestBuilder extends BaseRequestBuilder<ChannelIte
49
55
  * Provides operations to manage the tabs property of the microsoft.graph.channel entity.
50
56
  */
51
57
  get tabs(): TabsRequestBuilder;
58
+ /**
59
+ * Provides operations to call the unarchive method.
60
+ */
61
+ get unarchive(): UnarchiveRequestBuilder;
52
62
  /**
53
63
  * Delete the channel.
54
64
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAI7H,OAAO,EAAmD,KAAK,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAErI,OAAO,EAAkH,KAAK,8FAA8F,EAAE,MAAM,6FAA6F,CAAC;AAElU,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEhK,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,OAAO,EAAoF,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEpJ,OAAO,EAAgD,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAAkG,KAAK,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAEhL,OAAO,EAA4E,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpI,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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,iBAAiB,IAAI,+BAA+B,CAAC;IAC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CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,+EAA+E,CAAC;AAQjI;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAuChK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBA+BvD,CAAC"}
@@ -6,6 +6,8 @@ import { createChannelFromDiscriminatorValue, serializeChannel } from '@microsof
6
6
  // @ts-ignore
7
7
  import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
8
8
  // @ts-ignore
9
+ import { ArchiveRequestBuilderRequestsMetadata } from './archive/index.js';
10
+ // @ts-ignore
9
11
  import { CompleteMigrationRequestBuilderRequestsMetadata } from './completeMigration/index.js';
10
12
  // @ts-ignore
11
13
  import { DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilderRequestsMetadata } from './doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.js';
@@ -23,6 +25,8 @@ import { RemoveEmailRequestBuilderRequestsMetadata } from './removeEmail/index.j
23
25
  import { SharedWithTeamsRequestBuilderNavigationMetadata, SharedWithTeamsRequestBuilderRequestsMetadata } from './sharedWithTeams/index.js';
24
26
  // @ts-ignore
25
27
  import { TabsRequestBuilderNavigationMetadata, TabsRequestBuilderRequestsMetadata } from './tabs/index.js';
28
+ // @ts-ignore
29
+ import { UnarchiveRequestBuilderRequestsMetadata } from './unarchive/index.js';
26
30
  /**
27
31
  * Uri template for the request builder.
28
32
  */
@@ -38,6 +42,9 @@ const ChannelItemRequestBuilderGetQueryParametersMapper = {
38
42
  * Metadata for all the navigation properties in the request builder.
39
43
  */
40
44
  export const ChannelItemRequestBuilderNavigationMetadata = {
45
+ archive: {
46
+ requestsMetadata: ArchiveRequestBuilderRequestsMetadata,
47
+ },
41
48
  completeMigration: {
42
49
  requestsMetadata: CompleteMigrationRequestBuilderRequestsMetadata,
43
50
  },
@@ -70,6 +77,9 @@ export const ChannelItemRequestBuilderNavigationMetadata = {
70
77
  requestsMetadata: TabsRequestBuilderRequestsMetadata,
71
78
  navigationMetadata: TabsRequestBuilderNavigationMetadata,
72
79
  },
80
+ unarchive: {
81
+ requestsMetadata: UnarchiveRequestBuilderRequestsMetadata,
82
+ },
73
83
  };
74
84
  /**
75
85
  * Metadata for all the requests in the request builder.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,mCAAmC,EAAE,gBAAgB,EAAgB,MAAM,wCAAwC,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAwC,MAAM,8BAA8B,CAAC;AACrI,aAAa;AACb,OAAO,EAAE,8GAA8G,EAAuG,MAAM,6FAA6F,CAAC;AAClU,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,yCAA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sC;QACxD,kBAAkB,EAAE,wCAAwC;KAC/D;IACD,cAAc,EAAE;QACZ,gBAAgB,EAAE,4CAA4C;KACjE;IACD,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;KAC9D;IACD,eAAe,EAAE;QACb,gBAAgB,EAAE,6CAA6C;QAC/D,kBAAkB,EAAE,+CAA+C;KACtE;IACD,IAAI,EAAE;QACF,gBAAgB,EAAE,kCAAkC;QACpD,kBAAkB,EAAE,oCAAoC;KAC3D;IACD,SAAS,EAAE;QACP,gBAAgB,EAAE,uCAAuC;KAC5D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,MAAM,EAAE;QACJ,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,qBAAqB,EAAE,iDAAiD;KAC3E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mCAAmC;QACzD,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gBAAgB;QACvC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -5,10 +5,10 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder<ConversationMemberItemRequestBuilder> {
7
7
  /**
8
- * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.
8
+ * Delete a conversationMember from a channel.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
- * @see {@link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0|Find more info here}
11
+ * @see {@link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0|Find more info here}
12
12
  */
13
13
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
14
14
  /**
@@ -29,7 +29,7 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
29
29
  */
30
30
  patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
31
31
  /**
32
- * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.
32
+ * Delete a conversationMember from a channel.
33
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
34
  * @returns {RequestInformation}
35
35
  */
@@ -30,12 +30,12 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
30
30
  */
31
31
  get(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): Promise<ChatMessageCollectionResponse | undefined>;
32
32
  /**
33
- * Send a new chatMessage in the specified channel or a chat.
33
+ * Send a new chatMessage in the specified 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<ChatMessage>}
37
37
  * @throws {ODataError} error when the service returns a 4XX or 5XX status code
38
- * @see {@link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0|Find more info here}
38
+ * @see {@link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0|Find more info here}
39
39
  */
40
40
  post(body: ChatMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
41
41
  /**
@@ -45,7 +45,7 @@ export interface MessagesRequestBuilder extends BaseRequestBuilder<MessagesReque
45
45
  */
46
46
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessagesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
47
47
  /**
48
- * Send a new chatMessage in the specified channel or a chat.
48
+ * Send a new chatMessage in the specified 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}
@@ -0,0 +1,28 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to call the unarchive method.
4
+ */
5
+ export interface UnarchiveRequestBuilder extends BaseRequestBuilder<UnarchiveRequestBuilder> {
6
+ /**
7
+ * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
+ * @see {@link https://learn.microsoft.com/graph/api/channel-unarchive?view=graph-rest-1.0|Find more info here}
11
+ */
12
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the channel: archive method. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchiving operation completes successfully, which might occur after this method responds.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns {RequestInformation}
17
+ */
18
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Uri template for the request builder.
22
+ */
23
+ export declare const UnarchiveRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/unarchive";
24
+ /**
25
+ * Metadata for all the requests in the request builder.
26
+ */
27
+ export declare const UnarchiveRequestBuilderRequestsMetadata: RequestsMetadata;
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,mEAAmE,CAAC;AACnH;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBASrD,CAAC"}
@@ -0,0 +1,25 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const UnarchiveRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/unarchive";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const UnarchiveRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: UnarchiveRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ XXX: createODataErrorFromDiscriminatorValue,
19
+ },
20
+ adapterMethodName: "sendNoResponseContent",
21
+ },
22
+ };
23
+ /* tslint:enable */
24
+ /* eslint-enable */
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAsB7H;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,gEAAgE,CAAC;AACnH;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,IAAI,EAAE;QACF,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}