@microsoft/msgraph-sdk-users 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.
- package/package.json +2 -2
- package/tsconfig.json +0 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/users/item/adhocCalls/getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/index.d.ts +103 -0
- package/users/item/adhocCalls/getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/index.d.ts.map +1 -0
- package/users/item/adhocCalls/getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/index.js +74 -0
- package/users/item/adhocCalls/getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime/index.js.map +1 -0
- package/users/item/adhocCalls/getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/index.d.ts +103 -0
- package/users/item/adhocCalls/getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/index.d.ts.map +1 -0
- package/users/item/adhocCalls/getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/index.js +74 -0
- package/users/item/adhocCalls/getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime/index.js.map +1 -0
- package/users/item/adhocCalls/index.d.ts +10 -0
- package/users/item/adhocCalls/index.d.ts.map +1 -1
- package/users/item/adhocCalls/index.js +10 -0
- package/users/item/adhocCalls/index.js.map +1 -1
- package/users/item/appRoleAssignments/index.d.ts +7 -7
- package/users/item/authentication/externalAuthenticationMethods/index.d.ts +3 -3
- package/users/item/authentication/externalAuthenticationMethods/item/index.d.ts +3 -3
- package/users/item/authentication/fido2Methods/creationOptions/index.d.ts +29 -0
- package/users/item/authentication/fido2Methods/creationOptions/index.d.ts.map +1 -0
- package/users/item/authentication/fido2Methods/creationOptions/index.js +28 -0
- package/users/item/authentication/fido2Methods/creationOptions/index.js.map +1 -0
- package/users/item/authentication/fido2Methods/index.d.ts +5 -0
- package/users/item/authentication/fido2Methods/index.d.ts.map +1 -1
- package/users/item/authentication/fido2Methods/index.js +5 -0
- package/users/item/authentication/fido2Methods/index.js.map +1 -1
- package/users/item/calendar/allowedCalendarSharingRolesWithUser/index.d.ts +1 -1
- package/users/item/calendar/allowedCalendarSharingRolesWithUser/index.d.ts.map +1 -1
- package/users/item/calendar/allowedCalendarSharingRolesWithUser/index.js.map +1 -1
- package/users/item/calendar/permanentDelete/index.d.ts +2 -3
- package/users/item/calendar/permanentDelete/index.d.ts.map +1 -1
- package/users/item/calendar/permanentDelete/index.js.map +1 -1
- package/users/item/calendarGroups/item/calendars/item/allowedCalendarSharingRolesWithUser/index.d.ts +1 -1
- package/users/item/calendarGroups/item/calendars/item/allowedCalendarSharingRolesWithUser/index.d.ts.map +1 -1
- package/users/item/calendarGroups/item/calendars/item/allowedCalendarSharingRolesWithUser/index.js.map +1 -1
- package/users/item/calendarGroups/item/calendars/item/permanentDelete/index.d.ts +2 -3
- package/users/item/calendarGroups/item/calendars/item/permanentDelete/index.d.ts.map +1 -1
- package/users/item/calendarGroups/item/calendars/item/permanentDelete/index.js.map +1 -1
- package/users/item/calendars/item/allowedCalendarSharingRolesWithUser/index.d.ts +1 -1
- package/users/item/calendars/item/allowedCalendarSharingRolesWithUser/index.d.ts.map +1 -1
- package/users/item/calendars/item/allowedCalendarSharingRolesWithUser/index.js.map +1 -1
- package/users/item/calendars/item/permanentDelete/index.d.ts +0 -1
- package/users/item/calendars/item/permanentDelete/index.d.ts.map +1 -1
- package/users/item/calendars/item/permanentDelete/index.js.map +1 -1
- package/users/item/chats/item/completeMigration/index.d.ts +28 -0
- package/users/item/chats/item/completeMigration/index.d.ts.map +1 -0
- package/users/item/chats/item/completeMigration/index.js +25 -0
- package/users/item/chats/item/completeMigration/index.js.map +1 -0
- package/users/item/chats/item/index.d.ts +10 -0
- package/users/item/chats/item/index.d.ts.map +1 -1
- package/users/item/chats/item/index.js +10 -0
- package/users/item/chats/item/index.js.map +1 -1
- package/users/item/chats/item/messages/index.d.ts +5 -0
- package/users/item/chats/item/messages/index.d.ts.map +1 -1
- package/users/item/chats/item/messages/index.js +5 -0
- package/users/item/chats/item/messages/index.js.map +1 -1
- package/users/item/chats/item/messages/item/replies/index.d.ts +5 -0
- package/users/item/chats/item/messages/item/replies/index.d.ts.map +1 -1
- package/users/item/chats/item/messages/item/replies/index.js +5 -0
- package/users/item/chats/item/messages/item/replies/index.js.map +1 -1
- package/users/item/chats/item/messages/item/replies/replyWithQuote/index.d.ts +65 -0
- package/users/item/chats/item/messages/item/replies/replyWithQuote/index.d.ts.map +1 -0
- package/users/item/chats/item/messages/item/replies/replyWithQuote/index.js +68 -0
- package/users/item/chats/item/messages/item/replies/replyWithQuote/index.js.map +1 -0
- package/users/item/chats/item/messages/replyWithQuote/index.d.ts +65 -0
- package/users/item/chats/item/messages/replyWithQuote/index.d.ts.map +1 -0
- package/users/item/chats/item/messages/replyWithQuote/index.js +68 -0
- package/users/item/chats/item/messages/replyWithQuote/index.js.map +1 -0
- package/users/item/chats/item/startMigration/index.d.ts +59 -0
- package/users/item/chats/item/startMigration/index.d.ts.map +1 -0
- package/users/item/chats/item/startMigration/index.js +63 -0
- package/users/item/chats/item/startMigration/index.js.map +1 -0
- package/users/item/cloudPCs/item/reprovision/index.d.ts +1 -1
- package/users/item/cloudPCs/item/reprovision/index.d.ts.map +1 -1
- package/users/item/cloudPCs/item/reprovision/index.js.map +1 -1
- package/users/item/dataSecurityAndGovernance/protectionScopes/compute/index.d.ts +1 -1
- package/users/item/dataSecurityAndGovernance/protectionScopes/compute/index.d.ts.map +1 -1
- package/users/item/dataSecurityAndGovernance/protectionScopes/compute/index.js.map +1 -1
- package/users/item/directReports/index.d.ts +4 -3
- package/users/item/directReports/index.d.ts.map +1 -1
- package/users/item/directReports/index.js.map +1 -1
- package/users/item/employeeExperience/assignedRoles/item/members/item/user/mailboxSettings/index.d.ts +3 -3
- package/users/item/getMailTips/index.d.ts +1 -1
- package/users/item/getMailTips/index.d.ts.map +1 -1
- package/users/item/getMailTips/index.js.map +1 -1
- package/users/item/insights/shared/count/index.d.ts +2 -0
- package/users/item/insights/shared/count/index.d.ts.map +1 -1
- package/users/item/insights/shared/count/index.js.map +1 -1
- package/users/item/insights/shared/index.d.ts +6 -0
- package/users/item/insights/shared/index.d.ts.map +1 -1
- package/users/item/insights/shared/index.js.map +1 -1
- package/users/item/insights/shared/item/index.d.ts +8 -0
- package/users/item/insights/shared/item/index.d.ts.map +1 -1
- package/users/item/insights/shared/item/index.js.map +1 -1
- package/users/item/insights/shared/item/lastSharedMethod/index.d.ts +2 -0
- package/users/item/insights/shared/item/lastSharedMethod/index.d.ts.map +1 -1
- package/users/item/insights/shared/item/lastSharedMethod/index.js.map +1 -1
- package/users/item/insights/shared/item/resource/index.d.ts +2 -0
- package/users/item/insights/shared/item/resource/index.d.ts.map +1 -1
- package/users/item/insights/shared/item/resource/index.js.map +1 -1
- package/users/item/insights/used/count/index.d.ts +2 -0
- package/users/item/insights/used/count/index.d.ts.map +1 -1
- package/users/item/insights/used/count/index.js.map +1 -1
- package/users/item/insights/used/index.d.ts +6 -0
- package/users/item/insights/used/index.d.ts.map +1 -1
- package/users/item/insights/used/index.js.map +1 -1
- package/users/item/insights/used/item/index.d.ts +7 -0
- package/users/item/insights/used/item/index.d.ts.map +1 -1
- package/users/item/insights/used/item/index.js.map +1 -1
- package/users/item/insights/used/item/resource/index.d.ts +2 -0
- package/users/item/insights/used/item/resource/index.d.ts.map +1 -1
- package/users/item/insights/used/item/resource/index.js.map +1 -1
- package/users/item/joinedTeams/item/channels/item/completeMigration/index.d.ts +2 -2
- package/users/item/joinedTeams/item/channels/item/enabledApps/count/index.d.ts +41 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/count/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/count/index.js +34 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/count/index.js.map +1 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/index.d.ts +82 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/index.js +58 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/index.js.map +1 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/item/index.d.ts +42 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/item/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/item/index.js +36 -0
- package/users/item/joinedTeams/item/channels/item/enabledApps/item/index.js.map +1 -0
- package/users/item/joinedTeams/item/channels/item/index.d.ts +10 -0
- package/users/item/joinedTeams/item/channels/item/index.d.ts.map +1 -1
- package/users/item/joinedTeams/item/channels/item/index.js +11 -0
- package/users/item/joinedTeams/item/channels/item/index.js.map +1 -1
- package/users/item/joinedTeams/item/channels/item/messages/index.d.ts +5 -0
- package/users/item/joinedTeams/item/channels/item/messages/index.d.ts.map +1 -1
- package/users/item/joinedTeams/item/channels/item/messages/index.js +5 -0
- package/users/item/joinedTeams/item/channels/item/messages/index.js.map +1 -1
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/index.d.ts +5 -0
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/index.d.ts.map +1 -1
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/index.js +5 -0
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/index.js.map +1 -1
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/replyWithQuote/index.d.ts +65 -0
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/replyWithQuote/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/replyWithQuote/index.js +68 -0
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/replyWithQuote/index.js.map +1 -0
- package/users/item/joinedTeams/item/channels/item/messages/replyWithQuote/index.d.ts +65 -0
- package/users/item/joinedTeams/item/channels/item/messages/replyWithQuote/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/channels/item/messages/replyWithQuote/index.js +68 -0
- package/users/item/joinedTeams/item/channels/item/messages/replyWithQuote/index.js.map +1 -0
- package/users/item/joinedTeams/item/channels/item/startMigration/index.d.ts +59 -0
- package/users/item/joinedTeams/item/channels/item/startMigration/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/channels/item/startMigration/index.js +63 -0
- package/users/item/joinedTeams/item/channels/item/startMigration/index.js.map +1 -0
- package/users/item/joinedTeams/item/clone/index.d.ts +1 -1
- package/users/item/joinedTeams/item/clone/index.d.ts.map +1 -1
- package/users/item/joinedTeams/item/clone/index.js.map +1 -1
- package/users/item/joinedTeams/item/primaryChannel/completeMigration/index.d.ts +2 -2
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/count/index.d.ts +41 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/count/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/count/index.js +34 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/count/index.js.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/index.d.ts +82 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/index.js +58 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/index.js.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/item/index.d.ts +42 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/item/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/item/index.js +36 -0
- package/users/item/joinedTeams/item/primaryChannel/enabledApps/item/index.js.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/index.d.ts +10 -0
- package/users/item/joinedTeams/item/primaryChannel/index.d.ts.map +1 -1
- package/users/item/joinedTeams/item/primaryChannel/index.js +11 -0
- package/users/item/joinedTeams/item/primaryChannel/index.js.map +1 -1
- package/users/item/joinedTeams/item/primaryChannel/messages/index.d.ts +5 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/index.d.ts.map +1 -1
- package/users/item/joinedTeams/item/primaryChannel/messages/index.js +5 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/index.js.map +1 -1
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.d.ts +5 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.d.ts.map +1 -1
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.js +5 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/index.js.map +1 -1
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/replyWithQuote/index.d.ts +65 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/replyWithQuote/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/replyWithQuote/index.js +68 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/replyWithQuote/index.js.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/replyWithQuote/index.d.ts +65 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/replyWithQuote/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/replyWithQuote/index.js +68 -0
- package/users/item/joinedTeams/item/primaryChannel/messages/replyWithQuote/index.js.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/startMigration/index.d.ts +59 -0
- package/users/item/joinedTeams/item/primaryChannel/startMigration/index.d.ts.map +1 -0
- package/users/item/joinedTeams/item/primaryChannel/startMigration/index.js +63 -0
- package/users/item/joinedTeams/item/primaryChannel/startMigration/index.js.map +1 -0
- package/users/item/mailFolders/item/childFolders/item/messages/item/createForward/index.d.ts +2 -3
- package/users/item/mailFolders/item/childFolders/item/messages/item/createForward/index.d.ts.map +1 -1
- package/users/item/mailFolders/item/childFolders/item/messages/item/createForward/index.js.map +1 -1
- package/users/item/mailFolders/item/messages/item/createForward/index.d.ts +2 -3
- package/users/item/mailFolders/item/messages/item/createForward/index.d.ts.map +1 -1
- package/users/item/mailFolders/item/messages/item/createForward/index.js.map +1 -1
- package/users/item/mailboxSettings/index.d.ts +3 -3
- package/users/item/manager/index.d.ts +4 -4
- package/users/item/manager/ref/index.d.ts +6 -6
- package/users/item/memberOf/index.d.ts +4 -4
- package/users/item/messages/item/createForward/index.d.ts +2 -3
- package/users/item/messages/item/createForward/index.d.ts.map +1 -1
- package/users/item/messages/item/createForward/index.js.map +1 -1
- package/users/item/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.d.ts +1 -1
- package/users/item/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.d.ts.map +1 -1
- package/users/item/onlineMeetings/item/sendVirtualAppointmentReminderSms/index.js.map +1 -1
- package/users/item/onlineMeetings/item/sendVirtualAppointmentSms/index.d.ts +1 -1
- package/users/item/onlineMeetings/item/sendVirtualAppointmentSms/index.d.ts.map +1 -1
- package/users/item/onlineMeetings/item/sendVirtualAppointmentSms/index.js.map +1 -1
- package/users/item/ownedObjects/index.d.ts +4 -3
- package/users/item/ownedObjects/index.d.ts.map +1 -1
- package/users/item/ownedObjects/index.js.map +1 -1
- package/users/item/presence/setAutomaticLocation/index.d.ts +1 -1
- package/users/item/presence/setAutomaticLocation/index.d.ts.map +1 -1
- package/users/item/presence/setAutomaticLocation/index.js.map +1 -1
- package/users/item/presence/setManualLocation/index.d.ts +1 -1
- package/users/item/presence/setManualLocation/index.d.ts.map +1 -1
- package/users/item/presence/setManualLocation/index.js.map +1 -1
- package/users/item/restore/index.d.ts +2 -2
- package/users/item/settings/exchange/index.d.ts +43 -0
- package/users/item/settings/exchange/index.d.ts.map +1 -0
- package/users/item/settings/exchange/index.js +36 -0
- package/users/item/settings/exchange/index.js.map +1 -0
- package/users/item/settings/index.d.ts +5 -0
- package/users/item/settings/index.d.ts.map +1 -1
- package/users/item/settings/index.js +5 -0
- package/users/item/settings/index.js.map +1 -1
- package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.d.ts +1 -1
- package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.d.ts.map +1 -1
- package/users/item/settings/workHoursAndLocations/occurrences/setCurrentLocation/index.js.map +1 -1
- package/users/item/sponsors/index.d.ts +10 -5
- package/users/item/sponsors/index.d.ts.map +1 -1
- package/users/item/sponsors/index.js +7 -2
- package/users/item/sponsors/index.js.map +1 -1
- package/users/item/sponsors/item/index.d.ts +8 -30
- package/users/item/sponsors/item/index.d.ts.map +1 -1
- package/users/item/sponsors/item/index.js +6 -22
- package/users/item/sponsors/item/index.js.map +1 -1
- package/users/item/sponsors/item/ref/index.d.ts +28 -0
- package/users/item/sponsors/item/ref/index.d.ts.map +1 -0
- package/users/item/sponsors/item/ref/index.js +25 -0
- package/users/item/sponsors/item/ref/index.js.map +1 -0
- package/users/item/sponsors/ref/index.d.ts +96 -0
- package/users/item/sponsors/ref/index.d.ts.map +1 -0
- package/users/item/sponsors/ref/index.js +66 -0
- package/users/item/sponsors/ref/index.js.map +1 -0
- package/users/item/transitiveMemberOf/index.d.ts +4 -4
- package/users/item/translateExchangeIds/index.d.ts +1 -1
- package/users/item/translateExchangeIds/index.d.ts.map +1 -1
- package/users/item/translateExchangeIds/index.js.map +1 -1
|
@@ -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}/users/{user%2Did}/joinedTeams/{team%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,IA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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}/users/{user%2Did}/joinedTeams/{team%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,gGAAgG,CAAC;AACrJ;;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}/users/{user%2Did}/joinedTeams/{team%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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AE;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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClonableTeamParts, TeamVisibilityType } from '@microsoft/msgraph-sdk/models/index.js';
|
|
1
|
+
import { type ClonableTeamParts, type TeamVisibilityType } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
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
3
|
export interface ClonePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqD,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAI5J,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACrF;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,C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AwB,GAAE,OAAe,GAAI,IAAI,CASxM;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,+DAA+D,CAAC;AAC3G;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAYjD,CAAC"}
|
|
@@ -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,
|
|
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,uBAAuB,EAAE,wBAAwB,EAAmD,MAAM,wCAAwC,CAAC;AAC5J,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAsD7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gDAAgD,CAAC,SAAgC;IAC7F,OAAO,mCAAmC,CAAC;AAC/C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mCAAmC,CAAC,uBAAkE,EAAE;IACpH,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QAChF,gBAAgB,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,cAAc,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACpF,aAAa,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,WAAW,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC9E,aAAa,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,WAAW,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC9E,cAAc,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAo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C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,6BAA6B;QACpD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -4,14 +4,14 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface CompleteMigrationRequestBuilder extends BaseRequestBuilder<CompleteMigrationRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
* Complete
|
|
7
|
+
* Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
9
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
10
|
* @see {@link https://learn.microsoft.com/graph/api/channel-completemigration?view=graph-rest-1.0|Find more info here}
|
|
11
11
|
*/
|
|
12
12
|
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
13
|
/**
|
|
14
|
-
* Complete
|
|
14
|
+
* Complete migration on existing channels or new channels. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Consider the following points when completing migration for new and existing channels: After a completeMigration request is made for existing or new channels, you can still import more messages into the team by calling channel: startMigration. This API supportes the following channel types.
|
|
15
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
16
|
* @returns {RequestInformation}
|
|
17
17
|
*/
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# 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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,iHAAiH,CAAC;AAQ7J;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# 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;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,8GAA8G,CAAC;AAC7J;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type TeamsAppCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type TeamsAppItemRequestBuilder } from './item/index.js';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the enabledApps property of the microsoft.graph.channel entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface EnabledAppsRequestBuilder extends BaseRequestBuilder<EnabledAppsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the enabledApps property of the microsoft.graph.channel entity.
|
|
15
|
+
* @param teamsAppId The unique identifier of teamsApp
|
|
16
|
+
* @returns {TeamsAppItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byTeamsAppId(teamsAppId: string): TeamsAppItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of enabled apps in the channel.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<TeamsAppCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<EnabledAppsRequestBuilderGetQueryParameters> | undefined): Promise<TeamsAppCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of enabled apps in the channel.
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {RequestInformation}
|
|
30
|
+
*/
|
|
31
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<EnabledAppsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of enabled apps in the channel.
|
|
35
|
+
*/
|
|
36
|
+
export interface EnabledAppsRequestBuilderGetQueryParameters {
|
|
37
|
+
/**
|
|
38
|
+
* Include count of items
|
|
39
|
+
*/
|
|
40
|
+
count?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Expand related entities
|
|
43
|
+
*/
|
|
44
|
+
expand?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Filter items by property values
|
|
47
|
+
*/
|
|
48
|
+
filter?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Order items by property values
|
|
51
|
+
*/
|
|
52
|
+
orderby?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Search items by search phrases
|
|
55
|
+
*/
|
|
56
|
+
search?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Select properties to be returned
|
|
59
|
+
*/
|
|
60
|
+
select?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Skip the first n items
|
|
63
|
+
*/
|
|
64
|
+
skip?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Show only the first n items
|
|
67
|
+
*/
|
|
68
|
+
top?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const EnabledAppsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the navigation properties in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const EnabledAppsRequestBuilderNavigationMetadata: Record<Exclude<keyof EnabledAppsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
78
|
+
/**
|
|
79
|
+
* Metadata for all the requests in the request builder.
|
|
80
|
+
*/
|
|
81
|
+
export declare const EnabledAppsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
82
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0D,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAIjJ,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA8C,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAE9G,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,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,0BAA0B,CAAC;IAC/D;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC7J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;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,oCAAoC,iKAAiK,CAAC;AAcnN;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAWvD,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createTeamsAppCollectionResponseFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { TeamsAppItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const EnabledAppsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const EnabledAppsRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"count": "%24count",
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"filter": "%24filter",
|
|
23
|
+
"orderby": "%24orderby",
|
|
24
|
+
"search": "%24search",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const EnabledAppsRequestBuilderNavigationMetadata = {
|
|
33
|
+
byTeamsAppId: {
|
|
34
|
+
requestsMetadata: TeamsAppItemRequestBuilderRequestsMetadata,
|
|
35
|
+
pathParametersMappings: ["teamsApp%2Did"],
|
|
36
|
+
},
|
|
37
|
+
count: {
|
|
38
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Metadata for all the requests in the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const EnabledAppsRequestBuilderRequestsMetadata = {
|
|
45
|
+
get: {
|
|
46
|
+
uriTemplate: EnabledAppsRequestBuilderUriTemplate,
|
|
47
|
+
responseBodyContentType: "application/json",
|
|
48
|
+
errorMappings: {
|
|
49
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "send",
|
|
52
|
+
responseBodyFactory: createTeamsAppCollectionResponseFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: EnabledAppsRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
/* tslint:enable */
|
|
57
|
+
/* eslint-enable */
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index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index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the enabledApps property of the microsoft.graph.channel entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface TeamsAppItemRequestBuilder extends BaseRequestBuilder<TeamsAppItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* A collection of enabled apps in the channel.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<TeamsApp>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
12
|
+
*/
|
|
13
|
+
get(requestConfiguration?: RequestConfiguration<TeamsAppItemRequestBuilderGetQueryParameters> | undefined): Promise<TeamsApp | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* A collection of enabled apps in the channel.
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns {RequestInformation}
|
|
18
|
+
*/
|
|
19
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamsAppItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A collection of enabled apps in the channel.
|
|
23
|
+
*/
|
|
24
|
+
export interface TeamsAppItemRequestBuilderGetQueryParameters {
|
|
25
|
+
/**
|
|
26
|
+
* Expand related entities
|
|
27
|
+
*/
|
|
28
|
+
expand?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Select properties to be returned
|
|
31
|
+
*/
|
|
32
|
+
select?: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Uri template for the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const TeamsAppItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}";
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for all the requests in the request builder.
|
|
40
|
+
*/
|
|
41
|
+
export declare const TeamsAppItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwC,KAAK,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAI7G,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,0HAA0H,CAAC;AAQ7K;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAWxD,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createTeamsAppFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const TeamsAppItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/enabledApps/{teamsApp%2Did}{?%24expand,%24select}";
|
|
12
|
+
/**
|
|
13
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
14
|
+
*/
|
|
15
|
+
const TeamsAppItemRequestBuilderGetQueryParametersMapper = {
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"select": "%24select",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Metadata for all the requests in the request builder.
|
|
21
|
+
*/
|
|
22
|
+
export const TeamsAppItemRequestBuilderRequestsMetadata = {
|
|
23
|
+
get: {
|
|
24
|
+
uriTemplate: TeamsAppItemRequestBuilderUriTemplate,
|
|
25
|
+
responseBodyContentType: "application/json",
|
|
26
|
+
errorMappings: {
|
|
27
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
28
|
+
},
|
|
29
|
+
adapterMethodName: "send",
|
|
30
|
+
responseBodyFactory: createTeamsAppFromDiscriminatorValue,
|
|
31
|
+
queryParametersMapper: TeamsAppItemRequestBuilderGetQueryParametersMapper,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
36
|
+
//# 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,oCAAoC,EAAiB,MAAM,wCAAwC,CAAC;AAC7G,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,uHAAuH,CAAC;AAC7K;;GAEG;AACH,MAAM,kDAAkD,GAA2B;IAC/E,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,GAAG,EAAE;QACD,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oCAAoC;QAC1D,qBAAqB,EAAE,kDAAkD;KAC5E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -3,12 +3,14 @@ import { type AllMembersRequestBuilder } from './allMembers/index.js';
|
|
|
3
3
|
import { type ArchiveRequestBuilder } from './archive/index.js';
|
|
4
4
|
import { type CompleteMigrationRequestBuilder } from './completeMigration/index.js';
|
|
5
5
|
import { type DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder } from './doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/index.js';
|
|
6
|
+
import { type EnabledAppsRequestBuilder } from './enabledApps/index.js';
|
|
6
7
|
import { type FilesFolderRequestBuilder } from './filesFolder/index.js';
|
|
7
8
|
import { type MembersRequestBuilder } from './members/index.js';
|
|
8
9
|
import { type MessagesRequestBuilder } from './messages/index.js';
|
|
9
10
|
import { type ProvisionEmailRequestBuilder } from './provisionEmail/index.js';
|
|
10
11
|
import { type RemoveEmailRequestBuilder } from './removeEmail/index.js';
|
|
11
12
|
import { type SharedWithTeamsRequestBuilder } from './sharedWithTeams/index.js';
|
|
13
|
+
import { type StartMigrationRequestBuilder } from './startMigration/index.js';
|
|
12
14
|
import { type TabsRequestBuilder } from './tabs/index.js';
|
|
13
15
|
import { type UnarchiveRequestBuilder } from './unarchive/index.js';
|
|
14
16
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
@@ -32,6 +34,10 @@ export interface PrimaryChannelRequestBuilder extends BaseRequestBuilder<Primary
|
|
|
32
34
|
* Provides operations to call the doesUserHaveAccess method.
|
|
33
35
|
*/
|
|
34
36
|
get doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName(): DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder;
|
|
37
|
+
/**
|
|
38
|
+
* Provides operations to manage the enabledApps property of the microsoft.graph.channel entity.
|
|
39
|
+
*/
|
|
40
|
+
get enabledApps(): EnabledAppsRequestBuilder;
|
|
35
41
|
/**
|
|
36
42
|
* Provides operations to manage the filesFolder property of the microsoft.graph.channel entity.
|
|
37
43
|
*/
|
|
@@ -56,6 +62,10 @@ export interface PrimaryChannelRequestBuilder extends BaseRequestBuilder<Primary
|
|
|
56
62
|
* Provides operations to manage the sharedWithTeams property of the microsoft.graph.channel entity.
|
|
57
63
|
*/
|
|
58
64
|
get sharedWithTeams(): SharedWithTeamsRequestBuilder;
|
|
65
|
+
/**
|
|
66
|
+
* Provides operations to call the startMigration method.
|
|
67
|
+
*/
|
|
68
|
+
get startMigration(): StartMigrationRequestBuilder;
|
|
59
69
|
/**
|
|
60
70
|
* Provides operations to manage the tabs property of the microsoft.graph.channel entity.
|
|
61
71
|
*/
|