@microsoft/msgraph-sdk-teamwork 1.0.0-preview.80 → 1.0.0-preview.83

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 (40) hide show
  1. package/package.json +2 -2
  2. package/teamwork/deletedTeams/item/channels/item/completeMigration/index.d.ts +2 -2
  3. package/teamwork/deletedTeams/item/channels/item/enabledApps/count/index.d.ts +41 -0
  4. package/teamwork/deletedTeams/item/channels/item/enabledApps/count/index.d.ts.map +1 -0
  5. package/teamwork/deletedTeams/item/channels/item/enabledApps/count/index.js +34 -0
  6. package/teamwork/deletedTeams/item/channels/item/enabledApps/count/index.js.map +1 -0
  7. package/teamwork/deletedTeams/item/channels/item/enabledApps/index.d.ts +82 -0
  8. package/teamwork/deletedTeams/item/channels/item/enabledApps/index.d.ts.map +1 -0
  9. package/teamwork/deletedTeams/item/channels/item/enabledApps/index.js +58 -0
  10. package/teamwork/deletedTeams/item/channels/item/enabledApps/index.js.map +1 -0
  11. package/teamwork/deletedTeams/item/channels/item/enabledApps/item/index.d.ts +42 -0
  12. package/teamwork/deletedTeams/item/channels/item/enabledApps/item/index.d.ts.map +1 -0
  13. package/teamwork/deletedTeams/item/channels/item/enabledApps/item/index.js +36 -0
  14. package/teamwork/deletedTeams/item/channels/item/enabledApps/item/index.js.map +1 -0
  15. package/teamwork/deletedTeams/item/channels/item/index.d.ts +10 -0
  16. package/teamwork/deletedTeams/item/channels/item/index.d.ts.map +1 -1
  17. package/teamwork/deletedTeams/item/channels/item/index.js +11 -0
  18. package/teamwork/deletedTeams/item/channels/item/index.js.map +1 -1
  19. package/teamwork/deletedTeams/item/channels/item/messages/index.d.ts +5 -0
  20. package/teamwork/deletedTeams/item/channels/item/messages/index.d.ts.map +1 -1
  21. package/teamwork/deletedTeams/item/channels/item/messages/index.js +5 -0
  22. package/teamwork/deletedTeams/item/channels/item/messages/index.js.map +1 -1
  23. package/teamwork/deletedTeams/item/channels/item/messages/item/replies/index.d.ts +5 -0
  24. package/teamwork/deletedTeams/item/channels/item/messages/item/replies/index.d.ts.map +1 -1
  25. package/teamwork/deletedTeams/item/channels/item/messages/item/replies/index.js +5 -0
  26. package/teamwork/deletedTeams/item/channels/item/messages/item/replies/index.js.map +1 -1
  27. package/teamwork/deletedTeams/item/channels/item/messages/item/replies/replyWithQuote/index.d.ts +65 -0
  28. package/teamwork/deletedTeams/item/channels/item/messages/item/replies/replyWithQuote/index.d.ts.map +1 -0
  29. package/teamwork/deletedTeams/item/channels/item/messages/item/replies/replyWithQuote/index.js +68 -0
  30. package/teamwork/deletedTeams/item/channels/item/messages/item/replies/replyWithQuote/index.js.map +1 -0
  31. package/teamwork/deletedTeams/item/channels/item/messages/replyWithQuote/index.d.ts +65 -0
  32. package/teamwork/deletedTeams/item/channels/item/messages/replyWithQuote/index.d.ts.map +1 -0
  33. package/teamwork/deletedTeams/item/channels/item/messages/replyWithQuote/index.js +68 -0
  34. package/teamwork/deletedTeams/item/channels/item/messages/replyWithQuote/index.js.map +1 -0
  35. package/teamwork/deletedTeams/item/channels/item/startMigration/index.d.ts +59 -0
  36. package/teamwork/deletedTeams/item/channels/item/startMigration/index.d.ts.map +1 -0
  37. package/teamwork/deletedTeams/item/channels/item/startMigration/index.js +63 -0
  38. package/teamwork/deletedTeams/item/channels/item/startMigration/index.js.map +1 -0
  39. package/tsconfig.json +0 -1
  40. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,65 @@
