@microsoft/msgraph-sdk-teamwork 1.0.0-preview.25 → 1.0.0-preview.27
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.
- package/package.json +3 -5
- package/teamwork/deletedTeams/getAllMessages/index.d.ts +2 -2
- package/teamwork/deletedTeams/getAllMessages/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/getAllMessages/index.js +7 -2
- package/teamwork/deletedTeams/getAllMessages/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/getAllMessages/index.d.ts +2 -2
- package/teamwork/deletedTeams/item/channels/getAllMessages/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/getAllMessages/index.js +7 -2
- package/teamwork/deletedTeams/item/channels/getAllMessages/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/getAllRetainedMessages/index.d.ts +88 -0
- package/teamwork/deletedTeams/item/channels/getAllRetainedMessages/index.d.ts.map +1 -0
- package/teamwork/deletedTeams/item/channels/getAllRetainedMessages/index.js +70 -0
- package/teamwork/deletedTeams/item/channels/getAllRetainedMessages/index.js.map +1 -0
- package/teamwork/deletedTeams/item/channels/index.d.ts +5 -0
- package/teamwork/deletedTeams/item/channels/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/index.js +5 -0
- package/teamwork/deletedTeams/item/channels/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/archive/index.d.ts +60 -0
- package/teamwork/deletedTeams/item/channels/item/archive/index.d.ts.map +1 -0
- package/teamwork/deletedTeams/item/channels/item/archive/index.js +59 -0
- package/teamwork/deletedTeams/item/channels/item/archive/index.js.map +1 -0
- package/teamwork/deletedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.d.ts +3 -3
- package/teamwork/deletedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.js +7 -2
- package/teamwork/deletedTeams/item/channels/item/doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/index.d.ts +10 -0
- package/teamwork/deletedTeams/item/channels/item/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/index.js +10 -0
- package/teamwork/deletedTeams/item/channels/item/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/members/add/index.d.ts +5 -5
- package/teamwork/deletedTeams/item/channels/item/members/add/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/members/add/index.js +14 -4
- package/teamwork/deletedTeams/item/channels/item/members/add/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/delta/index.d.ts +2 -2
- package/teamwork/deletedTeams/item/channels/item/messages/delta/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/delta/index.js +7 -2
- package/teamwork/deletedTeams/item/channels/item/messages/delta/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/delta/index.d.ts +2 -2
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/delta/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/delta/index.js +7 -2
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/delta/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/item/setReaction/index.d.ts +3 -3
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/item/setReaction/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/item/setReaction/index.js +7 -2
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/item/setReaction/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/item/unsetReaction/index.d.ts +3 -3
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/item/unsetReaction/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/item/unsetReaction/index.js +7 -2
- package/teamwork/deletedTeams/item/channels/item/messages/item/replies/item/unsetReaction/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/setReaction/index.d.ts +3 -3
- package/teamwork/deletedTeams/item/channels/item/messages/item/setReaction/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/setReaction/index.js +7 -2
- package/teamwork/deletedTeams/item/channels/item/messages/item/setReaction/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/unsetReaction/index.d.ts +3 -3
- package/teamwork/deletedTeams/item/channels/item/messages/item/unsetReaction/index.d.ts.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/messages/item/unsetReaction/index.js +7 -2
- package/teamwork/deletedTeams/item/channels/item/messages/item/unsetReaction/index.js.map +1 -1
- package/teamwork/deletedTeams/item/channels/item/unarchive/index.d.ts +28 -0
- package/teamwork/deletedTeams/item/channels/item/unarchive/index.d.ts.map +1 -0
- package/teamwork/deletedTeams/item/channels/item/unarchive/index.js +25 -0
- package/teamwork/deletedTeams/item/channels/item/unarchive/index.js.map +1 -0
- package/teamwork/sendActivityNotificationToRecipients/index.d.ts +9 -9
- package/teamwork/sendActivityNotificationToRecipients/index.d.ts.map +1 -1
- package/teamwork/sendActivityNotificationToRecipients/index.js +13 -8
- package/teamwork/sendActivityNotificationToRecipients/index.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-teamwork",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.27",
|
|
4
4
|
"description": "Teamwork 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.
|
|
38
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.27",
|
|
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": "
|
|
46
|
+
"gitHead": "9168d6ffbf1dc6fb12b153e9b148356646d892e6"
|
|
49
47
|
}
|
|
@@ -15,7 +15,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount
|
|
|
15
15
|
/**
|
|
16
16
|
* The value property
|
|
17
17
|
*/
|
|
18
|
-
value?: ChatMessage[];
|
|
18
|
+
value?: ChatMessage[] | null;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Provides operations to call the getAllMessages method.
|
|
@@ -80,7 +80,7 @@ export interface GetAllMessagesRequestBuilderGetQueryParameters {
|
|
|
80
80
|
* Serializes information the current object
|
|
81
81
|
* @param writer Serialization writer to use to serialize this model
|
|
82
82
|
*/
|
|
83
|
-
export declare function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse?: Partial<GetAllMessagesGetResponse> | undefined): void;
|
|
83
|
+
export declare function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse?: Partial<GetAllMessagesGetResponse> | undefined | null): void;
|
|
84
84
|
/**
|
|
85
85
|
* Uri template for the request builder.
|
|
86
86
|
*/
|
|
@@ -1 +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;
|
|
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;AAEH,wBAAgB,qDAAqD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE7K;AACD;;;GAGG;AAEH,wBAAgB,wCAAwC,CAAC,yBAAyB,GAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,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Ac/L;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAW1D,CAAC"}
|
|
@@ -10,6 +10,7 @@ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/m
|
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
11
|
* @returns {GetAllMessagesGetResponse}
|
|
12
12
|
*/
|
|
13
|
+
// @ts-ignore
|
|
13
14
|
export function createGetAllMessagesGetResponseFromDiscriminatorValue(parseNode) {
|
|
14
15
|
return deserializeIntoGetAllMessagesGetResponse;
|
|
15
16
|
}
|
|
@@ -17,6 +18,7 @@ export function createGetAllMessagesGetResponseFromDiscriminatorValue(parseNode)
|
|
|
17
18
|
* The deserialization information for the current model
|
|
18
19
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
19
20
|
*/
|
|
21
|
+
// @ts-ignore
|
|
20
22
|
export function deserializeIntoGetAllMessagesGetResponse(getAllMessagesGetResponse = {}) {
|
|
21
23
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(getAllMessagesGetResponse)), { "value": n => { getAllMessagesGetResponse.value = n.getCollectionOfObjectValues(createChatMessageFromDiscriminatorValue); } });
|
|
22
24
|
}
|
|
@@ -24,9 +26,12 @@ export function deserializeIntoGetAllMessagesGetResponse(getAllMessagesGetRespon
|
|
|
24
26
|
* Serializes information the current object
|
|
25
27
|
* @param writer Serialization writer to use to serialize this model
|
|
26
28
|
*/
|
|
29
|
+
// @ts-ignore
|
|
27
30
|
export function serializeGetAllMessagesGetResponse(writer, getAllMessagesGetResponse = {}) {
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
if (getAllMessagesGetResponse) {
|
|
32
|
+
serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse);
|
|
33
|
+
writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage);
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
/**
|
|
32
37
|
* Uri template for 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,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,qDAAqD,CAAC,SAAgC;IAClG,OAAO,wCAAwC,CAAC;AACpD,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,wCAAwC,CAAC,4BAA4E,EAAE;IACnI,uCACO,oDAAoD,CAAC,yBAAyB,CAAC,KAClF,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAc,uCAAuC,CAAC,CAAC,CAAC,CAAC,IAC3I;AACL,CAAC;AAkED;;;GAGG;AACH,MAAM,UAAU,kCAAkC,CAAC,MAA2B,EAAE,
|
|
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,aAAa;AACb,MAAM,UAAU,qDAAqD,CAAC,SAAgC;IAClG,OAAO,wCAAwC,CAAC;AACpD,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,wCAAwC,CAAC,4BAA4E,EAAE;IACnI,uCACO,oDAAoD,CAAC,yBAAyB,CAAC,KAClF,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAc,uCAAuC,CAAC,CAAC,CAAC,CAAC,IAC3I;AACL,CAAC;AAkED;;;GAGG;AACH,aAAa;AACb,MAAM,UAAU,kCAAkC,CAAC,MAA2B,EAAE,4BAAmF,EAAE;IACjK,IAAI,yBAAyB,EAAE,CAAC;QAC5B,8CAA8C,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAA;QACjF,MAAM,CAAC,6BAA6B,CAAc,OAAO,EAAE,yBAAyB,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC;IACtH,CAAC;AACL,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,uIAAuI,CAAC;AAC/L;;GAEG;AACH,MAAM,oDAAoD,GAA2B;IACjF,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,4CAA4C,GAAqB;IAC1E,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qDAAqD;QAC3E,qBAAqB,EAAE,oDAAoD;KAC9E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -15,7 +15,7 @@ export interface GetAllMessagesGetResponse extends BaseCollectionPaginationCount
|
|
|
15
15
|
/**
|
|
16
16
|
* The value property
|
|
17
17
|
*/
|
|
18
|
-
value?: ChatMessage[];
|
|
18
|
+
value?: ChatMessage[] | null;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Provides operations to call the getAllMessages method.
|
|
@@ -81,7 +81,7 @@ export interface GetAllMessagesRequestBuilderGetQueryParameters {
|
|
|
81
81
|
* Serializes information the current object
|
|
82
82
|
* @param writer Serialization writer to use to serialize this model
|
|
83
83
|
*/
|
|
84
|
-
export declare function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse?: Partial<GetAllMessagesGetResponse> | undefined): void;
|
|
84
|
+
export declare function serializeGetAllMessagesGetResponse(writer: SerializationWriter, getAllMessagesGetResponse?: Partial<GetAllMessagesGetResponse> | undefined | null): void;
|
|
85
85
|
/**
|
|
86
86
|
* Uri template for the request builder.
|
|
87
87
|
*/
|
|
@@ -1 +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;
|
|
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;AAEH,wBAAgB,qDAAqD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QA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ACD;;;GAGG;AAEH,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,mBAAmB,EAAE,yBAAyB,GAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAK5K;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,sKAAsK,CAAC;AAc3N;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAW1D,CAAC"}
|
|
@@ -10,6 +10,7 @@ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/m
|
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
11
|
* @returns {GetAllMessagesGetResponse}
|
|
12
12
|
*/
|
|
13
|
+
// @ts-ignore
|
|
13
14
|
export function createGetAllMessagesGetResponseFromDiscriminatorValue(parseNode) {
|
|
14
15
|
return deserializeIntoGetAllMessagesGetResponse;
|
|
15
16
|
}
|
|
@@ -17,6 +18,7 @@ export function createGetAllMessagesGetResponseFromDiscriminatorValue(parseNode)
|
|
|
17
18
|
* The deserialization information for the current model
|
|
18
19
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
19
20
|
*/
|
|
21
|
+
// @ts-ignore
|
|
20
22
|
export function deserializeIntoGetAllMessagesGetResponse(getAllMessagesGetResponse = {}) {
|
|
21
23
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(getAllMessagesGetResponse)), { "value": n => { getAllMessagesGetResponse.value = n.getCollectionOfObjectValues(createChatMessageFromDiscriminatorValue); } });
|
|
22
24
|
}
|
|
@@ -24,9 +26,12 @@ export function deserializeIntoGetAllMessagesGetResponse(getAllMessagesGetRespon
|
|
|
24
26
|
* Serializes information the current object
|
|
25
27
|
* @param writer Serialization writer to use to serialize this model
|
|
26
28
|
*/
|
|
29
|
+
// @ts-ignore
|
|
27
30
|
export function serializeGetAllMessagesGetResponse(writer, getAllMessagesGetResponse = {}) {
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
if (getAllMessagesGetResponse) {
|
|
32
|
+
serializeBaseCollectionPaginationCountResponse(writer, getAllMessagesGetResponse);
|
|
33
|
+
writer.writeCollectionOfObjectValues("value", getAllMessagesGetResponse.value, serializeChatMessage);
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
/**
|
|
32
37
|
* Uri template for 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,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,qDAAqD,CAAC,SAAgC;IAClG,OAAO,wCAAwC,CAAC;AACpD,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,wCAAwC,CAAC,4BAA4E,EAAE;IACnI,uCACO,oDAAoD,CAAC,yBAAyB,CAAC,KAClF,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAc,uCAAuC,CAAC,CAAC,CAAC,CAAC,IAC3I;AACL,CAAC;AAmED;;;GAGG;AACH,MAAM,UAAU,kCAAkC,CAAC,MAA2B,EAAE,
|
|
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,aAAa;AACb,MAAM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
|
|
@@ -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[] | null;
|
|
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 | null): void;
|
|
80
|
+
/**
|
|
81
|
+
* Uri template for the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const GetAllRetainedMessagesRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%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;AAEH,wBAAgB,6DAA6D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAErL;AACD;;;GAGG;AAEH,wBAAgB,gDAAgD,CAAC,iCAAiC,GAAE,OAAO,CAAC,iCAAiC,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3M;AACD,MAAM,WAAW,iCAAkC,SAAQ,qCAAqC,EAAE,QAAQ;IACtG;;OAEG;IACH,KAA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
|
|
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
|
+
// @ts-ignore
|
|
14
|
+
export function createGetAllRetainedMessagesGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoGetAllRetainedMessagesGetResponse;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
20
|
+
*/
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
export function deserializeIntoGetAllRetainedMessagesGetResponse(getAllRetainedMessagesGetResponse = {}) {
|
|
23
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(getAllRetainedMessagesGetResponse)), { "value": n => { getAllRetainedMessagesGetResponse.value = n.getCollectionOfObjectValues(createChatMessageFromDiscriminatorValue); } });
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Serializes information the current object
|
|
27
|
+
* @param writer Serialization writer to use to serialize this model
|
|
28
|
+
*/
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
export function serializeGetAllRetainedMessagesGetResponse(writer, getAllRetainedMessagesGetResponse = {}) {
|
|
31
|
+
if (getAllRetainedMessagesGetResponse) {
|
|
32
|
+
serializeBaseCollectionPaginationCountResponse(writer, getAllRetainedMessagesGetResponse);
|
|
33
|
+
writer.writeCollectionOfObjectValues("value", getAllRetainedMessagesGetResponse.value, serializeChatMessage);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export const GetAllRetainedMessagesRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/getAllRetainedMessages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
40
|
+
/**
|
|
41
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
42
|
+
*/
|
|
43
|
+
const GetAllRetainedMessagesRequestBuilderGetQueryParametersMapper = {
|
|
44
|
+
"count": "%24count",
|
|
45
|
+
"expand": "%24expand",
|
|
46
|
+
"filter": "%24filter",
|
|
47
|
+
"orderby": "%24orderby",
|
|
48
|
+
"search": "%24search",
|
|
49
|
+
"select": "%24select",
|
|
50
|
+
"skip": "%24skip",
|
|
51
|
+
"top": "%24top",
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Metadata for all the requests in the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export const GetAllRetainedMessagesRequestBuilderRequestsMetadata = {
|
|
57
|
+
get: {
|
|
58
|
+
uriTemplate: GetAllRetainedMessagesRequestBuilderUriTemplate,
|
|
59
|
+
responseBodyContentType: "application/json",
|
|
60
|
+
errorMappings: {
|
|
61
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
62
|
+
},
|
|
63
|
+
adapterMethodName: "send",
|
|
64
|
+
responseBodyFactory: createGetAllRetainedMessagesGetResponseFromDiscriminatorValue,
|
|
65
|
+
queryParametersMapper: GetAllRetainedMessagesRequestBuilderGetQueryParametersMapper,
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/* tslint:enable */
|
|
69
|
+
/* eslint-enable */
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAo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AG,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.deletedTeam 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,OAA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iC,8IAA8I,CAAC;AAc7L;;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,EAA4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,gBAAgB,EAAE,mCAAmC;KACxD;IACD,cAAc,EAAE;QACZ,gBAAgB,EAAE,4CAA4C;KACjE;IACD,sBAAsB,EAAE;QACpB,gBAAgB,EAAE,oDAAoD;KACzE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,GAAG,EAAE;QACD,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,qDAAqD;QAC3E,qBAAqB,EAAE,8CAA8C;KACxE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,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"}
|
|
@@ -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 | null;
|
|
11
|
+
/**
|
|
12
|
+
* The shouldSetSpoSiteReadOnlyForMembers property
|
|
13
|
+
*/
|
|
14
|
+
shouldSetSpoSiteReadOnlyForMembers?: boolean | null;
|
|
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 | null): void;
|
|
52
|
+
/**
|
|
53
|
+
* Uri template for the request builder.
|
|
54
|
+
*/
|
|
55
|
+
export declare const ArchiveRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%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,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE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AAM,gCAAgC,wFAAwF,CAAC;AACtI;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAYnD,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
// @ts-ignore
|
|
12
|
+
export function createArchivePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoArchivePostRequestBody;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
18
|
+
*/
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
export function deserializeIntoArchivePostRequestBody(archivePostRequestBody = {}) {
|
|
21
|
+
return {
|
|
22
|
+
"backingStoreEnabled": n => { archivePostRequestBody.backingStoreEnabled = true; },
|
|
23
|
+
"shouldSetSpoSiteReadOnlyForMembers": n => { archivePostRequestBody.shouldSetSpoSiteReadOnlyForMembers = n.getBooleanValue(); },
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Serializes information the current object
|
|
28
|
+
* @param writer Serialization writer to use to serialize this model
|
|
29
|
+
*/
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
export function serializeArchivePostRequestBody(writer, archivePostRequestBody = {}) {
|
|
32
|
+
if (archivePostRequestBody) {
|
|
33
|
+
writer.writeBooleanValue("shouldSetSpoSiteReadOnlyForMembers", archivePostRequestBody.shouldSetSpoSiteReadOnlyForMembers);
|
|
34
|
+
writer.writeAdditionalData(archivePostRequestBody.additionalData);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Uri template for the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export const ArchiveRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/archive";
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the requests in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const ArchiveRequestBuilderRequestsMetadata = {
|
|
45
|
+
post: {
|
|
46
|
+
uriTemplate: ArchiveRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "sendNoResponseContent",
|
|
52
|
+
requestBodyContentType: "application/json",
|
|
53
|
+
requestBodySerializer: serializeArchivePostRequestBody,
|
|
54
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
59
|
+
//# 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,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;GAGG;AACH,aAAa;AACb,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,aAAa;AACb,MAAM,UAAU,+BAA+B,CAAC,MAA2B,EAAE,yBAA6E,EAAE;IACxJ,IAAI,sBAAsB,EAAE,CAAC;QACzB,MAAM,CAAC,iBAAiB,CAAC,oCAAoC,EAAE,sBAAsB,CAAC,kCAAkC,CAAC,CAAC;QAC1H,MAAM,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,cAAc,CAAC,CAAC;IACtE,CAAC;AACL,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,qFAAqF,CAAC;AACtI;;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"}
|
|
@@ -18,11 +18,11 @@ export interface DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalName
|
|
|
18
18
|
/**
|
|
19
19
|
* Stores model information.
|
|
20
20
|
*/
|
|
21
|
-
backingStoreEnabled?: boolean;
|
|
21
|
+
backingStoreEnabled?: boolean | null;
|
|
22
22
|
/**
|
|
23
23
|
* The value property
|
|
24
24
|
*/
|
|
25
|
-
value?: boolean;
|
|
25
|
+
value?: boolean | null;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Provides operations to call the doesUserHaveAccess method.
|
|
@@ -64,7 +64,7 @@ export interface DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalName
|
|
|
64
64
|
* Serializes information the current object
|
|
65
65
|
* @param writer Serialization writer to use to serialize this model
|
|
66
66
|
*/
|
|
67
|
-
export declare function serializeDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(writer: SerializationWriter, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse?: Partial<DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse> | undefined): void;
|
|
67
|
+
export declare function serializeDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(writer: SerializationWriter, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse?: Partial<DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse> | undefined | null): void;
|
|
68
68
|
/**
|
|
69
69
|
* Uri template for the request builder.
|
|
70
70
|
*/
|
|
@@ -1 +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,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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,KA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ACD;;;GAGG;AAEH,wBAAgB,oGAAoG,CAAC,MAAM,EAAE,mBAAmB,EAAE,2FAA2F,GAAE,OAAO,CAAC,2FAA2F,CAAC,GAAG,SAAS,GAAG,IAAS,GAAI,IAAI,CAKlX;AACD;;GAEG;AACH,eAAO,MAAM,yGAAyG,wNAAwN,CAAC;AAC/U;;GAEG;AACH,eAAO,MAAM,8GAA8G,EAAE,gBAU5H,CAAC"}
|
|
@@ -8,6 +8,7 @@ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/m
|
|
|
8
8
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
9
9
|
* @returns {DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse}
|
|
10
10
|
*/
|
|
11
|
+
// @ts-ignore
|
|
11
12
|
export function createDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponseFromDiscriminatorValue(parseNode) {
|
|
12
13
|
return deserializeIntoDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse;
|
|
13
14
|
}
|
|
@@ -15,6 +16,7 @@ export function createDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipa
|
|
|
15
16
|
* The deserialization information for the current model
|
|
16
17
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
17
18
|
*/
|
|
19
|
+
// @ts-ignore
|
|
18
20
|
export function deserializeIntoDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse = {}) {
|
|
19
21
|
return {
|
|
20
22
|
"backingStoreEnabled": n => { doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.backingStoreEnabled = true; },
|
|
@@ -25,9 +27,12 @@ export function deserializeIntoDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUse
|
|
|
25
27
|
* Serializes information the current object
|
|
26
28
|
* @param writer Serialization writer to use to serialize this model
|
|
27
29
|
*/
|
|
30
|
+
// @ts-ignore
|
|
28
31
|
export function serializeDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse(writer, doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse = {}) {
|
|
29
|
-
|
|
30
|
-
|
|
32
|
+
if (doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse) {
|
|
33
|
+
writer.writeBooleanValue("value", doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.value);
|
|
34
|
+
writer.writeAdditionalData(doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameGetResponse.additionalData);
|
|
35
|
+
}
|
|
31
36
|
}
|
|
32
37
|
/**
|
|
33
38
|
* Uri template for 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,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,MAAM,UAAU,uHAAuH,CAAC,SAAgC;IACpK,OAAO,0GAA0G,CAAC;AACtH,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,0GAA0G,CAAC,8FAAgN,EAAE;IACzU,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,2FAA2F,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACvJ,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,2FAA2F,CAAC,KAAK,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KAC7I,CAAA;AACL,CAAC;AAmDD;;;G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