1
+ import { type ChatMessage } from '@microsoft/msgraph-sdk/models/index.js';
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 {ReplyWithQuotePostRequestBody}
7
+ */
8
+ export declare function createReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @param ReplyWithQuotePostRequestBody The instance to deserialize into.
12
+ * @returns {Record<string, (node: ParseNode) => void>}
13
+ */
14
+ export declare function deserializeIntoReplyWithQuotePostRequestBody(replyWithQuotePostRequestBody?: Partial<ReplyWithQuotePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
15
+ export interface ReplyWithQuotePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
16
+ /**
17
+ * Stores model information.
18
+ */
19
+ backingStoreEnabled?: boolean | null;
20
+ /**
21
+ * The messageIds property
22
+ */
23
+ messageIds?: string[] | null;
24
+ /**
25
+ * The replyMessage property
26
+ */
27
+ replyMessage?: ChatMessage | null;
28
+ }
29
+ /**
30
+ * Provides operations to call the replyWithQuote method.
31
+ */
32
+ export interface ReplyWithQuoteRequestBuilder extends BaseRequestBuilder<ReplyWithQuoteRequestBuilder> {
33
+ /**
34
+ * Reply with quote to a single chat message or multiple chat messages in a chat.
35
+ * @param body The request body
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {Promise<ChatMessage>}
38
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
39
+ * @see {@link https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0|Find more info here}
40
+ */
41
+ post(body: ReplyWithQuotePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
42
+ /**
43
+ * Reply with quote to a single chat message or multiple chat messages in a chat.
44
+ * @param body The request body
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns {RequestInformation}
47
+ */
48
+ toPostRequestInformation(body: ReplyWithQuotePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
+ }
50
+ /**
51
+ * Serializes information the current object
52
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
53
+ * @param ReplyWithQuotePostRequestBody The instance to serialize from.
54
+ * @param writer Serialization writer to use to serialize this model
55
+ */
56
+ export declare function serializeReplyWithQuotePostRequestBody(writer: SerializationWriter, replyWithQuotePostRequestBody?: Partial<ReplyWithQuotePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const ReplyWithQuoteRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote";
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const ReplyWithQuoteRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAIzI,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;AAEH,wBAAgB,yDAAyD,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,CAEjL;AACD;;;;GAIG;AAEH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAM/L;AACD,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC9F;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CACrC;AACD;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC/I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;;;;GAKG;AAEH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAKnO;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,mIAAmI,CAAC;AACxL;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAa1D,CAAC"}
@@ -0,0 +1,68 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createChatMessageFromDiscriminatorValue, 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 {ReplyWithQuotePostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoReplyWithQuotePostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @param ReplyWithQuotePostRequestBody The instance to deserialize into.
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
+ */
22
+ // @ts-ignore
23
+ export function deserializeIntoReplyWithQuotePostRequestBody(replyWithQuotePostRequestBody = {}) {
24
+ return {
25
+ "backingStoreEnabled": n => { replyWithQuotePostRequestBody.backingStoreEnabled = true; },
26
+ "messageIds": n => { replyWithQuotePostRequestBody.messageIds = n.getCollectionOfPrimitiveValues(); },
27
+ "replyMessage": n => { replyWithQuotePostRequestBody.replyMessage = n.getObjectValue(createChatMessageFromDiscriminatorValue); },
28
+ };
29
+ }
30
+ /**
31
+ * Serializes information the current object
32
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
33
+ * @param ReplyWithQuotePostRequestBody The instance to serialize from.
34
+ * @param writer Serialization writer to use to serialize this model
35
+ */
36
+ // @ts-ignore
37
+ export function serializeReplyWithQuotePostRequestBody(writer, replyWithQuotePostRequestBody = {}, isSerializingDerivedType = false) {
38
+ if (!replyWithQuotePostRequestBody || isSerializingDerivedType) {
39
+ return;
40
+ }
41
+ writer.writeCollectionOfPrimitiveValues("messageIds", replyWithQuotePostRequestBody.messageIds);
42
+ writer.writeObjectValue("replyMessage", replyWithQuotePostRequestBody.replyMessage, serializeChatMessage);
43
+ writer.writeAdditionalData(replyWithQuotePostRequestBody.additionalData);
44
+ }
45
+ /**
46
+ * Uri template for the request builder.
47
+ */
48
+ export const ReplyWithQuoteRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote";
49
+ /**
50
+ * Metadata for all the requests in the request builder.
51
+ */
52
+ export const ReplyWithQuoteRequestBuilderRequestsMetadata = {
53
+ post: {
54
+ uriTemplate: ReplyWithQuoteRequestBuilderUriTemplate,
55
+ responseBodyContentType: "application/json",
56
+ errorMappings: {
57
+ XXX: createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "send",
60
+ responseBodyFactory: createChatMessageFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: serializeReplyWithQuotePostRequestBody,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /* tslint:enable */
67
+ /* eslint-enable */
68
+ //# 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,oBAAoB,EAAoB,MAAM,wCAAwC,CAAC;AACzI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yDAAyD,CAAC,SAAgC;IACtG,OAAO,4CAA4C,CAAC;AACxD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4CAA4C,CAAC,gCAAoF,EAAE;IAC/I,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACzF,YAAY,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,UAAU,GAAG,CAAC,CAAC,8BAA8B,EAAU,CAAC,CAAC,CAAC;QAC7G,cAAc,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,YAAY,GAAG,CAAC,CAAC,cAAc,CAAc,uCAAuC,CAAC,CAAC,CAAC,CAAC;KAChJ,CAAA;AACL,CAAC;AAoCD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,sCAAsC,CAAC,MAA2B,EAAE,gCAA2F,EAAE,EAAE,2BAAoC,KAAK;IACxN,IAAI,CAAC,6BAA6B,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC3E,MAAM,CAAC,gCAAgC,CAAS,YAAY,EAAE,6BAA6B,CAAC,UAAU,CAAC,CAAC;IACxG,MAAM,CAAC,gBAAgB,CAAc,cAAc,EAAE,6BAA6B,CAAC,YAAY,EAAE,oBAAoB,CAAC,CAAC;IACvH,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,cAAc,CAAC,CAAC;AAC7E,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,gIAAgI,CAAC;AACxL;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uCAAuC;QAC7D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sCAAsC;QAC7D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,65 @@
1
+ import { type ChatMessage } from '@microsoft/msgraph-sdk/models/index.js';
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 {ReplyWithQuotePostRequestBody}
7
+ */
8
+ export declare function createReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @param ReplyWithQuotePostRequestBody The instance to deserialize into.
12
+ * @returns {Record<string, (node: ParseNode) => void>}
13
+ */
14
+ export declare function deserializeIntoReplyWithQuotePostRequestBody(replyWithQuotePostRequestBody?: Partial<ReplyWithQuotePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
15
+ export interface ReplyWithQuotePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
16
+ /**
17
+ * Stores model information.
18
+ */
19
+ backingStoreEnabled?: boolean | null;
20
+ /**
21
+ * The messageIds property
22
+ */
23
+ messageIds?: string[] | null;
24
+ /**
25
+ * The replyMessage property
26
+ */
27
+ replyMessage?: ChatMessage | null;
28
+ }
29
+ /**
30
+ * Provides operations to call the replyWithQuote method.
31
+ */
32
+ export interface ReplyWithQuoteRequestBuilder extends BaseRequestBuilder<ReplyWithQuoteRequestBuilder> {
33
+ /**
34
+ * Reply with quote to a single chat message or multiple chat messages in a chat.
35
+ * @param body The request body
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns {Promise<ChatMessage>}
38
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
39
+ * @see {@link https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0|Find more info here}
40
+ */
41
+ post(body: ReplyWithQuotePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessage | undefined>;
42
+ /**
43
+ * Reply with quote to a single chat message or multiple chat messages in a chat.
44
+ * @param body The request body
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns {RequestInformation}
47
+ */
48
+ toPostRequestInformation(body: ReplyWithQuotePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
49
+ }
50
+ /**
51
+ * Serializes information the current object
52
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
53
+ * @param ReplyWithQuotePostRequestBody The instance to serialize from.
54
+ * @param writer Serialization writer to use to serialize this model
55
+ */
56
+ export declare function serializeReplyWithQuotePostRequestBody(writer: SerializationWriter, replyWithQuotePostRequestBody?: Partial<ReplyWithQuotePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const ReplyWithQuoteRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/replyWithQuote";
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const ReplyWithQuoteRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAIzI,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;AAEH,wBAAgB,yDAAyD,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,CAEjL;AACD;;;;GAIG;AAEH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAM/L;AACD,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC9F;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CACrC;AACD;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC/I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;;;;GAKG;AAEH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAKnO;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,wGAAwG,CAAC;AAC7J;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAa1D,CAAC"}
@@ -0,0 +1,68 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createChatMessageFromDiscriminatorValue, 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 {ReplyWithQuotePostRequestBody}
12
+ */
13
+ // @ts-ignore
14
+ export function createReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoReplyWithQuotePostRequestBody;
16
+ }
17
+ /**
18
+ * The deserialization information for the current model
19
+ * @param ReplyWithQuotePostRequestBody The instance to deserialize into.
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
+ */
22
+ // @ts-ignore
23
+ export function deserializeIntoReplyWithQuotePostRequestBody(replyWithQuotePostRequestBody = {}) {
24
+ return {
25
+ "backingStoreEnabled": n => { replyWithQuotePostRequestBody.backingStoreEnabled = true; },
26
+ "messageIds": n => { replyWithQuotePostRequestBody.messageIds = n.getCollectionOfPrimitiveValues(); },
27
+ "replyMessage": n => { replyWithQuotePostRequestBody.replyMessage = n.getObjectValue(createChatMessageFromDiscriminatorValue); },
28
+ };
29
+ }
30
+ /**
31
+ * Serializes information the current object
32
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
33
+ * @param ReplyWithQuotePostRequestBody The instance to serialize from.
34
+ * @param writer Serialization writer to use to serialize this model
35
+ */
36
+ // @ts-ignore
37
+ export function serializeReplyWithQuotePostRequestBody(writer, replyWithQuotePostRequestBody = {}, isSerializingDerivedType = false) {
38
+ if (!replyWithQuotePostRequestBody || isSerializingDerivedType) {
39
+ return;
40
+ }
41
+ writer.writeCollectionOfPrimitiveValues("messageIds", replyWithQuotePostRequestBody.messageIds);
42
+ writer.writeObjectValue("replyMessage", replyWithQuotePostRequestBody.replyMessage, serializeChatMessage);
43
+ writer.writeAdditionalData(replyWithQuotePostRequestBody.additionalData);
44
+ }
45
+ /**
46
+ * Uri template for the request builder.
47
+ */
48
+ export const ReplyWithQuoteRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/replyWithQuote";
49
+ /**
50
+ * Metadata for all the requests in the request builder.
51
+ */
52
+ export const ReplyWithQuoteRequestBuilderRequestsMetadata = {
53
+ post: {
54
+ uriTemplate: ReplyWithQuoteRequestBuilderUriTemplate,
55
+ responseBodyContentType: "application/json",
56
+ errorMappings: {
57
+ XXX: createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "send",
60
+ responseBodyFactory: createChatMessageFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: serializeReplyWithQuotePostRequestBody,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /* tslint:enable */
67
+ /* eslint-enable */
68
+ //# 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,oBAAoB,EAAoB,MAAM,wCAAwC,CAAC;AACzI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yDAAyD,CAAC,SAAgC;IACtG,OAAO,4CAA4C,CAAC;AACxD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4CAA4C,CAAC,gCAAoF,EAAE;IAC/I,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACzF,YAAY,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,UAAU,GAAG,CAAC,CAAC,8BAA8B,EAAU,CAAC,CAAC,CAAC;QAC7G,cAAc,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,YAAY,GAAG,CAAC,CAAC,cAAc,CAAc,uCAAuC,CAAC,CAAC,CAAC,CAAC;KAChJ,CAAA;AACL,CAAC;AAoCD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,sCAAsC,CAAC,MAA2B,EAAE,gCAA2F,EAAE,EAAE,2BAAoC,KAAK;IACxN,IAAI,CAAC,6BAA6B,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC3E,MAAM,CAAC,gCAAgC,CAAS,YAAY,EAAE,6BAA6B,CAAC,UAAU,CAAC,CAAC;IACxG,MAAM,CAAC,gBAAgB,CAAc,cAAc,EAAE,6BAA6B,CAAC,YAAY,EAAE,oBAAoB,CAAC,CAAC;IACvH,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,cAAc,CAAC,CAAC;AAC7E,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,qGAAqG,CAAC;AAC7J;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uCAAuC;QAC7D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sCAAsC;QAC7D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,59 @@
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
+ /**
3
+ * Creates a new instance of the appropriate class based on discriminator value
4
+ * @param parseNode The parse node to use to read the discriminator value and create the object
5
+ * @returns {StartMigrationPostRequestBody}
6
+ */
7
+ export declare function createStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
8
+ /**
9
+ * The deserialization information for the current model
10
+ * @param StartMigrationPostRequestBody The instance to deserialize into.
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
+ */
13
+ export declare function deserializeIntoStartMigrationPostRequestBody(startMigrationPostRequestBody?: Partial<StartMigrationPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
+ /**
15
+ * Serializes information the current object
16
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
17
+ * @param StartMigrationPostRequestBody The instance to serialize from.
18
+ * @param writer Serialization writer to use to serialize this model
19
+ */
20
+ export declare function serializeStartMigrationPostRequestBody(writer: SerializationWriter, startMigrationPostRequestBody?: Partial<StartMigrationPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
21
+ export interface StartMigrationPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
22
+ /**
23
+ * Stores model information.
24
+ */
25
+ backingStoreEnabled?: boolean | null;
26
+ /**
27
+ * The conversationCreationDateTime property
28
+ */
29
+ conversationCreationDateTime?: Date | null;
30
+ }
31
+ /**
32
+ * Provides operations to call the startMigration method.
33
+ */
34
+ export interface StartMigrationRequestBuilder extends BaseRequestBuilder<StartMigrationRequestBuilder> {
35
+ /**
36
+ * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.
37
+ * @param body The request body
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
40
+ * @see {@link https://learn.microsoft.com/graph/api/channel-startmigration?view=graph-rest-1.0|Find more info here}
41
+ */
42
+ post(body: StartMigrationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
43
+ /**
44
+ * Start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types.
45
+ * @param body The request body
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns {RequestInformation}
48
+ */
49
+ toPostRequestInformation(body: StartMigrationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
50
+ }
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ export declare const StartMigrationRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/startMigration";
55
+ /**
56
+ * Metadata for all the requests in the request builder.
57
+ */
58
+ export declare const StartMigrationRequestBuilderRequestsMetadata: RequestsMetadata;
59
+ //# 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,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AAEH,wBAAgB,yDAAyD,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,CAEjL;AACD;;;;GAIG;AAEH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK/L;AACD;;;;;GAKG;AAEH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAInO;AACD,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC9F;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,4BAA4B,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CAC9C;AACD;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5H;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,+FAA+F,CAAC;AACpJ;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAY1D,CAAC"}
@@ -0,0 +1,63 @@
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 {StartMigrationPostRequestBody}
10
+ */
11
+ // @ts-ignore
12
+ export function createStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode) {
13
+ return deserializeIntoStartMigrationPostRequestBody;
14
+ }
15
+ /**
16
+ * The deserialization information for the current model
17
+ * @param StartMigrationPostRequestBody The instance to deserialize into.
18
+ * @returns {Record<string, (node: ParseNode) => void>}
19
+ */
20
+ // @ts-ignore
21
+ export function deserializeIntoStartMigrationPostRequestBody(startMigrationPostRequestBody = {}) {
22
+ return {
23
+ "backingStoreEnabled": n => { startMigrationPostRequestBody.backingStoreEnabled = true; },
24
+ "conversationCreationDateTime": n => { startMigrationPostRequestBody.conversationCreationDateTime = n.getDateValue(); },
25
+ };
26
+ }
27
+ /**
28
+ * Serializes information the current object
29
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
30
+ * @param StartMigrationPostRequestBody The instance to serialize from.
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ // @ts-ignore
34
+ export function serializeStartMigrationPostRequestBody(writer, startMigrationPostRequestBody = {}, isSerializingDerivedType = false) {
35
+ if (!startMigrationPostRequestBody || isSerializingDerivedType) {
36
+ return;
37
+ }
38
+ writer.writeDateValue("conversationCreationDateTime", startMigrationPostRequestBody.conversationCreationDateTime);
39
+ writer.writeAdditionalData(startMigrationPostRequestBody.additionalData);
40
+ }
41
+ /**
42
+ * Uri template for the request builder.
43
+ */
44
+ export const StartMigrationRequestBuilderUriTemplate = "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/startMigration";
45
+ /**
46
+ * Metadata for all the requests in the request builder.
47
+ */
48
+ export const StartMigrationRequestBuilderRequestsMetadata = {
49
+ post: {
50
+ uriTemplate: StartMigrationRequestBuilderUriTemplate,
51
+ responseBodyContentType: "application/json",
52
+ errorMappings: {
53
+ XXX: createODataErrorFromDiscriminatorValue,
54
+ },
55
+ adapterMethodName: "sendNoResponseContent",
56
+ requestBodyContentType: "application/json",
57
+ requestBodySerializer: serializeStartMigrationPostRequestBody,
58
+ requestInformationContentSetMethod: "setContentFromParsable",
59
+ },
60
+ };
61
+ /* tslint:enable */
62
+ /* eslint-enable */
63
+ //# 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;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yDAAyD,CAAC,SAAgC;IACtG,OAAO,4CAA4C,CAAC;AACxD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4CAA4C,CAAC,gCAAoF,EAAE;IAC/I,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACzF,8BAA8B,EAAE,CAAC,CAAC,EAAE,GAAG,6BAA6B,CAAC,4BAA4B,GAAG,CAAC,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;KAC1H,CAAA;AACL,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,sCAAsC,CAAC,MAA2B,EAAE,gCAA2F,EAAE,EAAE,2BAAoC,KAAK;IACxN,IAAI,CAAC,6BAA6B,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC3E,MAAM,CAAC,cAAc,CAAC,8BAA8B,EAAE,6BAA6B,CAAC,4BAA4B,CAAC,CAAC;IAClH,MAAM,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,cAAc,CAAC,CAAC;AAC7E,CAAC;AA+BD;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,4FAA4F,CAAC;AACpJ;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sCAAsC;QAC7D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
package/tsconfig.json CHANGED
@@ -4,7 +4,6 @@
4
4
  "compilerOptions": {
5
5
  "resolveJsonModule": true,
6
6
  "esModuleInterop": true,
7
- "baseUrl": "./",
8
7
  "paths": {
9
8
  "@microsoft/msgraph-sdk": ["../msgraph-sdk"]
10
9
  }